/* Relay marketing — dark, glass, minimal motion (liquid glass primitives: relay-glass.css) */

:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --text: #f2f0ea;
  --text-muted: rgba(242, 240, 234, 0.62);
  --accent: #ff1f44;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
  /* Floating nav shell — sync with script.js anchor offset if changed */
  --site-header-float-inset: 30px;
  --site-header-sticky-top: max(20px, env(safe-area-inset-top));
  /* Vertical space header occupies before <main> — hero atmosphere pulls up by this much */
  --site-header-stack-height: calc(var(--site-header-sticky-top) + var(--header-h));
  /* Gap between floating header and mobile menu panel */
  --mobile-nav-gap: var(--space-sm);
  /* Shared frosted-glass surfaces + controls (features grid, hero notify, etc.) */
  --glass-ui-duration: 0.45s;
  --glass-ui-ease: cubic-bezier(0.33, 1, 0.68, 1);
  --glass-control-duration: 0.32s;
  /* Match exported app screenshots (width × height) — avoids bogus crops from 9:19, etc. */
  --relay-screen-aspect: 390 / 844;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Header — Relay liquid glass shell (see relay-glass.css); inset + rounded */
.site-header {
  position: sticky;
  top: var(--site-header-sticky-top);
  z-index: 40;
  height: var(--header-h);
  margin-top: var(--site-header-sticky-top);
  margin-right: max(var(--site-header-float-inset), env(safe-area-inset-right));
  margin-bottom: 0;
  margin-left: max(var(--site-header-float-inset), env(safe-area-inset-left));
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}

.site-header.relay-glass.relay-glass--bar {
  border-radius: var(--relay-glass-radius-chrome);
}

.site-header .site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  height: 100%;
  min-height: var(--header-h);
  padding: 0 var(--space-md);
}

.logo-link,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
}

.logo-link:hover,
.footer-logo:hover {
  color: var(--text);
  text-decoration: none;
}

.logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-img--large {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-cta {
  color: var(--accent) !important;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  --mobile-nav-duration: 0.28s;
  --mobile-nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  top: calc(var(--site-header-stack-height) + var(--mobile-nav-gap));
  left: max(var(--site-header-float-inset), env(safe-area-inset-left));
  right: max(var(--site-header-float-inset), env(safe-area-inset-right));
  bottom: auto;
  z-index: 35;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  transform-origin: 50% 0;
  /* Opacity stays 1 so backdrop-filter isn’t deferred until the transform ends (Safari/WebKit). */
  opacity: 1;
  transform: scale(0.96);
  pointer-events: none;
  will-change: transform;
  transition: transform var(--mobile-nav-duration) var(--mobile-nav-ease);
}

.mobile-nav.mobile-nav--open {
  transform: scale(1);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav {
    --mobile-nav-duration: 0.01ms;
  }
}

.mobile-nav.relay-glass.relay-glass--bar {
  border-radius: var(--relay-glass-radius-chrome);
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  gap: 0;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Sections */
.section {
  padding: var(--space-xl) var(--space-md);
  max-width: 1120px;
  margin: 0 auto;
}

.section--narrow {
  max-width: 720px;
  text-align: center;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  /* letter-spacing: -0.03em; */
  margin: 0 0 var(--space-lg);
  text-align: center;
}

.section--narrow .section-title {
  margin-bottom: var(--space-md);
}

#what.section--narrow .section-title {
  margin-bottom: var(--space-sm);
}

.what-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 1.8vw, 0.75rem);
  margin: 0 0 var(--space-md);
}

.what-lockup__plex,
.what-lockup__relay {
  display: block;
  width: clamp(2.75rem, 12vw, 4.5rem);
  height: clamp(2.75rem, 12vw, 4.5rem);
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 22%;
  /* box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); */
}

.what-lockup__plus {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 5.5vw, 2.35rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  opacity: 0.92;
  user-select: none;
}

#what .what-copy .lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(242, 240, 234, 0.82);
}

.what-copy {
  margin: 0;
  max-width: 34rem;
  margin-inline: auto;
  text-align: left;
}

/* Hero + #what + .section--feature-cards — shared full-bleed atmosphere (stars + ::before use this height) */
.hero-atmosphere {
  position: relative;
  isolation: isolate;
  /* Space after .section--feature-cards before #in-the-app */
  /* padding-bottom: var(--space-xl); */
}

/* Full-bleed atmosphere (spans hero through “What it is”) */
.hero-atmosphere::before {
  content: "";
  position: absolute;
  left: 50%;
  /* Bleed behind the floating header so blur/gradient reach the viewport top */
  top: calc(-1 * var(--site-header-stack-height));
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  /* Matches .section--feature-cards --features-bg-base where stacks go transparent */
  background-color: rgb(12, 14, 25);
  background-image:
    linear-gradient(
      165deg,
      rgba(72, 118, 210, 0.26) 0%,
      rgba(42, 72, 150, 0.18) 38%,
      rgba(22, 38, 88, 0.22) 72%,
      rgba(12, 20, 48, 0.28) 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 32%,
      rgba(10, 10, 11, 0.38) 58%,
      rgba(10, 10, 11, 0.55) 78%,
      rgba(10, 12, 20, 0.88) 92%,
      rgb(12, 14, 25) 100%
    ),
    linear-gradient(
      165deg,
      rgba(255, 31, 68, 0.07) 0%,
      rgba(18, 14, 32, 0.32) 48%,
      rgba(12, 14, 25, 0.48) 100%
    ),
    url("/hero-bg.png");
  /* Blue wash (top) + tints + photo; photo fills hero + #what. */
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  background-position: center, center top, center, center 35%;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}

.hero-atmosphere > .hero,
.hero-atmosphere > #what,
.hero-atmosphere > .section--feature-cards,
.hero-atmosphere > .section.section--feature-list.features.features--standalone {
  position: relative;
  z-index: 2;
}

/* Star drift — full viewport width, full .hero-atmosphere height; above wash, below copy */
.hero-atmosphere__stars {
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--site-header-stack-height));
  bottom: 0;
  width: 100vw;
  max-width: none;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  /* Slight global dim; per-star blur lives on each box-shadow */
  opacity: 0.88;
}

