/* ============================================
   SERVERIX DESIGN SYSTEM
   Cyberpunk-industrial aesthetic
   Mobile-first, dark-mode primary
   ============================================ */

/* ============================================
   BOX SIZING & RESET
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ============================================
   TYPOGRAPHY FOUNDATION
   Space Grotesk  - Headlines
   IBM Plex Sans  - Body copy
   IBM Plex Mono  - Code labels, terminal
   JetBrains Mono - Terminal UI, specs
   ============================================ */
:root {
    --font-heading: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'Fira Code', monospace;
    --font-mono-alt: 'IBM Plex Mono', 'Fira Code', monospace;

    /* Spacing scale (8px base) */
    --space-1:  4px;
    --space-2:  8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-30: 120px;

    /* Section vertical rhythm */
    --section-gap: 120px;
    --section-gap-tablet: 72px;
    --section-gap-mobile: 56px;

    /* Max content width */
    --max-w: 1200px;
    --max-w-article: 760px;
    --gutter: 24px;

    /* Border radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Transitions */
    --transition: 200ms ease-out;
    --transition-slow: 400ms ease-out;

    /* Z-index stack */
    --z-header: 1000;
    --z-mobile-toggle: 1001;
    --z-drawer: 999;
    --z-modal: 2000;
    --z-cookie: 1500;
}

/* ============================================
   BASE ELEMENTS
   ============================================ */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY SCALE
   H1 64px/40px  H2 48px/32px  H3 32px/24px  H4 22px/20px
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; }
h4 { font-size: clamp(20px, 2.5vw, 22px); font-weight: 600; }

p {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--muted-foreground);
    overflow-wrap: break-word;
}

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

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

ul, ol { list-style: none; }

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

pre, code {
    font-family: var(--font-mono);
    max-width: 100%;
    overflow-x: auto;
}

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

section {
    overflow: clip;
}

/* ============================================
   LAYOUT UTILITIES
   .container - max-width 1200px centered
   .container-article - max-width 760px centered
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.container-article {
    width: 100%;
    max-width: var(--max-w-article);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* ============================================
   BUTTONS
   .btn           - base button
   .btn-primary   - electric blue fill
   .btn-outline   - slate outline
   .btn-ghost     - transparent
   .btn-lg        - large 56px
   .btn-sm        - small 36px
   .btn-full      - full width
   .btn-glow      - cyan pulse glow on hover
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 14px 28px;
    min-height: 48px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* FIX: Darkened primary button color from #3d72f6 to #2352d4 (light) / #2B5CE6 (dark)
   to achieve 4.5:1 contrast ratio with white text (#ffffff) */
.btn-primary {
    background: #2352d4;
    color: #ffffff;
    border-color: #2352d4;
}

.dark .btn-primary {
    background: #2B5CE6;
    border-color: #2B5CE6;
    color: #ffffff;
}

.btn-primary:hover {
    background: #3366f0;
    border-color: #3366f0;
    color: #ffffff;
    transform: translateY(-1px);
}

.dark .btn-primary:hover {
    background: #4a7ef7;
    border-color: #4a7ef7;
    color: #ffffff;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(0, 229, 245, 0.35), 0 0 40px rgba(61, 114, 246, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--muted-foreground);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--muted);
    color: var(--foreground);
}

.btn-lg {
    font-size: 16px;
    padding: 18px 36px;
    min-height: 56px;
}

.btn-sm {
    font-size: 13px;
    padding: 10px 18px;
    min-height: 40px;
}

.btn-full { width: 100%; }

/* ============================================
   MONOSPACE / CODE ELEMENTS
   .mono-tag    - cyan JetBrains Mono micro-label
   .code-block  - terminal-style code container
   .terminal    - full terminal window mockup
   ============================================ */
.mono-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: var(--space-2);
}

.code-block {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.5;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-6);
    overflow-x: auto;
    min-width: 0;
    max-width: 100%;
}

.code-block code {
    display: block;
    min-width: 0;
    overflow-x: auto;
    white-space: pre;
    color: var(--foreground);
}

.code-block .code-accent { color: var(--accent); }
.code-block .code-muted { color: var(--muted-foreground); }
.code-block .code-comment { color: var(--muted-foreground); opacity: 0.7; }

