/* =========================================================================
   Weya — weya-app.com
   Marketing surface for the Weya iOS app.

   Colour, radius, shadow and motion values are lifted verbatim from the
   Weya design system (claude.ai/design project e505ec85 — tokens/palette.css,
   tokens/semantic.css, and the app prototype). Do not introduce a raw hex
   outside the palette block below.

   Type: Instrument Serif (display) + Hanken Grotesk (body) — the marketing
   pair. In-app mockups use -apple-system, as the product does.
   ========================================================================= */

/* ---------------------------------------------------------------- palette */
:root {
  /* rose — brand accent, Move phase, Strength type */
  --rose-25: #FBF3F4;  --rose-50: #FBEFF0;   --rose-100: #FBE1E4;
  --rose-125: #F1E2E3; --rose-150: #EBD8DD;  --rose-200: #F2C4C9;
  --rose-300: #EFB9C1; --rose-350: #E2B4BE;  --rose-400: #E39AA7;
  --rose-500: #C77D86; --rose-550: #C66E79;  --rose-600: #CE6B78;
  --rose-650: #C86470; --rose-700: #B4505C;  --rose-800: #8A5460;
  --rose-850: #A5424E; --rose-900: #7A3B44;  --rose-950: #6E3F48;

  /* sage — Prepare phase, Recovery type */
  --sage-25: #F2F7EC;  --sage-50: #EAF2E1;   --sage-200: #CFE3C0;
  --sage-300: #AFC79E; --sage-400: #9CBE8C;  --sage-500: #8AA57C;
  --sage-700: #5E7B54; --sage-900: #47603F;

  /* powder — Rest phase, Mobility type */
  --powder-25: #EEF1F8;  --powder-50: #EAF0F8;  --powder-200: #C7D3EC;
  --powder-300: #A9BEDE; --powder-500: #8FA6D0; --powder-700: #5F6E9E;
  --powder-900: #41507E;

  /* lilac — Recovery phase, Flow type */
  --lilac-25: #F5F0F8;  --lilac-50: #F1EAF6;  --lilac-200: #DCCBEE;
  --lilac-300: #C5ABD9; --lilac-500: #9C7FB0; --lilac-600: #AC8FC4;
  --lilac-700: #755F8F; --lilac-900: #5A4176;

  /* neutral — Custom type, chrome. No pure black; every step is warm. */
  --neutral-50: #F2F0F4;  --neutral-75: #EDEBEF;  --neutral-200: #D5D1D8;
  --neutral-400: #C4B4B9; --neutral-450: #C9B3B8; --neutral-500: #A79AA0;
  --neutral-550: #A8988C; --neutral-600: #8D8693; --neutral-900: #2A241F;
  --white: #FFFFFF;

  /* -------------------------------------------------------- semantic (light) */
  --page-bg: var(--neutral-75);
  --scr-grad: linear-gradient(175deg, #FDF6F7, #F8ECED);
  --blob-grad: radial-gradient(circle at 40% 35%, #FCE1E4, #F0AEB6);
  --halo-grad: radial-gradient(circle at 42% 36%, rgba(255,255,255,.95), rgba(250,214,220,.5) 55%, rgba(250,214,220,0) 72%);

  --ink: var(--neutral-900);
  --ink-soft: rgba(42,36,48,.85);
  --muted: var(--neutral-550);
  --cap: var(--neutral-500);
  --faint: var(--neutral-400);
  --chev: var(--neutral-450);

  --rose-ink: var(--rose-800);
  --rose-strong: var(--rose-700);
  --rose-mid: var(--rose-500);
  --on-accent: var(--rose-50);

  --card-solid: var(--white);
  --card-strong: rgba(255,255,255,.85);
  --card: rgba(255,255,255,.8);
  --card-soft: rgba(255,255,255,.78);
  --chip-solid: var(--white);
  --card-bd: var(--rose-150);
  --hairline: rgba(0,0,0,.05);

  --glass: rgba(255,255,255,.42);
  --glass-bd: rgba(255,255,255,.6);
  --glass-btn: rgba(255,255,255,.5);
  --glass-btn-bd: rgba(255,255,255,.65);
  --btn-sec: rgba(255,255,255,.75);
  --soft-btn: rgba(251,240,241,.9);
  --soft-btn-bd: rgba(226,180,190,.4);
  --dash-bg: rgba(255,255,255,.42);
  --dash-bd: rgba(255,255,255,.75);
  --dot-bd: rgba(226,180,190,.55);
  --dot-fill: rgba(255,255,255,.5);

  /* category tints — pale chip / saturated icon */
  --tint-green: var(--sage-50);   --icon-green: var(--sage-500);
  --tint-rose: var(--rose-100);   --icon-rose: var(--rose-500);
  --tint-blue: var(--powder-50);  --icon-blue: var(--powder-500);
  --tint-purple: var(--lilac-50); --icon-purple: var(--lilac-500);

  /* shadows — always warm rose-tinted, never grey */
  --sh-rest: 0 10px 22px rgba(150,90,95,.08);
  --sh-emph: 0 12px 26px rgba(150,90,95,.12);
  --sh-float: 0 16px 34px rgba(160,115,135,.18);
  --sh-modal: 0 24px 60px rgba(120,70,85,.32);
  --sh-device: 0 40px 80px rgba(140,90,105,.22), 0 0 0 1px rgba(120,70,85,.10);

  --grad-cta: linear-gradient(150deg, #C86470, #A5424E);
  --ring-hi: 1;

  /* running-timer tones, Move phase (light) */
  --run-grad: linear-gradient(170deg, #FaEDEE 0%, #F3D9DC 55%, #EFCED2 100%);
  --run-pill-bg: rgba(206,107,120,.16);
  --run-pill-col: #A85662;
  --run-pill-bd: rgba(206,107,120,.3);
  --run-next-bg: rgba(206,107,120,.13);
  --run-next-bd: rgba(206,107,120,.26);
  --run-play-grad: linear-gradient(150deg, #FFFFFF, #F2C4C9);
  --run-play-col: var(--rose-700);
  --run-icon: #8A6068;
  --run-bead-on: var(--rose-500);
  --run-bead-off: rgba(138,84,96,.26);
  --run-bead-glow: rgba(199,125,134,.22);
  --run-play-out: rgba(180,80,92,.32);
  --run-play-in: rgba(200,120,130,.4);
  --run-side: rgba(255,255,255,.6);
  --run-top-bg: rgba(255,255,255,.42);
  --run-top-bd: rgba(255,255,255,.55);
  --run-caps-bg: var(--glass);
  --run-caps-bd: var(--glass-bd);

  /* orb — Move phase (light) */
  --orb-shell: radial-gradient(120% 120% at 34% 26%, #FDF0F1 0%, #F9E2E5 46%, #F3D2D7 100%);
  --orb-water: linear-gradient(180deg, rgba(244,180,188,.6) 0%, rgba(222,120,132,.94) 100%);
  --orb-num: var(--rose-900);
  --orb-lab: #91505A;
  --orb-shadow: inset -12px -16px 34px rgba(150,70,80,.14),
                inset 12px 16px 30px rgba(255,255,255,.75),
                0 24px 46px rgba(150,70,80,.2);
  --orb-num-shadow: 0 2px 6px rgba(255,255,255,.6), 0 0 1px rgba(255,255,255,.9);

  /* fonts */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-app: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

/* ------------------------------------------------------------- dark theme
   Not an inversion: wine background, blush surfaces, warm plum shadows,
   accent brightened to #F5A8B4. Lifted from tokens/theme-dark.css. */
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) { color-scheme: dark; }
}
:root[data-weya-theme="dark"] { color-scheme: dark; }

@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) {
    --page-bg: #171114;
    --scr-grad: linear-gradient(175deg, #261B21, #1A1216);
    --blob-grad: radial-gradient(circle at 40% 35%, #5E3543, #3C2231);
    --halo-grad: radial-gradient(circle at 42% 36%, rgba(255,214,224,.16), rgba(255,190,205,.08) 55%, rgba(255,190,205,0) 72%);

    --ink: #F3EAEE;
    --ink-soft: rgba(243,234,238,.88);
    --muted: #A6949B;
    --cap: #97878E;
    --faint: #6B5D64;
    --chev: #7E6E76;

    --rose-ink: #E9AEBA;
    --rose-strong: #F5A8B4;
    --rose-mid: #E39AA4;

    --card-solid: #2A2228;
    --card-strong: rgba(248,205,214,.10);
    --card: rgba(248,205,214,.09);
    --card-soft: rgba(248,205,214,.08);
    --chip-solid: rgba(248,205,214,.11);
    --card-bd: rgba(244,190,200,.14);
    --hairline: rgba(244,190,200,.10);

    --glass: rgba(48,33,40,.55);
    --glass-bd: rgba(244,190,200,.15);
    --glass-btn: rgba(248,205,214,.10);
    --glass-btn-bd: rgba(244,190,200,.17);
    --btn-sec: rgba(248,205,214,.12);
    --soft-btn: rgba(248,205,214,.09);
    --soft-btn-bd: rgba(244,190,200,.17);
    --dash-bg: rgba(248,205,214,.05);
    --dash-bd: rgba(244,190,200,.22);
    --dot-bd: rgba(255,255,255,.14);
    --dot-fill: rgba(255,255,255,.07);

    --tint-green: rgba(138,165,124,.16);  --icon-green: #A6C296;
    --tint-rose: rgba(199,125,134,.18);   --icon-rose: #E39AA4;
    --tint-blue: rgba(143,166,208,.16);   --icon-blue: #A9C0E6;
    --tint-purple: rgba(156,127,176,.18); --icon-purple: #BBA0CE;

    --sh-rest: 0 10px 22px rgba(0,0,0,.28);
    --sh-emph: 0 12px 26px rgba(0,0,0,.32);
    --sh-float: 0 16px 34px rgba(0,0,0,.42);
    --sh-modal: 0 24px 60px rgba(0,0,0,.6);
    --sh-device: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(244,190,200,.12);

    --ring-hi: .22;

    --run-grad: linear-gradient(170deg, #39212C 0%, #2C1622 55%, #22101A 100%);
    --run-pill-bg: rgba(232,164,174,.14);
    --run-pill-col: #E8A4AE;
    --run-pill-bd: rgba(232,164,174,.30);
    --run-next-bg: rgba(232,164,174,.10);
    --run-next-bd: rgba(232,164,174,.24);
    --run-play-grad: linear-gradient(150deg, #6B3E48, #45242C);
    --run-play-col: #F6C3CB;
    --run-icon: #CFA6AE;
    --run-bead-on: #DE8E99;
    --run-bead-off: rgba(255,255,255,.16);
    --run-bead-glow: rgba(222,142,153,.28);
    --run-play-out: rgba(0,0,0,.38);
    --run-play-in: rgba(16,6,9,.55);
    --run-side: rgba(255,255,255,.08);
    --run-top-bg: rgba(232,164,174,.10);
    --run-top-bd: rgba(232,164,174,.24);
    --run-caps-bg: rgba(232,164,174,.10);
    --run-caps-bd: rgba(232,164,174,.24);

    --orb-shell: radial-gradient(120% 120% at 34% 26%, #452837 0%, #38202B 46%, #2A1620 100%);
    --orb-water: linear-gradient(180deg, rgba(228,142,154,.55) 0%, rgba(198,88,102,.94) 100%);
    --orb-num: #FBEBEE;
    --orb-lab: #EEC3CA;
    --orb-shadow: inset 12px 16px 30px rgba(255,255,255,.09), 0 24px 46px rgba(58,22,32,.62);
    --orb-num-shadow: 0 2px 8px rgba(0,0,0,.35);
  }
}

/* Explicit dark choice wins in both directions. Duplicated rather than
   grouped because a media query cannot be combined with a plain selector. */
:root[data-weya-theme="dark"] {
  --page-bg: #171114;
  --scr-grad: linear-gradient(175deg, #261B21, #1A1216);
  --blob-grad: radial-gradient(circle at 40% 35%, #5E3543, #3C2231);
  --halo-grad: radial-gradient(circle at 42% 36%, rgba(255,214,224,.16), rgba(255,190,205,.08) 55%, rgba(255,190,205,0) 72%);

  --ink: #F3EAEE;
  --ink-soft: rgba(243,234,238,.88);
  --muted: #A6949B;
  --cap: #97878E;
  --faint: #6B5D64;
  --chev: #7E6E76;

  --rose-ink: #E9AEBA;
  --rose-strong: #F5A8B4;
  --rose-mid: #E39AA4;

  --card-solid: #2A2228;
  --card-strong: rgba(248,205,214,.10);
  --card: rgba(248,205,214,.09);
  --card-soft: rgba(248,205,214,.08);
  --chip-solid: rgba(248,205,214,.11);
  --card-bd: rgba(244,190,200,.14);
  --hairline: rgba(244,190,200,.10);

  --glass: rgba(48,33,40,.55);
  --glass-bd: rgba(244,190,200,.15);
  --glass-btn: rgba(248,205,214,.10);
  --glass-btn-bd: rgba(244,190,200,.17);
  --btn-sec: rgba(248,205,214,.12);
  --soft-btn: rgba(248,205,214,.09);
  --soft-btn-bd: rgba(244,190,200,.17);
  --dash-bg: rgba(248,205,214,.05);
  --dash-bd: rgba(244,190,200,.22);
  --dot-bd: rgba(255,255,255,.14);
  --dot-fill: rgba(255,255,255,.07);

  --tint-green: rgba(138,165,124,.16);  --icon-green: #A6C296;
  --tint-rose: rgba(199,125,134,.18);   --icon-rose: #E39AA4;
  --tint-blue: rgba(143,166,208,.16);   --icon-blue: #A9C0E6;
  --tint-purple: rgba(156,127,176,.18); --icon-purple: #BBA0CE;

  --sh-rest: 0 10px 22px rgba(0,0,0,.28);
  --sh-emph: 0 12px 26px rgba(0,0,0,.32);
  --sh-float: 0 16px 34px rgba(0,0,0,.42);
  --sh-modal: 0 24px 60px rgba(0,0,0,.6);
  --sh-device: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(244,190,200,.12);

  --ring-hi: .22;

  --run-grad: linear-gradient(170deg, #39212C 0%, #2C1622 55%, #22101A 100%);
  --run-pill-bg: rgba(232,164,174,.14);
  --run-pill-col: #E8A4AE;
  --run-pill-bd: rgba(232,164,174,.30);
  --run-next-bg: rgba(232,164,174,.10);
  --run-next-bd: rgba(232,164,174,.24);
  --run-play-grad: linear-gradient(150deg, #6B3E48, #45242C);
  --run-play-col: #F6C3CB;
  --run-icon: #CFA6AE;
  --run-bead-on: #DE8E99;
  --run-bead-off: rgba(255,255,255,.16);
  --run-bead-glow: rgba(222,142,153,.28);
  --run-play-out: rgba(0,0,0,.38);
  --run-play-in: rgba(16,6,9,.55);
  --run-side: rgba(255,255,255,.08);
  --run-top-bg: rgba(232,164,174,.10);
  --run-top-bd: rgba(232,164,174,.24);
  --run-caps-bg: rgba(232,164,174,.10);
  --run-caps-bd: rgba(232,164,174,.24);

  --orb-shell: radial-gradient(120% 120% at 34% 26%, #452837 0%, #38202B 46%, #2A1620 100%);
  --orb-water: linear-gradient(180deg, rgba(228,142,154,.55) 0%, rgba(198,88,102,.94) 100%);
  --orb-num: #FBEBEE;
  --orb-lab: #EEC3CA;
  --orb-shadow: inset 12px 16px 30px rgba(255,255,255,.09), 0 24px 46px rgba(58,22,32,.62);
  --orb-num-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-soft);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .45s ease, color .45s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--rose-strong); text-decoration: none; }
a:hover { color: var(--rose-ink); }
:focus-visible { outline: 2px solid var(--rose-strong); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  padding: 12px 20px; border-radius: 999px;
  background: var(--card-solid); color: var(--rose-strong);
  box-shadow: var(--sh-float); font-weight: 600; font-size: 15px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------ ambient bg
   The app's screen gradient, drifting over 26s, with two blurred rose blobs
   and a breathing halo behind the hero. No photography, no texture. */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient__grad {
  position: absolute; inset: 0;
  background: var(--scr-grad);
  background-size: 160% 160%;
  animation: weyaGrad 26s ease-in-out infinite alternate;
  transition: background .45s ease;
}
.ambient__blob {
  position: absolute; border-radius: 999px;
  background: var(--blob-grad);
  filter: blur(9px);
}
.ambient__blob--a { top: 6vh;  right: -70px; width: 320px; height: 320px; opacity: .5;  animation: weyaDrift2 20s ease-in-out infinite; }
.ambient__blob--b { top: 62vh; left: -80px;  width: 280px; height: 280px; opacity: .42; animation: weyaDrift3 23s ease-in-out infinite; }
.ambient__halo {
  position: absolute; top: -6vh; left: 50%; margin-left: -260px;
  width: 520px; height: 520px; border-radius: 999px;
  background: var(--halo-grad); filter: blur(16px);
  animation: weyaBreathe 7s ease-in-out infinite;
}

@keyframes weyaGrad   { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
@keyframes weyaDrift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-32px,-18px) scale(1.1); } }
@keyframes weyaDrift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(22px,-26px) scale(1.05); } }
@keyframes weyaBreathe{ 0%,100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.08); opacity: .8; } }
@keyframes weyaBob    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(2.3px); } }
@keyframes weyaFloat  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes weyaDrift  { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(12px,-20px) scale(1.06); } 66% { transform: translate(-10px,-10px) scale(.96); } }
@keyframes weyaRise   { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .7; } 100% { transform: translateY(-46px) scale(1); opacity: 0; } }
@keyframes weyaFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------------- layout */
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
section { position: relative; }
.section { padding: clamp(72px, 11vw, 128px) 0; }
.section--tight { padding: clamp(56px, 8vw, 92px) 0; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: var(--cap); margin: 0 0 14px;
}
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 4.5rem); line-height: 1.04; margin: 0 0 22px; }
h2 { font-size: clamp(2rem, 4.1vw, 3.1rem); line-height: 1.1; margin: 0 0 18px; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 1.35; margin: 0 0 6px; letter-spacing: -.1px; }
.lede { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.62; color: var(--ink-soft); margin: 0; text-wrap: pretty; }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600;
  letter-spacing: -.1px; border: 0; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary {
  background: var(--grad-cta); color: var(--on-accent);
  box-shadow: 0 12px 24px rgba(165,66,78,.34), inset 1px 2px 3px rgba(255,255,255,.28);
}
.btn--primary:hover { color: var(--on-accent); box-shadow: 0 16px 32px rgba(165,66,78,.4), inset 1px 2px 3px rgba(255,255,255,.28); }
.btn--secondary {
  background: var(--btn-sec); color: var(--rose-ink);
  box-shadow: var(--sh-rest);
}
.btn--secondary:hover { color: var(--rose-ink); box-shadow: var(--sh-emph); }

