/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:         #f5ead0;          /* parchment base */
    --bg-card:    #efe3c8;          /* aged card */
    --bg-raised:  #e8d9b8;          /* raised surface */
    --border:     #c4a87a;          /* warm brown border */
    --text:       #2c1810;          /* dark sepia ink */
    --text-muted: #6b5744;          /* faded ink */
    --accent:     #a0522d;          /* sienna — Da Vinci red-brown */
    --accent-alt: #5b7a3a;          /* muted Renaissance green */
    --electric:   #2dd4bf;          /* teal — electric accent for CTAs */
    --gradient:   linear-gradient(135deg, #a0522d, #cc7832);
    --gradient-alt: linear-gradient(135deg, #5b7a3a, #7a9f50);
    --mono:       'Menlo', 'Cascadia Mono', 'Consolas', monospace;
    --sans:       -apple-system, 'Segoe UI', 'Helvetica Neue', sans-serif;
    --serif:      'Charter', 'Georgia', 'Times New Roman', serif;
    --max-w:      min(1600px, 92vw);
    --radius:     12px;
    --radius-sm:  8px;

    /* ── Golden Ratio (φ) Design Tokens ──────────── */
    --phi: 1.618;

    /* Type scale (base = 1rem) */
    --text-2xs:  0.65rem;     /* 1 / φ² × √φ   */
    --text-xs:   0.786rem;    /* 1 / √φ²        */
    --text-sm:   0.875rem;    /* ~1 / √φ         */
    --text-base: 1rem;        /* base            */
    --text-md:   1.272rem;    /* √φ              */
    --text-lg:   1.618rem;    /* φ               */
    --text-xl:   2.058rem;    /* φ × √φ          */
    --text-2xl:  2.618rem;    /* φ²              */
    --text-3xl:  4.236rem;    /* φ³              */

    /* Spacing scale (base = 1rem) */
    --space-3xs: 0.25rem;     /* 1 / φ³          */
    --space-2xs: 0.382rem;    /* 1 / φ²          */
    --space-xs:  0.5rem;      /* ~1 / (φ × √φ)   */
    --space-sm:  0.618rem;    /* 1 / φ           */
    --space-md:  1rem;        /* base            */
    --space-lg:  1.272rem;    /* √φ              */
    --space-xl:  1.618rem;    /* φ               */
    --space-2xl: 2rem;        /* φ × √φ (rounded) */
    --space-3xl: 2.618rem;    /* φ²              */
    --space-4xl: 3.236rem;    /* φ² × √φ         */
    --space-5xl: 4.236rem;    /* φ³              */
    --space-6xl: 5.236rem;    /* φ³ × √φ (rounded) */
    --space-7xl: 6.854rem;    /* φ⁴              */

    /* Rhythm */
    --line-height: 1.618;
    --grid-phi: 1fr 1.618fr;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    color: var(--text);
    line-height: var(--line-height);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
code { font-family: var(--mono); }

h1, h2, h3 { font-family: var(--serif); }


.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Gradient text ───────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #6b3a1f, #a0522d, #cc7832);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-alt {
    background: linear-gradient(135deg, #3d5a1e, #5b7a3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Nav ─────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    background: rgba(245, 234, 208, 0.85);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 700;
    font-size: var(--text-md);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text { letter-spacing: -0.02em; }

.logo-beta {
    font-size: var(--text-2xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    background: rgba(160, 82, 45, 0.12);
    color: var(--accent);
    border: 1px solid rgba(160, 82, 45, 0.25);
    line-height: 1;
    margin-left: -0.15rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    font-size: var(--text-sm);
    color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }

/* Nav hamburger (mobile) */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    flex-direction: column;
    gap: 5px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Download CTA button (amber gradient) */
.nav-cta-download {
    padding: 0.45rem 1.2rem;
    border-radius: 9999px;
    background: var(--gradient);
    color: #fff !important;
    font-weight: 600;
    transition: opacity 0.2s;
    font-size: var(--text-sm);
}
.nav-cta-download:hover { opacity: 0.85; }

/* Legacy outline CTA (kept for reference) */
.nav-cta {
    padding: 0.45rem 1.2rem;
    border-radius: 9999px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    color: var(--text) !important;
    font-weight: 500;
    transition: border-color 0.2s;
}
.nav-cta:hover { border-color: var(--accent); }

/* ── Buttons ────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    padding: var(--space-sm) var(--space-2xl);
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--accent), var(--electric));
    color: #fff;
    font-weight: 700;
    font-size: var(--text-base);
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(45, 212, 191, 0.2);
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(45, 212, 191, 0.3);
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}
.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}
.btn-primary.btn-lg { padding: var(--space-md) var(--space-3xl); font-size: var(--text-md); }

.btn-outline {
    display: inline-block;
    padding: var(--space-sm) var(--space-2xl);
    border-radius: 9999px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    font-size: var(--text-base);
    transition: border-color 0.2s, transform 0.2s;
    cursor: pointer;
}
.btn-outline:hover { border-color: var(--accent); transform: translateY(-1px); }

.btn-icon {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.15em;
    margin-right: 0.4em;
    flex-shrink: 0;
}
.btn-telegram:hover { border-color: #26A5E4; color: #26A5E4; }

/* ── Hero ────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 7.5rem clamp(1.5rem, 5vw, 4rem) 1.5rem;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(160, 82, 45, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: min(900px, 80vw); margin: 0 auto; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xl);
    font-family: var(--serif);
    font-size: var(--text-sm);
    color: var(--text-muted);
    position: relative;
    margin-bottom: var(--space-md);
    background: none;
    border: none;
    padding-bottom: 16px;
}
.hero-badge-item {
    cursor: default;
    font-style: italic;
    transition: color 0.2s;
}
.hero-badge-item:hover {
    color: var(--accent);
}
/* Circles and line all positioned from the badge container */
.hero-badge-item::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0.5;
    margin: 6px auto 0;
}
/* Line through center of circles */
.hero-badge::after {
    content: '';
    position: absolute;
    bottom: 19px;
    left: 0;
    right: 0;
    height: 1px;
    background: url("data:image/svg+xml,%3Csvg width='200' height='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 1 Q25 0, 50 1 T100 1 T150 1 T200 1' fill='none' stroke='%23a0522d' stroke-width='0.8' opacity='0.4'/%3E%3C/svg%3E") repeat-x;
}

.hero-title {
    font-size: clamp(var(--text-2xl), 6vw, var(--text-3xl));
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xl);
}
.hero-rotator {
    background: linear-gradient(135deg, #6b3a1f, #a0522d, #cc7832);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    min-width: 1ch;
    min-height: 1.15em;
    vertical-align: bottom;
}
.hero-rotator::after {
    content: '|';
    display: inline-block;
    background: none;
    -webkit-text-fill-color: var(--accent);
    animation: blink 0.7s step-end infinite;
    margin-left: 1px;
    font-weight: 300;
}
@keyframes blink {
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: var(--text-md);
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}
.hero-subtitle-accent {
    display: inline-block;
    margin-top: 0.4rem;
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-4xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-xs);
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-size: var(--text-xl);
    font-weight: 800;
    font-family: var(--mono);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-sock-link {
    margin-top: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.01em;
}
.hero-sock-link a {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: rgba(196, 168, 122, 0.3);
    text-underline-offset: 2px;
    transition: color 0.2s, text-decoration-color 0.2s;
}
.hero-sock-link a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}
.hero-sock-link em { font-style: italic; font-weight: 600; }

/* ── Screenshot frame ────────────────────────────── */
.hero-screenshot {
    position: relative;
    z-index: 1;
    max-width: min(1400px, 88vw);
    margin: 0 auto;
}

.screenshot-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 20px 60px rgba(0,0,0,0.5),
        0 0 120px rgba(204, 120, 50, 0.06);
}

.screenshot-frame img {
    width: 100%;
    display: block;
}

/* ── Section header ──────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-header h2 {
    font-size: clamp(var(--text-xl), 4vw, var(--text-2xl));
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: var(--text-md);
    line-height: 1.7;
}

.section-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    background: rgba(160, 82, 45, 0.1);
    color: var(--accent);
    border: 1px solid rgba(160, 82, 45, 0.2);
}

.section-badge.badge-alt,
.badge-alt {
    background: rgba(91, 122, 58, 0.1);
    color: var(--accent-alt);
    border-color: rgba(91, 122, 58, 0.2);
}

.section-badge.badge-blue {
    background: rgba(70, 100, 140, 0.1);
    color: #46648c;
    border-color: rgba(70, 100, 140, 0.2);
}

.section-badge.badge-purple {
    background: rgba(100, 70, 130, 0.1);
    color: #644682;
    border-color: rgba(100, 70, 130, 0.2);
}

.section-cta-text {
    text-align: center;
    margin-top: var(--space-2xl);
    font-size: var(--text-base);
}
.section-cta-text a {
    color: var(--accent-alt);
    font-weight: 500;
}
.section-cta-text a:hover { text-decoration: underline; }

/* ── Problem Section (index) ────────────────────── */
.problem-section {
    padding: var(--space-2xl) 0 var(--space-7xl);
}

.problem-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.problem-vs {
    font-size: var(--text-base);
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.problem-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-2xl);
}

