/* ============================================
   DESIGN TOKENS
   Dark cinematic theme with neon accents
   Red, yellow, green neon on obsidian black
   ============================================ */

:root,
.dark {
    --background: #0a0a0a;
    --foreground: #f5f5f5;
    --card: #161616;
    --card-foreground: #f5f5f5;
    --popover: #161616;
    --popover-foreground: #f5f5f5;
    --primary: #dc2626;
    --primary-foreground: #ffffff;
    --secondary: #0c0a09;
    --secondary-foreground: #f5f5f5;
    --muted: #2a2a2a;
    --muted-foreground: #b0b0b0;
    --accent: #84cc16;
    --accent-foreground: #0a0a0a;
    --accent-yellow: #facc15;
    --accent-yellow-foreground: #0a0a0a;
    --destructive: #ef4444;
    --destructive-foreground: #000000;
    --border: #2a2a2a;
    --input: #161616;
    --ring: #dc2626;
    --neon-red: #ff1744;
    --neon-green: #39ff14;
    --neon-yellow: #ffeb3b;
    --max-width: 1200px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 80px;
    --header-height: 64px;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

.table-wrapper:focus-visible,
[class*="table-"]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

p, li, td, th {
    overflow-wrap: break-word;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
}

h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 200ms ease-out;
}

a:hover {
    color: var(--neon-green);
}

ul {
    list-style: none;
}

/* ============================================
   UTILITY LAYOUT
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section {
    padding: var(--space-xl) 0;
    scroll-margin-top: calc(var(--header-height) + 16px);
}

/* Normalize desktop section spacing to avoid oversized gaps */
@media (min-width: 1024px) {
    .section {
        padding: var(--space-2xl) 0;
    }
    .section .container > .text-center + .stat-block-grid,
    .section .container > .text-center + .info-card-grid {
        margin-top: 0;
    }
    /* Reduce excessive gap after centered buttons in sections */
    .section .text-center[style*="margin-top"] {
        margin-top: var(--space-md) !important;
    }
}

#main-content {
    scroll-margin-top: var(--header-height);
    padding-top: var(--header-height);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
    overflow: clip;
}

