/* Landing page. Shared tokens, buttons and policy pages live in styles.css. */
.home {
  --surface: #1e2027; --raised: #272a33; --hair: #2d2f38; --rec: #ff647c;
  --muted: #a7aab3; --soft: #c9cbd3;
  --wrap: min(100% - 48px, 1180px);
  --section: clamp(80px, 9vw, 128px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, ui-sans-serif, sans-serif;
}
/* Decorative glows reach past the content width; keep them from widening the page. */
.home main { overflow-x: hidden; overflow-x: clip; }
.home h1, .home h2, .home h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, ui-sans-serif, sans-serif; }
html:has(.home) { scroll-padding-top: 84px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.home kbd { display: inline-block; min-width: 1.9em; padding: .1em .45em; border: 1px solid #3a3d47; border-bottom-width: 2px; border-radius: 6px; color: var(--ink); background: var(--raised); font: 600 .82em/1.5 inherit; text-align: center; }

/* Header */
.home-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid transparent; transition: background 200ms, border-color 200ms, backdrop-filter 200ms; }
.home-header.is-scrolled { border-bottom-color: rgb(255 255 255 / 7%); background: rgb(23 24 29 / 78%); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.home-header-inner { display: flex; width: var(--wrap); min-height: 68px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 20px; }
.home-header nav { display: flex; align-items: center; gap: 6px; }
.home-header nav a { padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.home-header nav a:hover { color: var(--ink); background: rgb(255 255 255 / 5%); }
.home-header .nav-cta { margin-left: 8px; padding-inline: 16px; color: #17181d; background: var(--accent); white-space: nowrap; }
.home-header .nav-cta:hover { color: #17181d; background: var(--accent-bright); }

/* Buttons */
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 1px solid transparent; border-radius: 14px; font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: background 150ms, border-color 150ms, transform 150ms, box-shadow 150ms; }
.btn-primary { color: #17181d; background: var(--accent); box-shadow: 0 10px 30px -10px rgb(155 138 251 / 65%), inset 0 1px 0 rgb(255 255 255 / 25%); }
.btn-primary:hover { color: #17181d; background: var(--accent-bright); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: #3a3d47; background: rgb(255 255 255 / 3%); }
.btn-ghost:hover { color: var(--ink); border-color: var(--accent); background: rgb(155 138 251 / 8%); }
.home a:focus-visible, .home button:focus-visible, .home summary:focus-visible, .sd-picker input:focus-visible + span { outline: 3px solid var(--accent-bright); outline-offset: 4px; }

/* Hero */
.hero { position: relative; display: grid; width: var(--wrap); margin-inline: auto; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 48px; padding-block: 40px 72px; }
.hero::before { position: absolute; z-index: -1; inset: -140px -30vw -60px; content: ""; pointer-events: none;
  background:
    radial-gradient(42% 46% at 74% 44%, rgb(155 138 251 / 26%), transparent 70%),
    radial-gradient(30% 32% at 92% 78%, rgb(255 100 124 / 9%), transparent 70%),
    radial-gradient(rgb(255 255 255 / 7%) 1px, transparent 1.2px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 45%, #000 40%, transparent 85%); mask-image: radial-gradient(70% 70% at 60% 45%, #000 40%, transparent 85%); }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px 7px 10px; border: 1px solid rgb(155 138 251 / 30%); border-radius: 999px; color: var(--soft); background: rgb(155 138 251 / 9%); font-size: 13px; font-weight: 600; }
.kicker-wave { display: inline-flex; height: 14px; align-items: center; gap: 2px; }
.kicker-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--accent-bright); animation: wave 1.1s ease-in-out infinite; }
.kicker-wave i:nth-child(2) { animation-delay: -.3s; } .kicker-wave i:nth-child(3) { animation-delay: -.6s; } .kicker-wave i:nth-child(4) { animation-delay: -.15s; }
.hero h1 { margin: 0; font-size: clamp(50px, 7.2vw, 96px); font-weight: 760; letter-spacing: -.052em; line-height: .98; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent-bright); background: linear-gradient(100deg, #e4defe 0%, #b5a7ff 38%, #8d79f6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lede { max-width: 540px; margin: 28px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; color: var(--muted); font-size: 14px; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { width: 16px; height: 16px; flex: none; border-radius: 50%; content: ""; background: rgb(112 216 154 / 16%) radial-gradient(circle, var(--green) 0 3px, transparent 3.5px); }

/* Phone frame shared by the demos */
.phone { --s: 1; position: relative; width: calc(300px * var(--s)); flex: none; aspect-ratio: 300 / 632; padding: calc(9px * var(--s)); border-radius: calc(46px * var(--s)); font-size: calc(13px * var(--s)); background: linear-gradient(160deg, #3a3b42, #15161a 40%, #0d0d10); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%), 0 50px 100px -30px rgb(0 0 0 / 75%), 0 0 0 1px #050506; }
.phone::before { position: absolute; z-index: 3; top: calc(19px * var(--s)); left: 50%; width: calc(10px * var(--s)); height: calc(10px * var(--s)); border-radius: 50%; content: ""; background: #050506; transform: translateX(-50%); box-shadow: 0 0 0 2px #1b1c20; }
.screen { position: relative; display: flex; height: 100%; flex-direction: column; overflow: hidden; border-radius: calc(38px * var(--s)); background: #121317; color: #eceef3; }
.phone-shot .screen img { width: 100%; height: 100%; object-fit: cover; }
.status-bar { display: flex; height: 3em; flex: none; align-items: center; justify-content: space-between; padding: .5em 1.9em 0; font-size: .82em; font-weight: 650; }
.status-icons { display: inline-flex; gap: .35em; }
.status-icons i { width: 1.1em; height: .7em; border-radius: .2em; background: #e9e9ee; }
.status-icons i:first-child { width: .8em; opacity: .8; } .status-icons i:nth-child(2) { width: .8em; opacity: .8; }
.chev { width: .7em; height: .7em; flex: none; border-bottom: 2px solid #c9cbd3; border-left: 2px solid #c9cbd3; transform: rotate(45deg); }

/* Hero chat demo */
.hero-demo { position: relative; display: flex; justify-content: center; margin: 0; }
.hero-demo::after { position: absolute; z-index: -1; top: 12%; left: 50%; width: 120%; height: 70%; border-radius: 50%; content: ""; background: radial-gradient(closest-side, rgb(155 138 251 / 30%), transparent); filter: blur(30px); transform: translateX(-50%); }
.chat-head { display: flex; flex: none; align-items: center; gap: .75em; padding: .5em 1.2em .8em; border-bottom: 1px solid #22242b; }
.avatar { display: grid; width: 2.5em; height: 2.5em; flex: none; place-items: center; border-radius: 50%; color: #17181d; background: linear-gradient(135deg, #f4c38a, #ef8e7c); font-weight: 750; }
.chat-who { display: grid; line-height: 1.25; } .chat-who b { font-size: 1.05em; } .chat-who small { color: #8f929c; font-size: .8em; }
.chat { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: .45em; overflow: hidden; padding: 1em .95em .8em; }
.msg { max-width: 80%; margin: 0; padding: .6em .85em; border-radius: 1.15em; font-size: .98em; line-height: 1.35; }
.msg-in { align-self: flex-start; border-bottom-left-radius: .35em; background: #24262e; }
.msg-out { align-self: flex-end; border-bottom-right-radius: .35em; color: #17181d; background: var(--accent); }
.speech { position: absolute; z-index: 2; top: 19%; left: calc(50% - 292px); width: 252px; padding: 14px 16px 15px; border: 1px solid rgb(155 138 251 / 45%); border-radius: 18px 18px 18px 6px; background: rgb(28 29 37 / 88%); box-shadow: 0 24px 50px -18px rgb(0 0 0 / 80%), 0 0 40px -10px rgb(155 138 251 / 35%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transform: translateY(10px) scale(.97); transition: opacity 280ms, transform 280ms; }
.speech-label { display: flex; align-items: center; gap: 7px; color: #b5a7ff; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.speech p { margin: 8px 0 0; color: #f2f2f6; font-size: 16px; line-height: 1.45; }
.speech .w { opacity: 1; transition: opacity 160ms, color 300ms; }
.speech .f { color: #9a9daa; font-style: italic; }
.rec-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 0 rgb(255 100 124 / 60%); animation: rec-pulse 1.4s ease-out infinite; }
.composer { display: flex; flex: none; align-items: flex-end; gap: .55em; padding: .55em .8em .7em; }
.field { position: relative; display: block; min-height: 2.6em; flex: 1; padding: .62em .95em; border: 1px solid #2c2f38; border-radius: 1.3em; background: #1b1c22; font-size: .98em; line-height: 1.35; }
.placeholder { color: #7f828d; }
.typed { display: none; border-radius: .25em; }
.caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -.18em; background: var(--accent-bright); animation: blink 1s steps(1) infinite; }
.send { display: grid; width: 2.6em; height: 2.6em; flex: none; place-items: center; border-radius: 50%; color: #6d707b; background: #23252d; transition: background 200ms, color 200ms; }
.send svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.keyboard { flex: none; padding: .45em .3em 1.6em; background: #1a1b20; }
.kb-tools { display: flex; height: 2.7em; align-items: center; gap: .9em; padding: 0 .6em .25em .7em; }
.kb-tool { width: 1.2em; height: 1.2em; border: 1.6px solid #6f727d; border-radius: .3em; }
.kb-tool:nth-child(2) { border-radius: 50%; } .kb-tool:nth-child(3) { width: 1em; }
.ss-mic { position: relative; display: flex; width: 2.5em; height: 2.5em; margin-left: auto; align-items: center; justify-content: center; border-radius: 999px; color: #17181d; background: var(--accent); box-shadow: 0 0 0 0 rgb(155 138 251 / 55%); transition: width 380ms cubic-bezier(.3, .7, .2, 1), background 250ms; animation: mic-pulse 2.2s ease-out infinite; }
.mic-glyph { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: opacity 150ms; }
.rec-ui, .proc-ui { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; pointer-events: none; transition: opacity 200ms; }
.rec-ui { justify-content: space-between; gap: .4em; padding: 0 .3em; }
.rec-cancel, .rec-done { display: grid; width: 1.9em; height: 1.9em; flex: none; place-items: center; border-radius: 50%; }
.rec-cancel { color: #c9cbd3; background: #30323b; }
.rec-done { color: #17181d; background: var(--accent); }
.rec-cancel svg, .rec-done svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bars { display: flex; height: 1.3em; align-items: center; gap: .17em; }
.bars i { width: .2em; height: 100%; border-radius: 1em; background: var(--accent-bright); transform: scaleY(.3); }
.rec-time { color: #c9cbd3; font-size: .78em; font-variant-numeric: tabular-nums; }
.proc-ui { justify-content: center; gap: .3em; }
.proc-ui i { width: .4em; height: .4em; border-radius: 50%; background: var(--accent-bright); animation: dots 900ms ease-in-out infinite; }
.proc-ui i:nth-child(2) { animation-delay: 150ms; } .proc-ui i:nth-child(3) { animation-delay: 300ms; }
.kb-row { display: flex; gap: .3em; margin-top: .42em; padding-inline: .1em; }
.kb-row i { display: grid; height: 2.75em; flex: 1; place-items: center; border-radius: .45em; color: #e6e7ec; background: #2c2e36; font-size: 1.02em; font-style: normal; box-shadow: 0 1px 0 #0d0e11; }
.kb-indent { padding-inline: 1.1em; }
.kb-row .kb-wide { flex: 1.5; color: #b9bcc6; background: #24262d; font-size: .8em; }
.kb-row .kb-space { flex: 4.6; }
.demo-toggle { position: absolute; right: calc(50% - 190px); bottom: 10px; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid #3a3d47; border-radius: 50%; color: var(--soft); background: rgb(30 32 39 / 85%); cursor: pointer; }
.demo-toggle:hover { color: var(--ink); border-color: var(--accent); }
.demo-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.demo-toggle .icon-play { fill: currentColor; stroke-width: 1.5; }
.demo-toggle .icon-play, .demo-toggle[aria-pressed="true"] .icon-pause { display: none; }
.demo-toggle[aria-pressed="true"] .icon-play { display: block; }

/* Demo states, only once the script runs the animation */
.hero-demo.live:not(.is-sent) [data-demo-sent], .hero-demo.live:not(.is-replied) [data-demo-reply] { display: none; }
.hero-demo.live [data-demo-sent], .hero-demo.live [data-demo-reply] { animation: pop-in 320ms cubic-bezier(.2, .8, .2, 1.1) both; }
.hero-demo.is-speaking .speech { opacity: 1; transform: none; }
.hero-demo.live .speech .w:not(.on) { opacity: 0; }
.hero-demo.is-cleaned .speech .f { color: #6e717c; text-decoration: line-through; text-decoration-color: var(--rec); }
.hero-demo.is-typed .placeholder { display: none; }
.hero-demo.is-typed .typed { display: inline; animation: inserted 1400ms ease-out both; }
.hero-demo.is-typed .send { color: #17181d; background: var(--accent); }
.hero-demo.is-recording .ss-mic, .hero-demo.is-processing .ss-mic { width: 9.6em; background: #23252d; box-shadow: inset 0 0 0 1px #3a3d47; animation: none; }
.hero-demo.is-recording .mic-glyph, .hero-demo.is-processing .mic-glyph { opacity: 0; }
.hero-demo.is-recording .rec-ui { opacity: 1; transition-delay: 160ms; }
.hero-demo.is-processing .proc-ui { opacity: 1; }
.hero-demo.is-recording .bars i { animation: wave 900ms ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: -.2s !important; } .bars i:nth-child(3) { animation-delay: -.5s !important; } .bars i:nth-child(4) { animation-delay: -.1s !important; }
.bars i:nth-child(5) { animation-delay: -.65s !important; } .bars i:nth-child(6) { animation-delay: -.35s !important; } .bars i:nth-child(7) { animation-delay: -.8s !important; }
.tap::after { position: absolute; inset: -.2em; border-radius: inherit; content: ""; background: rgb(255 255 255 / 45%); animation: tap 450ms ease-out both; pointer-events: none; }
.rec-done.tap::after, .send.tap::after { border-radius: 50%; }
.rec-done, .send { position: relative; }
.hero-demo.is-paused *, .hero-demo.is-paused *::before, .hero-demo.is-paused *::after { animation-play-state: paused !important; }

/* Proof row */
.proof { width: var(--wrap); margin-inline: auto; padding-block: 8px 0; }
.proof ul { display: grid; margin: 0; padding: 28px 0; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--hair); list-style: none; }
.proof li { display: flex; align-items: center; gap: 18px; padding-inline: 28px; }
.proof li + li { border-left: 1px solid var(--hair); }
.proof li:first-child { padding-left: 0; }
.proof strong { color: var(--ink); font-size: clamp(38px, 4vw, 52px); font-weight: 760; letter-spacing: -.045em; line-height: 1; }
.proof span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.proof a { color: var(--quiet); font-size: 13px; white-space: nowrap; text-underline-offset: 3px; }

/* Feature rows */
.feature { display: grid; width: var(--wrap); margin-inline: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 104px); padding-block: var(--section) 0; }
.feature-copy { max-width: 520px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--accent-bright); font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.feature-copy h2, .section-intro h2 { margin: 0; font-size: clamp(36px, 4.6vw, 60px); font-weight: 740; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.feature-copy > p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.feature-visual { display: flex; justify-content: center; }

/* Style demo */
.style-demo { position: relative; padding: 28px; border: 1px solid #2f323c; border-radius: 28px; background: linear-gradient(180deg, #1f2129, #1a1b21); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 70%), inset 0 1px 0 rgb(255 255 255 / 5%); }
.style-demo::before { position: absolute; z-index: -1; inset: 10% -6% -8%; border-radius: 40px; content: ""; background: radial-gradient(closest-side, rgb(155 138 251 / 20%), transparent); filter: blur(24px); }
.sd-label { display: flex; align-items: center; gap: 8px; color: var(--quiet); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.sd-label-accent { color: var(--accent-bright); }
.sd-raw { margin: 12px 0 0; color: var(--soft); font-size: 17px; font-style: italic; line-height: 1.6; }
.sd-raw .f { color: #8e919c; transition: color 250ms, text-decoration-color 250ms; text-decoration: line-through; text-decoration-color: transparent; text-decoration-thickness: 2px; }
.style-demo:not(.is-exact) .sd-raw .f { color: #7d808b; text-decoration-color: var(--rec); }
.sd-picker { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0; padding: 5px; border: 1px solid #2f323c; border-radius: 16px; background: #15161b; }
.sd-picker label { position: relative; flex: 1 1 auto; }
.sd-picker input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sd-picker span { display: flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 12px; color: var(--muted); font-size: 14px; font-weight: 650; transition: background 180ms, color 180ms; }
.sd-picker label:hover span { color: var(--ink); }
.sd-picker input:checked + span { color: #17181d; background: var(--accent); box-shadow: 0 6px 18px -8px rgb(155 138 251 / 80%); }
.sd-written { min-height: 168px; padding: 20px 22px; border: 1px solid rgb(155 138 251 / 30%); border-radius: 18px; background: rgb(155 138 251 / 7%); }
.sd-out { margin: 10px 0 0; color: var(--ink); font-size: 20px; font-weight: 550; letter-spacing: -.012em; line-height: 1.5; }
.sd-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sd-written > div:not([hidden]) { animation: swap 380ms ease-out both; }

/* Words */
.phone-shot { --s: .96; }
.word-examples { display: grid; gap: 0; margin: 30px 0 0; }
.word-examples div { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr); align-items: center; gap: 14px; padding-block: 16px; border-top: 1px solid var(--hair); }
.word-examples div:last-child { border-bottom: 1px solid var(--hair); }
.word-examples div::after { grid-column: 2; grid-row: 1; width: 22px; height: 2px; content: ""; background: linear-gradient(90deg, transparent, var(--accent)); }
.word-examples dt { grid-column: 1; grid-row: 1; color: var(--muted); font-size: 15px; }
.word-examples q { color: var(--soft); font-style: italic; quotes: "“" "”"; }
.word-examples dd { grid-column: 3; grid-row: 1; margin: 0; color: var(--ink); font-size: 16px; font-weight: 650; }

/* AI Notes */
.notes-band { position: relative; margin-top: var(--section); padding-block: var(--section); background: linear-gradient(180deg, transparent, rgb(155 138 251 / 6%) 30%, rgb(155 138 251 / 4%) 75%, transparent); }
.notes-band::before { position: absolute; top: 0; left: 50%; width: min(900px, 90%); height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgb(181 167 255 / 55%), transparent); transform: translateX(-50%); }
.pro-chip, .trial-chip { display: inline-flex; padding: 4px 9px; border-radius: 999px; color: #17181d; background: linear-gradient(100deg, #d9d1ff, #9b8afb); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.notes-points { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.notes-points li { position: relative; padding-left: 32px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.notes-points li::before { position: absolute; top: 3px; left: 0; width: 20px; height: 20px; border-radius: 50%; content: ""; background: rgb(155 138 251 / 18%) radial-gradient(circle, var(--accent-bright) 0 3.5px, transparent 4px); }
.notes-points b { color: var(--ink); font-weight: 650; }
.notes-screen { padding-bottom: 1em; }
.nt-top { display: flex; align-items: center; justify-content: space-between; padding: .3em 1.4em .4em; }
.nt-dots { display: inline-flex; gap: .2em; } .nt-dots i { width: .28em; height: .28em; border-radius: 50%; background: #c9cbd3; }
.nt-title { margin: .2em 1.3em 0; font-size: 1.5em; font-weight: 700; letter-spacing: -.02em; }
.nt-meta { margin: .3em 1.6em 0; color: #8f929c; font-size: .8em; }
.nt-tabs { display: flex; gap: 1.2em; margin: .9em 1.6em 0; border-bottom: 1px solid #262830; font-size: .88em; }
.nt-tabs span { padding-bottom: .6em; color: #8f929c; } .nt-tabs .on { color: #f2f2f6; font-weight: 650; box-shadow: inset 0 -2px 0 var(--accent); }
.nt-body { display: flex; flex-direction: column; flex: 1; overflow: hidden; padding: .9em 1.6em 0; }
.nt-overview { margin: 0; color: #d7d9e0; font-size: .92em; line-height: 1.45; }
.nt-h { margin: 1.1em 0 .35em; color: #8f929c; font-size: .66em; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.nt-list { margin: 0; padding: 0; list-style: none; }
.nt-list li { display: flex; align-items: flex-start; gap: .6em; padding-block: .35em; font-size: .86em; line-height: 1.35; }
.nt-list li::before { width: 1em; height: 1em; flex: none; margin-top: .12em; content: ""; }
.nt-check li::before { border: 1.6px solid #6f727d; border-radius: .25em; }
.nt-dot li::before { width: .4em; height: .4em; margin: .45em .3em 0; border-radius: 50%; background: var(--accent-bright); }
.nt-list span, .nt-answer span { flex: 1; }
.nt-body time { flex: none; padding: .15em .45em; border-radius: .4em; color: var(--accent-bright); background: rgb(155 138 251 / 14%); font-size: .82em; font-variant-numeric: tabular-nums; }
.nt-follow { display: flex; gap: .5em; margin-top: 1em; }
.nt-pill { display: inline-flex; align-items: center; gap: .45em; padding: .55em .9em; border-radius: 999px; background: #262830; font-size: .82em; font-weight: 650; }
.nt-pill-accent { color: #17181d; background: var(--accent); }
.nt-pill svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.nt-ask { margin-top: 1em; padding-top: 1em; border-top: 1px solid #262830; }
.nt-field { display: block; padding: .65em .9em; border: 1px solid #343743; border-radius: .8em; color: #f2f2f6; background: #1a1b21; font-size: .86em; }
.nt-answer { display: flex; gap: .6em; margin: .7em 0 0; color: #d7d9e0; font-size: .86em; line-height: 1.4; }
.nt-player { display: flex; flex: none; align-items: center; gap: .7em; margin: .8em 1em 0; padding: .55em .8em .55em .55em; border: 1px solid #2a2c35; border-radius: 1.4em; background: #1c1d24; }
.nt-play { display: grid; width: 2.2em; height: 2.2em; flex: none; place-items: center; border-radius: 50%; color: #17181d; background: #f2f2f6; }
.nt-play svg { width: 1em; height: 1em; margin-left: .1em; fill: currentColor; }
.nt-track { position: relative; height: .28em; flex: 1; overflow: hidden; border-radius: 1em; background: #33353f; }
.nt-track i { position: absolute; inset: 0 72% 0 0; border-radius: inherit; background: var(--accent); }
.nt-time { color: #8f929c; font-size: .75em; font-variant-numeric: tabular-nums; }
.feature-notes { padding-top: 0; }
.feature-notes .phone { --s: 1.02; }
.js .feature-notes .nt-answer { opacity: 0; transform: translateY(6px); transition: opacity 500ms 700ms, transform 500ms 700ms; }
.js .feature-notes .in-view .nt-answer { opacity: 1; transform: none; }

/* Section intros and details grid */
.section-intro { max-width: 680px; }
.section-intro > p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.details, .steps, .get, .price, .faq { width: var(--wrap); margin-inline: auto; padding-top: var(--section); }
.details { padding-top: calc(var(--section) * .45); }
.detail-grid { display: grid; margin: 48px 0 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 48px; list-style: none; }
.detail-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #343743; border-radius: 12px; color: var(--accent-bright); background: linear-gradient(180deg, #262832, #1d1f26); }
.detail-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.detail-grid h3 { margin: 18px 0 8px; font-size: 18px; font-weight: 680; letter-spacing: -.015em; }
.detail-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Steps */
.step-row { display: grid; margin: 48px 0 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.step-row li { position: relative; padding: 28px 12px 0 0; border-top: 2px solid var(--hair); }
.step-row li::before { position: absolute; top: -2px; left: 0; width: 64px; height: 2px; content: ""; background: var(--accent); }
.step-num { display: block; color: var(--accent-bright); font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.step-row h3 { margin: 14px 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.step-row p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Devices */
.device-row { display: grid; margin-top: 44px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.device { display: flex; flex-direction: column; padding: 28px; border: 1px solid #2f323c; border-radius: 22px; background: linear-gradient(180deg, #1f2129, #1b1c22); }
.device-kind { margin: 0 0 14px; color: var(--accent-bright); font-size: 13px; font-weight: 750; }
.device h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.device > p:not(.device-kind) { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.device-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.device .store-status { margin: 0; color: var(--quiet); font-size: 13px; line-height: 1.5; }
.device small { display: block; margin-top: 14px; color: var(--quiet); font-size: 13px; line-height: 1.5; }
.device small a { color: var(--soft); text-underline-offset: 3px; }
.device details { margin-top: 14px; border-top: 1px solid var(--hair); font-size: 14px; line-height: 1.6; }
.device summary { position: relative; display: block; min-height: 44px; padding: 13px 28px 4px 0; color: var(--soft); font-size: 14px; list-style: none; }
.device summary::-webkit-details-marker { display: none; }
.device summary::after { position: absolute; top: 19px; right: 4px; width: 8px; height: 8px; border-right: 2px solid var(--quiet); border-bottom: 2px solid var(--quiet); content: ""; transform: rotate(45deg); transition: transform 200ms; }
.device details[open] summary::after { top: 23px; transform: rotate(-135deg); }
.device details p { margin: 8px 0 0; }
.device details a { color: var(--soft); text-underline-offset: 3px; }

/* Pricing */
.plan-row { display: grid; margin-top: 44px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plan { padding: 32px; border: 1px solid #2f323c; border-radius: 24px; background: #1c1d23; }
.plan-pro { position: relative; border-color: rgb(155 138 251 / 55%); background: linear-gradient(160deg, rgb(155 138 251 / 14%), #1c1d23 55%); box-shadow: 0 30px 80px -40px rgb(155 138 251 / 55%); }
.plan h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; font-weight: 700; }
.plan-price { margin: 18px 0 0; font-size: 52px; font-weight: 760; letter-spacing: -.045em; line-height: 1; }
.plan-price span { margin-left: 4px; color: var(--quiet); font-size: 17px; font-weight: 550; letter-spacing: 0; }
.plan-lede { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.ticks { display: grid; gap: 12px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--hair); list-style: none; }
.ticks li { position: relative; padding-left: 30px; color: var(--soft); font-size: 15px; line-height: 1.5; }
.ticks li::before { position: absolute; top: 4px; left: 0; width: 18px; height: 18px; border-radius: 50%; content: ""; background: rgb(112 216 154 / 15%) radial-gradient(circle, var(--green) 0 3px, transparent 3.5px); }
.plan-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 22px 0 0; color: var(--quiet); font-size: 13px; }
.plan-foot a { padding-block: 10px; color: var(--accent-bright); font-size: 15px; font-weight: 650; text-underline-offset: 4px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.faq-items details { border-top: 1px solid var(--hair); }
.faq-items details:last-child { border-bottom: 1px solid var(--hair); }
.faq-items summary { position: relative; display: block; min-height: 44px; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 650; list-style: none; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after { position: absolute; top: 50%; right: 6px; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--quiet); border-bottom: 2px solid var(--quiet); content: ""; transform: rotate(45deg); transition: transform 200ms; }
.faq-items details[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.faq-items p { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-items a { color: var(--soft); text-underline-offset: 3px; }

/* Closing call to action */
.closer { position: relative; width: var(--wrap); margin: var(--section) auto 0; padding: clamp(56px, 8vw, 96px) 24px; overflow: hidden; border: 1px solid rgb(155 138 251 / 30%); border-radius: 32px; text-align: center; background: radial-gradient(70% 90% at 50% 0%, rgb(155 138 251 / 22%), transparent 70%), #1a1b21; }
.closer h2 { margin: 0 auto; max-width: 760px; font-size: clamp(36px, 5vw, 64px); font-weight: 760; letter-spacing: -.048em; line-height: 1.02; text-wrap: balance; }
.closer p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.closer .hero-actions { justify-content: center; }

/* Footer */
.home-footer { display: flex; width: var(--wrap); min-height: 120px; margin: 72px auto 0; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--hair); }
.home-footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.home-footer nav a { padding-block: 12px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.home-footer .footer-identity p { margin: 8px 0 0; color: var(--quiet); font-size: 13px; }

/* Scroll reveal, only when the script is running */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms cubic-bezier(.2, .7, .2, 1), transform 700ms cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .detail-grid .reveal:nth-child(3n+2), .js .step-row .reveal:nth-child(2), .js .device-row .reveal:nth-child(2), .js .plan-row .reveal:nth-child(2) { transition-delay: 90ms; }
.js .detail-grid .reveal:nth-child(3n), .js .step-row .reveal:nth-child(3), .js .device-row .reveal:nth-child(3) { transition-delay: 180ms; }

@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes rec-pulse { 0% { box-shadow: 0 0 0 0 rgb(255 100 124 / 55%); } 80%, 100% { box-shadow: 0 0 0 7px rgb(255 100 124 / 0%); } }
@keyframes mic-pulse { 0% { box-shadow: 0 0 0 0 rgb(155 138 251 / 55%); } 70%, 100% { box-shadow: 0 0 0 .7em rgb(155 138 251 / 0%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes dots { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-.2em); } }
@keyframes tap { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(.6em) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes inserted { 0% { background: rgb(155 138 251 / 45%); } 100% { background: transparent; } }
@keyframes swap { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 1080px) {
  .hero { gap: 28px; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-row { grid-template-columns: 1fr; }
  .device-actions { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; text-align: left; }
  .hero-demo { margin-top: 12px; }
  .demo-toggle { right: calc(50% - 175px); }
  .feature { grid-template-columns: 1fr; }
  .feature-copy { max-width: 640px; }
  .feature-words .feature-copy { grid-row: 1; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .home { --wrap: min(100% - 32px, 600px); --section: 76px; }
  html:has(.home) { scroll-padding-top: 72px; }
  .home-header-inner { min-height: 60px; gap: 12px; }
  .home-header .nav-optional { display: none; }
  .home-header .brand { font-size: 15px; }
  .home-header .brand img { width: 28px; height: 28px; }
  .hero { padding-bottom: 48px; }
  .hero-kicker { margin-bottom: 20px; font-size: 12px; }
  .hero-lede { margin-top: 20px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { flex: 1 1 200px; }
  .phone { --s: .9; }
  .phone-shot { --s: .86; } .feature-notes .phone { --s: .92; }
  .demo-toggle { right: 0; }
  .speech { top: 17%; left: 0; width: 214px; padding: 12px 14px 13px; }
  .speech p { font-size: 15px; }
  .proof ul { grid-template-columns: 1fr; padding: 4px 0; }
  .proof li { padding: 18px 0; }
  .proof li + li { border-left: 0; border-top: 1px solid var(--hair); }
  .proof strong { min-width: 64px; }
  .feature-copy > p:not(.eyebrow), .section-intro > p:not(.eyebrow) { font-size: 17px; }
  .style-demo { padding: 20px; border-radius: 22px; }
  .sd-picker { display: grid; grid-template-columns: repeat(3, 1fr); }
  .sd-picker span { padding: 0 6px; }
  .sd-out { font-size: 18px; }
  .sd-written { min-height: 196px; padding: 18px; }
  .word-examples div { grid-template-columns: 1fr; gap: 4px; }
  .word-examples div::after { display: none; }
  .word-examples dt, .word-examples dd { grid-column: 1; grid-row: auto; }
  .detail-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .step-row { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .device-row, .plan-row { margin-top: 32px; }
  .device, .plan { padding: 24px; }
  .device-actions { grid-template-columns: 1fr; }
  .plan-row { grid-template-columns: 1fr; }
  .closer { padding-inline: 20px; border-radius: 24px; }
  .closer .hero-actions .btn { flex: 1 1 220px; }
  .home-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding-block: 28px; }
}
@media (max-width: 370px) {
  .phone { --s: .82; }
  .sd-picker { grid-template-columns: repeat(2, 1fr); }
}
/* The narrowest phones keep the brand and the download button; Help stays in the footer. */
@media (max-width: 359px) {
  .home-header nav a:not(.nav-cta) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .feature-notes .nt-answer { opacity: 1; transform: none; }
  .btn-primary:hover { transform: none; }
}