/* Terminal window mockup */
.terminal {
    background: #080c12;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid var(--border);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot--red   { background: #FF5F57; }
.terminal-dot--yellow{ background: #FEBC2E; }
.terminal-dot--green { background: #28C840; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted-foreground);
    margin-left: var(--space-2);
}

.terminal-body {
    padding: var(--space-6);
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.6;
    color: var(--foreground);
    min-height: 200px;
    overflow-x: auto;
}

.terminal-line { display: block; }
.terminal-prompt { color: var(--accent); }
.terminal-success { color: #28C840; }
.terminal-info { color: #3D72F6; }
.terminal-muted { color: var(--muted-foreground); }

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent);
    vertical-align: text-bottom;
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ============================================
   SITE HEADER
   Sticky, frosted glass, z-index 1000
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: rgba(14, 17, 23, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background var(--transition);
}

/* Light mode header */
html:not(.dark) .site-header {
    background: rgba(244, 246, 249, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: var(--space-6);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.logo-wordmark {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.03em;
}

/* Desktop nav */
.main-nav {
    display: none;
    flex: 1;
    align-items: center;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--foreground);
    background: var(--muted);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.header-cta { display: none; }

/* Theme toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.dark .theme-toggle .icon-moon,
.icon-sun { display: none; }

.dark .theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: block; }

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    z-index: var(--z-mobile-toggle);
    flex-shrink: 0;
    transition: border-color var(--transition);
}

.mobile-menu-toggle:hover { border-color: var(--accent); }

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}

/* Hamburger → X */
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE NAV DRAWER
   Fixed, full-screen below header, opaque
   ============================================ */
@media (max-width: 1023px) {
    .main-nav {
        display: block;
        position: fixed;
        top: 69px; /* header height */
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--background);
        z-index: var(--z-drawer);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform var(--transition);
        padding: var(--space-6) var(--gutter);
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
        margin-bottom: var(--space-8);
    }

    .nav-link {
        font-size: 18px;
        font-weight: 600;
        padding: 16px var(--space-4);
        min-height: 56px;
        display: flex;
        align-items: center;
        color: var(--foreground);
    }

    .nav-mobile-footer {
        display: block;
        padding-top: var(--space-6);
        border-top: 1px solid var(--border);
    }

    /* Disable backdrop-filter on mobile to avoid CSS containing block trap */
    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: var(--background);
    }
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        position: static;
        background: transparent;
        transform: none;
        padding: 0;
        overflow: visible;
    }

    .nav-mobile-footer { display: none; }
    .mobile-menu-toggle { display: none; }
    .header-cta { display: inline-flex; }
}

/* ============================================
   SITE FOOTER
   4-column grid collapsing to 2-col tablet, 1-col mobile
   ============================================ */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: var(--space-20) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-brand { grid-column: 1; }

.footer-tagline {
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted-foreground);
    margin-top: var(--space-4);
    max-width: 280px;
}

.footer-logo { margin-bottom: var(--space-3); }

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--muted-foreground);
    text-decoration: none;
    transition: all var(--transition);
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: var(--space-4);
}

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

.footer-link {
    font-size: 15px;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
    font-family: var(--font-body);
}

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

.footer-bar {
    border-top: 1px solid var(--border);
    padding: var(--space-6) 0;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 13px;
    color: var(--muted-foreground);
}

.footer-slash {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--accent);
    opacity: 0.5;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand { grid-column: span 2; }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    .footer-brand { grid-column: 1; }
}

/* ============================================
   MODALS
   Overlay dialogs for Privacy, Terms, Cookies
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.modal.is-open { display: flex; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    cursor: pointer;
}

.modal-container {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 680px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6) var(--space-8);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--foreground);
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--muted-foreground);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}

.modal-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.modal-body {
    padding: var(--space-8);
    overflow-y: auto;
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted-foreground);
}

.modal-body h3 {
    font-size: 18px;
    color: var(--foreground);
    margin: var(--space-6) 0 var(--space-3);
}

.modal-body p { margin-bottom: var(--space-4); }

/* ============================================
   COOKIE BANNER
   Fixed bottom bar on first visit
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-cookie);
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: var(--space-4) var(--gutter);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    flex: 1;
    min-width: 200px;
}

.cookie-text svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }

.cookie-text p {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 0;
}

.cookie-link {
    background: none;
    border: none;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--space-3);
    flex-shrink: 0;
}

/* ============================================
   DIAGONAL SLASH MOTIF
   Section dividers and decorative accents
   ============================================ */
.slash-divider {
    position: relative;
    height: 2px;
    background: transparent;
    overflow: visible;
    margin: var(--space-12) 0;
}

.slash-divider::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    animation: slash-draw 0.4s ease-out forwards;
}

