/* SekuScan — design system
   Dark-first and deliberate: this is an instrument, not a SaaS funnel.
   Accent is signal amber rather than the hacker-green / SaaS-purple that every
   rival in this category reaches for. Semantic colours (confirmed / critical)
   are separate from the accent so a verdict never reads as decoration. */

:root {
  --ground:      #0a0d12;
  --ground-2:    #0e131a;
  --raised:      #141b24;
  --raised-2:    #1b2530;
  --line:        #222d3a;
  --line-soft:   #1a232e;

  --ink:         #e8eef5;
  --ink-2:       #a4b3c4;
  --ink-3:       #8593aa;   /* AA on every surface; #6b7c90 failed at 3.63 */

  --accent:      #f5a524;   /* signal amber */
  --accent-2:    #ffc46b;
  --accent-dim:  rgba(245,165,36,.12);

  --confirmed:   #3fb37f;
  --critical:    #e5484d;   /* MARKS - validated by the palette checker */
  --critical-tx: #ef6065;   /* TEXT  - #e5484d is only 4.43 on raised */
  --high:        #f5a524;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: Archivo, ui-sans-serif, system-ui, -apple-system, sans-serif;

  --measure: 42rem;
  --radius: 10px;
}

/* A light theme exists because the viewer may force one; it is not the
   design's home, so it is tuned rather than inverted. */
:root[data-theme="light"] {
  --ground: #f4f6f8; --ground-2: #eef1f5; --raised: #ffffff; --raised-2: #f7f9fb;
  --line: #d9e0e8; --line-soft: #e6ebf1;
  --ink: #101720; --ink-2: #47566a; --ink-3: #5d6c80;
  --accent: #8a5600; --accent-2: #6d4400; --accent-dim: rgba(138,86,0,.1);
  --confirmed: #1d7a52; --critical: #c02a2f; --critical-tx: #b3282d;
  --high: #8a5600;   /* the dark-theme amber is 2.04 on a light surface */
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 52rem; }

h1, h2, h3, h4 { margin: 0; font-family: var(--sans); text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: .99; letter-spacing: -.038em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
h3 { font-size: 1.1rem; line-height: 1.35; letter-spacing: -.01em; font-weight: 600; }
p  { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px;
}

.eyebrow {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin: 0;
}
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: var(--measure); }
.small { font-size: .9rem; color: var(--ink-2); }

/* ---------- nav ---------- */
.mast {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(10,13,18,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
:root[data-theme="light"] .mast { background: rgba(244,246,248,.85); }
.mast-in { display: flex; align-items: center; gap: 28px; padding-block: 15px; }
.brand {
  font-weight: 700; font-size: 1.22rem; letter-spacing: -.028em;
  color: var(--ink); margin-right: auto; display: inline-flex; align-items: center; gap: 9px;
}
.brand:hover { color: var(--ink); }
.brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim);
}
.mast nav { display: flex; gap: 26px; flex-wrap: wrap; }
.mast nav a { font-size: .93rem; color: var(--ink-2); }
.mast nav a:hover { color: var(--ink); }
@media (max-width: 52rem) {
  .mast-in { gap: 14px; flex-wrap: wrap; }
  .mast nav {
    order: 3; width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 2px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .mast nav::-webkit-scrollbar { display: none; }
  .mast nav a { white-space: nowrap; font-size: .88rem; }
  .mast .btn { padding: 9px 16px; font-size: .88rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: .94rem; letter-spacing: -.01em;
  background: var(--accent); color: #17120a; border: 1px solid var(--accent);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { background: var(--accent-2); color: #17120a; transform: translateY(-1px);
             box-shadow: 0 8px 24px -12px var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 8vw, 108px); }
.section-line { border-top: 1px solid var(--line-soft); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.head-block { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 7vw, 92px) clamp(52px, 6vw, 84px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 30% 40% -20%;
  background: radial-gradient(60% 60% at 50% 50%, var(--accent-dim), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 60px; } }
.hero h1 span { color: var(--accent); }
.provenance {
  font-size: .92rem; color: var(--ink-2); padding-top: 20px;
  border-top: 1px solid var(--line-soft); max-width: var(--measure);
}

/* ---------- the proof panel (hero) ---------- */
.panel {
  background: linear-gradient(180deg, var(--raised), var(--ground-2));
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px -40px #000, 0 0 0 1px rgba(255,255,255,.02) inset;
}
.panel-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: var(--raised-2);
  font-family: var(--mono); font-size: .74rem; color: var(--ink-3);
}
.panel-bar .lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.panel-bar .lamp.live { background: var(--confirmed); animation: blink 2.4s ease-in-out infinite; }
.panel-body { padding: 16px; font-family: var(--mono); font-size: .78rem; line-height: 1.7; }
.ln { display: flex; gap: 10px; opacity: 0; animation: rise .5s ease forwards; }
.ln .t { color: var(--ink-3); flex: none; }
.ln .m { color: var(--ink-2); overflow-wrap: anywhere; }
.ln .m b { color: var(--ink); font-weight: 500; }
.ln:nth-child(1) { animation-delay: .15s; }
.ln:nth-child(2) { animation-delay: .55s; }
.ln:nth-child(3) { animation-delay: .95s; }
.ln:nth-child(4) { animation-delay: 1.35s; }
.ln:nth-child(5) { animation-delay: 1.75s; }
.ln:nth-child(6) { animation-delay: 2.15s; }
.verdict {
  margin-top: 14px; padding: 13px 15px; border-radius: var(--radius);
  border: 1px solid rgba(63,179,127,.35); background: rgba(63,179,127,.08);
  display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  opacity: 0; animation: rise .6s ease 2.6s forwards;
}
.verdict .tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--confirmed); border: 1px solid currentColor; padding: 2px 7px; border-radius: 4px;
}
.verdict .txt { font-family: var(--sans); font-size: .9rem; color: var(--ink); }
@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .ln, .verdict { animation: none !important; opacity: 1 !important; transform: none !important; }
  .panel-bar .lamp.live { animation: none; }
}

