/* Glin — black & white, active background, dramatic hero. */

:root {
  --bg: #07070A;
  --bg-2: #0A0A0E;
  --surface: #121216;
  --card: #16161B;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-2: rgba(255, 255, 255, 0.14);
  --hairline-3: rgba(255, 255, 255, 0.22);
  --text: #F7F7F9;
  --text-2: rgba(247, 247, 249, 0.62);
  --text-3: rgba(247, 247, 249, 0.40);
  --text-4: rgba(247, 247, 249, 0.22);
  --win: #B7E4C7;          /* mint, near-white */
  --lose: #FCA5A5;         /* coral, soft */
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.8, 0.18, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  letter-spacing: -0.011em;
  position: relative;
}
@supports (font-variation-settings: normal) {
  body { font-family: "InterVariable", "Inter", -apple-system, sans-serif; }
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; }

/* ────────────────────────────────────────────────────────────
   Active background — aurora + stars + grain (fixed)
   ──────────────────────────────────────────────────────────── */
.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
  overflow: hidden;
}

/* macOS scrollbar — slim, transparent so no grey gutter appears */
::-webkit-scrollbar { width: 10px; height: 10px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); background-clip: padding-box; border: 2px solid transparent; }
* { scrollbar-color: rgba(255,255,255,0.12) transparent; scrollbar-width: thin; }
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.aurora--1 {
  width: 60vw; height: 60vw;
  top: -10vw; left: -10vw;
  background: radial-gradient(circle at 50% 50%, rgba(80, 110, 170, 0.28) 0%, transparent 70%);
  animation: aurora-1 32s ease-in-out infinite;
}
.aurora--2 {
  width: 55vw; height: 55vw;
  top: 35vh; right: -10vw;
  background: radial-gradient(circle at 50% 50%, rgba(140, 110, 180, 0.18) 0%, transparent 70%);
  animation: aurora-2 38s ease-in-out infinite;
}
.aurora--3 {
  width: 50vw; height: 50vw;
  bottom: -10vh; left: 30vw;
  background: radial-gradient(circle at 50% 50%, rgba(70, 100, 140, 0.16) 0%, transparent 70%);
  animation: aurora-3 44s ease-in-out infinite;
}
@keyframes aurora-1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(8vw, 4vh) scale(1.08); opacity: 0.7; }
}
@keyframes aurora-2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate(-6vw, 8vh) scale(1.1); opacity: 0.6; }
}
@keyframes aurora-3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate(4vw, -6vh) scale(1.12); opacity: 0.5; }
}

.stars__layer {
  position: absolute; inset: 0;
  background-repeat: repeat;
}
.stars__layer--1 {
  background-image:
    radial-gradient(1px 1px at 23px 41px,  rgba(255,255,255,0.7) 50%, transparent 60%),
    radial-gradient(1px 1px at 87px 13px,  rgba(255,255,255,0.55) 50%, transparent 60%),
    radial-gradient(1px 1px at 142px 88px, rgba(255,255,255,0.45) 50%, transparent 60%),
    radial-gradient(1px 1px at 211px 196px,rgba(255,255,255,0.40) 50%, transparent 60%),
    radial-gradient(1px 1px at 314px 124px,rgba(255,255,255,0.55) 50%, transparent 60%);
  background-size: 380px 260px;
  opacity: 0.7;
  animation: drift-1 200s linear infinite;
}
.stars__layer--2 {
  background-image:
    radial-gradient(1.5px 1.5px at 55px 110px,  rgba(255,255,255,0.45) 50%, transparent 60%),
    radial-gradient(1px 1px at 188px 36px,      rgba(255,255,255,0.36) 50%, transparent 60%),
    radial-gradient(1.5px 1.5px at 244px 200px, rgba(255,255,255,0.38) 50%, transparent 60%),
    radial-gradient(1px 1px at 380px 78px,      rgba(255,255,255,0.32) 50%, transparent 60%);
  background-size: 500px 360px;
  opacity: 0.55;
  animation: drift-2 320s linear infinite;
}
.stars__layer--3 {
  background-image:
    radial-gradient(0.75px 0.75px at 90px 60px,   rgba(255,255,255,0.30) 50%, transparent 60%),
    radial-gradient(0.75px 0.75px at 320px 220px, rgba(255,255,255,0.30) 50%, transparent 60%),
    radial-gradient(0.75px 0.75px at 480px 140px, rgba(255,255,255,0.28) 50%, transparent 60%),
    radial-gradient(0.75px 0.75px at 620px 280px, rgba(255,255,255,0.24) 50%, transparent 60%);
  background-size: 720px 460px;
  opacity: 0.45;
  animation: drift-3 420s linear infinite;
}
@keyframes drift-1 { from { background-position: 0 0; } to { background-position: 380px 260px; } }
@keyframes drift-2 { from { background-position: 0 0; } to { background-position: -500px 360px; } }
@keyframes drift-3 { from { background-position: 0 0; } to { background-position: 720px -460px; } }

.grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.32'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* Content above bg */
.nav, .hero, section, footer { position: relative; z-index: 1; }

/* ─── Nav — floating centered pill ────────────────────── */
.nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 20px;
}
.nav__pill {
  position: relative;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 54px;
  padding: 0 7px 0 20px;
  background: rgba(14, 14, 19, 0.58);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  box-shadow:
    0 18px 50px rgba(0,0,0,0.50),
    0 4px 14px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -1px 0 rgba(0,0,0,0.15);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav__pill::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 50%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
}
.nav--scrolled .nav__pill {
  background: rgba(14, 14, 19, 0.78);
  border-color: rgba(255,255,255,0.12);
  box-shadow:
    0 20px 56px rgba(0,0,0,0.60),
    0 6px 18px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.nav__logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  padding: 0 8px 0 0;
  transition: opacity 0.18s var(--ease);
}
.nav__logo:hover { opacity: 0.78; }
.nav__mark {
  width: 17px; height: 17px;
  color: var(--text);
}
.nav__divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.09);
  margin: 0 4px;
}
.nav__links {
  display: flex;
  gap: 0;
}
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.15px;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 9px;
  height: 1.5px;
  background: rgba(255,255,255,0.95);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 6px;
  padding: 9px 15px 9px 17px;
  background: linear-gradient(180deg, #ffffff 0%, #e9e9ee 100%);
  color: #07070A;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.18px;
  box-shadow:
    0 3px 8px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(0,0,0,0.08);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.92),
    inset 0 -1px 0 rgba(0,0,0,0.08);
}
.nav__cta svg { transition: transform 0.18s var(--ease); }
.nav__cta:hover svg { transform: translateX(2px); }

/* ─── App Store badges ─────────────────────────────────── */
.badge-link {
  display: inline-block;
  height: 58px;
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease);
}
.badge-link:hover { transform: translateY(-1px); filter: brightness(1.06); }
.badge-link img { height: 58px; width: auto; }
.badge-link--lg { height: 64px; }
.badge-link--lg img { height: 64px; }

/* ─── Typography ───────────────────────────────────────── */
.h-section {
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 800;
  letter-spacing: -2.2px;
  line-height: 1.02;
  color: var(--text);
}
.eyebrow {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow--center {
  text-align: center;
  display: block;
  margin-bottom: 22px;
}

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 0;
  text-align: left;
  overflow: hidden;
  height: calc(100vh - 64px);  /* viewport minus nav so it fits cleanly */
  min-height: 640px;
  max-height: 920px;
}
/* Decorative glows (.milky, .stage__glow) extend past the hero and get hard-
   clipped by overflow:hidden, leaving a visible horizontal seam at the hero/
   how boundary. This fades the clipped glow into the page background so the
   transition is seamless. Sits above the glows (z2) but below copy/stage. */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(7,7,10,0) 0%, var(--bg) 92%);
  z-index: 2;
  pointer-events: none;
}

/* Soft galactic glow band — replaces the mountain. Diagonal slice of soft white
   glow that gives the night sky depth without competing with the headline. */
.milky {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 140%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(70% 35% at 70% 18%, rgba(255,255,255,0.10) 0%, transparent 60%),
    radial-gradient(60% 30% at 25% 45%, rgba(180,200,255,0.06) 0%, transparent 65%);
  filter: blur(28px);
  opacity: 0;
  animation: milky-in 2s var(--ease) forwards 0.3s;
}
@keyframes milky-in { to { opacity: 1; } }

