/* Direction A, "terminal neon". See ../DESIGN.md.
   Graphite black, fine grid, acid lime + one magenta, mono labels. Dark only (no light mode). */

@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0b0a;
  --panel: #111310;
  --panel-2: #161914;
  --line: #242922;
  --line-strong: #3a4134;
  --ink: #effae0;
  --muted: #a3ad99;
  --lime: #c6ff3d;
  --lime-ink: #0a0b0a;
  --lime-soft: rgba(198, 255, 61, 0.08);
  --pink: #ff5fdc;
  --todo-bg: #3a2a00;
  --todo-ink: #ffd96b;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--lime); }
code { font-family: var(--mono); font-size: 0.9em; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--lime); color: var(--lime-ink); padding: 10px 14px; font: 700 14px var(--mono); text-decoration: none; }
.skip:focus { top: 12px; color: var(--lime-ink); }

.hl { color: var(--lime); }
.glow { color: var(--lime); text-shadow: 0 0 28px rgba(198, 255, 61, 0.35); }
.eyebrow { font: 400 0.78rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; display: flex; gap: 10px; align-items: baseline; }
.eyebrow::before { content: "//"; color: var(--lime); }
.idx { color: var(--lime); font-weight: 700; }
.tag { display: inline-block; font: 700 0.68rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 7px; border-radius: 99px; color: var(--lime-ink); background: var(--lime); vertical-align: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: 700 0.9rem/1 var(--mono); letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; transition: box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 1px var(--lime), 0 0 28px rgba(198, 255, 61, 0.35); }
.btn-primary:hover { color: var(--lime-ink); box-shadow: 0 0 0 1px var(--lime), 0 0 44px rgba(198, 255, 61, 0.6); }
.btn-secondary { color: var(--ink); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.02); }
.btn-secondary:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 0.82rem; }
.text-link { align-self: center; font: 400 0.9rem var(--mono); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(10, 11, 10, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 700 0.95rem/1 var(--mono); letter-spacing: 0.02em; text-decoration: none; margin: 0; }
.mark { width: 10px; height: 10px; display: inline-block; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
nav ul { list-style: none; margin: 0; padding: 0; }
.site-header nav { margin-left: auto; }
.nav-links { display: flex; gap: 24px; font: 400 0.82rem var(--mono); }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--lime); }
@media (max-width: 860px) {
  .site-header nav { display: none; }
  .site-header .btn { margin-left: auto; }
}

/* Grid backdrop shared by hero and final CTA */
.hero, .final { position: relative; overflow: hidden; }
.hero::before, .final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  opacity: 0.7;
}

/* Hero */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.prompt { font: 400 13px/1.4 var(--mono); color: var(--lime); margin-bottom: 28px; overflow-wrap: anywhere; }
.prompt-path { color: var(--muted); }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--lime); vertical-align: -3px; margin-left: 4px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.045em; }
.pill {
  display: inline-flex; align-items: center; gap: 0.3em;
  font: 700 0.26em/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--lime-ink); background: var(--lime); padding: 0.55em 0.85em; border-radius: 99px;
  vertical-align: 0.55em; box-shadow: 0 0 24px rgba(198, 255, 61, 0.45);
}
.pill::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--lime-ink); animation: blink 2.2s steps(1) infinite; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 58ch; margin: 28px 0 32px; }
.spec-strip { margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 28px; font: 400 0.78rem/1.4 var(--mono); }
.spec-strip dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.spec-strip dd { margin: 4px 0 0; color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .spec-strip { grid-template-columns: 1fr 1fr; gap: 16px 20px; } }