/* ---------- evidence strip (rivals put a logo wall here) ---------- */
.evidence { border-block: 1px solid var(--line-soft); background: var(--ground-2); }
.evidence-in { padding-block: 34px; }
.ev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
@media (min-width: 58rem) { .ev-grid { grid-template-columns: repeat(4, 1fr); } }
.ev { display: flex; flex-direction: column; gap: 5px; }
.ev .n {
  font-family: var(--mono); font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 500; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.ev .n em { font-style: normal; color: var(--accent); }
.ev .k { font-size: .84rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- pillars ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 58rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--raised); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .ic {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent-dim); color: var(--accent); flex: none;
  font-family: var(--mono); font-size: .9rem; font-weight: 500;
}
.card p { color: var(--ink-2); font-size: .95rem; }
.card .file { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); margin-top: auto; padding-top: 6px; }

/* ---------- split / how it runs ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 58rem) { .split { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.node {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px;
  background: var(--raised); display: flex; flex-direction: column; gap: 11px;
}
.node .where {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.node p { color: var(--ink-2); font-size: .95rem; }
.wire {
  margin-top: 20px; padding: 16px 20px; border-radius: var(--radius);
  border: 1px dashed var(--line); background: var(--ground-2);
  font-family: var(--mono); font-size: .82rem; color: var(--ink-2);
}
.wire b { color: var(--accent); font-weight: 500; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; }
table.bench { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
table.bench th, table.bench td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-soft); }
table.bench th { font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .14em;
                 text-transform: uppercase; color: var(--ink-3); }
table.bench td { color: var(--ink-2); }
table.bench td.n { font-family: var(--mono); text-align: right; padding-right: 0; white-space: nowrap; color: var(--ink); }
table.bench tr:last-child td { border-bottom: none; }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 58rem) { .tiers { grid-template-columns: repeat(2, 1fr); } }
.tier {
  border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px;
  background: var(--raised); display: flex; flex-direction: column; gap: 15px;
}
.tier.feature { border-color: var(--accent); background:
  linear-gradient(180deg, var(--accent-dim), transparent 55%), var(--raised); }
.tier .amt { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.tier ul { margin: 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: 8px;
           color: var(--ink-2); font-size: .94rem; }

/* ---------- closing cta ---------- */
.closer {
  border: 1px solid var(--line); border-radius: 18px; padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(140deg, var(--raised), var(--ground-2) 70%);
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
  position: relative; overflow: hidden;
}
.closer::after {
  content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 200%;
  background: radial-gradient(50% 50% at 50% 50%, var(--accent-dim), transparent 70%);
  pointer-events: none;
}
.closer > * { position: relative; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line-soft); padding-block: 34px 48px; background: var(--ground-2); }
.foot-in { display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
.foot-in span, footer a { font-size: .88rem; }
footer a { color: var(--ink-2); }
footer a:hover { color: var(--accent); }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-note { margin-top: 20px; max-width: 46rem; font-size: .85rem; color: var(--ink-3); line-height: 1.6; }

code { font-family: var(--mono); font-size: .92em; color: var(--ink); }

/* ---------- iteration 2 ---------- */
:target, [id] { scroll-margin-top: 84px; }

/* report view — the slot rivals fill with a product screenshot */
.report {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--raised); box-shadow: 0 30px 80px -50px #000;
}
.report-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  background: var(--raised-2); font-family: var(--mono); font-size: .74rem; color: var(--ink-3);
}
.report-bar .grow { margin-left: auto; }
.finding {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px;
  align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
}
.finding:last-child { border-bottom: none; }
.finding:hover { background: var(--raised-2); }
.sev {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; border: 1px solid currentColor; white-space: nowrap;
}
.sev.crit { color: var(--critical-tx); }
.sev.high { color: var(--high); }
.sev.info { color: var(--ink-3); }
.finding .what { font-size: .95rem; color: var(--ink); }
.finding .what code { color: var(--ink-2); font-size: .82rem; }
.finding .pc {
  font-family: var(--mono); font-size: .72rem; color: var(--confirmed);
  border: 1px solid rgba(63,179,127,.3); border-radius: 4px; padding: 3px 8px; white-space: nowrap;
}
.finding .pc.quiet { color: var(--ink-3); border-color: var(--line); }
@media (max-width: 40rem) {
  .finding { grid-template-columns: auto 1fr; }
  .finding .pc { grid-column: 2; justify-self: start; }
}

