@font-face { font-family: "Spectral"; font-weight: 300; font-style: italic; font-display: swap; src: url(/assets/fonts/spectral-300i.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/spectral-400i.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400 500; font-style: normal; font-display: swap; src: url(/assets/fonts/dmsans.woff2) format("woff2"); }

:root {
  --paper: #F4F5F9;
  --mist: #E4E7F0;
  --ink: #191D2E;
  --slate: #5B6178;
  --dusk: #232A44;
  --glow: #F3CB72;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --guide: "Spectral", Georgia, serif;
  --w: 1160px;
  --pad: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.guide { font-family: var(--guide); font-style: italic; font-weight: 300; letter-spacing: 0; }

/* buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font: 500 1rem/1 var(--sans); padding: 16px 24px; border-radius: 10px; border: 0; cursor: pointer; }
.btn:hover { background: #2E344D; }
.btn-sm { padding: 11px 16px; font-size: .9375rem; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(244,245,249,.88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--mist); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; }
.mark svg { width: 26px; height: 26px; flex: none; }
.mark .app { color: var(--slate); font-weight: 400; }
.top nav { display: flex; align-items: center; gap: 28px; font-size: .9375rem; }
.top nav a:not(.btn) { text-decoration: none; color: #3A4058; }
.top nav a:not(.btn):hover, .top nav a[aria-current] { color: var(--ink); text-decoration: underline; }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero-in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 11ch; }
.sub { font-size: 1.1875rem; line-height: 1.55; color: #33394F; margin: 24px 0 32px; max-width: 34em; }
.hero-act { margin: 0 0 14px; }
.quiet { color: var(--slate); font-size: .9375rem; margin: 0; }

/* a scene from the world, with the guide speaking over it (HTML, not baked into the image) */
.scene { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--dusk); box-shadow: 0 24px 60px -28px rgba(25,29,46,.55); }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.hero-scene { aspect-ratio: 3 / 2; }
.subtitle { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); width: min(88%, 32rem); text-align: center; display: grid; gap: 10px; justify-items: center; }
.subtitle .guide { display: block; color: #F1F3FA; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.45; text-shadow: 0 1px 14px rgba(8,10,22,.85); background: rgba(14,18,34,.42); padding: 10px 16px; border-radius: 12px; }
.subtitle .heard { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; color: #E6E9F3; background: rgba(14,18,34,.55); padding: 6px 12px 6px 10px; border-radius: 999px; }

/* the ear: a small wave, as in the app */
.wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.wave i { width: 2px; border-radius: 2px; background: var(--glow); height: 40%; }
.wave i:nth-child(2) { height: 85%; } .wave i:nth-child(3) { height: 60%; } .wave i:nth-child(4) { height: 100%; } .wave i:nth-child(5) { height: 45%; }

/* goals */
.goals { padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--mist); }
.goals h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 20px; }
.pills { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { border: 1px solid #C9CEDC; background: #fff; border-radius: 999px; padding: 12px 20px; font-size: 1.0625rem; }
.goals-note { color: var(--slate); margin: 0; max-width: 46em; }

/* session steps as app screens */
.steps-sec { padding: clamp(64px, 9vw, 112px) 0; background: #fff; }
.sec-head { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head .answer { margin: 0; color: #33394F; font-size: 1.0625rem; }
.screens { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px); }
.screens > li > h3 { margin: 22px 0 8px; display: flex; gap: 10px; align-items: baseline; }
.screens > li > p { color: #4A5068; margin: 0; font-size: 1rem; }
.n { color: var(--slate); font-weight: 400; font-variant-numeric: tabular-nums; }
.screen { background: var(--dusk); color: #E9ECF5; border-radius: 18px; padding: 24px 22px 22px; min-height: 360px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 50px -30px rgba(25,29,46,.6); }
.screen hr { border: 0; border-top: 1px solid rgba(233,236,245,.14); margin: 4px 0; width: 100%; }
.s-guide { font-family: var(--guide); font-style: italic; font-weight: 300; font-size: 1.0625rem; line-height: 1.45; margin: 0; }
.s-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.s-chips span { border: 1px solid rgba(233,236,245,.28); border-radius: 999px; padding: 6px 12px; font-size: .8125rem; }
.s-chips span.on { border-color: var(--glow); color: #fff; }
.s-label { font-size: .8125rem; color: #A9B0C8; margin: 0; }
.s-label.light { color: #A9B0C8; }
.s-big { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.02em; margin: -8px 0 0; color: #fff; }
.s-heard { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; color: #C9CEE0; margin: 0; }
.s-lines { margin: 0; padding: 0 0 0 1.3em; font-family: var(--guide); font-style: italic; font-weight: 400; font-size: 1.0625rem; line-height: 1.5; color: #fff; }
.s-lines li::marker { color: var(--glow); font-family: var(--sans); font-style: normal; font-size: .8125rem; }
.s-rate { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; height: 112px; }
.s-rate > div { display: grid; grid-template-rows: 1fr auto auto; align-items: end; height: 100%; }
.s-rate .bar { display: block; height: calc(var(--v) * 70px); background: rgba(233,236,245,.28); border-radius: 6px 6px 2px 2px; }
.s-rate .bar.after { background: var(--glow); }
.s-rate b { font-size: 1.25rem; font-weight: 500; margin-top: 6px; color: #fff; }
.s-rate small { font-size: .75rem; color: #A9B0C8; }
.example-note { margin: 28px 0 0; font-size: .875rem; color: var(--slate); }

/* place */
.place { padding: clamp(64px, 9vw, 112px) 0; }
.place-in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.place-scene { aspect-ratio: 3 / 2; }
.place-copy h2 { margin-bottom: 20px; }
.place-copy p { color: #33394F; }

/* Spiegel */
.spiegel { background: var(--dusk); color: #E9ECF5; padding: clamp(64px, 9vw, 112px) 0; }
.spiegel-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.exercise { margin: 14px 0 0; font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.3; color: #fff; }
.exercise::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 24px 6px rgba(243,203,114,.45); margin-bottom: 22px; }
.spiegel h2 { margin-bottom: 20px; color: #fff; }
.spiegel p { color: #CDD2E2; }
.spiegel strong { color: #fff; font-weight: 500; }
.fine { font-size: .875rem; color: #A9B0C8 !important; margin-top: 24px; }

/* research */
.research { padding: clamp(64px, 9vw, 112px) 0; }
.research-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.research h2 { margin-bottom: 20px; }
.research .answer { color: #33394F; }
.more { font-weight: 500; }
.chart { margin: 0; background: #fff; border-radius: 18px; padding: 24px 26px; border: 1px solid var(--mist); }
.chart table { width: 100%; border-collapse: collapse; }
.chart caption { text-align: left; font-size: .875rem; color: var(--slate); padding-bottom: 14px; caption-side: top; }
.chart th, .chart td { text-align: left; padding: 12px 0; border-top: 1px solid var(--mist); vertical-align: middle; font-weight: 400; }
.chart th { width: 24%; font-weight: 500; padding-right: 12px; }
.chart td:nth-child(2) { width: 46%; padding-right: 20px; }
.chart .val { display: grid; grid-template-columns: 1fr 4.6em; gap: 12px; align-items: center; }
.chart td:last-child { font-size: .875rem; color: var(--slate); }
.chart .bar { display: block; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--ink) 0 calc(var(--v) / 1 * 100%), var(--mist) 0); }
.chart .bar.range { background: linear-gradient(90deg, var(--ink) 0 calc(var(--from) * 100%), #8A90A8 0 calc(var(--v) * 100%), var(--mist) 0); }
.chart .bar.none { background: repeating-linear-gradient(90deg, #C9CEDC 0 4px, transparent 4px 8px); height: 2px; }
.chart b { font-weight: 500; font-variant-numeric: tabular-nums; font-size: .9375rem; white-space: nowrap; }

/* is / isn't */
.isnt { padding: clamp(64px, 9vw, 112px) 0; background: #fff; }
.isnt h2 { margin-bottom: clamp(28px, 4vw, 44px); max-width: 18ch; }
.isnt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 44px); }
.isnt-grid > div { border-top: 1px solid var(--mist); padding: 20px 0 28px; }
.isnt-grid h3 { margin-bottom: 8px; }
.isnt-grid p { color: #4A5068; margin: 0; font-size: 1rem; }

/* kalki */
.kalki { padding: clamp(48px, 6vw, 72px) 0; border-bottom: 1px solid var(--mist); }
.kalki-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: baseline; }
.kalki h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.kalki h2, .faq-in > h2 { position: sticky; top: 92px; align-self: start; }
.kalki p { margin: 0; color: #33394F; font-size: 1.125rem; }

/* FAQ */
.faq-sec { padding: clamp(64px, 9vw, 112px) 0; }
.faq-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq details { border-top: 1px solid #D6DAE5; }
.faq details:last-child { border-bottom: 1px solid #D6DAE5; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 2.4em 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary h3 { font-size: 1.125rem; }
.faq details p { padding: 0 0 22px; margin: 0; color: #4A5068; max-width: 40em; }

/* waitlist */
.wait { padding: clamp(80px, 11vw, 136px) 0; background: radial-gradient(60% 70% at 50% 0%, #FFF4DA 0%, rgba(255,244,218,0) 70%), #fff; border-top: 1px solid var(--mist); text-align: center; }
.wait-in { max-width: 640px; }
.orb { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 32px 10px rgba(243,203,114,.5); margin: 0 auto 28px; }
.wait h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.wait p { color: #4A5068; }
.wl { margin-top: 28px; }
.wl-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.wl input { flex: 1 1 280px; max-width: 360px; font: 400 1.0625rem var(--sans); padding: 15px 18px; border-radius: 10px; border: 1px solid #BFC5D6; background: #fff; color: var(--ink); }
.wl input[aria-invalid="true"] { border-color: #A24A3A; }
.wl-msg { font-size: .9375rem; min-height: 1.6em; margin: 14px 0 0; }
.wl-msg.ok { font-size: 1.25rem; color: var(--ink); }
.wl-msg.err { color: #8E3B2D; }

/* footer */
.foot { padding: 32px 0 44px; font-size: .875rem; color: var(--slate); border-top: 1px solid var(--mist); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 0; }

/* research page */
.doc { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 112px); }
.doc-in { max-width: 820px; }
.doc h1 { font-size: clamp(2.25rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 22px; }
.doc h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 52px 0 16px; }
.doc .answer { font-size: 1.1875rem; color: #33394F; }
.doc ul { padding-left: 1.2em; } .doc li { margin-bottom: .5em; }
.table-wrap { overflow-x: auto; }
.evidence { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.evidence th, .evidence td { text-align: left; vertical-align: top; padding: 14px 14px 14px 0; border-top: 1px solid #D6DAE5; }
.evidence thead th { font-weight: 500; color: var(--slate); font-size: .8125rem; border-top: 0; }
.evidence tbody th { font-weight: 500; width: 18%; }
.evidence td:nth-child(3) { white-space: nowrap; }
.back { margin-top: 48px; }

/* breathing light, the only motion */
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 45% { transform: scale(1.35); opacity: 1; } }
.orb { animation: breathe 10s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* tablet */
@media (max-width: 980px) {
  .screens { grid-template-columns: 1fr; max-width: 460px; }
  .screen { min-height: 0; }
  .isnt-grid { grid-template-columns: 1fr 1fr; }
}
/* phone */
@media (max-width: 900px) {
  .hero-in, .sec-head, .place-in, .spiegel-in, .research-in, .kalki-in, .faq-in { grid-template-columns: 1fr; }
  .kalki h2, .faq-in > h2 { position: static; }
  .hero h1 { max-width: 13ch; }
  .place-scene { order: 0; }
}
@media (max-width: 640px) {
  .top nav a:not(.btn) { display: none; }
  .top-in { height: 60px; }
  .mark { font-size: 1rem; }
  .btn-sm { padding: 10px 14px; font-size: .875rem; white-space: nowrap; }
  .sub { font-size: 1.0625rem; }
  .hero-scene, .place-scene { aspect-ratio: 4 / 5; border-radius: 14px; margin: 0 calc(-1 * var(--pad) + 8px); }
  .subtitle { width: 90%; bottom: 6%; }
  .hero-scene img { object-position: 22% 50%; }
  .place-scene img { object-position: 50% 50%; }
  .pills li { padding: 10px 16px; font-size: 1rem; }
  .isnt-grid { grid-template-columns: 1fr; }
  .chart { padding: 18px; }
  .chart th, .chart td { display: block; width: auto !important; padding: 0; border: 0; }
  .chart tr { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 14px 0; border-top: 1px solid var(--mist); }
  .evidence thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .evidence tr { display: block; padding: 14px 0; border-top: 1px solid #D6DAE5; }
  .evidence th, .evidence td { display: block; border: 0; padding: 2px 0; width: auto !important; white-space: normal !important; }
}

/* Voice-first trial: native controls stay visible and work without JavaScript. */
section[id] { scroll-margin-top: 88px; }
.hero h1 { max-width: 14ch; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hero-wait { font-size: 1rem; }
.quiet strong { font-weight: 500; color: var(--ink); }
.preview { padding: clamp(40px, 6vw, 72px) 0; background: var(--dusk); color: #E9ECF5; }
.preview-in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.preview h2 { margin-bottom: 20px; color: #fff; }
.preview p { max-width: 42em; }
.preview .quiet { color: #C9CEE0; }
.preview-label { font-size: 1.125rem; margin: 0 0 12px; }
.preview audio { display: block; width: 100%; margin-bottom: 16px; }
.preview-transcript { margin-top: 20px; border-top: 1px solid #59617C; }
.preview-transcript summary { cursor: pointer; padding: 16px 0; }
.preview-transcript .guide { font-size: 1.125rem; }
.preview-credit { color: #C9CEE0; font-size: .8125rem; margin: 20px 0 0; }
@media (max-width: 900px) { .preview-in { grid-template-columns: 1fr; } }
