/* ==========================================================================
   Tress — website
   One stylesheet. The tokens are the app's (src/theme/tokens.ts): a cream
   ground lit by soft pools of mint, sky and lavender; white cards with a
   hairline edge; one green family in tones; charcoal type in Hanken
   Grotesk (headings) and Geist (text). No photographs: the page is made
   of the same material as the app.
   ========================================================================== */

/* Typefaces, served from this site (not Google Fonts): Hanken Grotesk and
   Geist, SIL Open Font License 1.1 — licences in assets/fonts. Latin subset,
   made from the same files the app ships (@expo-google-fonts). */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/HankenGrotesk_400Regular.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/HankenGrotesk_500Medium.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Geist_400Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Geist_500Medium.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Geist_600SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Geist_700Bold.woff2") format("woff2"); }

:root {
  color-scheme: light;

  --cream: #FAFBF8;
  --cream-2: #F2F6F1;
  --white: #FFFFFF;
  --ink: #1F2937;
  --ink-2: #374151;
  --grey: #6B7280;
  --grey-2: #646C78; /* 5.1:1 on the cream; the lighter grey it replaced read 3.0 */
  --grey-3: #B4BAC3;
  --fill: #EEF3EE;

  --mint-50: #EAF6EC;
  --mint-100: #DDF2E1;
  --mint-200: #CDEFD4;
  --mint-300: #A9E5B6;
  --mint-400: #8EDCA0;
  --leaf-400: #8FCB68;
  --leaf-500: #6DB85A;
  --leaf-600: #4A9C4A;
  --success: #34C759;
  --sky: #EAF4FF;
  --lav: #F1EBFF;
  --sand: #F9F2E7;
  --blush: #F7A8A0;

  --line: rgba(31, 41, 55, 0.07);
  --line-2: rgba(31, 41, 55, 0.12);

  --shadow-card: 0 1px 2px rgba(31, 41, 55, 0.04), 0 18px 44px -22px rgba(31, 41, 55, 0.20);
  --shadow-float: 0 2px 6px rgba(31, 41, 55, 0.05), 0 30px 60px -28px rgba(31, 41, 55, 0.30);
  --shadow-pill: 0 1px 2px rgba(31, 41, 55, 0.05), 0 12px 30px -14px rgba(31, 41, 55, 0.22);
  --glow: 0 10px 26px -8px rgba(110, 200, 130, 0.65);

  --r-card: 28px;
  --r-lg: 36px;

  --f-head: "Hanken Grotesk", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-body: "Geist", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Palatino", "Palatino Linotype", "Book Antiqua", Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.32, 0.64, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--mint-300); color: var(--ink); }
:focus-visible { outline: 2px solid var(--leaf-600); outline-offset: 3px; border-radius: 10px; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px;
  background: var(--ink); color: #fff; border-radius: 999px; transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Ground: the app's atmosphere, fixed behind the page ---------- */
.ground {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: var(--cream);
}
.ground i { position: absolute; border-radius: 50%; }
.ground .g-mint  { width: 70vmax; height: 56vmax; left: -24vmax; top: -22vmax; background: radial-gradient(closest-side, rgba(169,229,182,.42), rgba(169,229,182,0)); }
.ground .g-sky   { width: 60vmax; height: 50vmax; right: -22vmax; top: -16vmax; background: radial-gradient(closest-side, rgba(206,228,255,.55), rgba(206,228,255,0)); }
.ground .g-lav   { width: 56vmax; height: 46vmax; right: -10vmax; bottom: -26vmax; background: radial-gradient(closest-side, rgba(226,214,255,.42), rgba(226,214,255,0)); }
.ground .g-leaf  { width: 48vmax; height: 40vmax; left: -16vmax; bottom: -24vmax; background: radial-gradient(closest-side, rgba(143,203,104,.18), rgba(143,203,104,0)); }
.ground .g-bloom { width: 64vmax; height: 40vmax; left: 50%; top: 4vh; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); }

/* ---------- Layout ---------- */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
/* Halos and off-stage cards bleed past the sides; never let them widen the page. */
main > section { overflow-x: clip; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow {
  font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--leaf-600); display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 4px rgba(52,199,89,.14);
}
.display, .h1, .h2, .h3 { font-family: var(--f-head); font-weight: 400; color: var(--ink); text-wrap: balance; }
.display { font-size: clamp(3rem, 7.6vw, 6.4rem); line-height: .98; letter-spacing: -0.045em; }
.h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.04em; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.18; letter-spacing: -0.02em; }
.display em, .h1 em, .h2 em, .h3 em { font-style: normal; color: var(--leaf-600); }
.lede { font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.55; color: var(--grey); max-width: 36em; text-wrap: pretty; }
.small { font-size: .9rem; color: var(--grey); }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.head.center { justify-items: center; }
.note {
  display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--grey);
  padding: 7px 13px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line);
}
.note svg { width: 15px; height: 15px; color: var(--grey-2); flex: none; }