/* integrations */
.integrations { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--raised);
  font-size: .88rem; color: var(--ink-2); font-family: var(--mono);
}
.chip b { color: var(--ink); font-weight: 500; }

/* comparison */
table.compare { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.compare th, table.compare td {
  text-align: left; padding: 15px 18px 15px 0; border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.compare thead th {
  font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
table.compare thead th.mine { color: var(--accent); }
table.compare td.common { color: var(--ink-3); }
table.compare td.mine { color: var(--ink); }
table.compare tr.against td.mine { color: var(--ink-2); }
table.compare tr.against td.mine b { color: var(--critical-tx); font-weight: 500; }
table.compare td:first-child { color: var(--ink-2); font-weight: 500; width: 26%; }
table.compare tr:last-child td { border-bottom: none; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 58rem) { .faq { grid-template-columns: repeat(2, 1fr); gap: 0 44px; } }
.qa { padding: 22px 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 9px; }
.qa h3 { font-size: 1rem; }
.qa p { font-size: .93rem; color: var(--ink-2); }

/* ---------- iteration 3: texture, rhythm, diagram ---------- */

/* a faint engineering grid, so large dark areas are not dead flat */
body {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  background-position: -1px -1px;
  background-attachment: fixed;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(52% 38% at 78% 4%, rgba(245,165,36,.16), transparent 64%),
    radial-gradient(44% 34% at 12% 2%, rgba(75,127,196,.13), transparent 62%),
    radial-gradient(70% 44% at 50% 0%, rgba(120,90,200,.07), transparent 70%),
    radial-gradient(95% 58% at 50% 0%, transparent 30%, var(--ground) 84%);
}
body > * { position: relative; z-index: 1; }

/* section rhythm: alternating bands instead of one uniform run */
.band { background: var(--ground-2); border-block: 1px solid var(--line-soft); }
.band-deep {
  background:
    linear-gradient(180deg, var(--ground-2), var(--ground) 60%);
  border-block: 1px solid var(--line-soft);
}

/* hero adoption badges — the honest version of a logo wall */
.adoption { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--raised);
  font-size: .82rem; color: var(--ink-2);
}
.badge .star { color: var(--accent); }
.badge b { color: var(--ink); font-weight: 600; font-family: var(--mono); font-size: .8rem; }

/* scan sweep across the hero panel */
.panel { position: relative; }
.panel::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26%;
  background: linear-gradient(180deg, transparent, var(--accent-dim), transparent);
  pointer-events: none; animation: sweep 5.5s ease-in-out 3.2s infinite;
  opacity: 0;
}
@keyframes sweep {
  0%   { transform: translateY(-40%); opacity: 0; }
  12%  { opacity: .9; }
  70%  { transform: translateY(380%); opacity: 0; }
  100% { transform: translateY(380%); opacity: 0; }
}

/* evidence strip reveal */
.ev { animation: rise-t .55s ease both; }
@keyframes rise-t { from { transform: translateY(8px); } to { transform: none; } }
.ev:nth-child(1) { animation-delay: .05s; }
.ev:nth-child(2) { animation-delay: .17s; }
.ev:nth-child(3) { animation-delay: .29s; }
.ev:nth-child(4) { animation-delay: .41s; }

@media (prefers-reduced-motion: reduce) {
  .panel::after { animation: none; opacity: 0; }
  .ev { animation: none; transform: none; }
}

/* architecture diagram */
.diagram { margin-top: 10px; overflow-x: auto; }
.diagram svg { display: block; width: 100%; min-width: 560px; height: auto; }
.dg-box { fill: var(--raised); stroke: var(--line); }
.dg-inner { fill: var(--raised-2); stroke: var(--line); }
.dg-edge { stroke: var(--accent); }
.dg-edge-soft { stroke: var(--ink-3); }
.dg-title { fill: var(--ink); font: 600 14px Archivo, sans-serif; }
.dg-label { fill: var(--ink-2); font: 400 12px Archivo, sans-serif; }
.dg-mono { fill: var(--accent); font: 400 11px "JetBrains Mono", monospace; }
.dg-mono-soft { fill: var(--ink-3); font: 400 11px "JetBrains Mono", monospace; }
.dg-boundary { stroke: var(--critical); opacity: .55; }
.dg-boundary-label { fill: var(--critical); font: 400 10.5px "JetBrains Mono", monospace; opacity: .85; }

/* ---------- charts (results) ----------
   Status colours validated with the dataviz palette validator against both
   dark surfaces: ALL CHECKS PASS. Tritan separation is 5.0, below the floor,
   so every segment carries a direct label as secondary encoding. */
:root {
  --ok-mark:   #2e9e70;
  --oos-mark:  #4b7fc4;
  --bad-mark:  #e5484d;
  --track:     #1b2530;
}
:root[data-theme="light"] { --track: #e3e8ee; }

.chart { display: flex; flex-direction: column; gap: 18px; }
.row-bar { display: grid; grid-template-columns: 13rem 1fr auto; gap: 6px 16px; align-items: center; }
@media (max-width: 44rem) { .row-bar { grid-template-columns: 1fr auto; } .row-bar .track { grid-column: 1 / -1; } }
.row-bar .lbl { font-size: .93rem; color: var(--ink-2); }
.row-bar .lbl small { display: block; color: var(--ink-3); font-size: .78rem; }
.row-bar .val { font-family: var(--mono); font-size: .88rem; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.track { position: relative; height: 26px; background: var(--track); border-radius: 5px; overflow: hidden; }
.fill { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: var(--accent); }
.fill.complete { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.fill.short    { background: var(--oos-mark); }

/* stacked outcome bar */
.stack-bar { display: flex; height: 30px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--track); }
.seg { display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; color: #0a0d12; font-weight: 500; }
.seg.ok  { background: var(--ok-mark); }
.seg.oos { background: var(--oos-mark); }
.seg.bad { background: var(--bad-mark); color: #fff; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-2); }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.legend .ok i { background: var(--ok-mark); } .legend .oos i { background: var(--oos-mark); }
.legend .bad i { background: var(--bad-mark); }

.callout {
  border-left: 3px solid var(--accent); padding: 14px 0 14px 18px;
  color: var(--ink-2); font-size: .95rem; max-width: 46rem;
}
.callout.warn { border-left-color: var(--bad-mark); }
details.tableview { margin-top: 22px; }
details.tableview summary { cursor: pointer; color: var(--ink-2); font-size: .88rem; }
details.tableview summary:hover { color: var(--accent); }

/* ---------- iteration 6: scroll-driven reveal ----------
   Scroll-linked animation with no JavaScript, which matters because our own
   CSP has no script-src. Guarded by @supports, so browsers without it simply
   show everything (the correct fallback: content visible, not hidden). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
    /* transform ONLY - never opacity. An element parked off-screen at the
       start of its range must still be readable if the range never runs;
       content that can end up invisible is a bug, not an effect. */
    @keyframes reveal-in {
      from { transform: translateY(20px); }
      to   { transform: none; }
    }
    /* a bar chart that draws itself as it comes into view */
    .track .fill {
      animation: draw-bar linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 28%;
      transform-origin: left center;
    }
    @keyframes draw-bar { from { transform: scaleX(.02); } to { transform: none; } }
  }
}

/* pillar icons */
.card .ic { width: 38px; height: 38px; }
.card .ic svg { width: 20px; height: 20px; display: block; }
.ic-stroke { stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* three steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: step; }
@media (min-width: 58rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 0 30px; } }
.step { padding: 26px 0; border-top: 2px solid var(--line); display: flex; flex-direction: column; gap: 10px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--accent);
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .93rem; color: var(--ink-2); }
.step code { font-size: .8rem; color: var(--ink-3); }

/* ---------- iteration 7 ---------- */
/* integration chips carry real marks, not just words */
.chip svg { width: 15px; height: 15px; flex: none; }
.chip .mk { fill: var(--ink-2); }
.chip:hover .mk { fill: var(--accent); }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip { transition: border-color .14s ease, color .14s ease; }

/* evidence strip gets a rule and a hairline between items */
.evidence { position: relative; }
.evidence::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .45;
}
@media (min-width: 58rem) {
  .ev { padding-left: 22px; border-left: 1px solid var(--line-soft); }
  .ev:first-child { padding-left: 0; border-left: none; }
}

