/* ==========================================================================
   GladiatorRX — design tokens
   ========================================================================== */
:root {
  --iron: #16181d;
  --iron-2: #1f2228;
  --iron-3: #2a2e36;
  --iron-line: #30343d;
  --steel: #e4e7eb;
  --steel-2: #d3d8de;
  --paper: #f6f7f8;
  --muted: #5a616c;
  --muted-dark: #a3aab4;
  --bronze: #b0702c;
  --bronze-ink: #8a5520;
  --bronze-soft: rgba(176, 112, 44, 0.14);
  --blood: #8e1b1b;
  --rust: #b23a1e;
  --amber: #a8641a;
  --patina: #3b7a71;
  --line: rgba(22, 24, 29, 0.14);

  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --radius: 4px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--steel);
  color: var(--iron);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-stretch: 125%; line-height: 1.06; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.mono { font-family: var(--mono); font-size: 0.85em; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--steel-2); padding: 1px 5px; border-radius: 2px; }
.section--iron code { background: var(--iron-3); color: var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--iron); color: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze-ink);
  margin-bottom: 16px;
}
.section--iron .eyebrow, .hero--iron .eyebrow { color: var(--bronze); }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  background: var(--iron); color: var(--paper);
  font: 600 15px/1 var(--body);
  text-decoration: none;
  border: 1px solid var(--iron);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--bronze); border-color: var(--bronze); }