/* Hand-placed twinkling stars — bright, scattered */
.starry {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.star {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 6px rgba(255,255,255,0.7);
  opacity: 0.55;
  animation: twinkle 4s ease-in-out infinite;
}
.star--lg {
  width: 3px; height: 3px;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
  opacity: 0.75;
  animation-duration: 5s;
}
.star--xl {
  width: 4px; height: 4px;
  box-shadow: 0 0 14px rgba(255,255,255,0.85), 0 0 26px rgba(255,255,255,0.35);
  opacity: 0.9;
  animation-duration: 6s;
}
/* Stagger via nth-of-type */
.star:nth-of-type(2)  { animation-delay: -0.7s; }
.star:nth-of-type(3)  { animation-delay: -1.4s; }
.star:nth-of-type(4)  { animation-delay: -2.1s; }
.star:nth-of-type(5)  { animation-delay: -2.8s; }
.star:nth-of-type(6)  { animation-delay: -0.3s; }
.star:nth-of-type(7)  { animation-delay: -3.5s; }
.star:nth-of-type(8)  { animation-delay: -1.1s; }
.star:nth-of-type(9)  { animation-delay: -2.5s; }
.star:nth-of-type(10) { animation-delay: -0.9s; }
.star:nth-of-type(11) { animation-delay: -1.8s; }
.star:nth-of-type(12) { animation-delay: -3.2s; }
.star:nth-of-type(13) { animation-delay: -2.0s; }
.star:nth-of-type(14) { animation-delay: -0.5s; }
.star:nth-of-type(15) { animation-delay: -1.6s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50%      { opacity: 1;    transform: scale(1.3); }
}

/* Shooting stars — bright head with fading tail */
.shooters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.shooter {
  position: absolute;
  width: 0; height: 0;
  pointer-events: none;
  opacity: 0;
}
.shooter__head {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 5px 1.5px rgba(255,255,255,0.95),
    0 0 16px 4px rgba(255,255,255,0.55),
    0 0 32px 10px rgba(180,200,255,0.18);
}
.shooter__tail {
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  width: 180px;
  height: 1.4px;
  background: linear-gradient(to right,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.7) 18%,
    rgba(255,255,255,0.35) 45%,
    rgba(255,255,255,0) 100%);
  border-radius: 999px;
  transform-origin: left center;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.5));
}
.shooter--1 {
  top: 8%; right: -6%;
  animation: shoot-meteor 7s linear infinite;
  animation-delay: 0s;
}
.shooter--2 {
  top: 26%; right: -8%;
  animation: shoot-meteor 9s linear infinite;
  animation-delay: 2.5s;
}
.shooter--3 {
  top: 4%; right: 42%;
  animation: shoot-meteor 11s linear infinite;
  animation-delay: 5s;
}
.shooter--4 {
  top: 18%; right: 20%;
  animation: shoot-meteor 8s linear infinite;
  animation-delay: 7.5s;
}
/* Motion is down-left. Tail trails opposite — up-right.
   Up-right direction = rotate(-26deg) for an element extending to the right. */
.shooter--1 .shooter__tail { transform: rotate(-26deg); }
.shooter--2 .shooter__tail { transform: rotate(-22deg); }
.shooter--3 .shooter__tail { transform: rotate(-30deg); }
.shooter--4 .shooter__tail { transform: rotate(-24deg); }
/* Motion path. The visible flight (5%→25%) covers 20% of the cycle at a
   constant rate: 5% lead-in fade, then constant-velocity flight, then 5%
   fade-out at the same velocity (no spatial slowdown). Held at the end
   position for the cooldown so the compositor isn't interpolating while
   opacity is 0. End → start jump at the loop boundary is invisible. */
@keyframes shoot-meteor {
  0%       { opacity: 0; transform: translate(0, 0); }
  2%       { opacity: 0; transform: translate(0, 0); }
  5%       { opacity: 1; transform: translate(-90px, 44px); }
  22%      { opacity: 1; transform: translate(-890px, 434px); }
  25%      { opacity: 0; transform: translate(-1030px, 502px); }
  100%     { opacity: 0; transform: translate(-1030px, 502px); }
}

/* (drifting coin removed) */

/* The Moon — upper-left corner so it never collides with the phone */
.moon {
  position: absolute;
  top: 7%;
  left: 4%;
  width: 130px;
  height: 130px;
  z-index: 2;
  will-change: transform, opacity;
  transition: opacity 0.05s linear, transform 0.05s linear;
}
.moon__glow {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.36) 0%, rgba(255,255,255,0.10) 32%, transparent 68%);
  filter: blur(14px);
  animation: moon-pulse 8s ease-in-out infinite;
}
@keyframes moon-pulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
.moon__disc {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 0 28px rgba(255,255,255,0.38));
  animation: moon-in 1.4s var(--ease) forwards;
  opacity: 0;
}
@keyframes moon-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