/* research cards */
.notes { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 52rem) { .notes { grid-template-columns: repeat(2, 1fr); gap: 0 40px; } }
.note-row {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}
.note-row:hover .nt { color: var(--accent); }
.note-row .dt { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); letter-spacing: .06em; }
.note-row .nt { font-size: .99rem; color: var(--ink); line-height: 1.4; transition: color .14s ease; }

/* FAQ as native disclosures - no JavaScript needed */
details.qa { padding: 0; border-top: 1px solid var(--line-soft); }
details.qa > summary {
  list-style: none; cursor: pointer; padding: 19px 28px 19px 0; position: relative;
  font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.35;
}
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary::after {
  content: "+"; position: absolute; right: 2px; top: 17px;
  font-family: var(--mono); font-size: 1.15rem; color: var(--accent); line-height: 1;
}
details.qa[open] > summary::after { content: "\2212"; }
details.qa > summary:hover { color: var(--accent); }
details.qa p { padding-bottom: 20px; font-size: .93rem; color: var(--ink-2); max-width: 44rem; }

/* ---------- iteration 8: signal vs noise ---------- */
.sn-wrap { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
@media (min-width: 60rem) { .sn-wrap { grid-template-columns: 1.25fr .75fr; gap: 48px; } }
.dotgrid {
  display: grid; grid-template-columns: repeat(21, 1fr); gap: 5px;
  padding: 22px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--raised);
}
@media (max-width: 44rem) { .dotgrid { grid-template-columns: repeat(14, 1fr); gap: 4px; padding: 16px; } }
.dot-q { aspect-ratio: 1; border-radius: 2px; background: var(--line); }
.dot-f { aspect-ratio: 1; border-radius: 2px; background: var(--critical);
         box-shadow: 0 0 0 1px var(--raised), 0 0 10px -1px var(--critical); }
