/* =====================================================================
   FORTIQ — "The Assurance Ledger"
   Offensive security & compliance pentesting.
   Design system: greige dossier paper, deep ink-navy covers,
   signal-amber through-line, functional severity spectrum.
   ===================================================================== */

/* ---- Fonts (self-hosted, subset to latin) -------------------------- */
@font-face {
  font-family: 'Big Shoulders';
  src: url('../fonts/big-shoulders-var.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/public-sans-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/public-sans-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens -------------------------------------------------------- */
:root {
  /* Paper & ink */
  --paper:        #ECEDE8;   /* document stock — warm greige, not cream */
  --paper-2:      #E3E4DE;   /* recessed bands */
  --surface:      #FAFAF7;   /* sheets / cards on the desk */
  --surface-2:    #F2F2ED;
  --ink:          #12171E;   /* primary text — warm near-black navy */
  --ink-soft:     #454E59;   /* secondary text */
  --ink-faint:    #6C7681;   /* captions, muted */
  --line:         rgba(18, 23, 30, 0.13);
  --line-strong:  rgba(18, 23, 30, 0.26);

  /* Dark "cover" surfaces */
  --cover:        #0C1119;   /* deep ink */
  --cover-2:      #121A26;   /* raised panel on cover */
  --cover-3:      #1B2534;   /* hairlines / chips on cover */
  --cover-ink:    #EEF1F5;   /* text on cover */
  --cover-soft:   #A7B1BF;   /* secondary text on cover */
  --cover-faint:  #6B7688;
  --cover-line:   rgba(238, 241, 245, 0.12);

  /* Brand signal — the amber through-line */
  --signal:       #E8A11E;   /* marigold: highlighter / caution / seal */
  --signal-bright:#F6B93B;
  --signal-ink:   #3a2600;   /* deep amber-brown for text on amber fills */
  --signal-deep:  #8C5A06;   /* amber text on light paper (AA) */

  /* Functional severity spectrum (from real report vocabulary) */
  --sev-crit:     #D8443C;
  --sev-high:     #E07C2E;
  --sev-med:      #E8A11E;   /* == brand: the through-line lives in the scale */
  --sev-low:      #4B86C9;
  --sev-pass:     #33A06B;
  --sev-info:     #8A93A0;

  /* Type */
  --f-display: 'Big Shoulders', 'Arial Narrow', system-ui, sans-serif;
  --f-body:    'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 3px;      /* documents are square-ish; keep radii tight */
  --radius-lg: 6px;

  --shadow-sheet: 0 1px 0 rgba(18,23,30,0.04), 0 18px 40px -28px rgba(18,23,30,0.35);
  --shadow-lift:  0 2px 0 rgba(18,23,30,0.05), 0 30px 60px -32px rgba(18,23,30,0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset-ish ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.02; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--signal); color: #1a1200; }

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

/* ---- Layout helpers ------------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* Cover (dark) surfaces */
.cover {
  background: var(--cover);
  color: var(--cover-ink);
}
.cover h1, .cover h2, .cover h3 { color: var(--cover-ink); }

/* ---- Typographic components --------------------------------------- */
.eyebrow {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.cover .eyebrow { color: var(--signal); }
.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.display {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.94;
  text-transform: uppercase;
}
.h-section {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.96;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}
.lead {
  font-size: clamp(1.12rem, 1.9vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 42ch;
}
.cover .lead { color: var(--cover-soft); }

/* Highlighter mark — the dossier signature motif */
.mark {
  background: linear-gradient(105deg, transparent 2%, var(--signal) 2%, var(--signal) 98%, transparent 98%);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  color: #1c1300;
  padding: 0.04em 0.14em;
  border-radius: 1px;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.cover .mark { color: #1c1300; }

/* mono id */
.mono { font-family: var(--f-mono); }
.id {
  font-family: var(--f-mono);
  font-size: 0.82em;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

/* ---- Buttons ------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 0.85em 1.4em;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform 0.2s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.btn--signal {
  --btn-bg: var(--signal);
  --btn-fg: #1c1300;
  border-color: var(--signal);
  box-shadow: 0 10px 30px -14px rgba(232,161,30,0.9);
}
.btn--signal:hover { --btn-bg: var(--signal-bright); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: transparent; border-color: var(--ink); }
.cover .btn--ghost { --btn-fg: var(--cover-ink); border-color: var(--cover-line); }
.cover .btn--ghost:hover { border-color: var(--cover-ink); }

/* ---- Header -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--cover) 88%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--cover-line);
  color: var(--cover-ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cover-ink);
}
.brand__mark { width: 26px; height: 26px; flex: none; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
}
.nav a.nav-link {
  font-size: 0.9rem;
  color: var(--cover-soft);
  letter-spacing: 0.01em;
  transition: color 0.18s var(--ease);
  position: relative;
  padding-block: 0.4rem;
}
.nav a.nav-link:hover { color: var(--cover-ink); }
.nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--signal);
  transition: width 0.22s var(--ease);
}
.nav a.nav-link:hover::after { width: 100%; }
.nav .btn { padding: 0.6em 1.05em; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--cover-line);
  border-radius: var(--radius);
  width: 42px; height: 40px;
  padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--cover-ink);
  position: relative;
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cover-2);
    border-bottom: 1px solid var(--cover-line);
    padding: 0.5rem var(--gutter) 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .nav a.nav-link { padding-block: 0.95rem; border-bottom: 1px solid var(--cover-line); }
  .nav a.nav-link::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* =====================================================================
   HERO — the "report cover" with the live engagement console
   ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ambient blueprint grid + glow */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--cover-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--cover-line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 78% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 20%, #000 20%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(232,161,30,0.16), transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cover-soft);
  border: 1px solid var(--cover-line);
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.6rem;
}
.hero__status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sev-pass);
  box-shadow: 0 0 0 0 rgba(51,160,107,0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(51,160,107,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(51,160,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(51,160,107,0); }
}
@media (prefers-reduced-motion: reduce) { .hero__status .dot { animation: none; } }

.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 7.2vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.012em;
  color: var(--cover-ink);
  margin-bottom: 1.4rem;
}
.hero__title .amber { color: var(--signal); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }

.hero__lead {
  color: var(--cover-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero__trust {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--cover-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  align-items: center;
}
.hero__trust span.lbl {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cover-faint);
}
.hero__trust .frames { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.hero__trust .frames b {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--cover-soft);
}

/* ---- Engagement console (the signature) --------------------------- */
.console {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--cover-2), #0e1521);
  border: 1px solid var(--cover-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  font-family: var(--f-mono);
  min-height: 430px;
  display: flex;
  flex-direction: column;
}
.console__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--cover-line);
  background: rgba(0,0,0,0.2);
}
.console__dots { display: flex; gap: 0.4rem; }
.console__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--cover-3); display: block; }
.console__title {
  font-size: 0.76rem;
  color: var(--cover-soft);
  letter-spacing: 0.04em;
  margin-left: 0.3rem;
}
.console__title b { color: var(--cover-ink); font-weight: 600; }
.console__live {
  margin-left: auto;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sev-pass);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.console__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--sev-pass); animation: pulse 2s infinite; }
@media (prefers-reduced-motion: reduce) { .console__live i { animation: none; } }

.console__scan {
  padding: 0.75rem 1rem 0.35rem;
  border-bottom: 1px solid var(--cover-line);
}
.console__scan-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.74rem;
  color: var(--cover-soft);
  margin-bottom: 0.5rem;
}
.console__scan-row .target { color: var(--cover-ink); }
.console__scan-row .pct { color: var(--signal); font-weight: 600; }
.progress {
  height: 4px;
  background: var(--cover-3);
  border-radius: 100px;
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--signal), var(--signal-bright));
  border-radius: 100px;
  transition: width 0.4s var(--ease);
}

