/* freshcoat.dev v2: one dark world. Left-aligned light-weight type with a
   white line and a grey line, numbered chapters (label left, copy right),
   hairlines, the product on a grainy grayscale stage. Orange stays in the
   mark only. */
:root {
  --bg: #0b0b0c;
  --raised: #141416;
  --card: #18181b;
  --ink: #f4f4f5;
  --dim: #9c9ca3;
  --faint: #7d7d85;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --add: #7ee2a8;
  --del: #ff8f8f;
  --focus: #8ab4ff;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dim { color: var(--dim); }

/* Bar */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) var(--gutter) 16px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo img { display: block; }

/* Pill: the one button style */
.pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #0b0b0c;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 15px 22px 15px 24px;
  min-height: 48px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.pill:hover { background: #ffffff; }
.pill.small { font-size: 14px; padding: 9px 14px 9px 16px; min-height: 36px; }
.pill.wide { width: 100%; }
.pill[disabled] { opacity: 0.6; cursor: progress; }
.chev { font-size: 1.15em; line-height: 0.8; transform: translateY(-1px); }

/* Hero */
.hero {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(48px, 9vh, 104px) var(--gutter) clamp(40px, 6vh, 64px);
}

.hero h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(42px, 6.2vw, 80px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.hero h1 span { display: block; }

.hero-sub { margin: 22px 0 0; font-size: clamp(18px, 1.8vw, 21px); color: var(--dim); letter-spacing: -0.01em; }
.purchase { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.purchase form { margin: 0; }
.micro { margin: 0; font-size: 14px; color: var(--dim); }
.soon { margin: 0; font-size: 16px; font-weight: 600; color: var(--dim); }
.status { margin: 16px 0 0; font-size: 15px; }

/* Stage: grainy grayscale panel, the product window inset on it */
.stage {
  position: relative;
  isolation: isolate;
  margin: 0 auto;
  max-width: calc(var(--max) + 2 * var(--gutter));
  padding: clamp(18px, 5vw, 72px) calc(var(--gutter) + clamp(14px, 5.5vw, 88px));
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0 var(--gutter);
  z-index: -1;
  border-radius: 14px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(70% 90% at 12% 0%, rgba(255, 255, 255, 0.55), transparent 62%),
    radial-gradient(60% 80% at 100% 100%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(135deg, #6b6b70, #2c2c30 55%, #4a4a4f);
}

.stage .frame {
  position: relative;
  aspect-ratio: 1600 / 1004;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 30px 70px -20px rgba(0, 0, 0, 0.75);
}

.frame video, .frame .fallback { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Intro: statement left, index right */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: start;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(88px, 13vh, 144px) var(--gutter) 0;
}

.intro h2, .chapter h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.intro h2 span, .chapter h2 span { display: block; }

.index { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.index a { display: block; padding: 6px 0; text-decoration: none; color: var(--dim); font-size: 15px; }
.index a:hover { color: var(--ink); }

/* Chapters: number + label left, content right, hairline above */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 28px 64px;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: clamp(80px, 12vh, 128px) auto 0;
  padding: clamp(40px, 6vh, 56px) var(--gutter) 0;
  position: relative;
}

.chapter::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line);
}

.chapter-label { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.02em; }
.chapter-label .num { color: var(--faint); margin-right: 10px; font-variant-numeric: tabular-nums; }

.chapter-body { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.chapter-body > p { margin: 0; max-width: 56ch; color: var(--dim); font-size: 17px; line-height: 1.6; }

.facts { margin: 0; display: grid; }
.facts > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--dim); }
.facts dd { margin: 0; }

/* Cards: quiet renderings of states from the recorded run */
.card {
  border-radius: 12px;
  background: var(--raised);
  box-shadow: 0 0 0 1px var(--line);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}
.mono { font-family: var(--mono); font-size: 13px; }
.card-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.muted { color: var(--dim); font-weight: 400; }
.card pre { margin: 0; padding: 12px 14px; border-radius: 8px; background: #0e0e10; line-height: 1.7; overflow-x: auto; }
.add { color: var(--add); }
.del { color: var(--del); }
.ok { color: var(--add); font-size: 10px; vertical-align: 1px; margin-right: 4px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--sans); }
.chip { font-size: 13px; padding: 5px 10px; border-radius: 7px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.chip.on { background: var(--ink); color: #0b0b0c; box-shadow: none; }
.chip.right { margin-left: auto; }

/* GitHub */
.github { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; background: var(--raised); box-shadow: 0 0 0 1px var(--line); max-width: 620px; }
.github p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }
.github strong { color: var(--ink); font-weight: 600; }
.github-mark { flex: none; line-height: 0; color: var(--ink); }
.github-mark .logo-icon { width: 26px; height: 26px; }
code { font-family: var(--mono); font-size: 0.88em; padding: 1px 6px; border-radius: 5px; background: var(--card); color: var(--ink); }

/* Agents */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 32px; color: var(--dim); }
.logos li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.logos .logo-icon { width: 20px; height: 20px; }
.logos em { font-style: normal; font-weight: 500; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line-strong); vertical-align: 1px; }
.note { margin: 0; font-size: 13px; color: var(--faint); }

/* Price: one confident block */
.price {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: clamp(88px, 13vh, 144px) auto 0;
  padding: 0 var(--gutter);
}

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 32px 48px;
  align-items: end;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 16px;
  background: var(--raised);
  box-shadow: 0 0 0 1px var(--line);
}

