:root {
    --accent: #7c5cfc;
    --accent-light: #9d85fd;
    --cyan: #22d3ee;
    --bg: #08080c;
    --surface: rgba(124,92,252,0.03);
    --surface-hover: rgba(124,92,252,0.06);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(124,92,252,0.4);
}

html { background-color: var(--bg); overflow-x: clip; scroll-behavior: smooth; }

body {
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    position: relative;
    z-index: 1;
    color: #e8e4e0;
}

/* ---- Grain overlay ---- */
.grain {
    position: fixed; inset: 0; z-index: 9999; pointer-events: none;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ---- Circuit canvas background ---- */
#circuit-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
@media (max-width: 1023px) { #circuit-bg { display: none; } }

/* ---- Typography ---- */
.font-display { font-family: 'Instrument Sans', sans-serif; }
.font-mono { font-family: 'DM Mono', monospace; }
.accent-text { color: var(--accent); }
.cyan-text { color: var(--cyan); }

/* ---- Glows ---- */
.hero-glow {
    position: absolute; width: 80%; height: 70%; top: 10%; left: 10%;
    background: radial-gradient(ellipse at center, rgba(124,92,252,0.07) 0%, transparent 65%);
    pointer-events: none; z-index: -1;
}
.hero-glow-cyan {
    position: absolute; width: 40%; height: 40%; top: 20%; right: 5%;
    background: radial-gradient(ellipse at center, rgba(34,211,238,0.03) 0%, transparent 65%);
    pointer-events: none; z-index: -1;
}

/* ---- Hero animations ---- */
@keyframes slideFromLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-slide-left { animation: slideFromLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.hero-fade-1 { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }
.hero-fade-2 { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }
.hero-fade-3 { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both; }
.hero-fade-4 { animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both; }

/* ---- Scroll reveals ---- */
.fade-in {
    opacity: 0; transform: translateY(24px); filter: blur(4px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.stagger > .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-in:nth-child(2) { transition-delay: 0.08s; }
.stagger > .fade-in:nth-child(3) { transition-delay: 0.16s; }
.stagger > .fade-in:nth-child(4) { transition-delay: 0.24s; }
.stagger > .fade-in:nth-child(5) { transition-delay: 0.32s; }
.stagger > .fade-in:nth-child(6) { transition-delay: 0.4s; }

/* ---- Cards ---- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
}
.card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    box-shadow: 0 0 60px rgba(124,92,252,0.04);
}

/* ---- Nav ---- */
.nav-pill {
    background: rgba(8,8,12,0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.06);
}
nav .nav-pill { gap: 0.4rem; padding-left: 1.5rem; padding-right: 1.5rem; }
.nav-link {
    color: rgba(255,255,255,0.55);
    font-size: 0.92rem;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}
.nav-link.active {
    color: white;
    background: rgba(124,92,252,0.18);
    box-shadow: 0 0 0 1px rgba(124,92,252,0.35) inset;
}

/* ---- Divider ---- */
.divider { height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent); }

section[id] { scroll-margin-top: 100px; }

/* ---- CTA buttons ---- */
.btn-primary {
    background: var(--accent);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 0 0 rgba(124,92,252,0), 0 1px 2px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s ease;
}
.btn-primary:hover {
    box-shadow: 0 0 40px rgba(124,92,252,0.25), 0 0 80px rgba(124,92,252,0.1);
    transform: translateY(-2px);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    border-color: rgba(124,92,252,0.45);
    background: rgba(124,92,252,0.05);
}

/* ---- Section label ---- */
.section-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--accent);
}

/* ---- Big stat ---- */
.big-stat {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700; line-height: 0.9;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Stat card ---- */
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.stat-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 60px rgba(124,92,252,0.04);
}
.stat-unit {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ---- Logo strip ---- */
.logo-strip {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: center;
    gap: 2rem 2.75rem;
    opacity: 0.55;
    filter: grayscale(1) brightness(1.7);
}
.logo-strip img { height: 24px; max-width: 110px; }

/* ---- Hero comparison card ---- */
.compare-card {
    background: rgba(8,8,12,0.55);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    backdrop-filter: blur(8px);
    overflow: hidden;
}
.compare-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 720px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-side {
    padding: 1.5rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    line-height: 1.55;
    min-height: 280px;
    position: relative;
    min-width: 0;
    overflow: hidden;
}
.compare-side pre { max-width: 100%; word-break: break-word; }
.compare-side.left {
    border-right: 1px solid var(--border);
    color: rgba(255,255,255,0.34);
    background: rgba(248,113,113,0.015);
}
@media (max-width: 720px) {
    .compare-side.left { border-right: none; border-bottom: 1px solid var(--border); }
}
.compare-side.right {
    color: rgba(255,255,255,0.85);
    background: rgba(124,92,252,0.025);
}
.compare-label {
    position: absolute; top: 0.75rem; right: 1rem;
    font-size: 0.65rem; letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
.log-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.json-key { color: var(--accent-light); }
.json-str { color: var(--cyan); }
.json-num { color: #f59e0b; }
.json-role-root { color: #ef4444; font-weight: 500; }
.json-role-trigger { color: #f59e0b; font-weight: 500; }
.json-role-cons { color: #94a3b8; }

/* ---- Pipeline diagram ---- */
.pipeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    position: relative;
}
@media (max-width: 900px) { .pipeline { grid-template-columns: 1fr; } }
.pipe-stage {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}
.pipe-stage:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.pipe-num {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 0.18em;
}
.pipe-name {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    margin: 0.4rem 0 0.5rem;
}
.pipe-detail {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}
.pipe-arrow {
    position: absolute;
    right: -0.6rem; top: 50%;
    transform: translateY(-50%);
    color: rgba(124,92,252,0.5);
    font-size: 0.9rem;
    z-index: 2;
}
@media (max-width: 900px) { .pipe-arrow { display: none; } }

/* ---- Code block ---- */
.code-block {
    background: rgba(8,8,12,0.85);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    overflow: hidden;
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
}
.code-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    padding: 0.4rem 0.5rem 0;
    gap: 0.25rem;
    background: rgba(255,255,255,0.015);
}
.code-tab {
    padding: 0.55rem 1rem 0.65rem;
    font-size: 0.78rem;
    font-family: 'DM Mono', monospace;
    color: rgba(255,255,255,0.4);
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 1.5px solid transparent;
    transition: all 0.2s ease;
}
.code-tab.active {
    color: white;
    border-bottom-color: var(--accent);
}
.code-tab:hover { color: rgba(255,255,255,0.8); }
.code-body { padding: 1.5rem 1.5rem 1.75rem; line-height: 1.7; overflow-x: auto; }
.code-body pre { margin: 0; }
.code-pane { display: none; }
.code-pane.active { display: block; }
.tok-kw { color: var(--accent-light); }
.tok-fn { color: var(--cyan); }
.tok-str { color: #fbbf24; }
.tok-com { color: rgba(255,255,255,0.32); }
.tok-var { color: white; }

/* ---- Benchmark table ---- */
.bench-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.bench-table thead th {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.bench-table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.85);
}
.bench-table tbody tr:last-child td { border-bottom: none; }
.bench-table .delta-pos { color: var(--cyan); font-family: 'DM Mono', monospace; font-size: 0.85rem; }
.bench-table .delta-neg { color: rgba(248,113,113,0.7); font-family: 'DM Mono', monospace; font-size: 0.85rem; }
.bench-table .delta-tie { color: rgba(255,255,255,0.4); font-family: 'DM Mono', monospace; font-size: 0.85rem; }
.bench-table .codag-col { color: white; font-weight: 500; }

/* ---- Open source card ---- */
.oss-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--surface);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.oss-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 60px rgba(124,92,252,0.05);
}
@media (max-width: 900px) { .oss-card { grid-template-columns: 1fr; } }
.oss-info { padding: 2.5rem; }
.oss-media {
    background: #0d0d14;
    border-left: 1px solid var(--border);
    position: relative;
    min-height: 320px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
@media (max-width: 900px) {
    .oss-media { border-left: none; border-top: 1px solid var(--border); min-height: 240px; }
}
.oss-media img, .oss-media video {
    width: 100%; height: 100%; object-fit: cover;
}
.oss-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(8,8,12,0.7) 100%);
    pointer-events: none;
}
.star-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    background: rgba(124,92,252,0.1);
    border: 1px solid rgba(124,92,252,0.3);
    border-radius: 9999px;
    font-family: 'DM Mono', monospace;
    font-size: 0.78rem;
    color: var(--accent-light);
}

/* ---- Pricing tiers ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }

.tier {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.tier:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 40px rgba(124,92,252,0.05);
}
.tier.featured {
    border: 1px solid rgba(124,92,252,0.5);
    background: rgba(124,92,252,0.045);
    position: relative;
}
.tier.featured::before {
    content: 'Recommended';
    position: absolute;
    top: -0.65rem; left: 50%;
    transform: translateX(-50%);
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: white;
    background: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}
.tier-name {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: white;
}
.tier-price {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: white;
    line-height: 1;
    margin: 0.6rem 0 0.25rem;
}
.tier-period {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
}
.tier-pitch {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin: 0.85rem 0 1.25rem;
    line-height: 1.5;
}
.tier-feats { list-style: none; padding: 0; margin: 0 0 1.5rem; flex-grow: 1; }
.tier-feats li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    padding: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.45;
}
.tier-feats li::before {
    content: '→';
    color: var(--accent);
    font-family: 'DM Mono', monospace;
    font-size: 0.78rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ---- Final CTA panel ---- */
.final-cta {
    background: linear-gradient(135deg, rgba(124,92,252,0.08), rgba(34,211,238,0.03));
    border: 1px solid rgba(124,92,252,0.25);
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    text-align: center;
}

/* ---- Mobile menu ---- */
#mobile-menu {
    position: fixed;
    top: 4rem; left: 1rem; right: 1rem;
    background: rgba(8,8,12,0.94);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    padding: 1rem;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
#mobile-menu a {
    padding: 0.75rem 1rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}
#mobile-menu a:hover { background: rgba(255,255,255,0.05); color: white; }
#mobile-menu.hidden { display: none; }

/* ---- Code copy button ---- */
.copy-btn {
    position: absolute;
    top: 0.6rem; right: 0.75rem;
    padding: 0.35rem 0.7rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.copy-btn:hover { color: white; background: rgba(124,92,252,0.15); border-color: rgba(124,92,252,0.4); }

/* ---- Subpage header ---- */
.page-header {
    padding: 9rem 0 3.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 5rem;
}
@media (max-width: 768px) { .page-header { padding: 7rem 0 2.5rem; margin-bottom: 3.5rem; } }

/* ---- Doc/legal prose blocks (privacy, terms, support) ---- */
.prose-block {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.75;
}
.prose-block .meta {
    font-family: 'DM Mono', monospace;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2.5rem;
}
.prose-block h2 {
    color: white;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.2;
    margin-top: 3rem;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}
.prose-block h2:first-child { margin-top: 0; }
.prose-block p { margin-bottom: 0.9rem; color: rgba(255,255,255,0.7); }
.prose-block ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1rem;
}
.prose-block ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.45rem;
    color: rgba(255,255,255,0.7);
}
.prose-block ul li::before {
    content: '';
    position: absolute;
    left: 0.3rem;
    top: 0.8em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.65;
}
.prose-block ul li strong, .prose-block p strong {
    color: white;
    font-weight: 600;
}
.prose-block a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease;
}
.prose-block a:hover { color: white; }

