/* Precision Federal — shared styles */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
  /* light surfaces */
  --bg: #ffffff;
  --bg-elevated: #f8fafc;
  --bg-card: #f1f5f9;
  --bg-muted: #eef2f7;
  --border: #e2e8f0;
  --border-light: #cbd5e1;
  --border-strong: #94a3b8;

  /* dark surfaces */
  --ink: #06070a;
  --ink-2: #0c0f16;
  --ink-3: #131826;
  --ink-line: #1e2636;
  --ink-line-2: #2a3346;

  /* text */
  --text: #0a0f1c;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --text-invert: #f1f5f9;
  --text-invert-dim: #94a3b8;

  /* brand */
  --accent: #1d4ed8;
  --accent-bright: #3b82f6;
  --accent-dim: #1e3a8a;
  --accent-wash: rgba(59,130,246,.08);
  --accent-glow: rgba(59,130,246,.22);
  --violet: #7c3aed;
  --violet-bright: #a78bfa;
  --gold: #d97706;
  --gold-bright: #f59e0b;
  --gold-wash: rgba(245,158,11,.08);
  --green: #16a34a;
  --green-bright: #22c55e;
  --green-wash: rgba(34,197,94,.08);
  --red: #dc2626;
  --navy: #0b1220;

  /* type */
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* radii */
  --r-sm: 6px; --r: 10px; --r-lg: 14px; --r-xl: 20px;
}

