/* Neura Defense Systems — v3 "Broadsheet" design system
   Derived from /redesign/Neura Defense v3.html
   Covers site-wide typography, colour, layout primitives, and every
   component pattern used across index, platform, market, technology,
   company, investors, press, and contact. */

:root {
  --ink:      #0a0a0a;
  --ink-2:    #111112;
  --slab:     #16161a;
  --line:     #242426;
  --line-2:   #2c2c30;
  --graph:    #6b6b70;
  --fog:      #9a9a9e;
  --bone:     #eceae4;
  --paper:    #f4f2ec;
  --white:    #ffffff;
  --signal:   #d93a12;

  --sans: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* ── Legacy aliases (secure/* pages still reference these) ── */
  --bg:       var(--ink);
  --bg-2:     var(--ink-2);
  --panel:    var(--slab);
  --accent:   var(--signal);
  --accent-2: var(--signal);
  --hostile:  var(--signal);
  --caution:  #e8a500;
  --friendly: #22c55e;
  --muted:    var(--fog);
  --muted-2:  #c9c7c1;
  --text:     var(--bone);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: 'ss01';
}
::selection { background: var(--signal); color: var(--white); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap       { width: min(1680px, 100% - 96px); margin: 0 auto; }
.wrap-tight { width: min(1320px, 100% - 96px); margin: 0 auto; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.signal { color: var(--signal); }
.dim    { color: var(--graph); font-weight: 300; }

/* ═══════════ NAV ═══════════ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 20px 0;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom-color: rgba(255,255,255,0.06);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }

.brand { display: flex; align-items: center; gap: 16px; }
.brand img { height: 22px; display: block; }
.brand .sep { width: 1px; height: 16px; background: rgba(255,255,255,0.25); }
.brand .sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fog); }

.nav { display: flex; align-items: center; gap: 40px; }
.nav a {
  font-family: var(--sans); font-weight: 500;
  font-size: 13px;
  color: var(--bone);
  transition: color 0.15s;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--signal);
}
.nav a.cta.active::after { display: none; } /* pill already signals active */
.nav .cta {
  font-size: 12px; letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--signal);
  color: var(--white);
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--signal), 0 4px 20px rgba(217, 58, 18, 0.25);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav .cta:hover {
  background: #c4320f;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px #c4320f, 0 6px 24px rgba(217, 58, 18, 0.4);
}
.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,0.25);
  color: var(--bone); padding: 8px 12px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; letter-spacing: 0.01em;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 220px;
}
.btn:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn .arrow { font-size: 16px; transition: transform 0.2s; font-weight: 300; }
.btn:hover .arrow { transform: translateX(4px); }
.btn.primary { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn.primary:hover { background: var(--white); border-color: var(--white); }
.btn.signal { background: var(--signal); color: var(--white); border-color: var(--signal); }
.btn.signal:hover { background: #c4320f; border-color: #c4320f; color: var(--white); }
.btn.dark { background: var(--ink); color: var(--bone); border-color: rgba(10,10,10,0.4); }
.btn.dark:hover { background: #1a1a1a; color: var(--white); border-color: #1a1a1a; }

/* ═══════════ HERO (full-bleed) ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--ink);
}
.hero.short { min-height: 72vh; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 50%;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.15) 28%, rgba(10,10,10,0.9) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.1) 55%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 140px; padding-bottom: 48px;
}
.hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fog);
}
.hero-meta .left, .hero-meta .right { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-meta .right .live {
  color: var(--signal);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-meta .right .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--signal);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: 0.3; } }

.hero h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(56px, 9.5vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--white);
  max-width: 15ch;
  margin-bottom: 48px;
  text-wrap: balance;
}
.hero h1 .light { font-weight: 300; color: #c9c7c1; }
.hero h1 .ul { display: inline-block; position: relative; }
.hero h1 .ul::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.08em;
  height: 0.08em; background: var(--signal);
  transform-origin: left; transform: scaleX(0);
  animation: underline 1.6s 0.8s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
  align-items: start;
}
.hero-bottom .lede {
  font-family: var(--sans); font-weight: 400;
  font-size: 17px; line-height: 1.5;
  color: var(--bone);
  max-width: 42ch;
}

.kv { display: flex; flex-direction: column; gap: 10px; }
.kv .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fog);
}
.kv .v {
  font-family: var(--sans); font-weight: 500;
  font-size: 22px; letter-spacing: -0.015em;
  color: var(--white);
}
.kv .v b { color: var(--signal); font-weight: 500; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; }

.scroll-cue {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--fog); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 32px; background: var(--fog); animation: scroll-line 2.4s infinite; }
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  40% { transform: scaleY(1); transform-origin: top; }
  60% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════ CHAPTER CARD ═══════════ */
.chapter {
  background: var(--ink);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.chapter .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 56px;
}
.chapter .num {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--signal);
  white-space: nowrap;
}
.chapter .line {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.3; letter-spacing: -0.01em;
  color: var(--bone);
}
.chapter .line b { color: var(--white); font-weight: 600; }

/* ═══════════ SECTION BASE ═══════════ */
section { position: relative; }

.sec-cap {
  display: flex; gap: 40px; align-items: baseline;
  margin-bottom: 72px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone);
}
.sec-cap .n { color: var(--fog); }
.sec-cap .bar { flex: 1; height: 1px; background: rgba(255,255,255,0.15); align-self: center; }
.sec-cap.dark { color: var(--ink); }
.sec-cap.dark .n { color: var(--graph); }
.sec-cap.dark .bar { background: rgba(10,10,10,0.15); }

.sec-title {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(42px, 6vw, 96px);
  line-height: 0.92; letter-spacing: -0.035em;
  color: var(--white);
  text-wrap: balance;
  max-width: 22ch;
}
.sec-title .dim { color: var(--graph); font-weight: 300; }

.sec-head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 80px;
}
.sec-head p { font-size: 17px; line-height: 1.55; color: var(--fog); max-width: 44ch; }

