/* ==========================================================================
   Secure Channel / Design system v1
   Hard edges. Hairlines. Mono labels. No radius anywhere.
   ========================================================================== */

:root {
  --bg: #F1F2EE;
  --paper: #FAFBF8;
  --ink: #0B0E14;
  --ink-2: #343A46;
  --mute: #7C828D;
  --mute-2: #A9AEB6;
  --line: #D5D8D3;
  --line-2: #BCC0BA;

  --violet: #2F4BFF;
  --violet-soft: #A9B6FF;
  --violet-wash: #E7EBFF;
  --teal: #7EE0C3;
  --green: #1FA37A;
  --stone: #B9BEC6;
  --signal: #F23D2E;

  --font-sans: "Geist", "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --nav-h: 64px;
  --util-h: 34px;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--violet-soft); color: var(--ink); }

/* ---------- Type ---------- */
.mono, .label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 400;
}
.label { color: var(--mute); }
.label--ink { color: var(--ink); }
.h-display {
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 500;
  margin: 0;
}
.h1 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1; letter-spacing: -.04em; font-weight: 500; margin: 0; }
.h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; margin: 0; }
.h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; margin: 0; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; margin: 0; }
.body-s { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.mute { color: var(--mute); }
.dim { color: var(--mute-2); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.frame { /* the vertical hairlines that run the full length of the page */
  max-width: var(--max); margin: 0 auto;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  position: relative;
}
.section { border-top: 1px solid var(--line); position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  padding: clamp(56px, 7vw, 112px) var(--gutter) clamp(36px, 4vw, 56px);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 220px 1fr 1fr; align-items: end; }
}
.section-index { display: flex; gap: 10px; align-items: center; }
.section-index .sq { width: 8px; height: 8px; background: var(--violet); }

/* corner ticks on framed boxes */
.ticks { position: relative; }
.ticks::before, .ticks::after {
  content: ""; position: absolute; width: 9px; height: 9px; pointer-events: none;
}
.ticks::before { top: -1px; left: -1px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.ticks::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 18px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover { background: var(--violet); border-color: var(--violet); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 11px; }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--violet-soft); border-color: var(--violet-soft); }
.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(250,251,248,.4); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }

.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--violet); }

/* ==========================================================================
   Header / utility bar / mega menu
   ========================================================================== */
