/* ==========================================================================
   BladeRun shared design system
   Used by every redesigned page so navigation, type, color, and components
   stay byte-identical across the site.
   ========================================================================== */

:root {
    --bg-primary: #050505;
    --bg-elevated: #0c0c0c;
    --bg-card: #111111;
    --bg-card-hover: #181818;
    --text-primary: #fafafa;
    --text-secondary: #b6b6b6;
    --text-muted: #7e7e7e;
    --text-faint: #3a3a3a;
    --accent: #2563eb;
    --accent-soft: #3b82f6;
    --accent-glow: rgba(37, 99, 235, 0.35);
    --signal-green: #4ade80;
    --signal-amber: #fbbf24;
    --signal-red: #f87171;
    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
    --radius: 10px;
    --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ============ NAV ============ */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}
.nav-container {
    max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    height: 64px;
}
.logo {
    display: flex; align-items: center; gap: 0.625rem;
    font-weight: 700; font-size: 1.0625rem;
    text-decoration: none; color: var(--text-primary);
    letter-spacing: -0.02em;
}
.logo-mark { width: 28px; height: 28px; flex-shrink: 0; }
.nav-center { display: flex; gap: 0.125rem; }
.nav-link {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.875rem; font-weight: 500;
    padding: 0.5rem 0.875rem; border-radius: 8px;
    transition: all 0.15s;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.current { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-right { display: flex; align-items: center; gap: 0.5rem; }

/* Solutions nav dropdown (CSS-only; desktop — nav-center hides on mobile) */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown-trigger { font-family: inherit; background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-caret { width: 12px; height: 12px; opacity: 0.7; transition: transform 0.2s; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 232px; padding: 0.375rem; background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: 0 16px 44px rgba(0,0,0,0.55); display: flex; flex-direction: column; gap: 0.125rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.16s ease, transform 0.16s ease; z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dropdown:hover .nav-caret, .nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu a { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.5rem 0.75rem; border-radius: 8px; text-decoration: none; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); white-space: nowrap; transition: background 0.12s, color 0.12s; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.nav-dropdown-menu a .dd-sub { font-size: 0.6875rem; font-weight: 400; color: var(--text-muted); }


.btn {
    padding: 0.5625rem 1.125rem; border-radius: 8px;
    font-family: inherit; font-weight: 500; font-size: 0.875rem;
    text-decoration: none; cursor: pointer; border: none;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary { background: var(--text-primary); color: var(--bg-primary); }
.btn-primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,0.12); }
.btn-ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.2); }
.btn-large { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: all 0.3s; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--bg-primary); z-index: 90; padding: 90px 2rem 2rem; opacity: 0; visibility: hidden; transition: all 0.3s; }
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu a { display: block; color: var(--text-primary); text-decoration: none; font-size: 1.375rem; font-weight: 600; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { width: 100%; justify-content: center; padding: 1rem; margin-top: 1.25rem; font-size: 1rem; }
body.menu-open { overflow: hidden; }

@media (max-width: 880px) {
    .nav-center { display: none; }
    .nav-right .btn-ghost { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu { display: block; }
}

/* ============ LAYOUT ============ */
main { padding-top: 64px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

section { padding: 6rem 0; }
@media (max-width: 768px) { section { padding: 4rem 0; } }
.band-elevated { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ============ TYPOGRAPHY ============ */
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.16em; color: var(--accent-soft);
}
.eyebrow.center { justify-content: center; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }

.section-head { max-width: 760px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
    font-size: clamp(1.875rem, 3.6vw, 2.75rem);
    font-weight: 600; letter-spacing: -0.025em;
    line-height: 1.1; margin-top: 0.875rem; color: var(--text-primary);
}
.section-sub {
    font-size: 1.0625rem; color: var(--text-secondary);
    margin-top: 1.125rem; max-width: 640px; line-height: 1.55;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.accent-line {
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

/* ============ HERO (page-level — light variant for inner pages) ============ */
.hero {
    position: relative; display: flex; align-items: center;
    overflow: hidden; border-bottom: 1px solid var(--border);
    min-height: 78vh;
}
.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 30%, transparent 80%);
}
.hero-bg-glow {
    position: absolute; left: 50%; top: 35%;
    width: 900px; height: 900px; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(37,99,235,0.16) 0%, rgba(37,99,235,0.03) 35%, transparent 65%);
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 2;
    width: 100%; max-width: 1100px;
    margin: 0 auto; padding: 7rem 2rem 4rem;
}
.hero-inner.center { text-align: center; padding-top: 8rem; padding-bottom: 5rem; }
.hero h1 {
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    font-weight: 600; letter-spacing: -0.035em;
    line-height: 1.04; margin: 1.25rem 0 1.5rem;
    max-width: 880px;
}
.hero-inner.center h1 { margin-left: auto; margin-right: auto; }
.hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    color: var(--text-secondary);
    max-width: 720px; margin-bottom: 2.5rem;
}
.hero-inner.center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-inner.center .hero-ctas { justify-content: center; }

/* ============ STAT BAR (often below hero) ============ */
.stat-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 880px) { .stat-bar { grid-template-columns: 1fr 1fr; } }
.stat {
    padding: 1.5rem 1.75rem;
    border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
@media (max-width: 880px) { .stat:nth-child(2n) { border-right: none; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
.stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.625rem; font-weight: 500; letter-spacing: -0.02em;
    color: var(--accent-soft); line-height: 1;
}
.stat-label {
    font-size: 0.8125rem; color: var(--text-muted);
    margin-top: 0.5rem; line-height: 1.4;
}

/* ============ FEATURE CARDS GRID ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .feature-grid, .feature-grid.cols-2, .feature-grid.cols-4 { grid-template-columns: 1fr; } }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.75rem;
    display: flex; flex-direction: column; gap: 0.875rem;
    transition: all 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); border-color: var(--border-strong); }
.feature-card.linked { text-decoration: none; color: inherit; cursor: pointer; }
.feature-card.linked:hover { transform: translateY(-2px); }
.feature-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(37,99,235,0.12); color: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
}
.feature-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem; color: var(--text-muted);
    letter-spacing: 0.1em;
}
.feature-card h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.feature-card p { font-size: 0.9375rem; color: var(--text-secondary); flex: 1; }
.feature-link {
    font-size: 0.8125rem; font-weight: 500; color: var(--accent-soft);
    margin-top: auto;
}

/* ============ ALTERNATING CAPABILITY ROWS ============ */
.cap-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    padding: 4rem 0;
}
.cap-row + .cap-row { border-top: 1px solid var(--border); }
.cap-row.reverse { direction: rtl; }
.cap-row.reverse > * { direction: ltr; }
@media (max-width: 880px) { .cap-row { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; } .cap-row.reverse { direction: ltr; } }
.cap-row h3 { font-size: 1.875rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0.875rem 0 1rem; }
.cap-row p { font-size: 1.0625rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.cap-list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.cap-list li { display: flex; gap: 0.625rem; font-size: 0.9375rem; color: var(--text-secondary); }
.cap-list li::before { content: '→'; color: var(--accent-soft); flex-shrink: 0; }
.cap-list li strong { color: var(--text-primary); font-weight: 600; }
.cap-visual {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.75rem; min-height: 300px; position: relative; overflow: hidden;
}

/* ============ ARCHITECTURE STRIP ============ */
.arch-diagram {
    display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1rem; align-items: stretch;
    margin-top: 2.5rem;
}
@media (max-width: 880px) { .arch-diagram { grid-template-columns: 1fr; } .arch-arrow { transform: rotate(90deg); justify-self: center; } }
.arch-node {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
    display: flex; flex-direction: column; gap: 0.5rem;
}
.arch-node.center { border-color: var(--accent); background: linear-gradient(180deg, rgba(37,99,235,0.08) 0%, var(--bg-card) 100%); }
.arch-node-label { font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem; color: var(--text-muted); letter-spacing: 0.08em; }
.arch-node h4 { font-size: 1rem; font-weight: 600; }
.arch-node p { font-size: 0.8125rem; color: var(--text-secondary); }
.arch-arrow { display: flex; align-items: center; color: var(--text-muted); font-size: 1.25rem; }

/* ============ THREATS / DATA TABLE ============ */
.data-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.data-table th {
    text-align: left; padding: 1rem 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--text-muted);
    background: var(--bg-elevated); border-bottom: 1px solid var(--border);
    font-weight: 500;
}
.data-table td {
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem; vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table .row-name { font-weight: 600; color: var(--text-primary); white-space: nowrap; }
.data-table .row-desc { color: var(--text-secondary); }
.data-table .row-strong { color: var(--text-primary); }
.data-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.badge {
    display: inline-block; font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem; font-weight: 600;
    padding: 0.25rem 0.625rem; border-radius: 4px;
    letter-spacing: 0.04em; white-space: nowrap;
}
.badge-green { background: rgba(74,222,128,0.1); color: var(--signal-green); }
.badge-blue { background: rgba(37,99,235,0.12); color: var(--accent-soft); }
.badge-amber { background: rgba(251,191,36,0.1); color: var(--signal-amber); }
.badge-red { background: rgba(248,113,113,0.1); color: var(--signal-red); }
.badge-neutral { background: rgba(255,255,255,0.05); color: var(--text-secondary); }

/* ============ REGULATORY ROWS ============ */
.reg-list { display: flex; flex-direction: column; gap: 0.5rem; }
.reg-row {
    display: grid; grid-template-columns: 200px 1fr 200px;
    gap: 1.5rem; align-items: center;
    background: var(--bg-card); border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius); padding: 1.25rem 1.5rem;
    transition: all 0.18s;
}
.reg-row:hover { background: var(--bg-card-hover); }
@media (max-width: 880px) { .reg-row { grid-template-columns: 1fr; } }
.reg-name { font-weight: 600; font-size: 0.9375rem; color: var(--text-primary); }
.reg-req { font-size: 0.9375rem; color: var(--text-secondary); }
.reg-mod { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--accent-soft); text-align: right; }
@media (max-width: 880px) { .reg-mod { text-align: left; } }