.problem-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.problem-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.problem-item {
    font-size: var(--text-base);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    background: var(--bg-raised);
}

.problem-item.dim {
    color: var(--text-muted);
    opacity: 0.6;
}

.problem-chau7 .problem-item {
    border-left: 3px solid var(--accent);
    background: rgba(204, 120, 50, 0.08);
}

.problem-chau7 .mcp-demo.compact {
    margin-bottom: 0;
}
.problem-chau7 .mcp-demo.compact .demo-code {
    padding: var(--space-md);
    font-size: var(--text-xs);
    line-height: 1.55;
}

/* ── Pillars (index) ────────────────────────────── */
.pillars-section {
    padding: var(--space-5xl) 0 var(--space-7xl);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.pillar-card {
    background: none;
    border: none;
    border-left: 3px solid var(--accent);
    border-radius: 0;
    padding: var(--space-2xl) var(--space-2xl) var(--space-2xl) var(--space-3xl);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.pillar-card:hover {
    border-color: var(--electric);
    background: rgba(45, 212, 191, 0.04);
    transform: translateX(6px);
}

.pillar-number {
    font-family: var(--mono);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.pillar-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.6;
    flex: 1;
}

.pillar-link {
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-top: var(--space-lg);
    transition: letter-spacing 0.3s ease, color 0.3s;
}
.pillar-card:hover .pillar-link {
    letter-spacing: 0.04em;
    color: var(--electric);
}

/* ── Showcase + AI parallax pair ────────────────── */
.showcase-ai-pair {
    position: relative;
}

.showcase-section {
    padding: 0;
    position: sticky;
    top: 60px;               /* just below the nav */
    z-index: 1;
}

/* ── AI Preview (index) ─────────────────────────── */
.ai-preview-section {
    position: relative;
    z-index: 2;
    padding: var(--space-5xl) 0 var(--space-7xl);
    max-width: var(--max-w);
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -8px 40px rgba(44, 24, 16, 0.12);
}

/* ── Proof Section (index) ──────────────────────── */
.proof-section {
    padding: var(--space-7xl) 0;
    text-align: center;
}

.proof-content h2 {
    font-size: clamp(var(--text-xl), 3.5vw, var(--text-2xl));
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.proof-content p {
    color: var(--text-muted);
    font-size: var(--text-md);
    margin-bottom: var(--space-2xl);
}

/* ── Footer CTA (index) ────────────────────────── */
.footer-cta-section {
    padding: var(--space-7xl) 0;
    text-align: center;
    background: var(--bg-card);
}

.footer-cta-content h2 {
    font-size: clamp(var(--text-xl), 3.5vw, var(--text-2xl));
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-2xl);
}

/* ── Dual Nature ─────────────────────────────────── */
.dual-nature { padding: var(--space-7xl) 0; }

.dual-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.dual-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-3xl);
    transition: border-color 0.3s, transform 0.3s;
}
.dual-card:hover { transform: translateY(-4px); }