/* Full-bleed layer; stars paint from a 1×1 anchor at section center (reliable box-shadow) */
.hero-atmosphere__stars-layer {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.hero-atmosphere__stars-field {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  filter: brightness(1.95) contrast(0.93);
  /* Box-shadow stars: dense field; blur/spread vary size; rare high-alpha accents */
  background: transparent;
  box-shadow:
    7vw -26.4vh 0 0 rgba(255, 255, 255, 0.18),
    -12.2vw -11vh 0 0.4px rgba(255, 255, 255, 0.26),
    19.3vw 13.2vh 0.65px 0 rgba(255, 255, 255, 0.22),
    -24.5vw 30.8vh 0 0.55px rgba(255, 255, 255, 0.3),
    31.5vw -6.6vh 1.35px 0 rgba(255, 255, 255, 0.14),
    -8.7vw 48.4vh 2.1px 0 rgba(255, 255, 255, 0.22),
    38.5vw 39.6vh 0 0 rgba(255, 255, 255, 0.18),
    -35vw -26.4vh 0 0.4px rgba(255, 255, 255, 0.28),
    15.8vw 24.2vh 0.65px 0 rgba(255, 255, 255, 0.24),
    -21vw -39.6vh 0 0.55px rgba(255, 255, 255, 0.12),
    26.3vw -35.2vh 1.35px 0 rgba(255, 255, 255, 0.24),
    -31.5vw 17.6vh 2.1px 0 rgba(255, 255, 255, 0.16),
    10.5vw 41.8vh 0 0 rgba(255, 255, 255, 0.2),
    -42vw 6.6vh 0 0.4px rgba(255, 255, 255, 0.18),
    45.5vw 22vh 0.65px 0 rgba(255, 255, 255, 0.14),
    3.5vw -48.4vh 0 0.55px rgba(255, 255, 255, 0.26),
    -15.7vw 15.4vh 1.35px 0 rgba(255, 255, 255, 0.16),
    22.8vw -17.6vh 2.1px 0 rgba(255, 255, 255, 0.22),
    -28vw -48.4vh 0 0 rgba(255, 255, 255, 0.28),
    35vw 48.4vh 0 0.4px rgba(255, 255, 255, 0.12),
    -38.5vw 44vh 0.65px 0 rgba(255, 255, 255, 0.2),
    14vw -4.4vh 0 0.55px rgba(255, 255, 255, 0.18),
    -5.2vw -30.8vh 1.35px 0 rgba(255, 255, 255, 0.24),
    29.8vw 8.8vh 2.1px 0 rgba(255, 255, 255, 0.3),
    -1.7vw 2.2vh 0 0 rgba(255, 255, 255, 0.62),
    40.3vw -41.8vh 0 0.4px rgba(255, 255, 255, 0.15),
    -47.2vw 24.2vh 0.65px 0 rgba(255, 255, 255, 0.2),
    1.8vw 37.4vh 0 0.55px rgba(255, 255, 255, 0.22),
    -19.2vw -19.8vh 1.35px 0 rgba(255, 255, 255, 0.19),
    33.3vw 17.6vh 2.1px 0 rgba(255, 255, 255, 0.13),
    -7vw -46.2vh 0 0 rgba(255, 255, 255, 0.25),
    24.5vw -48.4vh 0 0.4px rgba(255, 255, 255, 0.11),
    -40.2vw -13.2vh 0.65px 0 rgba(255, 255, 255, 0.21),
    12.3vw -37.4vh 0 0.55px rgba(255, 255, 255, 0.23),
    -26.2vw 4.4vh 1.35px 0 rgba(255, 255, 255, 0.17),
    43.8vw -17.6vh 2.1px 0 rgba(255, 255, 255, 0.2),
    -14vw -24.2vh 0 0 rgba(255, 255, 255, 0.14),
    17.5vw 48.4vh 0 0.4px rgba(255, 255, 255, 0.18),
    -45.5vw -30.8vh 0.65px 0 rgba(255, 255, 255, 0.12),
    5.3vw 17.6vh 0 0.55px rgba(255, 255, 255, 0.27),
    -33.2vw 41.8vh 1.35px 0 rgba(255, 255, 255, 0.16),
    36.8vw -26.4vh 2.1px 0 rgba(255, 255, 255, 0.15),
    -3.5vw 52vh 0 0 rgba(255, 255, 255, 0.2),
    21vw 6.6vh 0 0.4px rgba(255, 255, 255, 0.13),
    -36.7vw 35.2vh 0.65px 0 rgba(255, 255, 255, 0.22),
    28vw -13.2vh 0 0.55px rgba(255, 255, 255, 0.24),
    -17.5vw 26.4vh 1.35px 0 rgba(255, 255, 255, 0.15),
    8.8vw -17.6vh 2.1px 0 rgba(255, 255, 255, 0.19),
    -49vw 8.8vh 0 0 rgba(255, 255, 255, 0.11),
    14vw 30.8vh 0 0.4px rgba(255, 255, 255, 0.26),
    -10.5vw -6.6vh 0.65px 0 rgba(255, 255, 255, 0.17),
    47.3vw 4.4vh 0 0.55px rgba(255, 255, 255, 0.14),
    -22.7vw -44vh 1.35px 0 rgba(255, 255, 255, 0.21),
    0vw -11vh 2.1px 0 rgba(255, 255, 255, 0.58),
    31.5vw 44vh 0 0 rgba(255, 255, 255, 0.18),
    -29.7vw -6.6vh 0 0.4px rgba(255, 255, 255, 0.23),
    19.3vw -30.8vh 0.65px 0 rgba(255, 255, 255, 0.12),
    -43.7vw 39.6vh 0 0.55px rgba(255, 255, 255, 0.24),
    7vw 26.4vh 1.35px 0 rgba(255, 255, 255, 0.16),
    -12.2vw 33vh 2.1px 0 rgba(255, 255, 255, 0.13),
    26.3vw 35.2vh 0 0 rgba(255, 255, 255, 0.2),
    -38.5vw -39.6vh 0 0.4px rgba(255, 255, 255, 0.1),
    15.8vw -52vh 0.65px 0 rgba(255, 255, 255, 0.22),
    -24.5vw 13.2vh 0 0.55px rgba(255, 255, 255, 0.25),
    42vw -33vh 1.35px 0 rgba(255, 255, 255, 0.15),
    -15.7vw -35.2vh 2.1px 0 rgba(255, 255, 255, 0.14),
    10.5vw -22vh 0 0 rgba(255, 255, 255, 0.2),
    -35vw 48.4vh 0 0.4px rgba(255, 255, 255, 0.17),
    22.8vw 41.8vh 0.65px 0 rgba(255, 255, 255, 0.12),
    -8.7vw -15.4vh 0 0.55px rgba(255, 255, 255, 0.28),
    35vw -44vh 1.35px 0 rgba(255, 255, 255, 0.55),
    -19.2vw 44vh 2.1px 0 rgba(255, 255, 255, 0.16),
    3.5vw 11vh 0 0 rgba(255, 255, 255, 0.19),
    -28vw -17.6vh 0 0.4px rgba(255, 255, 255, 0.11),
    38.5vw 13.2vh 0.65px 0 rgba(255, 255, 255, 0.23),
    -5.2vw 44vh 0 0.55px rgba(255, 255, 255, 0.14),
    29.8vw -39.6vh 1.35px 0 rgba(255, 255, 255, 0.21),
    -42vw -22vh 2.1px 0 rgba(255, 255, 255, 0.12),
    14vw 0vh 0 0 rgba(255, 255, 255, 0.15),
    -21vw 48.4vh 0 0.4px rgba(255, 255, 255, 0.2),
    43.8vw 30.8vh 0.65px 0 rgba(255, 255, 255, 0.24),
    -31.5vw -35.2vh 0 0.55px rgba(255, 255, 255, 0.18),
    24.5vw 2.2vh 1.35px 0 rgba(255, 255, 255, 0.13),
    -10.5vw 22vh 2.1px 0 rgba(255, 255, 255, 0.22),
    33.3vw -11vh 0 0 rgba(255, 255, 255, 0.66),
    -47.2vw -4.4vh 0 0.4px rgba(255, 255, 255, 0.14),
    17.5vw -24.2vh 0.65px 0 rgba(255, 255, 255, 0.26),
    -7vw 39.6vh 0 0.55px rgba(255, 255, 255, 0.15),
    1.8vw -33vh 1.35px 0 rgba(255, 255, 255, 0.2),
    -40.2vw 17.6vh 2.1px 0 rgba(255, 255, 255, 0.11),
    28vw 26.4vh 0 0 rgba(255, 255, 255, 0.23),
    -14vw 4.4vh 0 0.4px rgba(255, 255, 255, 0.17),
    8.8vw 44vh 0.65px 0 rgba(255, 255, 255, 0.12),
    -26.2vw -26.4vh 0 0.55px rgba(255, 255, 255, 0.19),
    21vw -6.6vh 1.35px 0 rgba(255, 255, 255, 0.14),
    -36.7vw -44vh 2.1px 0 rgba(255, 255, 255, 0.22),
    12.3vw 15.4vh 0 0 rgba(255, 255, 255, 0.25),
    -3.5vw -41.8vh 0 0.4px rgba(255, 255, 255, 0.13),
    40.3vw 24.2vh 0.65px 0 rgba(255, 255, 255, 0.16),
    -17.5vw -48.4vh 0 0.55px rgba(255, 255, 255, 0.1),
    31.5vw 6.6vh 1.35px 0 rgba(255, 255, 255, 0.21),
    -45.5vw 15.4vh 2.1px 0 rgba(255, 255, 255, 0.18),
    7vw -4.4vh 0 0 rgba(255, 255, 255, 0.52),
    24.5vw 52vh 0 0.4px rgba(255, 255, 255, 0.2),
    -33.2vw -24.2vh 0.65px 0 rgba(255, 255, 255, 0.12),
    15.8vw 37.4vh 0 0.55px rgba(255, 255, 255, 0.27),
    -22.7vw 0vh 1.35px 0 rgba(255, 255, 255, 0.15),
    36.8vw -15.4vh 2.1px 0 rgba(255, 255, 255, 0.24),
    -12.2vw -52vh 0 0 rgba(255, 255, 255, 0.11),
    19.3vw 17.6vh 0 0.4px rgba(255, 255, 255, 0.14),
    -43.7vw -17.6vh 0.65px 0 rgba(255, 255, 255, 0.2),
    10.5vw -30.8vh 0 0.55px rgba(255, 255, 255, 0.23),
    -29.7vw 30.8vh 1.35px 0 rgba(255, 255, 255, 0.17),
    45.5vw -26.4vh 2.1px 0 rgba(255, 255, 255, 0.13),
    -8.7vw 11vh 0 0 rgba(255, 255, 255, 0.22),
    5.3vw -17.6vh 0 0.4px rgba(255, 255, 255, 0.16),
    -38.5vw 4.4vh 0.65px 0 rgba(255, 255, 255, 0.24),
    26.3vw -22vh 0 0.55px rgba(255, 255, 255, 0.19),
    -15.7vw 41.8vh 1.35px 0 rgba(255, 255, 255, 0.12),
    35vw 0vh 2.1px 0 rgba(255, 255, 255, 0.21),
    -24.5vw -11vh 0 0 rgba(255, 255, 255, 0.14),
    14vw 39.6vh 0 0.4px rgba(255, 255, 255, 0.26),
    -49vw 35.2vh 0.65px 0 rgba(255, 255, 255, 0.1),
    29.8vw 48.4vh 0 0.55px rgba(255, 255, 255, 0.13),
    -10.5vw -39.6vh 1.35px 0 rgba(255, 255, 255, 0.23),
    42vw 17.6vh 2.1px 0 rgba(255, 255, 255, 0.15),
    -19.2vw 8.8vh 0 0 rgba(255, 255, 255, 0.25),
    3.5vw 30.8vh 0 0.4px rgba(255, 255, 255, 0.18),
    -35vw 17.6vh 0.65px 0 rgba(255, 255, 255, 0.11),
    22.8vw -46.2vh 0 0.55px rgba(255, 255, 255, 0.2),
    -7vw 24.2vh 1.35px 0 rgba(255, 255, 255, 0.16),
    38.5vw -6.6vh 2.1px 0 rgba(255, 255, 255, 0.22),
    -28vw 39.6vh 0 0 rgba(255, 255, 255, 0.17),
    17.5vw 33vh 0 0.4px rgba(255, 255, 255, 0.12),
    -40.2vw -35.2vh 0.65px 0 rgba(255, 255, 255, 0.1),
    12.3vw -11vh 0 0.55px rgba(255, 255, 255, 0.15),
    -14vw 52vh 1.35px 0 rgba(255, 255, 255, 0.21),
    33.3vw 33vh 2.1px 0 rgba(255, 255, 255, 0.24),
    -21vw -13.2vh 0 0 rgba(255, 255, 255, 0.13),
    8.8vw -44vh 0 0.4px rgba(255, 255, 255, 0.14),
    -31.5vw 0vh 0.65px 0 rgba(255, 255, 255, 0.19),
    28vw -30.8vh 0 0.55px rgba(255, 255, 255, 0.2),
    -5.2vw -22vh 1.35px 0 rgba(255, 255, 255, 0.28),
    43.8vw -44vh 2.1px 0 rgba(255, 255, 255, 0.11),
    -12.2vw 0vh 0 0 rgba(255, 255, 255, 0.22),
    19.3vw 46.2vh 0 0.4px rgba(255, 255, 255, 0.12),
    -36.7vw -17.6vh 0.65px 0 rgba(255, 255, 255, 0.1),
    15.8vw -15.4vh 0 0.55px rgba(255, 255, 255, 0.23),
    -26.2vw 52vh 1.35px 0 rgba(255, 255, 255, 0.14),
    24.5vw -2.2vh 2.1px 0 rgba(255, 255, 255, 0.2),
    -42vw 44vh 0 0 rgba(255, 255, 255, 0.18),
    10.5vw 4.4vh 0 0.4px rgba(255, 255, 255, 0.13),
    -17.5vw 17.6vh 0.65px 0 rgba(255, 255, 255, 0.24),
    36.8vw 35.2vh 0 0.55px rgba(255, 255, 255, 0.11),
    -8.7vw -33vh 1.35px 0 rgba(255, 255, 255, 0.21),
    31.5vw -19.8vh 2.1px 0 rgba(255, 255, 255, 0.12),
    -47.2vw -39.6vh 0 0 rgba(255, 255, 255, 0.09),
    7vw 41.8vh 0 0.4px rgba(255, 255, 255, 0.17),
    21vw -17.6vh 0.65px 0 rgba(255, 255, 255, 0.59),
    -50vw 18vh 0 0.55px rgba(255, 255, 255, 0.12),
    50vw -14vh 1.35px 0 rgba(255, 255, 255, 0.15),
    -18vw -51vh 2.1px 0 rgba(255, 255, 255, 0.1),
    14vw 50vh 0 0 rgba(255, 255, 255, 0.14),
    46vw 47vh 0 0.4px rgba(255, 255, 255, 0.11),
    -44vw -44vh 0.65px 0 rgba(255, 255, 255, 0.13),
    1vw -52vh 0 0.55px rgba(255, 255, 255, 0.12),
    -3vw 51vh 1.35px 0 rgba(255, 255, 255, 0.11),
    41vw -48vh 2.1px 0 rgba(255, 255, 255, 0.1),
    -39vw 48vh 0 0 rgba(255, 255, 255, 0.12);
}

.hero-atmosphere__stars-layer--a .hero-atmosphere__stars-field {
  animation: hero-stars-drift 26s ease-in-out infinite;
  animation-delay: 0s;
}

.hero-atmosphere__stars-layer--b .hero-atmosphere__stars-field {
  animation: hero-stars-drift 18s ease-in-out infinite;
  animation-delay: -6s;
  box-shadow:
    8.8vw -22vh 0 0.4px rgba(255, 255, 255, 0.16),
    -17.5vw 17.6vh 0.65px 0 rgba(255, 255, 255, 0.3),
    24.5vw 26.4vh 0 0.55px rgba(255, 255, 255, 0.24),
    -28vw -17.6vh 1.35px 0 rgba(255, 255, 255, 0.2),
    33.3vw -30.8vh 2.1px 0 rgba(255, 255, 255, 0.14),
    -14vw 39.6vh 0 0 rgba(255, 255, 255, 0.26),
    19.3vw -44vh 0 0.4px rgba(255, 255, 255, 0.28),
    -36.7vw 11vh 0.65px 0 rgba(255, 255, 255, 0.12),
    12.3vw 6.6vh 0 0.55px rgba(255, 255, 255, 0.22),
    -22.7vw 35.2vh 1.35px 0 rgba(255, 255, 255, 0.18),
    42vw 13.2vh 2.1px 0 rgba(255, 255, 255, 0.26),
    -7vw -41.8vh 0 0 rgba(255, 255, 255, 0.24),
    28vw 44vh 0 0.4px rgba(255, 255, 255, 0.15),
    -33.2vw 26.4vh 0.65px 0 rgba(255, 255, 255, 0.2),
    5.3vw 30.8vh 0 0.55px rgba(255, 255, 255, 0.3),
    -43.7vw -8.8vh 1.35px 0 rgba(255, 255, 255, 0.1),
    21vw -13.2vh 2.1px 0 rgba(255, 255, 255, 0.22),
    -10.5vw -35.2vh 0 0 rgba(255, 255, 255, 0.16),
    36.8vw -4.4vh 0 0.4px rgba(255, 255, 255, 0.32),
    -19.2vw 48.4vh 0.65px 0 rgba(255, 255, 255, 0.2),
    15.8vw -39.6vh 0 0.55px rgba(255, 255, 255, 0.14),
    -29.7vw 4.4vh 1.35px 0 rgba(255, 255, 255, 0.24),
    -49vw -40vh 2.1px 0 rgba(255, 255, 255, 0.11),
    49vw -38vh 0 0 rgba(255, 255, 255, 0.18),
    -48vw 42vh 0 0.4px rgba(255, 255, 255, 0.14),
    47vw 44vh 0.65px 0 rgba(255, 255, 255, 0.12),
    0vw -50vh 0 0.55px rgba(255, 255, 255, 0.16),
    -2vw 50vh 1.35px 0 rgba(255, 255, 255, 0.13),
    -35vw -48vh 2.1px 0 rgba(255, 255, 255, 0.1),
    38vw 48vh 0 0 rgba(255, 255, 255, 0.15),
    50vw 8vh 0 0.4px rgba(255, 255, 255, 0.14),
    -50vw -6vh 0.65px 0 rgba(255, 255, 255, 0.17),
    26vw -49vh 0 0.55px rgba(255, 255, 255, 0.11),
    -24vw 49vh 1.35px 0 rgba(255, 255, 255, 0.15),
    45vw -22vh 2.1px 0 rgba(255, 255, 255, 0.12),
    -45vw 20vh 0 0 rgba(255, 255, 255, 0.1),
    12vw 51vh 0 0.4px rgba(255, 255, 255, 0.13),
    -14vw -51vh 0.65px 0 rgba(255, 255, 255, 0.09),
    32vw -46vh 0 0.55px rgba(255, 255, 255, 0.14),
    -32vw 46vh 1.35px 0 rgba(255, 255, 255, 0.11),
    6vw -49vh 2.1px 0 rgba(255, 255, 255, 0.12),
    -8vw 47vh 0 0 rgba(255, 255, 255, 0.16);
}

.hero-atmosphere__stars-layer--c .hero-atmosphere__stars-field {
  animation: hero-stars-drift 12s ease-in-out infinite;
  animation-delay: -3s;
  box-shadow:
    5.3vw -13.2vh 0 0.4px rgba(255, 255, 255, 0.2),
    -8.7vw 8.8vh 0.65px 0 rgba(255, 255, 255, 0.26),
    14vw 19.8vh 0 0.55px rgba(255, 255, 255, 0.22),
    -19.2vw -8.8vh 1.35px 0 rgba(255, 255, 255, 0.3),
    24.5vw -24.2vh 2.1px 0 rgba(255, 255, 255, 0.14),
    -12.2vw 28.6vh 0 0 rgba(255, 255, 255, 0.28),
    17.5vw 4.4vh 0 0.4px rgba(255, 255, 255, 0.2),
    -24.5vw 22vh 0.65px 0 rgba(255, 255, 255, 0.16),
    31.5vw 30.8vh 0 0.55px rgba(255, 255, 255, 0.24),
    -15.7vw -26.4vh 1.35px 0 rgba(255, 255, 255, 0.26),
    10.5vw 35.2vh 2.1px 0 rgba(255, 255, 255, 0.12),
    -31.5vw 13.2vh 0 0 rgba(255, 255, 255, 0.22),
    21vw -35.2vh 0 0.4px rgba(255, 255, 255, 0.32),
    -5.2vw 17.6vh 0.65px 0 rgba(255, 255, 255, 0.18),
    28vw 15.4vh 0 0.55px rgba(255, 255, 255, 0.2),
    -21vw -30.8vh 1.35px 0 rgba(255, 255, 255, 0.14),
    8.8vw 24.2vh 2.1px 0 rgba(255, 255, 255, 0.24),
    -35vw -4.4vh 0 0 rgba(255, 255, 255, 0.18),
    35vw -17.6vh 0 0.4px rgba(255, 255, 255, 0.15),
    -10.5vw 39.6vh 0.65px 0 rgba(255, 255, 255, 0.26),
    48vw 6vh 0 0.55px rgba(255, 255, 255, 0.16),
    -47vw -12vh 1.35px 0 rgba(255, 255, 255, 0.2),
    22vw -48vh 2.1px 0 rgba(255, 255, 255, 0.14),
    -20vw 47vh 0 0 rgba(255, 255, 255, 0.22),
    40vw 40vh 0 0.4px rgba(255, 255, 255, 0.12),
    -41vw -36vh 0.65px 0 rgba(255, 255, 255, 0.18),
    3vw 49vh 0 0.55px rgba(255, 255, 255, 0.15),
    -5vw -47vh 1.35px 0 rgba(255, 255, 255, 0.13),
    50vw -28vh 2.1px 0 rgba(255, 255, 255, 0.17),
    -49vw 30vh 0 0 rgba(255, 255, 255, 0.11),
    16vw 50vh 0 0.4px rgba(255, 255, 255, 0.19),
    -18vw -50vh 0.65px 0 rgba(255, 255, 255, 0.1),
    44vw -40vh 0 0.55px rgba(255, 255, 255, 0.14),
    -43vw 38vh 1.35px 0 rgba(255, 255, 255, 0.16),
    8vw -44vh 2.1px 0 rgba(255, 255, 255, 0.12),
    -11vw 44vh 0 0 rgba(255, 255, 255, 0.15),
    30vw 46vh 0 0.4px rgba(255, 255, 255, 0.13),
    -28vw -45vh 0.65px 0 rgba(255, 255, 255, 0.11);
}

@keyframes hero-stars-drift {
  0%,
  100% {
    transform: translate3d(-50%, -50%, 0) scale(0.9);
  }
  50% {
    transform: translate3d(-50%, -50%, 0) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-atmosphere__stars {
    opacity: 0.9;
  }

  .hero-atmosphere__stars-field {
    animation: none;
    filter: brightness(1.75) contrast(0.95);
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
}

/* Hero */
.hero {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: center;
}

.hero-copy {
  text-align: center;
  max-width: 36rem;
}

.hero-logo {
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
}

.hero-title {
  --hero-shimmer-opacity: 0.75;
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 7vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 var(--space-md);
  letter-spacing: -0.035em;
  display: grid;
  grid-template-columns: minmax(0, max-content);
  justify-content: start;
  width: 100%;
}

.hero-title__base {
  grid-area: 1 / 1;
  color: var(--text);
}

.hero-title__shimmer {
  grid-area: 1 / 1;
  pointer-events: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    100deg,
    #e3f5a8 0%,
    #fe889e 50%,
    #fd96ef 100%
  );
  background-size: 240% 100%;
  background-position: 100% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
}

@keyframes hero-title-shimmer {
  0% {
    opacity: 0;
    background-position: 100% 50%;
  }
  12% {
    opacity: var(--hero-shimmer-opacity);
  }
  88% {
    opacity: var(--hero-shimmer-opacity);
  }
  100% {
    opacity: 0;
    background-position: 0% 50%;
  }
}

.hero-title.hero-title--shimmer .hero-title__shimmer {
  animation: hero-title-shimmer var(--hero-shimmer-duration, 4s) linear 1 forwards;
}

@media (max-width: 899px) {
  .hero-title {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title__shimmer {
    display: none;
  }

  .hero-title.hero-title--shimmer .hero-title__shimmer {
    animation: none;
  }
}

.hero-sub {
  margin: 0 0 var(--space-lg);
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero-kicker {
  display: none;
}

/* Prelaunch hero — waitlist-first layout */
.hero--prelaunch .hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.7rem;
  margin: 0 0 var(--space-md);
  width: 100%;
}

.hero--prelaunch .hero-kicker {
  display: inline-block;
  margin: 0;
  padding: 0.38rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  line-height: 1.5;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 999px;
  box-shadow: none;
}

.hero--prelaunch .hero-kicker--beta {
  color: rgb(217, 196, 0);
  border-color: rgb(217, 195, 0);
  background: rgba(196, 177, 3, 0.05);
  box-shadow: 0 0 20px rgba(72, 118, 210, 0.12);
}

@media (min-width: 900px) {
  .hero--prelaunch .hero-kicker-row {
    justify-content: flex-start;
  }
}

.hero--prelaunch .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--prelaunch .hero-sub {
  /* margin-bottom: var(--space-lg); */
  color: rgb(255, 255, 255);
  max-width: 30rem;
}

/* Hero notify — Relay liquid glass + brand lift (relay-glass.css layers) */
.hero--prelaunch .hero-notify.relay-glass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  padding: 0;
  border: none;
  background: transparent;
  box-shadow:
    0 3px 9px -0.5px rgba(0, 0, 0, 0.11),
    0 8px 17px rgba(0, 0, 0, 0.065),
    0 0 0 1px rgba(255, 31, 68, 0.18),
    0 0 40px rgba(255, 31, 68, 0.1),
    0 28px 56px -14px rgba(0, 0, 0, 0.55),
    0 10px 24px -8px rgba(0, 0, 0, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.22);
  transition: box-shadow var(--glass-ui-duration) var(--glass-ui-ease);
}

.hero--prelaunch .hero-notify__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 1.35rem 1.35rem 1.4rem;
}

.hero--prelaunch .hero-notify.relay-glass:hover,
.hero--prelaunch .hero-notify.relay-glass:focus-within {
  box-shadow:
    0 3px 9px -0.5px rgba(0, 0, 0, 0.11),
    0 8px 17px rgba(0, 0, 0, 0.065),
    0 0 0 1px rgba(255, 31, 68, 0.28),
    0 0 52px rgba(255, 31, 68, 0.14),
    0 36px 64px -12px rgba(0, 0, 0, 0.58),
    0 14px 32px -8px rgba(0, 0, 0, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.28);
}

.hero--prelaunch .hero-notify__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: none;
  color: var(--text);
}

