/* sentinelcyber.io
   Palantir severity (pure black and white, very large wide type, hairlines, empty space)
   plus one retro-futurist instrument. Amber = live telemetry only. Ion blue = Aegis only. */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --black: #000000;
  --white: #FFFFFF;
  --hair-dark: #262626;
  --hair-light: #D9D9D9;
  --dim-on-black: #8F8F8F;
  --dim-on-white: #5A5A5A;
  --soft-on-black: #BDBDBD;
  --soft-on-white: #2B2B2B;
  --phosphor: #FFB000;
  --ion: #8DB6FF;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--body); font-size: 18px; line-height: 1.55; font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 400; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.dim { color: var(--dim-on-black); }
.on-white { background: var(--white); color: var(--black); color-scheme: light; }
.on-white .dim { color: var(--dim-on-white); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--black); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair-dark); }
.nav__inner { max-width: calc(var(--maxw) + 2 * 72px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gutter); }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark svg { width: 22px; height: 22px; flex: none; }
.wordmark span { font-variation-settings: "wdth" 125; font-weight: 600; font-size: 16px; letter-spacing: 0.32em; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--dim-on-black); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--white); }
.nav-aegis { display: inline-flex; align-items: center; gap: 8px; }
.nav-aegis svg { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; font: 500 15px/1 var(--body); text-decoration: none; border: 1px solid var(--white); background: var(--white); color: var(--black); cursor: pointer; }
.btn:hover { background: var(--black); color: var(--white); }
.btn--line { background: transparent; color: var(--white); }
.btn--line:hover { background: var(--white); color: var(--black); }
.btn--ion { background: var(--ion); border-color: var(--ion); color: var(--black); }
.btn--ion:hover { background: var(--black); color: var(--ion); }
.on-white .btn { border-color: var(--black); background: var(--black); color: var(--white); }
.on-white .btn:hover { background: var(--white); color: var(--black); }
.on-white .btn--line { background: transparent; color: var(--black); }
.on-white .btn--line:hover { background: var(--black); color: var(--white); }
.nav .btn { padding: 10px 18px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Home hero ---------- */
.hero { padding: 96px 0 0; }
.hero h1 { font-size: clamp(48px, 8.4vw, 132px); line-height: 0.94; letter-spacing: -0.035em; font-variation-settings: "wdth" 125; font-weight: 300; max-width: 12ch; }
.hero__row { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.hero__lede { max-width: 56ch; font-size: 20px; color: #CFCFCF; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 104px 0 88px; border-bottom: 1px solid var(--hair-dark); }
.page-hero__kicker { display: flex; align-items: center; gap: 12px; color: var(--dim-on-black); font-size: 15px; }
.page-hero h1 { margin-top: 28px; font-size: clamp(44px, 7vw, 104px); line-height: 0.96; letter-spacing: -0.03em; font-variation-settings: "wdth" 125; font-weight: 300; max-width: 15ch; }
.page-hero p.lede { margin-top: 32px; max-width: 60ch; font-size: 20px; color: #CFCFCF; }
.page-hero .cta-row { margin-top: 36px; }
.page-hero--aegis { border-top: 1px solid var(--ion); border-bottom-color: var(--hair-dark); background: linear-gradient(180deg, #02050b 0%, #000 360px); }

/* ---------- Concordance scope ---------- */
.scope { position: relative; margin-top: 72px; border-top: 1px solid var(--hair-dark); border-bottom: 1px solid var(--hair-dark); display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 460px; }
.scope__screen { position: relative; overflow: hidden; background: radial-gradient(ellipse 80% 90% at 45% 50%, #0b0802 0%, #000 70%); }
.scope__screen canvas { display: block; width: 100%; height: 100%; min-height: 460px; }
.scope__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px); mix-blend-mode: screen; }
.scope__panel { border-left: 1px solid var(--hair-dark); padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; font-family: var(--mono); font-size: 13px; }
.readout { display: grid; gap: 4px; }
.readout dt { color: var(--dim-on-black); }
.readout dd { color: var(--phosphor); font-size: 15px; font-variant-numeric: tabular-nums; text-shadow: 0 0 8px rgba(255, 176, 0, 0.45); }
.readout dd.big { font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.readout dd.white { color: var(--white); text-shadow: none; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 8px; height: 8px; background: var(--phosphor); display: inline-block; }
.status.ok i { background: var(--white); }
.scope__note { margin-top: auto; color: var(--dim-on-black); font-size: 12px; line-height: 1.5; }
.scope__legend { position: absolute; left: 20px; bottom: 16px; display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--dim-on-black); }
.scope__legend span { display: inline-flex; align-items: center; gap: 8px; }
.swatch-line { width: 22px; height: 0; border-top: 2px solid var(--white); display: inline-block; }
.swatch-dash { width: 22px; height: 0; border-top: 1px dashed #666; display: inline-block; }
.swatch-dot { width: 6px; height: 6px; background: var(--phosphor); display: inline-block; box-shadow: 0 0 6px var(--phosphor); }

/* ---------- Statement ---------- */
.statement { padding: 120px 0; }
.statement p.big { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -0.025em; font-variation-settings: "wdth" 112; font-weight: 300; max-width: 22ch; }
.statement__fact { margin-top: 64px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: start; border-top: 1px solid var(--hair-light); padding-top: 28px; }
.statement__num { font-size: clamp(56px, 7vw, 96px); line-height: 0.9; font-variation-settings: "wdth" 125; font-weight: 200; letter-spacing: -0.03em; }
.statement__fact p { max-width: 58ch; }
.statement__fact a { color: var(--dim-on-white); }

/* ---------- Generic blocks ---------- */
.block { padding: 120px 0; }
.block--tight { padding: 88px 0; }
.block--rule { border-top: 1px solid var(--hair-dark); }
.block__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.block__head h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; font-variation-settings: "wdth" 125; font-weight: 300; }
.block__head h2.mid { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.05; }
.block__head p { max-width: 52ch; }
.block__more { margin-top: 48px; }
.on-white .block__head p, .on-white .soft { color: var(--soft-on-white); }

/* Three-step pipeline */
.pipeline { margin-top: 72px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair-light); }
.pipeline > li { list-style: none; padding: 32px 32px 0 0; }
.pipeline > li + li { padding-left: 32px; border-left: 1px solid var(--hair-light); }
.step { font-family: var(--mono); font-size: 13px; color: var(--dim-on-white); }
.pipeline h3 { margin-top: 28px; font-size: 30px; line-height: 1.1; font-variation-settings: "wdth" 125; font-weight: 400; letter-spacing: -0.01em; }
.pipeline p { margin-top: 14px; color: var(--soft-on-white); }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.chips li { list-style: none; font-family: var(--mono); font-size: 12px; border: 1px solid var(--hair-light); padding: 4px 8px; }

/* Attestation specimen */
.specimen { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); margin-top: 72px; border-top: 1px solid var(--hair-dark); border-bottom: 1px solid var(--hair-dark); }
.specimen pre, .code { margin: 0; padding: 36px 36px 36px 0; font-family: var(--mono); font-size: 14px; line-height: 1.75; color: #D6D6D6; overflow-x: auto; }
.code .k { color: var(--dim-on-black); }
.code .v { color: var(--white); }
.code .p { color: var(--phosphor); }
.specimen__notes { border-left: 1px solid var(--hair-dark); padding: 36px 0 36px 36px; display: grid; gap: 26px; align-content: start; }
.specimen__notes h3 { font-size: 20px; font-weight: 500; }
.specimen__notes p { margin-top: 6px; color: var(--soft-on-black); font-size: 16px; }

/* Two-up grid with hairlines (Aegis pillars, failure modes) */
.grid2 { margin-top: 72px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--hair-dark); }
.grid2 > div { padding: 40px 40px 48px 0; border-bottom: 1px solid var(--hair-dark); }
.grid2 > div:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--hair-dark); }
.grid2 h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; font-variation-settings: "wdth" 125; font-weight: 300; letter-spacing: -0.015em; }
.grid2 p { margin-top: 14px; max-width: 46ch; color: var(--soft-on-black); }
.equation { margin-top: 48px; font-family: var(--mono); font-size: 14px; color: var(--dim-on-black); max-width: 70ch; }
.equation b { color: var(--white); font-weight: 500; }

/* Three columns with hairlines */
.cols3 { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair-light); }
.cols3 > div { padding: 28px 28px 0 0; }
.cols3 > div + div { padding-left: 28px; border-left: 1px solid var(--hair-light); }
.cols3 h3 { font-size: 24px; font-variation-settings: "wdth" 112; font-weight: 500; }
.cols3 p { margin-top: 10px; color: var(--soft-on-white); }
.cols3--dark { border-top-color: var(--hair-dark); }
.cols3--dark > div + div { border-left-color: var(--hair-dark); }
.cols3--dark p { color: var(--soft-on-black); }