/* App Store badge — drawn, not fetched, so the page stays self-contained */
.badge-appstore {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 26px 12px 22px; border-radius: 999px;
  background: var(--grad-cta); color: var(--on-accent);
  box-shadow: 0 12px 24px rgba(165,66,78,.34), inset 1px 2px 3px rgba(255,255,255,.28);
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease;
}
.badge-appstore:hover { color: var(--on-accent); box-shadow: 0 16px 32px rgba(165,66,78,.4), inset 1px 2px 3px rgba(255,255,255,.28); }
.badge-appstore:active { transform: scale(.98); }
.badge-appstore svg { flex: none; }
.badge-appstore__lines { display: flex; flex-direction: column; line-height: 1.15; }
.badge-appstore__sm { font-size: 11px; font-weight: 500; letter-spacing: .3px; opacity: .85; }
.badge-appstore__lg { font-size: 18px; font-weight: 600; letter-spacing: -.2px; }

/* Pre-launch: the badge is a status, not a control. Quiet surface, rose ink,
   and no hover or press response, so it never reads as clickable. The rose
   gradient moves to the mailto beside it — one primary per screen. */
.badge-appstore--soon {
  background: var(--btn-sec);
  color: var(--rose-ink);
  box-shadow: var(--sh-rest);
  cursor: default;
}
.badge-appstore--soon:hover {
  color: var(--rose-ink);
  box-shadow: var(--sh-rest);
}
.badge-appstore--soon:active { transform: none; }
.badge-appstore--soon .badge-appstore__sm { color: var(--muted); opacity: 1; }

