/* ── Self-hosted fonts (Google Fonts subsets, latin + latin-ext) ─────────── */
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-display-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-display-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/lora-400-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/lora-400-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lora-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/lora-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/lora-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/lora-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ============================================================
   TRANZE.APP LANDING — v2
   Tokens and shapes follow the app (apps/web/app/globals.css).
   Mobile-first.
   ============================================================ */

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

:root {
  /* App palette */
  --paper: #f8f7f3;
  --surface: #fffefa;
  --ink: #283e36;
  --muted: #5f6c62; /* 4.75:1 on the soft green, 5.1:1 on paper */
  --line: #dde2d9;
  --green: #3e5c48;
  --green-hover: #335040;
  --green-deep: #172f29;
  --green-line: #344d41;
  --sage: #bdccaf;
  --sage-text: #c4d1c4;
  --soft: #eaf0e6;
  --raised: #eff1e9;
  --icon-bg: #e3e8d7;
  --icon-fg: #6d8059;
  --accent-dot: #8fa08a;
  --mark: #6b815b;
  --gold: #c4a24d;
  --success: #2e7d4a;
  --error: #b5473c;

  /* Type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --wordmark: 'DM Serif Display', Georgia, serif;

  /* Shapes */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-full: 999px;
  --shadow: 0 10px 32px rgba(38, 60, 48, 0.14), 0 2px 8px rgba(38, 60, 48, 0.08);
  --glass: rgba(248, 247, 243, 0.78);

  --t: 0.2s ease;
  --nav-h: 64px;
  --gutter: 24px; /* page side padding; 20px from tablets up */
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  position: relative;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
/* Paper grain */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.24 0 0 0 0 0.21 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-weight: 400; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.section--dark :focus-visible { outline-color: var(--sage); }

.visually-hidden { position: absolute; left: -9999px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── Wordmark & brand ornaments ────────────────────────────── */
.logo {
  font-family: var(--wordmark);
  font-size: 31px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  display: inline-block;
}
.logo b { color: var(--gold); font-weight: 400; }
.logo--footer { font-size: 26px; }

/* Section marker: the gold dot from the wordmark. */
.ornament { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); margin-bottom: 12px; }
/* The waitlist column is a flex stack with its own gap; cancel it so the dot sits 12px above the title like everywhere else. */
.waitlist > .ornament { margin-bottom: -10px; }
.ornament i { display: none; }
.ornament--light { background: var(--gold); }

/* App wordmark (lowercase, as inside the product) */
.app__wordmark {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--serif); font-size: 21px; letter-spacing: -0.06em; line-height: 1; color: var(--ink);
}
.app__wordmark b { font-weight: 400; color: #81936c; margin-left: -6px; }
.app__wordmark--lg { font-size: 26px; }
.app__logo { font-size: 24px; }
.app__mark { display: inline-flex; align-items: center; gap: 2.5px; width: 17px; height: 22px; }
.app__mark i { display: block; width: 3px; border-radius: 3px; background: var(--mark); transform: rotate(25deg); height: 13px; }
.app__mark i:nth-child(2) { height: 20px; }
.app__mark i:nth-child(3) { height: 9px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
}
.btn--primary { background: var(--green); color: var(--surface); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.btn--primary:hover { background: var(--green-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(38, 60, 48, 0.25); }
.btn--outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn--outline:hover { background: var(--green); color: var(--surface); }
.btn--light { background: var(--sage); color: var(--green-deep); }
.btn--light:hover { background: #cbd8bf; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn__arrow { margin-left: 2px; transition: transform var(--t); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background-color var(--t), box-shadow var(--t);
}
/* Glass only once the page has scrolled; at the very top the hero shows through. */
.nav--scrolled, .legal-page .nav {
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__links { display: none; gap: 28px; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { font-size: 14px; }

/* ── Hero ───────────────────────────────────────────────────── */
/* Pulled up under the transparent nav so the hero tint runs to the top edge. */
.hero { position: relative; margin-top: calc(-1 * var(--nav-h)); padding: calc(56px + var(--nav-h)) 0 0; overflow: hidden; }
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  will-change: transform;
}
.hero::before {
  top: -10%; right: -12%;
  width: 72vw; max-width: 760px;
  aspect-ratio: 1.15;
  background: radial-gradient(closest-side, rgba(189, 204, 175, 0.85) 0%, rgba(189, 204, 175, 0.45) 45%, rgba(189, 204, 175, 0) 100%);
  animation: heroDriftA 18s ease-in-out infinite alternate;
}
.hero::after {
  bottom: -18%; left: -14%;
  width: 56vw; max-width: 560px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(226, 208, 160, 0.75) 0%, rgba(226, 208, 160, 0.35) 50%, rgba(226, 208, 160, 0) 100%);
  animation: heroDriftB 24s ease-in-out infinite alternate;
}
@keyframes heroDriftA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-10%, 14%, 0) scale(1.12); }
  100% { transform: translate3d(7%, -8%, 0) scale(0.94); }
}
@keyframes heroDriftB {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(14%, -12%, 0) scale(1.14); }
  100% { transform: translate3d(-8%, 7%, 0) scale(0.93); }
}