/* Automatic night mode — follows user's OS/browser preference */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d14;
    --bg-elevated: #0f1320;
    --bg-card: #151a28;
    --bg-muted: #1a2030;
    --border: #1e2636;
    --border-light: #2a3346;
    --border-strong: #3d4a63;
    --text: #e6ebf5;
    --text-muted: #a3acc0;
    --text-dim: #6c7794;
    --text-invert: #0a0d14;
    --accent-wash: rgba(59,130,246,.14);
    --gold-wash: rgba(245,158,11,.12);
    --green-wash: rgba(34,197,94,.12);
  }
  img, .logo-mark { filter: brightness(.95) }
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale }
body { font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; font-feature-settings: "ss01","cv11" }
.mono { font-family: var(--font-mono); font-feature-settings: normal }
a { color: var(--accent-bright); text-decoration: none; transition: color .2s }
a:hover { color: var(--accent-dim) }
img, svg { display: block; max-width: 100% }
::selection { background: var(--accent); color: #fff }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px }

/* Animations */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px) } to { opacity:1; transform:translateY(0) } }
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.35 } }
@keyframes scan { 0% { transform: translateY(-100%) } 100% { transform: translateY(120vh) } }
@keyframes tickerL { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes orbit { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }
@keyframes floatY { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes pipelineDash { to { stroke-dashoffset: -40 } }
@keyframes blip { 0%,100% { opacity: .25; transform: scale(1) } 50% { opacity: 1; transform: scale(1.15) } }
@keyframes sweep { 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } }
@keyframes meshDrift { 0%,100% { transform: translate(0,0) } 50% { transform: translate(-30px, -20px) } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease }
.reveal.visible { opacity: 1; transform: translateY(0) }

/* ── Nav ── */
nav#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; background: rgba(255,255,255,.72); backdrop-filter: blur(12px) saturate(180%) }
nav#nav.scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(20px) saturate(180%); border-bottom-color: var(--border) }
@media (prefers-color-scheme: dark) {
  nav#nav { background: rgba(10,13,20,.72) }
  nav#nav.scrolled { background: rgba(10,13,20,.9); border-bottom-color: var(--border) }
}
nav#nav .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0 }
.logo-mark { width: 30px; height: 30px; border: 1.5px solid var(--accent); border-radius: 6px; display: flex; align-items: center; justify-content: center; position: relative; background: linear-gradient(135deg, var(--accent-wash), transparent) }
.logo-mark::before { content: ''; width: 7px; height: 7px; background: var(--accent); border-radius: 1.5px }
.logo-text { font-weight: 800; font-size: 14px; letter-spacing: .08em; color: var(--text) }
.logo-text span { color: var(--accent-bright) }
nav#nav .links { display: flex; align-items: center; gap: 28px }
nav#nav .links a { color: var(--text-muted); font-size: 13.5px; font-weight: 500; letter-spacing: .005em; transition: color .2s; position: relative }
nav#nav .links a:hover { color: var(--text) }
nav#nav .links a:not(.nav-cta)::after { content: ''; position: absolute; bottom: -22px; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .2s }
nav#nav .links a:not(.nav-cta):hover::after { transform: scaleX(1) }
.nav-cta { background: var(--text) !important; color: #fff !important; padding: 9px 18px; border-radius: var(--r-sm); font-weight: 600; font-size: 13px; transition: all .2s }
.nav-cta:hover { background: var(--accent) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 6px 24px var(--accent-glow) }
@media (prefers-color-scheme: dark) {
  .nav-cta { background: var(--accent) !important }
}

/* ── Sections ── */
section { padding: 120px 0 }
section.tight { padding: 64px 0 }
section.xl { padding: 160px 0 }

.eyebrow { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .22em; color: var(--accent-bright); margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent-bright) }
.eyebrow.gold { color: var(--gold-bright) }
.eyebrow.gold::before { background: var(--gold-bright) }
.eyebrow.green { color: var(--green-bright) }
.eyebrow.green::before { background: var(--green-bright) }
.section-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .22em; color: var(--accent-bright); margin-bottom: 20px }
.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -2px; line-height: 1.05; color: var(--text); max-width: 820px }
.section-title .gradient { background: linear-gradient(135deg, var(--accent-dim), var(--accent-bright) 60%, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.section-title .gold-gradient { background: linear-gradient(135deg, #b45309, var(--gold-bright) 60%, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.section-desc { font-size: 17px; color: var(--text-muted); margin-top: 20px; max-width: 680px; line-height: 1.65 }

/* dark section */
.dark { background: var(--ink); color: var(--text-invert) }
.dark .section-title, .dark h1, .dark h2, .dark h3, .dark h4 { color: var(--text-invert) }
.dark .section-desc, .dark p { color: #b8c2d4 }
.dark .eyebrow, .dark .section-label { color: var(--accent-bright) }
.dark a { color: var(--accent-bright) }
.dark a:hover { color: #fff }

/* ── Hero (dark cinematic default for homepage) ── */
.hero { min-height: 70vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 64px; background: var(--bg); color: var(--text) }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37,99,235,.06), transparent),
  radial-gradient(ellipse 60% 40% at 80% 100%, rgba(37,99,235,.03), transparent);
  pointer-events: none }
.hero-grid { position: absolute; inset: 0; background-image:
  linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
  linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none }
.hero-scan { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: scan 8s linear infinite; opacity: .15 }
.hero-content { position: relative; z-index: 2; padding: 80px 0; width: 100% }

/* Dark hero (homepage) — cinematic gradient-mesh with orbital architecture */
.hero.hero-dark { background: #05070d; color: var(--text-invert); min-height: 96vh; padding-top: 64px }
.hero.hero-dark .hero-mesh { position: absolute; inset: -10%; background:
  radial-gradient(ellipse 60% 45% at 22% 28%, rgba(59,130,246,.32), transparent 60%),
  radial-gradient(ellipse 55% 40% at 78% 20%, rgba(124,58,237,.28), transparent 60%),
  radial-gradient(ellipse 50% 40% at 55% 85%, rgba(37,99,235,.22), transparent 60%),
  radial-gradient(ellipse 40% 30% at 10% 90%, rgba(16,185,129,.12), transparent 60%);
  filter: blur(10px); pointer-events: none; animation: meshDrift 18s ease-in-out infinite }
.hero.hero-dark .hero-grid { background-image:
  linear-gradient(rgba(96,165,250,.06) 1px, transparent 1px),
  linear-gradient(90deg, rgba(96,165,250,.06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent 75%) }
.hero.hero-dark .hero-scan { opacity: .35 }
.hero.hero-dark .hero-content { padding: 80px 0 }

.hero-layout { display: grid; grid-template-columns: 1.15fr .95fr; gap: 64px; align-items: center }
@media (max-width: 1000px) { .hero-layout { grid-template-columns: 1fr; gap: 48px } }

.hero.hero-dark h1 { color: #fff; max-width: 720px }
.hero.hero-dark .hero-sub { color: #b8c2d4 }
.hero.hero-dark .hero-sub strong { color: #fff }
.hero.hero-dark .hero-tag { border-color: rgba(148,163,184,.22); background: rgba(15,23,42,.55); backdrop-filter: blur(8px) }
.hero.hero-dark .hero-tag span { color: #e2e8f0 }
.hero.hero-dark .breadcrumb a { color: #94a3b8 }
.hero.hero-dark .breadcrumb a:hover { color: #fff }

.hero-tag { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border); background: var(--bg-elevated); border-radius: 100px; padding: 6px 16px 6px 8px; margin-bottom: 28px; animation: fadeUp .6s ease both }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; box-shadow: 0 0 12px var(--green-bright) }
.hero-tag span { font-size: 11.5px; color: var(--text-muted); font-weight: 500; letter-spacing: .08em; text-transform: uppercase }

.hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -2.8px; color: var(--text); max-width: 720px; animation: fadeUp .7s ease .08s both }
.hero h1 .gradient { background: linear-gradient(135deg, var(--accent-dim), var(--accent-bright) 60%, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.hero.hero-dark h1 .gradient { background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #c084fc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.hero h1 em { font-style: normal; color: var(--text-dim); font-weight: 400 }
.hero.hero-dark h1 em { color: #94a3b8; font-weight: 300 }

.hero-sub { font-size: 17.5px; color: var(--text-muted); max-width: 600px; margin-top: 24px; line-height: 1.7; font-weight: 400; animation: fadeUp .7s ease .16s both }
.hero-sub strong { color: var(--text); font-weight: 700 }

.hero-actions { display: flex; gap: 14px; margin-top: 36px; animation: fadeUp .7s ease .24s both; flex-wrap: wrap }

/* Hero visual (architecture orbit) */
.hero-visual { position: relative; aspect-ratio: 1/1; max-width: 520px; margin-left: auto; animation: fadeIn 1.2s ease .3s both }
.hero-visual svg { width: 100%; height: 100% }
@media (max-width: 1000px) { .hero-visual { max-width: 420px; margin: 0 auto } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 8px; font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: all .25s; letter-spacing: .005em; white-space: nowrap }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 24px rgba(29,78,216,.3) }
.btn-primary:hover { background: var(--accent-bright); color: #fff; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 12px 36px var(--accent-glow) }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-light) }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-wash) }
.dark .btn-outline, .hero .btn-outline { color: #f1f5f9; border-color: var(--ink-line-2); background: rgba(255,255,255,.03) }
.dark .btn-outline:hover, .hero .btn-outline:hover { border-color: var(--accent-bright); color: #fff; background: rgba(59,130,246,.12) }
.btn-ghost { background: transparent; color: var(--text); padding: 12px 0; font-weight: 600 }
.btn-ghost:hover { color: var(--accent) }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: #1a1203; box-shadow: 0 8px 24px rgba(245,158,11,.3) }
.btn-gold:hover { transform: translateY(-2px); color: #1a1203; box-shadow: 0 12px 36px rgba(245,158,11,.42) }

/* Hero metrics strip */
.hero-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); animation: fadeUp .7s ease .32s both }
.hero-metric { padding: 24px 24px 24px 0; position: relative }
.hero-metric + .hero-metric { padding-left: 28px; border-left: 1px solid var(--border) }
.hero-metric .val { font-family: var(--font-mono); font-size: 30px; font-weight: 700; color: var(--text); letter-spacing: -1px; line-height: 1 }
.hero-metric .val .unit { color: var(--accent); font-size: 18px }
.hero-metric .label { font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .14em; margin-top: 10px; font-weight: 500; line-height: 1.4 }
.hero.hero-dark .hero-metrics { border-top-color: rgba(148,163,184,.16); border-bottom-color: rgba(148,163,184,.16) }
.hero.hero-dark .hero-metric + .hero-metric { border-left-color: rgba(148,163,184,.16) }
.hero.hero-dark .hero-metric .val { color: #fff }
.hero.hero-dark .hero-metric .val .unit { color: var(--accent-bright) }
.hero.hero-dark .hero-metric .label { color: #94a3b8 }

/* ── Breadcrumb ── */
.breadcrumb { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); margin-bottom: 28px; text-transform: uppercase; letter-spacing: .2em }
.breadcrumb a { color: var(--text-muted) }
.breadcrumb a:hover { color: var(--accent) }
.breadcrumb .sep { color: var(--text-dim); margin: 0 10px }

/* ── Article ── */
.article-content { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--text-muted) }
.article-content h2 { font-size: 30px; font-weight: 800; color: var(--text); margin: 56px 0 18px; letter-spacing: -.8px; line-height: 1.2 }
.article-content h3 { font-size: 21px; font-weight: 700; color: var(--text); margin: 36px 0 12px; letter-spacing: -.3px }
.article-content p { margin-bottom: 20px }
.article-content ul, .article-content ol { margin: 16px 0 24px 24px }
.article-content li { margin-bottom: 10px }
.article-content strong { color: var(--text); font-weight: 700 }
.article-content code { font-family: var(--font-mono); background: var(--bg-card); padding: 2px 6px; border-radius: 4px; font-size: 14px; color: var(--accent-dim) }
.article-content blockquote { border-left: 3px solid var(--accent); padding: 8px 0 8px 24px; margin: 28px 0; color: var(--text); font-weight: 500; background: var(--accent-wash) }

/* ── Card grids ── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: 56px }
.cap-grid.cols-2 { grid-template-columns: repeat(2, 1fr) }
.cap-grid.cols-4 { grid-template-columns: repeat(4, 1fr) }
.cap-card { background: var(--bg); padding: 36px 30px; position: relative; transition: background .25s, transform .25s, box-shadow .25s; cursor: default; display: block; color: inherit }
.cap-card:hover { background: var(--bg-elevated); color: inherit }
a.cap-card { cursor: pointer }
a.cap-card:hover { background: var(--bg-elevated); color: inherit; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(29,78,216,.1); z-index: 2 }
a.cap-card:hover h3 { color: var(--accent) }
a.cap-card:active { transform: translateY(0); filter: brightness(.98) }
a.cap-card:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: -2px; z-index: 2 }
a.cap-card::after { content: '→'; position: absolute; top: 30px; right: 24px; font-size: 18px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s }
a.cap-card:hover::after { opacity: 1; transform: translateX(0) }
.cap-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity .3s }
.cap-card:hover::before { opacity: 1 }
.cap-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); margin-bottom: 18px; letter-spacing: .1em }
.cap-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -.2px; transition: color .2s }
.cap-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6 }
.cap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px }
.cap-tags span { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); padding: 4px 9px; border-radius: 4px; letter-spacing: .03em }

/* Capability icon block */
.cap-icon { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent-wash), transparent); border: 1px solid rgba(59,130,246,.22); color: var(--accent); margin-bottom: 22px; position: relative }
.cap-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6 }
.cap-icon.violet { background: linear-gradient(135deg, rgba(124,58,237,.12), transparent); border-color: rgba(124,58,237,.28); color: var(--violet) }
.cap-icon.gold { background: linear-gradient(135deg, var(--gold-wash), transparent); border-color: rgba(245,158,11,.28); color: var(--gold) }
.cap-icon.green { background: linear-gradient(135deg, var(--green-wash), transparent); border-color: rgba(34,197,94,.28); color: var(--green) }
.cap-icon.cyan { background: linear-gradient(135deg, rgba(6,182,212,.10), transparent); border-color: rgba(6,182,212,.28); color: #0891b2 }
.cap-icon.rose { background: linear-gradient(135deg, rgba(244,63,94,.08), transparent); border-color: rgba(244,63,94,.24); color: #e11d48 }

/* dark variant */
.dark .cap-grid { background: var(--ink-line); border-color: var(--ink-line) }
.dark .cap-card { background: var(--ink-2); color: var(--text-invert) }
.dark .cap-card:hover, .dark a.cap-card:hover { background: var(--ink-3); color: var(--text-invert) }
.dark a.cap-card:hover h3 { color: var(--accent-bright) }
.dark .cap-card h3 { color: #fff }
.dark .cap-card p { color: #94a3b8 }
.dark .cap-num { color: #64748b }

@media (max-width: 1000px) { .cap-grid.cols-4 { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 700px) { .cap-grid, .cap-grid.cols-2, .cap-grid.cols-4 { grid-template-columns: 1fr } }

/* ── FAQ ── */
.faq-list { margin-top: 48px; max-width: 840px }
.faq-item { border-bottom: 1px solid var(--border); padding: 28px 0 }
.faq-item:first-child { border-top: 1px solid var(--border) }
.faq-q { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.2px; margin-bottom: 12px }
.faq-a { font-size: 15.5px; color: var(--text-muted); line-height: 1.75 }
.faq-a p { margin-bottom: 12px }
.faq-a p:last-child { margin-bottom: 0 }

/* ── Stat grid ── */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: 40px }
.stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr) }
.stat-grid.cols-2 { grid-template-columns: repeat(2, 1fr) }
.stat-card { background: var(--bg); padding: 32px 24px; text-align: left }
.stat-card .val { font-family: var(--font-mono); font-size: 38px; font-weight: 700; color: var(--text); letter-spacing: -1.2px; line-height: 1 }
.stat-card .val .unit { color: var(--accent); font-size: 22px }
.stat-card .label { font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .15em; margin-top: 10px; font-weight: 500 }
.stat-card .desc { font-size: 13px; color: var(--text-dim); margin-top: 8px; line-height: 1.55 }

/* ── Info box ── */
.info-box { background: var(--accent-wash); border: 1px solid rgba(59,130,246,.2); border-radius: var(--r-lg); padding: 28px; margin: 32px 0 }
.info-box .label { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 12px }
.info-box h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px }
.info-box p { color: var(--text-muted); font-size: 15px; line-height: 1.7 }

/* ── Related grid ── */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px }
.related-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; color: inherit; transition: all .2s; display: block; cursor: pointer; position: relative }
.related-card:hover { border-color: var(--accent); transform: translateY(-2px); color: inherit; box-shadow: 0 10px 32px rgba(29,78,216,.14) }
.related-card:active { transform: translateY(0); filter: brightness(.98) }
.related-card:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px }
.related-card .cat { font-family: var(--font-mono); font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 8px }
.related-card h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px }
.related-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6 }

/* ── Agency/logo wall ── */
.logo-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; background: var(--ink-line); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); margin-top: 64px }
.logo-wall .cell { background: var(--ink); padding: 28px 16px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; color: #64748b; letter-spacing: .15em; text-transform: uppercase; text-align: center; line-height: 1.3; position: relative; cursor: pointer; transition: color .2s, background .2s, transform .2s, box-shadow .2s; outline-offset: -2px }
.logo-wall a.cell::after { content: '→'; position: absolute; top: 10px; right: 12px; font-size: 13px; color: var(--accent-bright); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; font-family: var(--font-sans) }
.logo-wall .cell:hover { color: #fff; background: var(--accent); z-index: 2; box-shadow: 0 0 0 1px var(--accent-bright), 0 10px 28px rgba(29,78,216,.45) }
.logo-wall a.cell:hover::after { opacity: 1; transform: translateX(0); color: #fff }
.logo-wall .cell:active { transform: scale(.98); filter: brightness(.92) }
.logo-wall .cell:focus-visible { outline: 2px solid var(--accent-bright); z-index: 2 }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(4, 1fr) } }
@media (max-width: 500px) { .logo-wall { grid-template-columns: repeat(3, 1fr) } }

/* ── Ticker ── */
.ticker { overflow: hidden; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); background: var(--ink-2); padding: 18px 0; white-space: nowrap }
.ticker-track { display: inline-flex; gap: 48px; animation: tickerL 60s linear infinite }
.ticker span { font-family: var(--font-mono); font-size: 12px; color: #94a3b8; letter-spacing: .1em; text-transform: uppercase }
.ticker span.green { color: var(--green) }
.ticker span.gold { color: var(--gold-bright) }
.ticker span.blue { color: var(--accent-bright) }

/* ── Proof card ── */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px }
.proof-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px; position: relative; overflow: hidden; transition: all .25s }
.proof-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: 0 20px 48px rgba(15,23,42,.08) }
.proof-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)) }
.proof-agency { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 16px; display: flex; align-items: center; gap: 10px }
.proof-card h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -.3px }
.proof-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65 }
.proof-result { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px }
.proof-result .indicator { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green) }
.proof-result span { font-size: 13px; color: var(--green); font-weight: 600 }
.proof-card .spark { margin-top: 18px; height: 40px; width: 100% }

