:root {
    --bg:           #070809;
    --bg-2:         #0d0f11;
    --bg-3:         #131618;
    --acid:         #a3ff47;
    --acid-dim:     #628f28;
    --white:        #eef0ee;
    --muted:        #8c9da6;
    --border:       #181e22;
    --border-hi:    #2a333a;
    --font-display: 'Barlow Condensed', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;
    --font-body:    'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scanline overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.06) 2px,
        rgba(0,0,0,0.06) 4px
    );
    pointer-events: none;
    z-index: 999;
}

/* Dot-grid background */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, rgba(163,255,71,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

* { position: relative; z-index: 1; }

/* ─── NAV ─────────────────────────────────────────── */
nav {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 52px;
    background: rgba(7,8,9,0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--acid);
    letter-spacing: -0.02em;
}
.nav-logo em { color: var(--muted); font-style: normal; font-weight: 300; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-buy {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--bg);
    background: var(--acid);
    padding: 6px 16px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: opacity 0.2s;
}
.nav-buy:hover { opacity: 0.85; }

/* ─── HERO ────────────────────────────────────────── */
.hero {
    min-height: calc(100vh - 52px);
    display: grid;
    grid-template-columns: 1fr 480px;
    align-items: center;
    gap: 60px;
    padding: 80px;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--acid);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--acid);
    flex-shrink: 0;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(64px, 8vw, 108px);
    font-weight: 900;
    line-height: 0.90;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 32px;
}
.hero-headline .accent { color: var(--acid); }

.hero-sub {
    font-size: 18px;
    font-weight: 300;
    color: #9aabb5;
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-primary {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--bg);
    background: var(--acid);
    padding: 14px 36px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(163,255,71,0.22);
}

.btn-premium {
    color: var(--white);
    background: transparent;
    border: 1px solid var(--acid-dim);
}
.btn-premium:hover {
    box-shadow: 0 12px 40px rgba(163,255,71,0.12);
    background: rgba(163,255,71,0.08);
}

.btn-ghost {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-hi);
    padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--muted); }

/* Token meter */
.hero-visual { flex-shrink: 0; }

.token-meter {
    background: var(--bg-2);
    border: 1px solid var(--border-hi);
    padding: 28px;
}

.meter-head {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
}
.meter-head .live {
    color: var(--acid);
    display: flex;
    align-items: center;
    gap: 6px;
}
.live-dot {
    width: 5px; height: 5px;
    background: var(--acid);
    border-radius: 50%;
    animation: blink 1.4s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.meter-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.bar-row {
    display: grid;
    grid-template-columns: 72px 1fr 52px;
    align-items: center;
    gap: 10px;
}
.bar-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.bar-track {
    height: 5px;
    background: var(--border);
    overflow: hidden;
}
.bar-fill { height: 100%; transition: width 1.1s cubic-bezier(0.4,0,0.2,1); }
.bar-fill.loaded  { background: var(--border-hi); }
.bar-fill.avoided { background: var(--acid); }
.bar-pct {
    font-family: var(--font-mono);
    font-size: 9px;
    text-align: right;
}

.meter-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    margin-bottom: 16px;
}
.meter-stat {
    background: var(--bg-2);
    padding: 16px 14px;
}
.meter-stat-val {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    color: var(--acid);
    line-height: 1;
    margin-bottom: 4px;
}
.meter-stat-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.phase-strip {
    display: flex;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.ph {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.06em;
    text-align: center;
    padding: 5px 2px;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: all 0.25s;
}
.ph.active {
    border-color: var(--acid);
    color: var(--acid);
    background: rgba(163,255,71,0.07);
}

/* ─── SECTION BASE ────────────────────────────────── */
section { padding: 96px 80px; }

.s-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--acid);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.s-eyebrow::before {
    content: '';
    display: block;
    width: 28px; height: 1px;
    background: var(--acid);
    flex-shrink: 0;
}

.s-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    line-height: 0.93;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.s-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 480px;
    line-height: 1.75;
}