.hero-notify__hint {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(242, 240, 234, 0.55);
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-notify__disclaimer {
  margin: 0;
  text-align: center;
  max-width: 30rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(242, 240, 234, 0.4);
  letter-spacing: 0.01em;
  align-self: center;
}

.hero--prelaunch .hero-notify__hint {
  color: rgba(242, 240, 234, 0.72);
}

.hero--prelaunch .hero-notify__combo {
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    border-color var(--glass-control-duration) var(--glass-ui-ease),
    background var(--glass-control-duration) var(--glass-ui-ease),
    box-shadow var(--glass-control-duration) var(--glass-ui-ease);
}

.hero--prelaunch .hero-notify__combo:hover {
  border-color: rgba(255, 31, 68, 0.25);
}

.hero--prelaunch .hero-notify__combo:focus-within {
  border-color: rgba(255, 31, 68, 0.65);
  background: rgba(0, 0, 0, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 2px rgba(255, 31, 68, 0.22);
}

/* Frosted primary control — same interaction language as feature chevrons */
.hero--prelaunch .hero-notify__btn {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%),
    rgba(242, 240, 234, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition:
    background var(--glass-control-duration) var(--glass-ui-ease),
    border-color var(--glass-control-duration) var(--glass-ui-ease),
    color var(--glass-control-duration) var(--glass-ui-ease),
    box-shadow var(--glass-control-duration) var(--glass-ui-ease),
    transform var(--glass-control-duration) var(--glass-ui-ease),
    backdrop-filter var(--glass-control-duration) var(--glass-ui-ease),
    -webkit-backdrop-filter var(--glass-control-duration) var(--glass-ui-ease);
}

.hero--prelaunch .hero-notify__btn:hover:not(:disabled),
.hero--prelaunch .hero-notify__btn:focus-visible:not(:disabled) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%),
    rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.hero--prelaunch .hero-notify__btn:active:not(:disabled) {
  transform: translateY(1px);
}

/* Empty email: dim state + disabled in script (no click / submit / focus ring) */
.hero--prelaunch .hero-notify__btn:disabled {
  cursor: not-allowed;
  background:
    linear-gradient(165deg, rgba(50, 54, 62, 0.9) 0%, rgba(18, 20, 26, 0.95) 100%),
    rgba(10, 11, 14, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(200, 200, 208, 0.5);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
}

.hero--prelaunch .hero-notify__btn:disabled:hover,
.hero--prelaunch .hero-notify__btn:disabled:focus-visible,
.hero--prelaunch .hero-notify__btn:disabled:active {
  background:
    linear-gradient(165deg, rgba(50, 54, 62, 0.9) 0%, rgba(18, 20, 26, 0.95) 100%),
    rgba(10, 11, 14, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(200, 200, 208, 0.5);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: none;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero--prelaunch .hero-notify.relay-glass,
  .hero--prelaunch .hero-notify__combo,
  .hero--prelaunch .hero-notify__btn {
    transition-duration: 0.01ms;
  }
}

.hero--prelaunch .hero-cta {
  gap: 1rem;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: stretch;
}

.store-row--center {
  justify-content: center;
}

/* Hero: pre-launch notify + secondary store badges */
.hero-cta {
  width: 100%;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.hero-notify {
  margin: 0;
  width: 100%;
}

.hero-notify__eyebrow {
  margin: 0 0 0.45rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.48);
}

.hero-notify__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  justify-content: stretch;
  align-items: stretch;
}

/* Single pill: dark field + inset “Get Notified” (gap top / right / bottom via padding) */
.hero-notify__combo {
  --hero-notify-combo-inset: 5px;
  display: flex;
  flex: 1 1 100%;
  align-items: stretch;
  align-self: stretch;
  gap: 0.625rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: var(--hero-notify-combo-inset) var(--hero-notify-combo-inset) var(--hero-notify-combo-inset) 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-sizing: border-box;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.hero-notify__combo:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-notify__combo:focus-within {
  border-color: rgba(255, 31, 68, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.hero-notify__input {
  flex: 1 1 0%;
  min-width: 0;
  width: 0;
  min-height: 0;
  padding: 0.55rem 0.2rem 0.55rem 0.35rem;
  font-family: var(--font-sans);
  /* 16px prevents iOS zoom on focus */
  font-size: 14px;
  line-height: 1.3;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  transition: color 0.15s ease;
}

.hero-notify__input::placeholder {
  color: rgba(242, 240, 234, 0.4);
}

.hero-notify__input:focus {
  outline: none;
}

.hero-notify__btn {
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 1.05rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0a0a0b;
  background: rgba(242, 240, 234, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.1s ease;
}

.hero-notify__btn:hover {
  background: #fff;
}

.hero-notify__btn:active {
  transform: translateY(1px);
}

.hero-notify__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-cta__stores-label {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(242, 240, 234, 0.42);
}

.store-row--hero {
  width: 100%;
  max-width: none;
}

@media (max-width: 639px) {
  .hero-cta {
    width: 100%;
    padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right));
  }

  .hero-notify {
    width: 100%;
  }

  .hero-notify__combo {
    min-height: 46px;
    --hero-notify-combo-inset: 5px;
  }

  .hero-notify__input {
    padding: 0.65rem 0.15rem 0.65rem 0.3rem;
  }

  .hero-notify__btn {
    padding-inline: 0.95rem;
  }
}

.store-row--hero-secondary {
  gap: 0.65rem;
  opacity: 0.96;
}

.store-row--hero-secondary .store-btn {
  min-height: 2.9rem;
  padding: 0.55rem 1rem 0.55rem 0.88rem;
  font-size: 0.78rem;
}

.store-row--hero-secondary .store-btn__glyph,
.store-row--hero-secondary .store-btn__glyph svg {
  width: 1.85rem;
  height: 1.85rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.15rem 0.7rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--glass-border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.8125rem;
  line-height: 1.2;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.store-btn:hover {
  /* background: rgba(255, 255, 255, 0.085); */
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 0 rgba(0, 0, 0, 0.35);
  /* transform: translateY(-1px); */
  text-decoration: none;
  color: var(--text);
}

.store-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.store-btn:active {
  transform: translateY(0);
  transition-duration: 0.08s;
}

.store-btn__glyph {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--text);
  opacity: 0.95;
}

.store-btn__glyph svg {
  display: block;
}

.store-btn--android .store-btn__glyph {
  /* Match Apple glyph size — Play mark is 28×28 in viewBox */
  width: 2.25rem;
  height: 2.25rem;
}

.store-btn__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.1rem;
}

.store-btn small {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 1;
}

.store-btn strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Hero device frames — three-phone cluster */
.hero-shots {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.25rem, 4vw, 2.25rem);
}

.hero-shots__cluster {
  position: relative;
  width: min(100%, 430px);
  height: clamp(300px, 58vw, 400px);
  margin-inline: auto;
  transform: translateY(clamp(0.65rem, 2vw, 1.35rem));
}

.hero-shots__cluster .device-frame {
  position: absolute;
  width: 52%;
  max-width: 200px;
}

/*
 * Device frame template — titanium-style band + screen chrome.
 *
 * FRAME COLOR — add one class next to .device-frame__bezel:
 *   .device-frame__bezel--gray     default titanium (same as no modifier)
 *   .device-frame__bezel--silver   bright cool silver / aluminum
 *   .device-frame__bezel--orange   warm copper / product orange metal
 *   .device-frame__bezel--midnight cool blue-black metal
 *   .device-frame__bezel--cherry   dark cherry / plum burgundy anodized metal
 *
 * CUSTOMIZE LOOK — edit these spots (keep bezel thickness + outer radius in sync
 * with .device-frame__screen border-radius / clip-path calcs below):
 *   • Theme tokens on .device-frame__bezel (--df-f* …) or extend --silver / --orange / --midnight / --cherry
 *   • .device-frame__bezel — padding, border-radius, --hw-*
 *   • .device-frame__bezel::before — rim shadows (shared across themes)
 *   • .section--screenshots .device-frame__bezel — carousel outer radius
 *   • .device-frame__screen / .section--screenshots .device-frame__screen — inner radius calcs
 *   • .device-frame__island
 *   • :root --relay-screen-aspect / .section--screenshots --device-aspect
 */
.device-frame__bezel {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  container-name: relay-device;
  /* Gray / titanium — default when no theme class */
  --df-f1: #4e4e54;
  --df-f2: #3a3a3f;
  --df-f3: #2c2c30;
  --df-f4: #1e1e22;
  --df-f5: #141417;
  --df-f6: #0c0c0e;
  --df-frame-border: #4848508c;
  --df-vol-bg: #1a1a1e;
  --df-v1: #3e3e44;
  --df-v2: #28282c;
  --df-v3: #1a1a1e;
  --df-v4: #121214;
  --df-mute-bg: #141416;
  --df-m1: #36363c;
  --df-m2: #222226;
  --df-m3: #141416;
  /* CHANGE: metal band thickness (must match “36px” / “38px” in screen calc(...) below) */
  padding: 4px;
  /* CHANGE: outer corner radius of the phone body */
  border-radius: 36px;
  background: transparent;
  border: none;
  box-shadow: none;
  /* CHANGE: side control sizing (scales with frame width via cqw) */
  --hw-w: clamp(3px, 1.65cqw, 6px);
  --hw-mute-h: calc(var(--hw-w) * 3.85);
  --hw-vol-h: calc(var(--hw-w) * 7.85);
  --hw-gap: calc(var(--hw-w) * 1.42);
  --hw-power-h: calc(var(--hw-w) * 14.15);
  --hw-pill-r: min(4.5px, calc(var(--hw-w) * 0.82));
  --hw-pill-r-inner: min(2.25px, calc(var(--hw-w) * 0.42));
  --hw-stack-top: 20%;
}

/* Explicit gray (optional; matches default .device-frame__bezel tokens) */
.device-frame__bezel--gray {
  --df-f1: #4e4e54;
  --df-f2: #3a3a3f;
  --df-f3: #2c2c30;
  --df-f4: #1e1e22;
  --df-f5: #141417;
  --df-f6: #0c0c0e;
  --df-frame-border: #4848508c;
  --df-vol-bg: #1a1a1e;
  --df-v1: #3e3e44;
  --df-v2: #28282c;
  --df-v3: #1a1a1e;
  --df-v4: #121214;
  --df-mute-bg: #141416;
  --df-m1: #36363c;
  --df-m2: #222226;
  --df-m3: #141416;
}

.device-frame__bezel--orange {
  --df-f1: #d6884a;
  --df-f2: #b86428;
  --df-f3: #8c4418;
  --df-f4: #5e2c0e;
  --df-f5: #3a1c08;
  --df-f6: #221008;
  --df-frame-border: #b865308c;
  --df-vol-bg: #3d1808;
  --df-v1: #c45c28;
  --df-v2: #8a3a14;
  --df-v3: #5c240c;
  --df-v4: #2e1006;
  --df-mute-bg: #401808;
  --df-m1: #a84820;
  --df-m2: #6b280f;
  --df-m3: #381408;
}

.device-frame__bezel--midnight {
  --df-f1: #3e4a5c;
  --df-f2: #2d3646;
  --df-f3: #1f2734;
  --df-f4: #161d2a;
  --df-f5: #0f141e;
  --df-f6: #090c14;
  --df-frame-border: #2e3a508c;
  --df-vol-bg: #141a24;
  --df-v1: #353d4e;
  --df-v2: #252d3c;
  --df-v3: #181e2a;
  --df-v4: #10161f;
  --df-mute-bg: #121822;
  --df-m1: #2c3444;
  --df-m2: #1a2230;
  --df-m3: #10151e;
}

.device-frame__bezel--silver {
  --df-f1: #e6e7eb;
  --df-f2: #d2d4dc;
  --df-f3: #babdc6;
  --df-f4: #a0a3ae;
  --df-f5: #868994;
  --df-f6: #6b6e78;
  --df-frame-border: #b4b8c28c;
  --df-vol-bg: #5a5d66;
  --df-v1: #b8bcc6;
  --df-v2: #8c909c;
  --df-v3: #5e626c;
  --df-v4: #3e424a;
  --df-mute-bg: #52555e;
  --df-m1: #a8acb6;
  --df-m2: #787c88;
  --df-m3: #484c56;
}

/* Dark cherry — matte back + glossy band (reference mock: ~#4B2A3D body, #2E1A25 metal, #6B3B52 specular) */
.device-frame__bezel--cherry {
  --df-f1: #6b3b52;
  --df-f2: #5a3b4d;
  --df-f3: #4b2a3d;
  --df-f4: #3b2230;
  --df-f5: #2e1a25;
  --df-f6: #1a0f16;
  --df-frame-border: #5a3b4d8c;
  --df-vol-bg: #2a1521;
  --df-v1: #5c3e50;
  --df-v2: #452e3e;
  --df-v3: #321d28;
  --df-v4: #1c1018;
  --df-mute-bg: #2d1823;
  --df-m1: #4a3242;
  --df-m2: #321d28;
  --df-m3: #221118;
}

.device-frame__bezel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(
    152deg,
    var(--df-f1) 0%,
    var(--df-f2) 14%,
    var(--df-f3) 32%,
    var(--df-f4) 52%,
    var(--df-f5) 72%,
    var(--df-f6) 100%
  );
  border: 1px solid var(--df-frame-border);
  /* box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    inset -1px 0 0 rgba(0, 0, 0, 0.35),
    0 3px 14px rgba(0, 0, 0, 0.5),
    0 16px 40px rgba(0, 0, 0, 0.38); */
  pointer-events: none;
}

/* Cherry band — thin polished highlight on the top-left (matches physical mock specular) */
.device-frame__bezel--cherry::before {
  box-shadow:
    inset 1px 1px 0 rgba(107, 59, 82, 0.32),
    inset 0 -10px 24px rgba(0, 0, 0, 0.28);
}

/* CHANGE: carousel slides — larger outer radius; then update screen calc(38px - 4px) to match */
.section--screenshots .device-frame__bezel {
  border-radius: 38px;
}

.device-frame__hardware {
  position: absolute;
  /* 0 = below bezel face (::before z-index: 1); avoid -1 — composites as “see-through” vs page */
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  pointer-events: none;
  isolation: isolate;
}

/* CHANGE: how far keys sit past the frame edge (left column) */
.device-frame__hardware--left {
  left: calc(3px * -0.92);
  top: var(--hw-stack-top);
  gap: var(--hw-gap);
}

/* CHANGE: power key horizontal offset + vertical alignment vs left stack */
.device-frame__hardware--right {
  right: calc(3px * -0.92);
  top: calc(var(--hw-stack-top) + var(--hw-mute-h) + var(--hw-gap));
}

/* Volume + power: colors from theme tokens on .device-frame__bezel */
.device-frame__btn {
  display: block;
  flex-shrink: 0;
  width: var(--hw-w);
  height: var(--hw-vol-h);
  border: none;
  padding: 0;
  margin: 0;
  appearance: none;
  background-color: var(--df-vol-bg);
  background-image: linear-gradient(
    180deg,
    var(--df-v1) 0%,
    var(--df-v2) 99%,
    var(--df-v3) 100%
  );
  border-radius: var(--hw-pill-r) var(--hw-pill-r-inner) var(--hw-pill-r-inner) var(--hw-pill-r);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    1px 0 0 rgba(255, 255, 255, 0.07),
    1px 0 3px rgba(0, 0, 0, 0.45);
}

.device-frame__btn--mute {
  height: var(--hw-mute-h);
  background-color: var(--df-mute-bg);
  background-image: linear-gradient(
    180deg,
    var(--df-m1) 0%,
    var(--df-m1) 100%
  );
}

/* CHANGE: power side highlights (faces the other way than vol keys) */
.device-frame__btn--power {
  height: var(--hw-power-h);
  border-radius: var(--hw-pill-r-inner) var(--hw-pill-r) var(--hw-pill-r) var(--hw-pill-r-inner);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.52),
    -1px 0 0 rgba(255, 255, 255, 0.06),
    -1px 0 3px rgba(0, 0, 0, 0.42);
}