/* ═══════════ FAMILY PLATE ═══════════ */
.family {
  position: relative;
  background: var(--ink);
  padding: 140px 0 0;
}
.family .f-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 80px;
}
.family .f-head p { font-size: 17px; line-height: 1.55; color: var(--fog); max-width: 44ch; }
.family-frame {
  position: relative;
  background: #f3f1ea;
  padding: 0;
  overflow: hidden;
}
.family-frame img { width: 100%; display: block; }
.family-frame .label-strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--bone);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.family-frame .label-strip .slot {
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 6px;
}
.family-frame .label-strip .slot:last-child { border-right: 0; }
.family-frame .label-strip .slot .code {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--signal);
}
.family-frame .label-strip .slot .name {
  font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--white); letter-spacing: -0.01em;
}
.family-frame .label-strip .slot .desc {
  font-family: var(--sans); font-size: 12px; color: var(--fog); line-height: 1.4;
}

/* ═══════════ MATH / DATA GRID ═══════════ */
.math { background: var(--ink); padding: 180px 0 160px; }
.math-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.math-cell {
  background: var(--ink);
  padding: 56px 40px 48px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  min-height: 420px;
  transition: background 0.25s;
}
.math-cell:hover { background: var(--ink-2); }
.math-cell .m-head {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 24px;
}
.math-cell .num {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(72px, 9vw, 148px);
  line-height: 0.9; letter-spacing: -0.05em;
  color: var(--white);
}
.math-cell .name { font-size: 18px; font-weight: 500; color: var(--white); letter-spacing: -0.01em; margin-top: 12px; }
.math-cell .desc { font-size: 14px; line-height: 1.6; color: var(--fog); max-width: 32ch; margin-top: auto; }
.math-cell.ours { background: #0d0d0d; border-left: 1px solid var(--signal); }
.math-cell.ours .num { color: var(--signal); }
.math-cell.ours .m-head .tag { color: var(--signal); }

/* ═══════════ SIGNATURE BAND ═══════════ */
.band {
  background: var(--signal);
  color: var(--white);
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}
.band .band-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
}
.band .kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  display: inline-block;
}
.band .big {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(140px, 22vw, 360px);
  letter-spacing: -0.06em; line-height: 0.82;
  color: var(--white);
}
.band .big .unit {
  display: inline-block;
  font-size: 0.32em;
  vertical-align: top; margin-left: 12px; font-weight: 400;
}
.band p {
  font-family: var(--sans); font-weight: 400;
  font-size: 22px; line-height: 1.4; letter-spacing: -0.01em;
  color: var(--white);
  max-width: 32ch;
  margin-bottom: 20px;
}
.band .src {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ═══════════ PRODUCT FULL-BLEED ═══════════ */
.product-hero { position: relative; background: var(--ink); }
.product-hero .ph-img {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 640px;
  overflow: hidden;
}
.product-hero .ph-img img { width: 100%; height: 100%; object-fit: cover; }
.product-hero .ph-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.0) 30%, rgba(10,10,10,0.95) 100%);
}
.product-hero .ph-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px 0 60px;
  z-index: 2;
}
.product-hero .ph-top {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone);
}
.product-hero .ph-top .code { color: var(--signal); }
.product-hero .ph-bottom {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end;
}
.product-hero h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(56px, 10vw, 180px);
  line-height: 0.88; letter-spacing: -0.045em;
  color: var(--white);
}
.product-hero h2 .dim { color: rgba(255,255,255,0.45); font-weight: 300; }
.product-hero .ph-right {
  font-size: 18px; line-height: 1.4; color: var(--bone); letter-spacing: -0.01em;
  max-width: 36ch; padding-bottom: 10px;
  font-weight: 400;
}