/* ─── PIPELINE ────────────────────────────────────── */
.pipeline-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.pipeline-header { margin-bottom: 60px; max-width: 560px; }

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--border);
}
.p-phase {
    background: var(--bg-2);
    padding: 28px 20px 24px;
    position: relative;
}
.p-phase:not(:last-child)::after {
    content: '›';
    position: absolute;
    right: -10px;
    top: 28px;
    color: var(--border-hi);
    font-size: 14px;
    z-index: 2;
}
.p-num {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--acid-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.p-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}
.p-budget {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--acid);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}
.p-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.55;
}

/* ─── CAROUSEL ────────────────────────────────────── */
.carousel-section { padding-bottom: 96px; }
.carousel-header { margin-bottom: 48px; }

.carousel-wrap {
    position: relative;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.42s cubic-bezier(0.25,0.46,0.45,0.94);
    will-change: transform;
}

.c-card {
    flex: 0 0 calc(33.33% - 11px);
    min-width: 280px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    padding: 32px;
    position: relative;
    transition: border-color 0.3s;
}
.c-card:hover { border-color: var(--border-hi); }

.c-cat {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--acid);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.c-avoid {
    position: absolute;
    top: 28px; right: 28px;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 900;
    color: var(--acid);
    line-height: 1;
}
.c-avoid small {
    font-size: 10px;
    font-weight: 400;
    color: var(--acid-dim);
    display: block;
    text-align: right;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
    margin-top: 2px;
}
.c-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
    padding-right: 72px;
}
.c-desc {
    font-size: 14px;
    color: #8c9da6;
    line-height: 1.65;
}
.c-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.03em;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
}
.c-dots { display: flex; gap: 6px; }
.c-dot {
    width: 5px; height: 5px;
    background: var(--border-hi);
    transition: all 0.3s;
    cursor: pointer;
}
.c-dot.active { background: var(--acid); width: 20px; }

.c-arrows { display: flex; gap: 6px; }
.c-arrow {
    width: 38px; height: 38px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
    font-family: var(--font-mono);
}
.c-arrow:hover {
    border-color: var(--acid);
    color: var(--acid);
    background: rgba(163,255,71,0.05);
}

/* ─── BENCHMARKS ──────────────────────────────────── */
.bench-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.bench-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.bench-table { width: 100%; border-collapse: collapse; }
.bench-table th {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: left;
    padding: 0 12px 12px;
    border-bottom: 1px solid var(--border);
}
.bench-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    vertical-align: top;
}
.bench-table td:first-child {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
}
.bench-pct {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    color: var(--acid);
    line-height: 1;
}
.bench-bar {
    height: 2px;
    background: var(--border);
    margin-top: 5px;
}
.bench-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--acid-dim), var(--acid));
    transition: width 1.3s ease;
}

.bench-aside { display: flex; flex-direction: column; gap: 32px; }
.big-stat .num {
    font-family: var(--font-display);
    font-size: 88px;
    font-weight: 900;
    color: var(--acid);
    line-height: 1;
    letter-spacing: -0.02em;
}
.big-stat .lbl {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.5;
    max-width: 260px;
}
.aside-rule { width: 36px; height: 1px; background: var(--border-hi); }

/* ─── PRICING ─────────────────────────────────────── */
.pricing-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.price-card {
    background: var(--bg-2);
    border: 1px solid var(--border-hi);
    padding: 44px;
    position: relative;
}
.price-card::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 2px;
    background: var(--acid);
}

.price-amt {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}
.price-amt .dollar {
    font-size: 36px;
    color: var(--acid);
    vertical-align: top;
    line-height: 1.4;
}
.price-per {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 36px;
}

.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.price-features li {
    font-size: 14px;
    color: #9aabb5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.price-features li::before {
    content: '+';
    font-family: var(--font-mono);
    color: var(--acid);
    font-weight: 600;
    flex-shrink: 0;
}

.btn-buy {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--bg);
    background: var(--acid);
    border: none;
    padding: 17px;
    cursor: pointer;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: opacity 0.2s, transform 0.15s;
}
.btn-buy:hover { opacity: 0.88; transform: translateY(-1px); }

