/* ───────────────────────────────────────────────────────────
   Rekhal — marketing site
   Palette + type lifted from the explainer film (v6):
   Caregiver Teal · Rekhal Navy · Memory Violet · Newsreader + Figtree
   Swap the tokens below to re-skin the whole page.
   ─────────────────────────────────────────────────────────── */
:root {
  --paper: #eef3f6;
  --paper-hi: #fafcfd;
  --paper-lo: #e1eaf0;
  --ink: #122b40;
  --ink-soft: #556575;
  --hairline: #c3cfd8;

  --teal: #0f766e;
  --teal-deep: #0b5f59;
  --teal-soft: #5fb3a8;
  --teal-glow: #67d1c4;

  --night-0: #0a2133;
  --night-1: #173b57;
  --night-2: #24506f;
  --ivory: #f2f7fa;
  --ivory-soft: #b4c3cf;

  --violet: #7353ba;
  --violet-soft: #b7a4f0;
  --slate: #6f93ab;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 22px;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
section[id] { scroll-margin-top: 72px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.night :focus-visible { outline-color: var(--teal-glow); }

/* ───────── Type ───────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--night { color: var(--teal-glow); }

.display, .h2, .h3 { font-family: var(--serif); font-weight: 300; color: var(--ink); letter-spacing: -.03em; }
.display { font-size: clamp(2.9rem, 6.4vw, 5.9rem); line-height: 1.01; margin-top: 22px; }
.h2 { font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.05; margin-top: 18px; }
.h3 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.04; margin-top: 14px; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--teal); font-weight: 300; }
.h2--night { color: var(--ivory); }
.h2--night em { color: var(--teal-glow); }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 40ch; margin-top: 24px; }
.body { font-size: 1.1rem; line-height: 1.7; color: var(--ink-soft); max-width: 50ch; margin-top: 20px; }
.body--night { color: var(--ivory-soft); }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--teal); color: var(--paper-hi); box-shadow: 0 10px 24px -10px rgba(15, 118, 110, .7); }
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(15, 118, 110, .75); }
.btn--glow { background: var(--teal-glow); color: var(--night-0); box-shadow: 0 10px 30px -10px rgba(103, 209, 196, .6); }
.btn--glow:hover { background: #8fe3d8; transform: translateY(-1px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ───────── Header ───────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.is-stuck { background: rgba(238, 243, 246, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--hairline); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav__links { display: flex; gap: 34px; font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.nav__links a { text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--teal); }

.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo__word { font-size: 1.55rem; font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.logo__wave { width: 40px; height: 17px; color: var(--teal); }

/* ───────── Hero ───────── */
.hero { position: relative; padding: 132px 0 96px; overflow: clip;
  background:
    radial-gradient(900px 560px at 88% 30%, rgba(95, 179, 168, .32), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(183, 164, 240, .22), transparent 65%),
    var(--paper);
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .12 0 0 0 0 .17 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__thread { position: absolute; inset: auto 0 0 0; width: 100%; height: 62%; pointer-events: none; }
.hero__thread path { fill: none; stroke: var(--teal); stroke-width: 1.2; opacity: .2; stroke-dasharray: 2 0; }
.hero__thread path:nth-child(2) { opacity: .13; }
.hero__thread path:nth-child(3) { opacity: .08; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__copy { padding-block: 24px; }

.waitlist { margin-top: 38px; max-width: 520px; }
.waitlist__row { display: flex; gap: 10px; padding: 7px; border-radius: 999px; background: var(--paper-hi); border: 1px solid var(--hairline); box-shadow: 0 12px 32px -18px rgba(18, 43, 64, .35); transition: border-color .2s, box-shadow .3s; }
.waitlist__row:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, .14), 0 12px 32px -18px rgba(18, 43, 64, .35); }
.waitlist input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font-size: 1.02rem; color: var(--ink); outline: none; }
.waitlist input::placeholder { color: #7b8896; }
.waitlist__note { margin-top: 14px; padding-left: 20px; font-size: .86rem; color: var(--ink-soft); }
.waitlist__status { min-height: 0; }
.waitlist__status:not(:empty) { margin-top: 14px; padding-left: 20px; font-size: .95rem; font-weight: 500; }
.waitlist__status.is-error { color: #a52a22; }
.waitlist.is-success .waitlist__row, .waitlist.is-success .waitlist__note, .waitlist.is-success .waitlist__opt { display: none; }
.waitlist.is-success .waitlist__status { margin: 0; padding: 22px 24px; border-radius: 20px; background: var(--paper-hi); border: 1px solid var(--hairline); font-size: 1rem; color: var(--ink-soft); }
.waitlist.is-success .waitlist__status strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: -.02em; color: var(--teal); margin-bottom: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.watch { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink); }
.watch__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.watch__icon svg { width: 18px; height: 18px; margin-left: 2px; }
.watch:hover .watch__icon { background: var(--teal); color: var(--paper-hi); transform: scale(1.06); }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.glow { position: absolute; inset: 4% 0; background: radial-gradient(closest-side, rgba(103, 209, 196, .5), transparent 72%); filter: blur(24px); pointer-events: none; }
.glow--soft { inset: 8% -4%; background: radial-gradient(closest-side, rgba(95, 179, 168, .38), transparent 72%); }
.glow--violet { background: radial-gradient(closest-side, rgba(183, 164, 240, .5), transparent 72%); }

.chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: rgba(250, 252, 253, .92); border: 1px solid rgba(195, 207, 216, .8); box-shadow: 0 14px 30px -14px rgba(18, 43, 64, .35); font-size: .92rem; font-weight: 600; white-space: nowrap; backdrop-filter: blur(8px); }
.chip svg { width: 22px; height: 12px; color: var(--teal); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.chip--a { left: -7%; top: 13%; animation: bob 7s ease-in-out infinite; }
.chip--b { left: -8%; top: 49%; animation: bob 8s ease-in-out -2s infinite; }
.chip--c { left: 0; bottom: 14%; background: var(--teal); color: var(--paper-hi); border-color: transparent; animation: bob 9s ease-in-out -4s infinite; }
.chip--c svg { color: var(--paper-hi); width: 16px; height: 16px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ───────── Phone ───────── */
.phone {
  --pw: 300px;
  position: relative; width: var(--pw); aspect-ratio: 300 / 616;
  font-size: calc(var(--pw) * .0467); /* 14px at 300px wide; the whole UI is in em */
  padding: .72em; border-radius: 3.2em; background: #0f2234;
  box-shadow: 0 50px 90px -34px rgba(10, 33, 51, .55), 0 18px 36px -18px rgba(10, 33, 51, .4), inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 2px 0 rgba(255, 255, 255, .09);
}
.phone--tilt { transform: perspective(1600px) rotateY(-9deg) rotateX(3deg) rotate(2.5deg); animation: tilt 9s ease-in-out infinite; }
@keyframes tilt {
  0%, 100% { transform: perspective(1600px) rotateY(-9deg) rotateX(3deg) rotate(2.5deg) translateY(0); }
  50% { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg) rotate(2deg) translateY(-8px); }
}
.phone__screen { position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 2.55em; overflow: hidden; background: var(--paper-hi); color: var(--ink); line-height: 1.35; }
.phone__island { position: absolute; z-index: 3; top: .75em; left: 50%; width: 7.6em; height: 2.1em; margin-left: -3.8em; border-radius: 1.1em; background: #0a1620; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 1.15em 1.9em 0; height: 3.2em; font-size: .8em; font-weight: 600; letter-spacing: -.01em; }
.status__icons { display: inline-flex; align-items: center; gap: .35em; }
.status__icons i { display: block; height: .62em; border-radius: .2em; background: var(--ink); }
.status__icons i:nth-child(1) { width: 1.05em; clip-path: polygon(0 100%, 0 70%, 25% 70%, 25% 45%, 50% 45%, 50% 20%, 75% 20%, 75% 0, 100% 0, 100% 100%); }
.status__icons i:nth-child(2) { width: .95em; border-radius: 50% 50% .2em .2em; }
.status__icons i:nth-child(3) { width: 1.7em; height: .72em; border-radius: .25em; }
.app { flex: 1; min-height: 0; overflow: hidden; padding: .5em 1.35em 0; }
.app__head { display: flex; align-items: center; justify-content: space-between; padding-top: .6em; }
.app__logo { display: inline-flex; align-items: center; gap: .3em; font-size: 1.62em; font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.app__logo svg { width: 2.1em; height: .88em; color: var(--teal); }
.app__gear { width: 1.55em; height: 1.55em; color: var(--ink); }
.dots { letter-spacing: .1em; font-weight: 700; color: var(--ink-soft); }

.person { display: flex; align-items: center; gap: .85em; margin-top: 1.3em; }
.avatar { display: grid; place-items: center; flex: none; width: 3.1em; height: 3.1em; border-radius: 50%; background: var(--slate); color: var(--paper-hi); font-size: 1.1em; font-weight: 400; }
.person__name { display: flex; flex-direction: column; font-weight: 600; font-size: 1.12em; line-height: 1.15; }
.person__name small { font-size: .78em; font-weight: 400; color: var(--ink-soft); }
.ready { margin-left: auto; display: inline-flex; align-items: center; gap: .4em; font-size: .72em; color: var(--ink-soft); white-space: nowrap; }
.ready i { width: .7em; height: .7em; border-radius: 50%; background: var(--teal-soft); }
.person--sm .avatar { width: 2.7em; height: 2.7em; }

.conv { margin-top: 1.2em; padding: .2em 0 .2em .95em; border-left: .2em solid var(--teal); }
.conv__meta { display: flex; justify-content: space-between; font-size: .76em; color: var(--ink-soft); }
.conv h3 { margin-top: .5em; font-size: 1.28em; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
.conv p { margin-top: .55em; font-size: .86em; line-height: 1.45; color: var(--ink-soft); }
.conv__link { display: inline-block; margin-top: .6em; font-size: .86em; font-weight: 600; color: var(--teal); }

.voice { margin-top: 1.2em; padding-top: 1.1em; border-top: 1px solid var(--hairline); }
.voice__label { font-size: .86em; font-weight: 500; }
.voice__row { display: flex; align-items: center; gap: .8em; margin-top: .45em; }
.voice__row .wave { flex: 1; height: 3em; }
.voice__play { display: grid; place-items: center; flex: none; width: 3em; height: 3em; border-radius: 50%; background: var(--teal); color: var(--paper-hi); }
.voice__play svg { width: 1.2em; height: 1.2em; margin-left: .1em; }
.app-btn { display: flex; align-items: center; justify-content: center; gap: .5em; margin-top: 1.1em; padding: 1em; border-radius: 1.05em; background: var(--teal); color: var(--paper-hi); font-size: 1.04em; font-weight: 600; box-shadow: 0 .6em 1.2em -.6em rgba(15, 118, 110, .7); }
.app-btn svg { width: 1.25em; height: 1.25em; }
.app__cap { margin-top: .7em; text-align: center; font-size: .72em; color: var(--ink-soft); }
.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); padding: .7em .5em 1.15em; border-top: 1px solid var(--paper-lo); background: var(--paper-hi); }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: .25em; font-size: .66em; color: var(--ink-soft); }
.tabbar svg { width: 2.1em; height: 2.1em; }
.tabbar .on { color: var(--teal); }

.wave path { fill: none; stroke: var(--teal); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .85; transform-box: fill-box; transform-origin: center; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scaleY(.82); } 50% { transform: scaleY(1.12); } }

/* record screen */
.app--record { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 1.1em; }
.rec-title { font-family: var(--serif); font-weight: 500; font-size: 1.62em; line-height: 1.15; letter-spacing: -.02em; max-width: 9em; }
.rec-sub { margin-top: .9em; font-size: .8em; line-height: 1.45; color: var(--ink-soft); max-width: 17em; }
.rec-orn { display: flex; align-items: center; gap: .6em; margin-top: .9em; color: var(--teal); }
.rec-orn i { width: 1.6em; height: 1px; background: currentColor; opacity: .6; }
.rec-orn svg { width: .85em; height: .85em; }
.radial { position: relative; width: 15.5em; height: 15.5em; margin-top: .9em; }
.radial svg { width: 100%; height: 100%; }
.radial line { stroke: var(--teal); stroke-linecap: round; stroke-width: 1.6; transform-box: fill-box; transform-origin: 50% 100%; animation: tick 1.6s ease-in-out infinite; }
@keyframes tick { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1.15); } }
.radial__mic { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 4.3em; height: 4.3em; border-radius: 50%; background: var(--teal); color: var(--paper-hi); box-shadow: 0 0 0 .8em rgba(15, 118, 110, .12); }
.radial__mic svg { width: 1.9em; height: 1.9em; }
.rec-state { margin-top: .6em; font-family: var(--serif); font-style: italic; font-size: 1.04em; }
.rec-time { margin-top: .35em; font-size: .78em; letter-spacing: .1em; color: var(--ink-soft); }
.app-btn--between { align-self: stretch; justify-content: space-between; padding-inline: 1.2em; margin-top: auto; margin-bottom: 1.2em; }
.app-btn--between span { display: inline-flex; align-items: center; gap: .7em; }
.stop { width: .72em; height: .72em; border-radius: .15em; background: var(--paper-hi); }