.product-body { background: var(--ink); padding: 120px 0 160px; }
.product-body-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start;
}
.product-body-grid .copy {
  font-size: 17px; line-height: 1.55; color: var(--bone);
  max-width: 42ch;
}
.product-body-grid .copy .lede {
  font-size: 24px; line-height: 1.3; letter-spacing: -0.015em;
  color: var(--white); font-weight: 500;
  margin-bottom: 28px;
}

.product-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product-specs .spec {
  padding: 28px;
  background: var(--ink);
  display: flex; flex-direction: column; gap: 8px;
}
.product-specs .spec .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fog); }
.product-specs .spec .v {
  font-family: var(--sans); font-weight: 500;
  font-size: 22px; letter-spacing: -0.015em; line-height: 1.2;
  color: var(--white);
}
.product-specs .spec .v.signal { color: var(--signal); }

/* ═══════════ SPLIT DETAIL ═══════════ */
.split {
  position: relative;
  background: var(--ink);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split .s-img { position: relative; background: #eceae4; overflow: hidden; min-height: 680px; }
.split .s-img img { width: 100%; height: 100%; object-fit: cover; }
.split .s-copy {
  padding: 100px 72px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 28px;
  background: var(--ink);
  border-left: 1px solid var(--line);
}
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }
.split.flip .s-copy { border-left: 0; border-right: 1px solid var(--line); }
.split .s-copy .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--signal); }
.split .s-copy h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(36px, 4.2vw, 64px);
  letter-spacing: -0.03em; line-height: 0.95;
  color: var(--white); text-wrap: balance;
}
.split .s-copy h3 .dim { color: var(--graph); font-weight: 300; }
.split .s-copy p { font-size: 16px; line-height: 1.55; color: var(--bone); max-width: 42ch; }
.split .s-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 16px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.split .s-facts .f .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fog); display: block; margin-bottom: 6px;
}
.split .s-facts .f .v {
  font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: -0.01em;
  color: var(--white);
}
.split .s-facts .f .v.signal { color: var(--signal); }

/* ═══════════ KILL CHAIN ═══════════ */
.kc-hero {
  position: relative;
  background: var(--ink);
  height: 56vh; min-height: 520px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.kc-hero img { width: 100%; height: 100%; object-fit: cover; }
.kc-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.0) 30%, rgba(10,10,10,0.9) 100%);
}
.kc-hero .kc-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 60px 0;
}
.kc-hero .kc-overlay .t {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 20px;
}
.kc-hero .kc-overlay h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(42px, 6vw, 96px);
  line-height: 0.9; letter-spacing: -0.04em;
  color: var(--white);
  max-width: 22ch;
  text-wrap: balance;
}
.kc-hero .kc-overlay h3 .dim { color: rgba(255,255,255,0.45); font-weight: 300; }