.dot-h { aspect-ratio: 1; border-radius: 2px; background: var(--accent);
         box-shadow: 0 0 0 1px var(--raised), 0 0 10px -1px var(--accent); }
.sn-key { display: flex; flex-direction: column; gap: 16px; }
.sn-key .k { display: flex; gap: 12px; align-items: flex-start; }
.sn-key .sw { width: 13px; height: 13px; border-radius: 3px; flex: none; margin-top: 5px; }
.sn-key .sw.q { background: var(--line); }
.sn-key .sw.f { background: var(--critical); }
.sn-key .sw.h { background: var(--accent); }
.sn-key .t { font-size: .95rem; color: var(--ink); }
.sn-key .t small { display: block; color: var(--ink-2); font-size: .86rem; margin-top: 2px; line-height: 1.5; }

/* pricing: an included-in-everything band so the section is not two thin cards */
.included { display: grid; grid-template-columns: 1fr; gap: 14px 30px; margin-top: 26px;
            padding-top: 26px; border-top: 1px solid var(--line-soft); }
@media (min-width: 50rem) { .included { grid-template-columns: repeat(3, 1fr); } }
.inc { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.inc::before { content: "\2713"; color: var(--accent); font-weight: 700; flex: none; }

/* light theme: the accent is DARK here, so button ink inverts (6.16 on #8a5600) */
:root[data-theme="light"] .btn { color: #fff; }
:root[data-theme="light"] .btn:hover { color: #fff; }
:root[data-theme="light"] .btn.ghost { color: var(--ink); }
:root[data-theme="light"] .btn.ghost:hover { color: var(--accent); }

/* trust bar ABOVE the headline - the position rivals use, and it earns it */
.trustbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 4px; }
.tb {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--raised) 70%, transparent);
  font-size: .78rem; color: var(--ink-2); backdrop-filter: blur(6px);
}
.tb b { color: var(--ink); font-weight: 600; font-family: var(--mono); font-size: .76rem; }
.tb .star { color: var(--accent); font-size: .8rem; }
.hero .provenance { padding-top: 18px; }