.plug { width: 100%; height: auto; }
.iso-top { fill: var(--panel-2); stroke: var(--lime); stroke-width: 1.5; }
.iso-left { fill: var(--panel); stroke: var(--lime); stroke-width: 1.5; }
.iso-right { fill: #141712; stroke: var(--lime); stroke-width: 1.5; }
.iso-bar { fill: var(--lime); opacity: 0.8; }
.iso-bar-dim { opacity: 0.4; }
.packets { stroke: #f4ffe0; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -60; } }
.chip { fill: var(--bg); stroke: var(--lime); }
.svg-label { font: 700 11px var(--mono); fill: var(--lime); letter-spacing: 0.08em; }
.svg-pink { fill: var(--pink); }
.svg-chip { font: 700 12px var(--mono); fill: var(--lime); }
.socket-body { fill: var(--panel-2); stroke: var(--pink); stroke-width: 1.5; }
.socket-hole { fill: var(--bg); stroke: var(--pink); }

/* Ticker (restyled from direction B) */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; background: var(--panel); }
.track { display: inline-flex; padding: 14px 0; animation: scroll 36s linear infinite; }
.track span { font: 700 0.85rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); padding: 0 28px; }
.track span::before { content: "▸"; color: var(--lime); margin-right: 12px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 22ch; }
.two-col { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: 32px; }
.two-col .section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 0; } }
.statement { font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.22; letter-spacing: -0.025em; font-weight: 700; margin: 0; max-width: 28ch; }

/* Demo */
.demo-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .demo-grid { grid-template-columns: 1fr; } }
.demo { margin: 0; }
.demo figcaption { margin-top: 14px; font: 400 0.75rem/1.5 var(--mono); }
.monitor { border: 1px solid var(--line-strong); border-radius: 18px; padding: 12px; background: linear-gradient(#151813, #0e100d); box-shadow: 0 0 0 1px #000, 0 30px 80px -30px rgba(198, 255, 61, 0.25); }
.chat { border-radius: var(--radius); background: #0c0d0b; border: 1px solid var(--line); overflow: hidden; font-size: 0.95rem; }
.chat-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 400 0.75rem var(--mono); color: var(--muted); }
.chat-title { color: var(--ink); }
.chat-body { padding: 20px 16px 8px; display: grid; gap: 14px; }
.msg { margin: 0; }
.msg-user { justify-self: end; max-width: 85%; background: var(--panel-2); border: 1px solid var(--line); padding: 10px 14px; border-radius: 12px 12px 2px 12px; }
.msg-ai p:last-child { margin-bottom: 0; }
.tool-call { font: 400 0.75rem var(--mono); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.tool-call code { color: var(--lime); font-size: 1em; }
.tool-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); display: inline-block; }
.gf-card { border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px; margin-bottom: 14px; background: var(--panel); }
.gf-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; line-height: 1.2; }
.gf-head strong { display: block; }
.gf-logo { width: 32px; height: 32px; border-radius: 8px; background: var(--pink); color: var(--lime-ink); display: grid; place-items: center; font: 700 0.75rem/1 var(--mono); flex: none; }
.gf-sub { display: block; font-size: 0.8rem; color: var(--muted); }
.gf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; }
.gf-stats div { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.gf-stats dt { font: 400 0.7rem/1.3 var(--mono); color: var(--muted); }
.gf-stats dd { margin: 2px 0 0; font: 700 1.25rem/1.3 var(--mono); }
.gf-stats div:nth-child(2) dd { color: var(--pink); }
.gf-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.gf-table th { text-align: left; font: 400 0.7rem var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 6px 6px 6px 0; border-bottom: 1px solid var(--line); }
.gf-table td { padding: 7px 6px 7px 0; border-bottom: 1px solid var(--line); }
.gf-more { font-size: 0.8rem; color: var(--muted); margin: 8px 0 12px; }
.gf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 8px; background: var(--pink); color: var(--lime-ink); font: 700 0.82rem var(--mono); box-shadow: 0 0 20px rgba(255, 95, 220, 0.35); }
.gf-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.chat-input { margin: 8px 16px 16px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 10px 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; font: 400 0.85rem var(--mono); }
.chat-send { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); opacity: 0.85; }
@media (max-width: 480px) {
  .col-visit, .tool-args { display: none; }
  .gf-stats dd { font-size: 1.05rem; }
  .chat-body { padding: 16px 12px 8px; }
  .gf-card { padding: 12px; }
  .monitor { padding: 8px; border-radius: 14px; }
}
.demo-notes p { color: var(--muted); }
.notes-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); counter-reset: n; }
.notes-list li { padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); position: relative; counter-increment: n; }
.notes-list li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 17px; font: 700 0.75rem var(--mono); color: var(--lime); }