/* call screen */
.callwave { margin-top: 1em; padding: .6em 0; border-radius: 1em; background: var(--paper-lo); }
.callwave .wave { width: 100%; height: 3.2em; }
.lines { margin-top: .9em; }
.lines li { padding: .6em 0; border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: 1fr auto; row-gap: .15em; }
.lines b { font-size: .7em; font-weight: 700; color: var(--teal); }
.lines .dad b { color: var(--ink-soft); font-weight: 500; }
.lines time { font-size: .62em; color: var(--ink-soft); align-self: center; }
.lines p { grid-column: 1 / -1; font-size: .86em; line-height: 1.35; }
.ctx { display: flex; align-items: center; gap: .8em; margin-top: .8em; padding: .7em .9em; border-radius: .9em; background: var(--paper-lo); font-size: .86em; font-weight: 600; line-height: 1.2; }
.ctx svg { width: 1.7em; height: 1.7em; color: var(--ink-soft); flex: none; }
.ctx small { display: block; font-size: .78em; font-weight: 400; color: var(--ink-soft); }
.ctx em { margin-left: auto; font-style: normal; color: var(--ink-soft); }
.app-btn--end { margin-top: .9em; }
.livepill { display: inline-flex; align-items: center; gap: .45em; padding: .35em .8em; border-radius: 999px; background: rgba(15, 118, 110, .12); color: var(--teal-deep); font-size: .74em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.livepill i { width: .6em; height: .6em; border-radius: 50%; background: var(--teal); animation: pulse 1.4s ease-in-out infinite; }
.live-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; margin-top: .9em; }
.live-btns .app-btn { margin: 0; padding: .9em .4em; font-size: .94em; }
.app-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--hairline); box-shadow: none; }

