:root {
    --bg: #070709;
    --panel: rgba(20, 20, 26, 0.7);
    --panel-strong: rgba(29, 29, 38, 0.9);
    --text: #e2e8f0;
    --text-bright: #ffffff;
    --muted: #94a3b8;

    /* Accent Neon Palette */
    --accent: #6366f1; /* Indigo */
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.12);

    --violet: #8b5cf6; /* Violet */
    --violet-light: #a78bfa;
    --violet-glow: rgba(139, 92, 246, 0.12);

    --emerald: #10b981; /* Emerald */
    --emerald-light: #34d399;
    --emerald-glow: rgba(16, 185, 129, 0.12);

    --blue: #3b82f6; /* Blue */
    --blue-light: #60a5fa;
    --blue-glow: rgba(59, 130, 246, 0.12);

    --amber: #f59e0b; /* Amber */
    --rose: #f43f5e; /* Rose */

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 24px;
    --pill: 999px;

    /* Shadow & Gradients */
    --shadow:
        0 20px 48px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.1) inset;
    --shadow-hover:
        0 30px 64px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.18) inset;

    --gradient-hero:
        radial-gradient(
            circle at 10% 20%,
            rgba(99, 102, 241, 0.15),
            transparent 45%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(139, 92, 246, 0.12),
            transparent 45%
        ),
        radial-gradient(
            circle at 50% 80%,
            rgba(16, 185, 129, 0.08),
            transparent 45%
        ),
        linear-gradient(135deg, #070709 0%, #0d0d12 100%);

    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);

    /* Fonts */
    --font-sans: "Inter", system-ui, -apple-system, sans-serif;
    --font-display: "Space Grotesk", var(--font-sans);
    --font-mono:
        "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
    color-scheme: dark;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

p {
    color: var(--muted);
    margin-bottom: 1rem;
}

strong {
    color: var(--text-bright);
    font-weight: 600;
}

.page {
    min-height: 100vh;
    background: var(--gradient-hero);
    overflow-x: hidden;
}

/* ── Navigation Header ── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px clamp(16px, 4vw, 40px);
    background: rgba(7, 7, 9, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(7, 7, 9, 0.9);
    border-bottom-color: var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.03em;
    color: var(--text-bright);
}

.logo-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 8px;
    font-weight: 500;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--muted);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--text-bright);
    background: rgba(255, 255, 255, 0.05);
}

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

/* Icons */
.icon {
    display: inline-block;
    vertical-align: middle;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-bright);
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.primary {
    background: var(--gradient-accent);
    border: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.btn.primary:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.03);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-1.5px);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-bright);
    font-size: 20px;
    padding: 5px 10px;
    cursor: pointer;
}

/* ── Main Layout ── */
main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px clamp(16px, 4vw, 40px) 100px;
}

/* ── Section Titles ── */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title .subtitle {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title p {
    font-size: 17px;
    max-width: 60ch;
    margin-top: 12px;
}

/* ── Hero Section ── */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 60px 0 80px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--pill);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 24px;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-bright);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text .subhead {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 50ch;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--muted);
}

.badge.accent {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--accent-light);
}

/* ── Hero Code Card ── */
.hero-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    max-height: 600px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.card-badge {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: var(--pill);
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-light);
}

/* Code Mirror Mimic Styling */
.code {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
    background: #09090b;
    padding: 20px;
    overflow: auto;
    flex: 1;
    text-align: left;
}

.cm-comment {
    color: #52525b;
    font-style: italic;
}
.cm-directive {
    color: #f59e0b;
    font-weight: 600;
}
.cm-method {
    color: #3b82f6;
    font-weight: 700;
}
.cm-url {
    color: #34d399;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cm-variable {
    color: #fb7185;
}
.cm-keyword {
    color: #e879f9;
    font-weight: 600;
}
.cm-bracket {
    color: #c084fc;
}
.cm-string {
    color: #34d399;
}
.cm-header {
    color: #a78bfa;
    font-weight: 500;
}
.cm-number {
    color: #fb923c;
}

/* ── Modes Grid Section ── */
.modes-section {
    padding: 80px 0;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mode-card {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mode-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--panel-strong);
    box-shadow: var(--shadow-hover);
}

.mode-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.mode-icon.desktop {
    background: var(--emerald-glow);
    color: var(--emerald-light);
}

.mode-icon.cli {
    background: var(--violet-glow);
    color: var(--violet-light);
}

.mode-icon.mcp {
    background: var(--blue-glow);
    color: var(--blue-light);
}

.mode-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 12px;
}

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

/* Glow Border Indicator */
.card-glow-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.card-glow-indicator.green {
    background: linear-gradient(
        90deg,
        transparent,
        var(--emerald),
        transparent
    );
}

.card-glow-indicator.violet {
    background: linear-gradient(90deg, transparent, var(--violet), transparent);
}

.card-glow-indicator.blue {
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

/* ── Figure Mockups ── */
.shot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.shot-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shot-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.shot-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--border);
}

.shot-chrome__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    opacity: 0.7;
}

.shot-chrome__dot.red {
    background: #f87171;
}
.shot-chrome__dot.yellow {
    background: #fbbf24;
}
.shot-chrome__dot.green {
    background: #34d399;
}

.shot-chrome__title {
    margin-left: 12px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.shot-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shot-card:hover img {
    transform: scale(1.015);
}

.shot-card figcaption {
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border);
    flex: 1;
}

/* ── Alternating Feature Sections ── */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.feature-section:nth-child(even) .feature-section__text {
    order: 2;
}

.feature-section:nth-child(even) .feature-section__visual {
    order: 1;
}

.feature-section__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: var(--pill);
    margin-bottom: 16px;
}

