/* One stylesheet for the sales site and the server pages (intake, report). No JS.
   The server inlines this file into its pages, so it declares no web fonts and loads no files: Inter
   comes from assets/fonts.css on the sales site, and everywhere else the stack falls back to system fonts. */
:root {
  color-scheme: light dark;
  --bg: #fcfcfd;
  --surface: #ffffff;
  --surface-2: #f4f5f9;
  --band: #f6f6fb;
  --text: #0f172a;
  --heading: #0b1020;
  --muted: #5a6274;
  --border: #e4e6ee;
  --border-strong: #cfd3df;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-ink: #ffffff;
  --accent-soft: #eef0ff;
  --accent-ring: #4f46e533;
  --accent-underline: #4f46e566;
  --glow-1: #6366f12e;
  --glow-2: #06b6d41f;
  --grid-line: #0f172a0a;
  --ok: #166534;
  --ok-bg: #e8f6ee;
  --warn: #7a4b00;
  --warn-bg: #fff5db;
  --bad: #b42318;
  --bad-bg: #fdecea;
  --info: #3730a3;
  --info-bg: #eef0ff;
  --radius: 12px;
  --radius-lg: 18px;
  --max: 1120px;
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --header-bg: rgb(252 252 253 / 0.8);
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.05), 0 1px 3px rgb(15 23 42 / 0.04);
  --shadow-md: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 20px -6px rgb(15 23 42 / 0.1);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / 0.04), 0 24px 48px -16px rgb(15 23 42 / 0.2);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d14;
    --surface: #131622;
    --surface-2: #1a1e2c;
    --band: #0f121b;
    --text: #e6e8f0;
    --heading: #f4f5fa;
    --muted: #9aa2b4;
    --border: #252a3a;
    --border-strong: #343a4e;
    --accent: #a5b4fc;
    --accent-hover: #c7d0fe;
    --accent-ink: #12133a;
    --accent-soft: #1c1f45;
    --accent-ring: #a5b4fc40;
    --accent-underline: #a5b4fc66;
    --glow-1: #6366f133;
    --glow-2: #06b6d41a;
    --grid-line: #ffffff09;
    --ok: #86efac;
    --ok-bg: #11291b;
    --warn: #fcd34d;
    --warn-bg: #33280f;
    --bad: #ff9a8a;
    --bad-bg: #3a1714;
    --info: #c7d0fe;
    --info-bg: #1c1f45;
    --header-bg: rgb(11 13 20 / 0.78);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
    --shadow-md: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 24px -8px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 24px 48px -16px rgb(0 0 0 / 0.65);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16.5px/1.65 var(--font);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-decoration-color: var(--accent-underline); text-underline-offset: 0.2em; }
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
::selection { background: var(--accent-ring); }
h1, h2, h3 { color: var(--heading); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.25rem); font-weight: 750; letter-spacing: -0.035em; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.3vw, 2.1rem); font-weight: 720; letter-spacing: -0.028em; margin: 2.2em 0 0.65em; }
h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.016em; margin: 1.4em 0 0.4em; }
p, ul, ol { margin: 0 0 1em; }
p { text-wrap: pretty; }
li { margin: 0.3em 0; }
strong { font-weight: 650; color: var(--heading); }
code, .mono { font-family: var(--mono); font-size: 0.875em; letter-spacing: 0; }
small, .muted { color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5em 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.narrow { max-width: 760px; }
.page-title { margin-top: 1.4em; }
.kicker.page-kicker { margin-top: 2.5em; }
.mt-1 { margin-top: 1em; }
.mt-2 { margin-top: 2em; }

/* header / footer */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header-bg); border-bottom: 1px solid var(--border); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.1rem; letter-spacing: -0.025em; color: var(--heading); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; flex: none; border-radius: 8px; box-shadow: var(--shadow-sm); }
.nav { display: flex; gap: 2px; flex-wrap: wrap; font-size: 0.94rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 6px 12px; border-radius: 999px; transition: color 0.15s, background-color 0.15s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 5em; padding: 2.75em 0 3em; font-size: 0.9rem; color: var(--muted); }
.site-footer .brand { font-size: 1.05rem; }
.footer-brand { margin-bottom: 1em; }
.site-footer nav { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 1em; }
.site-footer a { color: var(--muted); }
.site-footer nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer .brand, .site-footer .brand:hover { color: var(--heading); text-decoration: none; }