/* ---------- Buttons: the app's lit mint pill and white pill ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 1.02rem;
  white-space: nowrap; transition: transform .35s var(--spring), box-shadow .35s var(--ease), background .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn-primary {
  color: var(--ink);
  background: linear-gradient(90deg, #C4F0CF, var(--mint-400));
  box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,.7);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -8px rgba(110,200,130,.75), inset 0 1px 0 rgba(255,255,255,.7); }
.btn-primary .arrow { transition: transform .35s var(--spring); }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow-pill), inset 0 0 0 1px var(--line); }
.btn-white:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(31,41,55,.6); }
.btn-ink:hover { transform: translateY(-1px); }
.btn-sm { height: 44px; padding: 0 18px; font-size: .95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .cta-row { justify-content: center; }

/* ---------- Nav: the app's tab bar — a white glass pill and a separate disc ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 100; transform: translateX(-50%);
  width: min(1040px, 100% - 2 * var(--gutter));
  display: flex; align-items: center; gap: 10px;
  transition: top .4s var(--ease);
}
.nav-pill, .nav-cta {
  height: 60px; border-radius: 999px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: var(--shadow-pill), inset 0 0 0 1px rgba(255,255,255,.9), 0 0 0 1px var(--line);
}
.nav-pill { flex: 1; display: flex; align-items: center; padding: 0 8px 0 22px; position: relative; min-width: 0; }
.nav .brand img { height: 24px; width: auto; }
.nav-links { display: flex; align-items: center; margin-left: auto; position: relative; }
.nav-links a {
  position: relative; z-index: 1; height: 44px; padding: 0 16px; display: grid; place-items: center;
  border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--ink);
}
.nav-hl {
  position: absolute; top: 50%; left: 0; height: 44px; width: 0; margin-top: -22px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(238,243,238,.95));
  box-shadow: inset 0 0 0 1px rgba(31,41,55,.06), 0 4px 12px -6px rgba(31,41,55,.2);
  opacity: 0; transition: transform .45s var(--spring), width .45s var(--spring), opacity .25s;
  pointer-events: none;
}
.nav-cta { display: flex; align-items: center; padding: 8px; }
.nav-cta .btn { height: 44px; padding: 0 20px; box-shadow: none; }
.nav-cta .btn svg { width: 16px; height: 16px; margin-top: -2px; }
.nav-menu { display: none; width: 44px; height: 44px; border-radius: 50%; margin-left: auto; place-items: center; }
.nav-menu span { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.nav-menu span + span { margin-top: 5px; }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
.menu-sheet {
  position: fixed; top: 86px; left: var(--gutter); right: var(--gutter); z-index: 99;
  padding: 10px; border-radius: 28px; background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line);
  display: grid; gap: 2px; opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
  /* Hidden means out of the tab order too, not only invisible. */
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .4s var(--spring), visibility 0s .3s;
}
.menu-sheet.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
@media (min-width: 901px) { .menu-sheet { display: none; } }
.menu-sheet a { padding: 14px 18px; border-radius: 18px; font-size: 1.08rem; font-weight: 500; }
.menu-sheet a:active { background: var(--fill); }