.dual-card.human:hover  { border-color: var(--accent); }
.dual-card.agent:hover  { border-color: var(--accent-alt); }

.dual-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}
.dual-card.human .dual-card-icon { background: rgba(204, 120, 50, 0.12); color: var(--accent); }
.dual-card.agent .dual-card-icon { background: rgba(52, 211, 153, 0.12); color: var(--accent-alt); }

.dual-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.dual-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.dual-card li {
    color: var(--text-muted);
    font-size: var(--text-base);
    padding-left: var(--space-lg);
    position: relative;
}
.dual-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.dual-card.human li::before { background: var(--accent); }
.dual-card.agent li::before { background: var(--accent-alt); }

/* ── MCP Section ─────────────────────────────────── */
.mcp-section {
    padding: var(--space-7xl) 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.mcp-section .section-badge {
    background: rgba(52, 211, 153, 0.1);
    color: var(--accent-alt);
    border-color: rgba(52, 211, 153, 0.2);
}

.mcp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.mcp-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-2xl);
}
.mcp-page .mcp-block { background: var(--bg-card); }

.mcp-block h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.tool-list { display: flex; flex-direction: column; gap: var(--space-sm); }

.tool {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    font-size: var(--text-sm);
}

.tool code {
    flex-shrink: 0;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(52, 211, 153, 0.08);
    color: var(--accent-alt);
    font-size: var(--text-sm);
    font-weight: 500;
}

.tool span {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* ── JSON Demo ───────────────────────────────────── */
.mcp-demo {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: var(--space-3xl);
}
.mcp-page .mcp-demo { background: var(--bg-card); }

.demo-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
}

.demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.demo-dot.red    { background: #ff5f57; }
.demo-dot.yellow { background: #febc2e; }
.demo-dot.green  { background: #28c840; }

.demo-title {
    margin-left: var(--space-xs);
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-family: var(--mono);
}

.demo-code {
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-sm);
    line-height: 1.65;
    overflow-x: auto;
    font-family: var(--mono);
    color: var(--text-muted);
}

.json-key { color: #46648c; }
.json-str { color: #5b7a3a; }
.json-num { color: #a0522d; }
.json-bool { color: #8b6914; }

/* ── Auto-register ───────────────────────────────── */
.mcp-autoregister {
    text-align: center;
}

.mcp-autoregister h4 {
    font-size: var(--text-md);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.mcp-autoregister > p {
    color: var(--text-muted);
    font-size: var(--text-base);
    margin-bottom: var(--space-xl);
}

.autoregister-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.ar-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    transition: border-color 0.2s;
}
.ar-item:hover { border-color: var(--accent-alt); }

.ar-tool {
    font-weight: 600;
    font-size: var(--text-sm);
}
.ar-item code {
    font-size: var(--text-xs);
    color: var(--text-muted);
    word-break: break-all;
}

/* ── Performance Stack ───────────────────────────── */
.perf-section { padding: var(--space-7xl) 0; }

.perf-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.perf-layer {
    display: grid;
    grid-template-columns: 80px 120px 1fr;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: transform 0.3s, border-color 0.3s;
    opacity: 0;
    transform: translateX(-20px);
}
.perf-layer.visible {
    opacity: 1;
    transform: translateX(0);
}

.perf-layer:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.perf-layer:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
.perf-layer + .perf-layer { border-top: none; }

.perf-layer:hover {
    border-color: var(--accent);
    transform: translateX(6px);
    z-index: 1;
}

.perf-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

.perf-tech {
    font-family: var(--mono);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent);
}

.perf-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ── AI Section ──────────────────────────────────── */
.ai-section { padding: var(--space-7xl) 0; }

.ai-agents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 var(--space-2xl);
    margin-bottom: var(--space-3xl);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.agent-card {
    background: none;
    border: none;
    border-radius: 0;
    padding: var(--space-sm) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: transform 0.25s;
    cursor: default;
    border-bottom: 1px solid rgba(196, 168, 122, 0.25);
}
.agent-card:last-child { border-bottom: none; }
.agent-card:hover {
    transform: translateX(4px);
}

.ai-preview-section .agent-card { background: none; }

.agent-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--agent-color);
    flex-shrink: 0;
}

.agent-name {
    font-size: var(--text-sm);
    font-weight: 500;
    flex: 1;
}

.agent-status {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.agent-status.detected { color: var(--accent-alt); }

.agent-card.custom { opacity: 0.7; }
.agent-card.custom:hover { opacity: 1; }

/* ── AI Value Stack (homepage) ──────────────────── */
.ai-value-stack {
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
    padding: 0;
    display: grid;
    gap: 0;
}
.ai-value-row {
    display: grid;
    grid-template-columns: var(--grid-phi);
    gap: var(--space-xl);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(196, 168, 122, 0.2);
    align-items: baseline;
}
.ai-value-row:last-child { border-bottom: none; }
.ai-value-row dt {
    font-family: var(--serif);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text);
    text-align: right;
}
.ai-value-row dd {
    margin: 0;
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--text-muted);
}

/* ── Agent proof line ───────────────────────────── */
.agent-proof {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 2;
}
.agent-proof-label {
    margin-right: 0.3rem;
}
.agent-proof-list > span {
    white-space: nowrap;
    color: var(--text-muted);
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i, 0) * 120ms);
}
.agent-proof-list > span + span::before {
    content: '\00b7\00a0';
    color: var(--text-muted);
}
.agent-proof .agent-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--agent-color);
    vertical-align: middle;
    margin-right: 0.2rem;
    position: relative;
    top: -1px;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--i, 0) * 120ms + 200ms);
}