/* hero */
.hero { position: relative; isolation: isolate; padding: 4.5em 0 3em; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(40rem 26rem at 85% -10%, var(--glow-1), transparent 70%), radial-gradient(32rem 22rem at 0% 0%, var(--glow-2), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 60% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 75% at 60% 0%, #000 30%, transparent 75%); }
.hero h1 { font-size: clamp(2.35rem, 1.3rem + 4.4vw, 4rem); line-height: 1.04; letter-spacing: -0.042em; max-width: 920px; margin-bottom: 0.45em; }
.hero p.lede { font-size: clamp(1.06rem, 1rem + 0.35vw, 1.22rem); color: var(--muted); max-width: 680px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 1.75em; }
.hero-note { margin-top: 1.1em; font-size: 0.92rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 1.4em; padding: 5px 14px 5px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 0.85rem; font-weight: 600; color: var(--text); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink);
  padding: 0.75em 1.3em; border-radius: var(--radius); font: 600 1rem/1.2 var(--font); letter-spacing: -0.011em; text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgb(255 255 255 / 0.16); transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn.secondary:hover { background: var(--surface); color: var(--accent); border-color: var(--accent); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
form.buy { display: inline; margin: 0; }
.launch-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }

/* sections */
.section { padding: 1.5em 0; }
main > .section:nth-of-type(odd):not(.hero) { background: var(--band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.5em 0 3em; }
.section h2:first-child { margin-top: 0.8em; }
/* Narrow home sections keep the wide sections' left edge, so headings line up down the page. */
.section > .wrap.narrow { max-width: var(--max); }
.section > .wrap.narrow > * { max-width: 740px; }

/* grids and cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card.featured:only-child { max-width: 720px; }
.card.featured { position: relative; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring), var(--shadow-md); }
.card.featured::before { content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #6366f1, #06b6d4); }
.features { counter-reset: feature; }
.features .card { counter-increment: feature; }
.features .card::before { content: counter(feature, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.price { font-size: 3rem; font-weight: 780; letter-spacing: -0.04em; line-height: 1.1; color: var(--heading); margin: 0.15em 0 0.3em; font-variant-numeric: tabular-nums; }
.price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
ul.checks { list-style: none; padding: 0; }
ul.checks li { padding-left: 2em; position: relative; margin: 0.55em 0; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 0.2em; width: 1.3em; height: 1.3em; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-size: 0.75em; font-weight: 800; line-height: 1; }
ol.steps { list-style: none; padding: 0; counter-reset: step; }
ol.steps li { position: relative; padding: 0 0 1.1em 3em; margin: 0; counter-increment: step; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2em; height: 2em; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.85em; box-shadow: 0 0 0 4px var(--accent-ring); }
ol.steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1em - 1px); top: 2.1em; bottom: 0.15em; width: 2px; background: var(--border); }

/* callouts */
.callout { border: 1px solid var(--border); border-left: 4px solid var(--info); background: var(--info-bg); padding: 14px 18px; border-radius: var(--radius); margin: 1.2em 0; }
.callout.warn { border-left-color: var(--warn); background: var(--warn-bg); }
.callout.ok { border-left-color: var(--ok); background: var(--ok-bg); }
.callout.bad { border-left-color: var(--bad); background: var(--bad-bg); }
.callout p:last-child { margin-bottom: 0; }
.sample-label { display: inline-block; vertical-align: middle; background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn); border-radius: 999px; padding: 2px 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); color: var(--muted); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
tbody tr:hover td { background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.url { font-family: var(--mono); font-size: 0.84rem; word-break: break-all; }

/* status pills */
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.pill.live, .pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.submitted, .pill.needs_human, .pill.queued, .pill.pending { background: var(--info-bg); color: var(--info); }
.pill.founder_action { background: var(--warn-bg); color: var(--warn); }
.pill.not_live, .pill.rejected, .pill.failed, .pill.bad { background: var(--bad-bg); color: var(--bad); }

/* stats */
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 1em 0 1.5em; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 1.9rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; color: var(--heading); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.86rem; }

/* faq */
details { border: 1px solid var(--border); border-radius: var(--radius); padding: 0 18px; margin: 10px 0; background: var(--surface); box-shadow: var(--shadow-sm); }
details[open] { padding-bottom: 8px; }
summary { cursor: pointer; font-weight: 600; color: var(--heading); padding: 15px 1.75em 15px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s ease; }
details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
details > *:not(summary) { margin-top: 0; }

/* forms */
.field { margin: 0 0 1.25em; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--heading); }
.field .help { display: block; color: var(--muted); font-size: 0.88rem; margin-bottom: 6px; }
input[type="text"], input[type="url"], input[type="date"], input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 12px; transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
textarea { min-height: 7em; resize: vertical; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: 0.9rem; font-weight: 600; margin-top: 4px; display: block; }

/* legal pages */
.legal h1 { margin-top: 1.4em; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal table { margin: 1em 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 2.75em; }
  th, td { padding: 9px 11px; }
  .site-header { position: static; }
}

/* pre-launch notice (shown until LEGAL_APPROVED=1) */
.notice { background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid var(--border); font-size: 0.88rem; font-weight: 500; text-align: center; padding: 8px 16px; }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; color: var(--accent); margin: 0 0 0.5em; }

/* Directory list (/directories/) */
.kicker a { color: inherit; text-decoration: none; }
.dir-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.25em 0; font-size: 0.92rem; }
.dir-cats a { padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 500; }
.dir-cats a:hover { border-color: var(--accent); color: var(--accent); }
.dir-cats a[aria-current="page"] { font-weight: 650; color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.dir-filters { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin: 0.5em 0 1em; font-size: 0.95rem; }
.dir-filters select { margin-left: 6px; width: auto; }
.dir-table td small { font-size: 0.8rem; }
pre.code { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; font-family: var(--mono); font-size: 0.82rem; line-height: 1.5; white-space: pre; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .card:hover, .btn:active { transform: none; }
}
