/* ═══════════════════════════════════════════
   EdgeBits — Design System
   Natural Industrial. Not AI-ish.
   ═══════════════════════════════════════════ */

/* ── Light Mode (default) ── */
:root {
    /* Fonts — brand kit */
    --font-sans: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
    --font-mono: 'Roboto Mono', ui-monospace, 'Menlo', monospace;

    /* Surface */
    --bg:            #fafaf8;
    --bg-subtle:     #f2f1ee;
    --bg-card:       #ffffff;
    --bg-card-hover: #fafaf8;
    --bg-code:       #f7f6f3;
    --border:        #e5e3de;
    --border-hover:  #ccc9c0;

    /* Text */
    --text-primary:   #1a1a1a;
    --text-secondary: #5c5c5c;
    --text-muted:     #8a8a8a;

    /* Brand — Tailwind teal-700 */
    --accent:        #0f766e;
    --accent-soft:   rgba(15, 118, 110, 0.08);
    --accent-hover:  #115e59;
    --accent-text:   #0f766e;

    /* Warm accent — Amber for CTAs */
    --cta:           #c2710c;
    --cta-hover:     #a85f08;
    --cta-soft:      rgba(194, 113, 12, 0.08);

    /* Semantic */
    --green:  #2d8659;
    --amber:  #b45309;
    --red:    #c53030;
    --cyan:   #0f766e;

    /* Pipeline node colors */
    --node-ingest-bg:    rgba(15, 118, 110, 0.08);
    --node-ingest-border: rgba(15, 118, 110, 0.25);
    --node-ingest-text:  #0f766e;
    --node-transform-bg: rgba(180, 83, 9, 0.08);
    --node-transform-border: rgba(180, 83, 9, 0.25);
    --node-transform-text: #b45309;
    --node-egress-bg:    rgba(45, 134, 89, 0.08);
    --node-egress-border: rgba(45, 134, 89, 0.25);
    --node-egress-text:  #2d8659;

    /* Shadow */
    --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-lg:  0 12px 40px rgba(0, 0, 0, 0.08);

    /* Layout */
    --section-pad: 100px;
    --container: 1140px;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --nav-height: 60px;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
    --bg:            #111110;
    --bg-subtle:     #191918;
    --bg-card:       #1e1e1c;
    --bg-card-hover: #262624;
    --bg-code:       #1e1e1c;
    --border:        #2e2e2a;
    --border-hover:  #3e3e38;

    --text-primary:   #e8e6e1;
    --text-secondary: #a3a09a;
    --text-muted:     #6b6862;

    --accent:        #2dd4bf;
    --accent-soft:   rgba(45, 212, 191, 0.1);
    --accent-hover:  #5eead4;
    --accent-text:   #2dd4bf;

    --cta:           #e09422;
    --cta-hover:     #f0a535;
    --cta-soft:      rgba(224, 148, 34, 0.1);

    --green:  #3da06e;
    --amber:  #d49b2a;
    --red:    #e05252;
    --cyan:   #2dd4bf;

    --node-ingest-bg:    rgba(45, 212, 191, 0.1);
    --node-ingest-border: rgba(45, 212, 191, 0.25);
    --node-ingest-text:  #2dd4bf;
    --node-transform-bg: rgba(212, 155, 42, 0.1);
    --node-transform-border: rgba(212, 155, 42, 0.25);
    --node-transform-text: #d49b2a;
    --node-egress-bg:    rgba(61, 160, 110, 0.1);
    --node-egress-border: rgba(61, 160, 110, 0.25);
    --node-egress-text:  #3da06e;

    --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg:  0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ═══ Reset ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s ease, color 0.3s ease;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-height);
    background: var(--bg);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

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

.logo { display: flex; align-items: center; gap: 10px; }
.eb-mark {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.06em;
    color: var(--accent);
    line-height: 1;
    display: inline-block;
}
.logo-text {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Theme toggle */
.theme-toggle {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
    color: var(--text-secondary);
}
.theme-toggle:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 20px; height: 1.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
#hero {
    padding: 140px 0 var(--section-pad);
    text-align: center;
}
.hero-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
#hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.hero-sub {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 56px;
}
.hero-stats {
    display: inline-grid;
    grid-template-columns: repeat(4, auto);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}