/* ---------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 60;
  padding: 14px 0;
}
.header__bar {
  display: flex; align-items: center; gap: 18px;
  padding: 9px 10px 9px 22px; border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--glass-bd);
  box-shadow: var(--sh-float);
}
.wordmark {
  font-family: var(--font-display); font-size: 26px; line-height: 1;
  color: var(--ink); letter-spacing: .2px; padding-block: 4px;
}
.wordmark:hover { color: var(--ink); }
.header__nav { display: flex; gap: 26px; margin-left: auto; }
/* keeps the actions right-aligned once the nav is hidden on narrow screens */
.header__actions { margin-left: auto; }
.header__nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .2s ease;
}
.header__nav a:hover { color: var(--rose-strong); }
.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; flex: none;
  background: var(--glass-btn); border: 1px solid var(--glass-btn-bd);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: var(--rose-ink); cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1);
}
.icon-btn:active { transform: scale(.94); }
.header .btn { padding: 11px 22px; font-size: 14.5px; }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(28px, 5vw, 56px) 0 clamp(60px, 8vw, 100px); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__copy { max-width: 560px; animation: weyaFadeUp .5s ease both; }
.hero .lede { max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.hero__meta { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.hero__device { animation: weyaFadeUp .6s ease .1s both; }

/* claims strip */
.claims {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--hairline);
}
.claim { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.claim svg { color: var(--rose-mid); flex: none; }

/* ---------------------------------------------------------------- cards */
.card {
  background: var(--card-strong);
  border-radius: 24px; padding: 24px;
  box-shadow: var(--sh-emph);
}
.card--plain { background: var(--card); border-radius: 20px; box-shadow: var(--sh-rest); }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; text-wrap: pretty; }

.chip {
  width: 44px; height: 44px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.chip--green  { background: var(--tint-green);  color: var(--icon-green); }
.chip--blue   { background: var(--tint-blue);   color: var(--icon-blue); }
.chip--purple { background: var(--tint-purple); color: var(--icon-purple); }
.chip--rose   { background: var(--tint-rose);   color: var(--icon-rose); }

/* ------------------------------------------------------------- steps 1-3 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__n {
  font-family: var(--font-display); font-size: 40px; line-height: 1;
  color: var(--rose-mid); font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------- sessions */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  background: var(--card); border-radius: 20px; padding: 20px;
  box-shadow: var(--sh-rest);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-float); }