/* Color-reveal: dots bloom and names take brand color on scroll */
.agent-proof.visible .agent-dot {
    transform: scale(1);
}
.agent-proof.visible .agent-proof-list > span {
    color: var(--agent-color);
}

/* ── Scroll-driven opacity (Chromium progressive enhancement) ── */
@supports (animation-timeline: view()) {
    .ai-value-row {
        animation: valueRowReveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 40%;
    }
    @keyframes valueRowReveal {
        from { opacity: 0.15; }
        to { opacity: 1; }
    }
}

/* ── AI Features grid ────────────────────────────── */
.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.ai-feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
    transition: border-color 0.25s;
}
.ai-feature:hover { border-color: var(--accent-alt); }

.ai-feature h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.ai-feature p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Feature Grid ────────────────────────────────── */
.features-section {
    padding: var(--space-4xl) 0 var(--space-7xl);
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-xl);
    transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(204, 120, 50, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.feature-card h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.feature-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
    padding: var(--space-5xl) 0 var(--space-2xl);
    border-top: 1px solid var(--border);
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 700;
    font-size: var(--text-md);
}

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

.footer-tagline {
    color: var(--text-muted);
    font-size: var(--text-base);
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.footer-nav-col h4 {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: var(--space-3xs);
}
.footer-nav-col a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--space-xl);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.footer-links {
    display: flex;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: var(--text-xs);
    margin-top: var(--space-xs);
}

/* ── Prose (long content pages) ─────────────────── */
.prose { max-width: 720px; margin: 0 auto; }
.prose p {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}
.prose h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin: var(--space-2xl) 0 var(--space-md);
}
.prose ul, .prose ol {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    padding-left: var(--space-xl);
}
.prose li { margin-bottom: var(--space-2xs); }

/* ── 3-Step Visual (MCP how it works) ───────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-5xl);
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
}
.step-card:hover { border-color: var(--accent-alt); }

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.12);
    color: var(--accent-alt);
    font-family: var(--mono);
    font-weight: 700;
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
}

.step-card h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.step-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ── MCP Resource List ──────────────────────────── */
.resource-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.resource-item {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    font-size: var(--text-sm);
}

.resource-item code {
    flex-shrink: 0;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(96, 165, 250, 0.08);
    color: #60a5fa;
    font-size: var(--text-sm);
    font-weight: 500;
}

.resource-item span {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* ── Safety Controls Grid ───────────────────────── */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.safety-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-lg);
}

.safety-item h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2xs);
}

.safety-item p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── FAQ Accordion ──────────────────────────────── */
.faq-section {
    padding: var(--space-6xl) 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-list details {
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
}
.faq-list details:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.faq-list details:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
.faq-list details + details { border-top: none; }

.faq-list summary {
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    user-select: none;
    transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    font-family: var(--mono);
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.2s;
}
.faq-list details[open] summary::after {
    content: '−';
}
.faq-list summary:hover { color: var(--accent); }

.faq-answer {
    padding: 0 var(--space-xl) var(--space-lg);
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.7;
}
.faq-answer a { color: var(--accent-alt); }
.faq-answer a:hover { text-decoration: underline; }

/* ── Key Numbers Grid ───────────────────────────── */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-5xl);
}

.number-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
}

.number-card .number-value {
    font-family: var(--mono);
    font-size: var(--text-xl);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.number-card .number-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Architecture Diagram ───────────────────────── */
.arch-diagram {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-3xl);
    margin-bottom: var(--space-5xl);
    overflow-x: auto;
}

.arch-diagram pre {
    font-family: var(--mono);
    font-size: var(--text-xs);
    line-height: 1.6;
    color: var(--text-muted);
    text-align: center;
    white-space: pre;
}

.arch-diagram .arch-highlight { color: var(--accent); font-weight: 600; }
.arch-diagram .arch-green { color: var(--accent-alt); font-weight: 600; }

/* ── AI Relevance Block ─────────────────────────── */
.ai-relevance {
    background: var(--bg-card);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: var(--radius);
    padding: var(--space-3xl);
    margin-bottom: var(--space-5xl);
}

.ai-relevance h3 {
    font-size: var(--text-md);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--accent-alt);
}

.ai-relevance p {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}
.ai-relevance p:last-child { margin-bottom: 0; }

/* ── Comparison Table ───────────────────────────── */
.compare-section {
    padding: var(--space-7xl) 0;
}

.compare-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: var(--space-5xl);
    position: relative;
}

.compare-table-wrap .scroll-hint {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, rgba(10, 10, 15, 0.8));
    pointer-events: none;
    z-index: 2;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    min-width: 800px;
}