/* Drifting tints behind the soft section and the dark waitlist, same rhythm as the hero. */
.section--soft { position: relative; overflow: hidden; }
.section--soft > .container, .section--dark > .container { position: relative; z-index: 1; }
.section--soft::before, .section--soft::after {
  content: ''; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(36px); will-change: transform;
}
.section--soft::before { top: -20%; right: -10%; width: 50vw; max-width: 600px; aspect-ratio: 1.1; background: radial-gradient(closest-side, rgba(189, 204, 175, 0.8) 0%, rgba(189, 204, 175, 0.35) 50%, rgba(189, 204, 175, 0) 100%); animation: heroDriftA 24s ease-in-out infinite alternate; }
.section--soft::after  { bottom: -25%; left: -12%; width: 42vw; max-width: 480px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(226, 208, 160, 0.35) 0%, rgba(226, 208, 160, 0.15) 50%, rgba(226, 208, 160, 0) 100%); animation: heroDriftB 30s ease-in-out infinite alternate; }
.section--dark .section__backdrop { animation: backdropDrift 36s ease-in-out infinite alternate; will-change: transform; }
@keyframes backdropDrift {
  0%   { scale: 1; translate: 0 0; }
  50%  { scale: 1.08; translate: -2% 1.5%; }
  100% { scale: 1.04; translate: 1.5% -1%; }
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 36px; }
.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: 1;
  background: linear-gradient(to bottom, rgba(248, 247, 243, 0) 0%, var(--paper) 100%);
  pointer-events: none;
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(40px, 11.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--green); }
.hero__subtitle { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 460px; text-wrap: pretty; }
.hero__status { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.hero__status-note { font-size: 14px; }
.hero__status-note::before { content: '·'; margin-right: 12px; color: var(--muted); }
.dot--pulse { position: relative; }
.dot--pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--accent-dot); opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.8; } 70% { transform: scale(1.4); opacity: 0; } 100% { opacity: 0; } }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── Phone (device) ─────────────────────────────────────────── */
.hero__visual { position: relative; display: flex; justify-content: center; margin: 0 calc(-1 * var(--gutter)) -56px; padding: 0 32px; height: 380px; overflow: hidden; }
/* On phones the mockup is cropped, so the docked player would sit on the crop edge: hide it there. */
.hero__visual .app__dock { display: none; }
.hero__visual::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to bottom, rgba(248, 247, 243, 0), var(--paper));
  pointer-events: none;
}
.phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 318px;
  aspect-ratio: 71 / 147; /* iPhone 15 Pro body */
  padding: 10px;
  border-radius: 54px;
  background: linear-gradient(160deg, #3a4a43 0%, #1c2823 40%, #0f1714 100%);
  box-shadow:
    0 30px 60px -22px rgba(23, 47, 41, 0.42),
    0 12px 28px -10px rgba(23, 47, 41, 0.3),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    inset 0 0 0 4px #0c1210;
}
.phone__btn { position: absolute; width: 3px; background: #1a2521; border-radius: 2px; box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.12); }
.phone__btn--mute { left: -3px; top: 120px; height: 26px; }
.phone__btn--volup { left: -3px; top: 166px; height: 50px; }
.phone__btn--voldown { left: -3px; top: 226px; height: 50px; }
.phone__btn--power { right: -3px; top: 190px; height: 78px; box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.12); }
.phone__screen {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 44px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 30px; border-radius: 20px; background: #0c1210; z-index: 3;
}
.phone__status {
  display: flex; align-items: center; justify-content: space-between;
  height: 50px; padding: 8px 24px 0 30px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.phone__status-icons { display: inline-flex; align-items: center; gap: 5px; }
.phone__home { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: 120px; height: 5px; border-radius: 3px; background: var(--ink); opacity: 0.85; z-index: 4; }
.phone__glare {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 28%, rgba(255, 255, 255, 0) 45%);
}

/* ── App screen inside the phone ───────────────────────────── */
.app { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.app__header { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 2px; }
.app__account { color: var(--green); display: grid; place-items: center; width: 36px; height: 36px; }
.app__scroll { flex: 1; min-height: 0; overflow: hidden; padding: 0 18px; }
.app__h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; margin: 8px 0 12px; }
.app__card { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.app__art { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--soft); }
.app__art img { width: 100%; height: 100%; object-fit: cover; }
.pill {
  position: absolute; left: 12px; bottom: 12px;
  background: #263e35; color: #fffdf2;
  font-size: 11px; padding: 5px 9px; border-radius: 20px;
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.app__play {
  position: absolute; right: 12px; bottom: 12px;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 254, 250, 0.72); color: var(--green);
  display: grid; place-items: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(38, 60, 48, 0.12);
}
.app__play--sm { width: 40px; height: 40px; right: 10px; bottom: 10px; }
.app__card-title { font-size: 19px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; margin-top: 6px; }
.app__card-desc { color: var(--muted); font-size: 13px; line-height: 1.5; }
.app__actions { display: flex; align-items: center; gap: 18px; color: var(--muted); padding-top: 6px; }
.app__actions .app__more { margin-left: auto; }