/* Aegis lockup and tiers */
.aegis-section { border-top: 1px solid var(--ion); background: linear-gradient(180deg, #02050b 0%, #000 320px); }
.aegis-lockup { display: flex; align-items: center; gap: 20px; }
.aegis-lockup svg { width: 56px; height: 56px; flex: none; }
.aegis-word { display: block; font-variation-settings: "wdth" 125; font-weight: 600; font-size: 22px; letter-spacing: 0.34em; }
.aegis-sub { display: block; margin-top: 4px; font-size: 15px; color: var(--ion); }
.aegis-section .block__head { margin-top: 56px; }

/* Tables */
.table-scroll { overflow-x: auto; }
.table { margin-top: 64px; width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 16px 24px 16px 0; border-bottom: 1px solid var(--hair-dark); }
.table thead th { font-weight: 500; font-size: 15px; color: var(--dim-on-black); }
.table tbody th { font-weight: 400; color: var(--white); }
.table td { color: var(--soft-on-black); }
.table td.no { color: #7d7d7d; }
.table td.ion, .table thead th.ion { color: var(--ion); }
.table code { font-family: var(--mono); font-size: 14px; color: var(--white); }
.on-white .table th, .on-white .table td { border-bottom-color: var(--hair-light); }
.on-white .table tbody th { color: var(--black); }
.on-white .table td { color: var(--soft-on-white); }
.on-white .table thead th { color: var(--dim-on-white); }
.table-note { margin-top: 20px; font-size: 15px; color: var(--dim-on-black); max-width: 70ch; }

/* Numbered steps (true sequences only) */
.steps { margin-top: 56px; padding: 0; display: grid; border-top: 1px solid var(--hair-dark); counter-reset: s; }
.steps li { list-style: none; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--hair-dark); counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--mono); font-size: 13px; color: var(--dim-on-black); padding-top: 5px; }
.steps h3 { font-size: 22px; font-weight: 500; }
.steps p { margin-top: 6px; color: var(--soft-on-black); max-width: 68ch; }
.on-white .steps { border-top-color: var(--hair-light); }
.on-white .steps li { border-bottom-color: var(--hair-light); }
.on-white .steps li::before { color: var(--dim-on-white); }
.on-white .steps p { color: var(--soft-on-white); }

/* Prose */
.prose { max-width: 68ch; display: grid; gap: 18px; }
.prose h2 { margin-top: 28px; font-size: 30px; font-variation-settings: "wdth" 112; font-weight: 500; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--soft-on-black); }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.prose a { color: var(--white); }
.prose code { font-family: var(--mono); font-size: 15px; color: var(--white); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
.split h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; font-variation-settings: "wdth" 125; font-weight: 300; }