/* ---- Home teaser cards ---- */
.teaser-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}
.teaser-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(124,92,252,0.06);
}
.teaser-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 1.5rem;
    transition: gap 0.3s ease;
}
.teaser-card:hover .teaser-arrow { gap: 0.7rem; }

/* ---- benchmark page additions ---- */

/* Measure cards: each axis gets a tinted top-edge accent and a subtle hover. */
.measure-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem 1.75rem 1.75rem;
    overflow: hidden;
    transition: border-color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease;
}
.measure-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: rgba(255,255,255,0.4);
    opacity: 0.55;
}
.measure-card[data-axis="compression"]::before { background: var(--cyan); }
.measure-card[data-axis="recall"]::before { background: var(--accent); }
.measure-card[data-axis="speed"]::before { background: rgba(255,255,255,0.85); }
.measure-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    box-shadow: 0 0 80px rgba(124,92,252,0.05);
    transform: translateY(-2px);
}
.measure-axis-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.1rem;
}
.measure-card[data-axis="compression"] .measure-axis-label { color: var(--cyan); }
.measure-card[data-axis="recall"] .measure-axis-label { color: var(--accent-light); }
.measure-card[data-axis="speed"] .measure-axis-label { color: rgba(255,255,255,0.7); }
.measure-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.1rem;
    letter-spacing: -0.01em;
}
.measure-formula {
    font-family: 'DM Mono', monospace;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.78);
    background: rgba(0,0,0,0.32);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.55rem;
    padding: 0.7rem 0.85rem;
    margin-bottom: 1.1rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow-x: auto;
}
.measure-formula-key { color: rgba(255,255,255,0.52); }
.measure-card[data-axis="compression"] .measure-formula-num { color: var(--cyan); }
.measure-card[data-axis="recall"] .measure-formula-num { color: var(--accent-light); }
.measure-card[data-axis="speed"] .measure-formula-num { color: white; }
.measure-why {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.55;
    margin: 0;
}