.stat {
    text-align: center;
    padding: 20px 28px;
    border-left: 1px solid var(--border);
}
.stat:first-child { border-left: none; }
.stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: -0.03em;
    color: var(--text-primary);
}
.stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
}
.btn-secondary {
    background: var(--cta);
    color: #fff;
}
.btn-secondary:hover { background: var(--cta-hover); }
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-subtle);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-text);
}
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
section { padding: var(--section-pad) 0; }

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-header h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}
.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */
#features { background: var(--bg-subtle); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.2s;
}
.feature-card:hover {
    border-color: var(--border-hover);
}
.feature-icon {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--accent-text);
}
.feature-icon i { width: 24px; height: 24px; stroke-width: 1.75; }
.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 720px;
    margin: 0 auto;
}
.step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.step-number {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    font-family: var(--font-mono);
}
.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.step-code {
    background: var(--bg-code);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.step-code code {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--accent-text);
}
.step-code code.dim { color: var(--text-muted); }

.pipeline-demo, .cloud-demo {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-code);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    flex-wrap: wrap;
}
.pipe-node {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid;
}
.pipe-node.ingest {
    background: var(--node-ingest-bg);
    border-color: var(--node-ingest-border);
    color: var(--node-ingest-text);
}
.pipe-node.transform {
    background: var(--node-transform-bg);
    border-color: var(--node-transform-border);
    color: var(--node-transform-text);
}
.pipe-node.egress {
    background: var(--node-egress-bg);
    border-color: var(--node-egress-border);
    color: var(--node-egress-text);
}
.pipe-arrow {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 13px;
}

.cloud-node {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.cloud-node.cloud {
    border-color: var(--node-ingest-border);
    color: var(--node-ingest-text);
}
.cloud-arrow {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════
   USE CASES
   ═══════════════════════════════════════════ */
#use-cases { background: var(--bg-subtle); }

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.usecase-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}
.usecase-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-text);
    font-family: var(--font-mono);
    margin-bottom: 14px;
    display: block;
}
.usecase-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.usecase-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
}
.usecase-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
    border-radius: 100px;
}

/* ═══════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════ */
.marquee-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 14px 0;
    background: var(--bg-subtle);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.marquee-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee-scroll 40s linear infinite;
    will-change: transform;
}
.marquee-content span {
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    font-family: var(--font-mono);
    letter-spacing: 0.01em;
    flex-shrink: 0;
}
.marquee-content span.dot {
    padding: 0 4px;
    color: var(--border-hover);
    font-size: 18px;
    font-family: inherit;
    font-weight: 400;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   TRUSTED BY
   ═══════════════════════════════════════════ */
#trusted-by { padding: 80px 0; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trust-item { text-align: center; }
.trust-icon {
    width: 44px; height: 44px;
    background: var(--accent-soft);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    color: var(--accent-text);
}
.trust-icon i { width: 20px; height: 20px; }
.trust-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.trust-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   HERO ROTATING TEXT
   ═══════════════════════════════════════════ */
.rotate-text {
    display: inline-block;
    white-space: nowrap;
    color: var(--accent-text);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 2px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.rotate-text.fade-out {
    opacity: 0;
    transform: translateY(6px);
}

/* ═══════════════════════════════════════════
   SOLUTIONS
   ═══════════════════════════════════════════ */
#solutions { padding: var(--section-pad) 0; }
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.2s, transform 0.15s;
}
.solution-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.solution-icon {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--accent-text);
}
.solution-icon i { width: 26px; height: 26px; stroke-width: 1.75; }
.solution-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.solution-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}
.solution-tag {
    display: inline-block;
    margin-top: 14px;
    padding: 3px 10px;
    background: var(--accent-soft);
    color: var(--accent-text);
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
    border-radius: 100px;
}



/* ═══════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.blog-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.2s, transform 0.15s;
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.blog-tag {
    padding: 3px 10px;
    background: var(--cta-soft);
    color: var(--cta);
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.blog-date { font-size: 12px; color: var(--text-muted); }
.blog-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-text);
    transition: gap 0.2s;
}
.blog-card:hover .blog-read-more { gap: 10px; }

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */
#pricing { background: var(--bg-subtle); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}
.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.pricing-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.pricing-tier {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}
.pricing-price { margin-bottom: 28px; }
.price-currency {
    font-size: 18px;
    font-weight: 600;
    vertical-align: super;
    color: var(--text-secondary);
}
.price-amount {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.price-period {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}
.pricing-features {
    text-align: left;
    margin-bottom: 28px;
}
.pricing-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}
.pricing-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 28px;
}