.compare-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.compare-table th {
    background: var(--bg-raised);
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.compare-table th:first-child { min-width: 180px; }

.compare-table td {
    padding: var(--space-sm) var(--space-lg);
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.compare-table tbody tr:nth-child(even) td { background: var(--bg-card); }
.compare-table tbody tr:nth-child(odd)  td { background: var(--bg); }

.compare-table tbody tr:hover td { background: var(--bg-raised); }

/* Feature row: first column is feature name */
.compare-table td:first-child {
    font-weight: 500;
    color: var(--text);
}

/* Check/cross marks */
.compare-check { color: var(--accent-alt); font-weight: 700; }
.compare-cross { color: var(--text-muted); opacity: 0.4; }
.compare-partial { color: #fbbf24; }

/* Chau7 column highlight */
.compare-table th.chau7-col { color: var(--accent); }
.compare-table td.chau7-col {
    color: var(--accent-alt);
    font-weight: 600;
}

/* ── Competitor Deep Dives ──────────────────────── */
.competitor-sections {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 720px;
    margin: 0 auto var(--space-5xl);
}

.competitor-sections details {
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
}
.competitor-sections details:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.competitor-sections details:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
.competitor-sections details + details   { border-top: none; }

.competitor-sections summary {
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    user-select: none;
    transition: color 0.2s;
}
.competitor-sections summary::-webkit-details-marker { display: none; }
.competitor-sections summary::after {
    content: '+';
    font-family: var(--mono);
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.2s;
}
.competitor-sections details[open] summary::after { content: '−'; }
.competitor-sections summary:hover { color: var(--accent); }

.competitor-body {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.7;
}
.competitor-body p { margin-bottom: var(--space-sm); }
.competitor-body p:last-child { margin-bottom: 0; }

/* ── Feature Filter Bar ─────────────────────────── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    align-items: center;
    margin-bottom: var(--space-3xl);
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.filter-search {
    flex: 1;
    min-width: 200px;
    padding: 0.55rem var(--space-md);
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: var(--text-sm);
    font-family: var(--sans);
    outline: none;
    transition: border-color 0.2s;
}
.filter-search::placeholder { color: var(--text-muted); }
.filter-search:focus { border-color: var(--accent); }

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs);
}

.filter-pill {
    padding: var(--space-2xs) var(--space-sm);
    border-radius: 9999px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: var(--sans);
}
.filter-pill:hover { border-color: var(--accent); color: var(--text); }
.filter-pill.active {
    background: var(--gradient);
    color: #000;
    border-color: transparent;
    font-weight: 600;
}

/* ── Feature Catalog Cards ──────────────────────── */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.catalog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
    transition: border-color 0.25s;
}
.catalog-card:hover { border-color: var(--accent); }

a.catalog-card { display: block; color: inherit; text-decoration: none; }
a.catalog-card::after {
    content: 'Learn more \2192';
    display: block; margin-top: 0.5rem; height: 0; overflow: visible;
    font-size: var(--text-xs); color: var(--accent); font-weight: 500;
    opacity: 0; transition: opacity 0.2s;
}
a.catalog-card:hover::after { opacity: 1; }

.catalog-card h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.catalog-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.55;
}

.differentiator-star {
    color: #fbbf24;
    font-size: var(--text-xs);
}

.catalog-category-header {
    grid-column: 1 / -1;
    padding: 1.75rem 0 var(--space-2xs);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    border-top: 1px solid rgba(196, 168, 122, 0.4);
}
.catalog-category-header:first-child { padding-top: 0; border-top: none; }

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.15rem var(--space-xs);
    border-radius: 9999px;
    font-size: var(--text-2xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.status-badge.shipped {
    background: rgba(52, 211, 153, 0.1);
    color: var(--accent-alt);
}
.status-badge.experimental {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

/* No results message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-5xl) var(--space-2xl);
    color: var(--text-muted);
    font-size: var(--text-base);
    display: none;
}

/* ── Page Hero Variants ─────────────────────────── */
/* MCP page — green glow */
.hero-mcp .hero-glow {
    background: radial-gradient(ellipse, rgba(91, 122, 58, 0.08) 0%, transparent 70%);
}

/* Performance page — blue glow */
.hero-perf .hero-glow {
    background: radial-gradient(ellipse, rgba(70, 100, 140, 0.08) 0%, transparent 70%);
}

/* Compare page — purple glow */
.hero-compare .hero-glow {
    background: radial-gradient(ellipse, rgba(100, 70, 130, 0.08) 0%, transparent 70%);
}

/* Features page — tighter hero, amber glow */
.hero-features { padding-top: 4rem; padding-bottom: 1rem; }
.hero-features .hero-glow {
    background: radial-gradient(ellipse, rgba(160, 82, 45, 0.08) 0%, transparent 70%);
}

/* ── Pillar Nav (features hero) ───────────────────── */
.pillar-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 840px;
    margin: 2.5rem auto 0;
    position: relative;
    /* Open editorial feel — no container box */
}
/* Decorative baseline rule */
.pillar-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(196, 168, 122, 0.5) 15%,
        rgba(196, 168, 122, 0.5) 85%,
        transparent);
}
.pillar-nav-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.6rem 1.5rem 1.3rem;
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.pillar-nav-card + .pillar-nav-card { border-left: none; }
/* Golden gradient underline — grows from center */
.pillar-nav-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    right: 50%;
    height: 2.5px;
    background: var(--gradient);
    border-radius: 2px 2px 0 0;
    transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                right 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.pillar-nav-card:hover {
    color: var(--text);
    background: transparent;
}
.pillar-nav-card:hover::after {
    left: 22%;
    right: 22%;
}
.pillar-nav-card.active {
    color: var(--text);
    background: transparent;
}
.pillar-nav-card.active::after {
    left: 10%;
    right: 10%;
}
.pillar-nav-num {
    font-family: var(--serif);
    font-size: var(--text-lg);
    font-weight: 300;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1.1;
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.pillar-nav-card:hover .pillar-nav-num { opacity: 0.6; }
.pillar-nav-card.active .pillar-nav-num { opacity: 1; }
.pillar-nav-title {
    font-family: var(--serif);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.pillar-nav-hint {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 0.1rem;
    opacity: 0.55;
    letter-spacing: 0.02em;
}
.hero-catalog-link {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(160, 82, 45, 0.3);
    text-underline-offset: 2px;
}
.hero-catalog-link:hover {
    text-decoration-color: var(--accent);
}

/* ── Pillar Carousel (features.html) ─────────────── */
.pillar-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1.5rem 0 1.5rem;
}
.pillar-carousel::-webkit-scrollbar { display: none; }

.pillar-track {
    display: flex;
    gap: 2.5rem;
    /* Use left padding + ::after spacer — padding-right alone is eaten by overflow scroll.
       max() accounts for panels hitting their max-width (1080px) at wide viewports. */
    padding: 0 0 0 max(calc((100vw - 70vw) / 2), calc((100vw - 1080px) / 2));
}
.pillar-track::after {
    content: '';
    flex: 0 0 max(calc((100vw - 70vw) / 2), calc((100vw - 1080px) / 2));
    min-height: 1px;
}

.pillar-panel {
    flex: 0 0 70vw;
    max-width: 1080px;
    scroll-snap-align: center;
    padding: 0;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(196, 168, 122, 0.2);
    position: relative;
    overflow: hidden;
    /* Inactive: subtle recession — visible but clearly not focused */
    opacity: 0.45;
    transform: scale(0.95);
    filter: blur(1.5px);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.pillar-panel.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    border-color: rgba(196, 168, 122, 0.4);
    /* 4-layer shadow for realistic depth */
    box-shadow:
        0 1px 2px rgba(107, 87, 68, 0.05),
        0 4px 8px rgba(107, 87, 68, 0.05),
        0 12px 24px rgba(107, 87, 68, 0.07),
        0 32px 64px rgba(107, 87, 68, 0.06);
}
/* Gradient top stripe — appears on active */
.pillar-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.65s ease;
    z-index: 1;
}
.pillar-panel.active::before {
    opacity: 1;
}