.app__dock { position: absolute; left: 10px; right: 10px; bottom: 20px; z-index: 2; border-radius: 26px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 10px 26px -8px rgba(38, 60, 48, 0.28), 0 1px 2px rgba(38, 60, 48, 0.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.app__tabs {
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center;
  height: 64px; padding: 6px 4px; color: var(--ink);
}
.app__tab { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; color: var(--ink); opacity: 0.85; }
.app__tab small { font-size: 9px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.app__tab--active { opacity: 1; }
.app__tab--active small { font-weight: 700; }
.app__tab--create { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--green); color: #fffefa; opacity: 1; box-shadow: 0 3px 8px rgba(38, 60, 48, 0.25); }

/* Push notification card */
.toast {
  display: none;
  position: absolute; z-index: 6;
  left: -40px; top: 150px;
  align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 254, 250, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  font-size: 13px;
  animation: toastIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both;
}
.toast__mark { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 40px; height: 40px; border-radius: 11px; background: var(--green); flex-shrink: 0; }
.toast__mark i { display: block; width: 3px; border-radius: 3px; background: #f4f6ef; transform: rotate(25deg); height: 12px; }
.toast__mark i:nth-child(2) { height: 19px; }
.toast__mark i:nth-child(3) { height: 9px; }
.toast__body { display: flex; flex-direction: column; line-height: 1.35; }
.toast__body strong { font-weight: 600; }
.toast__body span { color: var(--muted); font-size: 12.5px; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* ── Sections ───────────────────────────────────────────────── */
.what__inner { display: flex; flex-direction: column; gap: 24px; }
.what__copy .section__title { margin-bottom: 14px; }
.what__lead { font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 460px; text-wrap: pretty; }
.quote { padding: 28px 0 8px; }
.quote__figure { margin: 0 auto; }
.quote__text { max-width: 760px; margin: 0 auto; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.35; letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
.quote__text::before { content: "\201C"; }
.quote__text::after { content: "\201D"; }
.quote__by { margin-top: 22px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); }
.quote__by::before { content: "\2014\00A0"; }
.what__facts { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.what__facts li { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.what__facts strong { font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.what__facts span { color: var(--muted); font-size: 14.5px; line-height: 1.55; text-wrap: pretty; }
.section { padding: 56px 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--soft { background: var(--soft); }
.section--dark { position: relative; background: var(--green-deep); color: #f4f1e8; overflow: hidden; }
.section--dark::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(189, 204, 175, 0.16) 0%, rgba(189, 204, 175, 0) 70%);
  pointer-events: none;
}
.section__backdrop {
  position: absolute; right: -10%; top: -10%; width: 60%; max-width: 640px;
  opacity: 0.12; filter: saturate(0.6);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 100%);
  mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 100%);
  pointer-events: none;
}
.section--dark .container { position: relative; }
.section__title {
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.section__title--narrow { max-width: 620px; text-wrap: balance; }
.section__title--light { color: #f4f1e8; }
.container > .ornament { display: block; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform var(--t), box-shadow var(--t); }
.icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--icon-bg); color: var(--icon-fg);
  flex-shrink: 0;
}

/* ── How it works ───────────────────────────────────────────── */
.steps { display: grid; gap: 16px; }
.step { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.step__visual { position: relative; height: 240px; border-radius: 14px; overflow: hidden; background: var(--soft); }
.step__num {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: var(--surface);
  font-size: 13px; font-weight: 600; line-height: 1;
  margin-top: 4px;
}
.step__title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.step__desc { color: var(--muted); font-size: 14.5px; }

/* step 1: chat */
.step__visual--chat { background: var(--green-deep); color: #f4f1e8; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat__who { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 13px; color: var(--sage-text); }
.chat__avatar { display: inline-flex; align-items: center; justify-content: center; gap: 2px; width: 24px; height: 24px; border-radius: 7px; background: var(--green); }
.chat__avatar i { display: block; width: 2px; border-radius: 2px; background: #f4f6ef; transform: rotate(25deg); height: 7px; }
.chat__avatar i:nth-child(2) { height: 11px; }
.chat__avatar i:nth-child(3) { height: 5px; }
.chat__msg { font-size: 13px; line-height: 1.5; }
.chat__reply { align-self: flex-end; max-width: 85%; font-size: 13px; line-height: 1.45; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: #3f5c4c; color: #f4f1e8; }
.chat__input { margin-top: auto; display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 14px; border-radius: 16px; background: #f4f1e8; color: var(--muted); font-size: 12.5px; }
.chat__input span { flex: 1; }
.chat__mic, .chat__send { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--green); }
.chat__send { background: #e6e8dd; color: var(--muted); }

/* step 2: intention + voice */
.step__visual--intent { height: auto; min-height: 240px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.intent { background: var(--green); color: #f4f1e8; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.intent__eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--sage-text); }
.intent__text { font-size: 12.5px; line-height: 1.45; }
.intent__meta { font-size: 11px; color: var(--sage-text); }
.intent__btn { align-self: flex-start; margin-top: 2px; padding: 7px 12px; border-radius: 999px; background: var(--sage); color: var(--green-deep); font-size: 12px; font-weight: 600; }
.voices { display: flex; flex-wrap: wrap; gap: 8px; }
.voice { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 500; }
.voice i { width: 20px; height: 20px; border-radius: 50%; background: var(--icon-bg); position: relative; }
.voice i::after { content: ''; position: absolute; left: 7px; top: 5px; border-left: 7px solid var(--green); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.voice--on { border-color: var(--green); background: #edf2e9; }

/* step 3: player */
.step__visual--player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(23, 47, 41, 0.86); color: #f4f1e8;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.player__title { font-family: var(--serif); font-size: 14px; }
.player__bar { height: 3px; border-radius: 2px; background: var(--green-line); }
.player__bar i { display: block; width: 32%; height: 100%; border-radius: 2px; background: var(--sage); }
.player__times { display: flex; justify-content: space-between; font-size: 11px; color: var(--sage-text); font-variant-numeric: tabular-nums; }
.player__transport { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--sage-text); margin-top: 2px; }
.player__play { width: 36px; height: 36px; border-radius: 50%; background: var(--sage); color: var(--green-deep); display: grid; place-items: center; }

/* ── Topics ─────────────────────────────────────────────────── */
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.topic { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.topic .icon { width: 36px; height: 36px; margin-bottom: 4px; }
.topic__title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.topic__desc { color: var(--muted); font-size: 14px; line-height: 1.5; }
.topics__lead { margin: -8px 0 24px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 560px; text-wrap: pretty; }

/* ── Inside (app window) ────────────────────────────────────── */
.inside { display: flex; flex-direction: column; gap: 28px; }
.inside__facts { margin-top: 20px; }
.window {
  display: flex;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  overflow: hidden;
}
.window__side { display: none; }
.window__main { flex: 1; min-width: 0; padding: 20px 18px 18px; }
.window__h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.window__lead { margin: 4px 0 18px; font-size: 12.5px; color: var(--muted); }
.window__h2 { margin: 16px 0 10px; font-family: var(--serif); font-size: 17px; letter-spacing: -0.015em; line-height: 1.2; }
.window__h2::before { content: ''; display: block; width: 7px; height: 7px; margin-bottom: 7px; border-radius: 50%; background: var(--gold); }
.window__lead + .window__h2 { margin-top: 0; }
.journeys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.journey { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.journey img { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.journey__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.journey__body strong { font-family: var(--serif); font-size: 13.5px; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.journey__body em { font-style: normal; font-size: 11px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 500; }
.chip svg { color: var(--green); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { margin: 0; }
.tile__art { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--soft); }
.tile__art img { width: 100%; height: 100%; object-fit: cover; }
.tile__art .pill { left: 7px; bottom: 7px; font-size: 10px; padding: 3px 7px; }
.tile__play { position: absolute; right: 7px; bottom: 7px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 254, 250, 0.92); color: var(--green); }
.tile figcaption { margin-top: 7px; font-family: var(--serif); font-size: 13px; line-height: 1.2; letter-spacing: -0.01em; }
.features { display: flex; flex-direction: column; gap: 18px; }
.feature { display: flex; gap: 14px; }
.feature__title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.feature__desc { color: var(--muted); font-size: 14px; }

/* ── Trust ──────────────────────────────────────────────────── */
.trust { display: flex; flex-direction: column; gap: 22px; }
.trust__sub { color: var(--muted); font-size: 15px; max-width: 420px; margin-top: -12px; }
.trust__list { display: flex; flex-direction: column; gap: 10px; }
.trust__list li { padding: 14px 16px; display: flex; gap: 14px; align-items: center; font-size: 14.5px; }
.trust__list .icon { width: 40px; height: 40px; }

/* ── Waitlist ───────────────────────────────────────────────── */
.waitlist { display: flex; flex-direction: column; gap: 22px; }
.waitlist .section__title { margin-bottom: 0; }
.waitlist__sub { color: var(--sage-text); font-size: 15px; max-width: 560px; margin-top: -8px; }

/* ── App entry (hero and the dark band): one button into the web app, one quiet line under it ── */
.start { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 520px; }
.start__actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.start__link { align-self: center; color: var(--green); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.start__link:hover { color: var(--ink); }
.start__note { font-size: 13px; color: var(--muted); text-align: center; }
.start .hero__status { margin-top: 0; }
.start--dark .start__note { color: var(--sage-text); }
.cta-in-view .nav__cta { visibility: hidden; }

/* ── Listen: a real excerpt in the app's dark player, the words lighting up as they are read ── */
.listen { display: flex; flex-direction: column; gap: 28px; }
.listen .section__title { text-wrap: balance; }
.listen__note { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; max-width: 420px; color: var(--muted); font-size: 14.5px; line-height: 1.55; text-wrap: pretty; }
.listen__note svg { flex-shrink: 0; margin-top: 1px; color: var(--green); }
.sample { margin: 0; width: 100%; max-width: 560px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: var(--r-lg); background: var(--green-deep); color: #f4f1e8; }
.sample :focus-visible { outline-color: var(--sage); }
.sample__head { display: flex; align-items: center; gap: 16px; }
.sample__cover { width: 88px; height: 88px; flex-shrink: 0; border-radius: 14px; object-fit: cover; }
.sample__meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sample__title { font-family: var(--serif); font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.sample__by { font-size: 13px; color: var(--sage-text); }
.sample__audio { display: none; }
.sample__controls { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.sample__play { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--sage); color: var(--green-deep); cursor: pointer; transition: background var(--t), transform var(--t); }
.sample__play:hover { background: #cbd8bf; transform: scale(1.04); }
.sample__play svg { grid-area: 1 / 1; }
.sample__icon-play { margin-left: 3px; }
.sample__icon-pause, .sample--playing .sample__icon-play { display: none; }
.sample--playing .sample__icon-pause { display: block; }
.sample--loading .sample__play { cursor: progress; }
.sample--loading .sample__play svg { opacity: 0.45; }
.sample--loading .sample__play::after { content: ''; position: absolute; inset: -5px; border: 2px solid transparent; border-top-color: var(--sage); border-radius: 50%; animation: sampleSpin 0.9s linear infinite; }
@keyframes sampleSpin { to { transform: rotate(360deg); } }
.sample__status { margin-top: 10px; font-size: 13px; color: #f0b3a9; }
.sample__status:empty { display: none; }
.sample__track { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sample__seek { --p: 0%; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.sample__seek::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, var(--sage) var(--p), var(--green-line) var(--p)); }
.sample__seek::-moz-range-track { height: 3px; border-radius: 2px; background: var(--green-line); }
.sample__seek::-moz-range-progress { height: 3px; border-radius: 2px; background: var(--sage); }
.sample__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border: 0; border-radius: 50%; background: var(--sage); }
.sample__seek::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--sage); }
.sample__seek:focus-visible { outline: 2px solid var(--sage); outline-offset: 4px; border-radius: 4px; }
.sample__times { display: flex; justify-content: space-between; font-size: 12px; color: var(--sage-text); font-variant-numeric: tabular-nums; }
.sample__words { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--green-line); font-family: var(--serif); font-size: 16.5px; line-height: 1.6; color: #93a99c; text-wrap: pretty; }
.sample__words span { transition: color 0.8s ease; }
.sample__words span.is-spoken { color: #fffefa; }
/* Phones and tablets: a short window onto the words that follows the voice, so the lit line stays next to the controls. */
@media (max-width: 1023px) {
  .sample__words { position: relative; max-height: 8.2em; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 1.1em, #000 calc(100% - 2.2em), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 1.1em, #000 calc(100% - 2.2em), transparent 100%); padding-bottom: 1.6em; }
  .sample__words::-webkit-scrollbar { display: none; }
}

/* ── Plans ──────────────────────────────────────────────────── */
.plans { display: grid; gap: 16px; }
.plan { padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.plan--plus { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.plan__name { font-family: var(--serif); font-size: 24px; letter-spacing: -0.015em; line-height: 1.2; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price strong { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--muted); font-size: 15px; }
.plan__for { color: var(--muted); font-size: 14.5px; line-height: 1.55; text-wrap: pretty; }
.plan__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin: 6px 0 8px; }
.plan__list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; text-wrap: pretty; }
.plan__icon { flex-shrink: 0; margin-top: 1px; color: var(--green); }
.plan__list .plan__lead { padding: 12px 0 10px; font-weight: 600; font-size: 14px; color: var(--muted); }
.plan__btn { margin-top: auto; }
.plan__fine { font-size: 13px; color: var(--muted); text-align: center; }
.plans__note { margin-top: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 640px; text-wrap: pretty; }
.plans__note--small { margin-top: 6px; font-size: 13px; }
.plans__note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ── Apps line and newsletter (under the dark band's button) ── */
/* On phones too: the full-width button leads, everything under it is centred (hero, the dark band, article cards). */
.start__apps { max-width: 520px; color: var(--sage-text); font-size: 14px; line-height: 1.55; text-wrap: pretty; text-align: center; }
.newsletter__title { font-weight: 600; font-size: 14.5px; color: #f4f1e8; }
.newsletter__note { font-size: 13px; color: var(--sage-text); }
.newsletter { text-align: center; }
.waitlist .section__title { text-wrap: balance; }

/* ── Signup form ────────────────────────────────────────────── */
.signup-form { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 520px; margin-top: 10px; }
.signup-form__label { font-size: 13px; font-weight: 600; }
.signup-form__row { display: flex; flex-direction: column; gap: 10px; }
.signup-form__input {
  width: 100%; min-height: 48px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--r-full);
  background: var(--surface); color: var(--ink); font: inherit;
  box-shadow: inset 0 1px 2px rgba(38, 60, 48, 0.05);
  transition: border-color var(--t), box-shadow var(--t);
}
.signup-form__input::placeholder { color: var(--muted); }
.signup-form__input { color-scheme: light; }
.signup-form__input:-webkit-autofill,
.signup-form__input:-webkit-autofill:hover,
.signup-form__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset;
  box-shadow: 0 0 0 1000px var(--surface) inset;
  caret-color: var(--ink);
  transition: background-color 999999s ease-in-out 0s;
}
.signup-form__input:autofill { background: var(--surface); color: var(--ink); }
.signup-form__input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(62, 92, 72, 0.12); outline: none; }
.signup-form__input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; box-shadow: none; }
.signup-form__input[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.signup-form__input[aria-invalid="true"]:focus-visible { outline-color: var(--error); }
/* After a successful signup the form turns into one quiet line. */
.signup-form__joined { font-size: 17px; line-height: 1.5; color: var(--ink); }
.signup-form__joined em { font-family: var(--serif); font-style: italic; }
.signup-form--joined .signup-form__row, .signup-form--joined .signup-form__privacy, .signup-form--joined .signup-form__message { display: none; }
.signup-form__btn { position: relative; width: 100%; }
.signup-form__btn-loading { display: none; }
.signup-form--loading .signup-form__btn-text { visibility: hidden; }
.signup-form--loading .signup-form__btn-loading { display: grid; place-items: center; position: absolute; inset: 0; }
.signup-form__privacy { font-size: 12.5px; color: var(--muted); text-align: center; }
.signup-form__message { font-size: 14px; min-height: 1.4em; }
.signup-form__message--success { color: var(--success); }
.signup-form__message--error { color: var(--error); }
.signup-form--dark .signup-form__input { background: var(--paper); border-color: transparent; }
.signup-form--dark .signup-form__input:-webkit-autofill,
.signup-form--dark .signup-form__input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px var(--paper) inset; box-shadow: 0 0 0 1000px var(--paper) inset; }
.signup-form--dark .signup-form__input:focus { box-shadow: 0 0 0 3px rgba(189, 204, 175, 0.35); }
.signup-form--dark .signup-form__input:focus-visible { outline-color: var(--sage); }
.signup-form--dark .signup-form__privacy { color: var(--sage-text); }
.signup-form__privacy a { text-decoration: underline; text-underline-offset: 3px; }
.signup-form__privacy a:hover { color: var(--ink); }
.signup-form--dark .signup-form__privacy a:hover { color: #fffefa; }
.signup-form--dark { --success: #bdccaf; --error: #f0b3a9; }
.signup-form--dark .signup-form__joined { color: #f4f1e8; }
.btn--outline-light { background: transparent; color: #f4f1e8; border: 1.5px solid var(--sage); }
.btn--outline-light:hover { background: var(--sage); color: var(--green-deep); }

/* ── Newsletter (last in the dark band) ─────────────────────── */
.newsletter { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 520px; padding-top: 22px; border-top: 1px solid var(--green-line); }
.newsletter .signup-form { margin-top: 4px; }
.newsletter .signup-form__joined { text-align: center; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; min-height: 56px;
  font-weight: 600; font-size: 15px; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { flex-shrink: 0; color: var(--muted); transition: transform var(--t); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__item p { margin: -4px 0 16px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ── Footer ─────────────────────────────────────────────────── */
/* Legal pages (privacy.html, terms.html) */
.legal { padding: 48px 0 72px; }
.legal__inner { max-width: 760px; }
.legal__title { font-family: var(--serif); font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 28px; }
.legal__body { font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal__body > p:first-child { color: var(--muted); font-size: 15px; }
.legal__body h2 { font-family: var(--serif); font-size: 26px; letter-spacing: -0.015em; line-height: 1.2; margin: 40px 0 12px; }
.legal__body h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal__body p { margin: 0 0 14px; }
.legal__body ul { list-style: disc; margin: 0 0 16px; padding-left: 22px; }
.legal__body li { margin-bottom: 6px; }
.legal__body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--ink); }
.legal__body table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14.5px; line-height: 1.5; }
.legal__body th, .legal__body td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal__body th { font-weight: 600; color: var(--muted); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.legal__footnote { margin-top: 40px; font-size: 14px; color: var(--muted); }
.legal__footnote a:hover { color: var(--ink); }
@media (max-width: 639px) {
  .legal__body table, .legal__body thead, .legal__body tbody, .legal__body tr, .legal__body th, .legal__body td { display: block; }
  .legal__body thead { position: absolute; left: -9999px; }
  .legal__body td { padding: 4px 0; border: 0; }
  .legal__body tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
}

.footer { border-top: 1px solid var(--line); padding: 32px 0 24px; font-size: 13px; color: var(--muted); }
.footer__inner { display: flex; flex-direction: column; gap: 12px; }
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { max-width: 1120px; margin: 20px auto 0; padding: 0 var(--gutter); font-size: 12px; color: var(--muted); }

/* ── Mobile sticky CTA (glass dock, as in the app) ──────────── */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0));
  z-index: 90;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border: 1px solid #dce2d8; border-radius: var(--r-lg);
  background: rgba(248, 247, 243, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: var(--shadow);
  transform: translateY(calc(100% + 24px));
  transition: transform 0.3s ease;
}
.mobile-cta--visible { transform: translateY(0); visibility: visible; transition: transform 0.3s ease, visibility 0s; }
/* While the capsule is up on phones, the nav keeps only the wordmark. */
.has-capsule .nav__cta { display: none; }
.mobile-cta .btn { flex: 1; min-height: 44px; }
.mobile-cta:not(.mobile-cta--visible) { visibility: hidden; transition: transform 0.3s ease, visibility 0s linear 0.3s; }

/* ── Articles (homepage: one featured piece, three title links) ── */
.articles { display: grid; grid-template-columns: 1fr; gap: 24px; }
.articles__featured { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: inherit; text-decoration: none; }
.articles__art { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: var(--soft); margin-bottom: 6px; }
.articles__art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.articles__featured:hover .articles__art img { transform: scale(1.03); }
.articles__title { font-family: var(--serif); font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.articles__featured:hover .articles__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--green); }
.articles__text { display: flex; flex-direction: column; gap: 8px; }
.articles__meta { font-size: 13px; color: var(--muted); }
.articles__excerpt { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.articles__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.articles__list li { border-bottom: 1px solid var(--line); }
.articles__list a { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; color: inherit; text-decoration: none; }
.articles__item-title { font-family: var(--serif); font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.articles__list a:hover .articles__item-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--green); }
.articles__all { margin: 4px 0 0; font-size: 15px; }
.articles__all a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.articles__all a:hover { color: var(--ink); }

/* Articles hub (/articles/): the featured piece as one wide card, the rest as cards, then the inline waitlist card */
.hub { padding: 48px 0 72px; }
.hub__articles { display: grid; gap: 24px; }
.hub__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.hub .article__cta { margin-top: 56px; }

/* ── Article page ───────────────────────────────────────────── */
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; background: var(--surface); color: var(--green); border: 1.5px solid var(--green); border-radius: 999px; font-size: 14px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.article { padding: 24px 0 72px; }
.article__inner { max-width: 760px; }
.article__cover { margin: 0 0 24px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.article__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.article__crumb { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article__crumb:hover { color: var(--ink); }
.article__title { font-family: var(--serif); font-size: clamp(32px, 5.4vw, 48px); letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 16px; text-wrap: balance; }
.article__lead { font-size: 18px; line-height: 1.55; color: var(--muted); margin-bottom: 32px; text-wrap: pretty; }
.article__body { font-size: 17px; line-height: 1.7; color: var(--ink); }
.article__body h2 { font-family: var(--serif); font-size: 26px; letter-spacing: -0.015em; line-height: 1.2; margin: 40px 0 12px; text-wrap: balance; }
.article__body h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.article__body p { margin: 0 0 16px; text-wrap: pretty; }
.article__body ul, .article__body ol { margin: 0 0 18px; padding-left: 24px; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: 8px; text-wrap: pretty; }
.article__body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article__body a:hover { color: var(--ink); }
.article__author { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--muted); }
.article__author { display: flex; align-items: center; gap: 16px; }
.article__author-photo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.article__author-text { min-width: 0; }
.article__author p { max-width: 560px; text-wrap: pretty; }
.article__author-name { font-weight: 600; color: var(--ink); }
.article__notice { margin-top: 28px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 560px; text-wrap: pretty; }
.article__notice::before { content: ""; display: block; width: 40px; height: 1px; background: var(--line); margin-bottom: 10px; }
.article__cta { margin: 40px 0 0; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.article__cta h2 { font-family: var(--serif); font-size: 24px; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 10px; text-wrap: balance; }
.article__cta p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 640px; text-wrap: pretty; }
.article__cta .start { margin-top: 16px; }
.article__more { margin-top: 56px; }
.article__more h2 { font-family: var(--serif); font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 6px; }
.article__more ul { list-style: none; margin: 0; padding: 0; }
.article__more li { border-bottom: 1px solid var(--line); }
.article__more a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; padding: 14px 0; color: inherit; text-decoration: none; }
.article__more-title { font-family: var(--serif); font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; }
.article__more a:hover .article__more-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--green); }
.article__more-meta { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ── Scroll reveal ──────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.fade-in--visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .btn, .mobile-cta, .faq__chevron, .card, .articles__art img, .sample__play, .sample__words span { transition: none; }
  .toast { animation: none; }
  .sample--loading .sample__play::after { animation: none; border-color: var(--sage); opacity: 0.5; }
  .hero::before, .hero::after, .section--soft::before, .section--soft::after, .section--dark .section__backdrop { animation: none; }
  .dot--pulse::after { animation: none; }
}

/* ── ≥ 640px ────────────────────────────────────────────────── */
/* Phones: a bigger, airier hero. Title flows naturally, the three steps become rows, tints sit higher. */
@media (max-width: 639px) {
  .hero__title br { display: none; }
  .hero__subtitle { font-size: 18px; line-height: 1.65; }
  .hero__copy { gap: 28px; }
  .start .hero__status { flex-direction: column; gap: 4px; }
  .start .hero__status-note::before { display: none; }
  .hero::before { top: -14%; right: -45%; width: 130vw; max-width: none; }
  .hero::after { top: 38%; bottom: auto; left: -45%; width: 95vw; max-width: none; }
}

@media (min-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding: 80px 0; }
  .start__actions { flex-direction: row; align-items: center; gap: 24px; }
  .start__note { text-align: left; }
  .hero__status { justify-content: flex-start; }
  .signup-form__row { flex-direction: row; }
  .signup-form__input { flex: 1; }
  .signup-form__btn { width: auto; flex-shrink: 0; }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .plan { padding: 28px 28px 26px; }
  /* The two cards share rows, so prices, lists and buttons line up across them. */
  @supports (grid-template-rows: subgrid) {
    .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 10px; }
    .plan__list { align-self: start; }
  }
  .topics { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .articles__featured { padding: 18px 18px 22px; }
  .articles__featured--wide { flex-direction: row; align-items: center; gap: 28px; padding: 18px; }
  .articles__featured--wide .articles__art { flex: 1.15; margin: 0; }
  .articles__featured--wide .articles__text { flex: 1; }
  .articles__featured--wide .articles__title { font-size: 28px; }
  .hub__cards { grid-template-columns: repeat(2, 1fr); }
  .topic { padding: 22px; }
  .topic .icon { width: 44px; height: 44px; }
  .topic__title { font-size: 17px; }
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .mobile-cta { display: none; }
  .has-capsule .nav__cta { display: inline-flex; }
}

/* ── ≥ 1024px ───────────────────────────────────────────────── */
@media (min-width: 1024px) {
  :root { --nav-h: 72px; }
  .container { padding: 0 64px; }
  .footer__copy { padding: 0 64px; }
  .nav__links { display: flex; }
  .section { padding: 96px 0; }

  .hero { padding: calc(48px + var(--nav-h)) 0 104px; }
  .hero__inner { flex-direction: row; align-items: center; gap: 64px; }
  .hero__copy { flex: 1.5; gap: 28px; }
  .hero__title { font-size: clamp(40px, 3.6vw, 46px); text-wrap: pretty; }
  .section__title { font-size: clamp(30px, 6vw, 40px); }
  .hero__subtitle { max-width: 520px; }
  .hero__visual { flex: 1; margin: 0; padding: 0; height: auto; overflow: visible; }
  .hero__visual::after { display: none; }
  .hero__visual .app__dock { display: block; }
  .phone { transform: rotate(-2deg); }
  .toast { display: flex; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .step { padding: 24px; }
  .step__visual { height: 240px; }
  .step__visual--intent { height: auto; min-height: 240px; }
  .topics { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .articles { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
  .articles__all { grid-column: 1 / -1; margin-top: -16px; }
  .hub__cards { grid-template-columns: repeat(3, 1fr); }
  .hub__cards .articles__title { font-size: 21px; }
  .articles__list a { padding: 18px 0; }
  .article { padding: 48px 0 96px; }

  .inside { flex-direction: row; align-items: center; gap: 48px; }
  .listen { flex-direction: row; align-items: center; gap: 64px; }
  .listen__copy { flex: 1; }
  .listen .sample { flex: 1.15; padding: 24px; }
  .inside__visual { flex: 1.75; min-width: 0; }
  .inside__copy { flex: 1; }
  /* The app's sidebar: a full-height sage column with the create button, the trances left and the main places. */
  .window__side {
    display: flex; flex-direction: column; gap: 4px;
    width: 188px; flex-shrink: 0;
    padding: 18px 14px 14px;
    background: #e4e9db; border-right: 1px solid rgba(38, 60, 48, 0.08);
  }
  .window__logo { font-size: 22px; padding: 0 4px; margin: 0 0 14px; }
  .window__new { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 999px; background: var(--green); color: #fffefa; font-size: 13px; font-weight: 600; }
  .window__credits { display: grid; grid-template-columns: 1fr auto; gap: 5px 0; margin: 8px 2px 12px; font-size: 10.5px; color: var(--muted); }
  .window__credits i { grid-column: 1 / -1; display: block; height: 3px; border-radius: 2px; background: rgba(62, 92, 72, 0.18); }
  .window__credits b { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--green); }
  .window__credits strong { color: var(--ink); font-weight: 600; }
  .window__nav { display: flex; flex-direction: column; gap: 2px; }
  .window__nav li { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
  .window__nav svg { color: var(--ink); opacity: 0.8; }
  .window__nav--active { color: var(--ink); font-weight: 700; }
  .window__nav--active svg { opacity: 1; }
  .window__dot { width: 5px; height: 5px; margin-left: -4px; border-radius: 50%; background: var(--gold); }
  .window__divider { display: block; height: 1px; margin: 6px 6px; background: rgba(38, 60, 48, 0.1); }
  .window__nav--minor li { height: 32px; font-size: 12.5px; }
  .window__main { padding: 26px 26px 20px; }

  .quote { padding: 0 0 24px; }
  .what__inner { flex-direction: row; align-items: center; gap: 64px; }
  .what__copy, .what__facts { flex: 1; }
  .what__facts { padding-top: 6px; }
  .trust { flex-direction: row; align-items: flex-start; gap: 64px; }
  .trust__copy, .trust__list { flex: 1; }
  .trust__list li { padding: 16px 20px; }
  .waitlist { align-items: center; text-align: center; gap: 32px; }
  .waitlist > .ornament { margin-bottom: -20px; }
  .waitlist__sub { font-size: 16px; }
  .waitlist .start__actions { justify-content: center; }
  .waitlist .start__note { text-align: center; }
  .waitlist .signup-form { margin-left: auto; margin-right: auto; }
  .plans { max-width: 880px; }
  .faq { flex-direction: row; gap: 64px; align-items: flex-start; }
  .faq__head { flex: 1; }
  .faq__list { flex: 1; }
  .faq__item { padding: 18px 0; }
  .faq__item summary { font-size: 16px; }
}

/* ── Dark scheme: the field guide read by a bedside lamp. Same tokens, remapped. ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #172f29;
    --surface: #24433a;
    --ink: #f4f1e8;
    --muted: #c4d1c4;
    --line: #3f5c4e;
    --success: #bdccaf;
    --error: #f0b3a9;
    --green: #bdccaf;
    --green-hover: #cbd8bf;
    --green-deep: #0f201b;
    --green-line: #2a4238;
    --sage: #bdccaf;
    --soft: #13271f;
    --raised: #24433a;
    --icon-bg: #4a6e5c;
    --icon-fg: #bdccaf;
    --accent-dot: #8fa08a;
    --mark: #bdccaf;
    --glass: rgba(23, 47, 41, 0.78);
    --shadow: 0 10px 32px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  :root:not([data-theme="light"]) body::before { opacity: 0.08; mix-blend-mode: screen; }
  :root:not([data-theme="light"]) .nav--scrolled, :root:not([data-theme="light"]) .legal-page .nav { background: rgba(23, 47, 41, 0.92); box-shadow: 0 1px 0 var(--line); }
  :root:not([data-theme="light"]) .hero__fade { background: linear-gradient(to bottom, rgba(23, 47, 41, 0), var(--paper)); }
  :root:not([data-theme="light"]) .hero__visual::after { background: linear-gradient(to bottom, rgba(23, 47, 41, 0), var(--paper)); }
  :root:not([data-theme="light"]) .hero::before, :root:not([data-theme="light"]) .hero::after,
  :root:not([data-theme="light"]) .section--soft::before, :root:not([data-theme="light"]) .section--soft::after { opacity: 0.35; }
  :root:not([data-theme="light"]) .toast { background: rgba(42, 74, 63, 0.96); border-color: rgba(255, 255, 255, 0.14); }
  :root:not([data-theme="light"]) .toast__body span { color: #d6e0d6; }
  :root:not([data-theme="light"]) .mobile-cta { background: rgba(23, 47, 41, 0.84); border-color: rgba(255, 255, 255, 0.1); }
  :root:not([data-theme="light"]) .btn--primary { color: #172f29; box-shadow: none; }
  :root:not([data-theme="light"]) .btn--primary:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
  :root:not([data-theme="light"]) .btn--outline:hover { color: #172f29; }
  :root:not([data-theme="light"]) .step__num, :root:not([data-theme="light"]) .chip--on { color: #172f29; }
  :root:not([data-theme="light"]) .section--white { background: #1e3a31; }
  :root:not([data-theme="light"]) .section--dark { background: var(--green-deep); }
  :root:not([data-theme="light"]) .window { box-shadow: var(--shadow); }
  :root:not([data-theme="light"]) .window__side { background: #1e3a31; border-right-color: rgba(255, 255, 255, 0.06); }
  :root:not([data-theme="light"]) .window__new { color: #172f29; }
  :root:not([data-theme="light"]) .tile__play { background: rgba(23, 47, 41, 0.85); }
  :root:not([data-theme="light"]) .section--dark .signup-form__input { border: 1px solid rgba(255, 255, 255, 0.24); }
  :root:not([data-theme="light"]) .section--dark .signup-form__input { background: #24433a; color: var(--ink); }
  :root:not([data-theme="light"]) .signup-form__input { color-scheme: dark; }
  :root:not([data-theme="light"]) .signup-form__input:-webkit-autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px var(--surface) inset; }
  :root:not([data-theme="light"]) .legal__body th { color: var(--muted); }
  /* Step mockups: keep the dark cards dark, light text on them */
  :root:not([data-theme="light"]) .intent { background: #2a4238; color: #f4f1e8; }
  :root:not([data-theme="light"]) .intent__eyebrow, :root:not([data-theme="light"]) .intent__meta { color: #c4d1c4; }
  :root:not([data-theme="light"]) .intent__btn { background: #bdccaf; color: #172f29; }
  :root:not([data-theme="light"]) .voice { border-color: #3f5c4e; background: #24433a; color: #f4f1e8; }
  :root:not([data-theme="light"]) .voice--on { border-color: #bdccaf; background: rgba(189, 204, 175, 0.18); }
  :root:not([data-theme="light"]) .voice i { background: #2a4238; }
  :root:not([data-theme="light"]) .chat__avatar i { background: #172f29; }
  :root:not([data-theme="light"]) .chat__input { background: #24433a; color: #c4d1c4; }
  :root:not([data-theme="light"]) .chat__mic { background: #2a4238; color: #bdccaf; }
  :root:not([data-theme="light"]) .chat__send { background: #2a4238; color: #c4d1c4; }
  :root:not([data-theme="light"]) .step__num { color: #172f29; }
}