.slash-divider.is-visible::after {
    width: 120px;
}

@keyframes slash-draw {
    from { width: 0; }
    to   { width: 120px; }
}

/* ============================================
   SCROLL ANIMATIONS
   .animate-on-scroll → .is-visible triggers reveal
   Stagger via --stagger CSS custom property
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.5s ease-out,
        transform 0.5s ease-out;
    transition-delay: var(--stagger, 0ms);
}

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

/* ============================================
   SECTION BASE STYLES
   Standard vertical rhythm for all sections
   ============================================ */
.section {
    padding: var(--section-gap-mobile) 0;
}

.section--dark {
    background: #080c12;
}

.section--surface {
    background: var(--surface);
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: var(--space-4);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    display: block;
    margin-bottom: var(--space-3);
}

.section-header {
    margin-bottom: var(--space-10);
}

.section-header h2 {
    margin-bottom: var(--space-4);
    color: (--background);
}

.section-header p {
    font-size: 17px;
    max-width: 600px;
}

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

.section-header--center p {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section { padding: var(--section-gap-tablet) 0; }
}

@media (min-width: 1024px) {
    .section { padding: var(--section-gap) 0; }
}

/* ============================================
   GRID LAYOUTS
   Standard responsive grids used across pages
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================
   CARDS
   .card          - base dark charcoal card
   .card-featured - 2px cyan border accent
   .card-slash    - diagonal slash top-left accent
   ============================================ */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: box-shadow var(--transition), transform var(--transition);
    min-width: 0;
}

.card:hover {
    box-shadow: 0 8px 32px rgba(0, 229, 245, 0.1);
    transform: scale(1.02);
}

.card-featured {
    border-color: var(--accent);
    border-width: 2px;
}

.card-slash {
    position: relative;
}

.card-slash::before {
    content: '/';
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--accent);
    opacity: 0.6;
    line-height: 1;
}

/* ============================================
   CTA BANNER COMPONENT
   Full-bleed conversion section
   ============================================ */
.cta-banner {
    background: var(--background);
    padding: var(--section-gap-mobile) 0;
    position: relative;
}

.cta-banner-slash {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 40px,
            rgba(0, 229, 245, 0.04) 40px,
            rgba(0, 229, 245, 0.04) 41px
        );
    pointer-events: none;
}

.cta-banner-inner {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-banner-headline {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: var(--space-4);
}

.cta-banner-subline {
    font-size: 17px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-8);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
}

@media (min-width: 640px) {
    .cta-banner-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .cta-banner { padding: var(--section-gap) 0; }
}

/* ============================================
   FAQ ACCORDION COMPONENT
   Expandable Q&A rows with FAQPage schema
   ============================================ */
.faq-accordion {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: border-left-color var(--transition);
}

.faq-item--active {
    border-left: 2px solid var(--accent);
    padding-left: 16px;
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-6) 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    min-height: 48px;
    gap: var(--space-4);
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.3;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 200ms ease-out;
}

.faq-item--active .faq-chevron {
    transform: rotate(90deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 200ms ease-out;
}

.faq-item--active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    font-size: 17px;
    color: var(--muted-foreground);
    line-height: 1.7;
    padding-bottom: var(--space-6);
}

.faq-answer-inner p { margin-bottom: var(--space-3); }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ============================================
   STAT BLOCK COMPONENT
   Large metric cards with count-up animation
   ============================================ */
.stat-block-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    color: var(--foreground);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-underline {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: var(--space-3) 0;
    flex-shrink: 0;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.4;
}

.stat-source {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted-foreground);
    margin-top: var(--space-4);
    display: block;
}

@media (min-width: 640px) {
    .stat-block-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

/* For 3-stat rows */
.stat-block-row--3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .stat-block-row--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

/* ============================================
   TESTIMONIAL CARD COMPONENT
   Review cards with schema markup
   ============================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    position: relative;
    min-width: 0;
    transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(0, 229, 245, 0.08);
    transform: scale(1.02);
}

.testimonial-slash {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    overflow: hidden;
}

.testimonial-slash::after {
    content: '/';
    position: absolute;
    top: 6px;
    left: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--accent);
    opacity: 0.7;
}

.testimonial-quote-glyph {
    font-size: 56px;
    line-height: 1;
    color: var(--accent);
    font-family: Georgia, serif;
    display: block;
    margin-bottom: var(--space-2);
    opacity: 0.8;
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    font-style: normal;
    margin-bottom: var(--space-6);
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    border-top: 1px solid var(--border);
    padding-top: var(--space-4);
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--foreground);
}

.testimonial-role {
    font-family: var(--font-mono-alt);
    font-size: 13px;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============================================
   PRICING CARDS
   .pricing-card       - base plan card
   .pricing-card-featured - highlighted Pro plan
   ============================================ */
.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
    box-shadow: 0 8px 40px rgba(0, 229, 245, 0.1);
    transform: translateY(-2px);
}