.kc {
  background: var(--paper);
  color: var(--ink);
  padding: 160px 0;
}
.kc .sec-cap { color: var(--ink); }
.kc .sec-cap .n { color: var(--graph); }
.kc .sec-cap .bar { background: rgba(10,10,10,0.15); }
.kc-head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 80px;
}
.kc-head h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(48px, 7vw, 120px);
  line-height: 0.9; letter-spacing: -0.04em;
  color: var(--ink); text-wrap: balance; max-width: 18ch;
}
.kc-head h2 .dim { color: var(--graph); font-weight: 300; }
.kc-head p { font-size: 17px; line-height: 1.55; color: #3a3a3e; max-width: 44ch; }

.chain {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
}
.chain::before {
  content: ''; position: absolute;
  left: 0; right: 0; top: 62px;
  height: 1px; background: rgba(10,10,10,0.15);
}
.chain::after {
  content: ''; position: absolute;
  left: 0; top: 60px; width: 0; height: 3px;
  background: var(--signal);
  animation: sweep 10s ease-in-out infinite;
}
@keyframes sweep {
  0%, 5% { width: 0; opacity: 0; }
  10% { opacity: 1; }
  85%, 100% { width: 100%; opacity: 1; }
}
.knode {
  padding: 28px 28px 48px;
  border-right: 1px solid rgba(10,10,10,0.12);
  background: var(--paper);
  transition: background 0.3s;
  position: relative;
}
.knode:last-child { border-right: 0; }
.knode:hover { background: #ece9e2; }
.knode .t {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px; display: inline-block;
}
.knode .dot {
  width: 14px; height: 14px;
  border: 2px solid var(--signal);
  background: var(--paper);
  border-radius: 50%;
  margin-bottom: 36px; position: relative; z-index: 2;
}
.knode:first-child .dot { background: var(--signal); }
.knode .ord {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--graph);
  margin-bottom: 16px;
}
.knode h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(32px, 3.2vw, 48px);
  letter-spacing: -0.025em; line-height: 0.95;
  color: var(--ink);
  margin-bottom: 18px;
}
.knode p { font-size: 14px; line-height: 1.6; color: #3a3a3e; max-width: 30ch; }

/* ═══════════ PROTECT (customer segments) ═══════════ */
.protect { background: var(--ink); border-top: 1px solid var(--line); padding: 160px 0; }
.protect-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 72px;
}
.protect-head p { font-size: 17px; line-height: 1.55; color: var(--fog); max-width: 44ch; }

.p-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.p-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.p-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.p-card {
  background: var(--ink);
  padding: 44px 36px 40px;
  display: flex; flex-direction: column;
  transition: background 0.25s;
  min-height: 380px;
  position: relative;
}
.p-card:hover { background: var(--ink-2); }
.p-card .p-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 40px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fog);
}
.p-card .p-head .seg { color: var(--signal); }
.p-card h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(28px, 2.8vw, 40px);
  letter-spacing: -0.02em; line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
  text-wrap: balance;
}
.p-card p { font-size: 14px; line-height: 1.6; color: var(--fog); flex: 1; max-width: 34ch; }
.p-card .p-foot {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fog);
}
.p-card .p-foot .ph { color: var(--signal); }

/* ═══════════ MANIFEST / QUOTE ═══════════ */
.manifest {
  background: var(--paper);
  color: var(--ink);
  padding: 200px 0;
  position: relative;
}
.manifest blockquote {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 1.05; letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 24ch;
  text-wrap: balance;
}
.manifest blockquote .dim { color: var(--graph); font-weight: 300; }
.manifest blockquote em { font-style: normal; color: var(--signal); font-weight: 500; }
.manifest .attribution {
  margin-top: 64px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--graph);
  display: flex; gap: 24px; align-items: center;
}
.manifest .attribution::before { content: ''; width: 48px; height: 1px; background: var(--ink); }