.device-frame--hero-back {
  left: 50%;
  bottom: 0;
  z-index: 3;
  transform: translateX(-50%);
}

/*
 * CHANGE: inner corner radius = (outer radius above) − (padding above) — keep all three in sync.
 * CHANGE: .device-frame__img uses --df-screen-img-r = bezel outer R − padding − screen border (concentric).
 * CHANGE: letterbox behind screenshot; lip line + inset shadow = glass sitting in frame.
 */
.device-frame__screen {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: var(--relay-screen-aspect);
  /* Match bezel inner opening (36 − 4px pad); img sits inside 4px screen border. */
  --df-screen-img-r: calc(36px - 4px - 4px);
  border-radius: calc(36px - 4px);
  background: #000;
  border: 4px solid rgba(0, 0, 0, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -2px 6px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  contain: paint;
  clip-path: inset(0 round calc(36px - 4px));
}

/* CHANGE: carousel — match outer bezel 38px and padding 4px here and in clip-path */
.section--screenshots .device-frame__screen {
  aspect-ratio: var(--device-aspect);
  --df-screen-img-r: calc(38px - 4px - 4px);
  border-radius: calc(38px - 4px);
  clip-path: inset(0 round calc(38px - 4px));
}

/*
 * Fill the glass: cover avoids bottom letterboxing from contain + top (black strip).
 * Screenshots are 390×844 — with matching aspect-ratio, cover matches contain; if
 * subpixel/export differs slightly, cover still fills edge-to-edge.
 */
.device-frame__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: var(--df-screen-img-r);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* CHANGE: Dynamic Island — size (width/max-width/aspect), vertical offset, fill + depth */
.device-frame__island {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 1.75%;
  transform: translateX(-50%);
  width: 32%;
  max-width: 118px;
  aspect-ratio: 126 / 37;
  border-radius: 999px;
  background: #080808;
  /* box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 0 0 0.5px rgba(0, 0, 0, 0.65),
    0 1px 3px rgba(0, 0, 0, 0.45); */
  pointer-events: none;
}

.hero-shots__cluster .device-frame--tilt-left {
  left: 0;
  bottom: 0;
  z-index: 1;
  transform: translateY(clamp(-1.75rem, -5vw, -0.85rem));
}

.hero-shots__cluster .device-frame--tilt-right {
  right: 0;
  bottom: 0;
  z-index: 1;
  transform: translateY(clamp(-1.75rem, -5vw, -0.85rem));
}

@media (min-width: 900px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: var(--space-2xl);
    row-gap: var(--space-lg);
    align-items: start;
    text-align: left;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    max-width: 32rem;
  }

  .hero--prelaunch .hero-copy {
    align-items: flex-start;
  }

  .hero-logo {
    justify-content: flex-start;
  }

  .hero-sub {
    margin-bottom: 0;
  }

  .hero-inner > .hero-cta {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    width: 100%;
    max-width: 32rem;
    min-width: 0;
  }

  .hero-cta .hero-notify__row {
    justify-content: flex-start;
  }

  .hero-cta .hero-notify__eyebrow,
  .hero-cta .hero-cta__stores-label {
    text-align: left;
  }

  .hero-cta .hero-notify__hint {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-shots {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    max-width: none;
    min-height: 400px;
    justify-content: center;
    padding-inline: var(--space-md);
    margin-top: 0;
  }

  .hero-shots__cluster {
    width: min(500px, 100%);
    height: 440px;
    margin-inline: auto;
    transform: translate(
      clamp(-1.75rem, -2.5vw, -1rem),
      clamp(4rem, 7.5vw, 6rem)
    );
  }

  .hero-shots__cluster .device-frame {
    max-width: 232px;
  }
}

/* Lead copy */
.lead {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Glass cards — default frosted plate; relay shells use relay-glass.css layers */
.glass-card {
  padding: var(--space-lg);
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Content inside .relay-glass must stay clear — glass is on backdrop/face layers */
.relay-glass > .relay-glass__content.glass-card,
.relay-glass > .relay-glass__content.cta-card {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.cta-relay.relay-glass {
  border-radius: calc(var(--radius) + 4px);
}

.glass-card h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
}

/* Plain paragraphs only — classed lines (e.g. .cta-sub) keep their own rules */
.glass-card p:not(.cta-sub) {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Feature cards — inline icons */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.feature-card__icon {
  align-self: flex-start;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  min-height: 44px;
  max-height: 44px;
  aspect-ratio: 1;
  margin-bottom: var(--space-md);
  border-radius: 12px;
  color: var(--accent);
  background: rgba(255, 31, 68, 0.09);
  border: 1px solid rgba(255, 31, 68, 0.14);
  overflow: hidden;
}

.feature-card__icon svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.feature-card h3 {
  margin-top: 0;
  max-width: 100%;
  hyphens: none;
  text-wrap: pretty;
}

.feature-card__lead {
  margin: 0 0 var(--space-sm);
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.45;
}

.section--feature-cards .feature-card > p:not(.feature-card__lead) {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Feature cards — shared motion tokens */
.section--feature-cards {
  --feature-ui-duration: var(--glass-ui-duration);
  --feature-ui-ease: var(--glass-ui-ease);
  --feature-control-duration: var(--glass-control-duration);
  /* Card body height cap (grid) — room for six cards without inner scroll on typical viewports */
  --feature-card-max-h: min(23rem, 74vh);
  /* Solid fill under the fade (cards + lower area) */
  --features-bg-base: rgb(12, 14, 25);
  position: relative;
  isolation: isolate;
  /* Transparent top lets .hero-atmosphere stars + wash read through; ramps to solid for the grid */
  background-color: transparent;
  background-image: linear-gradient(
    to bottom,
    rgba(12, 14, 25, 0) 0%,
    rgba(12, 14, 25, 0.08) 14%,
    rgba(12, 14, 25, 0.45) 36%,
    rgba(14, 16, 32, 0.82) 58%,
    rgba(16, 17, 34, 0.95) 72%,
    var(--features-bg-base) 100%
  );
}

/* Full-bleed wash; same horizontal rhythm as .section (1120px column) */
.section--feature-cards.section {
  max-width: none;
  margin-inline: 0;
  padding-inline: max(var(--space-md), calc((100vw - 1120px) / 2));
}

.section--feature-cards > .section-title {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 18px rgba(10, 10, 11, 0.4);
}

.section--feature-cards > .feature-grid {
  position: relative;
  z-index: 1;
}

/* Feature cards — single face (relay glass) */
.feature-card-article {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: var(--radius);
  outline: none;
}

.section--feature-cards .feature-card-article {
  position: relative;
  height: auto;
  min-height: 0;
  max-height: var(--feature-card-max-h);
  overflow: hidden;
}

.feature-card-article__glass {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--feature-ui-duration, 0.45s) var(--feature-ui-ease, cubic-bezier(0.33, 1, 0.68, 1));
}

.section--feature-cards .feature-card-article__glass {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  transition: box-shadow var(--feature-ui-duration, 0.45s) var(--feature-ui-ease, cubic-bezier(0.33, 1, 0.68, 1));
}

.section--feature-cards .feature-card-article__glass .relay-glass__content.feature-card {
  position: relative;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: var(--space-sm) var(--space-md);
  gap: 0;
  overflow-x: hidden;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

.section--feature-cards .feature-card-article__glass .relay-glass__content.feature-card > * {
  position: relative;
  z-index: 1;
}

.section--feature-cards .feature-card-article .feature-card__icon {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: box-shadow var(--feature-ui-duration, 0.45s) var(--feature-ui-ease, cubic-bezier(0.33, 1, 0.68, 1));
}

.section--feature-cards .feature-card-article:hover .feature-card__icon,
.section--feature-cards .feature-card-article:focus-within .feature-card__icon {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.section--feature-cards .feature-card-article:hover .feature-card-article__glass,
.section--feature-cards .feature-card-article:focus-within .feature-card-article__glass {
  box-shadow:
    0 0 0 1px var(--accent),
    0 3px 9px -0.5px rgba(0, 0, 0, 0.11),
    0 8px 17px rgba(0, 0, 0, 0.065),
    0 36px 64px -12px rgba(0, 0, 0, 0.58),
    0 14px 32px -8px rgba(0, 0, 0, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .section--feature-cards {
    --feature-ui-duration: 0.01ms;
    --feature-control-duration: 0.01ms;
  }
}

/* Feature grid — stretch so every card in a row matches the tallest */
.feature-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Features — horizontal swipe on small screens (one card + peek of next) */
@media (max-width: 599px) {
  .section--feature-cards {
    --features-strip-card-h: clamp(20.5rem, 58vw, 24rem);
  }

  .section--feature-cards .feature-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--space-md);
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--space-md));
    padding-inline: var(--space-md);
    /* Border-box: padding (2.5rem) + inner slack (2.75rem) so stretched cards are taller than --features-strip-card-h */
    min-height: calc(var(--features-strip-card-h) + 2.75rem + 2.5rem);
    /* Room at scrollport edges for hover ring, shadows, and 3D */
    padding-block: 1.25rem 1.25rem;
    scrollbar-width: thin;
    contain: none;
  }

  .section--feature-cards .feature-card-article {
    /* Wider card + small peek of the next */
    --features-strip-card-w: min(26rem, calc(100vw - var(--space-sm)));
    flex: 0 0 var(--features-strip-card-w);
    width: var(--features-strip-card-w);
    min-width: 0;
    min-height: var(--features-strip-card-h);
    max-height: none;
    align-self: stretch;
    overflow: hidden;
    /* Let row stretch set height; base height:100% breaks flex:1 fill inside the strip */
    height: auto;
    scroll-snap-align: start;
    scroll-margin-inline: var(--space-md);
  }

  .section--feature-cards .feature-card-article__glass {
    overflow: visible;
    flex: 1 1 0%;
    min-height: 0;
    width: 100%;
    align-self: stretch;
  }
}

@media (max-width: 599px) and (prefers-reduced-motion: reduce) {
  .section--feature-cards .feature-grid {
    scroll-snap-type: x proximity;
  }
}

/* Screenshots — device mock + carousel (full-bleed track + edge fade) */
.section.section--screenshots {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

.section--screenshots {
  --device-aspect: var(--relay-screen-aspect);
  --carousel-fade: min(5rem, 12vw);
}

/* In the app — same atmosphere stack as #road-map (blurred art + corner wash + veil) */
#in-the-app.section--screenshots {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: rgb(10, 12, 22);
}

/* Seam from .section--feature-cards over the blurred field */
#in-the-app.section--screenshots::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(
    to bottom,
    rgb(12, 14, 25) 0%,
    rgba(12, 14, 25, 0) min(18%, 6rem)
  );
  background-repeat: no-repeat;
}

/* Cool wash + lighter radial over blurred art */
#in-the-app.section--screenshots::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      200deg,
      rgba(48, 86, 168, 0.06) 0%,
      transparent 40%
    ),
    radial-gradient(
      85% 70% at 50% 45%,
      rgba(5, 8, 18, 0.22),
      rgba(3, 6, 16, 0.34) 100%
    );
}

