﻿/* ============================================================================
   ATOM CYBERSECURITY — atomcybersecurity.com (Commercial MSSP)
   Design language: "Precision Fortification" — dark, high-tech, cyan accent.
   ----------------------------------------------------------------------------
   Dark theme. Near-black background, electric-cyan accent, monospace (JetBrains
   Mono) headings + Inter Tight body. Motifs kept subtle (glow + hairlines; no
   moving scan-lines/data-streams) for a calm, enterprise feel.
   This file is COPIED to the /us site; only the DESIGN TOKENS block differs
   (deep navy + gold there). Keep everything else in sync.
   ========================================================================== */


/* ============================================================================
   1. DESIGN TOKENS  (the ONE place the theme is defined)
   ========================================================================== */
:root {
  /* --- Dark surfaces (near-black -> raised) --- */
  --navy-900: #080D1A;   /* darkest — footer, topbar, deep bands */
  --navy-800: #0F172A;   /* page background, hero, header */
  --navy-700: #1E293B;   /* surface — cards, inputs */
  --navy-600: #334155;   /* raised borders / dividers on surfaces */
  --steel-500: #64748B;  /* dim muted text */
  --steel-300: #94A3B8;  /* muted / caption text */

  /* --- Aliases used across the light-era rules, remapped to dark --- */
  --paper: #0F172A;      /* page background (now dark) */
  --paper-2: #131c30;    /* alternating band — subtly lighter than bg */
  --ink-900: #F8FAFC;    /* primary text (now light) */
  --ink-600: #C3CAD6;    /* secondary body text (light gray) */
  --ink-400: #94A3B8;    /* meta / dim text */
  --line: rgba(248,250,252,0.08);  /* hairline rules on dark */

  /* --- Accent: electric cyan (the .us site overrides this to gold) --- */
  --accent: #EAB308;
  --accent-bright: #FACC15;   /* hover / highlight */
  --accent-dim: #EAB308;      /* labels / small accents (readable on dark) */
  --line-strong: rgba(234,179,8,0.35);  /* glowing hairline */
  --glow: rgba(234,179,8,0.18);          /* soft accent glow */
  --accent-soft: rgba(234,179,8,0.12);   /* accent tint (focus rings, chips) */

  --signal-live: #4ade80;    /* "SOC online" green */

  /* --- Typography: monospace display + Inter Tight body --- */
  --font-serif: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace; /* headings/display */
  --font-sans:  "Inter Tight", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* body */
  --font-mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace; /* labels/eyebrows */

  /* --- Spacing scale (8px base) --- */
  --space-1: 0.5rem;  --space-2: 1rem;   --space-3: 1.5rem;  --space-4: 2rem;
  --space-5: 3rem;    --space-6: 4.5rem; --space-7: 7rem;

  --max-width: 1200px;
  --radius: 8px;
  --header-h: 76px;
  --topbar-h: 34px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 24px 60px -24px rgba(0,0,0,0.8);
}


/* ============================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h));
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--navy-800); }  /* accent text selection */


/* ============================================================================
   3. TYPOGRAPHY  (monospace headings on dark)
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink-900);          /* light headings on dark */
}
/* Mono is wider than a sans, so headline sizes are a touch smaller than a sans design. */
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; color: var(--ink-900); }

p { color: var(--ink-600); max-width: 68ch; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
strong { color: var(--ink-900); font-weight: 600; }

/* "Eyebrow": mono uppercase kicker with a leading accent tick */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-dim);
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: var(--space-2);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); box-shadow: 0 0 8px var(--glow); }

.lead { font-size: 1.25rem; color: var(--ink-600); line-height: 1.55; }


/* ============================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================== */
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--space-3); }
.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-5); }

/* Alternating bands are subtle shifts of dark now */
.band-paper2 { background: var(--paper-2); }
.band-navy { background: var(--navy-900); color: var(--steel-300); }
.band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }

.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-6); align-items: center; }


/* ============================================================================
   5. COMPONENTS
   ========================================================================== */

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.2s var(--ease); white-space: nowrap;
}
/* Primary = solid accent with dark text + soft glow (the main action) */
.btn--primary { background: var(--accent); color: var(--navy-800); box-shadow: 0 0 24px -6px var(--glow); }
.btn--primary:hover { background: var(--accent-bright); transform: translateY(-1px); box-shadow: 0 0 32px -4px var(--glow); }
/* Ghost = hairline outline on dark */
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
/* Outline (alias for ghost on this dark theme) */
.btn--outline { background: transparent; color: var(--ink-900); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Text link with accent underline ------------------------------------- */
.link-arrow {
  font-weight: 600; color: var(--ink-900);
  display: inline-flex; align-items: center; gap: 0.4rem;
  border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
.link-arrow:hover { color: var(--accent); gap: 0.7rem; transition: gap 0.2s var(--ease); }

/* ---- Cards (dark surface + hairline; accent glow on hover) --------------- */
.card {
  background: var(--navy-700);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-md), 0 0 30px -12px var(--glow); }

.card--marked { position: relative; overflow: hidden; }
.card--marked::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); box-shadow: 0 0 12px var(--glow);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.card--marked:hover::before { transform: scaleX(1); }