/* ---------- coverage grid (adapted from the rivals' capability wall) ---------- */
.cover { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft);
         border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
@media (min-width: 46rem) { .cover { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 68rem) { .cover { grid-template-columns: repeat(4, 1fr); } }
.cv { background: var(--raised); padding: 16px 18px; display: flex; flex-direction: column; gap: 3px;
      transition: background .14s ease; }
.cv:hover { background: var(--raised-2); }
.cv .h { font-size: .92rem; color: var(--ink); font-weight: 500; }
.cv .s { font-family: var(--mono); font-size: .71rem; color: var(--ink-3); }
.cover-note { margin-top: 18px; font-size: .9rem; color: var(--ink-2); }
.cover-note b { color: var(--ink); font-weight: 600; }

/* ---------- closing statement (adapted: Detectify signs off in giant type) ---------- */
.signoff {
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(50px, 7vw, 92px) clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.signoff .line {
  font-size: clamp(2.1rem, 8.4vw, 7rem); line-height: .93; letter-spacing: -.045em;
  font-weight: 700; color: var(--ink); text-wrap: balance; margin: 0;
}
.signoff .line em { font-style: normal; color: var(--accent); }
.signoff .sub {
  margin-top: 20px; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}

/* research rows become cards with presence */
.notes { gap: 16px; }
@media (min-width: 52rem) { .notes { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.note-row {
  border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px; background: var(--raised); gap: 9px;
  transition: border-color .15s ease, transform .15s ease;
}
.note-row:hover { border-color: var(--accent); transform: translateY(-2px); }
.note-row .nt { font-weight: 500; }
.note-row .rd { margin-top: 4px; font-family: var(--mono); font-size: .72rem; color: var(--accent); }

/* corpus source links — "published in full" has to be checkable */
.src { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.src a { color: var(--ink-3); border-bottom: 1px solid var(--line); }
.src a:hover { color: var(--accent); border-color: var(--accent); }
.row-bar .lbl small a { color: var(--ink-3); border-bottom: 1px solid var(--line); }
.row-bar .lbl small a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- licensing ladder ---------- */
.ladder { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-soft);
          border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
@media (min-width: 56rem) { .ladder { grid-template-columns: repeat(4, 1fr); } }
.rung { background: var(--raised); padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.rung.free { background: linear-gradient(180deg, var(--accent-dim), transparent 70%), var(--raised); }
.rung .scope { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
               text-transform: uppercase; color: var(--ink-3); }
.rung .price { font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.rung .price small { font-size: .82rem; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.rung .each { font-family: var(--mono); font-size: .74rem; color: var(--accent); }
.rung .note2 { font-size: .86rem; color: var(--ink-2); margin-top: auto; padding-top: 6px; }

/* ---------- section hierarchy ----------
   Thirteen sections all set at one heading size reads as a list, not a page.
   Rivals vary the beat: a couple of major moments, the rest supporting. */
.major .head-block h2 { font-size: clamp(2.1rem, 4vw, 3.15rem); letter-spacing: -.032em; }
.major .head-block { margin-bottom: 52px; }
.minor .head-block h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.minor .head-block { margin-bottom: 32px; }
.minor { padding-block: clamp(52px, 6vw, 80px); }

/* a centred beat, so ten thousand pixels of left-alignment breaks somewhere */
.centred .head-block,
.centred .closer { align-items: center; text-align: center; }
.centred .head-block { margin-inline: auto; }
.centred .lede { margin-inline: auto; }
.centred .cta-row { justify-content: center; }
.centred .closer::after { right: -25%; }

/* the mid-page moment: signal vs noise gets the full width and a headline number */
.moment {
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(245,165,36,.09), transparent 62%),
    var(--ground-2);
  border-block: 1px solid var(--line-soft);
}
.moment .big {
  font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .96; letter-spacing: -.04em;
  font-weight: 700; color: var(--ink); text-wrap: balance;
}
.moment .big em { font-style: normal; color: var(--accent); }
.moment .sub { font-size: 1.05rem; color: var(--ink-2); max-width: 44rem; margin-top: 16px; }

/* ---------- real product imagery ----------
   The rivals' "product screenshot" slot. Ours is a real report from a real
   scan, not a mock, so it gets a frame that says screenshot rather than UI. */
.shot {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--raised-2); box-shadow: 0 40px 90px -50px #000;
}
.shot-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); background: var(--raised);
}
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.shot-bar .u {
  margin-left: 10px; font-family: var(--mono); font-size: .72rem; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shot img { display: block; width: 100%; height: auto; }
.shot-cap { margin-top: 12px; font-size: .84rem; color: var(--ink-3); }

/* ---------- depth pass ----------
   Side by side with Intruder, our ground read as "dark" where theirs read as
   "designed": a flat near-black with a glow too faint to register. More colour,
   more layers, still an instrument rather than a gradient poster. */
body::before {
  background:
    radial-gradient(42% 32% at 76% -2%, rgba(245,165,36,.30), transparent 60%),
    radial-gradient(38% 30% at 14% 0%,  rgba(72,118,200,.26), transparent 62%),
    radial-gradient(60% 40% at 48% 6%,  rgba(126,86,196,.16), transparent 68%),
    radial-gradient(80% 50% at 50% 0%,  transparent 26%, var(--ground) 86%) !important;
}
/* a second, quieter field further down so the page does not go flat after the fold */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(34% 26% at 88% 62%, rgba(72,118,200,.10), transparent 64%),
    radial-gradient(30% 24% at 6% 84%,  rgba(245,165,36,.08), transparent 64%);
}

/* buttons with presence: pill, larger, and a glow on the primary */
.btn {
  padding: 13px 26px; border-radius: 999px; font-size: .96rem;
  box-shadow: 0 0 0 0 rgba(245,165,36,0);
}
.btn:hover { box-shadow: 0 10px 34px -10px var(--accent); transform: translateY(-2px); }
.mast .btn { padding: 10px 20px; font-size: .9rem; }
.btn.ghost { border-color: var(--line); background: rgba(255,255,255,.02); }
.btn.ghost:hover { background: rgba(255,255,255,.04); border-color: var(--accent); }

/* the headline earns a little more room */
h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); }

/* the headline got bigger than its column: give it room, and a sane break */
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: 1.18fr .82fr; gap: 52px; }
}
h1 { font-size: clamp(2.7rem, 5.9vw, 4.9rem); }
.hero h1 { max-width: 15ch; }

/* widening the headline column squeezed the proof panel into bad wraps;
   give the panel a slightly tighter type size and split the difference */
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}
.panel-body { font-size: .735rem; line-height: 1.68; }
.panel-bar { font-size: .705rem; }
