/* Viper Attack site styles. Mobile first. */
:root {
  --bg: #0b1220;
  --bg-2: #0f1729;
  --surface: #141d31;
  --surface-2: #1a2540;
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: rgba(244, 241, 234, 0.22);
  --text: #f4f1ea;
  --muted: #b6bccb;
  --faint: #8a93a8;
  --lime: #c8f53a;
  --lime-ink: #10170a;
  --lime-soft: rgba(200, 245, 58, 0.12);
  --blocked: #7fd6a4;
  --detected: #7ab8ff;
  --allowed: #ff9b85;
  --inconclusive: #f2cf6b;
  --nottested: #a3abbd;
  --radius: 14px;
  --radius-lg: 20px;
  --wrap: 1160px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
.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; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--lime); color: var(--lime-ink); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 750; letter-spacing: -0.01em; font-size: 1.1rem; }
.brand .mark { width: 34px; height: 34px; color: var(--text); flex: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text); cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s ease; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; top: 68px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem 20px 1.25rem;
}
.site-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.site-nav li { margin: 0; }
.site-nav ul a { display: block; padding: 0.8rem 0; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 550; }
.site-nav a[aria-current="page"] { color: var(--lime); }
.no-js .site-nav { display: block; position: static; }
.no-js .menu-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; }

@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .site-nav, .site-nav.open { display: flex; position: static; align-items: center; gap: 1.5rem; padding: 0; border: 0; background: none; }
  .site-nav ul { display: flex; gap: 1.4rem; margin: 0; }
  .site-nav ul a { padding: 0.4rem 0; border: 0; font-size: 0.95rem; color: var(--muted); }
  .site-nav ul a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.3rem; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.92rem; }
.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-primary:hover { background: #d7ff5c; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.site-nav .btn { width: 100%; }
@media (min-width: 1100px) { .site-nav .btn { width: auto; } }

/* Sections */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); margin-bottom: 0.9rem; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 46rem; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .section { padding: 104px 0; } }

/* Hero */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(200, 245, 58, 0.10), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 3rem; position: relative; }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-bottom: 1.8rem; }
.tagline { margin-top: 1.6rem; color: var(--faint); font-size: 0.95rem; letter-spacing: 0.01em; }
.tagline strong { color: var(--text); font-weight: 650; }
.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid rgba(200, 245, 58, 0.35);
  background: var(--lime-soft); color: var(--text); font-size: 0.88rem; font-weight: 600; margin-bottom: 1.4rem;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 245, 58, 0.18); }
@media (min-width: 1000px) {
  .hero { padding: 88px 0 112px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; }
}
.page-hero { padding: 56px 0 24px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); max-width: 20ch; }
@media (min-width: 768px) { .page-hero { padding: 88px 0 32px; } }

/* Cards & grids */
.grid { display: grid; gap: 1.1rem; }
@media (min-width: 680px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; position: relative;
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card .muted { font-size: 0.98rem; }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .15s ease, transform .15s ease; }
.card-link:hover { border-color: rgba(200, 245, 58, 0.45); }
.card-link .more { color: var(--lime); font-weight: 650; font-size: 0.95rem; margin-top: 1rem; display: inline-block; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--lime-soft); color: var(--lime); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 22px; height: 22px; }

.status {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); margin-bottom: 0.9rem;
}
.status-pilot { border-color: rgba(200, 245, 58, 0.45); color: var(--lime); }

.callout {
  border: 1px solid rgba(200, 245, 58, 0.35); background: var(--lime-soft);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; display: flex; gap: 0.9rem; align-items: flex-start;
}
.callout svg { width: 22px; height: 22px; flex: none; color: var(--lime); margin-top: 2px; }
.callout p { margin: 0; }
.callout-neutral { border-color: var(--line-strong); background: var(--surface); }
.callout-neutral svg { color: var(--muted); }