/* (legacy hill ranges removed in favor of one big mountain) */

.hero__inner {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  height: 100%;
  padding-top: 32px;
  padding-bottom: 32px;
}
.hero__copy {
  position: relative;
  z-index: 4;
}
.hero__title {
  font-size: clamp(34px, 3.7vw, 52px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.06;
  margin-top: 8px;
  position: relative;
  text-align: left;
}
.hero__title::before {
  /* moonlight halo behind the headline */
  content: "";
  position: absolute;
  inset: -40% -10% -50% -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,0.13) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: word-in 1s var(--ease) forwards;
  text-shadow: 0 0 60px rgba(255,255,255,0.18);
}
.hero__title .line:nth-child(1) { animation-delay: 0.10s; }
.hero__title .line:nth-child(2) { animation-delay: 0.28s; }
.line--serif {
  font-family: "Instrument Serif", "Cormorant Garamond", "EB Garamond", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -1.8px;
  line-height: 1.02;
  font-size: 1.18em;
  color: var(--text);
  text-shadow:
    0 0 32px rgba(255,255,255,0.32),
    0 0 80px rgba(255,255,255,0.12);
  position: relative;
}
.line--serif em { font-style: italic; font-weight: 400; }
.line--serif::after {
  /* tiny twinkle inside the serif line */
  content: "✦";
  position: absolute;
  top: 8%;
  right: -28px;
  font-family: serif;
  font-size: 0.22em;
  color: rgba(255,255,255,0.85);
  animation: tiny-twinkle 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tiny-twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50%      { opacity: 1; transform: scale(1.15); }
}
@keyframes word-in { to { opacity: 1; transform: translateY(0); } }
.hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  opacity: 0; transform: translateY(12px);
  animation: word-in 1s var(--ease) forwards 0s;
}
.hero__eyebrow-em { color: var(--text); }
.hero__sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-2);
  line-height: 1.5;
  max-width: 580px;
  opacity: 0; transform: translateY(12px);
  animation: word-in 1s var(--ease) forwards 0.45s;
}
.hero__cta {
  margin-top: 32px;
  display: flex; align-items: center;
  gap: 14px;
  opacity: 0; transform: translateY(12px);
  animation: word-in 1s var(--ease) forwards 0.6s;
}
.hero__fineprint { color: var(--text-3); font-size: 13px; letter-spacing: 0.02em; }