/* ═══════════ MARKET ═══════════ */
.market { background: var(--ink); border-top: 1px solid var(--line); padding: 160px 0; }
.market-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 96px;
}
.market-head p { font-size: 17px; line-height: 1.55; color: var(--fog); max-width: 44ch; }

.market-hero {
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 80px; align-items: end;
}
.market-big {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(140px, 22vw, 380px);
  letter-spacing: -0.06em; line-height: 0.82;
  color: var(--white);
}
.market-big .dim { color: var(--graph); font-weight: 300; }
.market-big .unit {
  display: inline-block;
  font-size: 0.18em;
  color: var(--fog); font-weight: 500; letter-spacing: 0.02em;
  vertical-align: top; margin-left: 16px; padding-top: 18px;
  line-height: 1.2;
}
.market-sub p { font-size: 18px; line-height: 1.45; color: var(--bone); margin-bottom: 16px; }
.market-sub .src { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fog); }

.market-strip {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.market-cell { background: var(--ink); padding: 32px; }
.market-cell .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fog); margin-bottom: 16px; }
.market-cell .v { font-family: var(--sans); font-weight: 500; font-size: 56px; letter-spacing: -0.035em; line-height: 1; color: var(--white); margin-bottom: 14px; }
.market-cell .v.signal { color: var(--signal); }
.market-cell p { font-size: 13px; line-height: 1.55; color: var(--fog); }

/* ═══════════ DATA TABLE (compare / spec) ═══════════ */
.datatable { width: 100%; border-collapse: collapse; margin-top: 32px; }
.datatable th, .datatable td {
  padding: 20px 22px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.datatable thead th {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fog); padding-bottom: 18px;
}
.datatable thead th.them { color: var(--graph); }
.datatable thead th.us { color: var(--signal); }
.datatable td.us { color: var(--white); }
.datatable td.them { color: var(--fog); }
.datatable tbody tr:hover { background: rgba(255,255,255,0.02); }
.kc .datatable th, .kc .datatable td { border-bottom-color: rgba(10,10,10,0.12); color: var(--ink); }
.kc .datatable thead th { color: var(--graph); }

/* ═══════════ CLOSING ═══════════ */
.closing {
  position: relative;
  padding: 180px 0;
  background: var(--ink);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.closing-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 60%;
  opacity: 0.22;
}
.closing-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.95) 100%);
}
.closing-inner { position: relative; z-index: 2; max-width: 1200px; }
.closing .kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--signal);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 40px;
}
.closing .kicker::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--signal);
  animation: pulse-s 1.6s infinite;
}
@keyframes pulse-s { 50% { opacity: 0.35; transform: scale(0.85); } }
.closing h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(56px, 9vw, 160px);
  line-height: 0.88; letter-spacing: -0.045em;
  color: var(--white);
  margin-bottom: 40px;
  max-width: 14ch;
}
.closing h2 .dim { color: var(--graph); font-weight: 300; }
.closing p { font-size: 18px; line-height: 1.55; color: var(--bone); max-width: 52ch; margin-bottom: 48px; }
.closing-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════ FORM ═══════════ */
.form-field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.form-field label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fog);
}
.form-field input, .form-field select, .form-field textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 16px 18px;
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--signal);
}
.form-field textarea { min-height: 160px; resize: vertical; font-family: var(--sans); }

/* ═══════════ TEAM ═══════════ */
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.person {
  background: var(--ink);
  padding: 48px 40px;
  display: flex; flex-direction: column; gap: 20px;
  transition: background 0.25s;
}
.person:hover { background: var(--ink-2); }
.person .head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fog);
}
.person .head .code { color: var(--signal); }
.person h3 {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(28px, 2.8vw, 38px);
  letter-spacing: -0.02em; line-height: 1;
  color: var(--white);
}
.person .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: var(--signal); text-transform: uppercase; }
.person p { font-size: 15px; line-height: 1.55; color: var(--fog); max-width: 52ch; }