.pricing-card-featured {
    border-color: var(--accent);
    border-width: 2px;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--accent-foreground);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-tier {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-4);
    display: block;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
    margin-bottom: var(--space-6);
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 48px);
    font-weight: 700;
    color: var(--foreground);
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-period {
    font-size: 17px;
    color: var(--muted-foreground);
}

.pricing-desc {
    font-size: 15px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    flex: 1;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 15px;
    color: var(--muted-foreground);
}

.pricing-feature-check {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 16px;
}

.pricing-note {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted-foreground);
    opacity: 0.7;
    text-align: center;
    margin-top: var(--space-6);
}

/* Pricing grid 3-col */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============================================
   FEATURE CARDS
   Used in features and developer experience sections
   ============================================ */
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    min-width: 0;
    transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
    box-shadow: 0 4px 24px rgba(0, 229, 245, 0.1);
    transform: scale(1.02);
}

.feature-icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: var(--space-4);
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted-foreground);
}

/* ============================================
   PRODUCT CARDS
   Hosting product line (VPS, Cloud, Dedicated, Managed)
   ============================================ */
.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
    box-shadow: 0 8px 32px rgba(0, 229, 245, 0.1);
    transform: scale(1.02);
}

.product-card-featured {
    border-color: var(--accent);
    border-width: 2px;
}

.product-card-slash {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 40px solid var(--accent);
    border-right: 40px solid transparent;
    opacity: 0.3;
    border-radius: var(--radius-lg) 0 0 0;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-3);
}

.product-desc {
    font-size: 15px;
    color: var(--muted-foreground);
    margin-bottom: var(--space-6);
    flex: 1;
}

.product-price {
    margin-bottom: var(--space-6);
}

.product-price-amount {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.02em;
    line-height: 1;
}

.product-price-period {
    font-size: 15px;
    color: var(--muted-foreground);
    margin-left: 2px;
}

/* ============================================
   COMPARISON TABLES
   Head-to-head specification tables
   ============================================ */
.table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    min-width: 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table thead {
    background: var(--muted);
}

.comparison-table th {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 16px 20px;
    text-align: left;
}

.comparison-table th:first-child {
    color: var(--muted-foreground);
}

.comparison-table td {
    padding: 14px 20px;
    font-size: 15px;
    color: var(--muted-foreground);
    border-top: 1px solid var(--border);
    vertical-align: top;
}

.comparison-table tr:nth-child(even) td {
    background: rgba(255,255,255,0.02);
}

.comparison-table td:first-child {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--foreground);
    font-size: 14px;
}

.comparison-table .cell-accent { color: var(--accent); }
.comparison-table .cell-check { color: var(--accent); }
.comparison-table .cell-dash { color: var(--muted-foreground); opacity: 0.5; }

/* ============================================
   TABS COMPONENT
   Product-type tabs for pricing and feature comparison
   ============================================ */
.tabs {
    overflow: hidden;
}

.tab-list {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-8);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-list::-webkit-scrollbar { display: none; }

.tab-trigger {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-foreground);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 10px 18px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition);
    min-height: 40px;
}

.tab-trigger:hover {
    color: var(--foreground);
    background: var(--muted);
}

.tab-trigger[aria-selected="true"] {
    background: #2B5CE6;
    color: #ffffff;
    border-color: #2B5CE6;
}

html:not(.dark) .tab-trigger[aria-selected="true"] {
    background: #2352d4;
    color: #ffffff;
    border-color: #2352d4;
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ============================================
   HERO SECTION BASE
   Full-viewport hero with mesh/animation
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--background);
    padding: var(--space-20) 0;
}

.hero--short {
    min-height: 50vh;
}

.hero--medium {
    min-height: 60vh;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: var(--space-5);
}

.hero-headline {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--foreground);
    line-height: 1.05;
    margin-bottom: var(--space-5);
}

.hero-subheadline {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: var(--space-8);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
}

@media (min-width: 480px) {
    .hero-actions { flex-direction: row; align-items: center; }
}

/* Animated background mesh */
.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(61, 114, 246, 0.15), transparent),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(0, 229, 245, 0.07), transparent);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 245, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 245, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.3) 80%, transparent);
}