/* The hero stage — phone with floating cards */
.stage {
  position: relative;
  margin-top: 0;
  width: 100%;
  height: 100%;
  min-height: 560px;
  perspective: 1400px;
  z-index: 3;
}
.stage__glow {
  position: absolute;
  inset: 6% 12% -10% 12%;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(255,255,255,0.18) 0%, transparent 60%),
    radial-gradient(60% 60% at 50% 80%, rgba(255,255,255,0.10) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* shared phone */
.phone {
  position: relative;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--hairline-2);
  box-shadow:
    0 70px 140px rgba(0,0,0,0.65),
    0 20px 50px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone--hero {
  width: 250px;
  height: 542px;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  transition: transform 0.4s var(--ease);
  will-change: transform;
  z-index: 4;
  opacity: 0;
  animation: phone-in 1.1s var(--ease) forwards 0.55s;
}
@keyframes phone-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 40px)); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* Floating cards — glass UI pieces orbiting the phone */
.float {
  position: absolute;
  background: rgba(20, 20, 26, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--hairline-2);
  border-radius: 16px;
  padding: 12px 16px;
  z-index: 5;
  box-shadow:
    0 22px 60px rgba(0,0,0,0.55),
    0 4px 12px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  min-width: 168px;
  opacity: 0;
  animation: float-in 0.9s var(--ease) forwards, float-bob 7s ease-in-out infinite;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: default;
}
.float:hover {
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.65),
    0 6px 18px rgba(0,0,0,0.40),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  animation-play-state: paused;
}
@keyframes float-in {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.float--top    { top: 8%;  left: 6%;   animation-delay: 1.05s, 2.3s; }
.float--right  { top: 28%; right: 4%;  animation-delay: 1.20s, 2.6s; }
.float--bottom { bottom: 12%; right: 12%; animation-delay: 1.35s, 2.9s; }
.float--left   { bottom: 24%; left: 2%; animation-delay: 1.50s, 3.2s; }

.float__row {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-2);
}
.float__row svg { color: var(--text-2); }
.float__dot { width: 7px; height: 7px; border-radius: 50%; }
.float__dot--win { background: var(--win); }
.float__dot--lose { background: var(--lose); }
.float__label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.float__amount {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.float__amount--red { color: var(--lose); }
.float__meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* (manifesto removed) */

/* ─── Sections common ──────────────────────────────────── */
section { padding: 120px 0; }

/* ─── How it works — 3 phone-dominated cards ──────────── */
.how { padding: 80px 0 100px; }
.how__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.how__head .eyebrow { display: inline-block; margin-bottom: 16px; }
.how__head h2 { font-size: clamp(34px, 4.4vw, 56px); }
.how__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: end;
}
.howcard {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center;
  transition: transform 0.4s var(--ease);
}
.howcard:hover { transform: translateY(-10px); }
.howcard::after {
  content: "";
  position: absolute;
  inset: -10% 0 50% 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(255,255,255,0.10) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.howcard:hover::after { opacity: 1; }
.howcard__phone {
  width: 100%;
  display: flex; justify-content: center;
  margin-bottom: 28px;
}
.phone--how {
  width: 220px;
  height: 478px;
}
.howcard__visual {
  width: 100%;
  display: flex; justify-content: center;
  margin-bottom: 28px;
}
.howcard__visual .ill {
  width: 240px;
  height: 320px;
  border-radius: 28px;
  display: block;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.45),
    0 8px 18px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform 0.4s var(--ease);
}
.howcard:hover .ill {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 50px 100px rgba(0,0,0,0.55),
    0 12px 30px rgba(0,0,0,0.40),
    inset 0 0 0 1px rgba(255,255,255,0.10);
}
.howcard__copy {
  text-align: center;
  max-width: 280px;
}
.howcard__num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--text-3);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.howcard__copy h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}
.howcard__copy p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
}

/* ─── Mountain — single big Sisyphus widget ───────────── */
.mountain { padding: 80px 0 100px; }
.mountain__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.mountain__head .eyebrow { display: inline-block; margin-bottom: 16px; }
.mountain__head h2 { font-size: clamp(32px, 4.2vw, 52px); }