/* Sources list (research) */
.sources { margin-top: 48px; padding: 0; display: grid; border-top: 1px solid var(--hair-light); }
.sources li { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--hair-light); }
.sources h3 { font-size: 20px; font-weight: 500; }
.sources p { color: var(--soft-on-white); }
.sources a { color: var(--dim-on-white); font-size: 15px; }

/* ---------- Partner form ---------- */
.partners { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.partners h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; font-variation-settings: "wdth" 125; font-weight: 300; }
.terms { margin-top: 32px; border-top: 1px solid var(--hair-dark); }
.terms div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair-dark); }
.terms dt { font-family: var(--mono); font-size: 13px; color: var(--dim-on-black); padding-top: 3px; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--dim-on-black); }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--body); color: var(--white); background: var(--black); border: 0; border-bottom: 1px solid #444; padding: 10px 0; border-radius: 0; color-scheme: dark; }
.field select option { background: var(--black); color: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--phosphor); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { font-size: 14px; color: var(--dim-on-black); }
.form__status { font-family: var(--mono); font-size: 13px; color: var(--phosphor); min-height: 1.4em; }
.form__status.err { color: #FF8A7A; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- CTA band ---------- */
.band { padding: 96px 0; border-top: 1px solid var(--hair-dark); }
.band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.band h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.025em; font-variation-settings: "wdth" 125; font-weight: 300; max-width: 18ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hair-dark); padding: 48px 0 40px; font-size: 14px; color: var(--dim-on-black); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer__links { display: grid; gap: 8px; align-content: start; }
.footer__links a { color: var(--soft-on-black); text-decoration: none; }
.footer__links a:hover { color: var(--white); }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hair-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a.u { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .scope { grid-template-columns: 1fr; }
  .scope__panel { border-left: 0; border-top: 1px solid var(--hair-dark); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope__note { grid-column: 1 / -1; }
  .hero__row, .block__head, .partners, .specimen, .split, .band__inner { grid-template-columns: 1fr; }
  .specimen pre { padding-right: 0; }
  .specimen__notes { border-left: 0; border-top: 1px solid var(--hair-dark); padding-left: 0; }
  .pipeline, .cols3 { grid-template-columns: 1fr; }
  .pipeline > li + li, .cols3 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair-light); margin-top: 28px; }
  .cols3--dark > div + div { border-top-color: var(--hair-dark); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .sources li { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 720px) {
  .nav__links { gap: 16px; font-size: 14px; }
  .nav__links a[href="/evidence"] { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .grid2 > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .statement__fact { grid-template-columns: 1fr; gap: 16px; }
  .scope__panel { grid-template-columns: 1fr; }
  .terms div { grid-template-columns: 1fr; gap: 4px; }
  .nav .btn { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 480px) {
  .wordmark span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Utilities and modifiers ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.block--rule-light { border-top: 1px solid var(--hair-light); }
.partners__title { margin-top: 28px; font-size: clamp(40px, 5.4vw, 80px); line-height: 0.98; letter-spacing: -0.03em; font-variation-settings: "wdth" 125; font-weight: 300; }
.cols3--flush, .steps--flush, .table--first { margin-top: 0; }
.cols3--flush { grid-template-columns: 1fr; }
.cols3--flush > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair-light); margin-top: 0; }
.cols3--flush > div { padding: 24px 0; }
.swatch-bell { width: 14px; height: 14px; display: inline-block; filter: drop-shadow(0 0 4px rgba(255, 176, 0, 0.7)); }