.price-card .chapter-label { font-size: 15px; color: var(--dim); margin-bottom: 10px; }
.amount { margin: 0; font-size: clamp(48px, 6vw, 72px); line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.amount .dim { font-size: 0.4em; letter-spacing: -0.01em; }
.price-sub { margin: 14px 0 0; color: var(--dim); font-size: 15px; }
.facts.tight > div { grid-template-columns: 76px minmax(0, 1fr); font-size: 14px; }
.price-card .purchase { margin: 0; }
.price-card .purchase form { width: 100%; }
.price-card .pill { white-space: nowrap; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--dim); font-size: 20px; font-weight: 300; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 0 20px; max-width: 60ch; color: var(--dim); font-size: 15px; line-height: 1.6; }
.faq details a { color: var(--ink); text-underline-offset: 3px; }
.faq .chapter-body { gap: 0; }

/* Maker + footer */
.maker { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: clamp(96px, 14vh, 152px) var(--gutter) 24px; color: var(--faint); font-size: 13px; }
.maker p { margin: 0; }
.maker-mark { color: var(--ink); line-height: 0; padding: 6px; border-radius: 8px; }
.maker-mark:hover { opacity: 0.75; }
.wordmark-sfs { width: 168px; height: auto; }

.foot {
  display: grid;
  gap: 28px;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: clamp(88px, 13vh, 144px) auto 0;
  padding: 28px var(--gutter) max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--dim);
}
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-head { margin: 0 0 12px; color: var(--ink); font-weight: 600; font-size: 14px; }
.foot-legal { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--faint); font-size: 13px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .intro, .chapter { grid-template-columns: minmax(0, 1fr); }
  .price-card { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
}