.price-note {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--muted);
    text-align: center;
    letter-spacing: 0.06em;
}

.price-info { display: flex; flex-direction: column; gap: 28px; padding-top: 4px; }
.pi-block h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.pi-block p { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ─── LICENSE ─────────────────────────────────────── */
.license-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px;
}
.license-box {
    border: 1px solid var(--border);
    padding: 32px 36px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    line-height: 1.9;
    background: var(--bg);
    max-width: 840px;
    margin-top: 36px;
}
.license-box strong {
    color: var(--white);
    display: block;
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.license-box .l-section { margin-top: 16px; }
.license-box .l-section b {
    color: #9aa3a8;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

/* ─── INSTALL ─────────────────────────────────────── */
.install-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
}

.code-block {
    background: var(--bg-2);
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.85;
}
.code-head {
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copy-btn {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--muted);
    background: var(--border);
    border: none;
    padding: 3px 8px;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.2s;
}
.copy-btn:hover { color: var(--white); background: var(--border-hi); }
.code-body { padding: 20px; overflow-x: auto; }
.code-body pre { white-space: pre; }

.cc  { color: #7a99aa; }
.ck  { color: #c792ea; }
.cs  { color: #c3e88d; }
.cf  { color: #82aaff; }
.cn  { color: var(--acid); }
.cmd { color: var(--acid); }

/* ─── FOOTER ──────────────────────────────────────── */
footer {
    padding: 36px 80px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-logo { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--acid); }
.footer-copy { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.06em; }

/* ─── TOOLS SECTION ───────────────────────────────── */
.tools-section { background: var(--bg-2); }

.tools-tabs {
    display: flex;
    gap: 2px;
    margin: 40px 0 32px;
    border-bottom: 1px solid var(--border);
}

.tools-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 10px 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.18s, border-color 0.18s;
}
.tools-tab:hover { color: var(--white); }
.tools-tab.active { color: var(--acid); border-bottom-color: var(--acid); }

.tools-group { display: none; }
.tools-group.active { display: block; }

.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--border);
}

.tool-grid--half { grid-template-columns: repeat(2, 1fr); }

.tool-card {
    background: var(--bg-2);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.15s;
}
.tool-card:hover { background: var(--bg-3); }

.tool-name {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--acid);
    letter-spacing: -0.01em;
}

.tool-desc {
    font-size: 13px;
    color: white;
    line-height: 1.65;
    flex: 1;
}
.tool-desc code {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--white);
    background: rgba(255,255,255,0.06);
    padding: 1px 5px;
    border-radius: 2px;
}

.tool-hint {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.04em;
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: auto;
}

/* ─── DOWNLOAD SECTION ────────────────────────────── */
.download-section { padding-bottom: 80px; }

.upgrade-shell {
    min-height: calc(100vh - 52px);
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 520px);
    gap: 32px;
    align-items: start;
    padding: 72px 80px 96px;
}

.upgrade-card,
.upgrade-pane {
    background: var(--bg-2);
    border: 1px solid var(--border-hi);
    padding: 32px;
}

.upgrade-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: var(--acid);
}

.upgrade-kicker {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--acid);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.upgrade-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 74px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.upgrade-copy {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 28px;
}

.upgrade-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.upgrade-points li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #9aabb5;
}

.upgrade-points li::before {
    content: '+';
    font-family: var(--font-mono);
    color: var(--acid);
}

.upgrade-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
}

.upgrade-price-main {
    font-family: var(--font-display);
    font-size: 74px;
    font-weight: 900;
    line-height: 1;
}

.upgrade-price-note {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.upgrade-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.upgrade-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.upgrade-input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border-hi);
    color: var(--white);
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-body);
}

.upgrade-input:focus {
    outline: none;
    border-color: var(--acid);
}

.upgrade-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.upgrade-cta-row .btn-primary {
    flex: 1 1 220px;
    text-align: center;
}

.upgrade-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border: 1px solid var(--border-hi);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
}