/* review screen */
.rv-nav { display: flex; justify-content: space-between; align-items: center; padding-top: .7em; font-size: .78em; color: var(--teal); }
.rv-nav b { color: var(--ink); font-weight: 600; }
.rv-when { margin-left: auto; text-align: right; font-size: .7em; color: var(--ink-soft); line-height: 1.3; }
.rv-when small { display: block; font-size: 1em; }
.rv-title { margin-top: 1.1em; font-size: 1.5em; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.rv-text { margin-top: .6em; font-size: .84em; line-height: 1.45; color: var(--ink-soft); }
.rv-quote { margin-top: .9em; padding-left: .9em; border-left: .2em solid var(--teal); font-family: var(--serif); font-size: 1.3em; line-height: 1.2; }
.rv-quote cite { display: block; margin-top: .4em; font-family: var(--sans); font-style: normal; font-size: .56em; color: var(--ink-soft); }
.rv-link { display: inline-flex; align-items: center; gap: .45em; margin-top: .8em; font-size: .8em; font-weight: 600; color: var(--teal); }
.rv-link svg { width: 1.3em; height: 1.3em; }
.mem { margin-top: .9em; padding: .9em 1em; border-radius: 1em; font-size: .86em; line-height: 1.3; }
.mem small { display: block; font-size: .78em; font-weight: 600; letter-spacing: .01em; }
.mem--saved { display: flex; align-items: center; gap: .8em; background: #d6ede7; font-weight: 600; }
.mem--saved small { color: var(--teal-deep); }
.mem__tick { display: grid; place-items: center; flex: none; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--teal); color: var(--paper-hi); }
.mem__tick svg { width: 1.1em; height: 1.1em; }
.mem--maybe { background: #e6dffa; }
.mem--maybe small { display: flex; align-items: center; gap: .4em; color: var(--violet); }
.mem--maybe small svg { width: 1em; height: 1em; }
.mem--maybe b { display: block; margin-top: .35em; font-size: 1.1em; }
.mem--maybe p { margin-top: .2em; font-size: .86em; color: #5b5470; }
.mem__btns { display: flex; gap: .6em; margin-top: .7em; }
.mem__btns span { padding: .5em 1.1em; border-radius: .7em; font-weight: 600; font-size: .86em; color: var(--ink-soft); }
.mem__btns .mem__save { background: var(--teal); color: var(--paper-hi); }

/* ───────── What Rekhal does ───────── */
.does { background: var(--paper-hi); border-block: 1px solid var(--hairline); }
.does__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.does__item { padding: clamp(32px, 4vw, 52px) clamp(20px, 3vw, 40px); }
.does__item + .does__item { border-left: 1px solid var(--hairline); }
.does__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(15, 118, 110, .1); color: var(--teal); }
.does__icon svg { width: 24px; height: 24px; }
.does h2 { margin-top: 22px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.12; letter-spacing: -.02em; }
.does p { margin-top: 10px; color: var(--ink-soft); line-height: 1.65; max-width: 34ch; }
.does p b { color: var(--ink); font-weight: 600; }

.floatnote { position: absolute; z-index: 2; right: -10%; top: 41%; max-width: 230px; padding: 14px 18px 16px; border-radius: 18px 18px 18px 6px; color: var(--ivory); font-family: var(--serif); font-size: 1.15rem; line-height: 1.3;
  background: linear-gradient(160deg, var(--night-1), var(--night-0)); box-shadow: 0 24px 44px -20px rgba(10, 33, 51, .6); }
.floatnote span { display: block; margin-bottom: 4px; font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-glow); }

/* ───────── Story ───────── */
.story { padding: clamp(72px, 10vw, 140px) 0; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story__chat { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3.5vw, 44px); border-radius: 32px; background: linear-gradient(160deg, var(--night-1), var(--night-0)); box-shadow: 0 40px 70px -40px rgba(10, 33, 51, .6); overflow: hidden; }
.story__chat::before { content: ""; position: absolute; left: -10%; right: -10%; top: 52%; height: 2px; background: linear-gradient(90deg, transparent, var(--teal-glow), transparent); opacity: .18; }
.bubble { position: relative; max-width: 88%; padding: 14px 18px 16px; border-radius: 20px; font-family: var(--serif); font-size: 1.22rem; line-height: 1.35; }
.bubble .who { display: block; margin-bottom: 4px; font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.bubble--dad { align-self: flex-start; background: var(--paper); color: var(--ink); border-bottom-left-radius: 6px; }
.bubble--rek { align-self: flex-end; background: #11846f; color: #f2fbf9; border-bottom-right-radius: 6px; }
.bubble--short { align-self: flex-start; margin-left: 12%; }
.story__caption { display: inline-flex; align-items: center; gap: 10px; align-self: center; margin-top: 10px; padding: 9px 18px; border-radius: 999px; background: var(--paper-hi); color: var(--ink); font-size: .9rem; font-weight: 600; }
.story__caption svg { width: 16px; height: 16px; color: var(--teal); }
.story__note { align-self: center; font-size: .78rem; color: var(--ivory-soft); opacity: .8; }

/* ───────── Night sections ───────── */
.night { position: relative; overflow: clip; color: var(--ivory);
  background:
    radial-gradient(1100px 620px at 18% 0%, rgba(36, 80, 111, .85), transparent 62%),
    radial-gradient(900px 520px at 92% 100%, rgba(15, 118, 110, .3), transparent 65%),
    linear-gradient(180deg, var(--night-0), var(--night-1));
}
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #cfe8ee 50%, transparent 52%),
    radial-gradient(1px 1px at 27% 72%, #cfe8ee 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 43% 33%, #cfe8ee 50%, transparent 52%),
    radial-gradient(1px 1px at 58% 82%, #cfe8ee 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 71% 14%, #cfe8ee 50%, transparent 52%),
    radial-gradient(1px 1px at 86% 58%, #cfe8ee 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 93% 26%, #cfe8ee 50%, transparent 52%),
    radial-gradient(1px 1px at 6% 61%, #cfe8ee 50%, transparent 52%);
  background-size: 520px 420px;
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .8; } }
.night > .wrap { position: relative; z-index: 1; }
.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .body { margin-inline: auto; }

/* ───────── Video ───────── */
.video { padding: clamp(72px, 10vw, 130px) 0; }
.player { position: relative; width: min(100%, 1040px); margin: clamp(32px, 5vw, 56px) auto 0; aspect-ratio: 16 / 9; border-radius: clamp(18px, 2.4vw, 30px); overflow: hidden; background: #06121d;
  box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 120px -30px rgba(103, 209, 196, .25); }
.player video { width: 100%; height: 100%; object-fit: cover; background: #06121d; }
.player__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(6, 18, 29, .1), rgba(6, 18, 29, .45)); transition: opacity .35s, background-color .3s; }
.player__ring { display: grid; place-items: center; width: clamp(72px, 9vw, 104px); height: clamp(72px, 9vw, 104px); border-radius: 50%; background: rgba(242, 247, 250, .16); border: 1.5px solid rgba(242, 247, 250, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ivory); transition: transform .4s var(--ease), background-color .3s; }
.player__ring svg { width: 36%; height: 36%; margin-left: 5%; }
.player__play:hover .player__ring { transform: scale(1.08); background: rgba(103, 209, 196, .35); }
.player__label { font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.player.is-playing .player__play { opacity: 0; pointer-events: none; }

/* ───────── How it works ───────── */
.how { padding: clamp(72px, 10vw, 130px) 0 clamp(24px, 4vw, 48px); }
.how .section-head { margin-bottom: clamp(24px, 4vw, 56px); }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--hairline); }
.step--flip .step__copy { order: 2; }
.step__copy { position: relative; }
.step__copy > *:not(.step__num) { position: relative; z-index: 1; }
.step__num { position: absolute; z-index: 0; top: -.32em; left: -.1em; font-family: var(--serif); font-weight: 200; font-size: clamp(190px, 26vw, 360px); line-height: 1; color: rgba(15, 118, 110, .075); pointer-events: none; user-select: none; }
.step__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.step__visual .phone { z-index: 1; }

.transcript { margin-top: 30px; max-width: 520px; padding: 20px 24px 24px; border-radius: 22px; background: rgba(250, 252, 253, .85); border: 1px solid var(--hairline); box-shadow: 0 24px 44px -28px rgba(18, 43, 64, .45); }
.transcript__bar { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.transcript__bar span { display: inline-flex; align-items: center; gap: 9px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.transcript p { margin-top: 12px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; }
.transcript mark { background: rgba(15, 118, 110, .16); color: inherit; padding: 0 .22em; border-radius: 6px; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; vertical-align: -.15em; background: var(--teal); animation: pulse 1s steps(2) infinite; }

.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal); color: var(--paper-hi); }
.feat { margin-top: 30px; display: grid; gap: 22px; max-width: 460px; }
.feat li { display: flex; gap: 16px; align-items: flex-start; }
.feat__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--paper-hi); box-shadow: 0 8px 20px -10px rgba(18, 43, 64, .35); color: var(--teal); }
.feat__icon svg { width: 24px; height: 24px; }
.feat b { display: block; font-size: 1.05rem; }
.feat p { margin-top: 2px; color: var(--ink-soft); font-size: .98rem; }

.voicecard { position: relative; width: min(100%, 540px); padding: clamp(26px, 3.5vw, 40px); border-radius: 30px; color: var(--ivory); overflow: hidden;
  background: radial-gradient(500px 280px at 90% 0%, rgba(183, 164, 240, .28), transparent 70%), linear-gradient(160deg, var(--night-1), var(--night-0));
  box-shadow: 0 40px 70px -36px rgba(10, 33, 51, .65); }
.voicecard__steps { display: grid; gap: 16px; }
.voicecard__steps li { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 1.28rem; color: var(--ivory-soft); opacity: .55; }
.voicecard__steps .done, .voicecard__steps .now { opacity: 1; color: var(--ivory); }
.tick { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(180, 195, 207, .5); }
.done .tick { background: var(--teal-glow); border-color: var(--teal-glow); color: var(--night-0); }
.done .tick svg { width: 14px; height: 14px; }
.now .tick { border-color: var(--teal-glow); }
.now .tick i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-glow); animation: pulse 1.4s ease-in-out infinite; }
.wave--big { width: 100%; height: 90px; margin-top: 30px; }
.wave--big path { stroke: var(--teal-glow); }