/* Reproduce CTA card with a real terminal block + copy button. */
.reproduce-card {
    background: linear-gradient(135deg, rgba(34,211,238,0.04) 0%, rgba(124,92,252,0.05) 100%);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.reproduce-card:hover {
    border-color: rgba(124,92,252,0.3);
    box-shadow: 0 0 100px rgba(124,92,252,0.06);
}
.reproduce-head { margin-bottom: 1.5rem; }
.terminal-block {
    position: relative;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 0.85rem;
    padding: 1.4rem 1.4rem 1.2rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.terminal-block pre {
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.85;
    margin: 0;
    white-space: pre;
}
.term-prompt { color: var(--cyan); margin-right: 0.6rem; user-select: none; }
.term-placeholder { color: var(--accent-light); font-style: italic; }
.copy-btn {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.copy-btn:hover {
    background: rgba(255,255,255,0.08);
    color: white;
    border-color: rgba(255,255,255,0.18);
}
.copy-btn.copied {
    color: var(--cyan);
    border-color: rgba(34,211,238,0.4);
    background: rgba(34,211,238,0.08);
}
.reproduce-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.reproduce-meta {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.32);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
@media (max-width: 640px) {
    .reproduce-card { padding: 2rem 1.5rem; }
    .terminal-block { padding: 1.2rem 1rem 1rem; }
    .terminal-block pre { font-size: 0.78rem; }
}