/* ── CTA ── */
.cta-section { position: relative; text-align: center; padding: 140px 0; overflow: hidden; background: var(--ink); color: var(--text-invert) }
.cta-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 50% at 50% 50%, rgba(59,130,246,.18), transparent 60%),
  radial-gradient(ellipse 35% 30% at 25% 40%, rgba(124,58,237,.18), transparent 60%),
  radial-gradient(ellipse 35% 30% at 80% 60%, rgba(34,197,94,.10), transparent 60%);
  pointer-events: none }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 500px; background: radial-gradient(circle, var(--accent-glow), transparent 60%); pointer-events: none }
.cta-section h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -2px; line-height: 1.02; position: relative; color: #fff }
.cta-section h2 .gradient { background: linear-gradient(135deg, #60a5fa, #818cf8, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.cta-section .sub { color: #b8c2d4; font-size: 18px; margin-top: 20px; position: relative; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6 }
.cta-section .btn { margin-top: 36px; position: relative }

/* ── Terminal ── */
.terminal { background: #0a0f1c; border: 1px solid #1e293b; border-radius: var(--r-lg); overflow: hidden; margin-top: 0; box-shadow: 0 30px 80px rgba(5,10,25,.5), 0 0 0 1px rgba(59,130,246,.15) }
.terminal-bar { background: #141b2d; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #1e293b }
.terminal-dot { width: 10px; height: 10px; border-radius: 50% }
.td-r { background: #ff5f57 } .td-y { background: #febc2e } .td-g { background: #28c840 }
.terminal-title { font-family: var(--font-mono); font-size: 11px; color: #64748b; margin-left: 10px; letter-spacing: .08em }
.terminal-body { padding: 22px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.8; color: #cbd5e1 }
.terminal-body .blue { color: #60a5fa }
.terminal-body .green { color: #4ade80 }
.terminal-body .gold { color: #fbbf24 }
.terminal-body .dim { color: #64748b }

/* ── Footer ── */
footer { border-top: 1px solid var(--ink-line); padding: 72px 0 40px; background: var(--ink); color: var(--text-invert) }
footer .logo-text { color: #fff }
footer .logo-mark { border-color: var(--accent-bright); background: rgba(59,130,246,.1) }
footer .logo-mark::before { background: var(--accent-bright) }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px }
.foot-brand .logo { margin-bottom: 18px }
.foot-brand p { font-size: 13.5px; color: #94a3b8; line-height: 1.65; max-width: 320px }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: #64748b; margin-bottom: 18px }
.foot-col a { display: block; font-size: 13.5px; color: #cbd5e1; margin-bottom: 12px; transition: color .2s }
.foot-col a:hover { color: #fff }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--ink-line); font-size: 12px; color: #64748b; font-family: var(--font-mono); letter-spacing: .05em }

/* ══════════════════════════════════════════
   NEW: Homepage visual components
   ══════════════════════════════════════════ */

/* Pipeline section (light) */
.pipeline-section { background: var(--bg); padding: 120px 0; position: relative; overflow: hidden }
.pipeline-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 50% 40% at 10% 20%, var(--accent-wash), transparent 60%),
  radial-gradient(ellipse 40% 30% at 90% 80%, var(--gold-wash), transparent 60%);
  pointer-events: none }
.pipeline-section > .container { position: relative }
.pipeline-diagram { margin-top: 64px; padding: 40px; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--bg); position: relative; overflow: hidden }
.pipeline-diagram::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 60%); z-index: 0 }
.pipeline-svg { position: relative; z-index: 1; width: 100%; height: auto }
.pipeline-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; position: relative; z-index: 1 }
.pipeline-step { padding: 20px 4px }
.pipeline-step .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; font-weight: 700 }
.pipeline-step h4 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -.2px }
.pipeline-step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6 }
@media (max-width: 800px) { .pipeline-steps { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 500px) { .pipeline-steps { grid-template-columns: 1fr } }

/* Dashboard mockup (system in production) */
.dashboard-section { background: var(--navy); color: #e6ebf5; padding: 140px 0; position: relative; overflow: hidden }
.dashboard-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 40% at 80% 10%, rgba(59,130,246,.22), transparent 60%),
  radial-gradient(ellipse 50% 40% at 10% 90%, rgba(124,58,237,.18), transparent 60%);
  pointer-events: none }
.dashboard-section > .container { position: relative }
.dashboard-section .eyebrow { color: #60a5fa }
.dashboard-section .section-title { color: #fff; max-width: 820px }
.dashboard-section .section-title .gradient { background: linear-gradient(135deg, #60a5fa, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.dashboard-section .section-desc { color: #a3acc0 }

.dashboard-mock { margin-top: 56px; background: #0f1624; border: 1px solid rgba(148,163,184,.18); border-radius: var(--r-xl); box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(59,130,246,.15); overflow: hidden }
.dashboard-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #0a1020; border-bottom: 1px solid rgba(148,163,184,.14) }
.dashboard-bar .dot { width: 10px; height: 10px; border-radius: 50% }
.dashboard-bar .dot.r { background: #ff5f57 } .dashboard-bar .dot.y { background: #febc2e } .dashboard-bar .dot.g { background: #28c840 }
.dashboard-bar .url { font-family: var(--font-mono); font-size: 11px; color: #64748b; margin-left: 14px; letter-spacing: .06em }
.dashboard-bar .url .lock { color: #22c55e; margin-right: 6px }
.dashboard-body { display: grid; grid-template-columns: 220px 1fr; min-height: 440px }
.dash-nav { background: #0a1020; border-right: 1px solid rgba(148,163,184,.1); padding: 20px 14px }
.dash-nav .brand { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: #60a5fa; text-transform: uppercase; font-weight: 700; padding: 4px 10px 16px; border-bottom: 1px solid rgba(148,163,184,.1) }
.dash-nav .item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; font-size: 12.5px; color: #a3acc0; border-radius: 6px; margin-top: 6px; cursor: default }
.dash-nav .item svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6 }
.dash-nav .item.active { background: rgba(59,130,246,.14); color: #e6ebf5 }
.dash-main { padding: 24px 28px; overflow: hidden }
.dash-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px }
.dash-title { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -.2px }
.dash-title .pill { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-family: var(--font-mono); font-size: 10px; color: #22c55e; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.28); padding: 3px 8px; border-radius: 100px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; vertical-align: middle }
.dash-title .pill .d { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite }
.dash-date { font-family: var(--font-mono); font-size: 11px; color: #64748b; letter-spacing: .1em }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px }
.dash-kpi { background: #0a1020; border: 1px solid rgba(148,163,184,.1); border-radius: 8px; padding: 14px 14px }
.dash-kpi .k { font-family: var(--font-mono); font-size: 9.5px; color: #64748b; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px }
.dash-kpi .v { font-family: var(--font-mono); font-size: 22px; color: #fff; font-weight: 700; letter-spacing: -.5px }
.dash-kpi .v .u { color: #60a5fa; font-size: 14px }
.dash-kpi .d { font-size: 10.5px; color: #22c55e; margin-top: 4px; font-family: var(--font-mono) }
.dash-kpi .d.down { color: #f87171 }
.dash-charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px }
.dash-panel { background: #0a1020; border: 1px solid rgba(148,163,184,.1); border-radius: 8px; padding: 16px 16px }
.dash-panel .p-title { font-size: 11.5px; color: #a3acc0; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center }
.dash-panel .p-title span.legend { font-family: var(--font-mono); font-size: 10px; color: #64748b; font-weight: 500 }
.dash-panel .p-title span.legend i { display: inline-block; width: 8px; height: 8px; background: #60a5fa; border-radius: 2px; margin-right: 4px; vertical-align: middle }
.dash-panel .p-title span.legend i.g { background: #22c55e }
.dash-chart { width: 100%; height: 160px }
.dash-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px }
.dash-list .r { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: #cbd5e1; font-family: var(--font-mono); padding: 6px 0; border-bottom: 1px solid rgba(148,163,184,.08) }
.dash-list .r:last-child { border: none }
.dash-list .r .lbl { color: #a3acc0 }
.dash-list .r .v { color: #fff; font-weight: 700 }
.dash-list .r .v.ok { color: #22c55e }
.dash-list .r .v.warn { color: #fbbf24 }

@media (max-width: 900px) {
  .dashboard-body { grid-template-columns: 1fr }
  .dash-nav { display: none }
  .dash-kpis { grid-template-columns: repeat(2, 1fr) }
  .dash-charts { grid-template-columns: 1fr }
}

/* Agency coverage map (dark wall with grouped districts) */
.agency-map-section { background: #05070d; color: #e6ebf5; padding: 140px 0; position: relative; overflow: hidden }
.agency-map-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 50% 40% at 30% 10%, rgba(59,130,246,.18), transparent 60%),
  radial-gradient(ellipse 50% 40% at 70% 90%, rgba(245,158,11,.10), transparent 60%);
  pointer-events: none }
.agency-map-section > .container { position: relative }
.agency-map-section .eyebrow { color: #60a5fa }
.agency-map-section .section-title { color: #fff }
.agency-map-section .section-title .gradient { background: linear-gradient(135deg, #60a5fa, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.agency-map-section .section-desc { color: #a3acc0 }
.coverage-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px }
.coverage-group { background: rgba(15,22,36,.6); border: 1px solid rgba(148,163,184,.14); border-radius: var(--r-lg); padding: 20px 18px; backdrop-filter: blur(6px); position: relative; overflow: hidden }
.coverage-group::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--grp-color, #60a5fa), transparent); opacity: .8 }
.coverage-group .gh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px }
.coverage-group .gh .name { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--grp-color, #60a5fa); font-weight: 700 }
.coverage-group .gh .count { font-family: var(--font-mono); font-size: 11px; color: #64748b }
.coverage-group a { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; margin: 0 -6px; border-radius: 6px; font-size: 12.5px; color: #cbd5e1; font-weight: 500; transition: background .2s, color .2s }
.coverage-group a:hover { background: rgba(59,130,246,.14); color: #fff }
.coverage-group a .st { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; color: #64748b; text-transform: uppercase }
.coverage-group a .st.live { color: #22c55e }
@media (max-width: 1000px) { .coverage-groups { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 600px) { .coverage-groups { grid-template-columns: 1fr } }

/* SBIR funnel (light) */
.sbir-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--border) }
.sbir-stat { background: var(--bg); padding: 36px 28px; position: relative }
.sbir-stat .num { font-family: var(--font-mono); font-size: 44px; font-weight: 700; color: var(--text); letter-spacing: -1.6px; line-height: 1 }
.sbir-stat .num .u { color: var(--gold-bright); font-size: 24px }
.sbir-stat .lbl { font-family: var(--font-mono); font-size: 10.5px; color: var(--gold); text-transform: uppercase; letter-spacing: .2em; margin-top: 14px; font-weight: 700 }
.sbir-stat .desc { font-size: 13.5px; color: var(--text-muted); margin-top: 10px; line-height: 1.55 }
@media (max-width: 900px) { .sbir-stats { grid-template-columns: repeat(2, 1fr) } }

.sbir-funnel { margin-top: 56px; padding: 36px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); position: relative; overflow: hidden }
.sbir-funnel::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 40% 60% at 0% 50%, var(--accent-wash), transparent 60%),
  radial-gradient(ellipse 40% 60% at 100% 50%, var(--gold-wash), transparent 60%);
  pointer-events: none }
.sbir-funnel > * { position: relative; z-index: 1 }
.sbir-funnel-title { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 28px }
.funnel-svg { width: 100%; height: auto }

/* Hero visual legend (orbit labels) */
.orbit-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; fill: #cbd5e1 }
.orbit-chip-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; fill: #fff; letter-spacing: .08em }
.orbit-sub { font-family: var(--font-mono); font-size: 9px; fill: #94a3b8; letter-spacing: .14em }

/* Feature band (positioning) */
.feature-band { padding: 120px 0; background: var(--bg); position: relative; overflow: hidden }
.feature-band::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 40% 30% at 90% 10%, var(--accent-wash), transparent 60%);
  pointer-events: none }
.feature-band > .container { position: relative }
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center }
.feature-grid h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -1.8px; line-height: 1.05; color: var(--text) }
.feature-grid h2 .gradient { background: linear-gradient(135deg, var(--accent-dim), var(--accent-bright) 60%, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.feature-grid p.lead { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-top: 24px }
.feature-points { margin-top: 8px; display: grid; gap: 14px }
.feature-point { display: flex; gap: 14px; align-items: start; padding: 16px 18px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r); transition: all .2s }
.feature-point:hover { border-color: var(--border-strong); transform: translateX(4px) }
.feature-point .dot { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent-wash), transparent); border: 1px solid rgba(59,130,246,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent) }
.feature-point .dot svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2 }
.feature-point strong { font-weight: 700; color: var(--text); display: block; margin-bottom: 4px; font-size: 14.5px }
.feature-point span.body { font-size: 14px; color: var(--text-muted); line-height: 1.6 }

/* Leadership editorial */
.lead-section { padding: 140px 0; background: #05070d; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); position: relative; overflow: hidden; color: #e6ebf5 }
.lead-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 50% 40% at 100% 0%, rgba(59,130,246,.14), transparent 60%),
  radial-gradient(ellipse 40% 30% at 0% 100%, rgba(124,58,237,.12), transparent 60%);
  pointer-events: none }
.lead-section > .container { position: relative }
.lead-section .eyebrow { color: #60a5fa }
.lead-section .section-title { color: #fff; max-width: 900px }
.lead-section .section-title .gradient { background: linear-gradient(135deg, #60a5fa, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-top: 56px }
.lead-name { font-size: 40px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.05; color: #fff }
.lead-title { font-family: var(--font-mono); font-size: 11.5px; color: var(--gold-bright); font-weight: 700; margin-top: 10px; letter-spacing: .16em; text-transform: uppercase }
.lead-bio { font-size: 16px; color: #a3acc0; line-height: 1.75; margin-top: 28px }
.lead-creds { margin-top: 32px; display: grid; gap: 10px }
.cred-row { display: flex; gap: 18px; align-items: center; padding: 18px 20px; background: rgba(15,22,36,.6); border: 1px solid rgba(148,163,184,.12); border-radius: var(--r); backdrop-filter: blur(6px); transition: all .2s }
.cred-row:hover { border-color: rgba(59,130,246,.35); transform: translateX(4px); background: rgba(15,22,36,.85) }
.cred-icon { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, rgba(59,130,246,.22), transparent); border: 1px solid rgba(59,130,246,.35); color: #60a5fa; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.cred-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6 }
.cred-icon.gold { background: linear-gradient(135deg, rgba(245,158,11,.22), transparent); border-color: rgba(245,158,11,.38); color: var(--gold-bright) }
.cred-icon.green { background: linear-gradient(135deg, rgba(34,197,94,.22), transparent); border-color: rgba(34,197,94,.38); color: #22c55e }
.cred-icon.violet { background: linear-gradient(135deg, rgba(124,58,237,.22), transparent); border-color: rgba(124,58,237,.38); color: #c084fc }
.cred-body strong { display: block; font-size: 14.5px; color: #fff; font-weight: 700; margin-bottom: 2px }
.cred-body span { font-size: 13px; color: #94a3b8; line-height: 1.5 }

/* Contract block (light) */
.contract-section { background: var(--bg); position: relative; overflow: hidden }
.contract-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 40% 30% at 10% 100%, var(--accent-wash), transparent 60%);
  pointer-events: none }
.contract-section > .container { position: relative }
.contract-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-top: 56px }
.contract-block { background: var(--bg); padding: 36px }
.contract-block h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .22em; color: var(--accent); margin-bottom: 24px; display: flex; align-items: center; gap: 10px }
.contract-block h4 svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2 }
.contract-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px }
.contract-row:last-child { border: none }
.contract-row .k { color: var(--text-muted) }
.contract-row .v { color: var(--text); font-weight: 700; font-family: var(--font-mono); font-size: 13px; letter-spacing: .05em }
.contract-row .v.plain { font-family: var(--font-sans); letter-spacing: normal; font-size: 14px }
.contract-row .v.gold { color: var(--gold) }

/* Agency wall light version wrapper preserved for dark map replacement */
.agency-wall-section { padding: 120px 0; background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border) }
.agency-wall-section .logo-wall { background: var(--border) !important; border-top-color: var(--border) !important; border-bottom-color: var(--border) !important }
.agency-wall-section .logo-wall .cell { background: var(--bg) !important; color: var(--text-muted) !important; font-weight: 600 }
.agency-wall-section .logo-wall .cell:hover { background: var(--accent) !important; color: #fff !important }

@media (max-width: 900px) { .feature-grid, .lead-grid, .contract-grid { grid-template-columns: 1fr; gap: 40px } }

/* ── Responsive ── */
@media (max-width: 900px) {
  nav#nav .links { display: none }
  section { padding: 80px 0 }
  .hero { min-height: 80vh }
  .hero h1 { font-size: 42px; letter-spacing: -1.8px }
  .hero-metrics { grid-template-columns: repeat(2, 1fr) }
  .hero-metric + .hero-metric { border-left: none }
  .hero-metric:nth-child(3) { border-top: 1px solid var(--ink-line) }
  .hero-metric:nth-child(4) { border-top: 1px solid var(--ink-line); border-left: 1px solid var(--ink-line); padding-left: 28px }
  .stat-grid { grid-template-columns: repeat(2, 1fr) !important }
  .related-grid { grid-template-columns: 1fr }
  .proof-grid { grid-template-columns: 1fr }
  .foot-grid { grid-template-columns: 1fr 1fr }
  .foot-bottom { flex-direction: column; gap: 10px; text-align: center }
}
@media (max-width: 500px) {
  .stat-grid { grid-template-columns: 1fr !important }
  .foot-grid { grid-template-columns: 1fr }
  .hero-metrics { grid-template-columns: 1fr }
  .hero-metric + .hero-metric { border-left: none !important; border-top: 1px solid var(--ink-line); padding-left: 0 !important }
}
