@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --bg: #0a0a0a;
    --surface: #111;
    --text: #e0e0e0;
    --dim: #888;
    --accent: #4a9eff;
    --accent-glow: rgba(74, 158, 255, 0.25);
    --green: #00cc88;
    --green-glow: rgba(0, 204, 136, 0.25);
    --hazard: #d4940a;
    --border: #222;
    --border-mid: #333;
    --border-strong: #e0e0e0;
    --mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    --max-w: 1120px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--mono);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Hazard Stripe ───────────────────────── */

.hazard {
    height: 4px;
    background: repeating-linear-gradient(
        -45deg,
        var(--hazard) 0 8px,
        transparent 8px 16px
    );
}

/* ── Layout ──────────────────────────────── */

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-inline: 2rem;
}

/* ── Header ──────────────────────────────── */

.header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    text-decoration: none;
    color: var(--text);
}

.logo:hover {
    text-decoration: none;
}

.logo-mark {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--accent);
}

.logo-mark .ll {
    color: var(--text);
}

.logo-text {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--dim);
}

.nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav a {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim);
}

.nav a:hover {
    color: var(--accent);
    text-decoration: none;
}

/* ── Mobile Nav Toggle ────────────────────── */

.nav-toggle {
    display: none;
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 4px 0;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Section Labels ──────────────────────── */

.section-label {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 2rem;
}

/* ── Hero ─────────────────────────────────── */

.hero {
    padding: 5rem 0 4rem;
}

.hero-statement {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    max-width: 680px;
    margin-bottom: 1rem;
}

.hero-sub {
    font-size: 1rem;
    color: var(--dim);
    max-width: 480px;
    margin-bottom: 3.5rem;
    line-height: 1.5;
}

/* ── Stats ────────────────────────────────── */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stats--half {
    grid-template-columns: repeat(2, 1fr);
}

.stats--three {
    grid-template-columns: repeat(3, 1fr);
}

.stat {
    background: var(--surface);
    border: 2px solid var(--border-mid);
    border-top: 3px solid var(--accent);
    padding: 1.75rem 1.5rem;
    animation: power-on 0.5s ease-out both;
}

.stat:nth-child(2) { animation-delay: 0.1s; }
.stat:nth-child(3) { animation-delay: 0.2s; }
.stat:nth-child(4) { animation-delay: 0.3s; }

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-mid);
}

.stat--clear {
    border-top-color: var(--green);
}

.stat--clear .stat-number {
    color: var(--green);
    text-shadow: 0 0 30px var(--green-glow);
}

/* ── Divider ──────────────────────────────── */

.divider {
    border: none;
    border-top: 1px solid var(--border);
}

/* ── Cards ────────────────────────────────── */

.cards-section {
    padding: 5rem 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 3px solid var(--border-strong);
    padding: 1.75rem;
    box-shadow: 6px 6px 0 0 var(--accent);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 0 var(--accent);
    text-decoration: none;
    color: var(--text);
}

.card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 0 var(--accent);
}

.card-number {
    font-size: 0.6875rem;
    color: var(--dim);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.8125rem;
    color: var(--dim);
    line-height: 1.55;
    flex-grow: 1;
}

.card-arrow {
    font-size: 1.25rem;
    color: var(--accent);
    margin-top: 1.5rem;
    align-self: flex-end;
    transition: transform 0.15s ease;
}

.card:hover .card-arrow {
    transform: translateX(4px);
}

.cards--coming-soon {
    grid-template-columns: repeat(3, 1fr);
}

.cards--three {
    grid-template-columns: repeat(3, 1fr);
}

.card--muted {
    box-shadow: none;
    border-color: var(--border-mid);
    cursor: default;
}

.card--muted:hover {
    transform: none;
    box-shadow: none;
}

/* ── Active Nav ───────────────────────────── */

.nav a[aria-current="page"] {
    color: var(--accent);
}

/* ── Page Hero (subpages) ────────────────── */