.card-index { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-dim); letter-spacing: 0.1em; }

/* ---- Badge / pill -------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border: 1px solid var(--line); border-radius: 100px; color: var(--steel-300);
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal-live);
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ---- Site header / navigation ------------------------------------------- */
.site-header {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  background: rgba(10,10,11,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: background 0.3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.brand-name b { color: var(--accent); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--steel-300); font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a.is-active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s var(--ease); }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--steel-500); padding-block: var(--space-6) var(--space-4); border-top: 1px solid var(--line); }
.site-footer a { color: var(--steel-300); }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-4); }
.footer-col h5 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); margin-bottom: var(--space-2); }
.footer-col a { display: block; padding: 0.3rem 0; font-size: 0.92rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--line); font-size: 0.82rem; }

/* ---- Forms --------------------------------------------------------------- */
.form-field { margin-bottom: var(--space-3); }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--ink-900); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 1rem;
  padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--navy-700); color: var(--ink-900);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--steel-500); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft, rgba(234,179,8,0.15));
}
.form-field textarea { min-height: 140px; resize: vertical; }


/* ============================================================================
   6. PAGE-SPECIFIC SECTIONS
   ========================================================================== */

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; color: #fff;
  /* Hero photo dimmed with per-site gradients so the headline stays legible */
  background:
    linear-gradient(90deg, var(--navy-800) 0%, transparent 52%, var(--navy-800) 100%),
    linear-gradient(180deg, transparent 38%, var(--navy-800) 92%),
    var(--navy-800) url('../img/hero.webp') center / cover no-repeat;
  padding-top: calc(var(--topbar-h) + var(--header-h) + var(--space-6));
  padding-bottom: var(--space-7); overflow: hidden;
}
/* Faint tech grid + a single soft accent glow bloom (subtle, no motion) */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 72% 28%, #000 18%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; top: -10%; right: -5%; width: 45%; height: 120%;
  background: radial-gradient(circle at center, var(--glow), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: var(--space-3); }
.hero .lead { color: var(--steel-300); margin-bottom: var(--space-4); }
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* ---- Stat bar ------------------------------------------------------------ */
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); border-top: 1px solid var(--line); margin-top: var(--space-6); padding-top: var(--space-4); }
.stat .num { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat .label { font-size: 0.85rem; color: var(--steel-500); margin-top: 0.4rem; }

/* ---- Logo/partner wall --------------------------------------------------- */
.logo-wall { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: center; }
.logo-wall span { font-family: var(--font-mono); font-size: 0.95rem; letter-spacing: 0.06em; color: var(--ink-400); }

/* ---- Section head + tick list ------------------------------------------- */
.section-head { max-width: 60ch; margin-bottom: var(--space-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.ticklist { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.ticklist li { position: relative; padding-left: 1.9rem; color: var(--ink-600); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { background: var(--navy-900); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 2px; background: var(--accent); box-shadow: 0 0 14px var(--glow); }
.cta-band h2 { color: #fff; }

/* ---- Vendor/solution tile ------------------------------------------------ */
.vendor-tile { display: flex; flex-direction: column; gap: var(--space-1); }
.vendor-tile .vendor-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; color: #fff; }
.vendor-tile .vendor-cat { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-dim); }

/* ---- .us COMPLIANCE HELPERS (shared so both stylesheets match) ----------- */
.compliance-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border: 1px solid var(--accent); border-radius: 2px;
  color: var(--accent-bright); background: var(--accent-soft, rgba(234,179,8,0.08));
}
.clause-ref { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-dim); background: var(--navy-700); border-left: 2px solid var(--accent); padding: 0.2rem 0.6rem; }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { list-style: none; position: relative; padding: 0 0 var(--space-4) var(--space-4); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--navy-800); box-shadow: 0 0 10px var(--glow); }
.timeline .phase-date { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-dim); letter-spacing: 0.06em; }


/* ============================================================================
   7. MOTION — scroll reveal + reduced-motion safety
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Subtle motif utilities (toned down — glow + hairline only) */
.atom-glow { box-shadow: 0 0 0 1px var(--line-strong), 0 0 36px -10px var(--glow); }
.hairline { border-width: 0.5px; }


/* ============================================================================
   8. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: calc(var(--topbar-h) + var(--header-h)); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy-800); border-bottom: 1px solid var(--line);
    padding: var(--space-2) var(--space-3);
    transform: translateY(-120%); transition: transform 0.3s var(--ease);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 0.9rem 0; width: 100%; border-bottom: 1px solid var(--navy-700); }
  .nav .btn { margin-top: var(--space-2); }
  .split, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-2); }
}
@media (max-width: 560px) {
  :root { --space-7: 4.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-bottom { flex-direction: column; gap: var(--space-2); text-align: center; }
  .statbar { grid-template-columns: 1fr 1fr; }
}


/* ============================================================================
   CLICKABLE STAT CARDS
   ========================================================================== */
.stat--link { text-decoration: none; color: inherit; display: block; border-radius: var(--radius); transition: transform 0.2s var(--ease); }
.stat--link:hover { transform: translateY(-2px); }
.stat--link:hover .num { color: var(--accent-bright); }
.stat-more { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-bright); margin-top: 0.5rem; opacity: 0.75; transition: opacity 0.2s var(--ease); }
.stat--link:hover .stat-more { opacity: 1; }