.widget--big {
  max-width: 900px;
  margin: 0 auto;
}
.widget--big .widget__stage {
  height: 0;
  padding-bottom: 55%; /* ~1.82:1 — wide enough to feel cinematic, keeps moon visible */
  position: relative;
}
.widget--big .widget__sisyphus {
  position: absolute;
  inset: 0;
}
.widget--big .widget__head {
  padding: 16px 22px;
}
.widget--big .widget__title {
  font-size: 13.5px;
}
.widget--big .widget__foot {
  padding: 16px 22px;
  font-size: 13.5px;
}
.widget {
  background: rgba(8, 8, 12, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hairline-2);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 12px 28px rgba(0,0,0,0.4),
    inset 0 0 0 1px rgba(255,255,255,0.03);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.widget:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-3);
}
.widget__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255,255,255,0.025);
}
.widget__dots { display: inline-flex; gap: 6px; }
.widget__dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.widget__title {
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.widget__stage {
  position: relative;
  height: 290px;
  overflow: hidden;
  background: #000;
}
.widget__sisyphus {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
.widget__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--hairline);
  background: rgba(255,255,255,0.025);
  color: var(--text-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.widget__amount { color: var(--text); font-weight: 600; }

.widget__body {
  padding: 28px 24px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 230px;
}
.bigstat__value {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.bigstat__label {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.bigstat__bar {
  margin-top: 28px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}
.bigstat__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--text), rgba(255,255,255,0.6));
  border-radius: 999px;
  animation: bar-grow 1.6s var(--ease) forwards;
  transform-origin: 0 50%;
}
@keyframes bar-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.dots-row {
  display: flex; gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.dots-row .d {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--hairline);
}
.dots-row .d.on {
  background: var(--text);
  border-color: var(--text);
}

/* ─── Sticky feature showcase ──────────────────────────── */
.showcase { padding: 80px 0 40px; }
.showcase__intro { margin-bottom: 56px; text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }
.showcase__intro .eyebrow { display: inline-block; margin-bottom: 18px; }
/* live caption block — desktop uses the side panels, so this is mobile-only */
.showcase__live { display: none; }
/* re-triggered on each feature change so the words fade in with the image */
@keyframes liveSwapIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.showcase__live.is-swap { animation: liveSwapIn 0.42s var(--ease); }
/* segmented scroll-progress stepper — mobile only (desktop has its own dots) */
.showcase__steps { display: none; }
.showcase__step {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
}
.showcase__step > span {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 3px;
}

.showcase__track {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  position: relative;
  align-items: start;
}
.showcase__sticky {
  position: sticky;
  top: 80px;
  height: calc(100vh - 160px);
  min-height: 600px;
  display: flex; justify-content: center; align-items: center;
}
.showcase__phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.showcase__progress {
  display: flex;
  gap: 10px;
  align-items: center;
}
.showcase__progress-dot {
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.14);
  border-radius: 2px;
  transition: background 0.45s var(--ease), width 0.45s var(--ease);
}
.showcase__progress-dot.is-active {
  background: rgba(255,255,255,0.95);
  width: 36px;
}
.showcase__phone { position: relative; }
.phone--showcase {
  width: 320px;
  height: 696px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.phone--showcase.is-pulsing {
  transform: scale(1.018);
  box-shadow:
    0 80px 160px rgba(0,0,0,0.75),
    0 30px 70px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
.phone--showcase .showcase-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  will-change: opacity;
}
.phone--showcase .showcase-layer.is-active { opacity: 1; }
.showcase__caption {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0;
  transition: color 0.4s var(--ease);
}

.showcase__panels {
  display: flex;
  flex-direction: column;
  gap: 16vh;
  padding: 10vh 0 6vh;
}
.panel {
  position: relative;
  padding-left: 28px;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  opacity: 0.22;
}
/* Per-panel screenshot — only used on mobile, where the sticky crossfade phone
   can't work. Desktop keeps the single sticky phone and hides these. */
.panel__shot { display: none; }
.phone--panel { width: 248px; height: 537px; }
.panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 2px;
  height: 0;
  background: rgba(255,255,255,0.95);
  border-radius: 2px;
  transition: height 0.55s var(--ease), opacity 0.45s var(--ease);
  opacity: 0;
}
.panel--active { opacity: 1; transform: translateX(0); }
.panel--active::before { height: calc(100% - 12px); opacity: 1; }
.panel__index {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-feature-settings: "tnum";
  color: var(--text-3);
  margin-bottom: 18px;
  transition: color 0.4s var(--ease);
}
.panel--active .panel__index { color: rgba(255,255,255,0.95); }
.panel__eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 14px;
  transition: color 0.4s var(--ease);
}
.panel--active .panel__eyebrow { color: var(--text); }
.panel__title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.05;
  margin-bottom: 18px;
}
.panel__copy {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.55;
  max-width: 440px;
}

/* (numbers section removed) */

/* ─── CTA — Cluely-style closer ─────────────────────── */
.cta {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 18% 60%, rgba(120,140,180,0.14) 0%, transparent 60%),
    radial-gradient(50% 60% at 82% 40%, rgba(180,160,200,0.10) 0%, transparent 60%);
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta__copy { max-width: 560px; }
.cta__title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2.2px;
  line-height: 1.02;
  margin: 0 0 14px;
  color: var(--text);
}
.cta__sub {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.05;
  margin: 0 0 38px;
  color: rgba(255,255,255,0.42);
}
.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  background: linear-gradient(180deg, #ffffff 0%, #e8e8ec 100%);
  color: #0a0a0c;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.45),
    0 2px 8px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(0,0,0,0.08);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cta__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 38px rgba(0,0,0,0.55),
    0 4px 12px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.08);
}
.cta__btn-icon { width: 18px; height: 18px; flex-shrink: 0; }
.cta__fineprint {
  margin: 22px 0 0;
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.cta__visual {
  position: relative;
  height: 380px;
  display: block;
}
.cta__chip {
  position: absolute;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
  animation: cta-float 6s ease-in-out infinite;
}
.cta__chip svg { width: 100%; height: auto; display: block; }
.cta__chip--bill {
  width: 280px;
  right: 8%;
  top: 38%;
  transform: rotate(-8deg);
  animation-delay: 0s;
}
.cta__chip--medal {
  width: 150px;
  right: 38%;
  top: 8%;
  transform: rotate(6deg);
  animation-delay: -3s;
}
@keyframes cta-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* ─── Footer ──────────────────────────────────────────── */
.footer {
  position: relative;
  border-top: 1px solid var(--hairline);
  padding: 80px 0 28px;
  overflow: hidden;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}
.footer__brand { max-width: 320px; }
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text);
  transition: opacity 0.18s var(--ease);
}
.footer__logo:hover { opacity: 0.82; }
.footer__logo svg {
  width: 19px; height: 19px;
  color: var(--text);
}
.footer__tagline {
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.55;
  margin: 18px 0 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 4px;
}
.footer__col a {
  position: relative;
  display: inline-block;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.1px;
  width: fit-content;
  transition: color 0.18s var(--ease);
}
.footer__col a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.footer__col a:hover { color: var(--text); }
.footer__col a:hover::after { transform: scaleX(1); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.footer__copy {
  color: var(--text-3);
  font-size: 13px;
  margin: 0;
}
.footer__fineprint {
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin: 0;
}

/* ─── Reveal ───────────────────────────────────────────── */
.reveal { transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: translateY(0); }
.js .reveal--delay-1 { transition-delay: 0.08s; }
.js .reveal--delay-2 { transition-delay: 0.16s; }
.js .reveal--delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in,
  .hero__title .line, .line--accent, .hero__sub, .hero__cta,
  .phone--hero, .float, .stars__layer, .aurora,
  .manifesto__copy > span, .bigstat__bar span {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    color: var(--text) !important;
  }
}