/* Panel header */
.pillar-panel-header {
    position: relative;
    padding: 2.5rem 3rem 1.5rem;
    margin-bottom: 0;
    overflow: hidden;
}
/* Decorative double-line separator */
.pillar-panel-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 3rem;
    right: 3rem;
    height: 3px;
    border-top: 1px solid rgba(196, 168, 122, 0.25);
    border-bottom: 1px solid rgba(196, 168, 122, 0.25);
}
/* Watermark: repurpose .pillar-number as oversized background glyph */
.pillar-panel .pillar-number {
    font-family: var(--serif);
    font-size: 7rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.055;
    position: absolute;
    top: -0.3rem;
    right: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
}
.pillar-panel h2 {
    font-family: var(--serif);
    font-size: clamp(var(--text-md), 2.5vw, var(--text-lg));
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}
.pillar-subtitle {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.6;
    max-width: 48ch;
}

/* ── Pillar curated cards ───────────────────────────── */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem 2.5rem 2.5rem;
}
.pillar-grid .catalog-card {
    padding: 1.15rem 1.3rem;
    background: rgba(245, 234, 208, 0.55);
    border: 1px solid rgba(196, 168, 122, 0.3);
    border-radius: 12px;
    position: relative;
    /* Decorative left accent line */
    border-left: 2.5px solid rgba(160, 82, 45, 0.22);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s ease,
        background 0.4s ease;
}
.pillar-grid .catalog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 168, 122, 0.5);
    border-left-color: var(--accent);
    background: rgba(245, 234, 208, 0.85);
    box-shadow:
        0 4px 12px rgba(107, 87, 68, 0.08),
        0 8px 24px rgba(107, 87, 68, 0.06);
}
.pillar-grid .catalog-card h4 { font-size: var(--text-sm); }
.pillar-grid .catalog-card p { font-size: var(--text-xs); }

/* Star-feature cards: warmer left accent */
.pillar-grid .catalog-card:has(.differentiator-star) {
    border-left-color: rgba(160, 82, 45, 0.4);
}
.pillar-grid .catalog-card:has(.differentiator-star):hover {
    border-left-color: var(--accent);
}

/* ── Staggered card reveal ──────────────────────────── */
.pillar-grid .catalog-card {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s ease,
        background 0.4s ease;
}
.pillar-panel.active .pillar-grid .catalog-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.pillar-panel.active .pillar-grid .catalog-card:nth-child(1) { transition-delay: 0ms; }
.pillar-panel.active .pillar-grid .catalog-card:nth-child(2) { transition-delay: 60ms; }
.pillar-panel.active .pillar-grid .catalog-card:nth-child(3) { transition-delay: 120ms; }
.pillar-panel.active .pillar-grid .catalog-card:nth-child(4) { transition-delay: 180ms; }
.pillar-panel.active .pillar-grid .catalog-card:nth-child(5) { transition-delay: 240ms; }
.pillar-panel.active .pillar-grid .catalog-card:nth-child(6) { transition-delay: 300ms; }
.pillar-panel.active .pillar-grid .catalog-card:nth-child(7) { transition-delay: 360ms; }
.pillar-panel.active .pillar-grid .catalog-card:nth-child(8) { transition-delay: 420ms; }

/* Scroll-driven animation — progressive enhancement (Chromium) */
@supports (animation-timeline: view()) {
    @keyframes pillar-focus {
        0%, 100% {
            opacity: 0.45;
            transform: scale(0.95);
            filter: blur(1.5px);
        }
        35%, 65% {
            opacity: 1;
            transform: scale(1);
            filter: blur(0);
        }
    }
    .pillar-panel {
        animation: pillar-focus linear both;
        animation-timeline: view(inline);
    }
}

/* ── CTA Nudge ───────────────────────────────────── */
.cta-nudge {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-md);
    letter-spacing: 0.02em;
}

/* ── Ink rule dividers ───────────────────────────── */
.ink-rule {
    border: none;
    height: 2px;
    background: url("data:image/svg+xml,%3Csvg width='600' height='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='1' x2='600' y2='1' stroke='%23c4a87a' stroke-width='1.5' stroke-dasharray='800' stroke-linecap='round' opacity='0.5'/%3E%3C/svg%3E") repeat-x center;
    margin: var(--space-md) auto;
    max-width: var(--max-w);
    opacity: 0.6;
}
.ink-rule.narrow { max-width: 200px; }