.util {
  height: var(--util-h); background: var(--ink); color: #C6CAD1;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
.util .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.util a:hover { color: var(--paper); }
.util .live { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.util .live span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blip { width: 6px; height: 6px; background: var(--signal); flex: none; animation: blip 1.6s steps(2, jump-none) infinite; }
@keyframes blip { 50% { opacity: .2; } }
.util-right { display: none; gap: 24px; }
@media (min-width: 900px) { .util-right { display: flex; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241,242,238,.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { height: var(--nav-h); display: flex; align-items: stretch; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; padding-right: 28px; border-right: 1px solid var(--line); }
.brand-mark { width: 26px; height: 26px; }
.brand-word { font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.nav-links { display: none; align-items: stretch; margin: 0; padding: 0; list-style: none; flex: 1; }
.nav-links > li { display: flex; }
.nav-trigger {
  display: flex; align-items: center; gap: 8px; padding: 0 18px;
  font-size: 14px; letter-spacing: -.005em; color: var(--ink-2);
  border-right: 1px solid transparent; position: relative;
}
.nav-trigger .chev { width: 8px; height: 8px; transition: transform .25s var(--ease); }
.nav-trigger::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px;
  background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-item.is-open .nav-trigger, .nav-trigger:hover { color: var(--ink); }
.nav-item.is-open .nav-trigger::after { transform: scaleX(1); }
.nav-item.is-open .chev { transform: rotate(180deg); }
.nav-cta { display: none; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid var(--line); }
.nav-cta .signin { font-size: 14px; color: var(--ink-2); padding: 0 8px; }
.nav-cta .signin:hover { color: var(--ink); }
.burger { display: flex; align-items: center; justify-content: center; width: var(--nav-h); border-left: 1px solid var(--line); margin-right: calc(var(--gutter) * -1); }
.burger span { display: block; width: 18px; height: 1px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--ink); transition: transform .25s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .burger { display: none; }
}

/* Mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(11,14,20,.25);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 300px repeat(3, 1fr) 320px;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.mega-inner > * { border-right: 1px solid var(--line); padding: 28px 24px 32px; }
.mega-inner > *:last-child { border-right: 0; }
.mega-intro h4 { font-size: 24px; letter-spacing: -.03em; font-weight: 500; margin: 14px 0 10px; line-height: 1.1; }
.mega-intro p { font-size: 14px; color: var(--ink-2); margin: 0 0 22px; }
.mega-col h5 { margin: 0 0 14px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li + li { margin-top: 2px; }
.mega-col a { display: block; padding: 9px 10px; margin: 0 -10px; transition: background .15s; position: relative; }
.mega-col a:hover { background: var(--bg); }
.mega-col a:hover .t { color: var(--violet); }
.mega-col .t { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; }
.mega-col .d { display: block; font-size: 13px; color: var(--mute); margin-top: 2px; line-height: 1.4; }
.tag-new { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; padding: 2px 5px; background: var(--violet-wash); color: var(--violet); }
.mega-feature { background: var(--bg); display: flex; flex-direction: column; gap: 14px; }
.mega-feature .viz { aspect-ratio: 16/10; border: 1px solid var(--line); background: var(--paper); position: relative; overflow: hidden; }
.mega-feature h6 { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.mega-foot {
  grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 14px 24px !important;
  display: flex; gap: 28px; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.mega-foot .quick { display: flex; gap: 24px; flex-wrap: wrap; }
.mega-foot a:hover { color: var(--violet); }
.mega-scrim { position: fixed; inset: 0; top: calc(var(--nav-h) + var(--util-h)); background: rgba(11,14,20,.08); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 40; }
.mega-active .mega-scrim { opacity: 1; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: calc(var(--nav-h) + 0px) 0 0 0; background: var(--paper);
  z-index: 49; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease);
  border-top: 1px solid var(--line); visibility: hidden;
}
.menu-open .mobile-menu { transform: none; visibility: visible; }
html { overflow-x: clip; }
@media (max-width: 1099px) { .mega { display: none; } }
.mobile-menu details { border-bottom: 1px solid var(--line); }
.mobile-menu summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); font-size: 20px; letter-spacing: -.02em; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary .pm { font-family: var(--font-mono); color: var(--mute); }
.mobile-menu details[open] summary .pm { transform: rotate(45deg); }
.mobile-menu .group { padding: 0 var(--gutter) 18px; }
.mobile-menu .group h5 { margin: 14px 0 6px; }
.mobile-menu .group a { display: block; padding: 8px 0; font-size: 15px; color: var(--ink-2); }
.mobile-menu .m-cta { padding: 24px var(--gutter); display: grid; gap: 10px; }
.mobile-menu .m-cta .btn { justify-content: space-between; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
@media (min-width: 1100px) { .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: calc(100vh - var(--nav-h) - var(--util-h) - 52px); } }
.hero-copy {
  padding: clamp(48px, 7vw, 104px) var(--gutter) 48px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  border-right: 1px solid var(--line);
}
.hero-eyebrow { display: flex; gap: 0; align-items: stretch; border: 1px solid var(--line); width: max-content; max-width: 100%; }
.hero-eyebrow > * { padding: 7px 10px; }
.hero-eyebrow .k { background: var(--ink); color: var(--paper); }
.hero h1 { margin: 28px 0 24px; }
.hero h1 .stroke { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.hero h1 .v { color: var(--violet); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-meta { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hero-meta > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 14px 16px; }
.hero-meta strong { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.01em; margin-top: 6px; }
@media (min-width: 640px) { .hero-meta { grid-template-columns: repeat(4, 1fr); } }

.hero-viz { position: relative; min-height: 520px; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px,
  var(--bg);
  background-image: radial-gradient(circle at 1px 1px, rgba(11,14,20,.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  overflow: hidden;
}
.hero-viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-viz .hud { position: absolute; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); pointer-events: none; }
.hud-tl { top: 16px; left: 16px; display: grid; gap: 4px; }
.hud-tr { top: 16px; right: 16px; text-align: right; display: grid; gap: 4px; }
.hud-bl { bottom: 16px; left: 16px; display: flex; gap: 16px; flex-wrap: wrap; }
.hud-bl i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: -1px; }
.hud .ink { color: var(--ink); }
.hud-box { position: absolute; inset: 12px; border: 1px solid var(--line); pointer-events: none; }
.hud-box::before, .hud-box::after { content: ""; position: absolute; width: 14px; height: 14px; }
.hud-box::before { top: -1px; left: -1px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.hud-box::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }

/* Ticker */
.ticker { height: 52px; border-bottom: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; background: var(--paper); }
.ticker-label { flex: none; height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 var(--gutter); border-right: 1px solid var(--line); background: var(--paper); position: relative; z-index: 1; }
.ticker-track { display: flex; gap: 48px; white-space: nowrap; animation: tick 60s linear infinite; padding-left: 48px; }
.ticker-track span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ticker-track b { font-weight: 400; color: var(--violet); margin-right: 8px; }
.ticker-track .sev-c { color: var(--signal); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ==========================================================================
   Pedigree strip
   ========================================================================== */
.pedigree { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pedigree { grid-template-columns: 220px 1fr; } }
.pedigree-label { padding: 22px var(--gutter); border-bottom: 1px solid var(--line); display: flex; align-items: center; }
@media (min-width: 900px) { .pedigree-label { border-bottom: 0; border-right: 1px solid var(--line); } }
.pedigree-logos { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .pedigree-logos { grid-template-columns: repeat(4, 1fr); } }
.pedigree-logos > div {
  padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; transition: background .2s;
}
@media (min-width: 900px) { .pedigree-logos > div { border-bottom: 0; } .pedigree-logos > div:last-child { border-right: 0; } }
.pedigree-logos > div:hover { background: var(--paper); }
.pedigree-logos .org { font-size: 21px; letter-spacing: -.03em; font-weight: 500; }

/* ==========================================================================
   Problem cards
   ========================================================================== */
.cards-3 { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
@media (min-width: 900px) { .card { border-bottom: 0; } .card:last-child { border-right: 0; } }
.card-viz { aspect-ratio: 4/3; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; background: var(--paper); }
.card-viz svg { width: 100%; height: 100%; }
.card-body { padding: 24px var(--gutter) 36px; display: grid; gap: 12px; }
.card-body .num { display: flex; justify-content: space-between; }
.card-body p { margin: 0; }

/* viz 01: exploit window bars */
.bar-row rect.fill { transform-box: fill-box; transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.in-view .bar-row rect.fill { transform: scaleX(1); }
.in-view .bar-row:nth-child(2) rect.fill { transition-delay: .15s; }
.in-view .bar-row:nth-child(3) rect.fill { transition-delay: .3s; }
.in-view .bar-row:nth-child(4) rect.fill { transition-delay: .45s; }
/* viz 02: surface sprawl */
.sprawl .n { opacity: 0; transition: opacity .5s; }
.sprawl .e { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.2s var(--ease); }
.in-view .sprawl .n, .in-view .sprawl .e { opacity: 1; stroke-dashoffset: 0; }
.sprawl .pulse { animation: pulse 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
/* viz 03: point in time vs continuous */
.scan-line { animation: scanx 4s linear infinite; }
@keyframes scanx { from { transform: translateX(0); } to { transform: translateX(300px); } }

/* ==========================================================================
   Method (Map / Attack / Prove / Close)
   ========================================================================== */
.method { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .method { grid-template-columns: 5fr 7fr; } }
.method-steps { border-right: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 0; width: 100%; text-align: left;
  border-bottom: 1px solid var(--line); padding: 22px var(--gutter) 22px 0; position: relative; transition: background .2s;
}
.step:last-child { border-bottom: 0; }
.step .i { padding-left: var(--gutter); color: var(--mute); }
.step h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 500; margin: 0; color: var(--mute); transition: color .2s; }
.step p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .3s; }
.step .prog { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--violet); width: 0; }
.step.is-active { background: var(--paper); }
.step.is-active h3 { color: var(--ink); }
.step.is-active .i { color: var(--violet); }
.step.is-active p { max-height: 120px; opacity: 1; }
.step:hover h3 { color: var(--ink); }
.method-stage { position: relative; min-height: 460px; background: var(--paper);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px; }
.method-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-hud { position: absolute; left: 16px; right: 16px; top: 14px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.stage-log { position: absolute; left: 16px; bottom: 16px; width: min(360px, calc(100% - 32px)); background: var(--ink); color: #C6CAD1; font-family: var(--font-mono); font-size: 11px; line-height: 1.6; padding: 12px 14px; min-height: 104px; }
.stage-log .ok { color: #7EE0C3; } .stage-log .warn { color: var(--signal); } .stage-log .v { color: var(--violet-soft); }

/* graph states */
.g-node rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1; transition: fill .4s, stroke .4s; }
.g-node text { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; fill: var(--ink); text-transform: uppercase; }
.g-node { opacity: 0; transition: opacity .5s var(--ease); }
.g-edge { stroke: var(--line-2); stroke-width: 1; fill: none; opacity: 0; transition: opacity .5s, stroke .4s; }
.g-path { stroke: var(--signal); stroke-width: 2; fill: none; stroke-dasharray: 6 5; opacity: 0; transition: opacity .4s, stroke .4s; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.g-badge { opacity: 0; transition: opacity .4s; }
.g-badge rect { fill: var(--signal); }
.g-badge text { font-family: var(--font-mono); font-size: 9px; fill: #fff; letter-spacing: .06em; }
.g-fix { opacity: 0; transition: opacity .4s; }
[data-step="0"] .g-node, [data-step="1"] .g-node, [data-step="2"] .g-node, [data-step="3"] .g-node { opacity: 1; }
[data-step] .g-edge { opacity: 1; }
[data-step="1"] .g-path, [data-step="2"] .g-path { opacity: 1; }
[data-step="1"] .g-node.hot rect, [data-step="2"] .g-node.hot rect { fill: #FFE3E0; stroke: var(--signal); }
[data-step="2"] .g-badge { opacity: 1; }
[data-step="3"] .g-path { opacity: 1; stroke: var(--green); animation: none; stroke-dasharray: 3 6; }
[data-step="3"] .g-node.hot rect { fill: #DDF3EA; stroke: var(--green); }
[data-step="3"] .g-fix { opacity: 1; }
[data-step="0"] .g-node { animation: nodeIn .6s var(--ease) both; }
@keyframes nodeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px var(--gutter) 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .stat { border-bottom: 0; } .stat:last-child { border-right: 0; } }
.stat .n { font-size: clamp(44px, 5vw, 76px); letter-spacing: -.05em; font-weight: 500; line-height: 1; margin: 18px 0 10px; font-variant-numeric: tabular-nums; }
.stat .n sup { font-size: .4em; vertical-align: top; position: relative; top: .3em; margin-left: 4px; color: var(--violet); letter-spacing: 0; }

/* ==========================================================================
   Services grid
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc {
  min-height: 300px; padding: 22px var(--gutter) 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-icon { width: 44px; height: 44px; }
.svc-icon * { transition: stroke .25s; }
.svc h3 { font-size: 22px; letter-spacing: -.025em; font-weight: 500; margin: 0 0 10px; }
.svc p { margin: 0; font-size: 14px; color: var(--ink-2); transition: color .25s; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.svc .tags span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 3px 6px; color: var(--mute); transition: border-color .25s, color .25s; }
.svc .go { width: 32px; height: 32px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .25s var(--ease); }
.svc:hover { background: var(--ink); color: var(--paper); }
.svc:hover p { color: #B0B5BE; }
.svc:hover .tags span { border-color: #3A404B; color: #9AA0AA; }
.svc:hover .go { background: var(--violet); border-color: var(--violet); transform: rotate(-45deg); }
.svc:hover .svc-icon * { stroke: var(--paper); }
.svc:hover .label { color: #858B96; }

/* ==========================================================================
   Comparison panels
   ========================================================================== */
.compare { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .compare { grid-template-columns: 1fr 1fr; } }
.panel { padding: 28px var(--gutter) 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 1000px) { .panel { border-bottom: 0; } .panel:last-child { border-right: 0; } }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.chip { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; display: inline-flex; gap: 6px; align-items: center; }
.chip--stale { background: #E6E8E3; color: var(--mute); }
.chip--live { background: var(--violet-wash); color: var(--violet); }
.chip--live::before { content: ""; width: 6px; height: 6px; background: var(--violet); animation: blip 1.2s steps(2, jump-none) infinite; }
.console { border: 1px solid var(--line); background: var(--paper); }
.console-bar { display: flex; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rows { height: 312px; overflow: hidden; position: relative; }
.row { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.row .sev { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; padding: 2px 6px; text-align: center; }
.sev-crit { background: var(--signal); color: #fff; }
.sev-high { background: var(--ink); color: var(--paper); }
.sev-med { background: #E2E5E0; color: var(--ink-2); }
.sev-low { border: 1px solid var(--line-2); color: var(--mute); }
.row .ts { font-family: var(--font-mono); font-size: 10.5px; color: var(--mute); letter-spacing: .04em; }
.row .st { font-family: var(--font-mono); font-size: 10px; color: var(--mute); display: block; letter-spacing: .04em; margin-top: 2px; }
.row.is-stale { color: var(--mute-2); }
.row.is-stale .sev { opacity: .5; }
.row.enter { animation: rowIn .6s var(--ease); background: var(--violet-wash); }
@keyframes rowIn { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
.meter { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.meter .track { flex: 1; height: 8px; background: repeating-linear-gradient(90deg, var(--line) 0 3px, transparent 3px 6px); position: relative; }
.meter .val { position: absolute; inset: 0 auto 0 0; background: var(--ink); transition: width 1.6s var(--ease); width: 0; }
.meter .val.v { background: var(--violet); }
.meter strong { font-family: var(--font-mono); font-size: 13px; font-weight: 400; min-width: 52px; text-align: right; }

/* ==========================================================================
   Dark operators section
   ========================================================================== */
.dark { background: var(--ink); color: var(--paper); border-top: 1px solid var(--ink); }
.dark .frame { border-color: #1F242D; }
.dark .label { color: #858B96; }
.dark .lede { color: #B0B5BE; }
.dark-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid #1F242D; }
@media (min-width: 900px) { .dark-grid { grid-template-columns: repeat(4, 1fr); } }
.op { padding: 28px var(--gutter) 36px; border-right: 1px solid #1F242D; border-bottom: 1px solid #1F242D; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; }
@media (min-width: 900px) { .op { border-bottom: 0; } .op:last-child { border-right: 0; } }
.op .org { font-size: 26px; letter-spacing: -.03em; font-weight: 500; line-height: 1.05; }
.op p { margin: 0; font-size: 14px; color: #B0B5BE; }
.op .glyph { width: 56px; height: 56px; }
.op:hover { background: #141922; }
.quote { display: grid; grid-template-columns: 1fr; border-top: 1px solid #1F242D; }
@media (min-width: 900px) { .quote { grid-template-columns: 220px 1fr 320px; } }
.quote > * { padding: 40px var(--gutter); }
.quote blockquote { margin: 0; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.03em; line-height: 1.15; font-weight: 400; }
.quote blockquote .v { color: var(--violet-soft); }
.quote .who { border-left: 1px solid #1F242D; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }

/* ==========================================================================
   Frameworks
   ========================================================================== */
.fw-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .fw-grid { grid-template-columns: repeat(6, 1fr); } }
.fw { padding: 20px 18px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 28px; transition: background .2s; }
@media (min-width: 900px) { .fw { border-bottom: 0; } .fw:last-child { border-right: 0; } }
.fw:hover { background: var(--paper); }
.fw strong { font-size: 17px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.fw .cov { height: 3px; background: var(--line); position: relative; }
.fw .cov i { position: absolute; inset: 0 auto 0 0; background: var(--violet); width: 0; transition: width 1.4s var(--ease); }

/* ==========================================================================
   Research
   ========================================================================== */
.res-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .res-grid { grid-template-columns: 2fr 1fr 1fr; } }
.res { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .2s; }
@media (min-width: 900px) { .res { border-bottom: 0; } .res:last-child { border-right: 0; } }
.res:hover { background: var(--paper); }
.res:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.res-art { aspect-ratio: 16/9; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.res-art svg { width: 100%; height: 100%; }
.res-body { padding: 20px var(--gutter) 28px; display: grid; gap: 12px; }
.res-meta { display: flex; justify-content: space-between; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-inner { position: relative; padding: clamp(80px, 11vw, 168px) var(--gutter); display: grid; gap: 28px; justify-items: start; }
.cta h2 { max-width: 15ch; }
.cta .row-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: #C6CAD1; }
.footer .frame { border-color: #1F242D; }
.foot-top { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid #1F242D; }
@media (min-width: 1000px) { .foot-top { grid-template-columns: 320px 1fr; } }
.foot-brand { padding: 36px var(--gutter); border-bottom: 1px solid #1F242D; display: grid; gap: 20px; align-content: start; }
@media (min-width: 1000px) { .foot-brand { border-bottom: 0; border-right: 1px solid #1F242D; } }
.foot-brand > * { min-width: 0; }
.foot-brand p { margin: 0; font-size: 14px; color: #9AA0AA; max-width: 32ch; }
.newsletter { display: flex; border: 1px solid #2E343E; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--paper); padding: 0 12px; height: 42px; font: inherit; font-size: 14px; outline: none; }
.newsletter input::placeholder { color: #737985; }
.newsletter button { padding: 0 14px; border-left: 1px solid #2E343E; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.newsletter button:hover { background: var(--violet); color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .foot-cols { grid-template-columns: repeat(6, 1fr); } }
.foot-col { padding: 32px 20px 36px; border-right: 1px solid #1F242D; border-bottom: 1px solid #1F242D; }
@media (min-width: 1200px) { .foot-col { border-bottom: 0; } .foot-col:last-child { border-right: 0; } }
.foot-col h5 { margin: 0 0 16px; color: #737985; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-col a { font-size: 14px; }
.foot-col a:hover { color: var(--paper); }
.foot-word { padding: 24px var(--gutter) 0; overflow: hidden; border-bottom: 1px solid #1F242D; }
.foot-word svg { width: 100%; height: auto; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; padding: 18px var(--gutter); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #737985; }
.foot-legal nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-legal a:hover { color: var(--paper); }
.status-ok { display: inline-flex; gap: 8px; align-items: center; }
.status-ok::before { content: ""; width: 6px; height: 6px; background: #7EE0C3; }

/* ==========================================================================
   Reveal
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; } [data-reveal-delay="2"] { transition-delay: .16s; } [data-reveal-delay="3"] { transition-delay: .24s; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.is-loaded .split-line > span { transform: none; }
.split-line:nth-child(2) > span { transition-delay: .08s; }
.split-line:nth-child(3) > span { transition-delay: .16s; }
.split-line:nth-child(4) > span { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
}

/* overflow guards */
.hero > *, .method > *, .compare > *, .section-head > * { min-width: 0; }
.hero-eyebrow { width: fit-content; max-width: 100%; }
@media (max-width: 640px) { .hero h1 br { display: none; } .split-line { display: inline; } .split-line > span { display: inline; } .split-line + .split-line::before { content: " "; } .hero-viz { min-height: 440px; } }

/* ---------- Pedigree logos (combined credential strip) ---------- */
.hero-copy { justify-content: center; }
.hero { border-bottom: 0; }
.pedigree { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pedigree-logos > div { flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px 24px; min-height: 132px; }
.logo-slot { min-height: 40px; display: flex; align-items: center; }
@media (max-width: 640px) { .logo-fallback { font-size: 17px; } .pedigree-logos > div { padding: 20px 16px; } }
.logo-slot img { max-height: 34px; max-width: 170px; width: auto; filter: brightness(0); opacity: .5; transition: opacity .25s var(--ease), filter .25s var(--ease); }
.logo-slot.has-img .logo-fallback { display: none; }
.logo-fallback { font-size: 21px; letter-spacing: -.03em; font-weight: 600; color: #6E737C; transition: color .25s var(--ease); }
.logo-cell:hover .logo-slot img { opacity: .9; }
.logo-cell:hover .logo-fallback { color: var(--ink); }
.logo-slot img.logo-tall { max-height: 48px; }