/* ═══════════ PATENT / LIST BLOCKS ═══════════ */
.list-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 32px;
}
.list-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.list-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.list-cell {
  background: var(--ink);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.25s;
  min-height: 240px;
}
.list-cell:hover { background: var(--ink-2); }
.list-cell .head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fog);
}
.list-cell .no {
  font-family: var(--sans); font-weight: 500; font-size: 44px; line-height: 1;
  letter-spacing: -0.03em; color: var(--white);
}
.list-cell .sev {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; padding: 4px 10px;
  border: 1px solid var(--signal); color: var(--signal);
}
.list-cell .sev.crit  { border-color: var(--signal); color: var(--signal); }
.list-cell .sev.high  { border-color: #e8a500; color: #e8a500; }
.list-cell .sev.med   { border-color: var(--fog); color: var(--fog); }
.list-cell .app { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--fog); }
.list-cell h4 { font-family: var(--sans); font-weight: 500; font-size: 16px; letter-spacing: -0.01em; color: var(--white); line-height: 1.25; }
.list-cell .cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--signal); margin-top: auto; }

/* ═══════════ GATE (used on .secure/…, preserved) ═══════════ */
.gate { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.gate .box { width: 100%; max-width: 480px; border: 1px solid var(--line); background: var(--ink-2); padding: 48px; position: relative; }

/* ═══════════ FOOTER ═══════════ */
footer {
  background: #050505;
  color: var(--bone);
  padding: 100px 0 32px;
  border-top: 1px solid var(--line);
}
.f-head { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
footer .brand { display: block; margin-bottom: 20px; }
footer .brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
footer .brand-row img { height: 22px; }
footer .brand-row .sub { color: var(--fog); font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
footer p { font-size: 14px; line-height: 1.6; color: var(--fog); max-width: 46ch; }
.f-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); margin-bottom: 22px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.f-col a { color: var(--fog); font-size: 14px; transition: color 0.15s; }
.f-col a:hover { color: var(--white); }

.f-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--graph);
  padding-top: 24px;
}
.f-bottom .st { color: var(--signal); }

/* ═══════════ REVEAL ═══════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.26s; }
.reveal.d4 { transition-delay: 0.34s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-bg, .hero h1 .ul::after, .chain::after, .scroll-cue .line, .closing .kicker::before, .hero-meta .right .live::before {
    animation: none !important; transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  .wrap, .wrap-tight { width: calc(100% - 48px); }
  .hero-bottom { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sec-head, .math-head, .kc-head, .protect-head, .market-head,
  .band .band-grid, .family .f-head, .product-hero .ph-bottom {
    grid-template-columns: 1fr; gap: 24px;
  }
  .math-grid { grid-template-columns: 1fr; }
  .product-body-grid { grid-template-columns: 1fr; gap: 48px; }
  .chain { grid-template-columns: 1fr 1fr; }
  .chain::before, .chain::after { display: none; }
  .p-grid, .list-grid, .team-grid { grid-template-columns: 1fr; }
  .list-grid.cols-2, .list-grid.cols-3, .p-grid.cols-2, .p-grid.cols-4 { grid-template-columns: 1fr; }
  .market-hero { grid-template-columns: 1fr; gap: 32px; }
  .market-strip { grid-template-columns: 1fr 1fr; }
  .f-head { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; }
  .split .s-img { min-height: 420px; }
  .split .s-copy { padding: 60px 32px; border-left: 0; border-top: 1px solid var(--line); }
  .split.flip .s-copy { border-right: 0; }
  .family-frame .label-strip { grid-template-columns: 1fr 1fr; }
  .chapter .wrap { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 62px;
    left: 0; right: 0; background: rgba(10,10,10,0.96); backdrop-filter: blur(18px);
    padding: 24px 32px; gap: 16px; align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: inline-block; }
  .hero-bottom { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr; }
  .market-strip { grid-template-columns: 1fr; }
  .f-head { grid-template-columns: 1fr; }
  .family-frame .label-strip { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
