:root {
  --ground: #1e1e1f;
  --void: #0b0b0d;
  --raised: rgba(48, 48, 49, .46);
  --raised-2: rgba(58, 58, 59, .56);
  --line: rgba(250, 250, 250, .11);
  --line-lit: rgba(214, 239, 220, .26);
  --ink: #fafafa;
  --ink-75: rgba(250, 250, 250, .75);
  --ink-52: rgba(250, 250, 250, .52);
  --ink-32: rgba(250, 250, 250, .32);
  --mint: #d6efdc;
  --moss: #7ed08f;
  --amber: #e8b05c;
  --violet: #a78bfa;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.skip { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--ground); }
.skip:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html:not(.js) .stepper, html:not(.js) .language-picker, html:not(.js) .nav-language, html:not(.js) .concept-tabs, html:not(.js) .reveal-button, html:not(.js) .story-progress, html:not(.js) .story-controls { display: none; }
html:not(.js) [data-audio], html:not(.js) #card-audio { display: none; }
html:not(.js) #card-answer[hidden] { display: grid; }

.ambient { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .7; animation: drift 18s ease-in-out infinite alternate; }
.ambient i:nth-child(1) { width: 52vw; height: 40vw; top: -20vw; left: 12vw; background: rgba(214,239,220,.11); }
.ambient i:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 30vh; background: rgba(126,208,143,.065); animation-duration: 23s; }
.ambient i:nth-child(3) { width: 44vw; height: 32vw; left: 18vw; bottom: -24vw; background: rgba(232,176,92,.05); animation-duration: 28s; }
@keyframes drift { to { transform: translate3d(5vw, 5vh, 0) scale(1.12); } }

.site-nav {
  position: fixed; z-index: 50; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 32px), 1360px); height: 54px; padding: 7px 8px 7px 16px;
  display: flex; align-items: center; gap: 24px;
  border: .5px solid rgba(250,250,250,.1); border-top-color: rgba(250,250,250,.16);
  border-radius: 18px; background: rgba(26,26,27,.66); box-shadow: 0 14px 40px rgba(0,0,0,.14);
  backdrop-filter: blur(24px) saturate(1.15); -webkit-backdrop-filter: blur(24px) saturate(1.15);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.brand img { display: block; object-fit: contain; }
.brand em { color: var(--ink-52); font-style: normal; font-weight: 400; }
.site-nav nav { display: flex; margin-left: auto; gap: 6px; }
.site-nav nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-52); font-size: 13px; transition: color .2s, background .2s; }
.site-nav nav a:hover, .site-nav nav a.is-active { color: var(--ink); background: rgba(250,250,250,.045); }
.nav-language { position: relative; }
.nav-language select { height: 34px; max-width: 112px; padding: 0 28px 0 11px; appearance: none; border: .5px solid var(--line); border-radius: 999px; background: rgba(250,250,250,.035) linear-gradient(45deg, transparent 50%, var(--ink-52) 50%) calc(100% - 12px) 14px / 4px 4px no-repeat; color: var(--ink-75); font: 10px var(--mono); cursor: pointer; }