/* ───────── Memory ───────── */
.memory { padding: clamp(72px, 10vw, 130px) 0; }
.galaxy { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.galaxy svg { width: 100%; height: auto; overflow: visible; }
.galaxy .edge { stroke: rgba(180, 195, 207, .26); stroke-width: 1.2; transition: stroke .5s, stroke-width .5s, opacity .5s; }
.galaxy .edge.lit { stroke: var(--teal-glow); stroke-width: 2; opacity: 1; }
.galaxy .halo { opacity: .14; transition: opacity .6s, r .6s; }
.galaxy .node.lit .halo { opacity: .5; }
.galaxy .node { cursor: default; }
.galaxy .node text { font-family: var(--sans); font-size: 14px; font-weight: 500; fill: var(--ivory-soft); text-anchor: middle; transition: fill .4s; pointer-events: none; }
.galaxy .node.core text { font-size: 19px; font-weight: 600; fill: var(--ivory); }
.galaxy .node.lit text { fill: var(--ivory); }
.galaxy .node .sub { font-size: 11.5px; font-weight: 400; fill: #8fa3b3; }
.galaxy .node.wait .core-dot { fill: transparent; stroke: var(--ivory-soft); stroke-width: 1.4; stroke-dasharray: 3 3; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 12px; font-size: .86rem; color: var(--ivory-soft); }
.legend li { display: inline-flex; align-items: center; gap: 9px; }
.k { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.k--you { background: var(--teal-glow); }
.k--learned { background: var(--violet-soft); }
.k--wait { border: 1.4px dashed var(--ivory-soft); }

/* ───────── Trust ───────── */
.trust { padding: clamp(72px, 10vw, 130px) 0; }
.trust__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.tcard { grid-column: span 5; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--paper-hi); border: 1px solid var(--hairline); }
.tcard__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(15, 118, 110, .1); color: var(--teal); }
.tcard__icon svg { width: 24px; height: 24px; }
.tcard h3 { margin-top: 20px; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.12; letter-spacing: -.02em; }
.tcard p { margin-top: 10px; color: var(--ink-soft); line-height: 1.65; }
.tcard--lg { grid-column: span 7; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; color: var(--ivory); border: 0;
  background: radial-gradient(420px 260px at 85% 0%, rgba(103, 209, 196, .25), transparent 70%), linear-gradient(160deg, var(--night-1), var(--night-0)); }
.tcard--lg .tcard__icon { margin-bottom: auto; background: rgba(103, 209, 196, .14); color: var(--teal-glow); }
.tcard--lg h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.tcard--lg p { color: var(--ivory-soft); font-size: 1.08rem; max-width: 40ch; }
.tcard--wide { grid-column: span 12; display: flex; align-items: center; gap: 24px; background: linear-gradient(100deg, rgba(95, 179, 168, .2), rgba(183, 164, 240, .2)); border-color: transparent; }
.tcard--wide h3 { margin-top: 0; }
.tcard--wide .tcard__icon { flex: none; background: var(--paper-hi); }

/* ───────── FAQ ───────── */
.faq { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 130px); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { position: sticky; top: 110px; }
.faq__list { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--teal), var(--teal)) center / 100% 1.5px no-repeat, linear-gradient(var(--teal), var(--teal)) center / 1.5px 100% no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-soft); line-height: 1.7; max-width: 56ch; }