#in-the-app.section--screenshots > .section--screenshots__intro,
#in-the-app.section--screenshots > .screenshots-showcase {
  position: relative;
  z-index: 3;
}

/* Cooler than #road-map: push corner wash + veil toward navy / ice blue */
#in-the-app .features__bg-wash {
  background:
    radial-gradient(
      70% 65% at 8% 22%,
      rgba(255, 31, 68, 0.2),
      transparent 58%
    ),
    radial-gradient(
      72% 62% at 92% 82%,
      rgba(72, 118, 220, 0.34),
      transparent 56%
    ),
    radial-gradient(
      88% 70% at 50% 42%,
      rgba(36, 58, 120, 0.16),
      transparent 65%
    );
}

.section--screenshots__intro {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: var(--space-md);
  padding-top: var(--space-xl);
}

.section--screenshots__intro .section-title {
  margin-bottom: var(--space-md);
}

.screenshots-lead {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--space-xl);
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.screenshots-showcase {
  width: 100%;
}

.screenshots-showcase__frame {
  position: relative;
  width: 100%;
  min-width: 0;
}

.screenshots-carousel-mask {
  width: 100%;
  min-width: 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 var(--carousel-fade),
    #000 calc(100% - var(--carousel-fade)),
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 var(--carousel-fade),
    #000 calc(100% - var(--carousel-fade)),
    transparent
  );
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.25rem);
  margin-top: var(--space-md);
  padding-inline: max(var(--space-md), env(safe-area-inset-left))
    max(var(--space-md), env(safe-area-inset-right));
  max-width: 1120px;
  margin-inline: auto;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: static;
  z-index: auto;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(10, 10, 11, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.carousel-btn:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.carousel-btn:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.carousel-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.screenshots-carousel {
  display: flex;
  gap: var(--space-lg);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  /* Match .carousel-slide flex-basis so first/last can snap to center */
  --carousel-slide-w: min(300px, 85vw);
  scroll-padding-inline: max(
    var(--space-md),
    calc((100vw - var(--carousel-slide-w)) / 2)
  );
  padding-block: var(--space-xs) var(--space-md);
  padding-inline: max(
    var(--space-md),
    calc((100vw - var(--carousel-slide-w)) / 2)
  );
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screenshots-carousel:focus-visible {
  outline: 1px solid var(--glass-border);
  outline-offset: 4px;
}

.screenshots-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.carousel-slide {
  flex: 0 0 min(300px, 85vw);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

@media (min-width: 900px) {
  .screenshots-carousel {
    --carousel-slide-w: clamp(300px, 36vw, 400px);
  }

  .carousel-slide {
    flex: 0 0 clamp(300px, 36vw, 400px);
  }
}

/* Carousel width cap — inner chrome uses .device-frame__bezel */
.device-mock {
  width: 100%;
  max-width: 268px;
  margin-inline: auto;
}

.carousel-slide__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 38ch;
  padding-inline: var(--space-xs);
}

.carousel-slide__title {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.carousel-slide__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  min-width: 0;
  flex: 0 1 auto;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(242, 240, 234, 0.22);
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.carousel-dot:hover {
  background: rgba(242, 240, 234, 0.38);
}

.carousel-dot[aria-selected="true"] {
  background: var(--accent);
  transform: scale(1.2);
}

.carousel-dot:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

/* Product overview (#road-map) — full-bleed band; inner copy width unchanged */
.section.section--feature-list {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: max(var(--space-md), calc((100vw - 1120px) / 2));
}

/* Atmospheric shell (blurred art disabled); flat fill, no radius */
.section.section--feature-list.features {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
  background-color: #0e111f;
  /* Limit layout work to this subtree while scrolling the page */
  contain: layout style;
}

.features__bg {
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  /* One composited layer for the whole decorative stack (fewer repaints on scroll) */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Blurred app imagery — masses sit off-center so the text column stays calmer */
.features__bg-art {
  position: absolute;
  display: block;
  pointer-events: none;
  object-fit: cover;
  /* Strong blur is costly; ~60px keeps the look with less GPU work than 76–84px */
  filter: blur(58px) saturate(1.28);
  opacity: 0.38;
}

.features__bg-art--one {
  width: 72%;
  height: 95%;
  top: -12%;
  left: -32%;
  transform: scale(1.72);
  transform-origin: 28% 35%;
}

.features__bg-art--two {
  width: 68%;
  height: 88%;
  right: -36%;
  bottom: -28%;
  left: auto;
  top: auto;
  transform: scale(1.68);
  transform-origin: 78% 82%;
  opacity: 0.32;
  filter: blur(62px) saturate(1.22);
}

/* Corner radials — used by #in-the-app; hidden on “What Relay offers” below */
.features__bg-wash {
  position: absolute;
  inset: -5%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      70% 65% at 8% 22%,
      rgba(255, 31, 68, 0.32),
      transparent 58%
    ),
    radial-gradient(
      62% 58% at 94% 88%,
      rgba(100, 140, 255, 0.26),
      transparent 55%
    );
  /* No filter here: blurring this layer doubled GPU cost for little gain vs soft radials */
  opacity: 0.72;
}

/* No blurred art / wash behind “What Relay offers” (#in-the-app keeps its own .features__bg) */
.section.section--feature-list.features .features__bg {
  display: none;
}

/* Standalone Technically Speaking page — show same ::before gradient + hero-bg as index hero */
.section.section--feature-list.features.features--standalone {
  background-color: transparent;
  isolation: auto;
  contain: none;
  padding-top: var(--space-lg);
}

@media (prefers-reduced-motion: reduce) {
  .features__bg-art {
    filter: blur(28px) saturate(1.05);
    opacity: 0.28;
  }

  .features__bg-art--two {
    filter: blur(28px) saturate(1.05);
    opacity: 0.24;
  }

  .features__bg-wash {
    opacity: 0.55;
  }
}

.section.section--feature-list.features::after {
  content: none;
}

.features__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(56rem, 100%);
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .features__content {
    max-width: 75rem;
  }
}

/* Slightly lift muted copy so it stays crisp on the tinted layer */
.features__content .feature-list-lead {
  color: rgba(242, 240, 234, 0.74);
}

.section--feature-list .section-title {
  margin-bottom: var(--space-md);
}

.feature-list-lead {
  text-align: center;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 36ch;
}

/* Product overview — three bands: included / in progress / roadmap */
.feature-overview {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.feature-band {
  margin: 0;
  padding-block: clamp(2.75rem, 5vw, 4rem);
}

.feature-band:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-band__lead {
  margin: 0 0 clamp(1.1rem, 2.2vw, 1.5rem);
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(242, 240, 234, 0.55);
}

.capability-groups {
  display: grid;
  gap: clamp(1.35rem, 2.5vw, 1.85rem);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .capability-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .capability-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.capability-group {
  margin: 0;
  padding: 1rem 1.1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(6, 6, 8, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.capability-group__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.52);
}

.capability-group__subhead {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(242, 240, 234, 0.58);
}

.capability-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.capability-list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(242, 240, 234, 0.72);
}

.journey-block {
  margin: 0;
}

.journey-block__heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.journey-block__label {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.45);
}

.journey-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-block__icon--check {
  /* width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  color: #3dd68c;
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.35); */
}

.journey-block__icon--live {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 31, 68, 0.25);
}

.journey-block__icon--arrow {
  color: rgba(242, 240, 234, 0.55);
}

.journey-block__icon--platforms {
  color: rgba(242, 240, 234, 0.55);
}

/* Divider between “Platforms” and “Complete” — same rule as .feature-band:not(:first-child) */
.journey-block--platforms {
  margin: 0;
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.journey-block--platforms + .journey-block--shipped {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(2.75rem, 5vw, 4rem);
}

.journey-check {
  flex-shrink: 0;
  margin-top: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  /* color: #3dd68c; */
  line-height: 1.2;
}

.journey-shipped-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
}

.journey-shipped-badge {
  display: inline-flex;
  margin: 0;
  padding: 0.45rem 0.95rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #5ee0a0;
  border: 1px solid rgba(61, 214, 140, 0.45);
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.08);
}