/* Hero visual panel */
.hero-visual {
    position: relative;
    z-index: 1;
}

/* ============================================
   TRUST BAR / QUICK STATS ROW
   Horizontal row of credibility metrics
   ============================================ */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    align-items: center;
    padding: var(--space-6) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 14px;
    color: var(--muted-foreground);
    white-space: nowrap;
}

.trust-item-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.trust-item strong {
    color: var(--foreground);
    font-weight: 600;
}

/* ============================================
   CALLOUT / HIGHLIGHT BOXES
   Inline tip/note/warning boxes
   ============================================ */
.callout {
    background: rgba(61, 114, 246, 0.08);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: var(--space-5) var(--space-6);
    margin: var(--space-6) 0;
}

.callout--accent {
    background: rgba(0, 229, 245, 0.06);
    border-left-color: var(--accent);
}

.callout--warning {
    background: rgba(254, 188, 46, 0.08);
    border-left-color: #FEBC2E;
}

.callout p {
    font-size: 15px;
    color: #E8ECF2;
    margin: 0;
}

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

/* ============================================
   SPEC CALLOUT BOX
   Price range / spec highlight within article prose
   ============================================ */
.spec-callout {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: var(--space-8) 0;
    display: inline-block;
}

.spec-callout-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.spec-callout-underline {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: var(--space-3) 0;
}

.spec-callout-label {
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   PULL QUOTE
   Oversized quote breaking content flow
   ============================================ */
.pull-quote {
    border-left: 3px solid var(--accent);
    padding: var(--space-5) var(--space-8);
    margin: var(--space-10) 0;
}

.pull-quote-text {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.4;
    font-style: italic;
    margin-bottom: var(--space-3);
}

.pull-quote-cite {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--muted-foreground);
}

/* ============================================
   TL;DR / SUMMARY BOX
   Key takeaways near page top
   ============================================ */
.tldr-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin: var(--space-8) 0;
}

.tldr-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: var(--space-4);
}

.tldr-box p {
    font-size: 16px;
    color: var(--foreground);
    margin-bottom: var(--space-3);
}

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

/* ============================================
   QUICK VERDICT PILLS
   Side-by-side comparison tags in hero
   ============================================ */
.verdict-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin: var(--space-5) 0;
}

.verdict-pill {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--foreground);
    font-weight: 500;
}

/* ============================================
   ARTICLE META (date, read time)
   ============================================ */
.article-meta {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.article-meta-sep {
    color: var(--border);
}

/* ============================================
   BREADCRUMB
   Navigation trail
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { color: var(--foreground); }
.breadcrumb-sep { color: var(--accent); opacity: 0.5; }

/* ============================================
   WORLD MAP / DATACENTER VISUAL
   SVG-based global datacenter map
   ============================================ */
.dc-map-container {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    overflow: hidden;
    position: relative;
}

.dc-map-svg {
    width: 100%;
    height: auto;
    opacity: 0.6;
}

.dc-dot {
    fill: var(--accent);
    animation: dc-pulse 2s ease-in-out infinite;
}

.dc-dot:nth-child(2) { animation-delay: 0.4s; }
.dc-dot:nth-child(3) { animation-delay: 0.8s; }
.dc-dot:nth-child(4) { animation-delay: 1.2s; }
.dc-dot:nth-child(5) { animation-delay: 1.6s; }

@keyframes dc-pulse {
    0%, 100% { opacity: 1; r: 4; }
    50%       { opacity: 0.5; r: 6; }
}

/* ============================================
   USE CASE CARDS
   Compact icon + label cards
   ============================================ */
.use-case-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-width: 0;
    transition: box-shadow var(--transition), transform var(--transition);
}

.use-case-card:hover {
    box-shadow: 0 4px 20px rgba(0, 229, 245, 0.1);
    transform: scale(1.02);
}

.use-case-icon {
    font-size: 28px;
    line-height: 1;
}

.use-case-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
}

.use-case-desc {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* ============================================
   WEB3 CARDS
   Compact icon strip for blockchain section
   ============================================ */
.web3-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    min-width: 0;
}

.web3-icon {
    font-size: 28px;
}

.web3-category {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.web3-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
}

/* ============================================
   FEATURE CHECKLIST (pricing comparison)
   Full-width table showing included features
   ============================================ */