/* ─── Legal pages ──────────────────────────────────────── */
.content { max-width: 760px; margin: 0 auto; padding: 80px 28px 96px; position: relative; z-index: 1; }
.content h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -1.2px; margin-bottom: 8px; }
.content .updated { color: var(--text-3); font-size: 14px; margin-bottom: 40px; }
.content h2 { font-size: 22px; font-weight: 700; margin: 38px 0 14px; letter-spacing: -0.4px; }
.content p, .content li { color: var(--text-2); font-size: 16px; margin-bottom: 14px; line-height: 1.65; }
.content ul, .content ol { padding-left: 22px; margin-bottom: 14px; }
.content strong { color: var(--text); font-weight: 650; }
.content a { color: var(--text); text-decoration: underline; text-decoration-color: var(--hairline-2); }
.back { display: inline-block; color: var(--text-2); font-size: 14px; margin-bottom: 32px; transition: color 0.18s var(--ease); }
.back:hover { color: var(--text); }

/* ─── Responsive ───────────────────────────────────────── */
@media (min-width: 1800px) {
  /* Wide / ultrawide / 4K monitors. The base layout caps content at 1180px,
     which leaves the hero looking dwarfed past 2K. Bump max-width and scale
     the major headlines + hero phone so the page feels intentional, not
     marooned in negative space. */
  :root { --maxw: 1440px; }
  .hero__title { font-size: clamp(46px, 3vw, 60px); }
  .h-section { font-size: clamp(48px, 3.6vw, 76px); }
  .phone--hero { width: 360px; height: 782px; }
  .phone--showcase { width: 380px; height: 826px; }
  .stage { min-height: 700px; }
}
@media (max-width: 980px) {
  .hero { height: auto; min-height: 0; max-height: none; padding: 56px 0 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 0; align-items: start; }
  .hero__title { font-size: clamp(36px, 6.2vw, 58px); }
  /* Stacked layout puts the headline top-left full width; the big top-left moon
     collides with it. Shrink and tuck it into the open top-right sky. */
  .moon { width: 92px; height: 92px; top: 3%; left: auto; right: 5%; }
  .stage { height: 560px; max-width: 400px; margin: 0 auto; min-height: 0; }
  .phone--hero { width: 240px; height: 522px; }
  .float { min-width: 132px; padding: 10px 13px; }
  .float__amount { font-size: 18px; }
  .float--top { top: 4%; left: -4%; }
  .float--right { top: 24%; right: -6%; }
  .float--bottom { bottom: 8%; right: 0%; }
  .float--left { bottom: 22%; left: -4%; }
  .widget__stage { height: 240px; }
  /* Mobile/tablet showcase: pin the phone AND its caption together as one stage
     at the top; the panels become invisible scroll-spacers that drive the
     image + text crossfade. No overlap because the words live with the phone. */
  .showcase__track {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 22px;
  }
  .showcase__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .showcase__phone-wrap { gap: 18px; }
  .phone--showcase {
    width: 188px; height: 408px;
    /* Lighter shadow + its own GPU layer so the pinned phone doesn't
       re-rasterize a 140px-blur shadow on every scroll frame. */
    box-shadow: 0 24px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .showcase__sticky { will-change: transform; }
  .showcase-layer { transform: translateZ(0); }
  /* Lighten expensive full-screen compositing while scrolling on phones:
     drop the blend-mode grain and soften the aurora blur. */
  .grain { display: none; }
  .aurora { filter: blur(56px); }
  .showcase__progress { display: none; }
  .showcase__caption { display: none; }
  .showcase__live {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    text-align: center;
    max-width: 380px;
    min-height: 150px;
  }
  .showcase__live-eyebrow {
    font-size: 12.5px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text-3);
  }
  .showcase__live-title {
    font-size: clamp(23px, 6.6vw, 30px); font-weight: 700;
    letter-spacing: -0.8px; line-height: 1.1; color: var(--text);
  }
  .showcase__live-copy { font-size: 15px; line-height: 1.5; color: var(--text-2); }
  .showcase__steps { display: flex; gap: 7px; width: 208px; margin-top: 6px; }
  /* panels = invisible scroll length; only their position drives the crossfade */
  .showcase__panels { gap: 0; padding: 0; }
  .panel { opacity: 0; min-height: 42vh; padding: 0; pointer-events: none; }
  .panel::before { display: none; }
  .cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .cta__visual { height: 280px; margin-top: 12px; }
  .cta__chip--bill { width: 220px; right: 12%; }
  .cta__chip--medal { width: 120px; right: 56%; top: 4%; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; margin-bottom: 56px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 720px) {
  /* Three "How it works" cards become unreadable below ~700px; stack them. */
  .how__row { grid-template-columns: 1fr; gap: 56px; }
  .howcard { max-width: 360px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  section { padding: 96px 0; }
  /* Showcase phone a touch smaller on phones so the active panel text below it
     is comfortably in view. */
  .phone--showcase { width: 180px; height: 390px; }
  .panel__title { font-size: clamp(24px, 7vw, 30px); }
  .nav { top: 14px; }
  .nav__links { display: none; }
  .nav__divider { display: none; }
  .nav__pill { height: 48px; padding: 0 5px 0 14px; }
  .nav__cta img { height: 34px; }
  .badge-link, .badge-link img { height: 52px; }
  .badge-link--lg, .badge-link--lg img { height: 56px; }
  /* Hero stacks: title on top full-width, phone+floats below centered.
     Without this the headline wraps to one word per line at this width. */
  /* Spacious, minimal hero: lots of air above the headline, the title held to a
     narrow column so it never jams the edges, big gaps down to a floating phone. */
  .hero { height: auto; min-height: 0; padding: 94px 0 44px; }
  .hero__inner { grid-template-columns: 1fr; gap: 52px; padding-top: 0; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__title {
    font-size: clamp(26px, 6.9vw, 36px);
    letter-spacing: -0.4px;
    line-height: 1.2;
    text-align: center;
    max-width: 320px;
  }
  .line--serif { letter-spacing: -0.5px; }
  .line--serif::after { display: none; }   /* the ✦ overhangs an odd gap when centered */
  .hero__cta { margin-top: 38px; justify-content: center; }
  .h-section { font-size: clamp(26px, 7vw, 32px); }
  /* At phone width the headline runs full-bleed, so there's no clear spot for
     the moon — hide it (the hand-placed starfield keeps the night-sky mood). */
  .moon { display: none; }
  /* The orbiting float cards clip off both screen edges and bury the phone
     screenshot at this width. Drop them for a clean, centered device hero. */
  .float { display: none; }
  .stage { height: auto; max-width: 300px; margin: 0 auto; min-height: 0; }
  .phone--hero {
    width: 216px; height: 468px;
    position: relative; left: auto; top: auto;
    transform: none; margin: 0 auto;
    animation: phone-in-m 1.1s var(--ease) forwards 0.4s;
  }
  @keyframes phone-in-m {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .manifesto { padding: 96px 0; }
  .howcard { padding: 0 8px; }
  .widget__stage { height: 200px; }
  .cta { padding: 80px 0 100px; }
  .cta__visual { height: 240px; }
  .cta__chip--bill { width: 180px; right: 6%; top: 32%; }
  .cta__chip--medal { width: 96px; right: 58%; top: 0%; }
}