.status-strip { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .status-strip { grid-template-columns: 1.3fr 1fr; } }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; counter-reset: step; }
.process li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.2rem 1.2rem; position: relative; }
.process .step-n { font-family: var(--mono); font-size: 0.8rem; color: var(--lime); display: block; margin-bottom: 0.35rem; }
.process h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.process p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(5, 1fr); gap: 0; }
  .process li { border-radius: 0; border-right-width: 0; padding: 1.4rem 1.3rem 1.5rem; }
  .process li:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .process li:last-child { border-radius: 0 var(--radius) var(--radius) 0; border-right-width: 1px; }
  .process li:not(:last-child)::after {
    content: ""; position: absolute; right: -9px; top: 1.55rem; width: 16px; height: 16px; z-index: 2;
    background: var(--bg-2); border: 1px solid var(--line-strong); border-left: 0; border-bottom: 0; transform: rotate(45deg);
  }
  .process li.loop { background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
}
.loop-note { margin-top: 1rem; color: var(--faint); font-size: 0.92rem; display: flex; align-items: center; gap: 0.5rem; }
.loop-note svg { width: 18px; height: 18px; color: var(--lime); }

/* Steps (How it works) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { margin: 0; display: grid; grid-template-columns: 52px 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.steps .num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: var(--lime); font-weight: 750; font-family: var(--mono); }
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--muted); }
.steps p + p { margin-top: 0.6rem; }

/* Findings panel */
.panel {
  background: linear-gradient(180deg, #16203a, #121a2d); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--line); }
.panel-title { font-weight: 700; font-size: 0.98rem; }
.panel-sub { font-size: 0.8rem; color: var(--faint); font-family: var(--mono); }
.sample-flag {
  display: block; padding: 0.55rem 1.2rem; background: rgba(242, 207, 107, 0.12); color: #f6dc93;
  font-size: 0.8rem; font-weight: 650; border-bottom: 1px solid var(--line);
}
.findings { list-style: none; margin: 0; padding: 0.4rem 0; }
.findings li { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; padding: 0.8rem 1.2rem; border-bottom: 1px solid var(--line); }
.findings li:last-child { border-bottom: 0; }
.findings .f-name { font-size: 0.95rem; font-weight: 600; }
.findings .f-meta { grid-column: 1 / -1; font-size: 0.8rem; color: var(--faint); font-family: var(--mono); }
@media (min-width: 520px) { .findings .f-meta { grid-column: 1; } .findings li { align-items: center; } .findings .badge { grid-row: 1 / span 2; grid-column: 2; } }

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; align-self: start;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.b-blocked { color: var(--blocked); border-color: rgba(127, 214, 164, 0.4); background: rgba(127, 214, 164, 0.08); }
.b-detected { color: var(--detected); border-color: rgba(122, 184, 255, 0.4); background: rgba(122, 184, 255, 0.08); }
.b-allowed { color: var(--allowed); border-color: rgba(255, 155, 133, 0.45); background: rgba(255, 155, 133, 0.08); }
.b-inconclusive { color: var(--inconclusive); border-color: rgba(242, 207, 107, 0.4); background: rgba(242, 207, 107, 0.08); }
.b-nottested { color: var(--nottested); border-color: rgba(163, 171, 189, 0.4); background: rgba(163, 171, 189, 0.08); }

.legend { display: grid; gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.legend li { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 0.8rem; align-items: start; font-size: 0.95rem; color: var(--muted); }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.55rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 7px;
  border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg);
}
.x-list li::before { border: 0; width: 12px; height: 2px; background: var(--faint); top: 0.75em; transform: none; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 650; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background: radial-gradient(120% 140% at 0% 0%, rgba(200, 245, 58, 0.14), transparent 55%), var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 2.2rem 1.6rem;
  display: grid; gap: 1.5rem; align-items: center;
}
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 3rem; } }

/* Prose pages */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.updated { color: var(--faint); font-size: 0.92rem; }