.feature-checklist-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.feature-checklist-table th {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.feature-checklist-table th:first-child {
    text-align: left;
    color: #E8ECF2;
}

.feature-checklist-table td {
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid rgba(42, 51, 71, 0.5);
    color: var(--muted-foreground);
}

.feature-checklist-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #E8ECF2;
}

.feature-checklist-table tr:nth-child(even) td {
    background: rgba(255,255,255,0.02);
}

.check-yes { color: var(--accent); font-size: 18px; }
.check-no  { color: var(--muted-foreground); opacity: 0.4; font-size: 18px; }

/* ============================================
   WHY SECTION - Differentiator List
   ============================================ */
.differentiator-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.differentiator-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.differentiator-slash {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--accent);
    line-height: 1.2;
    flex-shrink: 0;
}

.differentiator-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-2);
}

.differentiator-content p {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ============================================
   MOBILE CAROUSEL (pricing cards on mobile)
   Scroll-snap based swipeable carousel
   ============================================ */
.carousel-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-4);
    display: flex;
    gap: var(--space-4);
}

.carousel-wrapper::-webkit-scrollbar { display: none; }

.carousel-wrapper > * {
    flex: 0 0 min(300px, 85vw);
    scroll-snap-align: start;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), transform var(--transition);
}

.carousel-dot.is-active {
    background: var(--accent);
    transform: scale(1.3);
}

/* ============================================
   NODE STATUS TERMINAL
   For Web3 section terminal mockup
   ============================================ */
.node-status {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-mono);
    font-size: 13px;
    padding: var(--space-2) 0;
}

.node-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.node-status-dot--active {
    background: #28C840;
    box-shadow: 0 0 6px rgba(40, 200, 64, 0.6);
    animation: node-pulse 2s ease-in-out infinite;
}

.node-status-dot--sync { background: #FEBC2E; }
.node-status-dot--offline { background: #FF5F57; }

@keyframes node-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

/* ============================================
   MISC UTILITIES
   ============================================ */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted-foreground); }
.text-center { text-align: center; }
.text-mono   { font-family: var(--font-mono); }

/* FIX: .text-accent links inside text blocks need underline to be distinguishable
   from surrounding muted text without relying on color alone */
p .text-accent,
.section-footnote .text-accent,
.pricing-note .text-accent {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

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

/* ============================================
   INDEX.HTML - HOMEPAGE SPECIFIC STYLES
   ============================================ */

/* --- Hero Section --- */
.hero-home {
    min-height: 100vh;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--muted-foreground);
}

.hero-trust-icon {
    color: var(--accent);
    font-weight: 700;
}

/* Hero status widget */
.hero-status-widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    margin-top: var(--space-4);
}

.hero-status-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
}

.hero-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-status-dot--active {
    background: #28C840;
    box-shadow: 0 0 6px rgba(40, 200, 64, 0.6);
    animation: node-pulse 2s ease-in-out infinite;
}

.hero-status-label {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--foreground);
    font-weight: 600;
}

.hero-status-metrics {
    display: flex;
    gap: var(--space-6);
}

.hero-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-metric-val {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.hero-metric-key {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted-foreground);
    letter-spacing: 0.05em;
}

/* Slash transition at bottom of hero */
.hero-slash-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 60%);
    opacity: 0.5;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- Products Section --- */
.products-grid .product-icon {
    font-size: 32px;
    margin-bottom: var(--space-4);
    display: block;
}

.section-footnote {
    text-align: center;
    font-size: 15px;
    color: var(--muted-foreground);
    margin-top: var(--space-8);
}

/* --- Why Serverix Section --- */
.why-section {
    position: relative;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 60px,
        rgba(0, 229, 245, 0.015) 60px,
        rgba(0, 229, 245, 0.015) 61px
    );
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: start;
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.why-terminal {
    position: sticky;
    top: 90px;
}

/* --- Performance Section --- */
.perf-spec-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .perf-spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.perf-spec-item {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-5) var(--space-6);
}

.perf-spec-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.02em;
    margin: var(--space-2) 0 var(--space-3);
}

.perf-spec-desc {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* --- Developer Experience Section --- */
.dev-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: start;
}

@media (min-width: 1024px) {
    .dev-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.dev-feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.dev-feature-item {
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border);
}

.dev-feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dev-feature-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-2);
}

.dev-feature-item p {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.inline-code {
    font-family: var(--font-mono);
    font-size: 13px;
    background: rgba(0,229,245,0.08);
    color: var(--accent);
    border: 1px solid rgba(0,229,245,0.2);
    border-radius: var(--radius-sm);
    padding: 1px 6px;
}

.dev-terminal {
    position: sticky;
    top: 90px;
}

/* --- Inline CTA Strip --- */
.inline-cta-strip {
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-6) 0;
}

