@font-face {
  font-family: DM;
  src: url('/fonts/dm-sans-100_900-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ground: #f4f4ef;
  --paper: #fff;
  --ink: #20221f;
  --muted: #50594e;
  --accent: #4568e8;
  --blue: #e5e9ff;
  --gutter: clamp(24px, 5vw, 72px);
  color-scheme: light;
  scrollbar-color: #90998d var(--ground);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 18px/1.55 DM, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(60px, 8vw, 116px); line-height: .98; letter-spacing: -.055em; }
h2 { font-size: clamp(36px, 4.5vw, 64px); }
h3 { font-size: 28px; }
p + p { margin-top: 20px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: #cbd5ff; color: var(--ink); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { min-width: 0; }
figcaption { font-size: 14px; margin-top: 22px; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: -100px; left: 24px; padding: 12px 20px; background: var(--ink); color: white; z-index: 100; }
.skip:focus { top: 12px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 17px 24px; min-height: 54px; background: var(--accent); color: white; font-size: 17px; line-height: 1.4; transition: background .2s, transform .2s; }
.button:hover { background: #1839b7; }
.button:active { transform: translateY(2px); }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow { transform: translate(3px, -3px); }
.quiet { background: var(--blue); color: var(--ink); }
.quiet:hover { background: #d2d8f4; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.text-link, .link, .setup-help { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link { display: inline-flex; align-items: center; gap: 22px; margin-top: 24px; }
.text-link:hover, .link:hover, .setup-help:hover { text-decoration-thickness: 2px; }
.fine { font-size: 14px; line-height: 1.5; margin-top: 14px; }
.nav { display: flex; align-items: center; gap: 36px; min-height: 112px; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 38px; font-weight: 650; letter-spacing: -.06em; line-height: 1; }
.beta { font-size: 12px; letter-spacing: 0; font-weight: 450; align-self: flex-end; padding-bottom: 4px; }
.nav nav { display: flex; gap: 32px; margin-left: auto; font-size: 16px; }
.nav nav a { padding-block: 12px; }
.nav nav a:hover, .foot-bottom a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu { display: none; margin-left: auto; }
summary { cursor: pointer; }
.menu > summary { padding: 12px 0 12px 12px; min-height: 44px; }
.menu-panel { position: absolute; right: 0; top: 90px; width: min(340px, 100%); padding: 24px; background: var(--blue); box-shadow: 0 12px 30px #20221f18; }
.menu-panel a { display: block; padding: 12px; font-size: 16px; }
.menu-panel .button { margin-top: 12px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; padding-block: 42px 48px; }
.hero-copy .lede { max-width: 480px; font-size: 20px; margin-top: 30px; }
.hero .actions { margin-top: 30px; }
.hero .fine { max-width: 460px; color: var(--muted); }
.hero-art { padding: 0 0 26px; }
.hero-art svg { width: 100%; max-width: 520px; height: auto; margin-left: auto; display: block; }
.hero-art figcaption { margin-inline: 24px; display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 60px; background: var(--blue); }
.demo-copy { display: flex; flex-direction: column; }
.demo-copy p { margin-top: 26px; max-width: 390px; }
.sample-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.sample-choices button { border: 0; background: transparent; padding: 12px; min-height: 44px; font-size: 14px; }
.sample-choices button[aria-pressed='true'] { background: var(--ink); color: white; }
.sample-choices button:hover { background: #d2d8f4; color: var(--ink); }
.demo-product, .stage { min-width: 0; }
.demo-product { display: grid; }
.stage { display: flex; flex-direction: column; gap: 24px; }
.demo-copy .field-heard { max-width: none; margin-top: 32px; font-size: 25px; line-height: 1.35; }
.field-heard b { display: block; font-size: 14px; font-weight: 400; margin-bottom: 12px; }
.field-heard del { text-decoration-color: #5266ba; text-decoration-thickness: 1px; }
.written { background: var(--paper); padding: 28px; min-height: 150px; flex: 1; }
.field-label { font-size: 14px; color: var(--muted); }
.field-text { font-size: 27px; line-height: 1.35; letter-spacing: -.02em; margin-top: 18px; overflow-wrap: anywhere; }
.field-text.is-long { font-size: 23px; }
.word { display: inline-block; }
.caret { display: inline-block; width: 3px; height: 1em; background: var(--accent); vertical-align: -.12em; margin-left: 3px; }
.voice { position: relative; }
.ribbon { display: none; }
/* Key beside its instructions, above the output it produces. */
.bubble { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 24px; justify-items: start; align-content: center; }
.bubble > * { grid-column: 2; }
.indicator { display: flex; flex-direction: column; justify-content: space-between; grid-column: 1; grid-row: 1 / span 4; width: 150px; height: 118px; padding: 14px 18px; border: 1px solid #9daaf4; border-bottom: 7px solid #9daaf4; border-radius: 16px; background: #f4f5ff; color: var(--ink); text-align: left; touch-action: none; user-select: none; }
.indicator:hover { background: #fff; }
.indicator:active, .stage[data-phase="listening"] .indicator { transform: translateY(4px); border-bottom-width: 3px; }
.option-symbol { font-size: 52px; line-height: 1; }
.option-label { font-size: 15px; white-space: nowrap; }
.hold-label { font-size: 20px; font-weight: 500; }
.bubble .hint { margin-top: 0; max-width: 340px; }
.voice-capsules svg { width: 80px; height: 40px; fill: var(--accent); }
.bubble-words { font-size: 14px; max-width: 320px; opacity: var(--live, 0); }
.guess { opacity: .6; }
.voice-capsules { grid-row: 3; }
.bubble:has(.bubble-card:not([hidden])) .voice-capsules { visibility: hidden; }
.bubble-card { grid-row: 3; background: var(--ink); color: white; padding: 12px; font-size: 14px; }
.bubble-card button { border: 0; padding: 8px; margin-left: 8px; background: var(--paper); color: var(--ink); }
.hint { font-size: 13px; line-height: 1.5; margin-top: 12px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; padding-block: 90px; }
.story h2 { font-size: clamp(48px, 4.5vw, 64px); }
.story p { max-width: 430px; margin-top: 28px; }
.story img { width: 100%; }
.privacy-spread { padding: 64px; background: var(--accent); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.privacy-spread h2 { font-size: clamp(36px, 4vw, 58px); text-wrap: balance; }
.privacy-spread p + p { font-size: 16px; }
.privacy-spread :focus-visible, footer :focus-visible { outline-color: white; }
/* Writing settings are a preview of the app's settings, not a provider runner. */
.writing-settings { margin-top: 110px; padding: 0 60px; }
.writing-settings h2 { font-size: 24px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.writing-intro { font-size: 18px; margin-bottom: 12px; max-width: 65ch; }
.writing-note { color: var(--ink); font-size: 16px; margin-bottom: 40px; max-width: 65ch; }
.writing-settings h2 span { color: var(--muted); font-weight: 400; }
.writing-settings fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.writing-settings fieldset + fieldset { margin-top: 38px; }
.writing-settings legend { font-size: 16px; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.writing-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.style-choices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.writing-choices label { position: relative; min-width: 0; cursor: pointer; }
.writing-choices input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.writing-choices span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 80px; padding: 12px 8px 20px; font-size: clamp(20px, 2.3vw, 31px); line-height: 1.2; border-bottom: 2px solid #bfc3bb; }
.writing-choices input:checked + span { font-weight: 650; border-bottom-width: 4px; border-color: var(--accent); }
.model-choices legend { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.model-choices .writing-choices span { font-size: clamp(17px, 1.8vw, 22px); min-height: 56px; padding-bottom: 12px; }
.writing-choices input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: -6px; }
.writing-choices label:hover span { background: var(--blue); }
.writing-description { font-size: 16px; margin-top: 14px; color: var(--muted); }
.writing-ink { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: butt; stroke-linejoin: round; }
.writing-art svg { width: 100%; height: auto; overflow: visible; }
.download-section { padding-block: 110px; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; }
/* Starts on the right column of .start-grid (1fr 1fr, 60px gap) so the panel lines up with the button above. */
.download-help { margin-left: calc(50% + 30px); background: var(--blue); padding: 8px 32px; }
.download-help details { padding: 24px 0; }
.download-help summary { font-size: 21px; letter-spacing: -.02em; }
.download-help details > p { font-size: 16px; margin-top: 20px; }
.steps { padding-left: 24px; font-size: 16px; }
.steps li { padding: 12px 0 8px 8px; }
.steps strong, .steps span { display: block; }
.steps span { margin-top: 6px; }
footer { padding-block: 64px 32px; background: var(--accent); color: white; }
footer .button { background: var(--ground); color: var(--ink); }
footer .button:hover { background: white; }
.footer-invite { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.foot-word { font-size: clamp(80px, 20vw, 280px); font-weight: 550; letter-spacing: -.065em; line-height: 1.1; margin: 45px 0; }
.foot-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; font-size: 14px; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot-bottom a { padding-block: 8px; }
.cookie-settings { padding: 8px 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.cookie-settings:hover { text-decoration: underline; text-underline-offset: 5px; }
.consent { position: fixed; z-index: 90; right: 24px; bottom: 24px; width: min(520px, calc(100% - 48px)); padding: 24px; background: var(--paper); box-shadow: 0 12px 30px #20221f2e; font-size: 16px; }
.consent p { margin: 0 0 18px; }
.consent a { text-decoration: underline; text-underline-offset: 4px; }
.consent div { display: flex; flex-wrap: wrap; gap: 12px; }
.consent .button { flex: 1; justify-content: center; border: 0; font: inherit; cursor: pointer; }
.next-steps { max-width: 620px; padding-left: 24px; margin-bottom: 40px; }
.next-steps li { padding-block: 6px; }
/* Reading pages share the identity, with a quieter scale and longer measure. */
.document { padding-block: 50px 110px; }
.document > .text-link { margin: 0 0 36px; font-size: 16px; }
.tag { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.document h1 { max-width: 950px; font-size: clamp(48px, 6vw, 86px); }
.serif { font: inherit; }
.document-lead { max-width: 700px; margin-top: 32px; font-size: 22px; }
.privacy-index { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 44px 0 80px; padding: 24px; background: var(--blue); font-size: 16px; }
.privacy-index a { padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; }
.document-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px 80px; }
.document-grid h2 { font-size: 32px; line-height: 1.12; letter-spacing: -.03em; }
.document-grid .tag { margin-top: 18px; }
.document-grid > div { min-width: 0; }
.document-grid p { max-width: 70ch; overflow-wrap: break-word; }
.document-grid a { text-decoration: underline; text-underline-offset: 4px; }
.document-grid code { font-size: .88em; overflow-wrap: anywhere; }
.compare-scroll { overflow-x: auto; margin-bottom: 24px; }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 14px 16px 14px 0; border-bottom: 1px solid currentColor; text-align: left; vertical-align: top; }
.compare thead th { font-weight: 600; }
.compare tbody th { font-weight: 500; width: 26%; }
.document-lead + .document-grid { margin-top: 80px; }
.document-grid a.button { text-decoration: none; }
.not-found { min-height: 70vh; padding-block: 60px 100px; }
.not-found h1 { max-width: 900px; }
.not-found > p:not(.tag) { max-width: 540px; margin-block: 32px; }
.lost { display: flex; align-items: center; gap: 8px; height: 70px; margin-top: 30px; }
.lost i { width: 10px; height: 24px; background: var(--accent); border-radius: 10px; }
.lost i:nth-child(2), .lost i:nth-child(4) { height: 40px; }
.lost i:nth-child(3) { height: 58px; }
@media (min-width: 1800px) { .hero { gap: 70px; } }
@media (max-width: 1000px) {
  .nav { gap: 24px; }
  .nav nav { gap: 20px; }
  .hero { gap: 30px; }
  .demo { padding: 36px; gap: 32px; }
  .story { gap: 50px; }
  .privacy-spread { padding: 40px; }
  .writing-settings { padding-inline: 0; }
  .privacy-spread { gap: 32px; }
  .document-grid { gap: 60px 40px; }
  .demo-copy .field-heard { font-size: 22px; }
  .field-text { font-size: 24px; }
}
@media (max-width: 700px) {
  .nav { min-height: 90px; }
  .nav > nav, .nav > .button { display: none; }
  .menu { display: block; }
  .brand { font-size: 34px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 28px 40px; gap: 24px; }
  h1 { font-size: clamp(52px, 13vw, 78px); }
  .hero-copy .lede { font-size: 19px; margin-top: 26px; }
  .hero-art { padding: 0 0 24px; }
  .hero-art svg { max-height: 390px; }
  .demo { grid-template-columns: minmax(0, 1fr); padding: 28px; gap: 16px; }
  .demo-copy p { margin-top: 20px; }
  .sample-choices { gap: 4px; margin-top: 24px; }
  .sample-choices button { padding: 10px; }
  .demo-copy .field-heard { font-size: 23px; margin-top: 16px; }
  .stage { gap: 16px; }
  .setup-help { display: inline-flex; align-items: center; min-height: 44px; }
  .consent { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; }
  .cookie-settings { min-height: 44px; }
  .document > .text-link, .privacy-index a, .foot-bottom a, .document-grid p > a.link[href$="-alternative"] { display: inline-flex; align-items: center; min-height: 44px; }
  .written { padding: 24px; }
  .field-text { font-size: 24px; }
  .field-text.is-long { font-size: 20px; }
  .bubble-words { max-width: 180px; }
  .story { grid-template-columns: minmax(0, 1fr); padding-block: 56px; gap: 32px; }
  .story h2 { font-size: 44px; }
  .story h2 br { display: none; }
  .story figure img { max-height: 330px; }
  .privacy-spread { grid-template-columns: minmax(0, 1fr); padding: 28px; gap: 30px; }
  .privacy-spread h2 { font-size: 36px; }
  .writing-settings { padding: 0; margin-top: 64px; }
  .writing-settings h2 { font-size: 21px; line-height: 1.4; }
  .writing-note { margin-bottom: 28px; }
  .style-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-choices .writing-choices { grid-template-columns: minmax(0, 1fr); }
  .writing-choices span { font-size: 20px; min-height: 64px; padding: 16px 6px; }
  .writing-art svg { max-height: 360px; }
  .download-section { padding-block: 70px; }
  .start-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-bottom: 36px; }
  .download-help { margin-left: 0; padding: 0 24px; }
  .download-help summary { font-size: 19px; }
  footer { padding-block: 44px 28px; }
  .footer-invite, .foot-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .foot-word { margin-block: 44px 28px; }
  .document { padding-block: 30px 70px; }
  .document h1 { font-size: 48px; }
  .document-lead { font-size: 20px; }
  .privacy-index { margin: 32px 0 50px; padding: 20px; gap: 12px 20px; }
  .document-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .document-lead + .document-grid { margin-top: 50px; }
  .compare { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding-right: 10px; }
  .compare tbody th { width: auto; }
  .document-grid > div:nth-child(even) { margin-bottom: 38px; }
  .document-grid h2 { font-size: 30px; }
  .document-grid .tag { margin-block: 12px 0; }
}
.line { display: block; }
/* One motion system for the whole site: power3-style ease-out, 0.65s base, 0.08s stagger. */
@media (prefers-reduced-motion: no-preference) {
  /* The hero ribbon and ink lines are drawn in through the image's mask, in writing order. */
  .hold .hero-draw use { stroke-dasharray: 1; animation: draw var(--t) var(--at) linear both; }
  .hero-draw use:nth-child(n + 2) { animation-timing-function: var(--out); }
  .hold .hero-draw use { animation-play-state: paused; }
  .hold [data-reveal='draw'].in.art-ready .hero-draw use { animation-play-state: running; }
  .hero-art svg { animation: drift 7s ease-in-out infinite alternate; }
  :root { --out: cubic-bezier(.22, 1, .36, 1); }
  .hold [data-reveal=''] { opacity: 0; transform: translateY(26px); transition: opacity .65s var(--out) var(--d, 0s), transform .65s var(--out) var(--d, 0s); }
  .hold [data-reveal=''].in { opacity: 1; transform: none; }
  .hold [data-reveal='lines']:not(:has(.line)) { visibility: hidden; }
  /* The padding keeps descenders inside the mask without moving the layout. */
  .hold .line { overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
  .hold .line > span { display: block; transform: translateY(118%); transition: transform .9s var(--out) calc(var(--d, 0s) + var(--i) * .09s); }
  .hold .in .line > span { transform: none; }
  .hold [data-reveal='unmask'] { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1); }
  .hold [data-reveal='unmask'] img { transform: scale(1.08); transition: transform 1.4s var(--out); }
  .hold [data-reveal='unmask'].in { clip-path: inset(0); }
  .hold [data-reveal='unmask'].in img { transform: none; }
}
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes drift { to { transform: translateY(-10px) rotate(-.5deg); } }
@media (prefers-reduced-motion: reduce) {
  .button, .arrow { transition: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
}