.hero-graffiti-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(220, 38, 38, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 85% 70%, rgba(132, 204, 22, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-splatter {
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background-image:
        radial-gradient(ellipse at 30% 40%, rgba(220, 38, 38, 0.06) 0%, transparent 25%),
        radial-gradient(ellipse at 60% 60%, rgba(132, 204, 22, 0.04) 0%, transparent 20%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 640px;
}

.hero-badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: var(--neon-red);
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(2rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: var(--space-lg);
    max-width: 55ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.hero-microcopy {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.hero-mascot {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.hero-mascot img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(220, 38, 38, 0.2));
}

.text-neon-red {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

.section-heading {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.section-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    max-width: 65ch;
    margin: 0 auto var(--space-lg);
}

.section-lead a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.section-lead a:hover,
.section-lead a:focus-visible {
    color: var(--neon-green);
    text-decoration: underline;
}

.section-alt {
    background: var(--secondary);
}

.section-lg {
    padding: var(--space-2xl) 0;
}

.text-center {
    text-align: center;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    flex-shrink: 0;
}

.site-brand .logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.brand-name {
    font-family: "Unbounded", sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--foreground);
    letter-spacing: -0.02em;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--foreground);
    padding: 8px 4px;
    text-decoration: none;
    transition: color 200ms ease-out;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* ============================================
   MOBILE MENU TOGGLE
   ============================================ */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--foreground);
    border-radius: 2px;
    transition: all 250ms ease-out;
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
    background: var(--primary);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
    background: var(--primary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 200ms ease-out;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 24px rgba(220, 38, 38, 0.6);
    color: var(--primary-foreground);
}

.btn-secondary {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    min-height: 52px;
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-nav {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    padding: var(--space-xl) var(--space-sm) var(--space-md);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.footer-heading {
    font-family: "Unbounded", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links li {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 200ms ease-out;
}

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

.footer-bottom {
    max-width: var(--max-width);
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

/* ============================================
   CTA BANNER COMPONENT
   ============================================ */

.cta-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, var(--secondary) 0%, #000 100%);
    padding: var(--space-xl) var(--space-sm);
    text-align: center;
    overflow: clip;
}

.cta-banner-graffiti {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(132, 204, 22, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.cta-banner-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.cta-banner-title {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

.cta-banner-subtitle {
    font-size: 1rem;
    color: var(--foreground);
    max-width: 65ch;
    margin: 0 auto var(--space-md);
    line-height: 1.6;
}

.cta-microcopy {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-top: var(--space-sm);
}

/* ============================================
   STAT BLOCK COMPONENT
   ============================================ */

.stat-block-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.stat-card {
    background: var(--muted);
    padding: var(--space-md);
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.stat-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    display: block;
    font-family: "Unbounded", sans-serif;
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.stat-card.stat-primary .stat-number {
    color: var(--primary);
}

.stat-card.stat-green .stat-number {
    color: var(--accent);
}

.stat-card.stat-yellow .stat-number {
    color: var(--accent-yellow);
}

.stat-label {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

/* ============================================
   INFO CARD COMPONENT
   ============================================ */

.info-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.info-card {
    background: var(--muted);
    border-radius: 12px;
    padding: var(--space-md);
    border: 1px solid var(--border);
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
    min-width: 0;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.15);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(132, 204, 22, 0.4));
}

.info-card-image {
    margin-bottom: var(--space-sm);
}

.info-card-image img {
    border-radius: 8px;
    object-fit: cover;
}

.info-card-title {
    font-family: "Unbounded", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-xs);
}

.info-card-body {
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    max-width: 70ch;
}

.info-card-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Prose content links - underline for distinguishability */
.prose-content {
    max-width: 70ch;
    margin: 0 auto;
}

.prose-content p {
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.prose-content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.prose-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.prose-content a:hover {
    color: var(--neon-green);
}

.prose-content strong {
    color: var(--foreground);
}

/* Sitemap description inline links - distinguishable without color alone */
.sitemap-desc a {
    color: var(--neon-yellow);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.sitemap-desc a:hover,
.sitemap-desc a:focus-visible {
    color: var(--primary);
    text-decoration: underline;
}

/* Table wrapper keyboard focus */
.table-wrapper:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   FAQ ACCORDION COMPONENT
   ============================================ */

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

.faq-summary {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    cursor: pointer;
    list-style: none;
    font-family: "Manrope", sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    color: var(--accent);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 300ms ease-out;
}

.faq-item[open] .faq-icon {
    color: var(--primary);
}

.faq-item[open] .faq-icon .faq-icon-plus {
    opacity: 0;
}

.faq-question {
    flex: 1;
}

.faq-answer {
    padding: 0 var(--space-md) var(--space-md) calc(var(--space-md) + 40px);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted-foreground);
}

/* ============================================
   ENGAGEMENT PATTERNS
   ============================================ */

/* Summary / TL;DR box */
.tldr-box {
    background: var(--muted);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    padding: var(--space-md);
    margin: var(--space-md) 0;
    max-width: 100%;
    overflow: clip;
}

.tldr-box-title {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

/* Callout / highlight box */
.callout-box {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    padding: var(--space-md);
    margin: var(--space-md) 0;
    max-width: 100%;
}

.callout-title {
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #ff6b6b;
    margin-bottom: var(--space-xs);
}

.callout-box p a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.callout-box p a:hover,
.callout-box p a:focus-visible {
    color: var(--neon-green);
    text-decoration: underline;
}

/* Pull quote */
.pull-quote {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--foreground);
    border-left: 4px solid var(--primary);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    line-height: 1.4;
    max-width: 100%;
}

.pull-quote cite {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    font-style: normal;
    color: var(--muted-foreground);
    margin-top: var(--space-sm);
}

/* Trust badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
    padding: var(--space-md) 0;
}

.trust-badge {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted-foreground);
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-sm);
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
}

.comparison-table th {
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
    color: var(--foreground);
    background: var(--muted);
}

.comparison-table .col-recommended {
    background: rgba(132, 204, 22, 0.08);
    border-left: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .cta-banner {
        padding: var(--space-2xl) var(--space-sm);
    }
}

@media (min-width: 1024px) {
    .stat-block-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .info-card {
        padding: var(--space-lg);
    }

    /* VIP section: 5 cards in a single balanced row on wide screens */
    .vip-section .info-card-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (min-width: 1200px) {
    .vip-section .info-card-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Hero desktop: two-column balanced layout */
@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero-content {
        text-align: left;
        flex: 1;
        max-width: 55%;
    }

    .hero-actions {
        align-items: flex-start;
    }

    .hero-subtitle {
        margin-left: 0;
    }

    .hero-mascot {
        flex: 1;
        max-width: 42%;
    }
}

/* ============================================
   MOBILE NAV DRAWER
   Hidden on desktop, slide-in panel on mobile
   ============================================ */

@media (max-width: 1023px) {
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--background);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - var(--header-height));
        min-height: 300px;
        background: var(--background);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-md);
        gap: var(--space-sm);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 300ms ease-out, visibility 300ms ease-out;
        z-index: 999;
        visibility: hidden;
        pointer-events: none;
    }

    .primary-nav.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

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

    .nav-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: var(--space-sm) var(--space-xs);
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-cta {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
        padding-top: var(--space-md);
    }

    .btn-nav {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
    }

    .nav-overlay {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms ease-out, visibility 300ms ease-out;
    }

    .nav-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }
}

@media (min-width: 1024px) {
    .nav-overlay {
        display: none;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}