.button {
  min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: .5px solid var(--line); border-top-color: rgba(250,250,250,.18); border-radius: 999px;
  font-size: 14px; font-weight: 500; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 38px; padding: 0 16px; background: rgba(250,250,250,.9); color: #1a1a1b; border: none; }
.button-primary { background: var(--ink); color: #181819; border: none; box-shadow: 0 0 0 1px rgba(214,239,220,.14), 0 12px 32px rgba(0,0,0,.22); }
.button-primary:hover { background: var(--mint); box-shadow: 0 0 28px rgba(214,239,220,.14); }
.button-quiet { color: var(--ink-75); background: rgba(48,48,49,.24); }

.snap { position: relative; z-index: 1; height: 100svh; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.snap::-webkit-scrollbar { display: none; }
.panel {
  position: relative; min-height: 100svh; scroll-snap-align: start; scroll-snap-stop: always;
  padding: 100px max(40px, calc((100vw - 1360px) / 2)) 42px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: center;
  overflow: hidden; isolation: isolate;
}
.panel::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: 0; width: min(1360px, calc(100% - 80px)); height: .5px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line), transparent); }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(44px, 4.7vw, 72px); }
.section-copy > p:not(.eyebrow):not(.micro) { margin-top: 24px; max-width: 50ch; color: var(--ink-75); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; }
.eyebrow { font-family: var(--mono); color: var(--ink-52); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.section-copy .eyebrow { margin-bottom: 22px; }
.micro { font-family: var(--mono); font-size: 11px; color: var(--ink-52); letter-spacing: .01em; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s var(--ease); }
.js .panel.in-view .reveal { opacity: 1; transform: none; }
.js .panel.in-view .reveal:nth-child(2) { transition-delay: .1s; }

/* hero */
.hero { grid-template-columns: minmax(0, 1.04fr) minmax(480px, .96fr); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 600px; right: -120px; top: 8%; background: radial-gradient(ellipse, rgba(214,239,220,.095), rgba(126,208,143,.03) 45%, transparent 70%); filter: blur(30px); }
.hero-copy { padding-bottom: 4vh; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(214,239,220,.65); }
.hero h1 { max-width: 820px; font-size: clamp(62px, 6.3vw, 96px); line-height: .96; }
.hero h1 span { color: var(--mint); text-shadow: 0 0 42px rgba(214,239,220,.08); }
.lede { max-width: 55ch; margin-top: 30px; color: var(--ink-75); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; }
.language-picker { margin-top: 26px; }
.language-picker > span { display: block; margin-bottom: 9px; color: var(--ink-32); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.language-picker > div { display: flex; flex-wrap: wrap; gap: 6px; }
.language-picker button { min-height: 31px; padding: 0 10px; border: .5px solid var(--line); border-radius: 999px; background: rgba(250,250,250,.025); color: var(--ink-52); font-size: 11px; transition: color .2s, background .2s, border-color .2s; }
.language-picker button:hover { color: var(--ink); }
.language-picker button[aria-pressed="true"] { color: var(--ink); border-color: var(--line-lit); background: rgba(214,239,220,.07); box-shadow: 0 0 16px rgba(214,239,220,.05); }
.actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-copy .micro { margin-top: 18px; }
.hero-demo {
  width: 100%; max-width: 650px; min-height: 520px; justify-self: end; padding: 20px;
  border: .5px solid var(--line); border-top-color: var(--line-lit); border-radius: 28px;
  background: linear-gradient(145deg, rgba(52,52,53,.44), rgba(32,32,33,.21));
  box-shadow: 0 30px 90px rgba(0,0,0,.28), inset 0 1px rgba(250,250,250,.035);
  display: flex; flex-direction: column;
}
.demo-label { height: 34px; display: flex; align-items: flex-start; justify-content: space-between; font-family: var(--mono); color: var(--ink-32); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.demo-label b { font-weight: 400; color: var(--mint); }
.conversation { flex: 1; padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; gap: 22px; opacity: 1; transform: none; transition: opacity .25s, transform .35s var(--ease); }
.conversation.scene-hidden { display: none; opacity: 0; transform: translateX(18px); }
.chat-row { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; align-items: start; }
.chat-user { margin-left: 12%; }
.avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(250,250,250,.05); color: var(--ink-52); font-family: var(--mono); font-size: 9px; }
.chat-row p { padding: 15px 17px; border-radius: 4px 18px 18px 18px; background: rgba(250,250,250,.052); color: var(--ink-75); font-size: 15px; }
.chat-row p small { display: block; margin-top: 6px; color: var(--ink-52); font-size: 12px; }
.chat-user p { border-radius: 18px 4px 18px 18px; background: rgba(214,239,220,.07); }
.chat-row strong { color: var(--ink); font-weight: 500; }
.chat-action { align-self: center; margin-top: 6px; padding: 7px 12px; border-radius: 999px; border: .5px solid var(--line-lit); color: var(--ink-52); font-family: var(--mono); font-size: 10px; }
.spark { color: var(--mint); margin-right: 6px; }
.extract-line, .process-line, .return-line { display: flex; align-items: center; gap: 12px; color: var(--ink-32); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.extract-line i, .process-line i, .return-line i { flex: 1; height: .5px; background: linear-gradient(90deg, var(--line-lit), transparent); }
.mini-note { padding: 28px; border: .5px solid var(--line); border-top-color: rgba(250,250,250,.18); border-radius: 20px; background: rgba(16,16,17,.22); }
.chip { padding: 5px 8px; border-radius: 999px; background: rgba(214,239,220,.06); color: var(--mint); font: 10px var(--mono); }
.mini-note p { margin-top: 26px; font-size: 25px; color: var(--ink); }
.mini-note mark { background: transparent; color: var(--mint); }
.mini-note small { display: block; margin-top: 7px; color: var(--ink-52); }
.process-line { justify-content: center; }
.process-line i { max-width: 80px; background: linear-gradient(90deg, transparent, var(--line-lit)); }
.process-line i:last-child { background: linear-gradient(90deg, var(--line-lit), transparent); }
.hero-card { padding: 28px; border-radius: 22px; border: .5px solid var(--line); border-top-color: var(--line-lit); background: rgba(18,18,19,.28); }
.card-topline { display: flex; justify-content: space-between; color: var(--ink-32); font: 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.hero-card > p { margin: 54px 0 46px; text-align: center; font-size: 27px; }
.blank { color: var(--ink-32); }
.hero-answer { padding-top: 16px; border-top: .5px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.hero-answer b { color: var(--mint); font-size: 22px; font-weight: 500; }
.hero-answer span { color: var(--ink-52); font-size: 12px; }
.return-line { margin-top: 22px; }
.return-line i { background: var(--line); }
.stepper { height: 66px; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; padding: 6px; border-radius: 16px; background: rgba(10,10,11,.18); }
.stepper button { border: 0; border-radius: 12px; background: transparent; color: var(--ink-32); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; transition: .2s; }
.stepper button span { font: 9px var(--mono); }
.stepper button.is-active { color: var(--ink); background: rgba(250,250,250,.06); box-shadow: inset 0 .5px rgba(250,250,250,.1); }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--ink-32); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.scroll-cue i { width: 1px; height: 22px; background: linear-gradient(var(--mint), transparent); }

/* loop */
.loop { grid-template-columns: minmax(320px, 4fr) minmax(580px, 8fr); }
.lesson-story { justify-self: end; width: min(100%, 760px); padding: 18px; border: .5px solid var(--line); border-top-color: var(--line-lit); border-radius: 26px; background: linear-gradient(145deg, rgba(45,45,46,.42), rgba(28,28,29,.28)); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.story-top { height: 32px; display: flex; justify-content: space-between; color: var(--ink-32); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; }.story-top b { color: var(--mint); font-weight: 400; }
.story-viewport { position: relative; height: min(58vh, 480px); min-height: 410px; padding: 20px; border-radius: 18px; background: rgba(12,12,13,.18); overflow: hidden; }
.story-scene { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 16px; opacity: 1; transform: none; }
.story-scene[hidden] { display: none; }
.story-scene.is-entering { animation: story-in .5s var(--ease); }
@keyframes story-in { from { opacity: 0; transform: translateY(16px); } }
.story-message { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: start; }.story-message > span { padding-top: 12px; color: var(--ink-32); font: 9px var(--mono); text-transform: uppercase; }.story-message p { padding: 14px 16px; border-radius: 4px 16px 16px 16px; background: rgba(250,250,250,.05); color: var(--ink-75); font-size: 14px; }.story-message p b { color: var(--ink); font-weight: 500; }.story-message > small { grid-column: 2; margin: -11px 14px 0; color: var(--ink-52); font-size: 11px; }
.story-user { margin-left: 9%; }.story-user p { border-radius: 16px 4px 16px 16px; background: rgba(214,239,220,.06); }
.story-status { display: flex; align-items: center; gap: 11px; color: var(--ink-32); font: 9px var(--mono); text-transform: uppercase; }.story-status i { flex: 1; height: .5px; background: linear-gradient(90deg, transparent, var(--line-lit)); }.story-status i:last-child { background: linear-gradient(90deg, var(--line-lit), transparent); }
.story-new-word { align-self: center; min-width: 260px; padding: 14px 18px; border: .5px solid var(--line-lit); border-radius: 14px; display: grid; grid-template-columns: 1fr auto; background: rgba(214,239,220,.035); }.story-new-word > span { grid-column: 1 / -1; color: var(--ink-32); font: 8px var(--mono); }.story-new-word b { margin-top: 6px; font-size: 19px; font-weight: 500; }.story-new-word small { align-self: end; color: var(--ink-52); }
.story-complete { display: grid; justify-items: center; text-align: center; }.story-complete > span { width: 82px; height: 82px; display: grid; place-items: center; border: .5px solid var(--line-lit); border-radius: 50%; color: var(--mint); font-size: 34px; box-shadow: 0 0 60px rgba(214,239,220,.09); }.story-complete h3 { margin: 24px 0 6px; font-size: 32px; font-weight: 500; letter-spacing: -.03em; }.story-complete p { color: var(--ink-52); }
.story-card-stack { position: relative; height: 210px; margin-top: 8px; }.story-card-stack article { position: absolute; left: 50%; top: 50%; width: 210px; height: 126px; padding: 18px; border: .5px solid var(--line); border-top-color: rgba(250,250,250,.18); border-radius: 16px; background: #29292a; box-shadow: 0 20px 50px rgba(0,0,0,.28); display: flex; flex-direction: column; justify-content: space-between; }.story-card-stack article span { font-size: 24px; }.story-card-stack article b { color: var(--ink-52); font: 10px var(--mono); font-weight: 400; }.story-card-stack article:nth-child(1) { transform: translate(-118%,-50%) rotate(-8deg); }.story-card-stack article:nth-child(2) { z-index: 2; transform: translate(-50%,-42%) rotate(2deg); }.story-card-stack article:nth-child(3) { transform: translate(18%,-50%) rotate(9deg); }
.story-review { padding: 16px 18px; border: .5px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: 105px 1fr auto 1fr; align-items: center; gap: 12px; background: rgba(250,250,250,.025); }.story-review span { color: var(--ink-32); font: 8px var(--mono); }.story-review p { font-size: 20px; }.story-review i { width: 30px; height: 1px; background: var(--line-lit); }.story-review b { color: var(--mint); font-size: 17px; font-weight: 500; }.story-schedule { align-self: center; color: var(--ink-32); font: 9px var(--mono); }
.story-loopback { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 12px; color: var(--ink-52); font-size: 13px; }.story-loopback img { display: block; object-fit: contain; }
.story-progress { height: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; }.story-progress button { width: 24px; height: 12px; padding: 0; border: 0; background: transparent; position: relative; }.story-progress button::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; border-radius: 9px; background: rgba(250,250,250,.12); transition: background .2s; }.story-progress button.is-active::after { background: var(--mint); box-shadow: 0 0 8px rgba(214,239,220,.25); }
.story-controls { display: flex; justify-content: center; gap: 6px; }.story-controls button { min-width: 38px; height: 32px; padding: 0 11px; border: .5px solid var(--line); border-radius: 999px; background: rgba(250,250,250,.025); color: var(--ink-52); font: 10px var(--mono); }.story-controls button:hover { color: var(--ink); }.story-controls #story-toggle { min-width: 72px; color: var(--ink-75); }

/* cards */
.concept-tabs { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 7px; max-width: 480px; }
.concept-tabs button { min-height: 36px; padding: 0 12px; border: .5px solid var(--line); border-radius: 999px; background: rgba(250,250,250,.025); color: var(--ink-52); font-size: 11px; transition: color .2s, background .2s, border-color .2s; }
.concept-tabs button:hover { color: var(--ink); }
.concept-tabs button[aria-pressed="true"] { color: var(--ink); border-color: var(--line-lit); background: rgba(214,239,220,.07); }
.cards .micro { margin-top: 17px; }
.review-shell { justify-self: center; width: min(100%, 540px); }
.review-meta { padding: 0 5px 10px; display: flex; justify-content: space-between; color: var(--ink-32); font: 10px var(--mono); }
.review-meta b { color: var(--ink-52); font-weight: 400; }
.review-card { min-height: 510px; padding: 24px; border: .5px solid var(--line); border-top-color: var(--line-lit); border-radius: 28px; background: rgba(43,43,44,.38); box-shadow: 0 34px 80px rgba(0,0,0,.28), inset 0 1px rgba(250,250,250,.03); display: flex; flex-direction: column; }
.card-face { flex: 1; display: grid; place-content: center; justify-items: center; min-height: 245px; text-align: center; }
.prompt-kicker { color: var(--ink-32); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.card-prompt { margin-top: 14px; font-size: clamp(36px, 4vw, 54px); font-weight: 500; letter-spacing: -.035em; }
.audio-button { margin-top: 26px; padding: 0; border: 0; background: transparent; color: var(--ink-75); display: grid; justify-items: center; gap: 8px; font: 10px var(--mono); }
.audio-button svg { width: 56px; height: 56px; padding: 15px; overflow: visible; border-radius: 50%; background: rgba(250,250,250,.9); color: var(--ground); fill: currentColor; stroke: currentColor; stroke-width: 1.5; }
.audio-button.is-hidden { display: none; }
.card-answer { padding: 18px 0; border-top: .5px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: end; }
.card-answer[hidden] { display: none; }
.card-answer > span { grid-column: 1 / -1; color: var(--ink-32); font: 9px var(--mono); text-transform: uppercase; }
.card-answer strong { display: block; margin-top: 4px; font-size: 28px; font-weight: 500; }
.card-answer small { display: block; color: var(--ink-52); }
.inline-audio { grid-column: 2; grid-row: 2 / 4; align-self: center; padding: 8px 11px; border: .5px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-52); font-size: 11px; }
.inline-audio.is-hidden { display: none; }
.inline-audio.is-playing, .speak-play.is-playing, .audio-button.is-playing { color: var(--mint); box-shadow: 0 0 0 4px rgba(214,239,220,.05); }
.reveal-button { height: 46px; border: .5px solid var(--line); border-top-color: rgba(250,250,250,.17); border-radius: 13px; background: rgba(250,250,250,.055); color: var(--ink-75); }
.schedule-line { margin-top: 10px; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.schedule-line span { padding: 9px 4px; border-radius: 9px; text-align: center; background: rgba(250,250,250,.025); color: var(--ink-32); font: 9px var(--mono); }
.schedule-line b { color: var(--ink-52); font-weight: 400; }

/* speaking */
.speaking { grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr); }
.speak-stage { position: relative; min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.sound-halo { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sound-halo i { position: absolute; width: 360px; height: 360px; border: .5px solid rgba(214,239,220,.14); border-radius: 50%; }
.sound-halo i:nth-child(2) { width: 470px; height: 470px; opacity: .55; }
.sound-halo i:nth-child(3) { width: 580px; height: 580px; opacity: .22; }
.speak-stage .eyebrow { position: relative; margin-bottom: 22px; }
.speak-play { position: relative; width: 76px; height: 76px; border: .5px solid var(--line-lit); border-radius: 50%; background: rgba(250,250,250,.92); color: var(--ground); box-shadow: 0 0 46px rgba(214,239,220,.1); }
.speak-play svg { width: 34px; fill: currentColor; }
.speak-prompt { position: relative; margin-top: 28px; font-size: clamp(30px, 3vw, 47px); letter-spacing: -.03em; }
.speak-translation { position: relative; margin-top: 10px; color: var(--ink-52); }
.say-line { position: relative; width: min(100%, 510px); margin-top: 42px; display: flex; align-items: center; gap: 12px; color: var(--ink-32); font: 9px var(--mono); text-transform: uppercase; white-space: nowrap; }
.say-line i { flex: 1; height: .5px; background: var(--line-lit); }
.speaking .section-copy > p + p { font-size: 15px; color: var(--ink-52); }
.speaking .section-copy .micro { font-size: 10px; }

/* context */
.context { grid-template-columns: minmax(340px, 4fr) minmax(600px, 8fr); }
.context-legend { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink-32); font: 10px var(--mono); }
.context-legend span { display: flex; align-items: center; gap: 7px; }
.context-legend i { width: 6px; height: 6px; border-radius: 50%; }
.mint { background: var(--moss); }.amber { background: var(--amber); }.violet { background: var(--violet); }
.context-transcript { justify-self: end; width: min(100%, 760px); padding: 22px; }
.transcript-label { display: flex; justify-content: space-between; padding: 0 5px 20px; color: var(--ink-32); font: 9px var(--mono); text-transform: uppercase; }.transcript-label b { color: var(--mint); font-weight: 400; }
.transcript-message { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; margin-bottom: 22px; }.transcript-message > span { padding-top: 14px; color: var(--ink-32); font: 9px var(--mono); text-transform: uppercase; }.transcript-message > p, .transcript-message > div { padding: 17px 19px; border-radius: 5px 18px 18px 18px; background: rgba(250,250,250,.05); color: var(--ink-75); font-size: 15px; line-height: 1.55; }.transcript-message strong, .transcript-message b { color: var(--ink); font-weight: 500; }
.transcript-user { margin-left: 9%; }.transcript-user > p { border-radius: 18px 5px 18px 18px; background: rgba(214,239,220,.06); }
.transcript-ai > div { border: .5px solid var(--line); border-top-color: rgba(250,250,250,.15); background: rgba(36,36,37,.34); }.transcript-ai > div p + p { margin-top: 14px; padding-top: 14px; border-top: .5px solid var(--line); }
.context-receipt { margin: -4px 0 20px 84px; display: flex; align-items: center; gap: 10px; color: var(--ink-32); font: 8px var(--mono); text-transform: uppercase; }.context-receipt i { flex: 1; height: .5px; background: linear-gradient(90deg, var(--line-lit), var(--line)); }.context-receipt b { color: var(--ink-52); font-weight: 400; }
.transcript-foot { margin-left: 84px; display: flex; gap: 8px; }.transcript-foot span { flex: 1; padding: 11px 13px; border-top: .5px solid var(--line); color: var(--ink-52); font-size: 11px; }
.context-caveat { margin: 18px 0 0 84px; color: var(--ink-32); font: 9px/1.5 var(--mono); }

/* comparison */
.compare { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; gap: 26px; align-content: center; }
.compare-heading { text-align: center; }
.compare-heading h2 { margin-top: 16px; font-size: clamp(42px, 5vw, 70px); }
.compare-heading h2 s { color: var(--ink-32); text-decoration-color: rgba(250,250,250,.23); text-decoration-thickness: .055em; }
.compare-heading .compare-manifesto { max-width: 720px; margin: 20px auto 0; color: var(--ink-75); font-size: clamp(17px, 1.5vw, 21px); }
.compare-heading > p:last-child { margin: 16px auto 0; color: var(--ink-52); }
.workflow-compare { width: min(100%, 1120px); margin: 0 auto; display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; }
.workflow { padding: 18px; border-radius: 22px; border: .5px solid var(--line); border-top-color: rgba(250,250,250,.16); background: rgba(39,39,40,.28); }
.workflow-name { padding: 5px 5px 15px; display: flex; justify-content: space-between; border-bottom: .5px solid var(--line); }.workflow-name strong { font-weight: 500; }.workflow-name span { color: var(--ink-32); font: 9px var(--mono); }
.workflow ol { margin: 0; padding: 0; list-style: none; }
.workflow li { min-height: 43px; display: grid; grid-template-columns: 28px 1fr; align-items: center; border-bottom: .5px solid rgba(250,250,250,.05); color: var(--ink-52); font-size: 13px; }.workflow li:last-child { border: 0; }.workflow li b { color: var(--ink-32); font: 9px var(--mono); }
.workflow .shared { color: var(--ink); }.workflow .shared b { color: var(--mint); }
.poly-flow { border-top-color: var(--line-lit); background: rgba(214,239,220,.025); box-shadow: 0 25px 70px rgba(0,0,0,.18); }
.poly-flow li:not(.shared) b { color: var(--mint); }
.vs { display: grid; place-items: center; }.vs span { writing-mode: vertical-rl; color: var(--ink-32); font: 8px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.import-note { margin: 0 auto; color: var(--ink-32); font-size: 12px; }.import-note span { color: var(--ink-75); margin-right: 8px; }

/* value */
.value { grid-template-columns: minmax(360px, 5fr) minmax(520px, 7fr); }
.burden { padding: 28px; border: .5px solid var(--line); border-top-color: var(--line-lit); border-radius: 24px; background: rgba(36,36,37,.28); }
.budget-head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: .5px solid var(--line); color: var(--ink-75); font-size: 14px; }.budget-head b { color: var(--ink-32); font: 9px var(--mono); font-weight: 400; text-transform: uppercase; }
.budget-math { padding: 30px 0; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.4fr; gap: 12px; align-items: end; }
.budget-math label, .budget-result { display: flex; flex-direction: column; gap: 8px; }.budget-math label > span:first-child, .budget-result span { color: var(--ink-32); font: 9px var(--mono); text-transform: uppercase; white-space: nowrap; }
.budget-math > i { padding-bottom: 12px; color: var(--ink-32); font-style: normal; }
.budget-math input { width: 100%; height: 48px; padding: 0 10px; border: .5px solid var(--line); border-top-color: rgba(250,250,250,.17); border-radius: 10px; background: rgba(250,250,250,.035); color: var(--ink); font: 20px var(--mono); outline: none; }.budget-math input:focus { border-color: var(--line-lit); }.money-field { position: relative; color: var(--ink-52); font: 18px var(--mono); }.money-field input { padding-left: 24px; }.money-field::first-letter { color: var(--ink-52); }
.budget-result { display: grid; grid-template-columns: 1fr auto; align-items: end; }.budget-result span { grid-column: 1 / -1; }.budget-result strong { color: var(--mint); font-size: 32px; font-weight: 500; letter-spacing: -.03em; }.budget-result small { padding-bottom: 5px; color: var(--ink-32); }
.budget-note { padding: 14px 16px; border-radius: 12px; background: rgba(250,250,250,.025); color: var(--ink-32); font: 10px/1.6 var(--mono); }
.burden-total { padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; }.burden-total span { color: var(--ink-32); font: 10px var(--mono); text-transform: uppercase; }.burden-total strong { max-width: 330px; text-align: right; font-size: 18px; font-weight: 500; color: var(--mint); }

/* setup */
.setup { grid-template-columns: minmax(0, 7fr) minmax(380px, 5fr); }
.setup-art { position: relative; height: 590px; }
.setup-window { position: absolute; border: .5px solid var(--line); border-top-color: rgba(250,250,250,.18); border-radius: 24px; background: rgba(39,39,40,.48); box-shadow: 0 35px 85px rgba(0,0,0,.3); }
.setup-window.back { width: 68%; height: 310px; left: 2%; top: 8%; padding: 26px; transform: rotate(-4deg); color: var(--ink-52); }.setup-window.back span { font: 10px var(--mono); }.setup-window.back p { margin-top: 82px; font-size: 22px; color: var(--ink-75); }
.setup-window.front { width: 55%; height: 350px; right: 4%; bottom: 5%; padding: 28px; transform: rotate(4deg); display: flex; flex-direction: column; align-items: center; justify-content: center; }.setup-window.front img { object-fit: contain; }.setup-window.front span { margin-top: 15px; color: var(--ink-52); font-size: 12px; }.setup-window.front b { margin-top: 28px; font-size: 26px; font-weight: 500; }.setup-window.front i { width: 60%; height: 4px; margin-top: 22px; border-radius: 9px; background: linear-gradient(90deg, var(--mint), var(--moss)); box-shadow: 0 0 22px rgba(214,239,220,.24); }
.setup-steps { margin: 30px 0 28px; padding: 0; list-style: none; border-top: .5px solid var(--line); }
.setup-steps li { padding: 15px 0; display: grid; grid-template-columns: 32px 1fr; gap: 10px; border-bottom: .5px solid var(--line); color: var(--ink-52); font-size: 14px; }.setup-steps li b { color: var(--mint); font: 10px var(--mono); }.setup-steps strong { color: var(--ink); font-weight: 500; }

/* close */
.close { grid-template-columns: 1fr 1fr; gap: 0; padding-bottom: 0; }
.faq { padding-right: clamp(40px, 6vw, 90px); }
.faq h2 { margin-top: 18px; }
.faq-list { margin-top: 26px; border-top: .5px solid var(--line); }
.faq details { border-bottom: .5px solid var(--line); }
.faq summary { padding: 17px 36px 17px 0; list-style: none; position: relative; color: var(--ink-75); font-size: 14px; }.faq summary::-webkit-details-marker { display: none; }.faq summary::after { content: "+"; position: absolute; right: 6px; top: 15px; color: var(--ink-32); font-size: 18px; font-weight: 300; }.faq details[open] summary::after { content: "−"; }.faq details p { padding: 0 42px 18px 0; color: var(--ink-52); font-size: 13px; }
.final-invite { align-self: stretch; margin-top: -100px; padding: 130px clamp(36px, 5vw, 72px) 26px; background: linear-gradient(145deg, rgba(214,239,220,.075), rgba(17,17,18,.52)); border-left: .5px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.final-invite img { object-fit: contain; margin-bottom: 22px; }.final-invite h2 { margin: 18px 0 34px; }.final-invite .button { align-self: flex-start; }.final-invite footer { margin-top: auto; padding-top: 36px; display: flex; justify-content: space-between; color: var(--ink-32); font: 9px var(--mono); }.final-invite footer nav { display: flex; gap: 15px; }.final-invite footer a:hover { color: var(--ink); }

@media (max-height: 820px) and (min-width: 1001px) {
  .snap { scroll-snap-type: y proximity; }
  .panel { min-height: 760px; }
  .hero h1 { font-size: clamp(54px, 5.25vw, 76px); }
  .hero-copy .eyebrow { margin-bottom: 18px; }
  .lede { margin-top: 20px; font-size: 17px; }
  .language-picker { margin-top: 16px; }
  .actions { margin-top: 18px; }
  .hero-copy .micro { margin-top: 10px; }
  .hero-demo { min-height: 470px; }
  .review-card { min-height: 430px; }
  .speak-stage { min-height: 480px; }
  .setup-art { height: 500px; }
}

@media (max-width: 1050px) {
  .site-nav nav { display: none; }
  .nav-language { margin-left: auto; }
  .panel { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 42px; }
  .compare { grid-template-columns: minmax(0,1fr); }
  .hero { grid-template-columns: minmax(0,1fr) minmax(430px,.9fr); }
  .loop, .context { grid-template-columns: minmax(300px,.8fr) minmax(520px,1.2fr); }
  .lesson-story { width: 100%; }
  .value { grid-template-columns: .85fr 1.15fr; }
  .budget-math { grid-template-columns: 1fr auto 1fr auto 1fr; }.budget-result { grid-column: 1 / -1; margin-top: 8px; }
}

@media (max-width: 1000px) {
  html { scroll-behavior: smooth; }
  .snap { height: auto; overflow: visible; scroll-snap-type: none; }
  .site-nav { top: 10px; width: calc(100% - 20px); height: 50px; padding-left: 11px; border-radius: 16px; }
  .site-nav .button { min-height: 34px; padding: 0 13px; font-size: 12px; }
  .brand span { font-size: 13px; }
  .panel, .hero, .loop, .speaking, .context, .value, .setup, .close {
    min-height: auto; padding: 100px 22px 80px; grid-template-columns: minmax(0,1fr); gap: 52px; overflow: clip;
  }
  .panel::after { width: calc(100% - 44px); }
  h2 { font-size: clamp(38px, 10vw, 56px); }
  .hero { padding-top: 128px; }
  .hero h1 { font-size: clamp(49px, 13vw, 76px); }
  .hero-demo { justify-self: center; max-width: 650px; min-height: 500px; }
  .scroll-cue { display: none; }
  .lesson-story { justify-self: center; }
  .cards .section-copy, .context .section-copy { max-width: 680px; }
  .concept-tabs { max-width: 680px; }
  .review-shell { width: min(100%, 560px); }
  .speaking .section-copy { order: -1; }
  .speak-stage { min-height: 530px; }
  .context-transcript { justify-self: center; }
  .workflow-compare { grid-template-columns: 1fr; gap: 10px; }
  .vs { height: 20px; }.vs span { writing-mode: initial; }
  .burden-row { grid-template-columns: 150px 1fr 120px; }
  .setup .section-copy { order: -1; }
  .setup-art { height: 540px; }
  .close { padding-bottom: 0; }
  .faq { padding-right: 0; }
  .final-invite { min-height: 620px; margin: 0 -22px; padding: 70px 22px 24px; border-left: 0; border-top: .5px solid var(--line); }
}

@media (max-width: 600px) {
  .brand em { display: none; }
  .site-nav { gap: 7px; }
  .nav-language select { max-width: 88px; padding-left: 8px; }
  .hero h1 { font-size: clamp(44px, 13.4vw, 62px); }
  .lede { font-size: 17px; }
  .actions { display: grid; }.actions .button { width: 100%; }
  .hero-demo { min-height: 460px; padding: 12px; border-radius: 22px; }
  .conversation { padding: 22px 6px; gap: 15px; }
  .chat-user { margin-left: 0; }.chat-row { grid-template-columns: 33px 1fr; gap: 8px; }.avatar { width: 33px; height: 33px; }.chat-row p { font-size: 13px; padding: 12px 13px; }
  .mini-note { padding: 22px 18px; }.mini-note p { font-size: 21px; }.hero-card { padding: 20px 16px; }.hero-card > p { margin: 45px 0 38px; font-size: 21px; }.hero-answer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .stepper button { font-size: 10px; }
  .lesson-story { padding: 12px; border-radius: 20px; }.story-viewport { min-height: 430px; height: auto; padding: 12px; }.story-message { grid-template-columns: 1fr; gap: 5px; }.story-message > span { padding: 0; }.story-message > small { grid-column: 1; margin: -11px 12px 0; }.story-user { margin-left: 0; }.story-card-stack article { width: 152px; height: 112px; padding: 13px; }.story-card-stack article:nth-child(1) { transform: translate(-102%,-50%) rotate(-8deg); }.story-card-stack article:nth-child(3) { transform: translate(2%,-50%) rotate(9deg); }.story-review { grid-template-columns: 1fr auto 1fr; gap: 8px; }.story-review span { grid-column: 1 / -1; }.story-review p { font-size: 16px; }.story-review i { width: 18px; }.story-loopback { flex-direction: column; text-align: center; }
  .concept-tabs { gap: 6px; }.concept-tabs button { min-height: 34px; padding: 0 10px; font-size: 10px; }
  .review-card { min-height: 470px; padding: 18px; border-radius: 22px; }.card-prompt { font-size: 39px; }.schedule-line span { font-size: 8px; }
  .sound-halo i { width: 260px; height: 260px; }.sound-halo i:nth-child(2) { width: 340px; height: 340px; }.sound-halo i:nth-child(3) { width: 430px; height: 430px; }.speak-stage { min-height: 450px; }.say-line { gap: 7px; font-size: 7px; }
  .context-legend { gap: 10px; }.context-transcript { padding: 0; }.transcript-message { grid-template-columns: 1fr; gap: 5px; margin-bottom: 18px; }.transcript-message > span { padding: 0; }.transcript-user { margin-left: 0; }.context-receipt, .transcript-foot, .context-caveat { margin-left: 0; }.context-receipt span { display: none; }.transcript-foot { flex-direction: column; }
  .compare { gap: 32px; }.compare-heading h2 { font-size: 40px; }.workflow { padding: 13px; }.workflow-name span { display: none; }
  .burden { padding: 18px; }.budget-head { flex-direction: column; gap: 5px; }.budget-math { grid-template-columns: 1fr auto 1fr; gap: 8px; }.budget-math label:nth-of-type(3) { grid-column: 1; }.budget-math > i:nth-of-type(3) { grid-column: 2; }.budget-result { grid-column: 3; margin: 0; }.budget-result strong { font-size: 25px; }.budget-result small { display: none; }.burden-total { flex-direction: column; }.burden-total strong { text-align: left; }
  .setup-art { height: 430px; }.setup-window.back { width: 82%; height: 240px; padding: 20px; }.setup-window.back p { margin-top: 58px; font-size: 17px; }.setup-window.front { width: 68%; height: 280px; padding: 20px; }.setup-window.front b { font-size: 20px; }
  .final-invite { min-height: 580px; }.final-invite footer { flex-direction: column; gap: 14px; }
}

@media (max-width: 600px) {
  .story-new-word { min-width: 0; width: 100%; }
  .story-card-stack { height: auto; display: grid; gap: 8px; }
  .story-card-stack article { position: relative; left: auto; top: auto; width: 100%; height: auto; min-height: 62px; flex-direction: row; align-items: center; gap: 14px; }
  .story-card-stack article:nth-child(n) { transform: none; }
  .story-card-stack article span { font-size: 19px; }
}

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