.journey-shipped-badge--yellow {
  color: #f0d56a;
  border-color: rgba(240, 213, 106, 0.55);
  background: rgba(240, 213, 106, 0.12);
}

.journey-shipped-badge--red {
  color: #ff7a8c;
  border-color: rgba(255, 31, 68, 0.55);
  background: rgba(255, 31, 68, 0.12);
}

/* In progress — calm rail (no feat/bug labels on the marketing site) */
.journey-now-list {
  margin: 0;
  padding: 0 0 0 1rem;
  list-style: none;
  border-left: 2px solid rgba(255, 31, 68, 0.55);
}

.journey-now-list--progress {
  border-left-color: rgba(255, 255, 255, 0.14);
}

.journey-now-list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.journey-now-list > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.journey-now-text {
  flex: 1 1 12rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(242, 240, 234, 0.88);
}

/* What’s next — numbered cards */
.journey-next-cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.journey-next-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(8, 8, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.journey-next-card__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(242, 240, 234, 0.45);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.journey-next-card__body {
  min-width: 0;
}

.journey-next-card__title {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.35rem;
}

.journey-next-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(242, 240, 234, 0.52);
}

/* CTA — album-art marquee behind glass card */
.cta-section {
  --cta-album-gap: clamp(0.35rem, 1.1vw, 0.65rem);
  position: relative;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
  overflow: visible;
}