/* Included */
.grid-cells { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cell { padding: 24px 20px 28px; background: var(--panel); transition: background-color .2s ease; }
.cell:hover { background: var(--panel-2); }
.cell h3 { font-size: 1.08rem; margin: 14px 0 10px; letter-spacing: -0.01em; }
.cell p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.cell-idx { font: 700 0.75rem var(--mono); color: var(--lime); }
.cell-idx::before { content: "["; color: var(--muted); }
.cell-idx::after { content: "]"; color: var(--muted); }
@media (max-width: 960px) { .grid-cells { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-cells { grid-template-columns: 1fr; } }

/* Process */
.timeline { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.timeline li { padding: 22px 20px 8px 0; border-top: 2px solid var(--line-strong); position: relative; }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--lime); }
.timeline li:first-child::before { background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.timeline h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.timeline p { color: var(--muted); font-size: 0.95rem; }
.timeline .when { font: 700 0.75rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime); margin: 0; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-top: 0; border-left: 2px solid var(--line-strong); padding: 0 0 22px 22px; }
  .timeline li::before { top: 2px; left: -6px; }
}

/* Pricing */
.audit-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px; margin-bottom: 20px; background: var(--lime-soft); border: 1px solid var(--lime); border-radius: 14px; }
.audit-band p:last-child { margin-bottom: 0; max-width: 60ch; color: var(--muted); }
.price-name { font: 700 0.78rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--lime); }
.price { margin: 0 0 8px; }
.amount { font: 700 clamp(2rem, 4vw, 2.6rem)/1.1 var(--sans); letter-spacing: -0.04em; }
.per { color: var(--muted); font: 400 0.85rem var(--mono); }
.pricing { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { padding: 28px 24px; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.plan-featured { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 20px 60px -30px rgba(198, 255, 61, 0.45); }
.plan-sub { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.ticks li { padding: 9px 0 9px 24px; border-top: 1px solid var(--line); position: relative; font-size: 0.95rem; }
.ticks li::before { content: "+"; position: absolute; left: 2px; top: 9px; font: 700 0.95rem var(--mono); color: var(--lime); }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* Comparison */
.table-wrap { margin-bottom: 12px; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.compare thead th { font: 400 0.72rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.compare tbody th { font-weight: 700; width: 22%; }
.compare td { color: var(--muted); }
.compare .us { color: var(--ink); font-weight: 700; background: var(--lime-soft); padding-left: 16px; border-left: 1px solid rgba(198, 255, 61, 0.35); }
.compare thead .us { color: var(--lime); }
@media (max-width: 760px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th { width: 100%; padding: 0 0 8px; border: 0; }
  .compare td { padding: 6px 0; border: 0; display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
  .compare td::before { content: attr(data-label); font: 400 0.7rem var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding-top: 3px; }
  .compare td.us { padding: 8px 10px; margin: 4px -10px 0; width: auto; border-left: 0; border-radius: 8px; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 700 1.3rem var(--mono); color: var(--lime); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { color: var(--muted); padding: 0 0 12px; max-width: 64ch; }

/* Final CTA */
.final { padding: clamp(72px, 10vw, 128px) 0; border-bottom: 1px solid var(--line); }
.final-inner { position: relative; }
.final h2 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.04em; max-width: 18ch; margin-bottom: 20px; }

/* Footer */
.site-footer { padding: 48px 0 56px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px 40px; }
.footer-links { display: grid; gap: 8px; font: 400 0.85rem var(--mono); }
.footer-note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; max-width: 80ch; }
.wordmark-footer { margin-bottom: 10px; }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.legal-wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.035em; margin-bottom: 16px; }
.legal h2 { font-size: 1.2rem; margin: 40px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.legal h2::before { content: "## "; font-family: var(--mono); color: var(--lime); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--lime); }
.legal a { color: var(--lime); }
.facts { display: grid; grid-template-columns: 12em 1fr; gap: 8px 16px; margin: 0; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.facts dt { color: var(--muted); font: 400 0.85rem/1.8 var(--mono); }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 0; } .facts dd { margin-bottom: 10px; } }
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 1px 5px; border-radius: 4px; font: 700 0.8em var(--mono); }

/* Free check link in the home hero */
.free-check { margin: 22px 0 0; font: 400 0.88rem/1.5 var(--mono); }
.free-check a { color: var(--ink); text-decoration: none; border-bottom: 1px dashed var(--line-strong); }
.free-check a:hover { color: var(--lime); border-bottom-color: var(--lime); }
.free-check .tag { margin-right: 6px; }

/* Readiness Check page */
.check-hero { padding-bottom: clamp(40px, 6vw, 64px); }
.check-wrap { position: relative; max-width: 880px; }
.check-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1; letter-spacing: -0.045em; }
.check-hero .lead { margin: 22px 0 28px; }
.terminal { border: 1px solid var(--line-strong); border-radius: 14px; background: linear-gradient(#131611, #0d0f0c); box-shadow: 0 0 0 1px #000, 0 30px 80px -30px rgba(198, 255, 61, 0.28); overflow: hidden; }
.terminal-bar { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 400 0.75rem var(--mono); color: var(--muted); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.dots i:first-child { background: var(--pink); }
.dots i:last-child { background: var(--lime); }
.terminal-body { padding: clamp(16px, 3vw, 24px); display: grid; gap: 16px; }
.terminal-body .btn { justify-self: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .lead-box label:not(.consent) { font: 700 0.75rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime); }
.field input, .lead-box input[type="email"] {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); font: 400 16px var(--mono);
}
.field input::placeholder, .lead-box input::placeholder { color: #7d8676; }
.field input:focus, .lead-box input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198, 255, 61, 0.2); }
.input-row { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); }
.input-row:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198, 255, 61, 0.2); }
.input-prefix { display: flex; align-items: center; padding: 0 0 0 14px; color: var(--muted); font: 400 16px var(--mono); }
.input-row input { border: 0; box-shadow: none !important; padding-left: 2px; min-height: 52px; font-size: 1.05rem; }
.hint { margin: 0; font-size: 0.8rem; color: var(--muted); }
.more summary { cursor: pointer; font: 400 0.85rem var(--mono); color: var(--muted); padding: 4px 0; }
.more summary:hover { color: var(--lime); }
.more[open] summary { margin-bottom: 14px; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.more-grid .field:nth-child(-n + 2) { grid-column: 1 / -1; }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }
.form-error { margin: 0; padding: 10px 12px; border-radius: 8px; background: #2e0f27; color: #ffc2f1; border: 1px solid var(--pink); font-size: 0.92rem; }
.fine { margin: 0; }
.fine a { color: var(--lime); }

.result { padding-top: clamp(40px, 6vw, 64px); }
.log { list-style: none; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font: 400 0.9rem/1.9 var(--mono); color: var(--muted); }
.log li::before { content: "[ ]"; color: var(--line-strong); margin-right: 10px; }
.log li.active { color: var(--ink); }
.log li.active::before { content: "[>]"; color: var(--lime); }
.log li.done::before { content: "[x]"; color: var(--lime); }
.score-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 40px); align-items: center; margin-bottom: clamp(32px, 5vw, 48px); }
.score-row h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); outline: none; }
.gauge { position: relative; width: clamp(120px, 22vw, 168px); aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: var(--line); stroke-width: 10; }
.gauge-arc { fill: none; stroke: var(--lime); stroke-width: 10; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(198, 255, 61, 0.6)); transition: stroke-dasharray .8s ease; }
.gauge-arc[data-level="low"] { stroke: var(--pink); filter: drop-shadow(0 0 6px rgba(255, 95, 220, 0.6)); }
.gauge-value { position: absolute; inset: 0; display: grid; place-items: center; font: 700 clamp(2.2rem, 5vw, 3.2rem)/1 var(--mono); letter-spacing: -0.04em; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); margin-bottom: clamp(32px, 5vw, 48px); }
@media (max-width: 860px) { .report-grid { grid-template-columns: 1fr; } }
.block-title { font-size: 1.15rem; margin: 0 0 16px; letter-spacing: -0.01em; }
.block-title .idx { font: 700 0.8rem var(--mono); margin-right: 6px; }
.issues { list-style: none; margin: 0; padding: 0; counter-reset: i; display: grid; gap: 12px; }
.issues li { counter-increment: i; position: relative; padding: 16px 16px 14px 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.issues li::before { content: counter(i, decimal-leading-zero); position: absolute; left: 16px; top: 16px; font: 700 0.85rem var(--mono); color: var(--pink); }
.issues strong { display: block; margin-bottom: 6px; }
.issues p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.check { padding: 14px 0; border-bottom: 1px solid var(--line); }
.check p { margin: 6px 0 0; font-size: 0.92rem; }
.check-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.check-pts { margin-left: auto; font: 700 0.85rem var(--mono); color: var(--muted); }
.badge { font: 700 0.66rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 7px; border-radius: 99px; border: 1px solid currentColor; }
.badge-pass { color: var(--lime); }
.badge-warn { color: #ffd96b; }
.badge-fail { color: var(--pink); }
.badge-not_checked { color: var(--muted); border-style: dashed; }
.table-scroll { overflow-x: auto; margin-bottom: 10px; }
.compare-dir { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare-dir th, .compare-dir td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.compare-dir thead th { font: 400 0.72rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); border-bottom-color: var(--line-strong); }
.compare-dir tr.self th { color: var(--lime); }
.presence-official, .presence-listed { color: var(--lime); }
.presence-not_checked { color: var(--muted); }
@media (max-width: 560px) {
  .compare-dir thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-dir, .compare-dir tbody, .compare-dir tr, .compare-dir th, .compare-dir td { display: block; width: 100%; }
  .compare-dir tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .compare-dir th, .compare-dir td { border: 0; padding: 3px 0; }
  .compare-dir td { display: grid; grid-template-columns: 11em 1fr; gap: 8px; }
  .compare-dir td::before { content: attr(data-label); font: 400 0.7rem var(--mono); text-transform: uppercase; color: var(--muted); padding-top: 3px; }
}
.llm { margin: 32px 0; }
.llm-list { padding-left: 1.2em; color: var(--muted); }
.llm-list .ok::marker { color: var(--lime); }
.llm-list .ko::marker { color: var(--pink); }
.lead-box { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: start; padding: clamp(20px, 3vw, 32px); margin: 40px 0 20px; background: var(--lime-soft); border: 1px solid var(--lime); border-radius: 14px; }
.lead-box h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; }
.lead-box form { display: grid; gap: 10px; }
.lead-box .btn { white-space: normal; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lime); }
.consent a { color: var(--lime); }
.lead-done p { margin-bottom: 16px; }
@media (max-width: 860px) { .lead-box { grid-template-columns: 1fr; } }

/* How we score */
.method .lead { margin: 0 0 8px; }
.method-grid { display: grid; gap: 16px; }
.method-card { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 20px; }
.method-card header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.method .method-card h2 { margin: 0 0 10px; padding: 0; border: 0; font-size: 1.15rem; }
.method .method-card h2::before { content: none; }
.method-max { margin: 0; font: 700 0.9rem var(--mono); color: var(--lime); white-space: nowrap; }
.method-card p { color: var(--muted); }
.rules { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 0.92rem; }
.rules td { padding: 8px 12px 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.rules .pts { text-align: right; font: 700 0.9rem var(--mono); color: var(--lime); padding-right: 0; width: 3em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .track { white-space: normal; flex-wrap: wrap; justify-content: center; row-gap: 12px; width: 100%; }
  .track span:nth-child(n + 8) { display: none; }
}