@media (max-width: 640px) {
  .stage { padding: 14px calc(var(--gutter) + 12px); }
  .stage .frame { aspect-ratio: 1080 / 1398; }
  .frame video, .frame .fallback { object-position: 100% 50%; }
  .purchase { flex-direction: column; align-items: stretch; }
  .purchase .pill { width: 100%; }
  .micro { text-align: center; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .github { flex-direction: column; }
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bar .pill.small { padding: 8px 12px 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .pill { transition: none; }
}

/* Text pages: privacy, thank you, 404 */
.page {
  max-width: calc(680px + 2 * var(--gutter));
  min-height: 60vh;
  margin: 0 auto;
  padding: clamp(48px, 10vh, 112px) var(--gutter) clamp(64px, 10vh, 112px);
}
.page h1 { margin: 0 0 24px; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; font-weight: 500; letter-spacing: -0.04em; text-wrap: balance; }
.page p { margin: 0 0 16px; color: var(--dim); font-size: 17px; line-height: 1.65; }
.page a:not(.pill) { color: var(--ink); text-underline-offset: 3px; }
.page .muted { color: var(--faint); font-size: 14px; }
.page .pill { margin: 8px 0 20px; }

/* ------------------------------------------------ launch: nav and pages */

.skip { position: absolute; left: 12px; top: -48px; z-index: 30; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #0b0b0c; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.bar { flex-wrap: wrap; row-gap: 10px; }
.primary { order: 0; flex: 1 1 auto; min-width: 0; }
.primary ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; }
.primary a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--dim); text-decoration: none; font-size: 15px; white-space: nowrap; }
.primary a:hover { color: var(--ink); }
.primary a[aria-current="page"] { color: var(--ink); background: var(--raised); }
.bar-actions { display: flex; align-items: center; gap: 16px; }
.quiet-link { color: var(--dim); text-decoration: none; font-size: 15px; }
.quiet-link:hover { color: var(--ink); }
.chapter-body .quiet-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .primary { order: 2; flex-basis: 100%; margin: 0 calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent); }
  .primary::-webkit-scrollbar { display: none; }
  .primary ul { justify-content: flex-start; padding: 0 var(--gutter); }
  .primary a { padding: 6px 10px; font-size: 14px; }
}
@media (max-width: 420px) { .bar-actions .quiet-link { display: none; } }

.hero.compact { padding-bottom: clamp(24px, 4vh, 40px); }
.hero-sub a { color: var(--ink); text-underline-offset: 3px; }
.purchase-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.caption { margin: 14px 0 0; padding: 0 clamp(0px, 3vw, 24px); color: var(--faint); font-size: 13px; line-height: 1.5; max-width: 80ch; }

.logos img, .github-mark img { display: block; filter: invert(1); }
.logos img { opacity: 0.62; }

/* Direct answers: question heading, then a 40-60 word answer */
.answer { max-width: calc(var(--max) + 2 * var(--gutter)); margin: clamp(72px, 11vh, 120px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 64px; }
.answer h2 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.lead { margin: 0 0 32px; color: var(--dim); font-size: 18px; line-height: 1.6; max-width: 60ch; }
.lead:last-child { margin-bottom: 0; }

.steps { max-width: calc(var(--max) + 2 * var(--gutter)); margin: clamp(80px, 12vh, 128px) auto 0; padding: 0 var(--gutter); }
.steps > h2 { margin: 0 0 28px; font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -0.03em; }
.step-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step-list li { counter-increment: step; padding: 22px; border-radius: 14px; background: var(--raised); box-shadow: 0 0 0 1px var(--line); }
.step-list li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--faint); font-variant-numeric: tabular-nums; font-size: 14px; }
.step-list h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.step-list p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; color: var(--dim); font-size: 15px; line-height: 1.55; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--add); }
.checks strong { color: var(--ink); font-weight: 600; }

.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); line-height: 1.45; }
thead th { border-top: 0; color: var(--ink); font-weight: 600; background: var(--raised); }
tbody th { color: var(--dim); font-weight: 500; }
td { color: var(--dim); }
.compare { min-width: 760px; }
.compare tbody th { width: 18%; }
.compare .us { color: var(--ink); background: rgba(255, 255, 255, 0.035); }
.chapter.wide { grid-template-columns: minmax(0, 1fr); }
.prices td { font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }

/* FAQ blocks: visible questions as headings (extractable) */
.qa-group { margin: 0 0 40px; }
.qa-group > h2 { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--faint); letter-spacing: 0; text-transform: none; }
.qa { padding: 20px 0; border-top: 1px solid var(--line); }
.qa h3 { margin: 0 0 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.qa p { margin: 0; max-width: 64ch; color: var(--dim); font-size: 15px; line-height: 1.6; }
.qa a { color: var(--ink); text-underline-offset: 3px; }
.faq-page { max-width: calc(860px + 2 * var(--gutter)); margin: 0 auto; padding: 24px var(--gutter) 64px; }
.faq-page .qa-group > h2 { font-size: 22px; color: var(--ink); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }

/* Docs */
.docs { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 16px var(--gutter) 64px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.docs-toc { position: sticky; top: 88px; font-size: 14px; }
.docs-toc ol { margin: 0 0 20px; padding-left: 20px; display: grid; gap: 6px; color: var(--faint); }
.docs-toc a { color: var(--dim); text-decoration: none; }
.docs-toc a:hover { color: var(--ink); }
.prose { max-width: 720px; }
.prose h2 { margin: 56px 0 12px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; scroll-margin-top: 96px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; scroll-margin-top: 96px; }
.prose p, .prose li { color: var(--dim); font-size: 16px; line-height: 1.65; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 0 0 16px; padding: 12px 16px; border-left: 2px solid var(--line-strong); background: var(--raised); border-radius: 0 10px 10px 0; }
.prose blockquote p { margin: 0; }
.prose table { margin: 0 0 16px; box-shadow: 0 0 0 1px var(--line); border-radius: 10px; overflow: hidden; }
.page.prose { max-width: calc(720px + 2 * var(--gutter)); }
.page.prose h2 { font-size: 22px; margin-top: 36px; }

/* Account and forms */
.pill.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pill.ghost:hover { background: var(--raised); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.page .actions .pill { margin: 0; }
.page h2 { margin: 32px 0 12px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.signin { display: grid; gap: 8px; margin: 0 0 16px; }
.signin label { font-size: 14px; color: var(--dim); }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
input[type="email"], input[type="text"], input[type="password"], input[type="url"], select, textarea {
  flex: 1 1 240px; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); font: inherit; font-size: 16px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.page .pill { margin: 0; }
.licences { list-style: none; margin: 0 0 20px; padding: 0; color: var(--dim); }
.link-button { margin-top: 32px; padding: 0; border: 0; background: none; color: var(--dim); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .answer { grid-template-columns: minmax(0, 1fr); }
  .lead { margin-bottom: 24px; }
  .step-list { grid-template-columns: minmax(0, 1fr); }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .docs-toc { position: static; }
}

/* Beta sign-up */
.hero-beta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.beta-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; width: 100%; max-width: 520px; }
.beta-form.wide { max-width: none; }
.beta-input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.beta-input::placeholder { color: var(--faint); }
.beta-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.beta-form .pill { flex: 0 0 auto; }
.beta-reply { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; color: var(--ink); }
.beta-reply[data-state="error"] { color: var(--del); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.price-card .beta-form { align-self: end; }

/* Who it's for */
.audience { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.audience li { padding-top: 16px; border-top: 1px solid var(--line); }
.audience h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.audience p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }
.answer .note { margin-top: 20px; }

@media (max-width: 760px) {
  .audience { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .beta-form .pill { width: 100%; }
}

/* Audience and its note sit in the answer column, under the text. */
.answer .audience, .answer .note { grid-column: -2 / -1; }
.answer .audience { margin-top: 4px; }

/* The demo caption sits below the grain panel, where it's readable. */
.stage { margin-bottom: clamp(64px, 9vw, 96px); }
.stage .caption {
  position: absolute;
  top: 100%;
  left: var(--gutter);
  right: var(--gutter);
  margin: 0;
  padding: 14px 0 0;
  color: var(--dim);
  max-width: none;
}
@media (max-width: 640px) {
  /* The video has its own on-screen captions; the text stays for screen readers. */
  .stage { margin-bottom: 0; }
  .stage .caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