.console__feed {
  flex: 1;
  padding: 0.6rem 0.5rem 0.6rem 1rem;
  overflow: hidden;
  position: relative;
}
.feed-line {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.32rem 0.4rem;
  font-size: 0.78rem;
  border-radius: 3px;
  opacity: 0;
  transform: translateY(6px);
  animation: feedIn 0.4s var(--ease) forwards;
}
@keyframes feedIn { to { opacity: 1; transform: none; } }
.feed-line .ts { color: var(--cover-faint); font-size: 0.7rem; }
.feed-line .sev {
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: 3px;
  white-space: nowrap;
}
.feed-line .desc { color: var(--cover-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-line .cve { color: var(--cover-faint); font-size: 0.7rem; }

.sev-crit { color: #fff; background: var(--sev-crit); }
.sev-high { color: #1c1000; background: var(--sev-high); }
.sev-med  { color: #1c1300; background: var(--sev-med); }
.sev-low  { color: #fff; background: var(--sev-low); }
.sev-pass { color: #04120b; background: var(--sev-pass); }
.sev-info { color: #0b0f14; background: var(--sev-info); }

.console__foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--cover-line);
  background: rgba(0,0,0,0.22);
}
.tally { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.tally .t { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: var(--cover-soft); }
.tally .t b { color: var(--cover-ink); font-weight: 600; }
.tally .swatch { width: 10px; height: 10px; border-radius: 2px; }

.risk {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: var(--cover-soft);
}
.risk .score {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--signal);
}

/* =====================================================================
   Section scaffolding — header block
   ===================================================================== */
.sec-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head .h-section { margin-top: 0.9rem; }
.sec-head .lead { margin-top: 1.1rem; max-width: 56ch; }

.sec-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
  flex-wrap: wrap;
}
.sec-head--split .lead { max-width: 40ch; margin-top: 0; }

/* ---- Frameworks marquee band -------------------------------------- */
.frames-band {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: 1.3rem;
  overflow: hidden;
}
.frames-band .wrap { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.frames-band .cap {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex: none;
}
.frames-band ul { display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; }
.frames-band li {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.32rem 0.7rem;
  border-radius: 100px;
}
.frames-band li b { color: var(--ink); font-weight: 600; }

/* =====================================================================
   Modes — manual red team vs AI-automated (the two pillars)
   ===================================================================== */
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
}
@media (max-width: 820px) { .modes { grid-template-columns: 1fr; } }

.mode {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  overflow: hidden;
  box-shadow: var(--shadow-sheet);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.mode:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.mode__tag {
  position: absolute;
  top: 0; right: 0;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  color: var(--ink-faint);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-bottom-left-radius: var(--radius);
}
.mode__num {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--signal-deep);
  font-weight: 600;
}
.mode__icon { width: 40px; height: 40px; margin: 1rem 0 1.1rem; color: var(--ink); }
.mode h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: 1.7rem;
  letter-spacing: 0.005em;
  margin-bottom: 0.7rem;
}
.mode p { color: var(--ink-soft); font-size: 1rem; }
.mode__list { margin-top: 1.3rem; display: grid; gap: 0.7rem; }
.mode__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.mode__list li svg { width: 17px; height: 17px; margin-top: 0.22rem; color: var(--sev-pass); flex: none; }
.mode--manual { border-top: 3px solid var(--sev-crit); }
.mode--ai { border-top: 3px solid var(--sev-low); }

/* combined callout under modes */
.modes-note {
  margin-top: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.3rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.modes-note svg { width: 22px; height: 22px; color: var(--signal-deep); flex: none; }

/* =====================================================================
   Methodology — the engagement (honest numbered sequence)
   ===================================================================== */
.method { position: relative; }
.method__list {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: clamp(3.4rem, 7vw, 6rem) 1fr;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding-block: clamp(1.6rem, 3vw, 2.3rem);
  border-top: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.8;
  color: var(--line-strong);
  transition: color 0.3s var(--ease);
}
.step:hover .step__num { color: var(--signal); }
.step__body { max-width: 62ch; }
.step__head { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.step h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.005em;
}
.step__phase {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
}
.step p { color: var(--ink-soft); }
.step__tools { margin-top: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.step__tools span {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0.16rem 0.5rem;
  border-radius: 3px;
}

/* =====================================================================
   Coverage matrix
   ===================================================================== */
.matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 860px) { .matrix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .matrix { grid-template-columns: 1fr; } }
.cell {
  background: var(--surface);
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  transition: background 0.2s var(--ease);
}
.cell:hover { background: var(--surface-2); }
.cell__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.cell__icon { width: 26px; height: 26px; color: var(--ink); }
.cell__ref { font-family: var(--f-mono); font-size: 0.7rem; color: var(--ink-faint); }
.cell h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.01em; font-family: var(--f-body); text-transform: none; }
.cell p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }

/* =====================================================================
   The deliverable — mock findings report
   ===================================================================== */
.deliver { background: var(--paper-2); }
.report {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
@media (max-width: 900px) { .report { grid-template-columns: 1fr; } }

.report-doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sheet);
  overflow: hidden;
}
.report-doc__head {
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.report-doc__head .meta { font-family: var(--f-mono); font-size: 0.72rem; color: var(--ink-faint); }
.report-doc__head .meta b { display: block; color: var(--ink); font-size: 0.95rem; font-family: var(--f-body); }
.stamp {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sev-pass);
  border: 1.5px solid var(--sev-pass);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  transform: rotate(-3deg);
  font-weight: 600;
}
.findings { width: 100%; }
.finding {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem 1.3rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s var(--ease);
}
.finding:hover { background: var(--surface-2); }
.finding:last-child { border-bottom: 0; }
.finding__sev {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  text-align: center;
  min-width: 62px;
}
.finding__body h4 { font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; }
.finding__body .id { display: block; margin-top: 0.15rem; }
.finding__cvss { font-family: var(--f-mono); font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.finding__cvss small { display: block; font-size: 0.6rem; color: var(--ink-faint); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; }

.report-side { display: grid; gap: 1.2rem; align-content: start; }
.report-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sheet);
}
.report-card h3 {
  font-size: 1.05rem;
  font-family: var(--f-body);
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.report-card p { font-size: 0.94rem; color: var(--ink-soft); }
.report-card ul { margin-top: 0.6rem; display: grid; gap: 0.5rem; }
.report-card li { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem; font-size: 0.92rem; color: var(--ink-soft); }
.report-card li svg { width: 16px; height: 16px; color: var(--signal-deep); margin-top: 0.2rem; }

.donut-row { display: flex; align-items: center; gap: 1.3rem; }
.donut { width: 108px; height: 108px; flex: none; }
.donut-legend { display: grid; gap: 0.4rem; font-size: 0.82rem; }
.donut-legend .l { display: flex; align-items: center; gap: 0.5rem; color: var(--ink-soft); }
.donut-legend .l b { color: var(--ink); margin-left: auto; font-family: var(--f-mono); }
.donut-legend .sw { width: 11px; height: 11px; border-radius: 2px; }

/* =====================================================================
   Assurance / standards stats (honest, capability-based)
   ===================================================================== */
.assure { background: var(--cover); color: var(--cover-ink); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cover-line);
  border: 1px solid var(--cover-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--cover-2); padding: clamp(1.4rem, 3vw, 2.1rem); }
.stat__val {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 0.9;
  color: var(--signal);
  letter-spacing: -0.01em;
}
.stat__val .unit { color: var(--cover-ink); font-size: 0.5em; }
.stat__label { margin-top: 0.6rem; color: var(--cover-soft); font-size: 0.9rem; line-height: 1.4; }

.assure__lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 800px) { .assure__lead { grid-template-columns: 1fr; gap: 1.4rem; } }