.badge-label.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-light);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-label.violet {
    background: rgba(139, 92, 246, 0.1);
    color: var(--violet-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.badge-label.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-light);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-section__text h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.25;
}

.feature-section__text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.mock-apis {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 10px 0 20px;
}

.premium-dx-callout {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 14.5px;
    color: var(--text);
    margin-top: 10px;
}

.premium-dx-callout strong {
    color: var(--accent-light);
}

.code-container,
.screenshot-container {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

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

.dot-indicator.green {
    background: var(--emerald-light);
}
.dot-indicator.blue {
    background: var(--blue-light);
}

.feature-section__visual img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ── Developer Experience Grid ── */
.dx-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.feature-card {
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    background: var(--panel-strong);
    box-shadow: var(--shadow-hover);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 10px;
}

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

/* ── Workflow Steps ── */
.workflow {
    padding: 80px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step {
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.step-icon {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
}

.step h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.step p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
}

/* ── Install Grid ── */
.install {
    padding: 80px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.card p {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 12px;
}

.card .code {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    font-size: 12.5px;
    text-wrap: wrap;
}

/* ── MCP Stdio configuration subcards ── */
.mcp-tools {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 16px 0;
}

.mcp-tool {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.mcp-tool code {
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: var(--accent-light);
    white-space: nowrap;
    font-weight: 500;
}

.mcp-tool span {
    font-size: 14px;
    color: var(--muted);
}

/* ── CTA Section ── */
.cta {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(99, 102, 241, 0.18),
            transparent 45%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(139, 92, 246, 0.18),
            transparent 45%
        ),
        linear-gradient(135deg, #0d0d12 0%, #161622 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 56px clamp(24px, 6vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: var(--shadow);
    margin-top: 60px;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1.2;
    margin-bottom: 12px;
}

.cta p {
    font-size: 16.5px;
    color: var(--muted);
    max-width: 50ch;
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ── Footer ── */
.footer {
    margin-top: 100px;
    padding: 40px clamp(16px, 4vw, 40px) 48px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-meta {
    font-size: 13.5px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--muted);
}

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

/* ── Responsive Tablet Layout (≤ 1024px) ── */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        padding-top: 30px;
    }

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

    .hero-text .subhead {
        max-width: 60ch;
    }

    .hero-card {
        max-width: 100%;
    }

    .modes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shot-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .feature-section:nth-child(even) .feature-section__text,
    .feature-section:nth-child(even) .feature-section__visual {
        order: unset;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 40px;
    }

    .cta-content {
        align-items: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
}

/* ── Responsive Mobile Layout (≤ 640px) ── */
@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .nav {
        padding: 16px 20px;
    }

    /* Hamburger collapsable panel */
    .nav-toggle {
        display: block;
    }

    .nav-actions {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(7, 7, 9, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: 12px 20px 24px;
        gap: 8px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px;
        font-size: 15px;
        width: 100%;
        text-align: left;
        border-radius: var(--radius-sm);
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text .subhead {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .shot-chrome {
        display: none; /* Hide chrome dots on narrow mobile viewport */
    }

    .feature-section__text h2 {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .mcp-tool {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* ── Intersection Animations ── */
.animate-fade-up,
.animate-slide-left,
.animate-slide-right,
.animate-scale-up {
    will-change: transform, opacity;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 550ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 550ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity 550ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale-up {
    opacity: 0;
    transform: scale(0.96);
    transition:
        opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Reduced Motion Mode Support */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-up,
    .animate-slide-left,
    .animate-slide-right,
    .animate-scale-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Developer Reference Guide Layout ── */
.docs-body {
  background-color: var(--bg);
}

.docs-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px clamp(16px, 4vw, 40px) 100px;
}

.docs-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

/* Sidebar styling */
.docs-sidebar {
  position: sticky;
  top: 100px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.sidebar-group h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.docs-sidebar ul {
  list-style: none;
}

.docs-sidebar ul li {
  margin-bottom: 8px;
}

.docs-sidebar ul li a {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.docs-sidebar ul li a:hover,
.docs-sidebar ul li a.active {
  color: var(--text-bright);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

/* Content styling */
.docs-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.docs-content__header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.docs-content__header .lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.docs-divider {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 0;
}

.docs-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.docs-section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-top: 10px;
}

.docs-section h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-bright);
  margin-top: 16px;
}

.docs-section p {
  font-size: 16px;
  line-height: 1.7;
}

/* Technical Tables */
.tech-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14.5px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tech-table th,
.tech-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.tech-table th {
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-bright);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tech-table td code {
  font-family: var(--font-mono);
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.table-separator-row td {
  background: rgba(255, 255, 255, 0.01);
  padding: 4px;
}

/* Alert Boxes */
.alert-box {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.6;
  border-left: 4px solid transparent;
  margin: 10px 0;
}

.alert-box.note {
  background: rgba(99, 102, 241, 0.06);
  border-color: var(--accent);
  color: var(--text);
}

.alert-box.tip {
  background: rgba(16, 185, 129, 0.06);
  border-color: var(--emerald);
  color: var(--text);
}

/* API Methods catalog */
.api-method {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.api-method h4 {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--emerald-light);
}

.api-method h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-bright);
  margin-top: 8px;
}

.api-method ul {
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--muted);
}

/* Document Lists */
.docs-section ol,
.docs-section ul {
  padding-left: 28px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-section ol {
  list-style-type: decimal;
}

.docs-section ul {
  list-style-type: disc;
}

.docs-section li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.docs-section li strong {
  color: var(--accent-light);
  font-weight: 600;
}

/* Responsive Docs Layout */
@media (max-width: 1024px) {
  .docs-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .docs-sidebar {
    position: static;
    width: 100%;
  }
}