.upgrade-meta {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.upgrade-pane {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.upgrade-shell.account-page {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px 24px;
}

.account-grid .span-2 {
    grid-column: 1 / -1;
}

.upgrade-status {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.05em;
    min-height: 18px;
}

.upgrade-status.error {
    color: #ff8f8f;
}

.upgrade-status.ok {
    color: var(--acid);
}

#login-status {
    margin-top: 16px;
}

.upgrade-code {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 18px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--acid);
    line-height: 1.8;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.upgrade-panel-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
}

.upgrade-panel-copy {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.upgrade-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upgrade-list-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
    color: #9aabb5;
}

.upgrade-list-item strong {
    color: var(--white);
}

.dl-header { margin-bottom: 56px; }

.dl-body {
    max-width: 860px;
    margin: 0 auto;
}

.dl-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 40px;
}

.dl-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 24px 20px;
    background: var(--bg-2);
    border: 1px solid var(--border-hi);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    padding: 20px 24px;
}
.dl-tile:hover {
    border-color: var(--acid-dim);
    background: rgba(163,255,71,0.03);
}
.dl-tile.active {
    border-color: var(--acid);
    background: rgba(163,255,71,0.05);
}


.dl-tile-os {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.01em;
    line-height: 1;
}
.dl-tile.active .dl-tile-os { color: var(--acid); }

.dl-tile-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dl-action {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dl-download-btn {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: var(--acid);
    color: var(--bg);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-align: center;
    transition: background 0.15s, opacity 0.15s;
    border: none;
    cursor: pointer;
}
.dl-download-btn:hover { background: #c8ff50; }

.dl-after {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 32px;
    background: var(--bg-2);
    border: 1px solid var(--border-hi);
    border-top: none;
}
.dl-after[hidden] { display: none !important; }

.dl-after-step {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.dl-after-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--bg);
    background: var(--border-hi);
    border-radius: 50%;
}

.dl-after-done .dl-after-num {
    background: var(--acid);
    color: var(--bg);
}
.dl-after-done { color: var(--white); }

.dl-after-note {
    font-size: 12px;
    color: var(--muted);
    padding-left: 36px;
}

/* PowerShell command box — Windows install */
.dl-ps-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-left: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-hi);
    border-radius: 6px;
    padding: 12px 16px;
}
.dl-ps-box pre {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--acid);
    margin: 0;
    white-space: nowrap;
    overflow-x: auto;
}
.dl-exe-link {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.dl-exe-link:hover { color: var(--white); }

.dl-after code {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--acid);
    background: rgba(163,255,71,0.08);
    padding: 1px 6px;
}

.dl-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 860px;
    margin: 56px auto 0;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.dl-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 40px;
}
.dl-step:not(:last-child) {
    border-right: 1px solid var(--border);
    margin-right: 0;
}
.dl-step:not(:first-child) { padding-left: 40px; padding-right: 0; }
.dl-step:last-child { padding-right: 0; }

.dl-step-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: #3d5566;
    line-height: 1;
}

.dl-step-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}
.dl-step-text code {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--acid);
    background: rgba(163,255,71,0.08);
    padding: 1px 6px;
}

.nav-download {
    color: var(--acid) !important;
    border: 1px solid var(--acid-dim);
    padding: 4px 12px !important;
    border-radius: 4px;
    transition: background 0.2s !important;
}
.nav-download:hover { background: rgba(163,255,71,0.08) !important; }

.footer-link {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--white); }

/* ─── AGENTS STRIP ───────────────────────────────── */
.agents-section {
    padding: 40px 48px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.agents-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.agents-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 24px;
}

.agent-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border-hi);
    border-radius: 8px;
    background: var(--bg-2);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.agent-badge:hover {
    border-color: var(--acid-dim);
    color: var(--acid);
}

.agent-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 4px;
}

@media (max-width: 640px) {
    .agents-section { padding: 32px 24px; }
    .agents-strip { gap: 8px 16px; }
}

/* ─── SITUATIONS ─────────────────────────────────── */
.situations-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.sit-header { margin-bottom: 60px; max-width: 560px; }