/* ── Parchment Carousel ────────────────────────── */

/* Technique 1: @property — makes --sheet-depth animatable in keyframes */
@property --sheet-depth {
    syntax: '<number>';
    initial-value: 0;
    inherits: false;
}

.carousel {
    max-width: min(800px, 70vw);
    margin: 0 auto;
    /* Clipping lives here — separate from perspective so Chrome
       doesn't flatten the 3D context on the viewport below. */
    overflow: hidden;
}

.carousel-viewport {
    position: relative;
    perspective: 600px;
    min-height: 580px;
    /* No overflow here — perspective + overflow on the same element
       causes Chrome to flatten 3D transforms (rotateY, scale, etc.) */
}

.carousel-sheet {
    position: absolute;
    inset: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 2.5rem 2rem;
    /* Shadow driven by --sheet-depth: whisper when flying, bold when landed */
    --sheet-depth: 0;
    box-shadow:
        calc(1px + var(--sheet-depth) * 5px)
        calc(2px + var(--sheet-depth) * 18px)
        calc(8px + var(--sheet-depth) * 40px)
        rgba(44, 24, 16, calc(0.03 + var(--sheet-depth) * 0.14));
    /* Default state: hidden right, rotated like a dealt card */
    opacity: 0;
    transform: translateX(80%) rotateY(-8deg) scale(0.96);
    transform-origin: right center;
    pointer-events: none;
    will-change: transform, opacity;
    /* Fallback transition for first load (before .animated is added) */
    transition:
        transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.6s ease,
        --sheet-depth 0.6s ease;
}

/* Red margin accent — the notebook line lives on */
.carousel-sheet::before {
    content: '';
    position: absolute;
    left: 1.8rem;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: rgba(160, 82, 45, 0.18);
}

/* Static active state (first load, no animation) */
.carousel-sheet.active {
    opacity: 1;
    transform: translateX(0) rotateY(0) scale(1);
    transform-origin: center center;
    --sheet-depth: 1;
    pointer-events: auto;
}

.carousel-sheet.exiting {
    opacity: 0;
    transform: translateX(-80%) rotateY(8deg) scale(0.96);
    transform-origin: left center;
    --sheet-depth: 0;
    pointer-events: none;
}

/* Technique 2: Keyframe arc — sheets fly in a subtle parabolic arc.
   The lift is gentle (translateY -16px, scale 1.02) so the motion reads
   as "paper sliding across a desk" rather than "card thrown across a room".
   Exit is fast and front-loaded so the old sheet clears before the new
   one arrives, preventing overlap. */
@keyframes sheet-enter {
    0%   { opacity: 0;   transform: translateX(80%) rotateY(-8deg) scale(0.96);
           transform-origin: right center; --sheet-depth: 0; }
    40%  { opacity: 1;   transform: translateX(6%) rotateY(-2deg) scale(1.02) translateY(-16px);
           transform-origin: center center; --sheet-depth: 0.4; }
    70%  { opacity: 1;   transform: translateX(1%) rotateY(0deg) scale(1.005) translateY(-4px);
           transform-origin: center center; --sheet-depth: 0.8; }
    100% { opacity: 1;   transform: translateX(0) rotateY(0) scale(1) translateY(0);
           transform-origin: center center; --sheet-depth: 1; }
}

@keyframes sheet-exit {
    0%   { opacity: 1;   transform: translateX(0) rotateY(0) scale(1);
           transform-origin: center center; --sheet-depth: 1; }
    40%  { opacity: 0;   transform: translateX(-40%) rotateY(5deg) scale(0.97);
           transform-origin: left center; --sheet-depth: 0.2; }
    100% { opacity: 0;   transform: translateX(-80%) rotateY(8deg) scale(0.96);
           transform-origin: left center; --sheet-depth: 0; }
}

/* After first interaction, use keyframe arcs instead of transitions */
.carousel.animated .carousel-sheet {
    transition: none;
}