.inline-cta-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
}

@media (min-width: 768px) {
    .inline-cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.inline-cta-text {
    font-size: 17px;
    color: var(--muted-foreground);
    margin: 0;
}

.inline-cta-text strong {
    color: var(--foreground);
}

/* --- Web3 Section --- */
.web3-section {
    position: relative;
    overflow: hidden;
}

.web3-hex-bg {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 17.3 L60 34.7 L30 52 L0 34.7 L0 17.3 Z' fill='none' stroke='rgba(0,229,245,0.04)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 52px;
    pointer-events: none;
}

.web3-cards-grid {
    margin-bottom: var(--space-8);
}

/* --- Use Cases Section --- */
.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

@media (min-width: 768px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* --- FAQ Layout --- */
.faq-layout {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Pricing Note --- */
.pricing-note {
    text-align: center;
    margin-top: var(--space-6);
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--muted-foreground);
}

/* --- DC Map Label --- */
.dc-map-label {
    margin-bottom: var(--space-2);
}

/* ============================================
   LIGHT MODE OVERRIDES
   Ensure design holds in light theme too
   ============================================ */
html:not(.dark) .terminal,
html:not(.dark) .code-block {
    background: #1A1F2E;
}

html:not(.dark) .hero-grid-bg {
    opacity: 0.5;
}

html:not(.dark) .cta-banner-slash {
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
    .hide-tablet-up { display: none !important; }
}

@media (min-width: 1024px) {
    .hide-desktop { display: none !important; }
}

/* ============================================
   PRICING.HTML - PAGE SPECIFIC STYLES
   ============================================ */

/* --- Pricing Hero --- */
.pricing-hero {
    min-height: 55vh;
    padding: 100px 0 60px;
    overflow: hidden;
}

.pricing-hero-inner {
    position: relative;
    z-index: 1;
}

.pricing-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
}

@media (min-width: 1024px) {
    .pricing-hero-grid {
        grid-template-columns: 3fr 2fr;
        align-items: center;
    }
}

/* Live ticker card */
.pricing-ticker-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.pricing-ticker-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.pricing-ticker-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.pricing-ticker-value {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-ticker-sub {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
}

/* Hero trust items */
.pricing-hero-trust {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.pricing-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--muted-foreground);
}

.pricing-trust-icon {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* --- Pricing Stats Section --- */
.pricing-stats {
    padding: var(--space-16) 0;
}

@media (min-width: 768px) {
    .pricing-stats {
        padding: var(--space-20) 0;
    }
}

/* --- Tab Intro Callout (inside tab panels) --- */
.tab-intro-callout {
    background: rgba(0, 229, 245, 0.05);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: var(--space-5) var(--space-6);
    margin-bottom: var(--space-8);
}

.tab-intro-callout p {
    font-size: 15px;
    color: var(--foreground);
    margin: 0;
    line-height: 1.7;
}

.tab-intro-callout strong {
    color: var(--foreground);
}

/* ============================================
   DEDICATED-SERVERS-VS-VPS.HTML - PAGE SPECIFIC STYLES
   Guide / Informational Article Page
   ============================================ */

/* --- Guide Hero --- */
.guide-hero {
    padding: 80px 0 64px;
    position: relative;
    overflow: hidden;
}

.guide-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
}

.guide-hero-headline {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--foreground);
    line-height: 1.08;
    margin-bottom: var(--space-5);
    max-width: 820px;
}

.guide-hero-subheadline {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin-bottom: var(--space-6);
    max-width: 680px;
}

/* --- TL;DR Section --- */
.tldr-section {
    padding: var(--space-12) 0;
}

@media (min-width: 768px) {
    .tldr-section { padding: var(--space-16) 0; }
}

.tldr-table {
    min-width: 500px;
}

/* --- Article Column (760px max-width centered) --- */
.article-column {
    max-width: var(--max-w-article);
    margin: 0 auto;
}

.article-column h2 {
    margin-bottom: var(--space-5);
}

.article-column h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 600;
    color: var(--foreground);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.article-column p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin-bottom: var(--space-5);
}

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

.article-column > .section-eyebrow {
    margin-bottom: var(--space-3);
}