.tile__name { font-size: 17px; font-weight: 600; color: var(--ink); margin: 14px 0 0; letter-spacing: -.1px; }
.tile__desc { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.tile__recipe { font-size: 13px; color: var(--cap); margin: 10px 0 0; }

.custom-row {
  display: flex; align-items: center; gap: 16px;
  margin-top: 16px; padding: 18px 20px; border-radius: 20px;
  background: var(--dash-bg); border: 1.5px dashed var(--dash-bd);
}
.custom-row__chip {
  width: 44px; height: 44px; border-radius: 16px; flex: none;
  background: var(--chip-solid); border: 1px solid var(--card-bd);
  display: flex; align-items: center; justify-content: center; color: var(--rose-ink);
}
.custom-row__title { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.custom-row__sub { font-size: 14px; color: var(--muted); margin-top: 1px; }

/* --------------------------------------------------------- split feature */
/* Capped tighter than .wrap so copy and phone stay in conversation
   instead of drifting to opposite edges of a wide viewport. */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 76px); align-items: center;
  max-width: 1000px; margin-inline: auto;
}
.split--reverse { grid-template-columns: auto minmax(0, 1fr); }
.split--reverse .split__media { order: -1; }
.split__copy { max-width: 560px; }

/* phase swatches */
.phases { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.phase-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
}
.phase-pill i { width: 12px; height: 12px; border-radius: 999px; display: block; }
.phase-pill--move    { background: rgba(206,107,120,.14); color: var(--rose-700); }
.phase-pill--move i    { background: radial-gradient(circle at 35% 30%, #F4CCD3 0%, #E39AA7 55%, #C97788 100%); }
.phase-pill--rest    { background: rgba(143,166,208,.16); color: var(--powder-700); }
.phase-pill--rest i    { background: radial-gradient(circle at 35% 30%, #C8D6EC 0%, #A9BEDE 70%); }
.phase-pill--prepare { background: rgba(130,168,118,.16); color: var(--sage-700); }
.phase-pill--prepare i { background: radial-gradient(circle at 35% 30%, #CFDFC2 0%, #AFC79E 70%); }
.phase-pill--recover { background: rgba(172,143,196,.16); color: var(--lilac-700); }
.phase-pill--recover i { background: radial-gradient(circle at 35% 30%, #DACAE8 0%, #C5ABD9 70%); }
:root[data-weya-theme="dark"] .phase-pill--move    { color: #E8A4AE; }
:root[data-weya-theme="dark"] .phase-pill--rest    { color: #AABEE6; }
:root[data-weya-theme="dark"] .phase-pill--prepare { color: #B9D4AA; }
:root[data-weya-theme="dark"] .phase-pill--recover { color: #C7ACE4; }
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) .phase-pill--move    { color: #E8A4AE; }
  :root:not([data-weya-theme="light"]) .phase-pill--rest    { color: #AABEE6; }
  :root:not([data-weya-theme="light"]) .phase-pill--prepare { color: #B9D4AA; }
  :root:not([data-weya-theme="light"]) .phase-pill--recover { color: #C7ACE4; }
}

/* --------------------------------------------------------- progress card */
.progress-stack { display: flex; flex-direction: column; gap: 16px; width: min(400px, 100%); }
.card__cap { font-size: 11px; letter-spacing: 1px; font-weight: 600; color: var(--cap); margin: 0; }
.streak-row { display: flex; justify-content: space-between; margin-top: 14px; }
.streak-day { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.streak-dot { width: 26px; height: 26px; border-radius: 999px; background: var(--dot-fill); border: 1.5px solid var(--dot-bd); }
.streak-dot--on {
  background: radial-gradient(circle at 35% 30%, #F4CCD3 0%, #E39AA7 55%, #C97788 100%);
  border: none;
}
.streak-dot--today { box-shadow: 0 0 0 2.5px rgba(180,80,92,.25); }
:root[data-weya-theme="dark"] .streak-dot--today { box-shadow: 0 0 0 2.5px rgba(239,158,169,.35); }
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) .streak-dot--today { box-shadow: 0 0 0 2.5px rgba(239,158,169,.35); }
}
.streak-letter { font-size: 11px; font-weight: 600; color: var(--faint); }
.streak-letter--on { color: var(--ink); }
.streak-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
.streak-foot b { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.streak-foot span { font-size: 11.5px; color: var(--muted); }

.ring-row { display: flex; align-items: center; gap: 20px; margin-top: 12px; }
.ring-wrap { position: relative; width: 112px; height: 112px; flex: none; }
.ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ring-center b { font-size: 23px; font-weight: 300; color: var(--ink); line-height: 1; font-family: var(--font-app); }
.ring-center span { font-size: 11px; font-weight: 500; color: var(--cap); margin-top: 2px; }
.ring-legend { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.ring-legend div { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.ring-legend i { width: 9px; height: 9px; border-radius: 999px; display: block; flex: none; }
.ring-legend b { flex: 1; font-weight: 500; color: var(--ink); }
.ring-legend span { color: var(--muted); }

/* ----------------------------------------------------------- detail grid */
.details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* --------------------------------------------------------- privacy band */
.privacy-band { text-align: center; }
.privacy-band .card { max-width: 780px; margin-inline: auto; padding: clamp(32px, 5vw, 52px); }
.privacy-band .lede { margin-inline: auto; max-width: 56ch; }
.privacy-band .btn { margin-top: 28px; }

/* -------------------------------------------------------------------- faq */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  background: var(--card); border-radius: 20px;
  box-shadow: var(--sh-rest); margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px; font-size: 16.5px; font-weight: 600;
  color: var(--ink); display: flex; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 11px; height: 11px; border-right: 2px solid var(--chev); border-bottom: 2px solid var(--chev);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq p { margin: 0; padding: 0 24px 22px; font-size: 15.5px; color: var(--ink-soft); text-wrap: pretty; }

/* --------------------------------------------------------------- closing */
.closing { text-align: center; }
.closing h2 { max-width: 16ch; margin-inline: auto; }
.closing .lede { max-width: 46ch; margin-inline: auto; }
.closing__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------------------------------------------------------------- footer */
.footer { padding: 56px 0 48px; border-top: 1px solid var(--hairline); }
.footer__grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer__tag { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); max-width: 30ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.footer__links a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.footer__links a:hover { color: var(--rose-strong); }
.footer__legal { margin: 34px 0 0; font-size: 13px; color: var(--cap); }

/* =========================================================================
   Device mockups — the app, rebuilt in HTML at true iPhone size (402×874)
   and scaled down. Inside .device everything uses the product's own type
   face and px values, exactly as ios-frame.jsx and the prototype do.
   ========================================================================= */
.device {
  --dw: 402; --dh: 874; --s: .78;
  width: calc(var(--dw) * 1px * var(--s));
  height: calc(var(--dh) * 1px * var(--s));
  flex: none;
}
.device__inner {
  width: calc(var(--dw) * 1px); height: calc(var(--dh) * 1px);
  transform: scale(var(--s)); transform-origin: 0 0;
  border-radius: 48px; overflow: hidden; position: relative;
  background: var(--page-bg);
  box-shadow: var(--sh-device);
  font-family: var(--font-app);
  -webkit-font-smoothing: antialiased;
}
.device__island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 126px; height: 37px; border-radius: 24px; background: #000; z-index: 50;
}
/* gap:154 is what splits the two halves around the dynamic island — see ios-frame.jsx */
.device__status {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 154px; padding: 21px 24px 19px;
  color: var(--ink);
}
.device__time {
  flex: 1; text-align: center; font-weight: 590; font-size: 17px; line-height: 22px;
}
.device__icons { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding-right: 1px; }
.device__home-ind {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 139px; height: 5px; border-radius: 100px;
  background: rgba(0,0,0,.25); z-index: 60; pointer-events: none;
}
:root[data-weya-theme="dark"] .device__home-ind { background: rgba(255,255,255,.7); }
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) .device__home-ind { background: rgba(255,255,255,.7); }
}
.screen {
  position: absolute; inset: 0;
  background: var(--scr-grad); background-size: 160% 160%;
  animation: weyaGrad 26s ease-in-out infinite alternate;
  overflow: hidden;
}
.screen__blob { position: absolute; border-radius: 999px; background: var(--blob-grad); filter: blur(9px); }
.screen__halo { position: absolute; border-radius: 999px; background: var(--halo-grad); filter: blur(16px); }
.screen__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; padding: 74px 22px 0; }

/* home screen */
.hs__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hs__date { font-size: 12px; letter-spacing: 1px; font-weight: 600; color: var(--cap); }
.hs__title { font-size: 32px; font-weight: 300; color: var(--ink-soft); line-height: 1; margin-top: 5px; }
.hs__glass-btn {
  width: 40px; height: 40px; border-radius: 999px; flex: none; margin-top: 2px;
  background: var(--glass-btn); border: 1px solid var(--glass-btn-bd);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; color: var(--rose-ink);
}
.hs__last {
  margin-top: 18px; display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: 24px;
  background: var(--card-strong); box-shadow: var(--sh-emph);
}
.hs__last-cap { display: flex; align-items: center; gap: 8px; }
.hs__last-chip {
  width: 26px; height: 26px; border-radius: 10px; flex: none;
  background: var(--tint-blue); color: var(--icon-blue);
  display: flex; align-items: center; justify-content: center;
}
.hs__cap { font-size: 11px; letter-spacing: 1px; font-weight: 600; color: var(--cap); }
.hs__last-name { display: flex; align-items: baseline; gap: 8px; margin-top: 9px; }
.hs__last-name b { font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -.2px; }
.hs__last-name span, .hs__last-recipe { font-size: 12px; color: var(--muted); }
.hs__last-recipe { margin-top: 8px; }
.hs__replay {
  width: 56px; height: 56px; border-radius: 999px; flex: none;
  background: linear-gradient(150deg, #FFFFFF, #F2C4C9); color: var(--rose-700);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(150,90,95,.18), inset 2px 3px 4px rgba(255,255,255,.9), inset -3px -4px 8px rgba(200,120,130,.4);
}
:root[data-weya-theme="dark"] .hs__replay {
  background: linear-gradient(150deg, #6F4150, #4A2A36); color: #F8C4CE;
  box-shadow: 0 12px 26px rgba(0,0,0,.5), inset 2px 3px 4px rgba(255,255,255,.14), inset -3px -4px 8px rgba(0,0,0,.4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) .hs__replay {
    background: linear-gradient(150deg, #6F4150, #4A2A36); color: #F8C4CE;
    box-shadow: 0 12px 26px rgba(0,0,0,.5), inset 2px 3px 4px rgba(255,255,255,.14), inset -3px -4px 8px rgba(0,0,0,.4);
  }
}
.hs__q { margin-top: 24px; font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -.2px; line-height: 1.25; }
.hs__grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hs__tile { border-radius: 20px; padding: 16px; background: var(--card); box-shadow: var(--sh-rest); }
.hs__tile-chip { width: 38px; height: 38px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.hs__tile-name { font-size: 16px; font-weight: 500; color: var(--ink); margin-top: 12px; }
.hs__tile-desc { font-size: 12px; color: var(--muted); margin-top: 4px; }
.hs__tile-recipe { font-size: 11px; color: var(--cap); margin-top: 8px; }
.hs__custom {
  margin-top: 16px; display: flex; align-items: center; gap: 16px;
  padding: 16px; border-radius: 20px;
  background: var(--dash-bg); border: 1.5px dashed var(--dash-bd);
}
.hs__custom-chip {
  width: 38px; height: 38px; border-radius: 14px; flex: none;
  background: var(--chip-solid); border: 1px solid var(--card-bd);
  display: flex; align-items: center; justify-content: center; color: var(--rose-ink);
}
.hs__custom b { font-size: 16px; font-weight: 500; color: var(--ink); display: block; }
.hs__custom span { font-size: 12px; color: var(--muted); margin-top: 1px; display: block; }
.tabbar {
  position: absolute; left: 22px; right: 22px; bottom: 26px; z-index: 5;
  display: flex; justify-content: space-around; align-items: center;
  padding: 11px 10px; border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--glass-bd); box-shadow: var(--sh-float);
}
.tabbar > div { min-width: 64px; padding: 6px 0; display: flex; align-items: center; justify-content: center; color: var(--cap); }
.tabbar > div.is-active { color: var(--rose-500); }
:root[data-weya-theme="dark"] .tabbar > div.is-active { color: #F0A7B2; }
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) .tabbar > div.is-active { color: #F0A7B2; }
}

/* running screen */
.rs {
  width: 100%; height: 100%; background: var(--run-grad);
  display: flex; flex-direction: column; align-items: center;
  padding: 72px 24px 28px; position: relative; overflow: hidden; isolation: isolate;
  transition: background .4s;
}
.rs__bubble {
  position: absolute; z-index: -1; pointer-events: none; border-radius: 999px;
  background: radial-gradient(circle at 38% 34%, rgba(255,255,255,.8), rgba(255,255,255,0) 72%);
}
:root[data-weya-theme="dark"] .rs__bubble { background: radial-gradient(circle at 38% 34%, rgba(255,214,224,.13), rgba(255,214,224,0) 72%); }
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) .rs__bubble { background: radial-gradient(circle at 38% 34%, rgba(255,214,224,.13), rgba(255,214,224,0) 72%); }
}
.rs__top { display: flex; align-items: center; justify-content: space-between; width: 100%; position: relative; z-index: 2; }
.rs__top-btn {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--run-top-bg); border: 1px solid var(--run-top-bd);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; color: var(--run-icon);
}
.rs__phase {
  padding: 7px 16px; border-radius: 999px;
  font-size: 12px; letter-spacing: 2px; font-weight: 700;
  background: var(--run-pill-bg); color: var(--run-pill-col); border: 1px solid var(--run-pill-bd);
}
.rs__orb-slot { margin-top: auto; margin-bottom: auto; }
.rs__next {
  margin-bottom: 16px; padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .6px;
  background: var(--run-next-bg); color: var(--run-pill-col); border: 1px solid var(--run-next-bd);
}
.rs__beads { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; position: relative; }
.rs__beads i { width: 9px; height: 9px; border-radius: 999px; background: var(--run-bead-off); display: block; flex: none; }
.rs__beads i.is-done { background: var(--run-bead-on); }
.rs__beads i.is-now { width: 11px; height: 11px; background: var(--run-bead-on); box-shadow: 0 0 0 3px var(--run-bead-glow); }
.rs__beads i.is-edge { width: 5.5px; height: 5.5px; opacity: .7; }
.rs__caps {
  display: flex; align-items: center; gap: 20px;
  padding: 11px 20px; border-radius: 999px; margin-bottom: 44px;
  background: var(--run-caps-bg); border: 1px solid var(--run-caps-bd);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 28px rgba(60,50,60,.12); position: relative;
}
.rs__side {
  width: 46px; height: 46px; border-radius: 999px; background: var(--run-side);
  display: flex; align-items: center; justify-content: center; color: var(--run-icon);
}
.rs__play {
  width: 74px; height: 74px; border-radius: 999px;
  background: var(--run-play-grad); color: var(--run-play-col);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px var(--run-play-out),
              inset 2px 3px 4px rgba(255,255,255,.9),
              inset -3px -4px 8px var(--run-play-in);
}
:root[data-weya-theme="dark"] .rs__play {
  box-shadow: 0 12px 26px var(--run-play-out), inset 2px 3px 4px rgba(255,255,255,.14), inset -3px -4px 8px var(--run-play-in);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) .rs__play {
    box-shadow: 0 12px 26px var(--run-play-out), inset 2px 3px 4px rgba(255,255,255,.14), inset -3px -4px 8px var(--run-play-in);
  }
}

/* the orb — a glass sphere whose liquid level IS the remaining time */
.orb { position: relative; width: 312px; height: 312px; display: flex; align-items: center; justify-content: center; }
.orb__shell {
  position: relative; width: 276px; height: 276px; border-radius: 999px; overflow: hidden;
  background: var(--orb-shell); box-shadow: var(--orb-shadow);
}
.orb__water {
  position: absolute; inset: 0; background: var(--orb-water);
  clip-path: inset(32% 0 0 0);
  box-shadow: inset 0 8px 16px rgba(255,255,255,.28);
  transition: clip-path .18s linear;
}
.orb__line {
  position: absolute; left: -6%; right: -6%; width: 112%; bottom: calc(68% - 5px); height: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0));
  border-radius: 50%; filter: blur(.5px);
  transition: bottom .18s linear, opacity .3s;
}
.orb__gloss {
  position: absolute; left: 17%; top: 11%; width: 86px; height: 46px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0));
  filter: blur(6px); transform: rotate(-20deg); opacity: .8; z-index: 3; pointer-events: none;
}
:root[data-weya-theme="dark"] .orb__gloss { opacity: .5; }
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) .orb__gloss { opacity: .5; }
}
.orb__vignette { display: none; position: absolute; inset: 0; border-radius: 999px; z-index: 1; pointer-events: none;
  box-shadow: inset -16px -22px 42px rgba(54,24,40,.45), inset 0 -34px 52px rgba(54,24,40,.3), inset 0 0 26px rgba(54,24,40,.24); }
:root[data-weya-theme="dark"] .orb__vignette { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) .orb__vignette { display: block; }
}
.orb__bub { position: absolute; border-radius: 999px; background: rgba(255,255,255,.55); opacity: 0; pointer-events: none; }
.orb__face {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.orb__num {
  font-size: 78px; font-weight: 300; line-height: 1; color: var(--orb-num);
  font-variant-numeric: tabular-nums; text-shadow: var(--orb-num-shadow);
}
.orb__lab {
  font-size: 12px; letter-spacing: 3px; font-weight: 700; margin-top: 6px;
  color: var(--orb-lab); text-shadow: 0 1px 4px rgba(255,255,255,.65);
}
:root[data-weya-theme="dark"] .orb__lab { text-shadow: 0 1px 4px rgba(0,0,0,.35); }
@media (prefers-color-scheme: dark) {
  :root:not([data-weya-theme="light"]) .orb__lab { text-shadow: 0 1px 4px rgba(0,0,0,.35); }
}

/* standalone orb used in the "how it works" media slot */
.orb--solo { margin-inline: auto; }

/* ================================================================= legal */
.doc { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px); }
.doc__inner { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.doc h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 10px; }
.doc__eff { font-size: 11px; letter-spacing: 1px; font-weight: 600; color: var(--cap); margin: 0 0 28px; }
.doc__short {
  padding: 24px; border-radius: 20px;
  background: var(--card-strong); box-shadow: var(--sh-emph); margin-bottom: 12px;
}
.doc__short-cap { font-size: 11px; letter-spacing: 1px; font-weight: 600; color: var(--rose-strong); margin: 0 0 8px; }
.doc__short p { margin: 0; font-size: 16px; line-height: 1.62; color: var(--ink); text-wrap: pretty; }
.doc h2 {
  display: flex; gap: 12px; align-items: baseline;
  font-family: var(--font-body); font-weight: 600; font-size: 19px;
  letter-spacing: -.1px; color: var(--ink); margin: 40px 0 10px;
}
.doc h2 span { color: var(--rose-mid); font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: 24px; }
.doc p { margin: 0 0 12px; font-size: 16px; line-height: 1.68; color: var(--ink-soft); text-wrap: pretty; }
.doc p b { font-weight: 600; color: var(--ink); }
.doc__back {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px;
  font-size: 14.5px; font-weight: 500; color: var(--rose-ink);
}

/* ---------------------------------------------------------- breakpoints */
@media (max-width: 1080px) {
  .device { --s: .68; }
  .details { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header__nav { display: none; }
  .hero__grid, .split, .split--reverse { grid-template-columns: 1fr; justify-items: center; }
  .hero__copy, .split__copy { max-width: 640px; justify-self: start; }
  .split--reverse .split__media { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step { flex-direction: row; align-items: flex-start; gap: 18px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .device { --s: .74; }
  .progress-stack { width: min(420px, 100%); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  body { font-size: 16.5px; }
  .header { padding: 10px 0; }
  .header__bar { padding: 8px 8px 8px 18px; }
  .wordmark { font-size: 23px; }
  .header .btn { padding: 10px 18px; font-size: 14px; }
  .tiles { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; }
  .device { --s: .62; }
  .hero__cta { width: 100%; }
  .badge-appstore, .hero__cta .btn { width: 100%; }
}
@media (max-width: 380px) {
  .device { --s: .55; }
}

/* --------------------------------------------------------- reduced motion
   All ambient motion stops. The orb freezes mid-interval so the mockup
   still reads as a running timer. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