/* =====================================================================
   FAQ — real buyer objections
   ===================================================================== */
.faq { display: grid; gap: 0; max-width: 860px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.3rem 0.2rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.qa__q .sign { position: relative; width: 16px; height: 16px; flex: none; }
.qa__q .sign::before, .qa__q .sign::after {
  content: ""; position: absolute; background: var(--signal-deep);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.qa__q .sign::before { top: 7px; left: 0; width: 16px; height: 2px; }
.qa__q .sign::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.qa[data-open="true"] .sign::after { transform: scaleY(0); }
.qa__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s var(--ease);
}
.qa__a-inner { padding: 0 0.2rem 1.4rem; color: var(--ink-soft); max-width: 68ch; font-size: 1rem; }
.qa[data-open="true"] .qa__q { color: var(--signal-deep); }

/* =====================================================================
   Contact / CTA
   ===================================================================== */
.contact { background: var(--cover); color: var(--cover-ink); overflow: hidden; position: relative; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--cover-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--cover-line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(100% 80% at 15% 0%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(100% 80% at 15% 0%, #000 10%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 920px) { .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact__intro .h-section { color: var(--cover-ink); }
.contact__intro .lead { color: var(--cover-soft); margin-top: 1.1rem; }
.contact__points { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact__points li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; }
.contact__points svg { width: 22px; height: 22px; color: var(--signal); margin-top: 0.15rem; }
.contact__points b { color: var(--cover-ink); display: block; font-size: 0.98rem; }
.contact__points span { color: var(--cover-soft); font-size: 0.9rem; }
.contact__direct {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--cover-line);
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--cover-soft);
  display: grid;
  gap: 0.5rem;
}
.contact__direct a { color: var(--signal); }
.contact__direct a:hover { text-decoration: underline; }

/* form */
.form {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.06);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.field label .req { color: var(--sev-crit); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C7681' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(232,161,30,0.18);
  background: var(--surface);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: 0.7; }

.form__foot { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.form__submit { width: 100%; justify-content: center; padding: 0.95em 1.4em; font-size: 1.02rem; }
.form__note { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.5; text-align: center; }
.form__note a { color: var(--signal-deep); text-decoration: underline; }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* form states */
.form-status { display: none; align-items: flex-start; gap: 0.7rem; padding: 0.9rem 1rem; border-radius: var(--radius); font-size: 0.92rem; margin-bottom: 1rem; }
.form-status[data-show="true"] { display: flex; }
.form-status svg { width: 20px; height: 20px; flex: none; margin-top: 0.1rem; }
.form-status--ok { background: rgba(51,160,107,0.12); color: #1c6b47; border: 1px solid rgba(51,160,107,0.4); }
.form-status--err { background: rgba(216,68,60,0.1); color: #9c2820; border: 1px solid rgba(216,68,60,0.4); }
.btn[data-loading="true"] { pointer-events: none; opacity: 0.75; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid rgba(28,19,0,0.3); border-top-color: #1c1300; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.btn[data-loading="true"] .spinner { display: inline-block; }
.btn[data-loading="true"] .arw, .btn[data-loading="true"] .label-idle { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  background: #080c12;
  color: var(--cover-soft);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
  border-top: 1px solid var(--cover-line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--cover-line);
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: var(--cover-ink); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cover-faint);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col a { display: block; padding: 0.35rem 0; font-size: 0.92rem; color: var(--cover-soft); transition: color 0.15s var(--ease); }
.footer-col a:hover { color: var(--signal); }
.footer-bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--cover-faint);
  font-family: var(--f-mono);
}

/* =====================================================================
   Scroll reveal
   ===================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .feed-line { animation: none; opacity: 1; transform: none; }
}

/* utility */
.center { text-align: center; }
.mt-cta { margin-top: clamp(2rem, 4vw, 3rem); display: flex; gap: 0.9rem; flex-wrap: wrap; }