/* --- Guide List (slash prefix items) --- */
.guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.guide-list li {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    font-size: 16px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.guide-list li strong {
    color: var(--foreground);
}

.guide-list-accent {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--accent);
    line-height: 1.3;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- When-To List (scenario items) --- */
.when-to-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin: var(--space-6) 0;
    max-width: var(--max-w-article);
    margin-left: auto;
    margin-right: auto;
}

.when-to-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.when-to-item > .guide-list-accent {
    font-size: 22px;
    padding-top: 2px;
}

.when-to-item > div h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 0;
    margin-bottom: var(--space-2);
}

.when-to-item > div p {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.65;
    margin-bottom: 0;
}

/* --- Guide CLI Callout --- */
.guide-cli-callout {
    margin: var(--space-8) 0;
    max-width: var(--max-w-article);
    margin-left: auto;
    margin-right: auto;
}

.guide-cli-note {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: var(--space-3);
    text-align: center;
}

/* --- Web3 Guide Section --- */
.web3-guide-section {
    position: relative;
    overflow: hidden;
}

.web3-guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: start;
}

@media (min-width: 1024px) {
    .web3-guide-grid {
        grid-template-columns: 55fr 45fr;
        align-items: start;
    }
}

.web3-guide-prose h3 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    color: var(--foreground);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.web3-guide-prose p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin-bottom: var(--space-4);
}

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

.web3-guide-terminal {
    position: sticky;
    top: 90px;
}

/* Web3 use case strip */
.web3-use-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

.web3-use-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    flex: 1;
    min-width: 120px;
}

.web3-use-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
}

.web3-use-desc {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted-foreground);
}

/* ============================================
   DEDICATED-SERVERS-VS-VPS.HTML - PAGE SPECIFIC STYLES
   Guide / Informational Article Page
   ============================================ */

/* --- Guide Hero --- */
.guide-hero {
    padding: 80px 0 64px;
    position: relative;
    overflow: hidden;
}

.guide-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
}

.guide-hero-headline {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--foreground);
    line-height: 1.08;
    margin-bottom: var(--space-5);
    max-width: 820px;
}

.guide-hero-subheadline {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin-bottom: var(--space-6);
    max-width: 680px;
}

/* --- TL;DR Section --- */
.tldr-section {
    padding: var(--space-12) 0;
}

@media (min-width: 768px) {
    .tldr-section { padding: var(--space-16) 0; }
}

.tldr-table {
    min-width: 500px;
}

/* --- Article Column (760px max-width centered) --- */
.article-column {
    max-width: var(--max-w-article);
    margin: 0 auto;
}

.article-column h2 {
    margin-bottom: var(--space-5);
}

.article-column h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 600;
    color: var(--foreground);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.article-column p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin-bottom: var(--space-5);
}

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

.article-column > .section-eyebrow {
    margin-bottom: var(--space-3);
}

/* --- Guide List (slash prefix items) --- */
.guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.guide-list li {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    font-size: 16px;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.guide-list li strong {
    color: var(--foreground);
}

.guide-list-accent {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--accent);
    line-height: 1.3;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- When-To List (scenario items) --- */
.when-to-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin: var(--space-6) 0;
    max-width: var(--max-w-article);
    margin-left: auto;
    margin-right: auto;
}

.when-to-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.when-to-item > .guide-list-accent {
    font-size: 22px;
    padding-top: 2px;
}

.when-to-item > div h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 0;
    margin-bottom: var(--space-2);
}

.when-to-item > div p {
    font-size: 15px;
    color: var(--muted-foreground);
    line-height: 1.65;
    margin-bottom: 0;
}

/* --- Guide CLI Callout --- */
.guide-cli-callout {
    margin: var(--space-8) 0;
    max-width: var(--max-w-article);
    margin-left: auto;
    margin-right: auto;
}

.guide-cli-note {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: var(--space-3);
    text-align: center;
}

/* --- Web3 Guide Section --- */
.web3-guide-section {
    position: relative;
    overflow: hidden;
}

.web3-guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: start;
}

@media (min-width: 1024px) {
    .web3-guide-grid {
        grid-template-columns: 55fr 45fr;
        align-items: start;
    }
}

.web3-guide-prose h3 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    color: var(--foreground);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.web3-guide-prose p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin-bottom: var(--space-4);
}

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

.web3-guide-terminal {
    position: sticky;
    top: 90px;
}

/* Web3 use case strip */
.web3-use-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

.web3-use-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    flex: 1;
    min-width: 120px;
}

.web3-use-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
}

.web3-use-desc {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted-foreground);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .cookie-banner,
    .modal,
    .mobile-menu-toggle,
    .theme-toggle { display: none !important; }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
}