/* Inter, self-hosted (SIL OFL 1.1, fonts/OFL-LICENSE.txt): no request to Google for fonts. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #111112;
  --surface: #19191b;
  --surface-2: #202023;
  --line: #2c2c30;
  --ink: #f2f1ee;
  --ink-2: #b4b3ae;
  --ink-3: #85847f;
  --accent: #9ec5ff;
  --accent-ink: #0d1b2e;
  --mark: rgba(158, 197, 255, 0.16);
  --warn: #e3a36b;
  --r: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 0 20px; height: 48px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #b6d3ff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 14px 32px; background: rgba(17, 17, 18, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.logo img { display: block; }
.topnav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.topnav a { text-decoration: none; }
.topnav a:hover { color: var(--ink); }

/* layout */
.section, .hero { max-width: 1120px; margin: 0 auto; padding: 88px 32px 0; }
.head { max-width: 640px; margin-bottom: 36px; }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; }
.head p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.fine { margin-top: 20px; font-size: 13px; color: var(--ink-3); }

/* hero */
.hero { text-align: center; padding-top: 80px; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: .02em; }
.hero h1 { margin: 16px auto 0; max-width: 940px; text-wrap: balance; font-size: clamp(28px, 7.4vw, 60px); line-height: 1.05; letter-spacing: -0.035em; }
.lede { margin: 22px auto 0; max-width: 660px; font-size: 19px; color: var(--ink-2); }
.hero-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px auto 0; max-width: 560px; }
.hero-form input { flex: 1 1 220px; height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.hero-form input:focus, .field input:focus, .field select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hero-form .form-msg { flex-basis: 100%; }
.hero-fine { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.form-msg { min-height: 20px; font-size: 14px; color: var(--ink-2); }
.form-msg.err { color: var(--warn); }

/* hero composer */
.composer { margin: 56px auto 0; max-width: 760px; text-align: left; }
.composer-tabs { display: flex; gap: 4px; margin-bottom: 10px; justify-content: center; }
.composer-tabs button, .tabs button { background: none; border: 1px solid transparent; border-radius: 8px; padding: 6px 14px; font-size: 14px; color: var(--ink-3); cursor: pointer; }
.composer-tabs button[aria-selected=true], .tabs button[aria-selected=true] { color: var(--ink); border-color: var(--line); background: var(--surface); }
.composer-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.composer-top, .composer-foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.composer-text { min-height: 128px; margin: 14px 0; font-size: 17px; line-height: 1.6; }
.hero-q { font-weight: 500; margin-bottom: 10px; }
.hero-rows { list-style: none; margin: 0; padding: 0; }
.hero-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.hero-rows li.on { opacity: 1; transform: none; }
.warn { color: var(--warn); }
.caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -0.2em; background: var(--ink); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
mark { color: inherit; border-radius: 4px; padding: 0 3px; }
mark.hit { background: rgba(227, 163, 107, .22); }
mark.ph { background: var(--mark); color: var(--accent); font-weight: 500; }

/* products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.product-step { font-size: 13px; color: var(--ink-3); }
.product h3 { font-size: 24px; }
.product p { color: var(--ink-2); }
.product .product-for { color: var(--ink); font-size: 14px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.product .link { align-self: flex-start; }

/* try */
.tabs { display: flex; gap: 4px; margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
.pane-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.samples { display: flex; gap: 4px; }
.samples button { background: none; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.samples button[aria-pressed=true] { color: var(--ink); background: var(--surface-2); }
textarea { width: 100%; min-height: 230px; resize: vertical; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 15px; line-height: 1.6; }
.output { min-height: 230px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 15px; line-height: 1.6; }
.choices { display: grid; gap: 8px; }
.choice { text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.choice span { display: block; font-size: 13px; color: var(--ink-3); }
.choice[aria-pressed=true] { border-color: var(--accent); }
.run { margin-top: 14px; }
.path { list-style: none; margin: 0; padding: 0; }
.path li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
.path li.on { opacity: 1; }
.path .k { font-size: 13px; color: var(--ink-3); }
.path small { display: block; font-size: 13px; color: var(--ink-3); }
.runs { width: 100%; border-collapse: collapse; font-size: 14px; }
.runs td { padding: 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.runs td:last-child { text-align: right; padding-left: 12px; }
.pane-foot { margin-top: 12px; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.pane-foot code { font-size: 12px; }

/* why */
.gaps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gap { border-top: 1px solid var(--line); padding-top: 18px; }
.gap-said { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.gap-real { margin-top: 8px; font-size: 19px; font-weight: 500; line-height: 1.35; }
.laws { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.law { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; color: var(--ink-2); font-size: 15px; }
.law-h { color: var(--ink); font-weight: 600; margin-bottom: 6px; }

/* films + backers */
.films { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.film { margin: 0; }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: var(--r); object-fit: cover; }
.film figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.films.one { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.hero-film { max-width: 960px; margin: 28px auto 0; }
.hero-film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: var(--r); object-fit: cover; }
.backers-h { margin-top: 64px; font-size: 13px; color: var(--ink-3); text-align: center; }
.backers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 40px; margin-top: 20px; }
.backers img { height: 30px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) invert(1) contrast(1.4); mix-blend-mode: screen; opacity: .7; }
.backers img.keep { filter: grayscale(1); mix-blend-mode: normal; }

/* review */
.review { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 44px; }
.review h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; }
.review > div > p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.steps { margin: 22px 0 0; padding-left: 20px; color: var(--ink-2); }
.steps li { padding: 4px 0; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.field input, .field select { height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); }

/* footer */
.footer { max-width: 1120px; margin: 96px auto 0; padding: 48px 32px 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2.4fr; gap: 32px; }
.footer-brand > p { margin-top: 12px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols a { display: block; padding: 4px 0; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.footer-cols a:hover { color: var(--ink); }
.footer-h { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.footer-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; padding-top: 24px; border-top: 1px solid var(--line); }

.preview-flag { position: fixed; right: 14px; bottom: 14px; margin: 0; font-size: 12px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; z-index: 20; }

@media (max-width: 900px) {
  .topbar { padding: 12px 16px; gap: 12px; }
  .topnav { display: none; }
  .topbar .btn { margin-left: auto; }
  .section, .hero { padding: 64px 16px 0; }
  .hero { padding-top: 48px; }
  .products, .gaps, .laws, .grid2, .films, .review { grid-template-columns: 1fr; }
  .review { padding: 24px; gap: 28px; }
  .footer { grid-template-columns: 1fr; padding: 40px 16px 72px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-form .btn { flex: 1 1 100%; }
}
.backers img.big { height: 46px; max-width: 170px; }
.backers img.slim { height: 20px; }
.backers img.solid { filter: brightness(0) invert(1); mix-blend-mode: normal; }

/* ---- shared parts used by every page ---- */
.btn-ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }
.topnav a[aria-current=page] { color: var(--ink); }
.news { margin-top: 22px; max-width: 320px; }
.news-row { display: flex; gap: 8px; margin-top: 6px; }
.news-row input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 4px; color: var(--ink); }
.checks label, .consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.consent { color: var(--ink-2); }
.consent a { color: var(--accent); }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.field textarea { min-height: 120px; background: var(--bg); }
.field input[type=file] { height: auto; padding: 10px; }
.req { color: var(--ink-3); font-weight: 400; }

/* page templates: product, story, text */
.page-hero { max-width: 1120px; margin: 0 auto; padding: 72px 32px 0; }
.page-hero h1 { max-width: 820px; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.03em; margin-top: 14px; }
.page-hero .lede { margin: 18px 0 0; text-align: left; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .meta { font-size: 13px; color: var(--ink-3); }
.card a.more { margin-top: auto; color: var(--accent); font-weight: 500; font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.rows li b { font-weight: 600; }
.rows li span { color: var(--ink-2); }
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { color: var(--ink); font-size: 24px; margin: 40px 0 12px; }
.prose h3 { color: var(--ink); font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose a { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 18px; }
.prose th, .prose td { text-align: left; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }
.updated { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.cta-band { max-width: 1120px; margin: 88px auto 0; padding: 0 32px; }
.cta-band > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px 36px; }
.cta-band h2 { font-size: 26px; }
.cta-band p { color: var(--ink-2); margin-top: 6px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 500; color: var(--ink); }
.faq details p { margin-top: 8px; color: var(--ink-2); }
.stat { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }

@media (max-width: 900px) {
  .page-hero { padding: 48px 16px 0; }
  .cta-band { padding: 0 16px; margin-top: 64px; }
  .cta-band > div { padding: 24px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .rows li { grid-template-columns: 1fr; gap: 4px; }
  .checks { grid-template-columns: 1fr; }
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.h1-soft { color: var(--ink-3); }

/* cookie consent */
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; color: var(--ink-2); }
.cookie-bar p { margin: 0; flex: 1 1 320px; }
.cookie-bar a { color: var(--ink); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-dlg { max-width: 460px; width: calc(100% - 32px); padding: 22px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); }
.cookie-dlg::backdrop { background: rgba(0, 0, 0, .6); }
.cookie-dlg h2 { margin: 0 0 12px; font-size: 20px; }
.cookie-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.cookie-row b { display: block; font-weight: 600; font-size: 15px; }
.cookie-row small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.cookie-row input { width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.cookie-dlg .cookie-actions { justify-content: flex-end; margin-top: 14px; }