/* ============ STEP CARDS ============ */
.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.75rem;
    border-left: 3px solid var(--text-faint);
    transition: all 0.18s;
}
.step-card.lead { border-left-color: var(--accent); }
.step-card:hover { background: var(--bg-card-hover); }
.step-num {
    font-family: 'JetBrains Mono', monospace; font-size: 0.75rem;
    color: var(--text-muted); letter-spacing: 0.08em; margin-bottom: 0.5rem;
}
.step-card.lead .step-num { color: var(--accent-soft); }
.step-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9375rem; color: var(--text-secondary); }

/* ============ TIMELINE (incident walkthrough) ============ */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 0; }
.timeline-item {
    display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem; color: var(--accent-soft);
    letter-spacing: 0.04em;
}
.timeline-state {
    font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--text-muted);
    display: block; margin-top: 0.25rem;
}
.timeline-item.threat .timeline-state { color: var(--signal-red); }
.timeline-item.blocked .timeline-state { color: var(--signal-green); }
.timeline-item.contained .timeline-state { color: var(--signal-green); }
.timeline-item.resolved .timeline-state { color: var(--accent-soft); }
.timeline-content h4 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.375rem; }
.timeline-content p { font-size: 0.9375rem; color: var(--text-secondary); }
.timeline-outcome {
    margin-top: 0.625rem; padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.03); border-left: 2px solid var(--accent-soft);
    font-size: 0.875rem; color: var(--text-primary);
}
@media (max-width: 768px) {
    .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
    .timeline-state { display: inline; margin-top: 0; margin-left: 0.75rem; }
}

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; max-width: 880px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.faq-q {
    width: 100%; background: none; border: none; cursor: pointer;
    padding: 1.25rem 1.5rem; text-align: left; color: inherit;
    font-family: inherit; font-size: 1rem; font-weight: 500;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    transition: background 0.15s;
}
.faq-q:hover { background: var(--bg-card-hover); }
.faq-q-icon { font-size: 1.25rem; color: var(--text-muted); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q-icon { transform: rotate(45deg); color: var(--accent-soft); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 1.5rem 1.5rem; }

/* ============ CROSS-LINK CARD GRID (related products) ============ */
.crosslink-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 880px) { .crosslink-grid { grid-template-columns: 1fr; } }
.crosslink-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column; gap: 0.5rem;
    transition: all 0.18s;
}
.crosslink-card:hover { background: var(--bg-card-hover); border-color: var(--border-strong); transform: translateY(-2px); }
.crosslink-card .crosslink-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.crosslink-card h4 { font-size: 1.0625rem; font-weight: 600; }
.crosslink-card p { font-size: 0.875rem; color: var(--text-secondary); }
.crosslink-card .crosslink-cta { font-size: 0.8125rem; color: var(--accent-soft); margin-top: 0.5rem; }

/* ============ FINAL CTA ============ */
.final-cta {
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-primary) 100%);
    text-align: center; padding: 7rem 0;
    border-top: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.final-cta::before {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: 700px; height: 700px; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.25rem; }
.final-cta p { font-size: 1.0625rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto 2rem; }
.final-cta-actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

/* ============ FOOTER ============ */
footer { background: var(--bg-primary); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 4rem 2rem 2rem; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 3rem;
    margin-bottom: 3rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.footer-brand { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; margin-top: 1rem; max-width: 240px; }
.footer-h { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 1rem; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-list a { color: var(--text-secondary); font-size: 0.875rem; text-decoration: none; transition: color 0.15s; }
.footer-list a:hover { color: var(--text-primary); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 2rem; border-top: 1px solid var(--border);
    color: var(--text-muted); font-size: 0.75rem; gap: 1rem; flex-wrap: wrap;
}
.compliance-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.compliance-badge {
    font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem;
    color: var(--text-muted); border: 1px solid var(--border-strong);
    padding: 0.25rem 0.5rem; border-radius: 4px;
}

/* ============ REVEAL ============ */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease-out, transform 0.55s ease-out; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