/* ═══════════════════════════════════════════
   CASE STUDIES
   ═══════════════════════════════════════════ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.2s;
}
.case-card:hover { border-color: var(--border-hover); }
.case-industry {
    display: inline-block;
    padding: 3px 10px;
    background: var(--cta-soft);
    color: var(--cta);
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
}
.case-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.4;
}
.case-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.case-stat { text-align: center; flex: 1; }
.case-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent-text);
    letter-spacing: -0.03em;
}
.case-stat-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.case-card > p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 10px;
}
.case-role {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
#cta { padding: var(--section-pad) 0; }
.cta-box {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    box-shadow: var(--shadow-md);
}
.cta-box h2 {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}
.cta-box > p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
}
.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}
.cta-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.cta-trust span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
#footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg-subtle);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 14px;
    line-height: 1.6;
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 5px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .features-grid, .pricing-grid, .blog-grid, .cases-grid, .usecases-grid, .security-grid, .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    :root { --section-pad: 72px; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px 24px;
        gap: 14px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .mobile-toggle { display: flex; }

    .features-grid, .pricing-grid, .blog-grid, .cases-grid, .usecases-grid, .security-grid, .solutions-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid { grid-template-columns: 1fr; }

    /* Hero stats: 4-col grid → 2x2 grid on tablet/mobile, with clean border separators */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% - 32px);
        max-width: 460px;
    }
    .stat { padding: 14px 10px; border-left: none; }
    .stat:nth-child(2n) { border-left: 1px solid var(--border); }
    .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
    .stat-value { font-size: 18px; }
    .stat-label { font-size: 10px; }

    .hero-actions { flex-direction: column; align-items: center; }

    .step { flex-direction: column; gap: 12px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    .cta-box { padding: 40px 24px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-trust { flex-direction: column; align-items: center; gap: 6px; }

    /* Hero CTA buttons should fill width when stacked on mobile */
    .hero-actions .btn,
    .cta-actions .btn { width: 100%; max-width: 320px; }

    /* Code/pre blocks must scroll horizontally instead of overflowing */
    pre, code, .code-panel { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    pre { font-size: 12px; }

    /* Tables in blog posts should scroll horizontally rather than overflow */
    article table { display: block; overflow-x: auto; white-space: nowrap; }

    /* Long anchor URLs / emails in footer-bottom must wrap */
    .footer-bottom { word-break: break-word; text-align: center; }

    /* Tighten nav padding on small screens so logo + toggle fit */
    .nav-inner { padding: 0 16px; gap: 8px; }
}

/* pricing-addon inline padding overrides on mobile */
@media (max-width: 540px) {
    .pricing-addon > div { padding: 24px 20px !important; }
}

/* Narrow phones (≤380px) — hero stats fall to single column */
@media (max-width: 380px) {
    .hero-stats {
        grid-template-columns: 1fr;
        width: calc(100% - 32px);
    }
    .stat { border-left: none !important; }
    .stat:nth-child(n+2) { border-top: 1px solid var(--border); }
    .stat-value { font-size: 20px; }

    .container { padding: 0 16px; }
}

/* ═══════════════════════════════════════════
   SECURITY
   ═══════════════════════════════════════════ */
.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.security-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.2s;
}
.security-card:hover { border-color: var(--border-hover); }
.security-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--accent-text);
    margin-top: 2px;
}
.security-icon i { width: 22px; height: 22px; stroke-width: 1.75; }
.security-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.security-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   CODE TABS
   ═══════════════════════════════════════════ */
.code-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}
.code-tab {
    padding: 6px 14px;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-sans);
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}
.code-tab:hover { color: var(--text-secondary); }
.code-tab.active {
    color: var(--accent-text);
    border-bottom-color: var(--accent);
}
.code-panel { display: none; flex-direction: column; gap: 3px; }
.code-panel.active { display: flex; }

/* ═══════════════════════════════════════════
   THEME TOGGLE ICON VISIBILITY
   ═══════════════════════════════════════════ */
.theme-icon-dark { display: none; }
.theme-icon-light { display: block; }
[data-theme="dark"] .theme-icon-dark { display: block; }
[data-theme="dark"] .theme-icon-light { display: none; }
.theme-toggle i { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════
   ANIMATIONS — subtle, not flashy
   ═══════════════════════════════════════════ */
.animate-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .animate-in { opacity: 1; transform: none; transition: none; }
    .animate-in.visible { transition: none; }
}

/* ═══════════════════════════════════════════
   PROTOCOL STRIP — replaces scrolling marquee
   ═══════════════════════════════════════════ */
.protocols-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
    background: var(--bg-subtle);
}
.protocols-eyebrow {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.protocols-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
}
.protocols-col .protocols-eyebrow {
    margin-bottom: 16px;
}
.protocols-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}
.protocols-grid span {
    text-align: center;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    letter-spacing: -0.01em;
}
.protocols-foundations {
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
    color: var(--text-muted);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}