/* Service detail */
.service { display: grid; gap: 1.5rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.4rem; }
@media (min-width: 900px) { .service { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.kv { display: grid; gap: 1rem; }
.kv h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 0.4rem; }
.kv ul { margin: 0; }
.kv p { color: var(--muted); margin: 0; }

.compare { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.compare caption { text-align: left; color: var(--faint); font-size: 0.85rem; padding-bottom: 0.7rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.compare tbody th { font-weight: 650; color: var(--text); width: 26%; }
.compare td { color: var(--muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-scroll:focus-visible { outline-offset: 2px; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
@media (min-width: 768px) { .form-card { padding: 2.2rem; } }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
label, .label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.req { color: var(--lime); }
.hint { display: block; color: var(--faint); font-size: 0.85rem; font-weight: 400; margin-top: 0.2rem; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 0.75rem 0.85rem; min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--lime); outline-offset: 1px; border-color: transparent; }
[aria-invalid="true"] { border-color: var(--allowed) !important; }
.field-error { color: var(--allowed); font-size: 0.88rem; margin-top: 0.35rem; display: none; }
.field-error.show { display: block; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 0.7rem; align-items: start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--lime); }
.privacy-notice { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; font-size: 0.92rem; color: var(--muted); }
.privacy-notice p { margin: 0 0 0.5rem; }
.privacy-notice p:last-child { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset[disabled] input, fieldset[disabled] select, fieldset[disabled] textarea { opacity: 0.55; cursor: not-allowed; }
.form-status { border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(127, 214, 164, 0.1); border: 1px solid rgba(127, 214, 164, 0.4); }
.form-status.err { background: rgba(255, 155, 133, 0.1); border: 1px solid rgba(255, 155, 133, 0.45); }
.form-status p { margin: 0; }
.intake-closed { margin-bottom: 1.6rem; }

/* Founder */
.founder { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .founder { grid-template-columns: 280px 1fr; gap: 3.5rem; } }
.monogram {
  aspect-ratio: 1; border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: radial-gradient(90% 90% at 30% 20%, rgba(200, 245, 58, 0.16), transparent 60%), var(--surface);
  display: grid; place-items: center; font-size: 4.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); max-width: 280px;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 40px; margin-top: 40px; }
.footer-inner { display: grid; gap: 2rem; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; } }
.footer-brand .brand { margin-bottom: 0.8rem; }
.footer-links { list-style: none; padding: 0; margin: 0 0 1rem; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

/* 404 */
.notfound { text-align: left; padding: 96px 0; }
.notfound .code { font-family: var(--mono); color: var(--lime); font-size: 0.95rem; }

/* Sample report */
.report-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.report {
  background: #fbfaf6; color: #1a2133; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); font-size: 1rem;
}
.report a { color: #2c5d00; }
.report-banner { background: #fff3c4; color: #5a4300; font-weight: 700; font-size: 0.88rem; padding: 0.7rem 1.4rem; border-bottom: 1px solid #ecd98a; text-align: center; letter-spacing: 0.01em; }
.report-cover { padding: 2rem 1.4rem; background: #0b1220; color: var(--text); display: grid; gap: 1.2rem; }
.report-cover .brand { color: var(--text); }
.report-cover h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0; color: var(--text); }
.report-cover dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.2rem; margin: 0; font-size: 0.92rem; color: var(--muted); }
.report-cover dt { color: var(--faint); }
.report-cover dd { margin: 0; color: var(--text); }
.report-body { padding: 1.6rem 1.4rem 2.2rem; }
@media (min-width: 768px) { .report-cover { padding: 2.6rem 3rem; } .report-body { padding: 2.4rem 3rem 3rem; } .report-banner { padding: 0.7rem 3rem; } }
.report h2 { font-size: 1.4rem; color: #0b1220; margin: 2.2rem 0 0.8rem; padding-top: 1.4rem; border-top: 1px solid #e3e0d6; }
.report h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.report h3 { font-size: 1.1rem; color: #0b1220; margin: 0 0 0.4rem; }
.report p, .report li { color: #34405a; }
.report table { width: 100%; border-collapse: collapse; font-size: 0.93rem; margin: 0.4rem 0 1rem; }
.report th, .report td { text-align: left; vertical-align: top; padding: 0.65rem 0.75rem; border-bottom: 1px solid #e3e0d6; }
.report thead th { background: #f1efe7; color: #4a5470; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.report .rt-scroll { overflow-x: auto; }
.report .badge { font-size: 0.72rem; }
.report .b-blocked { color: #116b3a; border-color: #8fd4ac; background: #e8f7ee; }
.report .b-detected { color: #1a4f99; border-color: #9cc3f5; background: #eaf2fd; }
.report .b-allowed { color: #a2321b; border-color: #f1ad9e; background: #fdeee9; }
.report .b-inconclusive { color: #7a5a00; border-color: #e6cb7c; background: #fcf5df; }
.report .b-nottested { color: #4c5466; border-color: #c3c8d3; background: #f0f2f5; }
.sev { font-weight: 700; font-size: 0.8rem; }
.sev-high { color: #a2321b; }
.sev-med { color: #8a5a00; }
.sev-low { color: #4c5466; }
.sev-info { color: #4c5466; }
.finding { border: 1px solid #e3e0d6; border-radius: 14px; padding: 1.2rem 1.2rem 0.6rem; margin-bottom: 1rem; background: #fff; break-inside: avoid; }
.finding-head { display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; align-items: center; margin-bottom: 0.7rem; }
.finding-id { font-family: var(--mono); font-size: 0.8rem; color: #6b7590; }
.finding dl { display: grid; gap: 0.2rem 1rem; margin: 0 0 0.6rem; }
@media (min-width: 640px) { .finding dl { grid-template-columns: 150px 1fr; } }
.finding dt { font-weight: 700; font-size: 0.85rem; color: #4a5470; }
.finding dd { margin: 0 0 0.6rem; color: #34405a; font-size: 0.95rem; }
.outcome-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.6rem; margin: 0.6rem 0 1rem; }
.outcome { border: 1px solid #e3e0d6; border-radius: 12px; padding: 0.8rem; background: #fff; }
.outcome .n { font-size: 1.6rem; font-weight: 800; color: #0b1220; display: block; line-height: 1.1; }
.report .note { background: #f1efe7; border-radius: 12px; padding: 0.9rem 1rem; font-size: 0.92rem; color: #4a5470; }
.report .note p { margin: 0; color: #4a5470; }
.caveat { margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Print: sample report saves cleanly as PDF */
@media print {
  @page { margin: 14mm; }
  html, body { background: #fff !important; color: #111; font-size: 10.5pt; }
  .site-header, .site-footer, .skip, .report-toolbar, .no-print, .page-hero { display: none !important; }
  main, .wrap, .section { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  .report { box-shadow: none; border-radius: 0; background: #fff; }
  .report-cover { background: #fff !important; color: #111 !important; border-bottom: 2px solid #0b1220; padding: 0 0 12pt !important; }
  .report-cover h1, .report-cover dd, .report-cover .brand { color: #111 !important; }
  .report-cover dt { color: #555 !important; }
  .report-cover .mark { color: #111; }
  .report-body { padding: 0 !important; }
  .report-banner { border: 1px solid #b39a3a; margin-bottom: 10pt; padding: 6pt !important; }
  .report h2 { break-after: avoid; }
  .finding, .outcome, table tr { break-inside: avoid; }
  a { color: #111 !important; text-decoration: none; }
  .report .rt-scroll { overflow: visible; }
}

.mt { margin-top: 0.6rem !important; }
.callout > div p { margin: 0; }
@media (min-width: 1000px) { .contact-split { grid-template-columns: 1.4fr 1fr; align-items: start; } }

.hint-inline { display: inline; margin: 0 0 0 0.3rem; }
fieldset[disabled] .btn { opacity: 0.45; cursor: not-allowed; }

/* ---------- Sample dashboards ---------- */
:root {
  --c-blocked: #2e9a68;
  --c-detected: #4a86d8;
  --c-allowed: #d9564b;
  --c-inconclusive: #c99a2e;
  --c-nottested: #5a6478;
  --c-permitted: #2a3552;
  --hatch: repeating-linear-gradient(45deg, rgba(255,255,255,.28) 0 2px, transparent 2px 7px);
}
.dash-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.dash-jump a { font-size: 0.88rem; color: var(--muted); text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.35rem 0.8rem; }
.dash-jump a:hover { color: var(--text); border-color: var(--text); }

.dash { background: linear-gradient(180deg, #131c30, #10182a); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 1.3rem; scroll-margin-top: 88px; min-width: 0; }
@media (min-width: 768px) { .dash { padding: 1.8rem; } }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 0.6rem 1rem; margin-bottom: 1.2rem; }
.dash-head > div { flex: 1 1 260px; min-width: 0; }
.dash-title { font-size: 1.3rem; margin: 0 0 0.25rem; }
.dash-sub { color: var(--faint); font-size: 0.86rem; margin: 0 0 0.6rem; }
.dash-head .dash-sub { margin: 0; }
.dash-foot { color: var(--faint); font-size: 0.86rem; margin: 1rem 0 0; }
.sample-chip { flex: none; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #f6dc93; background: rgba(242, 207, 107, 0.12); border: 1px solid rgba(242, 207, 107, 0.4); padding: 0.25rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.dash-pair { display: grid; gap: 1.1rem; }
@media (min-width: 1000px) { .dash-pair { grid-template-columns: 1fr 1fr; align-items: start; } }

.kpis { display: grid; gap: 0.7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1.2rem; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); } .kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.kpi-label { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 0.45rem; }
.kpi-num { font-size: 1.75rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
.kpi-note { font-size: 0.78rem; color: var(--faint); }

.key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; }
.k-blocked { background: var(--c-blocked); }
.k-detected { background: var(--c-detected); }
.k-allowed { background: var(--hatch), var(--c-allowed); }
.k-inconclusive { background: var(--c-inconclusive); }
.k-nottested { background: transparent; border: 1.5px dashed var(--c-nottested); }
.k-permitted { background: var(--c-permitted); border: 1px solid var(--line-strong); }
.legend-row { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.84rem; color: var(--muted); }
.legend-row li { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; }

.dash-grid { display: grid; gap: 1.1rem; }
@media (min-width: 1000px) { .dash-grid { grid-template-columns: 1fr 1fr; } .dash-wide { grid-column: 1 / -1; } }
.dash-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; min-width: 0; }
.dash-card h3 { font-size: 1.02rem; margin-bottom: 0.6rem; }

.stacks { display: grid; gap: 0.7rem; }
.stack-row { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 0.8rem; align-items: center; }
.stack-name { grid-column: 1 / -1; font-size: 0.88rem; color: var(--muted); }
.stack { display: flex; gap: 2px; height: 16px; }
.stack-total { font-size: 0.85rem; color: var(--faint); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
@media (min-width: 640px) { .stack-row { grid-template-columns: 200px 1fr auto; } .stack-name { grid-column: auto; } }
.seg { display: block; height: 100%; min-width: 4px; cursor: default; }
.seg:first-child { border-radius: 4px 0 0 4px; }
.seg:last-child { border-radius: 0 4px 4px 0; }
.seg:only-child { border-radius: 4px; }
.s-blocked { background: var(--c-blocked); }
.s-detected { background: var(--c-detected); }
.s-allowed { background: var(--hatch), var(--c-allowed); }
.s-inconclusive { background: var(--c-inconclusive); }
.seg:hover { filter: brightness(1.18); }
.g1 { flex: 1 1 0; } .g2 { flex: 2 1 0; } .g3 { flex: 3 1 0; } .g4 { flex: 4 1 0; } .g5 { flex: 5 1 0; }
.g7 { flex: 7 1 0; } .g9 { flex: 9 1 0; } .g10 { flex: 10 1 0; }

.table-view { margin-top: 1rem; }
.table-view summary { cursor: pointer; color: var(--lime); font-size: 0.9rem; font-weight: 600; }
.table-view[open] summary { margin-bottom: 0.7rem; }
.dtable { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.dtable th, .dtable td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--faint); font-weight: 650; white-space: nowrap; }
.dtable tbody th { font-weight: 600; color: var(--text); }
.dtable td { color: var(--muted); }
.dtable td:has(.badge) { white-space: nowrap; }
.dash .rt-scroll { overflow-x: auto; }
.dash .rt-scroll .dtable { min-width: 640px; }
.dash .rt-scroll .dtable-compact { min-width: 420px; }

.trend { width: 100%; height: auto; margin-top: 0.2rem; }
.trend .grid line { stroke: var(--line); stroke-width: 1; }
.trend .grid line.base { stroke: var(--line-strong); }
.trend .axis text { fill: var(--faint); font-size: 11px; font-family: var(--font); }
.trend .ln { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.trend .ln-blocked { stroke: var(--c-blocked); }
.trend .ln-allowed { stroke: var(--c-allowed); stroke-dasharray: 6 4; }
.trend .pt { stroke: #141d31; stroke-width: 2; }
.trend .pt-blocked { fill: var(--c-blocked); }
.trend .pt-allowed { fill: var(--c-allowed); }
.trend .dl { fill: var(--text); font-size: 12px; font-weight: 700; font-family: var(--font); }

.matrix-scroll, .path-scroll { overflow-x: auto; padding-bottom: 0.4rem; }
.tactics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 8px; }
.tactic { display: flex; flex-direction: column; gap: 6px; }
.tactic h4 { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); font-weight: 650; margin: 0 0 0.2rem; line-height: 1.2; }
.tile { display: block; font-size: 0.78rem; line-height: 1.3; padding: 0.55rem 0.6rem; border-radius: 8px; color: #fff; min-height: 52px; }
.t-blocked { background: var(--c-blocked); }
.t-detected { background: var(--c-detected); }
.t-allowed { background: var(--hatch), var(--c-allowed); }
.t-inconclusive { background: var(--c-inconclusive); color: #1b1404; }
.t-nottested { background: transparent; border: 1.5px dashed var(--c-nottested); color: var(--muted); }

.pathsvg { width: 100%; min-width: 760px; height: auto; display: block; }
.pathsvg .edge { fill: none; stroke: var(--line-strong); stroke-width: 2.5; }
.pathsvg .edge-dead { stroke-dasharray: 5 5; }
.pathsvg .arrowhead { fill: rgba(244, 241, 234, 0.45); }
.pathsvg .node rect { stroke-width: 2; }
.pathsvg .node-start rect { fill: var(--surface-2); stroke: var(--line-strong); }
.pathsvg .node-allowed rect { fill: rgba(217, 86, 75, 0.16); stroke: var(--c-allowed); }
.pathsvg .node-blocked rect { fill: rgba(46, 154, 104, 0.16); stroke: var(--c-blocked); }
.pathsvg .node-target rect { fill: rgba(217, 86, 75, 0.28); stroke: var(--c-allowed); stroke-width: 3; }
.pathsvg .nt { fill: var(--text); font-size: 14px; font-weight: 700; font-family: var(--font); }
.pathsvg .ns { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.pathsvg .fix line { stroke: var(--lime); stroke-width: 2; stroke-dasharray: 4 4; }
.pathsvg .fix rect { fill: var(--lime-soft); stroke: var(--lime); }
.pathsvg .fix text { fill: var(--lime); font-size: 12.5px; font-weight: 700; font-family: var(--font); }

.segtable { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 4px; font-size: 0.86rem; }
.segtable th { text-align: left; color: var(--muted); font-weight: 600; padding: 0.4rem 0.5rem; font-size: 0.82rem; }
.segtable td { text-align: center; padding: 0.7rem 0.4rem; border-radius: 8px; font-weight: 650; color: #fff; }
.c-blocked { background: var(--c-blocked); }
.c-allowed { background: var(--hatch), var(--c-allowed); }
.c-permitted { background: var(--c-permitted); color: var(--muted) !important; font-weight: 500 !important; }
.c-inconclusive { background: var(--c-inconclusive); color: #1b1404 !important; }

.results { list-style: none; margin: 0; padding: 0; }
.results li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; margin: 0; }
.results li:last-child { border-bottom: 0; }

.funnel { display: grid; gap: 0.75rem; }
.f-row { display: grid; grid-template-columns: 130px 1fr 2.5ch; gap: 0.8rem; align-items: center; font-size: 0.9rem; }
.f-name { color: var(--muted); }
.f-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.f-bar { height: 14px; background: rgba(244, 241, 234, 0.06); border-radius: 4px; overflow: hidden; }
.f-bar > span { display: block; height: 100%; background: #6f7ea3; border-radius: 4px; }
.f-bad > span { background: var(--hatch), var(--c-allowed); }
.f-good > span { background: var(--c-blocked); }
.w7 { width: 7%; } .w18 { width: 18%; } .w28 { width: 28%; } .w68 { width: 68%; } .w100 { width: 100%; }

.tip { position: fixed; z-index: 200; pointer-events: none; background: #f4f1ea; color: #0b1220; font-size: 0.82rem; font-weight: 600; padding: 0.4rem 0.6rem; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.35); max-width: 260px; opacity: 0; transition: opacity .1s ease; }
.tip.on { opacity: 1; }

@media (forced-colors: active) {
  .seg, .tile, .segtable td, .key, .f-bar > span { forced-color-adjust: none; }
}
.card-preview { border-color: rgba(200, 245, 58, 0.4); background: radial-gradient(120% 120% at 100% 0%, rgba(200,245,58,.10), transparent 60%), var(--surface); }
.status-chip { flex: none; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.75rem; font-weight: 650; color: var(--muted); border: 1px solid var(--line-strong); padding: 0.25rem 0.65rem; border-radius: 999px; white-space: nowrap; }
.status-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-blocked); box-shadow: 0 0 0 3px rgba(46,154,104,.2); }
.panel-head .status-chip { margin-left: auto; }
.console-link { margin: 1.4rem 0 0; }
.home-pair { margin-top: 1.1rem; }
.kpis-2, .kpis.kpis-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.hero-short { padding-bottom: 40px; }
.home-dash .dash-grid { margin-top: 0; }
.findings-flat li { padding-left: 0; padding-right: 0; }
