/* Colors, type and radii copied from the app: frontend/src/styles/tokens.css. */
@font-face { font-family: "Inter Variable"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope Variable"; src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --bg: #f5f5f1; --surface: #fcfcfb; --subtle: #efefea;
  --ink: #14181f; --ink-2: #454b57; --ink-3: #5f6571;
  --line: #e2e3dd; --line-strong: #c6c8c1;
  --action-hover: #2a303b; --action-ring: rgba(39, 67, 210, 0.3); --accent: #2743d2;
  --night: #14181f; --night-ink: #f5f5f1; --night-ink-2: #b9bec8;
  --font-display: "Manrope Variable", "Inter Variable", system-ui, sans-serif;
  --font-body: "Inter Variable", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --r-l: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
a { color: var(--accent); overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--action-ring); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; padding: 8px 14px; background: var(--surface); z-index: 1; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.6vw, 60px); font-weight: 600; }
h2 { font-size: clamp(27px, 3.4vw, 38px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.label { color: var(--ink-3); font: 500 12px/1.5 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }

header { border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-height: 44px; color: var(--ink); font: 700 18px var(--font-display); letter-spacing: -0.01em; text-decoration: none; }
.bar nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.bar nav a:hover { color: var(--accent); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--night-ink); font-weight: 600; text-decoration: none; }
.button:hover { background: var(--action-hover); }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding-block: 80px; }
.hero > div > * + * { margin-top: 22px; }
.lede { color: var(--ink-2); font-size: 18px; max-width: 56ch; }
.questions { padding: 32px; border-radius: var(--r-l); background: var(--night); color: var(--night-ink); }
.questions .label { color: var(--night-ink-2); }
.questions ul { margin: 14px 0 0; padding: 0; list-style: none; }
.questions li { padding: 16px 0; border-top: 1px solid rgba(245, 245, 241, 0.16); font-size: 17px; line-height: 1.45; }
.questions li:last-child { padding-bottom: 0; }

main:not(.policy) > section:not(.hero) { padding-block: 72px; border-top: 1px solid var(--line); }
.intro { max-width: 62ch; margin-bottom: 36px; }
.intro p { margin-top: 12px; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.card h3 { margin: 10px 0; }
.card p:not(.label) { color: var(--ink-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 16px; border-top: 2px solid var(--ink); color: var(--ink-2); font-size: 15px; }
.steps li::before { content: counter(step); display: block; margin-bottom: 6px; color: var(--ink-3); font: 500 13px var(--font-mono); }
.steps strong { display: block; color: var(--ink); font-size: 17px; }
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px 56px; }
.split ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.split li + li { margin-top: 10px; }
.split strong { color: var(--ink); }
.stack > * + * { margin-top: 18px; }

.policy { max-width: 720px; padding-block: 64px; }
.policy section { margin-top: 44px; }
.policy h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 14px; }
.policy h2 { font-size: 25px; margin-bottom: 12px; }
.policy p + p, .policy ul { margin-top: 12px; }
.policy ul { padding-left: 20px; margin-bottom: 0; }

footer { padding-block: 36px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot p:last-child { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--ink-2); }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero { gap: 36px; padding-block: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  main:not(.policy) > section:not(.hero) { padding-block: 52px; }
}
@media (max-width: 600px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .questions { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