.protocols-foundations a {
    color: var(--accent-text);
    border-bottom: 1px solid var(--accent-soft);
    transition: border-color 0.2s;
}
.protocols-foundations a:hover { border-bottom-color: var(--accent); }

@media (max-width: 768px) {
    .protocols-cols { grid-template-columns: 1fr; gap: 28px; }
    .protocols-grid { grid-template-columns: repeat(2, 1fr); }
    .protocols-foundations { font-size: 12px; padding: 0 8px; }
}

/* ═══════════════════════════════════════════
   TRUST SECTION — bare icons, 3-col variant
   ═══════════════════════════════════════════ */
.trust-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
    margin: 0 auto;
}
.trust-icon-bare {
    display: inline-block;
    width: 26px;
    height: 26px;
    color: var(--accent-text);
    margin-bottom: 14px;
    stroke-width: 1.75;
}
.trust-item a {
    color: var(--accent-text);
    border-bottom: 1px solid var(--accent-soft);
    transition: border-color 0.2s;
}
.trust-item a:hover { border-bottom-color: var(--accent); }
@media (max-width: 1024px) {
    .trust-grid-3 { grid-template-columns: 1fr; gap: 28px; }
}

/* ═══════════════════════════════════════════
   CURRENCY TOGGLE — pill
   ═══════════════════════════════════════════ */
.currency-toggle {
    display: inline-flex;
    gap: 0;
    margin-top: 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
}
.currency-btn {
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s;
}
.currency-btn:hover { color: var(--text-primary); }
.currency-btn.active {
    background: var(--accent);
    color: #fff;
}

/* ═══════════════════════════════════════════
   CALLOUT SECTIONS — Centralised Management, UNS
   ═══════════════════════════════════════════ */