.page-hero {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.page-desc {
    font-size: 1rem;
    color: var(--dim);
    max-width: 560px;
    line-height: 1.5;
}

/* ── Sections (subpages) ─────────────────── */

.section {
    padding: 4rem 0;
}

.section + .section {
    border-top: 1px solid var(--border);
}

/* ── Tables ───────────────────────────────── */

.table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

th, td {
    padding: 0.875rem 1.25rem;
    text-align: left;
    border: 1px solid var(--border-mid);
}

th {
    background: var(--surface);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
}

.td-accent {
    color: var(--accent);
    font-weight: 700;
}

.td-green {
    color: var(--green);
    font-weight: 700;
}

/* ── Code Blocks ──────────────────────────── */

.code-block {
    background: var(--surface);
    border: 2px solid var(--border-mid);
    border-left: 3px solid var(--accent);
    padding: 1.25rem 1.5rem;
    font-size: 0.8125rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    line-height: 1.7;
}

.code-block .prompt {
    color: var(--dim);
    user-select: none;
}

/* ── Buttons ──────────────────────────────── */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--mono);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 3px solid var(--border-strong);
    background: var(--surface);
    color: var(--text);
    box-shadow: 4px 4px 0 0 var(--accent);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 0 var(--accent);
    text-decoration: none;
    color: var(--text);
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.btn--primary {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    box-shadow: 4px 4px 0 0 var(--border-strong);
}

.btn--primary:hover {
    box-shadow: 6px 6px 0 0 var(--border-strong);
    color: var(--bg);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ── Pricing ──────────────────────────────── */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 2px solid var(--border-mid);
    padding: 2rem;
}

.pricing-card--featured {
    border: 3px solid var(--border-strong);
    box-shadow: 6px 6px 0 0 var(--accent);
}

.pricing-tier {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-unit {
    font-size: 0.75rem;
    color: var(--dim);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-mid);
}

.pricing-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    color: var(--dim);
    border-bottom: 1px solid var(--border);
}

.pricing-features li::before {
    content: '→ ';
    color: var(--accent);
}

/* ── Audit Items (expanded stats) ─────────── */

.audit-list {
    max-width: 720px;
}

.audit-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border);
    align-items: baseline;
}

.audit-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
}

.audit-item--clear .audit-number {
    color: var(--green);
    text-shadow: 0 0 30px var(--green-glow);
}

.audit-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.375rem;
}

.audit-desc {
    font-size: 0.8125rem;
    color: var(--dim);
    line-height: 1.5;
}

/* ── Prose & Lists ────────────────────────── */

.prose {
    max-width: 640px;
}

.prose p {
    color: var(--dim);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.prose p:last-child {
    margin-bottom: 0;
}

.method-list {
    list-style: none;
    max-width: 640px;
}

.method-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--dim);
}

.method-list li::before {
    content: '// ';
    color: var(--accent);
    font-weight: 700;
}

/* ── Callout ──────────────────────────────── */

.callout {
    border-left: 3px solid var(--accent);
    padding: 1.5rem 2rem;
    background: var(--surface);
    max-width: 640px;
    margin: 1.5rem 0;
}

.callout p {
    color: var(--dim);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.callout p:last-child {
    margin-bottom: 0;
}

.callout--green {
    border-left-color: var(--green);
}

/* ── Badges ───────────────────────────────── */

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-mid);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Footer ───────────────────────────────── */

.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--dim);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: var(--dim);
    font-size: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-brand {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-sep {
    color: var(--border-mid);
}

/* ── Animations ───────────────────────────── */

@keyframes power-on {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ───────────────────────────── */

@media (max-width: 960px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .cards--coming-soon { grid-template-columns: repeat(2, 1fr); }
    .cards--three { grid-template-columns: repeat(2, 1fr); }
    .stats--three { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .nav-burger {
        display: flex;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .header-inner nav {
        display: none;
        width: 100%;
        order: 3;
    }

    .nav-toggle:checked ~ nav {
        display: block;
    }

    .nav {
        flex-direction: column;
        gap: 0;
        padding-top: 1.5rem;
    }

    .nav li {
        border-bottom: 1px solid var(--border);
    }

    .nav a {
        display: block;
        padding: 0.75rem 0;
    }

    .nav-toggle:checked ~ .nav-burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle:checked ~ .nav-burger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .nav-burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero { padding: 3rem 0 2.5rem; }
    .hero-sub { margin-bottom: 2.5rem; }
    .cards-section { padding: 3rem 0; }
    .cards { grid-template-columns: 1fr; }
    .cards--coming-soon { grid-template-columns: 1fr; }
    .cards--three { grid-template-columns: 1fr; }
    .stats--three { grid-template-columns: 1fr; }
    .page-hero { padding: 2.5rem 0 2rem; }
    .section { padding: 2.5rem 0; }
    .audit-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 400px) {
    .stats { grid-template-columns: 1fr; }
    .container { padding-inline: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .stat { animation: none; }
    .card { transition: none; }
    .card-arrow { transition: none; }
}