.cta-backdrop {
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  width: 100vw;
  transform: translate(-50%, -50%);
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--cta-album-gap);
  height: min(40rem, 120vw);
  max-height: 680px;
  pointer-events: none;
  opacity: 1;
  filter: saturate(1.08) brightness(1.04);
}

.cta-marquee {
  flex: 0 0 auto;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.cta-marquee-mover {
  display: flex;
  width: max-content;
  height: auto;
  align-items: center;
  gap: var(--cta-album-gap);
  animation: cta-marquee-drift 704s linear infinite;
  will-change: transform;
}

.cta-marquee--reverse .cta-marquee-mover {
  animation-name: cta-marquee-drift-reverse;
  animation-duration: 832s;
}

@keyframes cta-marquee-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes cta-marquee-drift-reverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.cta-album-list {
  display: flex;
  align-items: center;
  gap: var(--cta-album-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.cta-album-list li {
  flex-shrink: 0;
  width: clamp(6.75rem, 22vw, 13rem);
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.cta-album-list img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .cta-marquee-mover {
    animation: none !important;
  }
}

.cta-shell {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  margin: 0 auto;
}

.cta-card {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.5rem, 4vw, 2.25rem);
  border-radius: calc(var(--radius) + 4px);
}

.cta-eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.48);
}