.btn--ghost { background: transparent; color: var(--iron); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--iron); color: var(--iron); }
.btn--bronze { background: var(--bronze); border-color: var(--bronze); }
.btn--bronze:hover { background: var(--paper); border-color: var(--paper); color: var(--iron); }
.btn--small { padding: 10px 16px; font-size: 14px; }
.section--iron .btn--ghost, .hero--iron .btn--ghost, .cta-band .btn--ghost { color: var(--paper); border-color: var(--iron-line); }
.section--iron .btn--ghost:hover, .hero--iron .btn--ghost:hover, .cta-band .btn--ghost:hover { border-color: var(--paper); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.arrow-link { font-weight: 600; font-size: 15px; color: var(--bronze-ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.section--iron .arrow-link { color: var(--bronze); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(228, 231, 235, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 19px; flex-shrink: 0; }
.brand b { color: var(--bronze); font-weight: 800; }
.brand__mark { width: 36px; height: 36px; }

.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__menu > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px;
  background: none; border: 0; cursor: pointer;
  font: 500 15px var(--body); color: var(--muted); text-decoration: none;
  border-radius: var(--radius);
}
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link[aria-current="page"] { color: var(--iron); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--bronze); border-radius: 0; }
.nav__link svg { width: 10px; height: 10px; transition: transform .15s ease; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__cta { margin-left: 12px; }

.mega {
  position: absolute; top: calc(100% + 10px); left: -12px;
  width: 640px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 48px -16px rgba(22,24,29,.25);
  padding: 12px;
  display: none;
}
.mega.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega--small { width: 280px; }
.mega--small.is-open { grid-template-columns: 1fr; }
.mega a { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 12px; border-radius: var(--radius); text-decoration: none; }
.mega--small a { grid-template-columns: 1fr; }
.mega a:hover { background: var(--steel); }
.mega strong { display: block; font-size: 15px; font-weight: 600; }
.mega span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega .icon { width: 32px; height: 32px; }
.mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 8px; padding: 12px 12px 4px; display: flex; justify-content: space-between; font-size: 14px; }
.mega__foot a { display: inline; padding: 0; color: var(--bronze-ink); font-weight: 600; }
.mega__foot a:hover { background: none; text-decoration: underline; }

.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; font: 500 14px var(--body); color: var(--iron); cursor: pointer; }

/* Icons */
.icon { width: 40px; height: 40px; color: var(--bronze); flex-shrink: 0; }
.icon svg { width: 100%; height: 100%; }
.icon--tile { width: 48px; height: 48px; padding: 10px; background: var(--bronze-soft); border-radius: 6px; }

/* ==========================================================================
   Breadcrumb & page hero
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font: 500 13px var(--mono); color: var(--muted); margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--iron); text-decoration: underline; }
.hero--iron .crumbs { color: var(--muted-dark); }
.hero--iron .crumbs a:hover { color: var(--paper); }

.hero { padding: 88px 0 104px; }
.hero--page { padding: 64px 0 88px; border-bottom: 1px solid var(--line); }
.hero--iron { background: var(--iron); color: var(--steel); border-bottom: 0; }
.hero--iron .lede { color: var(--muted-dark); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero__grid--single { grid-template-columns: 1fr; max-width: 860px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 74px); font-weight: 800; max-width: 13ch; }
.hero--page h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: 18ch; }
.lede { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 52ch; }
.hero__note { margin-top: 20px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.hero--iron .hero__note { color: var(--muted-dark); }

/* ==========================================================================
   Signature: finding card / timeline card
   ========================================================================== */
.finding {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(22,24,29,.04), 0 28px 56px -28px rgba(22,24,29,.35);
  overflow: hidden;
  font-size: 15px;
  color: var(--iron);
}
.hero--iron .finding { border-color: var(--iron-line); }
.finding__bar {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 18px;
  background: var(--iron); color: var(--steel-2);
  font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.hero--iron .finding__bar { background: var(--iron-3); }
.finding__body { padding: 22px 22px 18px; display: grid; gap: 16px; }
.finding__body > * { min-width: 0; }
.finding--animate .finding__body > * { opacity: 0; transform: translateY(6px); animation: rise .45s ease forwards; }
.finding--animate .finding__body > *:nth-child(1) { animation-delay: .15s; }
.finding--animate .finding__body > *:nth-child(2) { animation-delay: .3s; }
.finding--animate .finding__body > *:nth-child(3) { animation-delay: .45s; }
.finding--animate .finding__body > *:nth-child(4) { animation-delay: .65s; }
.finding--animate .finding__body > *:nth-child(5) { animation-delay: .85s; }
.finding--animate .finding__body > *:nth-child(6) { animation-delay: 1.15s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.finding__sev { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.finding__title { font-size: 21px; font-weight: 700; font-stretch: 112%; line-height: 1.22; }
.finding__meta { margin: 0; display: grid; gap: 8px; }
.finding__meta div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; }
.finding__meta dt { font: 500 12px/1.9 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.finding__meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.finding__poc {
  margin: 0; padding: 14px 16px;
  background: var(--iron); color: #cfd4db;
  border-radius: var(--radius);
  font-size: 12.5px; line-height: 1.7;
  overflow-x: auto; white-space: pre;
}
.finding__poc .c { color: var(--bronze); }
.finding__poc mark { background: rgba(176,112,44,.32); color: #fff; padding: 0 2px; }
.finding__fix { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.label { font: 500 12px/1.9 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--patina); }
.finding__status { display: flex; align-items: center; gap: 8px; font: 500 13px var(--mono); color: var(--patina); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--patina); flex-shrink: 0; }

.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 58px 14px 1fr; gap: 12px; padding-bottom: 14px; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 76px; top: 16px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline time { font: 500 12.5px/1.6 var(--mono); color: var(--muted); }
.timeline i { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--steel-2); border: 2px solid var(--muted); }
.timeline i.t-bad { border-color: var(--blood); background: var(--blood); }
.timeline i.t-warn { border-color: var(--amber); background: var(--amber); }
.timeline i.t-ok { border-color: var(--patina); background: var(--patina); }
.timeline span { font-size: 14.5px; line-height: 1.5; }

.sev {
  display: inline-block;
  padding: 3px 8px;
  font: 600 11px/1.4 var(--mono);
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 2px; color: #fff; white-space: nowrap;
}
.sev--crit { background: var(--blood); }
.sev--high { background: var(--rust); }
.sev--med { background: var(--amber); }
.sev--low { background: var(--patina); }
.sev--info { background: #5d6673; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 112px 0; }
.section--tight { padding: 80px 0; }
.section--paper { background: var(--paper); }
.section--iron { background: var(--iron); color: var(--steel); }
.section--iron .section__lede, .section--iron .muted { color: var(--muted-dark); }
.section--rule { border-top: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section__head--split > div { max-width: 720px; }
.section h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.section__lede { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* Standards strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.strip__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.strip__label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; }
.strip li { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 15px; color: #3c424b; }

/* Service grid */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--steel);
  text-decoration: none;
  transition: background-color .2s ease;
}
.section--paper .svc { background: var(--paper); }
a.svc:hover, .section--paper a.svc:hover { background: #fff; }
.svc h3 { font-size: 21px; font-weight: 700; font-stretch: 112%; }
.svc p { color: var(--muted); font-size: 16px; }
.svc__std { margin-top: auto; padding-top: 14px; color: var(--bronze-ink); font: 500 12.5px var(--mono); letter-spacing: .02em; }
.svc__more { color: var(--iron); font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; }
a.svc:hover .svc__more { color: var(--bronze-ink); }

.ticks { list-style: none; display: grid; gap: 8px; font-size: 15.5px; }
.ticks li { padding-left: 20px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 2px; background: var(--bronze); }
.ticks--lg { font-size: 17px; gap: 12px; }

/* Generic card grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.section--paper .card { background: var(--steel); }
.section--iron .card { background: var(--iron-2); border-color: var(--iron-line); }
.card h3 { font-size: 19px; font-weight: 700; font-stretch: 112%; line-height: 1.2; }
.card p { color: var(--muted); font-size: 16px; }
.section--iron .card p { color: var(--muted-dark); }
.card .arrow-link { margin-top: auto; padding-top: 6px; }
a.card { text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--bronze); }

/* Feature rows (why us) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--iron-line); }
.pillar { padding: 32px 28px 0 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--iron-line); }
.pillar h3 { font-size: 20px; font-weight: 700; font-stretch: 112%; margin-bottom: 12px; color: var(--paper); }
.pillar p { color: var(--muted-dark); font-size: 15.5px; }
.pillar__kicker { font: 500 12px var(--mono); color: var(--bronze); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; display: block; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: 0.9fr 1.1fr; }
.split > * { min-width: 0; }

/* Report anatomy */
.report { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 28px 56px -28px rgba(22,24,29,.35); overflow: hidden; }
.report__cover { background: var(--iron); color: var(--paper); padding: 28px; display: grid; gap: 6px; }
.report__cover small { font: 500 12px var(--mono); color: var(--bronze); text-transform: uppercase; letter-spacing: .08em; }
.report__cover strong { font-family: var(--display); font-stretch: 112%; font-size: 22px; }
.report__cover span { font: 400 13px var(--mono); color: var(--muted-dark); }
.report__sev { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.report__sev div { padding: 16px 12px; text-align: center; border-right: 1px solid var(--line); }
.report__sev div:last-child { border-right: 0; }
.report__sev b { display: block; font-family: var(--display); font-size: 26px; font-stretch: 112%; }
.report__sev .sev { margin-top: 6px; font-size: 10px; }
.report__toc { list-style: none; padding: 18px 28px 24px; display: grid; gap: 0; }
.report__toc li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.report__toc li:last-child { border-bottom: 0; }
.report__toc span:last-child { font: 400 13px var(--mono); color: var(--muted); }

/* Process (a real sequence → numbered) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.steps--6 { grid-template-columns: repeat(6, 1fr); }
.step { counter-increment: step; padding: 0 24px 0 0; position: relative; }
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 36px; height: 36px; margin-bottom: 22px;
  border: 1px solid var(--bronze); border-radius: 50%;
  font: 500 14px var(--mono); color: var(--bronze);
  background: var(--steel); position: relative; z-index: 1;
}
.section--iron .step::before { background: var(--iron); }
.section--paper .step::before { background: var(--paper); }
.step::after { content: ""; position: absolute; top: 18px; left: 36px; right: 0; height: 1px; background: rgba(176,112,44,.4); }
.step:last-child::after { display: none; }
.step h3 { font-size: 19px; font-weight: 700; font-stretch: 112%; margin-bottom: 10px; }
.section--iron .step h3 { color: var(--paper); }
.step p { font-size: 15px; color: var(--muted); }
.section--iron .step p { color: var(--muted-dark); }

/* Vertical phases (methodology, service pages) */
.phases { list-style: none; counter-reset: phase; display: grid; gap: 0; }
.phase { counter-increment: phase; display: grid; grid-template-columns: 72px 1fr 1.2fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.section--iron .phase { border-color: var(--iron-line); }
.phase::before { content: counter(phase, decimal-leading-zero); font: 500 15px var(--mono); color: var(--bronze); padding-top: 4px; }
.phase h3 { font-size: 22px; font-weight: 700; font-stretch: 112%; }
.phase p { color: var(--muted); }
.section--iron .phase p { color: var(--muted-dark); }
.phase .ticks { margin-top: 12px; }

/* Definition list blocks */
.deflist { display: grid; gap: 0; }
.deflist > div { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.deflist dt { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 18px; line-height: 1.3; }
.deflist dd { margin: 0; color: var(--muted); }
.deflist dd p + p { margin-top: 10px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--steel); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; white-space: nowrap; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { font: 500 13px var(--mono); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.section--iron .chips li { background: var(--iron-2); border-color: var(--iron-line); color: var(--steel-2); }

/* Models (black/grey/white box) */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--paper); }
.model { padding: 28px; border-right: 1px solid var(--line); }
.model:last-child { border-right: 0; }
.model__swatch { width: 28px; height: 28px; border-radius: 4px; border: 1px solid var(--line); margin-bottom: 18px; }
.model h3 { font-size: 19px; font-weight: 700; font-stretch: 112%; margin-bottom: 8px; }
.model p { font-size: 15.5px; color: var(--muted); }

/* Accordion */
.faq { display: grid; border-top: 1px solid var(--line); }
.section--iron .faq { border-color: var(--iron-line); }
.faq details { border-bottom: 1px solid var(--line); }
.section--iron .faq details { border-color: var(--iron-line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 18px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--bronze); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq .faq__a { padding: 0 48px 24px 0; color: var(--muted); max-width: 72ch; }
.section--iron .faq .faq__a { color: var(--muted-dark); }
.faq .faq__a p + p { margin-top: 10px; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: 26px !important; margin-bottom: 20px; }

/* OSINT panel */
.osint__panel { background: var(--iron); color: #cfd4db; border-radius: 6px; padding: 22px; box-shadow: 0 28px 56px -28px rgba(22,24,29,.45); }
.section--iron .osint__panel { background: var(--iron-2); border: 1px solid var(--iron-line); }
.osint__query { padding: 12px 14px; border: 1px solid #3a3f48; border-radius: var(--radius); margin-bottom: 14px; color: var(--paper); font: 400 13.5px var(--mono); }
.osint__query .c { color: var(--bronze); margin-right: 8px; }
.osint__rows { list-style: none; display: grid; gap: 2px; font: 400 13px/1.5 var(--mono); }
.osint__rows li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #2c3038; }
.osint__rows li:last-child { border-bottom: 0; }
.osint__rows .sev { min-width: 72px; text-align: center; }

/* Industry tiles */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.industry { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.industry h3 { font-size: 19px; font-weight: 700; font-stretch: 112%; }
.industry p { font-size: 15.5px; color: var(--muted); }
.industry .chips { margin-top: auto; padding-top: 8px; }
.industry .chips li { font-size: 11.5px; padding: 4px 8px; background: var(--steel); }

/* Prose (legal pages) */
.prose { max-width: 72ch; }
.prose h2 { font-size: 26px !important; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; font-stretch: 112%; }
.prose p, .prose li { color: #343941; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 6px; }
.prose a { color: var(--bronze-ink); }
.prose .updated { font: 500 13px var(--mono); color: var(--muted); }

/* Callout */
.callout { border-left: 3px solid var(--bronze); background: var(--paper); padding: 20px 24px; border-radius: 0 6px 6px 0; font-size: 16px; color: #343941; }
.section--paper .callout { background: var(--steel); }
.callout strong { color: var(--iron); }

/* CTA band */
.cta-band { background: var(--iron); color: var(--steel); padding: 96px 0; border-top: 1px solid var(--iron-line); }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.cta-band h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; max-width: 16ch; }
.cta-band p { color: var(--muted-dark); font-size: 18px; margin-top: 18px; max-width: 48ch; }
.cta-band .btn-row { margin-top: 0; justify-content: flex-end; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact > * { min-width: 0; }
.contact__list { list-style: none; display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.contact__list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.contact__list small { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact__list a { font-weight: 600; text-decoration: none; color: var(--bronze-ink); }
.contact__list a:hover { text-decoration: underline; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--iron); color: var(--steel); padding: 32px; border-radius: 6px; }
.form > * { min-width: 0; }
.form h2 { grid-column: 1 / -1; font-size: 24px !important; margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field--full, .form__error, .form__actions { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--steel-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--iron-2); color: var(--paper);
  border: 1px solid #3a3f48; border-radius: var(--radius);
  font: 400 16px var(--body);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(176,112,44,.25); }
.field [aria-invalid="true"] { border-color: #d0574a; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 4px; }
.checks label { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--steel); cursor: pointer; }
.checks input { width: 16px; height: 16px; accent-color: var(--bronze); }
.hint { font-size: 13px; color: #8a919c; }
.form__error { color: #f0a59b; font-size: 14px; }
.form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__actions .hint { flex: 1; min-width: 200px; }

/* Footer */
.footer { background: var(--iron); color: var(--muted-dark); padding: 72px 0 32px; font-size: 15px; border-top: 1px solid var(--iron-line); }
.footer .brand { color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.footer__about p { margin-top: 16px; max-width: 34ch; font-size: 15px; }
.footer h2 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--bronze); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--iron-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.footer__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound code { font-size: 15px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    background: var(--steel); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
  }
  .nav__menu > li { border-bottom: 1px solid var(--line); }
  .nav__menu > li:last-child { border-bottom: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 16px; }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--bronze-ink); }
  .mega, .mega--small { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; background: transparent; }
  .mega.is-open { grid-template-columns: 1fr; }
  .mega a { padding: 10px 0; }
  .mega a:hover { background: none; }
  .mega span { display: none; }
  .mega__foot { padding: 12px 0 0; }
  .nav__cta { margin: 16px 0 0; }
  .nav__cta .btn { width: 100%; }

  .hero__grid, .split, .split--wide, .contact, .cta-band__inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .services, .grid--3, .industries { grid-template-columns: repeat(2, 1fr); }
  .grid--4, .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar, .pillar + .pillar { padding: 28px 24px 28px 0; border-left: 0; border-bottom: 1px solid var(--iron-line); }
  .pillar:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--iron-line); }
  .steps, .steps--6 { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 36px 1fr; column-gap: 20px; padding: 0; }
  .step::before { margin: 0; grid-row: span 2; }
  .step::after { top: 36px; bottom: -28px; left: 18px; right: auto; width: 1px; height: auto; }
  .phase { grid-template-columns: 48px 1fr; gap: 12px 20px; }
  .phase > :last-child { grid-column: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav.is-open .nav__menu { padding: 8px 16px 24px; }
  .hero { padding: 56px 0 72px; }
  .hero--page { padding: 40px 0 64px; }
  .section { padding: 80px 0; }
  .section--tight { padding: 56px 0; }
  .section__head { margin-bottom: 40px; }
  .services, .grid--2, .grid--3, .grid--4, .industries, .pillars, .models { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar, .pillar:nth-child(even) { padding: 24px 0; border-left: 0; }
  .model { border-right: 0; border-bottom: 1px solid var(--line); }
  .model:last-child { border-bottom: 0; }
  .deflist > div { grid-template-columns: 1fr; gap: 8px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .checks { grid-template-columns: 1fr; }
  .finding__meta div, .finding__fix { grid-template-columns: 1fr; gap: 2px; }
  .report__sev b { font-size: 20px; }
  .report__sev .sev { font-size: 8.5px; padding: 2px 4px; letter-spacing: .04em; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .faq .faq__a { padding-right: 0; }
  .cta-band { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .finding--animate .finding__body > * { animation: none; opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; }
}

/* Compact vertical steps (contact page) */
.steps.steps--compact { grid-template-columns: 1fr; gap: 20px; }
.steps--compact .step { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; padding: 0; }
.steps--compact .step::before { margin: 0; grid-row: span 2; }
.steps--compact .step::after { top: 36px; bottom: -20px; left: 18px; right: auto; width: 1px; height: auto; }
.steps--compact .step h3 { font-size: 17px; margin-bottom: 4px; }
