/* Cabinet Grotesk, the app's own typeface (USAGE.md), self-hosted under its ITF Free Font License: Regular for text, Bold for titles. */
@font-face { font-family: "Cabinet Grotesk"; src: url("assets/CabinetGrotesk-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("assets/CabinetGrotesk-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("assets/CabinetGrotesk-Bold.otf") format("opentype"); font-weight: 600 800; font-display: swap; }
/* The app's approved light palette (USAGE.md): ivory and sage. */
:root {
  color-scheme: light;
  --background: #f7f4ec;
  --surface: #f0eee6;
  --elevated: #fffdf8;
  --text: #202820;
  --muted: #626b60;
  --border: #d8dcd3;
  --sage: #4e6b56;
  --sage-soft: #e5ebdf;
  --sage-active: #3f5745;
  --on-accent: #fffdf8;
  --shadow: 0 30px 60px -24px rgb(32 40 32 / 32%), 0 10px 24px -8px rgb(32 40 32 / 16%);
  font-family: "Cabinet Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-synthesis: none;
  background: var(--background);
  color: var(--text);
}
/* Cabinet Grotesk sets tighter than Geist did, so titles need less negative tracking. */
h1, h2, h3 { letter-spacing: -.025em; }
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; scroll-behavior: smooth; }
body { margin: 0; background: var(--background); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sage-active); outline-offset: 5px; border-radius: 6px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg { flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
::selection { color: var(--on-accent); background: var(--sage-active); }
[hidden] { display: none !important; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 12px; z-index: 20; padding: 12px 18px; background: var(--sage); color: var(--on-accent); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.text-link { color: var(--sage-active); font-weight: 550; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { color: var(--text); }

/* Buttons. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 22px; min-height: 52px; border: 0; border-radius: 10px; background: var(--sage); color: var(--on-accent); font-size: 14px; font-weight: 650; white-space: nowrap; transition: background .2s; }
.button:hover { background: var(--sage-active); }
.button-small { min-height: 40px; padding: 10px 16px; font-size: 13px; }
.button-large { min-height: 58px; padding: 17px 26px; font-size: 16px; gap: 14px; }
.button .icon { width: 18px; height: 18px; }

/* Header. */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(247 244 236 / 96%); border-bottom: 1px solid transparent; transition: border-color .2s; }
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .site-header { background: rgb(247 244 236 / 80%); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-nav { display: flex; align-items: center; gap: 16px; padding-block: 14px; }
.wordmark { display: inline-flex; align-items: center; gap: .32em; min-height: 44px; font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: -.5px; white-space: nowrap; }
.brand-name { font-size: .85em; letter-spacing: -.02em; }
/* Crop the padded PNG and optically center its artwork on the visible capitals. */
.brand-symbol { position: relative; width: 1.4em; height: .84em; flex: none; overflow: hidden; transform: translateY(-.025em); }
.brand-mark { filter: invert(1); mix-blend-mode: multiply; position: absolute; top: 50%; left: 50%; width: 2em; height: 2em; max-width: none; object-fit: contain; transform: translate(-50%, -50%); }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 12px; font-size: 14px; font-weight: 520; color: var(--muted); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover { color: var(--text); }

/* Hero. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; min-height: calc(100svh - 73px); padding-block: 32px 72px; }
.hero-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.eyebrow { color: var(--sage-active); display: inline-flex; align-items: center; gap: 8px; font-size: 10px; line-height: 1; letter-spacing: 1px; font-weight: 600; padding: 10px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--sage-soft); white-space: nowrap; }
.platform-pill { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 11px; line-height: 1; font-weight: 500; white-space: nowrap; }
.platform-pill svg { width: 15px; height: 15px; fill: currentColor; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgb(143 175 152 / 18%); }
h1 { font-size: clamp(44px, 5.2vw, 70px); letter-spacing: -.03em; line-height: 1.03; font-weight: 700; }
h1 span { color: var(--sage); }
.hero-description { color: var(--muted); font-size: 19px; line-height: 1.6; margin-top: 24px; max-width: 470px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 32px; }
.see-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--sage-active); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.see-link:hover { color: var(--text); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 520; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .icon { width: 16px; height: 16px; color: var(--sage); stroke-width: 2.2; }

.qr-card { display: flex; align-items: center; gap: 18px; width: fit-content; max-width: 100%; padding: 12px 22px 12px 12px; border: 1px solid var(--border); border-radius: 18px; background: var(--elevated); box-shadow: 0 12px 28px -18px rgb(32 40 32 / 30%); }
.qr { width: 116px; height: 116px; flex: none; padding: 11px; border-radius: 10px; background: var(--elevated); outline: 1px solid var(--border); outline-offset: -1px; object-fit: contain; }
.qr-copy { display: grid; gap: 5px; }
.qr-title { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.qr-sub { color: var(--muted); font-size: 14px; line-height: 1.45; }
.qr-copy .text-link { margin-top: 6px; font-size: 13px; width: fit-content; }
.signup-form { margin-top: 22px; max-width: 470px; }
.signup-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 550; }
.signup-row { display: flex; gap: 8px; }
.signup-row input { min-width: 0; flex: 1; width: 100%; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 10px; padding: 14px 16px; font: inherit; font-size: 15px; outline: none; }
.signup-row input::placeholder { color: var(--muted); }
.signup-row input:focus-visible { border-color: var(--sage); box-shadow: 0 0 0 3px rgb(143 175 152 / 22%); }
.signup-row .button { min-height: 50px; }
.signup-row .button:disabled { cursor: default; opacity: .7; }
.signup-row .button.is-success { opacity: 1; }
.signup-status { min-height: 18px; margin-top: 8px; color: var(--sage-active); font-size: 12px; line-height: 1.5; }
.signup-status.is-error { color: var(--text); }
.signup-status:empty { margin-top: 0; min-height: 0; }
.fine-print { margin-top: 16px; color: var(--muted); font-size: 12.5px; }

/* Hero demo: a stand-in for the real raw-beside-cut video until that recording exists. */
.hero-demo { position: relative; margin: 0; width: min(100%, 600px); justify-self: center; aspect-ratio: 1 / 1.08; isolation: isolate; }
.hero-demo .demo-phone { position: absolute; top: 0; right: 4%; width: 51%; transform: rotate(4deg); }
.demo-glow { position: absolute; z-index: -1; inset: 10% 2% 6% 22%; border-radius: 48% 52% 46% 54% / 52% 44% 56% 48%; background: var(--sage-soft); }
.take-card { position: absolute; left: 0; bottom: 3%; z-index: 2; width: 58%; padding: 18px 20px 16px; border: 1px solid var(--border); border-radius: 18px; background: var(--elevated); box-shadow: var(--shadow); }
.take-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.take-label { color: var(--sage-active); font-size: 11px; font-weight: 650; letter-spacing: 1px; text-transform: uppercase; }
.take-time { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.take-time .icon { width: 14px; height: 14px; color: var(--muted); }
.take-card.is-cut .take-time { background: var(--sage); color: var(--on-accent); }
.take-card.is-cut .take-time .icon { color: var(--on-accent); }
.take-words { min-height: 7.6em; font-size: 15.5px; line-height: 1.62; letter-spacing: -.005em; }
.cut { border-radius: 4px; transition: font-size .55s ease, opacity .3s ease, background-color .25s, color .25s, padding .55s ease, border-width .55s ease; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cut.is-marked { background: var(--sage-soft); color: var(--sage-active); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.cut-pause { display: inline-block; padding: 0 7px; border: 1px dashed var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; line-height: 1.6; vertical-align: 1px; white-space: nowrap; }
.cut-pause.is-marked { border-color: var(--sage); text-decoration: none; }
.cut.is-gone { font-size: 0; opacity: 0; padding-inline: 0; border-width: 0; }
.take-found { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.take-found span { padding: 4px 9px; border-radius: 999px; background: var(--surface); }
.take-found b { color: var(--sage-active); font-variant-numeric: tabular-nums; }
.demo-note { position: absolute; left: 4px; bottom: -4px; color: var(--muted); font-size: 11px; letter-spacing: .3px; }

/* Sections. */
.section { padding-block: 96px; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.kicker { margin-bottom: 14px; color: var(--sage-active); font-size: 11px; font-weight: 650; letter-spacing: 1.3px; }
h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.06; letter-spacing: -.025em; font-weight: 700; }
h2 span { color: var(--sage); }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; font-weight: 650; }
.section-sub { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* What it cuts. */
.cut-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cut-card { padding: 16px 16px 26px; border: 1px solid var(--border); border-radius: 22px; background: var(--elevated); }
.cut-card h3 { margin: 22px 8px 6px; }
.cut-card p { margin-inline: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cut-visual { display: flex; align-items: center; justify-content: center; height: 150px; padding: 18px; border-radius: 14px; background: var(--surface); }
.visual-words { flex-wrap: wrap; align-content: center; gap: 7px; }
.visual-words span { padding: 6px 11px; border: 1px solid var(--border); border-radius: 8px; background: var(--elevated); font-size: 15px; }
.visual-words .struck { border-color: transparent; background: var(--sage-soft); color: var(--sage-active); text-decoration: line-through; }
.visual-takes { flex-direction: column; gap: 8px; }
.take-bar { display: flex; align-items: center; justify-content: space-between; width: min(100%, 230px); padding: 8px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; }
.take-bar.is-dim { border: 1px solid var(--border); background: var(--elevated); color: var(--muted); text-decoration: line-through; }
.take-bar.is-kept { background: var(--sage); color: var(--on-accent); }
.take-bar .icon { width: 16px; height: 16px; }
.visual-wave { gap: 5px; }
.wave { width: 6px; border-radius: 3px; background: var(--sage); }
.wave:nth-child(1) { height: 26px; } .wave:nth-child(2) { height: 52px; } .wave:nth-child(3) { height: 38px; } .wave:nth-child(4) { height: 64px; }
.wave:nth-child(6) { height: 44px; } .wave:nth-child(7) { height: 70px; } .wave:nth-child(8) { height: 34px; } .wave:nth-child(9) { height: 48px; }
.gap { position: relative; width: 58px; height: 64px; margin-inline: 4px; border: 1.5px dashed var(--sage); border-radius: 9px; background: var(--sage-soft); }
.gap::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; border-radius: 2px; background: var(--sage); opacity: .45; }
.also-list { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 520; }
.also-list li { display: inline-flex; align-items: center; gap: 9px; }
.also-list .icon { width: 18px; height: 18px; color: var(--sage); stroke-width: 2.2; }

/* A phone holding a real capture or clip of the app. */
.device { width: 100%; padding: 5px; border: 2px solid #626b60; border-radius: 15% / 7%; background: #202820; box-shadow: 0 38px 64px -16px rgb(32 40 32 / 38%), 0 12px 24px -6px rgb(32 40 32 / 24%), 0 3px 7px rgb(32 40 32 / 14%), inset 0 0 0 1px #d8dcd3; overflow: hidden; }
.device img, .device video { width: 100%; height: auto; aspect-ratio: 1206 / 2622; border-radius: 13% / 6%; background: #151816; }
.demo-disclosure { margin-top: 18px; color: var(--muted); font-size: 12.5px; text-align: center; }
/* Inside the app: each tool shown by its own panel, as the app draws it in Light, on the app's own background. */
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.tool-card { padding: 12px 12px 22px; border: 1px solid var(--border); border-radius: 22px; background: var(--elevated); }
.tool-shot { display: grid; place-items: center; height: 200px; padding: 14px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--background); }
.tool-shot img { width: 100%; height: 100%; object-fit: contain; }
.tool-card-photo .tool-shot { padding: 0; }
.tool-card-photo .tool-shot img { object-fit: cover; object-position: center 40%; }
.tool-card h3 { margin: 18px 8px 5px; font-size: 18px; }
.tool-card p { margin-inline: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.features-action { display: flex; flex-direction: column; align-items: center; margin-top: 48px; text-align: center; }


/* The story: the section holds still while you scroll through it; the phone and the words beside it swap together,
   one chapter at a time, and nothing of the last chapter stays on screen. */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; height: 340svh; }
.story-stage { position: sticky; top: 92px; align-self: start; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; height: calc(100svh - 124px); max-height: 760px; min-height: 520px; padding: 32px 28px; border-radius: 32px; background: var(--sage-soft); }
.story-phone { justify-self: center; width: min(100%, 300px, calc((min(100svh, 884px) - 220px) * .46)); }
.story-phone .device { display: grid; }
.story-screen { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s; }
.story-screen.is-active { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.story-dots { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.story-dots li { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background-color .25s, transform .25s; }
.story-dots li.is-active { background: var(--sage); transform: scale(1.35); }
.story-chapters { position: sticky; top: 92px; align-self: start; display: grid; align-items: center; height: calc(100svh - 124px); max-height: 760px; min-height: 520px; margin: 0; padding: 0; list-style: none; }
.chapter { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease, visibility 0s .35s; }
.chapter.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease .1s, transform .35s ease .1s; }
.chapter-visual { display: none; }
.chapter-copy { max-width: 470px; }
.chapter-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--sage-active); font-size: 13px; font-weight: 650; letter-spacing: .4px; text-transform: uppercase; }
.chapter-tag span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); color: var(--on-accent); font-size: 12px; letter-spacing: 0; }
.chapter-copy h3 { font-size: clamp(28px, 2.9vw, 40px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
.chapter-text { margin-top: 14px; color: var(--muted); font-size: 17.5px; line-height: 1.6; }
.checks { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15.5px; font-weight: 520; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks .icon { width: 18px; height: 18px; color: var(--sage); stroke-width: 2.2; }

/* Getting in: the three taps, each shown by the real thing: the code, the app, its first screen. */
.get-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.get-step { position: relative; }
.get-step-visual { display: grid; place-items: center; height: 280px; overflow: hidden; border-radius: 26px; background: var(--sage-soft); }
.get-step-number { display: grid; place-items: center; width: 30px; height: 30px; margin: 22px 0 12px; border-radius: 50%; background: var(--sage); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.get-step h3 { margin-bottom: 6px; font-size: 21px; }
.get-step > p:not(.get-step-number) { max-width: 330px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.step-qr { padding: 14px; border: 1px solid var(--border); border-radius: 20px; background: var(--elevated); box-shadow: 0 18px 36px -22px rgb(32 40 32 / 40%); }
.step-qr img { width: 150px; height: 150px; object-fit: contain; }
.step-tap { display: none; align-items: center; min-height: 52px; padding: 14px 26px; border-radius: 12px; background: var(--sage); color: var(--on-accent); font-size: 16px; font-weight: 650; box-shadow: 0 18px 36px -18px rgb(32 40 32 / 45%); }
.for-iphone { display: none; }
:root[data-device="iphone"] .step-qr, :root[data-device="iphone"] .for-other { display: none; }
:root[data-device="iphone"] .step-tap { display: inline-flex; }
:root[data-device="iphone"] .for-iphone { display: block; }
.step-app { display: flex; align-items: center; gap: 14px; width: min(86%, 300px); padding: 14px 14px 14px 14px; border: 1px solid var(--border); border-radius: 20px; background: var(--elevated); box-shadow: 0 18px 36px -22px rgb(32 40 32 / 40%); }
.step-app img { width: 58px; height: 58px; flex: none; border-radius: 23%; }
.step-app div { flex: 1; min-width: 0; }
.step-app-name { font-size: 17px; font-weight: 700; }
.step-app-meta { margin-top: 2px; color: var(--muted); font-size: 13px; }
.step-pill { padding: 8px 16px; border-radius: 999px; background: var(--sage); color: var(--on-accent); font-size: 14px; font-weight: 650; }
.get-step-phone { align-items: end; padding-bottom: 22px; }
.get-step-phone .device { width: 170px; }

/* Your footage. */
#footage { padding-top: 0; }
.footage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footage-grid article { padding-top: 22px; border-top: 1px solid var(--border); }
.footage-grid .icon { width: 26px; height: 26px; margin-bottom: 18px; color: var(--sage); }
.footage-grid h3 { margin-bottom: 8px; font-size: 17px; }
.footage-grid p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* FAQ. */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; padding-top: 0; }
.faq-list { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 16px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--sage); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { max-width: 600px; padding-bottom: 22px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Closing call to action. */
.closing { padding-block: 104px; border-top: 1px solid var(--border); background: var(--surface); text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing h2 { font-size: clamp(38px, 5vw, 64px); }
.get-beta-closing { display: flex; flex-direction: column; align-items: center; margin-top: 36px; }

/* Footer. */
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding-block: 28px 36px; color: var(--muted); font-size: 13px; }
.wordmark-small { font-size: 21px; color: var(--text); }
.footer-links { display: flex; gap: 22px; margin-left: auto; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: var(--text); }

/* The privacy policy and the terms of use (ADR 0058): one readable column. */
.legal { max-width: 720px; padding-block: 40px 72px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 14px; }
.legal h2 { margin-top: 44px; font-size: 24px; line-height: 1.25; }
.legal h3 { margin-top: 28px; font-size: 18px; line-height: 1.3; }
.legal p, .legal li, .legal td { font-size: 16px; line-height: 1.65; }
.legal p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--sage-active); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal .summary { margin-top: 28px; padding: 22px 24px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--elevated); }
.legal .summary h2 { margin-top: 0; font-size: 20px; }
.legal table { width: 100%; margin-top: 16px; border-collapse: collapse; }
.legal th, .legal td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal th { color: var(--muted); font-size: 13px; font-weight: 600; }
.legal td:first-child { width: 38%; font-weight: 550; }

/* The get-the-beta sheet on a computer or Android. */
body:has(.get-dialog[open]) { overflow: hidden; }
.get-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 30px 28px 26px; border: 1px solid var(--border); border-radius: 24px; background: var(--background); color: var(--text); box-shadow: 0 24px 80px #0008; }
.get-dialog::backdrop { background: rgb(21 24 22 / 60%); }
.get-close-form { position: absolute; top: 14px; right: 14px; }
.get-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface); color: var(--muted); }
.get-close .icon { transform: rotate(45deg); }
.get-close:hover { color: var(--text); }
.get-dialog h2 { padding-right: 40px; font-size: 28px; }
.get-sub { margin: 8px 0 22px; color: var(--muted); font-size: 15px; }
.get-dialog .qr-card { width: 100%; }
.get-dialog .signup-form { max-width: none; }
.android-note { display: none; margin-bottom: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }
:root[data-device="android"] .android-note { display: block; }
:root[data-device="android"] .get-dialog .qr-card { display: none; }
.mini-steps { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); list-style: none; color: var(--muted); font-size: 13px; }
.mini-steps li { display: inline-flex; align-items: center; gap: 7px; }
.mini-steps span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-active); font-size: 11px; font-weight: 700; }

/* The confirmation dialog after an emailed link. */
body:has(.discord-dialog[open]) { overflow: hidden; }
.discord-dialog { width: min(440px, calc(100% - 40px)); max-height: calc(100svh - 40px); padding: 32px 24px 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); color: var(--text); text-align: center; box-shadow: 0 24px 80px #0008; }
.discord-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.dialog-eyebrow { margin: 0 0 16px; color: var(--sage-active); font-size: 10px; font-weight: 600; letter-spacing: 1px; }
.discord-dialog h2 { margin: 0; font-size: clamp(26px, 6vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
#discord-description { margin: 16px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.discord-dialog .button { width: 100%; gap: 12px; }
.dialog-dismiss { min-height: 44px; margin-top: 8px; padding: 10px 20px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; }
.dialog-dismiss:hover { color: var(--text); }

@media (max-width: 1060px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 32px; }
  .footage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 28px 64px; gap: 48px; }
  .hero-demo { width: min(100%, 500px); }
  .section { padding-block: 80px; }
  .cut-grid { grid-template-columns: 1fr; max-width: 520px; }
  .story { grid-template-columns: 1fr; gap: 0; height: auto; }
  .story-stage { display: none; }
  .story-chapters { position: static; display: block; height: auto; max-height: none; min-height: 0; }
  .chapter, .chapter.is-active { display: grid; gap: 26px; opacity: 1; visibility: visible; transform: none; transition: none; }
  .chapter + .chapter { margin-top: 72px; }
  .chapter-visual { display: grid; place-items: center; padding: 32px 20px; border-radius: 28px; background: var(--sage-soft); }
  .chapter-visual .device { width: min(64%, 260px); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 1fr; gap: 36px; }
  .get-steps { grid-template-columns: 1fr; gap: 40px; max-width: 460px; }
  .faq .section-head { margin-bottom: 0; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .site-nav .button-small { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .site-nav { padding-block: 10px; }
  .wordmark { font-size: 23px; }
  .hero { padding-block: 20px 48px; gap: 36px; }
  .hero-copy { text-align: center; }
  .hero-badges { justify-content: center; margin-bottom: 20px; }
  .eyebrow { font-size: 9px; padding: 9px 10px; }
  .platform-pill { min-height: 29px; font-size: 10px; }
  h1 { font-size: clamp(40px, 12.4vw, 56px); }
  .hero-description { margin: 18px auto 0; font-size: 16px; max-width: 340px; }
  .hero-actions { justify-content: center; gap: 6px; margin-top: 26px; }
  .hero-actions .button { width: 100%; }
  .hero-points { justify-content: center; gap: 6px 16px; font-size: 13px; }
  .chapter-visual { border-radius: 24px; }
  .tool-grid { grid-template-columns: 1fr; gap: 14px; }
  .tool-shot { height: 180px; }
  .get-dialog { padding: 26px 18px 22px; }
  .qr-card { margin-inline: auto; text-align: left; }
  .signup-form { margin-inline: auto; text-align: left; }
  .signup-row input { font-size: 16px; padding: 13px 12px; }
  .signup-row .button { padding: 14px 16px; }
  .take-card { width: 82%; padding: 14px 15px 13px; }
  .take-words { font-size: 14px; }
  .hero-demo .demo-phone { width: 52%; right: 2%; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 32px; }
  .cut-visual { height: 132px; }
  .footage-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq summary { font-size: 16px; min-height: 60px; }
  .closing { padding-block: 72px; }
  .site-footer { justify-content: center; text-align: center; }
  .legal { padding-block: 24px 56px; }
  .legal p, .legal li, .legal td { font-size: 15px; }
  .footer-links { margin-left: 0; }
}
@media (max-width: 380px) {
  .qr { width: 96px; height: 96px; padding: 9px; }
  .qr-card { gap: 12px; padding-right: 14px; }
  .qr-title { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