.cta-title {
  font-family: var(--font-sans);
  font-size: clamp(1.95rem, 4.5vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 var(--space-md);
  color: var(--text);
}

.cta-sub {
  margin: 0 auto var(--space-lg);
  max-width: 32ch;
  color: rgba(242, 240, 234, 0.58);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Balanced, equal-width store pair in CTA */
.store-row--cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 26rem;
  margin-inline: auto;
  gap: var(--space-md);
}

.store-row--cta .store-btn {
  justify-content: flex-start;
  width: 100%;
}

/* Start listening — narrow viewports: stack buttons, breathe room, safe area */
@media (max-width: 639px) {
  #download.cta-section {
    padding-inline: max(1.125rem, env(safe-area-inset-left))
      max(1.125rem, env(safe-area-inset-right));
    /* Extra vertical room so marquee rows show above/below the card */
    min-height: clamp(17.5rem, 52vh, 26rem);
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .cta-backdrop {
    height: min(36rem, 145vw);
    max-height: 620px;
    filter: saturate(1.12) brightness(1.06);
  }

  .cta-marquee {
    mask-image: linear-gradient(
      to right,
      transparent,
      #000 3%,
      #000 97%,
      transparent
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      #000 3%,
      #000 97%,
      transparent
    );
  }

  .cta-album-list li {
    width: clamp(7.25rem, 40vw, 11rem);
    box-shadow:
      0 10px 32px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.16);
  }

  .cta-card {
    padding: 1.5rem 1.25rem 1.65rem;
  }

  .cta-title {
    font-size: clamp(1.6rem, 6.5vw, 2.1rem);
    margin-bottom: var(--space-sm);
  }

  .cta-sub {
    margin-bottom: var(--space-md);
    max-width: 28ch;
    font-size: 1rem;
    line-height: 1.55;
  }

  .store-row--cta {
    grid-template-columns: 1fr;
    max-width: none;
    width: 100%;
    gap: 0.75rem;
  }

  .store-row--cta .store-btn {
    justify-content: center;
    min-height: 3.1rem;
    padding: 0.75rem 1.1rem;
  }
}

/* Light store badges — hero + download CTA */
.store-row--hero .store-btn,
.store-row--cta .store-btn {
  background: rgba(242, 240, 234, 0.97);
  border-color: rgba(10, 10, 11, 0.14);
  color: var(--bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 3px rgba(0, 0, 0, 0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.store-row--hero .store-btn:hover,
.store-row--cta .store-btn:hover {
  background: #fdfcfa;
  border-color: rgba(10, 10, 11, 0.22);
  color: var(--bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.14);
}

/* Apple glyph ≈ SF black on light badge; Play uses fixed fills in SVG */
.store-row--hero .store-btn:not(.store-btn--android) .store-btn__glyph,
.store-row--cta .store-btn:not(.store-btn--android) .store-btn__glyph {
  color: #1d1d1f;
  opacity: 1;
}

.store-row--hero .store-btn--android .store-btn__glyph,
.store-row--cta .store-btn--android .store-btn__glyph {
  opacity: 1;
}

.store-row--hero .store-btn small,
.store-row--cta .store-btn small {
  color: rgba(10, 10, 11, 0.48);
}

.store-row--hero .store-btn strong,
.store-row--cta .store-btn strong {
  color: var(--bg);
}

/* Music / artwork disclaimer (between CTA and footer) */
.music-disclaimer-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  padding-inline: max(var(--space-md), env(safe-area-inset-left))
    max(var(--space-md), env(safe-area-inset-right));
}

.music-disclaimer {
  margin: 0 auto;
  max-width: 56ch;
  font-size: 0.6875rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-align: center;
  color: rgba(242, 240, 234, 0.26);
}

/* Legal — Terms of Service & Usage Guide */
.legal-page {
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
  max-width: 44rem;
  margin: 0 auto;
}

.legal-doc {
  padding: 0;
  border: none;
  text-align: left;
}

.legal-doc.relay-glass {
  border-radius: calc(var(--radius) + 2px);
}

.legal-doc.relay-glass > .relay-glass__content {
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
}

.legal-doc__meta {
  margin: 0 0 var(--space-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.legal-doc__title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.legal-doc__lede {
  margin: 0 0 var(--space-lg);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(242, 240, 234, 0.88);
}

.legal-doc h2 {
  margin: var(--space-lg) 0 var(--space-sm);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.legal-doc p {
  margin: 0 0 var(--space-sm);
  color: rgba(242, 240, 234, 0.82);
  line-height: 1.65;
}

.legal-doc ul {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
  color: rgba(242, 240, 234, 0.82);
  line-height: 1.65;
}

.legal-doc li {
  margin-bottom: 0.35rem;
}

.legal-doc__note {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: rgba(242, 240, 234, 0.5);
  line-height: 1.55;
}

.legal-doc__back {
  margin: var(--space-lg) 0 0;
  font-size: 0.9375rem;
}

.legal-doc__back-sep {
  margin: 0 0.5rem;
  opacity: 0.4;
}

.site-footer--simple {
  padding: var(--space-lg) var(--space-md);
  border-top: 1px solid var(--glass-border);
}

.site-footer__bottom--solo {
  padding-top: 0;
  border-top: none;
  max-width: none;
}

/* Footer */
.site-footer {
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.site-footer__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  align-items: start;
  text-align: center;
}

.site-footer__col--brand .footer-logo {
  justify-content: center;
}

@media (max-width: 639px) {
  .site-footer__inner {
    text-align: left;
  }

  /* Brand matches nav / download / legal: same max width + left edge */
  .site-footer__col--brand,
  .site-footer__col--nav,
  .site-footer__col--get,
  .site-footer__col--legal {
    margin-inline: auto;
    width: 100%;
    max-width: 22rem;
  }

  .site-footer__col--brand {
    text-align: left;
  }

  .site-footer__col--brand .footer-logo {
    justify-content: flex-start;
  }

  .site-footer__tagline {
    margin-inline: 0;
    max-width: none;
  }

  .site-footer__note,
  .site-footer__fineprint {
    max-width: none;
  }
}

@media (min-width: 640px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-lg);
    row-gap: var(--space-xl);
    text-align: left;
  }

  .site-footer__col--brand .footer-logo {
    justify-content: flex-start;
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
    max-width: 36rem;
  }
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  }

  .site-footer__col--brand {
    grid-column: auto;
    max-width: none;
  }
}

.site-footer__tagline {
  margin: var(--space-md) 0 0;
  max-width: 38ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.site-footer__heading {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.45);
}

.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__links a {
  font-size: 0.9375rem;
  color: rgba(242, 240, 234, 0.78);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(242, 240, 234, 0.42);
  max-width: 32ch;
}

.site-footer__fineprint {
  margin: 0 0 var(--space-sm);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(242, 240, 234, 0.42);
  max-width: 42ch;
}

.site-footer__fineprint:last-child {
  margin-bottom: 0;
}

/* Same vertical gap after link lists (Download + Legal) */
.site-footer__col--get .site-footer__links + .site-footer__note,
.site-footer__col--legal .site-footer__links + .site-footer__fineprint {
  margin-top: var(--space-md);
}

.site-footer__bottom {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0 var(--space-xs);
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-muted);
}

.footer-meta__sep {
  margin: 0;
  opacity: 0.45;
}

@media (max-width: 639px) {
  .footer-meta {
    gap: 0.75rem 1.25rem;
  }

  .footer-meta__sep {
    display: none;
  }

  /* © line alone; links wrap on the next row with even spacing */
  .footer-meta__copy {
    flex: 1 0 100%;
    text-align: center;
  }
}

.footer-meta a {
  color: rgba(242, 240, 234, 0.72);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--accent);
}

/* Pre-launch: hide hero store tiles, download glass block, footer “Download” column */
#notify-signup {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.site--prelaunch .hero-cta__stores-label,
.site--prelaunch .store-row--hero-secondary {
  display: none !important;
}

/* Pre-launch: hide the download glass + store row only; keep the album-art marquee. */
.site--prelaunch .cta-section[data-cta-download] .cta-shell {
  display: none !important;
}

/* Marquee is position:absolute — without the card, the section needs defined height. */
.site--prelaunch .cta-section[data-cta-download] {
  min-height: clamp(17.5rem, 42vh, 28rem);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
  margin-block: 0;
  border: none;
  overflow: visible;
}

.site--prelaunch .site-footer__col--get {
  display: none;
}

/* ——— Marketing: Relay Pro pricing page ——— */
.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.pricing-actions__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: #0a0a0a;
  background: var(--accent, #f2556a);
  border: none;
}

.pricing-actions__primary:hover {
  filter: brightness(1.06);
}

.pricing-actions__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(242, 240, 234, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.2);
}

.pricing-actions__secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.pricing-actions--tight {
  margin-top: 1.25rem;
}

.pricing-device-slot-aside {
  margin: 1.5rem 0 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.pricing-device-slot-aside__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(242, 240, 234, 0.88);
}

.pricing-device-slot-aside__lead {
  margin: 0.55rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(242, 240, 234, 0.62);
}

.pricing-device-slot-aside__lead strong {
  font-weight: 600;
  color: rgba(242, 240, 234, 0.82);
}

.pricing-tier-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 52rem) {
  .pricing-tier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pricing-tier-card {
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.pricing-tier-card--featured {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.pricing-tier-card--addon {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-tier-card__badge {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.pricing-tier-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pricing-tier-card__price {
  margin: 0.65rem 0 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-tier-card__meta {
  margin: 0.2rem 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 240, 234, 0.55);
}

.pricing-tier-card__addon-lead {
  margin: 1rem 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(242, 240, 234, 0.75);
}

.pricing-tier-card__list {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(242, 240, 234, 0.82);
}

.pricing-tier-card__list li + li {
  margin-top: 0.35rem;
}