.callout-section {
    padding: 80px 0;
    background: var(--bg);
}
.callout-section.callout-alt {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.callout-block {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.callout-block.callout-block-narrow { max-width: 780px; }

.callout-headline { margin-bottom: 40px; }
.callout-headline h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.callout-headline-soft {
    color: var(--text-secondary);
    font-weight: 600;
}
.callout-headline p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Topology diagram (Centralised Management) */
.topology-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 32px;
}
.topology-diagram {
    display: block;
    width: 100%;
    min-width: 520px;
    max-width: 720px;
    height: auto;
    margin: 0 auto;
    color: var(--accent);
}
.topology-diagram .topo-box {
    fill: var(--bg-card);
    stroke: var(--border);
    stroke-width: 1;
}
.topology-diagram .topo-box-manager {
    fill: var(--accent-soft);
    stroke: var(--accent);
    stroke-width: 1.5;
}
.topology-diagram .topo-label {
    fill: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.topology-diagram .topo-label-strong { fill: var(--accent-text); }
.topology-diagram .topo-sub {
    fill: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.topology-diagram .topo-arrows line {
    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-dasharray: 4 3;
    fill: none;
}
.topology-diagram .topo-arrow-label {
    fill: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.callout-checks {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    font-size: 13.5px;
    color: var(--text-secondary);
    list-style: none;
    padding: 0;
}
.callout-checks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.callout-checks i {
    width: 14px;
    height: 14px;
    color: var(--green);
    stroke-width: 2.5;
}

.callout-strip {
    display: inline-flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.callout-stat {
    padding: 20px 40px;
    text-align: center;
}
.callout-stat + .callout-stat { border-left: 1px solid var(--border); }
.callout-stat-value {
    display: block;
    font-size: 30px;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: -0.04em;
    color: var(--accent-text);
    line-height: 1;
}
.callout-stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 6px;
}

.callout-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Catalog section variants */
.catalog-strip {
    display: inline-flex;
    flex-wrap: wrap;
    margin-bottom: 24px;
    justify-content: center;
}
.catalog-strip .callout-stat {
    padding: 18px 28px;
}
.catalog-note {
    text-align: center;
    margin-top: 4px;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}
.catalog-note a {
    color: var(--accent-text);
    border-bottom: 1px solid var(--accent-soft);
    transition: border-color 0.2s;
}
.catalog-note a:hover {
    border-bottom-color: var(--accent);
}

@media (max-width: 768px) {
    .callout-section { padding: 56px 0; }
    .callout-strip { flex-direction: column; display: flex; }
    .callout-stat + .callout-stat { border-left: none; border-top: 1px solid var(--border); }
    .callout-stat { padding: 16px 32px; }
}

@media (max-width: 600px) {
    .callout-stat-value { font-size: 24px; }
}

/* Unified Namespace visual */
.uns-topic-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    margin-bottom: 24px;
}
.uns-topic {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: clamp(14px, 2.2vw, 17px);
    font-weight: 500;
    margin-bottom: 24px;
}
.uns-seg {
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent-text);
    white-space: nowrap;
}
.uns-seg.uns-seg-prefix {
    color: var(--text-muted);
    background: var(--bg-subtle);
}
.uns-sep {
    color: var(--text-muted);
    font-weight: 600;
}
.uns-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    font-size: 12px;
    color: var(--text-secondary);
}
.uns-legend span em {
    font-style: normal;
    font-weight: 700;
    color: var(--accent-text);
    font-family: var(--font-mono);
    margin-right: 6px;
}
.uns-caption {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto;
}

/* ── Nav CTA button ───────────────────────────────────────────── */
.nav-cta {
    font-size: 13px;
    padding: 7px 16px;
    border-radius: 6px;
    margin-right: 8px;
}
@media (max-width: 540px) {
    .nav-cta { display: none; }
}

/* ── Contact / Talk to Us section ────────────────────────────── */
#contact {
    padding: 96px 0;
    background: var(--bg-subtle);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-left h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-left > p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.contact-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-checks li i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

.contact-direct p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-email {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.contact-email:hover { text-decoration: underline; }

/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 480px) {
    .contact-form { padding: 24px 20px; }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 540px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-field input,
.form-field textarea {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.15s;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);
}

/* Turnstile widget — auto-width from Cloudflare */
.cf-turnstile { margin-top: 4px; }

.contact-submit {
    width: 100%;
    justify-content: center;
}

.contact-success,
.contact-error {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    border-radius: 8px;
    padding: 12px 16px;
}

.contact-success[hidden],
.contact-error[hidden] { display: none; }

.contact-success {
    background: rgba(45, 134, 89, 0.08);
    color: var(--green);
    border: 1px solid rgba(45, 134, 89, 0.2);
}

.contact-error {
    background: rgba(197, 48, 48, 0.06);
    color: var(--red);
    border: 1px solid rgba(197, 48, 48, 0.15);
}

.contact-success i,
.contact-error i { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Centre a lone card when solutions grid has 7 items ──────── */
.solutions-grid > *:last-child:nth-child(3n+1) {
    grid-column: 2;
}
@media (max-width: 1024px) {
    .solutions-grid > *:last-child:nth-child(3n+1) { grid-column: auto; }
}

/* ── Edge-first principles strip ─────────────────────────────── */
.principles-strip {
    padding: 56px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.principle {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.principle i {
    width: 22px;
    height: 22px;
    color: var(--accent);
    margin-bottom: 6px;
    flex-shrink: 0;
}
.principle h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}
.principle p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 1024px) {
    .principles-grid { gap: 28px; }
}
@media (max-width: 768px) {
    .principles-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Glossary tooltip (DMZ-native, mTLS etc.) ─────────────────── */
.glossary-tip {
    text-decoration: underline dotted var(--text-muted);
    text-underline-offset: 3px;
    cursor: help;
    white-space: nowrap;
}
/* Tooltip rendered as a floating div by JS (bypasses overflow:hidden) */
.floating-tip {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 12px;
    font-style: normal;
    font-family: var(--font-sans);
    line-height: 1.5;
    padding: 7px 12px;
    border-radius: 6px;
    white-space: normal;
    max-width: min(260px, 80vw);
    box-shadow: var(--shadow-md);
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.15s ease;
}

/* ── Security card plain-language subtitle ────────────────────── */
.security-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-text);
    margin: 2px 0 6px;
    letter-spacing: 0.01em;
}

/* ── How It Works step note ───────────────────────────────────── */
.step-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
    font-style: italic;
}

.contact-error a { color: var(--red); font-weight: 600; }

/* ── Platform flow diagram (edge-flow SVG) ────────────────────── */
.platform-flow { margin-top: 48px; text-align: center; }
.platform-flow img { max-width: 100%; height: auto; border-radius: 8px; }
.flow-dark  { display: none; }
[data-theme="dark"] .flow-dark  { display: block; }
[data-theme="dark"] .flow-light { display: none; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: border-color 0.15s;
}
.faq-item[open] { border-color: var(--border-hover); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: var(--text-muted);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: contain;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-answer {
    padding: 0 20px 20px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}
.faq-answer p { margin: 12px 0 0; }
.faq-answer p:first-child { margin-top: 14px; }
.faq-answer ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.faq-answer strong { color: var(--text-primary); }
.faq-vs {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-vs-item {
    padding: 12px 14px;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.faq-vs-item strong { color: var(--text-primary); display: block; margin-bottom: 2px; }