/* ============================================================================
   DARK-SECTION REINFORCEMENT (bands/hero/cta already dark; keep legible)
   ========================================================================== */
.hero .eyebrow, .band-navy .eyebrow, .cta-band .eyebrow { color: var(--accent); }
.band-navy p, .cta-band p { color: var(--steel-300); }
.band-navy .ticklist li, .cta-band .ticklist li { color: var(--steel-300); }
.band-navy .ticklist strong, .band-navy strong, .cta-band strong { color: #fff; }
.band-navy .link-arrow, .cta-band .link-arrow { color: var(--accent); border-color: var(--accent); }
.band-navy .card-index, .cta-band .card-index { color: var(--accent); }
.band-navy h4, .cta-band h4 { color: #fff; }


/* ============================================================================
   CROSS-SITE SWITCHER BAR
   ========================================================================== */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: var(--topbar-h); background: var(--navy-900); border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.topbar-note { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-500); }
.site-switch { display: inline-flex; align-items: center; gap: 2px; background: var(--navy-700); border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.site-switch a { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; color: var(--steel-300); padding: 4px 12px; border-radius: 100px; white-space: nowrap; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.site-switch a:hover { color: #fff; }
.site-switch a.is-current { background: var(--accent); color: var(--navy-800); }


/* ============================================================================
   INFOGRAPHIC COMPONENTS (dark surfaces)
   ========================================================================== */
.ig { background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow-sm); }
.ig-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dim); margin-bottom: var(--space-3); }
.ig-flow { display: flex; gap: 0; }
.ig-flow .step { flex: 1 1 0; text-align: center; padding: 0 0.6rem; position: relative; }
.ig-flow .step .node { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 0.9rem; display: grid; place-items: center; background: var(--accent); color: var(--navy-800); font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; position: relative; z-index: 1; box-shadow: 0 0 18px -4px var(--glow); }
.ig-flow .step::before { content: ""; position: absolute; top: 23px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.ig-flow .step:first-child::before { display: none; }
.ig-flow .step h5 { font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--ink-900); }
.ig-flow .step p { font-size: 0.82rem; color: var(--ink-600); }
@media (max-width: 640px) { .ig-flow { flex-direction: column; gap: 1.4rem; } .ig-flow .step::before { display: none; } }
.ig-stack { display: grid; gap: 6px; }
.ig-stack .layer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.1rem; border-radius: 8px; background: var(--navy-700); color: #fff; border-left: 3px solid var(--accent); }
.ig-stack .layer:nth-child(even) { background: var(--navy-600); }
.ig-stack .layer .lyr-t { font-weight: 600; }
.ig-stack .layer .lyr-d { font-size: 0.8rem; color: var(--steel-300); text-align: right; }
.ig-ring { --pct: 75; width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--pct) * 1%), var(--navy-600) 0); display: grid; place-items: center; box-shadow: 0 0 30px -10px var(--glow); }
.ig-ring .ring-inner { width: 112px; height: 112px; border-radius: 50%; background: var(--navy-700); display: grid; place-items: center; text-align: center; }
.ig-ring .ring-val { font-family: var(--font-serif); font-weight: 700; font-size: 1.7rem; color: #fff; line-height: 1; }
.ig-ring .ring-lbl { font-size: 0.7rem; color: var(--ink-400); margin-top: 2px; }
.ig-bar { background: var(--navy-600); border-radius: 100px; height: 12px; overflow: hidden; }
.ig-bar > span { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); border-radius: 100px; }
.ig-matrix { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.ig-matrix th, .ig-matrix td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); text-align: center; }
.ig-matrix thead th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dim); }
.ig-matrix tbody th { text-align: left; font-weight: 600; color: var(--ink-900); }
.ig-matrix td { color: var(--ink-600); }
.ig-matrix .yes { color: var(--accent); font-weight: 700; }
.ig-matrix .no { color: var(--ink-400); }
.ig-families { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ig-families .fam { background: var(--navy-700); border: 1px solid var(--line); border-radius: 8px; padding: 0.7rem 0.8rem; }
.ig-families .fam .fam-n { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--accent-dim); display: block; margin-bottom: 2px; }
.ig-families .fam .fam-t { font-size: 0.85rem; font-weight: 600; color: var(--ink-900); }
/* band-navy variants (bands are near-black; nudge surfaces) */
.band-navy .ig, .band-navy .ig-families .fam { background: var(--navy-700); border-color: var(--line); }
.band-navy .ig-matrix tbody th { color: #fff; }


/* ============================================================================
   ARTICLE PROSE (readable long-form on dark)
   ========================================================================== */
.prose { color: var(--ink-600); }
.prose > * + * { margin-top: 1.15em; }
.prose > *:first-child { margin-top: 0; }
.prose p { line-height: 1.75; color: var(--ink-600); max-width: none; }
.prose strong { color: #fff; }
.prose h2 { margin-top: 2.4rem; padding-top: 0.2rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; color: #fff; }
.prose h3 { margin-top: 1.9rem; font-size: 1.2rem; line-height: 1.25; color: #fff; }
.prose ul, .prose ol { margin-top: 1.15em; }
.prose ul:not(.ticklist) { padding-left: 1.3rem; list-style: disc; }
.prose ol { padding-left: 1.3rem; list-style: decimal; }
.prose li { line-height: 1.7; }
.prose ul:not(.ticklist) li + li, .prose ol li + li { margin-top: 0.45rem; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.prose a:hover { color: var(--accent-bright); }
.prose h2 + *, .prose h3 + * { margin-top: 0.75em; }


/* ============================================================================
   SELF-HOSTED FONTS (latin subset WOFF2) — JetBrains Mono + Inter Tight.
   No external font requests (keeps CSP font-src 'self').
   ========================================================================== */
@font-face { font-family:'Inter Tight'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/intertight-400.woff2') format('woff2'); }
@font-face { font-family:'Inter Tight'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/intertight-500.woff2') format('woff2'); }
@font-face { font-family:'Inter Tight'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/intertight-600.woff2') format('woff2'); }
@font-face { font-family:'Inter Tight'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/intertight-700.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/jetbrainsmono-500.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/jetbrainsmono-600.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/jetbrainsmono-700.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/jetbrainsmono-800.woff2') format('woff2'); }


/* ============================================================================
   HOME-PAGE SECTION SIGNATURES ("Precision Fortification" style)
   Helpers for the ported home-page layout: code labels, hero badge, metric
   strip, accent keyword. Motion kept subtle (a single pulsing dot only).
   ========================================================================== */
/* "// 003 ---- SECTION LABEL" kicker */
.section-code { display: flex; align-items: center; gap: 0.75rem; margin-bottom: var(--space-3); font-family: var(--font-mono); font-size: 0.72rem; }
.section-code .code { color: var(--accent); letter-spacing: 0.06em; }
.section-code .rule { height: 1px; width: 32px; background: var(--line-strong); }
.section-code .label { color: var(--steel-300); text-transform: uppercase; letter-spacing: 0.2em; }

/* Hero badge pill with a slow pulsing dot */
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-300); border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.35rem 0.85rem; margin-bottom: var(--space-3); }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--glow); animation: pulse-dot 3s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* Accent keyword inside a headline */
.kw { color: var(--accent); }

/* Metric / stat strip — a row of big accent numbers under a rule */
.threat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); border-top: 1px solid var(--line); padding-top: var(--space-4); margin-top: var(--space-6); }
.threat-strip .n { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--accent); line-height: 1; }
.threat-strip .l { font-size: 0.9rem; color: var(--steel-300); margin-top: 0.4rem; }
@media (max-width: 700px) { .threat-strip { grid-template-columns: 1fr; gap: var(--space-3); } }

/* "Challenge -> Solution" pair used on the .us solutions section */
.cs-pair { display: grid; gap: var(--space-4); }
.cs-pair .cs-challenge, .cs-pair .cs-solution { padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-700); }
.cs-pair .cs-solution { background: var(--accent-soft); border-color: var(--line-strong); }
.cs-pair .cs-k { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel-300); }
.cs-pair .cs-solution .cs-k { color: var(--accent); }