.sit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}
.sit-card {
    background: var(--bg-2);
    padding: 32px 28px;
    position: relative;
    transition: background 0.15s;
}
.sit-card:hover { background: var(--bg-3); }

.sit-cat {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--acid);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.sit-stat {
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
    color: var(--acid);
    line-height: 1;
    text-align: right;
}
.sit-stat small {
    font-size: 10px;
    font-weight: 400;
    color: var(--acid-dim);
    display: block;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
    margin-top: 2px;
}
.sit-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
    padding-right: 80px;
}
.sit-body {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

/* ─── WORKFLOWS ───────────────────────────────────── */
.workflows-section { padding-bottom: 96px; }
.wf-header { margin-bottom: 60px; }

.wf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.wf-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color 0.2s;
}
.wf-card:hover { border-color: var(--border-hi); }

.wf-tag {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--acid);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.wf-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.0;
    margin: 0;
}
.wf-scenario {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    padding: 16px 18px;
    background: var(--bg);
    border-left: 2px solid var(--border-hi);
}
.wf-steps {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}
.wf-step {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
    color: #9aabb5;
    line-height: 1.5;
}
.wf-step-n {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--acid-dim);
    width: 16px;
}
.wf-footer {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.wf-saving {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--acid);
    line-height: 1;
}
.wf-note {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.04em;
}

/* ─── FEEDBACK ────────────────────────────────────── */
.feedback-section {
    padding: 80px 64px 96px;
    max-width: 760px;
    margin: 0 auto;
}
.feedback-inner { display: flex; flex-direction: column; gap: 24px; }
.feedback-sub {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
}
.feedback-form { display: flex; flex-direction: column; gap: 16px; }
.feedback-textarea {
    width: 100%;
    min-height: 120px;
    background: var(--bg-2);
    border: 1px solid var(--border-hi);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    padding: 14px 16px;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}
.feedback-textarea:focus { border-color: var(--acid-dim); }
.feedback-textarea::placeholder { color: var(--muted); }
.feedback-status { font-size: 13px; min-height: 20px; }
.feedback-status.ok    { color: var(--acid); }
.feedback-status.error { color: #f87171; }

/* ─── ANIMATIONS ──────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.vis { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; padding: 60px 48px; min-height: auto; }
    .hero-visual { display: none; }
    .upgrade-shell { grid-template-columns: 1fr; padding: 60px 48px 80px; }
    .account-grid { grid-template-columns: 1fr; }
    .pipeline-grid { grid-template-columns: repeat(3,1fr); }
    .bench-layout, .pricing-layout { grid-template-columns: 1fr; }
    .dl-tiles { grid-template-columns: repeat(2, 1fr); }
    .dl-steps { grid-template-columns: 1fr; gap: 32px; }
    .dl-step, .dl-step:not(:last-child), .dl-step:not(:first-child) { padding: 0; border: none; }
    .tool-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-grid--half { grid-template-columns: 1fr; }
    .c-card { flex: 0 0 calc(50% - 8px); }
    .sit-grid { grid-template-columns: repeat(2, 1fr); }
    .wf-grid { grid-template-columns: 1fr; }
    section, .license-section, footer { padding-left: 48px; padding-right: 48px; }
    nav { padding: 0 28px; }
}

@media (max-width: 640px) {
    .hero { padding: 48px 24px; }
    .upgrade-shell { padding: 44px 24px 64px; }
    .upgrade-card,
    .upgrade-pane { padding: 24px; }
    section, .license-section, footer { padding-left: 24px; padding-right: 24px; }
    nav { padding: 0 20px; }
    .tool-grid, .tool-grid--half { grid-template-columns: 1fr; }
    .nav-links li:not(:last-child) { display: none; }
    .pipeline-grid { grid-template-columns: repeat(2,1fr); }
    .p-phase:not(:last-child)::after { display: none; }
    .c-card { flex: 0 0 calc(85% - 8px); }
    .big-stat .num { font-size: 64px; }
    .sit-grid { grid-template-columns: 1fr; }
    .sit-stat { position: static; margin-bottom: 12px; text-align: left; }
    .sit-title { padding-right: 0; }
}