/* ---------- Glyphs & small UI ---------- */
.ic { width: 1em; height: 1em; }
.disc {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: var(--mint-50); color: var(--leaf-600);
}
.disc svg { width: 24px; height: 24px; }
.disc.sky { background: var(--sky); color: #3E7BC4; }
.disc.lav { background: var(--lav); color: #7A5CC8; }
.disc.sand { background: var(--sand); color: #A87A3C; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--mint-50); color: var(--leaf-600); font-size: .8rem; font-weight: 500; white-space: nowrap;
}
.pill.grey { background: var(--fill); color: var(--grey); }
.card {
  background: #fff; border-radius: var(--r-card);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line);
}

/* ---------- Reveal on enter ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; } .js .rv.d4 { transition-delay: .32s; }

/* ==========================================================================
   Phone + app screens (authored at 390 × 844, scaled to fit)
   ========================================================================== */
.phone {
  --w: 320px;
  width: var(--w); aspect-ratio: 390 / 844; position: relative; flex: none;
  border-radius: calc(var(--w) * .16); padding: calc(var(--w) * .032);
  background: linear-gradient(145deg, #2B3036, #0E1013 40%, #22262B);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), inset 0 0 0 1.5px rgba(255,255,255,.12), var(--shadow-float), 0 60px 90px -50px rgba(31,41,55,.45);
}
.screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--w) * .13); background: var(--cream); isolation: isolate;
}
.island {
  position: absolute; top: 2.2%; left: 50%; z-index: 20; width: 31%; height: 3.6%;
  transform: translateX(-50%); border-radius: 999px; background: #000;
}
.ui {
  position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform-origin: 0 0;
  transform: scale(var(--s, .8)); font-size: 16px; line-height: 1.35; color: var(--ink); text-align: left;
  background: var(--cream); overflow: hidden;
}
.ui-ground { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ui-ground::before, .ui-ground::after { content: ""; position: absolute; border-radius: 50%; }
.ui-ground::before { width: 520px; height: 420px; left: -200px; top: -170px; background: radial-gradient(closest-side, rgba(169,229,182,.5), rgba(169,229,182,0)); }
.ui-ground::after { width: 460px; height: 380px; right: -200px; top: 80px; background: radial-gradient(closest-side, rgba(206,228,255,.6), rgba(206,228,255,0)); }
.ui-status {
  position: absolute; top: 0; left: 0; right: 0; height: 54px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 42px;
  font-weight: 600; font-size: 16px;
}
.ui-status svg { width: 66px; height: 12px; }
.ui-scroll { position: absolute; inset: 0; z-index: 1; padding: 62px 18px 120px; }
.ui-card { background: #fff; border-radius: 26px; padding: 18px; box-shadow: 0 1px 2px rgba(31,41,55,.04), 0 10px 28px -16px rgba(31,41,55,.18); }
.ui-title { font-family: var(--f-head); font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
.ui-sub { color: var(--grey); font-size: 14px; }
.ui-caps { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.ui-row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.ui-btn {
  height: 50px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(90deg, #C4F0CF, var(--mint-400)); font-weight: 500; font-size: 17px;
}
.ui-btn svg { width: 18px; height: 18px; }
.ui-check {
  width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.6px var(--mint-200); color: #fff; transition: background .3s, box-shadow .3s;
}
.ui-check svg { width: 13px; height: 13px; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .4s var(--spring); }
.done .ui-check { background: var(--success); box-shadow: none; }
.done .ui-check svg { opacity: 1; transform: none; }
.ring { position: relative; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--mint-50); }
.ring .arc { fill: none; stroke: var(--mint-400); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.ring .val { position: relative; text-align: center; line-height: 1.1; }

/* Tab bar: white pill with four tabs + separate Scan disc */
.ui-tabbar { position: absolute; left: 14px; right: 14px; bottom: 22px; z-index: 6; display: flex; gap: 7px; }
.ui-tabs {
  flex: 1; height: 64px; border-radius: 999px; background: rgba(255,255,255,.92); display: flex; align-items: center; padding: 0 5px;
  box-shadow: 0 1px 2px rgba(31,41,55,.05), 0 12px 26px -14px rgba(31,41,55,.25);
}
.ui-tab { flex: 1; display: grid; justify-items: center; gap: 3px; font-size: 11.5px; font-weight: 500; height: 54px; align-content: center; border-radius: 999px; }
.ui-tab svg { width: 23px; height: 23px; }
.ui-tab.on { background: linear-gradient(180deg, #fff, #F1F4F2); box-shadow: inset 0 0 0 1px rgba(31,41,55,.07); }
.ui-scanbtn {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; justify-items: center; align-content: center; gap: 2px;
  font-size: 11.5px; font-weight: 500; box-shadow: 0 1px 2px rgba(31,41,55,.05), 0 12px 26px -14px rgba(31,41,55,.25);
}
.ui-scanbtn svg { width: 23px; height: 23px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: clamp(124px, 12vw, 150px); padding-bottom: 40px; text-align: center; position: relative; }
.hero .display { margin-top: 26px; }
.hero .lede { margin: 24px auto 0; }
.hero .cta-row { margin-top: 36px; justify-content: center; }
.hero .avail { margin-top: 18px; font-size: .88rem; color: var(--grey-2); }
.ai-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.8); box-shadow: var(--shadow-pill), inset 0 0 0 1px var(--line);
  font-size: .92rem; transition: transform .35s var(--spring);
}
.ai-chip:hover { transform: translateY(-1px); }
.ai-chip .orb { width: 34px; height: 36px; }
.ai-chip b { font-weight: 500; }
.ai-chip span { color: var(--grey); }
.ai-chip svg.chev { width: 14px; height: 14px; color: var(--grey-2); }

.hero-stage {
  position: relative; margin: clamp(48px, 5vw, 64px) auto 0; height: clamp(560px, 50vw, 680px);
  width: min(1120px, 100% - 2 * var(--gutter));
}
.hero-stage .phone { --w: clamp(272px, 25vw, 318px); position: absolute; left: 50%; top: 0; margin-left: calc(var(--w) / -2); z-index: 2; }
.hero-halo {
  position: absolute; left: 50%; top: 18%; width: 760px; height: 560px; transform: translateX(-50%); z-index: 0;
  background: radial-gradient(closest-side, rgba(169,229,182,.45), rgba(169,229,182,0));
}
.float {
  position: absolute; z-index: 3; text-align: left; will-change: transform;
  transition: box-shadow .4s var(--ease);
}
.float.card { padding: 18px 20px; border-radius: 26px; }
.f-now { left: 2%; top: 12%; width: 300px; }
.f-journey { right: 1%; top: 6%; width: 310px; }
.f-check { left: 7%; top: 58%; width: 290px; }
.f-ai { right: 6%; top: 60%; width: 280px; }
.float .now-k { display: flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .12em; font-weight: 600; color: #1E9E47; }
.float .now-k i { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(52,199,89,.15); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52,199,89,.06); } }
.float .prod { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.float .prod img { width: 48px; height: 48px; border-radius: 14px; background: #EEF5F2; object-fit: contain; padding: 4px; }
.float .prod b { display: block; font-weight: 500; font-size: 1.02rem; }
.float .prod span { font-size: .88rem; color: var(--grey); }
.float .mini-btn {
  width: 100%; margin-top: 14px; height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(90deg, #C4F0CF, var(--mint-400)); font-weight: 500; font-size: .95rem; cursor: pointer; transition: transform .3s var(--spring);
}
.float .mini-btn:active { transform: scale(.97); }
.float .mini-btn svg { width: 15px; height: 15px; }
.float .mini-btn.is-done { background: var(--mint-50); color: var(--leaf-600); }
.jr-k { display: flex; align-items: center; gap: 8px; color: var(--leaf-600); font-weight: 500; font-size: .92rem; }
.jr-k svg { width: 16px; height: 16px; }
.jr { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.jr .ring { width: 70px; height: 70px; }
.jr .ring .val b { font: 500 22px/1 var(--f-head); display: block; }
.jr .ring .val span { font-size: 11px; color: var(--grey); }
.jr-t b { display: block; font-weight: 500; font-size: 1.05rem; }
.jr-t span { font-size: .86rem; color: var(--grey); }
.segs { display: flex; gap: 5px; margin-top: 10px; }
.segs i { flex: 1; height: 5px; border-radius: 3px; background: var(--fill); }
.segs i.on { background: var(--mint-300); }
.ai-say { display: flex; gap: 12px; align-items: flex-start; }
.ai-say .orb { width: 40px; height: 43px; flex: none; }
.ai-say p { font-size: .94rem; color: var(--ink-2); }
.ai-say b { display: block; font-weight: 500; color: var(--ink); margin-bottom: 2px; }

/* ==========================================================================
   Statement
   ========================================================================== */
.statement {
  font-family: var(--f-head); font-weight: 400; text-align: center; text-wrap: balance;
  font-size: clamp(2rem, 4.8vw, 4rem); line-height: 1.12; letter-spacing: -.035em; max-width: 17em; margin: 0 auto;
}
.statement .w { color: var(--grey-3); transition: color .5s var(--ease); }
.statement .w.on { color: var(--ink); }
.statement .w.on.g { color: var(--leaf-600); }

/* ==========================================================================
   Steps (how it works)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { padding: 26px; display: grid; gap: 14px; align-content: start; }
.step .n { font-size: .82rem; color: var(--grey-2); font-weight: 500; letter-spacing: .06em; }
.step h3 { font-family: var(--f-head); font-weight: 400; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.15; }
.step p { color: var(--grey); font-size: .98rem; }
.step-viz { height: 210px; border-radius: 20px; background: var(--cream); position: relative; overflow: hidden; margin-bottom: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.step-viz::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(closest-side at 30% 30%, rgba(169,229,182,.35), transparent), radial-gradient(closest-side at 75% 70%, rgba(206,228,255,.5), transparent); }
.viz-scan svg { position: absolute; inset: 0; margin: auto; width: 78%; height: 88%; }
.viz-scan .cap { fill: none; stroke: var(--leaf-500); stroke-width: 1.3; opacity: .55; }
.viz-scan .hl { fill: none; stroke: var(--leaf-600); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .viz-scan .hl { animation: draw 1.8s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.viz-read { display: grid; align-content: center; gap: 12px; padding: 22px 24px; }
.viz-read > * { position: relative; }
.cov-row { display: grid; grid-template-columns: 1fr auto 76px; align-items: center; gap: 12px; font-size: .95rem; }
.cov-row .w { color: var(--grey); font-size: .86rem; text-align: right; }
.dashes { display: flex; gap: 4px; }
.dashes i { width: 16px; height: 5px; border-radius: 3px; background: rgba(31,41,55,.1); }
.dashes i.on { background: var(--leaf-500); }
.viz-keep { display: grid; align-content: center; gap: 10px; padding: 18px 22px; }
.viz-keep .ui-row { position: relative; background: #fff; border-radius: 16px; padding: 10px 12px; box-shadow: 0 6px 16px -12px rgba(31,41,55,.3); font-size: .95rem; }
.viz-keep .ui-row img { width: 30px; height: 30px; object-fit: contain; }
.viz-keep .t { color: var(--grey); font-size: .8rem; }

/* ==========================================================================
   Feature rows (text + phone)
   ========================================================================== */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.feature.flip .f-copy { order: 2; }
.f-copy { display: grid; gap: 20px; justify-items: start; }
.f-device { display: grid; place-items: center; position: relative; }
.f-device .phone { --w: clamp(270px, 26vw, 330px); position: relative; z-index: 1; }
.f-device::before {
  content: ""; position: absolute; width: 130%; height: 90%; left: -15%; top: 5%; z-index: 0;
  background: radial-gradient(closest-side, rgba(169,229,182,.4), rgba(169,229,182,0));
}
.f-device.sky::before { background: radial-gradient(closest-side, rgba(206,228,255,.7), rgba(206,228,255,0)); }
.f-device.lav::before { background: radial-gradient(closest-side, rgba(226,214,255,.6), rgba(226,214,255,0)); }
.points { display: grid; gap: 14px; margin-top: 8px; width: 100%; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.points .disc { width: 40px; height: 40px; border-radius: 13px; }
.points .disc svg { width: 20px; height: 20px; }
.points b { display: block; font-weight: 500; }
.points span { color: var(--grey); font-size: .96rem; }

/* Scan screen */
.ui-scan { background: linear-gradient(180deg, #EEF2EF, #E3E9E5); }
.ui-scan .head { position: absolute; left: 0; right: 0; top: 150px; width: 390px; height: 520px; }
.ui-scan .skin { fill: url(#g-skin); }
.ui-scan .hair { fill: url(#g-hair); }
.ui-scan .mesh path { fill: none; stroke: #fff; stroke-width: 1.4; opacity: .9; }
.ui-scan .mesh .glow { stroke: var(--mint-300); stroke-width: 2.2; }
.ui-scan .brk path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; }
.ui-scan .msg {
  position: absolute; left: 50%; top: 92px; transform: translateX(-50%); z-index: 4;
  padding: 12px 20px; border-radius: 999px; background: rgba(255,255,255,.94); font-weight: 500; font-size: 16px; white-space: nowrap;
  display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 24px -14px rgba(31,41,55,.3);
}
.ui-scan .msg i { width: 9px; height: 9px; border-radius: 50%; background: var(--success); }
.ui-scan .angles { position: absolute; left: 0; right: 0; bottom: 138px; display: flex; justify-content: center; gap: 8px; z-index: 4; }
.ui-scan .angles span { height: 32px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 500; background: rgba(255,255,255,.7); color: var(--ink-2); transition: background .4s, color .4s; }
.ui-scan .angles span.done { background: var(--mint-300); color: var(--ink); }
.ui-scan .angles span.now { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(31,41,55,.4); }
.ui-scan .shutter { position: absolute; left: 50%; bottom: 40px; width: 76px; height: 76px; margin-left: -38px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; z-index: 4; }
.ui-scan .shutter i { width: 58px; height: 58px; border-radius: 50%; background: conic-gradient(var(--mint-400) 0 var(--p, 30%), rgba(255,255,255,.55) var(--p, 30%) 100%); transition: --p .6s; }

/* Report sheet */
.ui-report { background: #EEF2EF; }
.ui-report .hero-still { position: absolute; left: 0; right: 0; top: 0; height: 250px; background: linear-gradient(160deg, #DDEBE2, #CFE0E9); overflow: hidden; }
.ui-report .hero-still svg { position: absolute; left: 50%; top: 40px; width: 250px; transform: translateX(-50%); }
.ui-report .sheet { position: absolute; left: 0; right: 0; top: 200px; bottom: 0; background: var(--cream); border-radius: 30px 30px 0 0; padding: 12px 18px 0; z-index: 2; }
.ui-report .grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(31,41,55,.15); margin: 0 auto 18px; }
.ui-report .rk { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf-600); font-weight: 600; }
.ui-report .rh { font-family: var(--f-head); font-size: 27px; line-height: 1.1; letter-spacing: -.03em; margin-top: 8px; }
.ui-report .rh em { font-style: normal; color: var(--leaf-600); }
.ui-report .rp { color: var(--grey); font-size: 14.5px; margin-top: 8px; }
.ui-report .bubble { margin-top: 14px; background: var(--fill); border-radius: 18px 18px 18px 6px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.ui-report .ui-card { margin-top: 12px; padding: 16px; }
.ui-report .cov-row { font-size: 14.5px; grid-template-columns: 1fr auto 70px; }
.heads { display: flex; gap: 6px; margin-top: 12px; }
.heads span { flex: 1; aspect-ratio: 1; border-radius: 12px; background: var(--fill); display: grid; place-items: center; }
.heads span.on { background: var(--mint-100); box-shadow: inset 0 0 0 1.5px var(--mint-400); }
.heads svg { width: 70%; }

/* ==========================================================================
   Guide deck — the app's matte frosted glass cards
   ========================================================================== */
.guide-deck { position: relative; height: clamp(560px, 50vw, 640px); margin-top: 8px; touch-action: pan-y; user-select: none; }
.gcard {
  --x: 0; --sc: 1; --op: 1;
  position: absolute; left: 50%; top: 0; width: clamp(290px, 34vw, 400px); aspect-ratio: 400 / 600; margin-left: calc(clamp(290px, 34vw, 400px) / -2);
  border-radius: 34px; overflow: hidden; padding: clamp(22px, 2.4vw, 30px);
  transform: translateX(calc(var(--x) * 1px)) scale(var(--sc)); opacity: var(--op);
  transition: transform .8s var(--spring), opacity .6s var(--ease);
  background: linear-gradient(125deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.55) 40%, rgba(255,255,255,.7) 64%, rgba(255,255,255,.5) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 0 0 1px var(--line), 0 40px 70px -40px rgba(31,41,55,.35);
  display: flex; flex-direction: column; cursor: grab;
}
.guide-deck.dragging .gcard { transition: none; }
.gcard::before { /* blurred colour shapes */
  content: ""; position: absolute; inset: -20%; z-index: -2; filter: blur(34px);
  background:
    radial-gradient(38% 30% at 22% 80%, rgba(142,220,160,.75), transparent 70%),
    radial-gradient(40% 32% at 84% 30%, rgba(206,228,255,.95), transparent 70%),
    radial-gradient(34% 28% at 70% 88%, rgba(226,214,255,.9), transparent 70%),
    radial-gradient(30% 26% at 18% 18%, rgba(205,239,212,.9), transparent 70%);
}
.gcard::after { /* the app's matte grain, faint */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/grain.png") 0 0 / 160px 160px; opacity: .07; mix-blend-mode: multiply;
}
.gcard { isolation: isolate; }
.gcard .rings { position: absolute; right: -40%; bottom: -8%; width: 120%; z-index: -1; opacity: .5; }
.gcard .rings circle { fill: none; stroke: rgba(74,156,74,.22); stroke-width: 1; }
.gtop { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--grey); letter-spacing: .08em; }
.gtop img { height: 16px; width: auto; }
.gcard h3 {
  margin-top: clamp(20px, 2.4vw, 30px); font-family: var(--f-body); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.3rem, 1.9vw, 1.62rem); line-height: 1.12; letter-spacing: .01em; text-wrap: balance;
}
.gcard h3 em { font-style: normal; color: var(--leaf-600); display: block; }
.gcard .glead { margin-top: 14px; font-size: clamp(.92rem, 1.05vw, 1.02rem); color: var(--ink-2); font-weight: 500; line-height: 1.45; }
.gcard .gk { margin-top: 20px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-600); font-weight: 500; }
.gcard .grows { margin-top: 10px; display: grid; gap: 11px; }
.gcard .cov-row { font-size: .95rem; grid-template-columns: 1fr auto 76px; }
.gcard .gclose { margin-top: auto; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.35; }
.gcard .gfine { margin-top: 10px; font-size: .72rem; color: var(--grey-2); }
.gcard .gsteps { margin-top: 18px; display: grid; gap: 10px; }
.gcard .gsteps li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.6); border-radius: 16px; padding: 11px 13px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
.gcard .gsteps b { display: block; font-weight: 600; font-size: .95rem; }
.gcard .gsteps span { font-size: .84rem; color: var(--grey); }
.gcard .gsteps .n { font-size: .74rem; color: var(--leaf-600); font-weight: 600; letter-spacing: .06em; padding-top: 3px; width: 20px; flex: none; }
.gcard .gbtn { margin-top: 16px; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(90deg, #C4F0CF, var(--mint-400)); font-weight: 500; font-size: .96rem; }
.gcard .gbtn svg { width: 16px; height: 16px; }
.guide-foot { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.gdots { display: flex; gap: 6px; }
.gdots button { width: 7px; height: 7px; border-radius: 4px; background: rgba(31,41,55,.18); transition: width .4s var(--spring), background .3s; }
.gdots button.on { width: 22px; background: var(--leaf-500); }
.round-btn { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-pill), inset 0 0 0 1px var(--line); transition: transform .3s var(--spring); }
.round-btn:active { transform: scale(.94); }
.round-btn svg { width: 18px; height: 18px; }
.round-btn.prev svg { transform: rotate(180deg); }

/* ==========================================================================
   Routine
   ========================================================================== */
.routine-card { padding: 22px; width: min(460px, 100%); justify-self: center; position: relative; z-index: 1; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--fill); }
.seg button {
  flex: 1; height: 42px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--grey);
  position: relative; overflow: hidden; transition: color .3s, background .3s, box-shadow .3s;
}
.seg button.on { color: var(--ink); background: #fff; box-shadow: 0 4px 12px -6px rgba(31,41,55,.25); }
.seg button[data-part="morning"].on { background: linear-gradient(180deg, #FFF8EC, #fff); }
.seg button[data-part="evening"].on { background: linear-gradient(180deg, #FFF1E4, #fff); }
.seg button[data-part="night"].on { background: linear-gradient(180deg, #EEF0FF, #fff); }
.r-head { display: flex; align-items: center; gap: 16px; margin: 20px 4px 14px; }
.r-head .ring { width: 64px; height: 64px; }
.r-head .ring b { font: 500 19px/1 var(--f-head); }
.r-head .t b { display: block; font-weight: 500; font-size: 1.05rem; }
.r-head .t span { color: var(--grey); font-size: .9rem; }
.r-list { display: grid; gap: 2px; }
.r-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 18px; cursor: pointer; transition: background .25s; }
.r-item:hover { background: var(--cream); }
.r-item img, .r-item .ph { width: 46px; height: 46px; border-radius: 14px; background: #F1F6F3; object-fit: contain; padding: 3px; flex: none; }
.r-item .ph { display: grid; place-items: center; color: var(--leaf-600); }
.r-item .ph svg { width: 22px; height: 22px; }
.r-item b { display: block; font-weight: 500; }
.r-item span { font-size: .86rem; color: var(--grey); display: inline-flex; align-items: center; gap: 5px; }
.r-item span svg { width: 12px; height: 12px; }
.r-item .ui-check { width: 28px; height: 28px; }
.r-item .ui-check svg { width: 14px; height: 14px; }
.r-list[hidden] { display: none; }
.r-foot { margin: 14px 6px 0; font-size: .8rem; color: var(--grey-2); }

/* ==========================================================================
   Everyday bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento > * { padding: clamp(22px, 2.4vw, 30px); }
.b-check { grid-column: span 4; }
.b-now { grid-column: span 2; }
.b-journey { grid-column: span 3; }
.b-journal { grid-column: span 3; }
.b-k { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.b-h { font-family: var(--f-head); font-size: clamp(1.4rem, 2vw, 1.7rem); letter-spacing: -.02em; line-height: 1.15; margin-top: 10px; }
.b-p { color: var(--grey); margin-top: 8px; font-size: .98rem; }

/* Check-in slider (the app's Tress-face slider) */
.ci { margin-top: 30px; }
.ci-slider { position: relative; height: 64px; touch-action: none; cursor: pointer; }
.ci-slider:focus-visible { outline: 2px solid var(--leaf-text); outline-offset: 4px; border-radius: 999px; }
.cmp:focus-within { outline: 2px solid var(--leaf-text); outline-offset: 3px; }
.ci-track {
  position: absolute; left: 22px; right: 22px; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px;
  background: linear-gradient(90deg, #FBEFE2, #EEF3E8 45%, var(--mint-400));
}
.ci-dots { position: absolute; left: 22px; right: 22px; top: 50%; display: flex; justify-content: space-between; margin-top: -3px; }
.ci-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(31,41,55,.2); }
.ci-knob {
  position: absolute; top: 50%; left: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #fff, #F4F8F5 70%, #E7EFE9); box-shadow: 0 10px 24px -10px rgba(31,41,55,.35), inset 0 0 0 1px rgba(31,41,55,.05);
  transition: left .45s var(--spring), transform .3s var(--spring);
}
.ci-slider.drag .ci-knob { transition: transform .3s var(--spring); transform: scale(1.08); }
.ci-knob svg { width: 100%; height: 100%; }
.ci-knob path { transition: d .35s var(--ease); }
.ci-balloon {
  position: absolute; bottom: 100%; left: 0; margin-bottom: 4px; transform: translateX(-50%);
  padding: 7px 13px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 500; white-space: nowrap;
  opacity: 0; transition: opacity .3s, left .45s var(--spring);
}
.ci-slider.drag .ci-balloon, .ci-slider.moved .ci-balloon { opacity: 1; }
.ci-slider.drag .ci-balloon { transition: opacity .3s; }
.ci-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: .86rem; color: var(--grey-2); padding: 0 2px; }
.ci-labels span { width: 20%; text-align: center; transition: color .3s; }
.ci-labels span.on { color: var(--ink); font-weight: 500; }
.ci-status { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--grey); }
.ci-status .ui-check { width: 22px; height: 22px; }
.ci-status .ui-check svg { width: 12px; height: 12px; }
.ci-week { margin-left: auto; display: flex; gap: 5px; }
.ci-week i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-style: normal; font-weight: 500; background: var(--fill); color: var(--grey); }
.ci-week i.on { background: var(--mint-300); color: var(--ink); }
.ci-week i.today { box-shadow: inset 0 0 0 1.5px var(--mint-400); }

.journal-strip { display: flex; gap: 10px; margin-top: 18px; overflow: hidden; mask-image: linear-gradient(90deg, #000 80%, transparent); }
.jnote { flex: none; width: 170px; padding: 14px; border-radius: 18px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; }
.jnote .pill { height: 22px; font-size: .72rem; padding: 0 9px; }
.jnote p { margin-top: 8px; color: var(--ink-2); line-height: 1.4; }
.jnote small { display: block; margin-top: 8px; color: var(--grey-2); font-size: .76rem; }

/* ==========================================================================
   Tress AI
   ========================================================================== */
.ai { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.ai-hello { text-align: center; display: grid; justify-items: center; gap: 16px; }
.ai-hello .big-orb { width: clamp(170px, 18vw, 230px); position: relative; }
.ai-hello .big-orb::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(closest-side, rgba(169,229,182,.55), rgba(169,229,182,0)); }
.ai-hello .big-orb svg { width: 100%; height: auto; animation: breathe 5.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateY(-5px) scale(1.02); } }
.ai-hello h2 { margin-top: 8px; }
.ai-chat { padding: 22px; display: grid; gap: 14px; }
.ai-chat .try { font-weight: 500; font-size: 1.05rem; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chips button {
  text-align: left; padding: 13px 16px; border-radius: 20px; background: var(--mint-50); color: var(--leaf-600); font-weight: 500; font-size: .96rem; line-height: 1.3;
  transition: background .25s, transform .3s var(--spring);
}
.chips button:hover { background: var(--mint-100); }
.chips button:active { transform: scale(.97); }
.chips button.on { background: var(--mint-200); color: var(--ink); }
.thread { display: grid; gap: 10px; min-height: 190px; align-content: start; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 20px; font-size: .96rem; line-height: 1.45; animation: rise .5s var(--ease) both; }
.msg.me { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg.it { justify-self: start; background: var(--fill); color: var(--ink-2); border-bottom-left-radius: 6px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--grey-2); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.composer { display: flex; align-items: center; height: 56px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); color: var(--grey-2); }
.composer i { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--mint-50); color: var(--leaf-600); display: grid; place-items: center; }
.composer i svg { width: 18px; height: 18px; }
.ai-fine { font-size: .8rem; color: var(--grey-2); text-align: center; }

/* ==========================================================================
   Compare
   ========================================================================== */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.cmp {
  --x: 50%; position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); background: var(--fill);
}
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp .after { clip-path: inset(0 0 0 var(--x)); }
.cmp .lbl { position: absolute; top: 16px; z-index: 2; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 500; }
.cmp .lbl.l { left: 16px; } .cmp .lbl.r { right: 16px; }
.cmp .handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; z-index: 2; pointer-events: none; }
.cmp .grip { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-pill); }
.cmp .grip svg { width: 20px; height: 20px; }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }
.cmp-rows { display: grid; margin-top: 8px; width: 100%; }
.cmp-rows .row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.cmp-rows .row span:first-child { color: var(--grey); }
.cmp-rows .row span:last-child { font-weight: 500; text-align: right; }

/* ==========================================================================
   Privacy
   ========================================================================== */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust .card { padding: 26px; display: grid; gap: 14px; align-content: start; }
.trust b { font-weight: 500; font-size: 1.08rem; }
.trust p { color: var(--grey); font-size: .95rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.qa { border-radius: 24px; background: #fff; box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); overflow: hidden; }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  font-weight: 500; font-size: 1.04rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; flex: none; transition: transform .4s var(--spring), background .3s; }
.qa summary i svg { width: 14px; height: 14px; }
.qa[open] summary i { transform: rotate(45deg); background: var(--mint-100); }
.qa .ans { padding: 0 22px 22px; color: var(--grey); font-size: .98rem; }
.qa .ans a { color: var(--leaf-600); }

/* ==========================================================================
   Final CTA + footer
   ========================================================================== */
.final { text-align: center; display: grid; justify-items: center; gap: 22px; }
.final .big-orb { width: clamp(140px, 14vw, 180px); position: relative; margin-bottom: 6px; }
.final .big-orb::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(closest-side, rgba(169,229,182,.6), rgba(169,229,182,0)); }
.final .big-orb svg { width: 100%; height: auto; animation: breathe 5.2s ease-in-out infinite; }
.final .cta-row { margin-top: 10px; }

.foot { padding: 64px 0 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .brand img { height: 26px; width: auto; }
.foot .tag { margin-top: 14px; color: var(--grey); font-size: .94rem; max-width: 22em; }
.foot h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-2); font-weight: 500; margin-bottom: 14px; }
.foot li + li { margin-top: 9px; }
.foot li a { color: var(--ink-2); font-size: .95rem; }
.foot li a:hover { color: var(--leaf-600); }
.foot .soon { margin-left: 8px; font-size: .7rem; padding: 2px 7px; border-radius: 999px; background: var(--fill); color: var(--grey); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .84rem; color: var(--grey-2); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .f-now { left: 0; width: 262px; } .f-journey { right: 0; width: 272px; }
  .f-check { left: 1%; width: 252px; } .f-ai { right: 1%; width: 250px; }
  .gcard .gsteps { gap: 6px; margin-top: 14px; }
  .gcard .gsteps li { padding: 8px 11px; }
  .gcard .gsteps span { font-size: .8rem; line-height: 1.35; }
}
@media (max-width: 1080px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu { display: grid; }
  .nav-pill { padding-right: 8px; }
  .hero-stage { height: auto; display: grid; justify-items: center; gap: 16px; }
  .hero-stage .phone { position: relative; left: auto; margin-left: 0; }
  .float { position: relative; left: auto !important; right: auto !important; top: auto !important; width: min(360px, 100%) !important; transform: none !important; }
  .float { display: none; }
  .hero-stage { margin-top: 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .feature, .ai, .compare, .faq { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .f-copy { order: 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > * { grid-column: auto !important; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .hero .cta-row .btn { width: 100%; }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .ci-week { display: none; }
  .guide-deck { height: 560px; }
  .gcard { width: 306px; margin-left: -153px; aspect-ratio: auto; height: 530px; padding: 20px; }
  .gcard h3 { font-size: 1.2rem; margin-top: 18px; }
  .gcard .glead { font-size: .9rem; }
  .gcard .gk { margin-top: 16px; }
  .gcard .cov-row { font-size: .88rem; grid-template-columns: 1fr auto 68px; }
  .gcard .gsteps { gap: 6px; margin-top: 14px; }
  .gcard .gsteps li { padding: 8px 11px; }
  .gcard .gsteps span { font-size: .8rem; line-height: 1.35; }
  .gcard .gclose { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- Audit fixes, 2026-09-28 ---------- */

/* Green that reads as text: #4A9C4A held 3.3:1 on the cream, this 5.6. */
:root { --leaf-text: #2F7336; }
.eyebrow, .pill, .chips button, .jr-k, .gcard .gk, .qa .ans a { color: var(--leaf-text); }
.qa .ans a, .lede a { text-decoration: underline; text-underline-offset: 3px; }
.float .now-k { color: #187A37; }
.seg button, .pill.grey, .foot .soon { color: #5F6673; }
.statement .w { color: #858D98; }

/* The hero is the first thing read; it never waits on the script to be shown. */
.js .hero .rv { opacity: 1; transform: none; animation: hero-in .9s var(--ease) both; }
.js .hero .rv.d1 { animation-delay: .08s; } .js .hero .rv.d2 { animation-delay: .16s; }
.js .hero .rv.d3 { animation-delay: .24s; } .js .hero .rv.d4 { animation-delay: .32s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(26px); } }

/* Older Safari has no overflow: clip; hidden keeps the page from widening. */
body { overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }

/* ==========================================================================
   Motion, 2026-09-28 — the page moves with the scroll.
   Everything here animates transform, opacity or a stroke offset, driven
   from one rAF loop in site.js. Individual `translate`/`scale`/`rotate`
   are used where an element already has a CSS `transform`, so the two
   compose instead of fighting.
   ========================================================================== */

/* Reading line along the top */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--mint-300), var(--leaf-500)); box-shadow: 0 0 12px rgba(110,200,130,.6); }

/* The ground takes a tint from the section in view */
.ground i { transition: opacity 1.4s var(--ease), translate 2.4s var(--ease); }
body[data-tint="sky"] .g-sky { opacity: 1; translate: -18vw 30vh; }
body[data-tint="sky"] .g-mint { opacity: .55; }
body[data-tint="lav"] .g-lav { translate: -30vw -40vh; }
body[data-tint="lav"] .g-mint { opacity: .45; translate: 10vw 20vh; }
body[data-tint="mint"] .g-mint { translate: 16vw 34vh; }
body[data-tint="mint"] .g-leaf { opacity: 1; translate: 30vw -20vh; }
body[data-tint="cream"] .g-sky, body[data-tint="cream"] .g-lav { opacity: .5; }

/* Headings rise into place word by word */
.js .split.rv { opacity: 1; transform: none; }
.split .wd { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .12em; margin: 0 -.02em -.12em; }
.split .wd > span { display: inline-block; transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js .split:not(.in) .wd > span { transform: translateY(108%); }

/* Ribbon: feature names drifting sideways with the scroll */
.ribbon { overflow: hidden; padding: 10px 0 34px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ribbon-track { display: flex; align-items: center; gap: 22px; width: max-content; will-change: transform; }
.ribbon span { font-family: var(--f-head); font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.ribbon span:nth-of-type(3n+2) { color: var(--leaf-text, var(--leaf-600)); }
.ribbon i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint-300); flex: none; }

/* ---------- The pinned story ---------- */
.story { position: relative; height: 380vh; }
.story-anchor { position: absolute; left: 0; width: 1px; height: 1px; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: 70px; }
.story-copy { display: grid; gap: 22px; align-content: center; }
.story-steps { display: flex; gap: 10px; }
.story-steps li { flex: 1; display: grid; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--grey-2); transition: color .4s; }
.story-steps li b { font-weight: 500; font-size: .75rem; letter-spacing: .1em; color: var(--grey-3); margin-right: 6px; transition: color .4s; }
.story-steps li.on, .story-steps li.done { color: var(--ink); }
.story-steps li.on b { color: var(--leaf-text, var(--leaf-600)); }
.story-steps li > i { display: block; height: 3px; border-radius: 2px; background: var(--line-2); overflow: hidden; order: 2; }
.story-steps li > i > i { display: block; height: 100%; background: var(--leaf-500); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.chapters { display: grid; }
.chapter { grid-area: 1 / 1; display: grid; gap: 18px; align-content: start;
  opacity: 0; translate: 0 34px; filter: blur(4px); pointer-events: none;
  transition: opacity .6s var(--ease), translate .8s var(--ease), filter .6s var(--ease); }
.chapter.on { opacity: 1; translate: 0 0; filter: none; pointer-events: auto; }
.chapter.past { translate: 0 -34px; }
.chapter .h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.story-device { position: relative; display: grid; place-items: center; }
.story-halo { position: absolute; width: 140%; height: 110%; left: -20%; top: -5%;
  background: radial-gradient(closest-side, rgba(169,229,182,.45), rgba(169,229,182,0)); transition: background 1s var(--ease); }
.story[data-ch="0"] .story-halo { background: radial-gradient(closest-side, rgba(206,228,255,.75), rgba(206,228,255,0)); }
.story[data-ch="1"] .story-halo { background: radial-gradient(closest-side, rgba(226,214,255,.6), rgba(226,214,255,0)); }
.story-device .phone { --w: min(330px, 26vw, calc((100svh - 130px) * .462)); position: relative; z-index: 1; will-change: transform; }
.screen .layer { opacity: 0; transition: opacity .6s var(--ease), filter .6s var(--ease); filter: blur(6px); }
.screen .layer.on { opacity: 1; filter: none; }
.badges { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.badge {
  position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px 10px 10px; border-radius: 999px;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); font-size: .9rem; font-weight: 500; white-space: nowrap;
  opacity: 0; scale: .85; translate: 0 12px; transition: opacity .45s var(--ease), scale .6s var(--spring), translate .6s var(--spring);
}
.badge.on { opacity: 1; scale: 1; translate: 0 0; }
.badge > i { width: 24px; height: 24px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; }
.badge > i svg { width: 13px; height: 13px; }
.badge b { font-weight: 600; margin-right: 2px; padding-left: 6px; }
.badge.sky b { color: #2F66A8; } .badge.lav b { color: #6446B8; }

/* Scan screen, scrubbed */
.ui-scan .mesh path { stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.ui-scan .sweep { position: absolute; left: 30px; right: 30px; top: 0; height: 90px; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(169,229,182,0), rgba(169,229,182,.35) 70%, rgba(255,255,255,.9) 96%, rgba(255,255,255,0));
  translate: 0 var(--sy, 160px); opacity: var(--so, 0); border-radius: 40px; filter: blur(1px); }
.ui-report .sheet { translate: 0 var(--sheet, 0%); }
.ui-report .hero-still svg { scale: var(--still, 1); transform-origin: 50% 0; }
.ui-report .heads span, .ui-report .cov-row { transition: opacity .5s var(--ease), translate .6s var(--ease); }
.ui-report.pre .heads span, .ui-report.pre .ui-card .cov-row { opacity: 0; translate: 0 8px; }

/* Hero: the phone lifts toward you as the page scrolls; the cards spread */
.hero-stage { perspective: 1400px; }
.hero-stage .phone { will-change: transform; }
.hero-stage .float { will-change: transform, opacity; }

/* Cards that lean toward the pointer, with a soft light where it is */
.tilt { transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d; position: relative; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.7), rgba(169,229,182,.12) 40%, transparent 65%); }
.tilt:hover::after { opacity: 1; }

/* Guide deck turned by the scroll */
.guide-scroll.pinned { height: 300vh; padding: 0; }
.guide-scroll.pinned .gpin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; padding-top: 64px; overflow: hidden; }
.guide-scroll.pinned .head { margin-bottom: clamp(18px, 3vh, 36px); }
.guide-scroll.pinned .head .lede { display: none; }
.guide-scroll.pinned .gcard { transition: opacity .4s var(--ease); --gw: min(400px, 34vw, calc((100svh - 340px) * .6667)); width: var(--gw); margin-left: calc(var(--gw) / -2); }
.guide-scroll.pinned .guide-deck { height: calc(var(--gw, 400px) * 1.5); --gw: min(400px, 34vw, calc((100svh - 340px) * .6667)); }
.guide-scroll.pinned .guide-foot { margin-top: 18px; }
.guide-scroll.pinned .gpin .center { margin-top: 10px !important; }
.guide-scroll.pinned .gpin { padding-top: 76px; }

/* Orb blink */
[data-look] [data-blink] { transform-box: fill-box; transform-origin: center; animation: orb-blink 5.5s infinite; }
@keyframes orb-blink { 0%, 94%, 100% { scale: 1 1; } 96% { scale: 1 .15; } }
[data-look] [data-face], [data-look] [data-leaves] { transition: transform .5s var(--ease); }
[data-look] svg { animation: none !important; }
[data-look] { animation: breathe 5.2s ease-in-out infinite; }

@media (max-width: 900px) {
  .story { height: 400vh; }
  .story-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 12px; padding-top: 84px; padding-bottom: 16px; height: 100%; align-items: start; }
  .story-copy { gap: 12px; }
  .chapter { gap: 10px; }
  .chapter .h2 { font-size: 1.62rem; }
  .chapter .lede { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .chapter .points, .chapter .note { display: none; }
  .story-device { height: 100%; align-self: stretch; }
  .story-device .phone { --w: min(64vw, calc((100svh - 380px) * .462)); }
  .badge { font-size: .78rem; padding: 7px 11px 7px 7px; }
  .badge > i { width: 20px; height: 20px; }
  .badge[style*="left"] { left: 1% !important; }
  .badge[style*="right"] { right: 1% !important; }
}

@media (prefers-reduced-motion: reduce) {
  .chapter, .screen .layer { transition: none; filter: none; }
  .js .split:not(.in) .wd > span { transform: none; }
  [data-look] [data-blink], [data-look] { animation: none; }
}
