:root {
  --bg: #f7f8fa; --surface: #ffffff; --ink: #0f1726; --muted: #4a5568; --line: #dde2ea;
  --accent: #1f5fbf; --accent-ink: #ffffff; --err: #b42318; --err-bg: #fdecea; --warn: #8a5a00;
  --warn-bg: #fff4d6; --ok: #11683d; --ok-bg: #e6f4ec; --band: #eef2f8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.08; letter-spacing: -0.025em; margin: 10px 0 20px; max-width: 24ch; text-wrap: balance; }
h2 { font-size: 28px; letter-spacing: -0.01em; margin: 0 0 20px; }
h3 { font-size: 18px; margin: 0 0 6px; }
p { margin: 0 0 12px; }
a { color: var(--accent); }

.top { position: sticky; top: 0; background: var(--bg); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-size: 15px; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 12px 20px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 8px 14px; font-size: 15px; }
.link { font-weight: 600; text-decoration: none; }

section { padding: 72px 0; }
.hero { padding: 88px 0 64px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; }
.lede { font-size: 21px; color: var(--muted); max-width: 64ch; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 28px 0 14px; }
.status { color: var(--muted); font-size: 15px; }

.problem, .trust { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid3 p { color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.steps span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15.5px; }

.note { color: var(--muted); font-size: 15px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 600; white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-right: 6px; white-space: nowrap; }
.tag.err { color: var(--err); background: var(--err-bg); }
.tag.warn { color: var(--warn); background: var(--warn-bg); }
.tag.ok { color: var(--ok); background: var(--ok-bg); }
.nv { color: var(--err); font-weight: 600; }

.partner { text-align: center; }
.partner p { color: var(--muted); margin-bottom: 24px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--muted); font-size: 14px; }
.foot p { margin: 0; }

@media (max-width: 860px) {
  .grid3 { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .bar { height: 56px; }
  .btn.small { padding: 7px 12px; font-size: 14px; }
  .hero { padding: 36px 0 40px; }
  .eyebrow { font-size: 12.5px; }
  h1 { font-size: 31px; margin-bottom: 14px; }
  h2 { font-size: 24px; }
  .lede { font-size: 17px; }
  .cta { flex-direction: column; align-items: stretch; gap: 12px; margin: 22px 0 12px; }
  .cta .btn { text-align: center; padding: 14px 20px; }
  .cta .link { text-align: center; padding: 6px 0; }
  .status { font-size: 14px; text-align: center; }
  .hero-demo { margin: 28px -4px 0; }
  .hero-demo .note { font-size: 13px; }
  section { padding: 44px 0; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { display: flex; gap: 14px; padding: 16px; }
  .steps span { flex: none; margin-bottom: 0; }
  .grid3 { gap: 20px; }
  .foot { gap: 10px; }
}

/* Animated audit demo (timing in demo-anim.css, generated by tools/build_demo_css.py) */
.demo { --cmd-w: 31ch; background: #ffffff; color: #0f1726; border-radius: 14px; border: 1px solid #dde2ea;
  box-shadow: 0 24px 60px -28px rgba(15, 23, 38, .28); overflow: hidden; font-size: 14.5px; }
.chrome { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f3f5f9; border-bottom: 1px solid #dde2ea; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #c9d1de; }
.dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:last-child { background: #28c840; }
.title { color: #5b6880; font-size: 13px; }
.term { padding: 14px 18px 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #0f1726; white-space: nowrap; overflow: hidden; }
.prompt { color: #1f5fbf; }
.cmd-text { display: inline-block; overflow: hidden; vertical-align: bottom; width: var(--cmd-w); }
.caret { display: inline-block; width: 8px; height: 1.1em; background: #1f5fbf; vertical-align: text-bottom; margin-left: 2px; animation: vp-blink 1s steps(1) infinite; }
@keyframes vp-blink { 50% { opacity: 0; } }
.progress { height: 3px; margin: 6px 18px 10px; background: #e6eaf1; border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, #1f5fbf, #11683d); transform-origin: left; }
.rows { padding: 0 10px 6px; }
.row { position: relative; display: grid; grid-template-columns: 84px 1fr 190px 180px; gap: 14px; align-items: center;
  padding: 10px 8px; border-bottom: 1px solid #edf0f5; overflow: hidden; }
.row.head { color: #6b778c; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; padding-top: 4px; }
.row .id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #4a5568; }
.scan { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(31, 95, 191, .10), transparent); pointer-events: none; transform: translateX(100%); opacity: 0; }
.demo mark { color: inherit; background-color: transparent; padding: 0 2px; border-radius: 3px; background-repeat: no-repeat; background-size: 100% 100%; }
.demo mark.err { background-image: linear-gradient(rgba(180, 35, 24, .16), rgba(180, 35, 24, .16)); }
.demo mark.warn { background-image: linear-gradient(rgba(196, 130, 0, .20), rgba(196, 130, 0, .20)); }
.demo mark.ok { background-image: linear-gradient(rgba(17, 104, 61, .14), rgba(17, 104, 61, .14)); }
.demo .tag.err { color: #b42318; background: #fdecea; } .demo .tag.warn { color: #8a5a00; background: #fff4d6; }
.demo .tag.ok { color: #11683d; background: #e6f4ec; }
.demo .meth { color: #0f1726; font-weight: 600; } .demo .meth.nv { color: #b42318; }
.sum { padding: 14px 18px 16px; color: #4a5568; border-top: 1px solid #dde2ea; background: #f7f8fa; }
.sum b { color: #0f1726; } .sum b.nv { color: #b42318; } .sum .warn-t { color: #8a5a00; } .sum .ok-t { color: #11683d; } .sum .full > span, .sum .short > span { color: #9aa5b8; margin: 0 6px; }
@media (max-width: 760px) {
  .row { grid-template-columns: 70px 1fr; grid-template-areas: "id fin" "req req" "meth meth"; gap: 6px 10px; }
  .row .id { grid-area: id; } .row .req { grid-area: req; } .row .fin { grid-area: fin; justify-self: end; } .row .meth { grid-area: meth; }
  .row.head { display: none; }
  .demo { font-size: 14px; }
  .term { padding: 12px 14px 6px; font-size: 13px; }
  .progress { margin: 6px 14px 6px; }
  .rows { padding: 0 6px 4px; }
  .row { padding: 10px 8px; }
  .demo .r4, .demo .r5, .sum .full { display: none; }
  .sum { padding: 12px 14px; font-size: 13.5px; line-height: 1.5; }
}
.sum .short { display: none; }
@media (max-width: 760px) { .sum .short { display: inline; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.email-alt { margin-top: 14px; font-size: 15px; }
.nf { min-height: 70vh; display: grid; place-content: center; text-align: center; }

.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }
.legal { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.legal h1 { font-size: 38px; max-width: none; margin-bottom: 4px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; margin: 0 0 12px; }
.legal li { margin-bottom: 8px; }

/* Demo shown in the hero */
.hero-demo { margin-top: 44px; }
.hero-demo .note { margin-top: 10px; text-align: center; }