.carousel.animated .carousel-sheet.active {
    animation: sheet-enter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.carousel.animated .carousel-sheet.exiting {
    animation: sheet-exit 0.5s cubic-bezier(0.4, 0, 1, 1) forwards;
}

/* Technique 3: prefers-reduced-motion — respect the user */
@media (prefers-reduced-motion: reduce) {
    .carousel-sheet,
    .carousel.animated .carousel-sheet,
    .carousel.animated .carousel-sheet.active,
    .carousel.animated .carousel-sheet.exiting {
        animation: none !important;
        transition: opacity 0.3s ease !important;
        transform: none !important;
    }
    .carousel-sheet { opacity: 0; }
    .carousel-sheet.active { opacity: 1; }
}

/* Technique 4: Scroll-driven entry — section fades in tied to scroll */
@supports (animation-timeline: view()) {
    .carousel.reveal:not(.visible) {
        animation: carousel-scroll-reveal linear both;
        animation-timeline: view();
        animation-range: entry 10% entry 50%;
    }
    @keyframes carousel-scroll-reveal {
        from { opacity: 0; transform: translateY(30px) scale(0.97); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }
}

.sheet-screenshot {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow:
        0 4px 16px rgba(44, 24, 16, 0.1),
        0 1px 3px rgba(44, 24, 16, 0.06);
    margin-bottom: var(--space-xl);
}

.sheet-screenshot img {
    width: 100%;
    display: block;
}

.sheet-value {
    font-family: var(--serif);
    font-style: italic;
    font-size: var(--text-lg);
    color: var(--text);
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.sheet-desc {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Carousel dot navigation ──────────────────── */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.carousel-dots .dot:hover {
    border-color: var(--accent);
}

.carousel-dots .dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* ── Badge proposals (temporary) ─────────────────── */


/* ── Selective elevation ────────────────────────── */
.elevated {
    box-shadow:
        0 4px 20px rgba(44, 24, 16, 0.08),
        0 1px 4px rgba(44, 24, 16, 0.05);
}
.elevated-hover:hover {
    box-shadow:
        0 8px 32px rgba(44, 24, 16, 0.12),
        0 2px 8px rgba(44, 24, 16, 0.06);
    transform: translateY(-3px);
}

/* ── Section heading draw-in ─────────────────────── */
.section-header h2,
.proof-content h2,
.footer-cta-content h2 {
    transition: letter-spacing 0.5s ease;
}

/* ── Scroll animations ───────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal.reveal-left {
    transform: translateX(-30px);
}
.reveal.reveal-left.visible {
    transform: translateX(0);
}
.reveal.reveal-right {
    transform: translateX(30px);
}
.reveal.reveal-right.visible {
    transform: translateX(0);
}

/* Stagger children */
.stagger-children > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children > .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > .reveal:nth-child(6) { transition-delay: 0.5s; }
.stagger-children > .reveal:nth-child(7) { transition-delay: 0.6s; }
.stagger-children > .reveal:nth-child(8) { transition-delay: 0.7s; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
    .dual-cards { grid-template-columns: 1fr; }
    .mcp-grid  { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-agents { grid-template-columns: repeat(2, 1fr); }
    .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
    .autoregister-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .safety-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; padding: 1.2rem 1.5rem 2rem; }
    .pillar-panel { flex: 0 0 80vw; border-radius: 16px; }
    .pillar-panel-header { padding: 2rem 2rem 1.2rem; }
    .pillar-panel-header::before { left: 2rem; right: 2rem; }
    .pillar-panel .pillar-number { font-size: 5rem; right: 1.5rem; }
    .pillar-track { padding: 0 0 0 calc((100vw - 80vw) / 2); gap: 1.5rem; }
    .pillar-track::after { flex: 0 0 calc((100vw - 80vw) / 2); }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }

    .problem-compare {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    .problem-vs { text-align: center; }

    .perf-layer {
        grid-template-columns: 70px 100px 1fr;
        padding: var(--space-md);
        gap: var(--space-sm);
    }

    .hero { padding: var(--space-7xl) var(--space-xl) var(--space-3xl); }
    .hero-stats { gap: var(--space-xl); }

    .compare-table-wrap .scroll-hint { display: block; }

    /* Carousel: slightly smaller on tablets */
    .carousel-viewport { min-height: 520px; }
    .carousel-sheet { padding: 1.5rem 2rem; }
    .sheet-value { font-size: var(--text-md); }
}

@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(245, 234, 208, 0.97);
        backdrop-filter: blur(20px) saturate(1.2);
        -webkit-backdrop-filter: blur(20px) saturate(1.2);
        border-bottom: 1px solid var(--border);
        padding: var(--space-md) var(--space-2xl);
        z-index: 100;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
    .nav-links a:last-child { border-bottom: none; }
    .nav-cta-download { text-align: center; margin-top: var(--space-xs); }

    .features-grid { grid-template-columns: 1fr; }
    .ai-value-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        text-align: left;
    }
    .ai-value-row dt { text-align: left; }
    .ai-agents { grid-template-columns: 1fr; }
    .ai-features-grid { grid-template-columns: 1fr; }
    .autoregister-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: 1fr; }
    .numbers-grid { grid-template-columns: 1fr; }
    .pillar-nav {
        flex-direction: column;
        max-width: 320px;
        gap: 0;
    }
    .pillar-nav::before {
        /* Vertical line on left instead of horizontal bottom */
        top: 1rem;
        bottom: 1rem;
        left: 0;
        right: auto;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg,
            transparent,
            rgba(196, 168, 122, 0.5) 15%,
            rgba(196, 168, 122, 0.5) 85%,
            transparent);
    }
    .pillar-nav-card {
        align-items: flex-start;
        text-align: left;
        padding: 0.6rem 1rem 0.6rem 1.2rem;
    }
    .pillar-nav-card::after {
        /* Vertical accent on left */
        top: 50%; bottom: 50%;
        left: -1px; right: auto;
        width: 2.5px; height: auto;
        border-radius: 0 2px 2px 0;
    }
    .pillar-nav-card:hover::after { top: 20%; bottom: 20%; left: -1px; right: auto; }
    .pillar-nav-card.active::after { top: 0.4rem; bottom: 0.4rem; left: -1px; right: auto; }
    .pillar-nav-num { font-size: var(--text-md); }
    .pillar-panel { flex: 0 0 88vw; border-radius: 14px; }
    .pillar-panel-header { padding: 1.5rem 1.5rem 1rem; }
    .pillar-panel-header::before { left: 1.5rem; right: 1.5rem; }
    .pillar-panel .pillar-number { font-size: 4rem; right: 1rem; }
    .pillar-grid { grid-template-columns: 1fr; gap: 0.75rem; padding: 1rem 1.2rem 1.5rem; }
    .pillar-track { padding: 0 0 0 calc((100vw - 88vw) / 2); gap: 1rem; }
    .pillar-track::after { flex: 0 0 calc((100vw - 88vw) / 2); }
    .hero-stats { gap: var(--space-md); }
    .stat-number { font-size: var(--text-lg); }

    .carousel-viewport { min-height: 440px; }
    .carousel-sheet { padding: 1.25rem 1.5rem; }
    .carousel-sheet::before { left: 1rem; }
    .sheet-value { font-size: var(--text-md); }
    .sheet-desc { font-size: var(--text-sm); }

    .perf-layer {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        text-align: center;
    }

    .hero-ctas { flex-direction: column; align-items: center; gap: var(--space-sm); }
}