/* ───────── CTA ───────── */
.cta { padding: clamp(88px, 12vw, 160px) 0; text-align: center; }
.cta__thread { position: absolute; inset: auto 0 0 0; width: 100%; height: 55%; pointer-events: none; }
.cta__thread path { fill: none; stroke: var(--teal-glow); stroke-width: 1.4; opacity: .28; }
.cta__thread path:nth-child(2) { stroke: var(--violet-soft); opacity: .22; }
.cta__in { display: flex; flex-direction: column; align-items: center; }
.cta .h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.cta .body { text-align: center; margin-inline: auto; }
.waitlist--night { margin-inline: auto; width: min(100%, 560px); text-align: left; }
.waitlist--night .waitlist__row { background: rgba(242, 247, 250, .08); border-color: rgba(242, 247, 250, .22); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.waitlist--night .waitlist__row:focus-within { border-color: var(--teal-glow); box-shadow: 0 0 0 4px rgba(103, 209, 196, .16); }
.waitlist--night input[type="email"] { color: var(--ivory); }
.waitlist--night input::placeholder { color: #8fa3b3; }
.waitlist--night .waitlist__note { color: var(--ivory-soft); }
.waitlist--night .waitlist__status.is-error { color: #ffb4a9; }
.waitlist--night.is-success .waitlist__status { background: rgba(242, 247, 250, .08); border-color: rgba(242, 247, 250, .2); color: var(--ivory-soft); }
.waitlist--night.is-success .waitlist__status strong { color: var(--teal-glow); }
.waitlist__opt { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-left: 20px; font-size: .92rem; color: var(--ivory-soft); }
.waitlist__opt em { font-style: normal; opacity: .65; }
.waitlist__opt select { flex: 1; max-width: 220px; appearance: none; -webkit-appearance: none; padding: 10px 40px 10px 16px; border-radius: 12px; border: 1px solid rgba(242, 247, 250, .22); color: var(--ivory); cursor: pointer;
  background: rgba(242, 247, 250, .08) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%23b4c3cf' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.waitlist__opt select option { color: #122b40; background: #fafcfd; }

/* ───────── Footer ───────── */
.foot { padding: 56px 0 48px; background: var(--night-0); color: var(--ivory-soft); border-top: 1px solid rgba(242, 247, 250, .08); }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 28px 48px; align-items: start; }
.foot .logo { color: var(--ivory); }
.foot .logo__wave { color: var(--teal-glow); }
.foot__brand p { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .95rem; }
.foot__nav a { text-decoration: none; transition: color .2s; }
.foot__nav a:hover { color: var(--teal-glow); }
.foot__legal { grid-column: 1 / -1; max-width: 78ch; padding-top: 28px; border-top: 1px solid rgba(242, 247, 250, .1); font-size: .82rem; line-height: 1.65; opacity: .8; }

/* ───────── Reveal ───────── */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero { padding: 108px 0 72px; }
  .hero__grid, .story__grid, .step, .faq__grid { grid-template-columns: 1fr; }
  .hero__stage { min-height: 0; padding-top: 24px; }
  .chip--a { left: 2%; } .chip--b { left: 0; }
  .step--flip .step__copy { order: 0; }
  .step__visual { min-height: 0; }
  .does__grid { grid-template-columns: 1fr; }
  .does__item + .does__item { border-left: 0; border-top: 1px solid var(--hairline); }
  .floatnote { position: static; margin-top: 20px; max-width: 290px; }
  .step__num { font-size: 200px; }
  .faq .section-head { position: static; }
  .trust__grid { grid-template-columns: 1fr; }
  .tcard, .tcard--lg, .tcard--wide { grid-column: auto; grid-row: auto; }
  .tcard--lg { min-height: 300px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .waitlist__row { flex-direction: column; border-radius: 26px; padding: 8px; }
  .waitlist input[type="email"] { min-height: 50px; }
  .waitlist__row .btn { width: 100%; }
  .waitlist__note, .waitlist__status:not(:empty) { padding-left: 4px; }
  .chip--b, .chip--c { display: none; }
  .chip--a { top: 3%; left: 0; }
  .waitlist__opt { flex-direction: column; align-items: flex-start; padding-left: 4px; }
  .waitlist__opt select { max-width: none; width: 100%; }
  .tcard--wide { flex-direction: column; align-items: flex-start; }
  .bubble { font-size: 1.1rem; }
  .foot__in { grid-template-columns: 1fr; }
  .galaxy .node .minor { display: none; }
  .galaxy .node text { font-size: 24px; }
  .galaxy .node.core text { font-size: 30px; }
  .galaxy .node .sub { font-size: 20px; }
  .faq summary { font-size: 1.25rem; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .phone--tilt { transform: perspective(1600px) rotateY(-9deg) rotateX(3deg) rotate(2.5deg); }
}
