
    :root {
        --bg: #080c08;
        --bg2: #0c110c;
        --card: #101610;
        --border: #1e2e1e;
        --border2: #2a3d2a;
        --muted: #5a7a5a;
        --muted2: #8aab8a;
        --text: #d8ecd8;
        --accent: #00e676;
        --accent-dim: #00b85a;
        --accent-glow: rgba(0,230,118,0.15);
        --accent-glow2: rgba(0,230,118,0.07);
        --red: #ff4757;
        --amber: #ffb300;
        --ok: #00e676;
        --radius: 4px;
        --radius2: 8px;
        --mono: 'JetBrains Mono', ui-monospace, monospace;
        --sans: 'Outfit', system-ui, sans-serif;
    }

    * { box-sizing: border-box }

    html, body {
        margin: 0;
        min-height: 100%;
        font-family: var(--sans);
        background: var(--bg);
        color: var(--text);
        overflow-x: hidden;
    }

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

    a { color: var(--text); text-decoration: none; }

    .wrap {
        max-width: 1100px;
        margin: 0 auto;
        padding: 24px;
    }

    /* ── HEADER ─────────────────────────────────────── */
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 0;
        flex-wrap: wrap;
        border-bottom: 1px solid var(--border);
        margin-bottom: 4px;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 14px;
    }

.logo {
        width: 36px;
        height: 36px;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><rect width="36" height="36" rx="4" fill="%23080c08" stroke="%2300e676" stroke-width="2"/><path d="M9 18h15" stroke="%2300e676" stroke-width="2"/><circle cx="12" cy="18" r="3" fill="%2300e676"/><circle cx="24" cy="18" r="3" fill="none" stroke="%2300e676"/></svg>');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .brand-text strong {
        font-family: var(--mono);
        font-size: 15px;
        color: var(--accent);
        display: block;
        letter-spacing: 0.02em;
    }

    .brand-text small {
        color: var(--muted);
        font-size: 12px;
        font-family: var(--mono);
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        align-items: center;
    }

    nav a { opacity: .8; font-size: 14px; }
    nav a:hover { opacity: 1; color: var(--accent); }

    /* ── BUTTONS ────────────────────────────────────── */
    .btn {
        display: inline-flex;
        gap: 8px;
        align-items: center;
        padding: 10px 18px;
        border-radius: var(--radius);
        background: var(--accent);
        color: #060d06;
        font-weight: 700;
        font-family: var(--mono);
        font-size: 13px;
        letter-spacing: 0.02em;
        transition: all .15s ease;
        box-shadow: 0 0 20px var(--accent-glow), 0 0 6px rgba(0,230,118,0.25);
        white-space: nowrap;
    }

    .btn:hover {
        background: #00ff87;
        box-shadow: 0 0 32px rgba(0,230,118,0.4), 0 0 10px rgba(0,230,118,0.5);
        transform: translateY(-1px);
        color: #030a03;
    }

    .btn.secondary {
        background: transparent;
        color: var(--accent);
        border: 1px solid var(--accent-dim);
        box-shadow: none;
    }
    .btn.secondary:hover {
        background: var(--accent-glow2);
        box-shadow: 0 0 16px var(--accent-glow);
    }

    /* ── HERO ───────────────────────────────────────── */
    .hero {
        display: grid;
        grid-template-columns: 1.12fr .88fr;
        gap: 2px;
        align-items: stretch;
        margin: 28px 0 18px;
        border: 1px solid var(--border2);
        background: var(--border2);
    }

    .hero .left {
        padding: 36px 32px;
        background: var(--card);
        position: relative;
        overflow: hidden;
    }

    /* Corner decorations */
    .hero .left::before {
        content: '';
        position: absolute;
        top: 0; left: 0;
        width: 60px; height: 60px;
        border-top: 2px solid var(--accent);
        border-left: 2px solid var(--accent);
        opacity: 0.5;
    }
    .hero .left::after {
        content: '';
        position: absolute;
        bottom: 0; right: 0;
        width: 60px; height: 60px;
        border-bottom: 2px solid var(--accent-dim);
        border-right: 2px solid var(--accent-dim);
        opacity: 0.3;
    }

    .hero-label {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--accent);
        letter-spacing: 0.15em;
        text-transform: uppercase;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .hero-label::before {
        content: '';
        width: 20px;
        height: 1px;
        background: var(--accent);
    }

    h1 {
        font-family: var(--mono);
        font-size: 38px;
        font-weight: 800;
        line-height: 1.1;
        margin: 0 0 16px;
        color: #e8f5e8;
    }

    h1 em {
        font-style: normal;
        color: var(--accent);
        text-shadow: 0 0 20px rgba(0,230,118,0.4);
    }

    h2 {
        font-family: var(--mono);
        font-size: 22px;
        font-weight: 700;
        margin: 0 0 20px;
        color: var(--accent);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    h2::before {
        content: '//';
        opacity: 0.4;
        font-size: 18px;
    }

    p.lead {
        font-size: 17px;
        color: var(--muted2);
        margin: 0 0 20px;
        line-height: 1.6;
        font-weight: 300;
    }

    /* ── BADGES ─────────────────────────────────────── */
    .badges {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin: 16px 0;
    }

    .badge {
        font-family: var(--mono);
        font-size: 11px;
        border: 1px solid var(--border2);
        color: var(--accent);
        padding: 5px 10px;
        border-radius: 2px;
        background: rgba(0,230,118,0.05);
        letter-spacing: 0.04em;
    }

.hero-visual {
        background: var(--card);
        position: relative;
        overflow: hidden;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .hero-visual-img {
        position: absolute;
        inset: 0;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect width="400" height="400" fill="%23080c08"/><g stroke="%2300e676" stroke-width="2" fill="none" opacity="0.7"><path d="M200 60 C 160 120, 240 160, 200 220"/><path d="M60 120 C 120 140, 140 200, 100 260"/><path d="M340 100 C 280 160, 320 220, 280 280"/><path d="M140 320 C 180 280, 240 300, 260 250"/></g><g fill="%2300e676" opacity="0.9"><circle cx="200" cy="60" r="6"/><circle cx="200" cy="220" r="6"/><circle cx="60" cy="120" r="5"/><circle cx="100" cy="260" r="5"/><circle cx="340" cy="100" r="5"/><circle cx="280" cy="280" r="5"/><circle cx="140" cy="320" r="5"/><circle cx="260" cy="250" r="5"/></g><text x="128" y="352" font-family="monospace" font-size="14" fill="%2300e676" opacity="0.6">neurons / ai-guide</text></svg>');
        background-size: cover;
        background-position: top;
        filter: saturate(0.7) brightness(0.85);
        transition: filter .3s;
    }
    .hero-visual:hover .hero-visual-img {
        filter: saturate(0.9) brightness(0.95);
    }

    /* Grid scanlines on image */
    .hero-visual::after {
        content: '';
        position: absolute;
        inset: 0;
        background:
            repeating-linear-gradient(90deg, rgba(0,230,118,0.03) 0px, transparent 1px, transparent 40px),
            repeating-linear-gradient(0deg, rgba(0,230,118,0.03) 0px, transparent 1px, transparent 40px);
        pointer-events: none;
    }

    /* ── CARD ───────────────────────────────────────── */
    .card {
        background: var(--card);
        border: 1px solid var(--border);
    }

    /* ── SECTION ────────────────────────────────────── */
    .section {
        margin: 56px 0;
    }

    /* ── FEATURES ───────────────────────────────────── */
    .grid { display: grid; gap: 2px; }

    .features {
        grid-template-columns: repeat(3, 1fr);
        background: var(--border);
        border: 1px solid var(--border);
        margin: 20px 0;
    }

    .feature {
        padding: 24px 20px;
        background: var(--card);
        position: relative;
        transition: background .2s;
    }

    .feature:hover { background: #131a13; }

    .feature-icon {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--accent);
        letter-spacing: 0.1em;
        margin-bottom: 12px;
        opacity: 0.7;
    }

    .feature h3 {
        margin: 0 0 8px;
        font-size: 16px;
        font-family: var(--mono);
        font-weight: 700;
        color: #e8f5e8;
    }

    .feature p {
        margin: 0;
        color: var(--muted2);
        font-size: 14px;
        line-height: 1.6;
        font-weight: 300;
    }

    /* ── KPIs ───────────────────────────────────────── */
    .kpis {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2px;
        background: var(--border);
        border: 1px solid var(--border);
        margin-top: 20px;
    }

    .kpi {
        padding: 20px;
        background: var(--bg2);
        text-align: center;
    }

    .kpi strong {
        display: block;
        font-family: var(--mono);
        font-size: 24px;
        color: var(--accent);
        font-weight: 800;
        text-shadow: 0 0 16px rgba(0,230,118,0.3);
        margin-bottom: 4px;
    }

    .kpi span { font-size: 13px; color: var(--muted); }

    /* ── SPECS (server hardware) ────────────────────── */
    .specs {
        grid-template-columns: repeat(3, 1fr);
        background: var(--border);
        border: 1px solid var(--border);
        margin: 20px 0;
    }

    .spec-card {
        padding: 24px 20px;
        background: var(--card);
        position: relative;
        transition: background .2s;
        display: flex;
        flex-direction: column;
    }
    .spec-card:hover { background: #131a13; }

    .spec-card .feature-icon {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--accent);
        letter-spacing: 0.1em;
        margin-bottom: 12px;
        opacity: 0.7;
    }
    .spec-card h3 {
        margin: 0 0 8px;
        font-size: 16px;
        font-family: var(--mono);
        font-weight: 700;
        color: #e8f5e8;
    }
    .spec-card > p {
        margin: 0 0 16px;
        color: var(--muted2);
        font-size: 14px;
        line-height: 1.6;
        font-weight: 300;
    }

    .spec-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        font-family: var(--mono);
        font-size: 12px;
        border-top: 1px dashed var(--border2);
        padding-top: 12px;
        margin-top: auto;
    }
    .spec-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 10px;
        padding: 6px 0;
    }
    .spec-row + .spec-row {
        border-top: 1px dotted var(--border);
    }
    .spec-row .lbl { color: var(--muted); letter-spacing: 0.02em; }
    .spec-row .val {
        color: var(--accent);
        font-weight: 700;
        text-align: right;
    }

    /* Highlight row below specs */
    .spec-callout {
        margin-top: 16px;
        padding: 16px 20px;
        background: var(--card);
        border: 1px solid var(--border2);
        border-left: 2px solid var(--accent);
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .spec-callout-tag {
        color: var(--accent);
        font-family: var(--mono);
        font-size: 11px;
        font-weight: 700;
        flex-shrink: 0;
        letter-spacing: 0.1em;
        white-space: nowrap;
    }
    .spec-callout-text {
        color: var(--muted2);
        font-size: 14px;
        line-height: 1.55;
        font-weight: 300;
    }
    .spec-callout-text strong {
        color: var(--text);
        font-family: var(--mono);
        font-size: 13px;
        margin-right: 6px;
    }

    /* ── PRICING ────────────────────────────────────── */
    .pricing {
        grid-template-columns: repeat(3, 1fr);
        background: var(--border2);
        border: 1px solid var(--border2);
        margin: 20px 0;
    }

    .price {
        padding: 28px 22px;
        background: var(--card);
        position: relative;
        overflow: hidden;
        transition: background .2s;
    }

    .price:hover { background: #131a13; }

    /* Colored top accent bar */
    .price::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 2px;
    }

    .price.trial::before { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
    .price.monthly::before { background: var(--red); }
    .price.yearly::before { background: var(--amber); }

    .price h3 {
        margin: 0 0 8px;
        font-family: var(--mono);
        font-size: 17px;
        font-weight: 700;
        color: #e8f5e8;
    }

    .tag {
        display: inline-block;
        margin-bottom: 14px;
        font-family: var(--mono);
        font-size: 10px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding: 4px 8px;
        border-radius: 2px;
        border: 1px solid;
    }
    .price.trial .tag { color: var(--accent); border-color: var(--accent-dim); background: rgba(0,230,118,0.07); }
    .price.monthly .tag { color: var(--red); border-color: rgba(255,71,87,0.4); background: rgba(255,71,87,0.07); }
    .price.yearly .tag { color: var(--amber); border-color: rgba(255,179,0,0.4); background: rgba(255,179,0,0.07); }

    .amount {
        font-family: var(--mono);
        font-size: 32px;
        font-weight: 800;
        margin: 12px 0 20px;
        color: #e8f5e8;
    }

    .amount .per {
        font-size: 15px;
        color: var(--muted);
        font-weight: 400;
    }

    .price p {
        color: var(--muted);
        font-size: 13px;
        margin: 10px 0 0;
        font-family: var(--mono);
    }

    /* Price buy button variants */
    .price.trial .btn { background: var(--accent); color: #030a03; }
    .price.monthly .btn { background: var(--red); color: #fff; box-shadow: 0 0 20px rgba(255,71,87,0.25); }
    .price.monthly .btn:hover { background: #ff6b7a; }
    .price.yearly .btn { background: var(--amber); color: #1a0f00; box-shadow: 0 0 20px rgba(255,179,0,0.25); }
    .price.yearly .btn:hover { background: #ffc933; }

    /* ── LOCATIONS ──────────────────────────────────── */
    .locations {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 2px;
        background: var(--border);
    }

    .loc {
        padding: 8px 10px;
        background: var(--bg2);
        text-align: center;
        font-family: var(--mono);
        font-size: 12px;
        color: var(--muted2);
        cursor: default;
        transition: all .15s;
    }

    .loc:hover {
        background: var(--accent-glow2);
        color: var(--accent);
    }

    /* ── HOW IT WORKS ───────────────────────────────── */
    .how-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2px;
        background: var(--border);
        border: 1px solid var(--border);
    }

    .how-card {
        padding: 24px;
        background: var(--card);
    }

    .how-card h3 {
        font-family: var(--mono);
        font-size: 15px;
        font-weight: 700;
        margin: 0 0 10px;
        color: var(--accent);
    }

    /* ── CODE BLOCK ─────────────────────────────────── */
    .code {
        font-family: var(--mono);
        background: var(--bg);
        border: 1px solid var(--border2);
        border-left: 2px solid var(--accent);
        padding: 14px;
        white-space: pre-wrap;
        color: var(--accent);
        font-size: 12px;
        border-radius: var(--radius);
        margin-top: 12px;
    }

    .row {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 12px;
    }

    .tab {
        padding: 8px 12px;
        border-radius: var(--radius);
        border: 1px solid var(--border2);
        background: var(--bg2);
        font-family: var(--mono);
        font-size: 12px;
        cursor: pointer;
        color: var(--muted2);
        transition: all .15s;
        white-space: nowrap;
    }

    .tab:hover {
        border-color: var(--accent-dim);
        color: var(--accent);
        background: var(--accent-glow2);
    }

    /* ── FAQ ────────────────────────────────────────── */
    .faq-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2px;
        background: var(--border);
        border: 1px solid var(--border);
    }

    details {
        background: var(--card);
        padding: 16px 18px;
        border: none;
    }

    details[open] { background: #131a13; }

    summary {
        cursor: pointer;
        font-weight: 600;
        font-family: var(--mono);
        font-size: 13px;
        color: var(--text);
        list-style: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    summary::before {
        content: '▶';
        color: var(--accent);
        font-size: 10px;
        transition: transform .2s;
    }

    details[open] summary::before {
        transform: rotate(90deg);
    }

    summary::-webkit-details-marker { display: none; }

    details div {
        margin-top: 10px;
        color: var(--muted2);
        font-size: 14px;
        line-height: 1.6;
        padding-left: 20px;
    }

    /* ── CTA SECTION ────────────────────────────────── */
    .cta-section {
        margin: 48px 0;
        border: 1px solid var(--border2);
        padding: 32px;
        background: var(--card);
        position: relative;
        overflow: hidden;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }

    .cta-section h2 { margin-top: 0; }

    .cta {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    /* ── FOOTER ─────────────────────────────────────── */
    footer {
        margin: 40px 0 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border);
        color: var(--muted);
        font-family: var(--mono);
        font-size: 12px;
    }

    footer .footer-inner {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        flex-wrap: wrap;
    }

    footer a { color: var(--muted); }
    footer a:hover { color: var(--accent); }

    /* ── TABS (location presets) ────────────────────── */
    .tabs {
        display: flex;
        gap: 8px;
        margin: 0 0 14px;
        flex-wrap: wrap;
    }

    .menu-item { padding: 8px 12px; }

    .payment-system-image {
        filter: brightness(150%) grayscale() invert(1) brightness(0.6) sepia(1) hue-rotate(80deg);
        opacity: 0.7;
    }

    /* ── RESPONSIVE ─────────────────────────────────── */
    @media (max-width: 980px) {
        .hero { grid-template-columns: 1fr; }
        .features { grid-template-columns: 1fr; }
        .pricing { grid-template-columns: 1fr; }
        .locations { grid-template-columns: repeat(3, 1fr); }
        .kpis { grid-template-columns: repeat(2, 1fr); }
        .how-grid { grid-template-columns: 1fr; }
        .faq-grid { grid-template-columns: 1fr; }
        .specs { grid-template-columns: 1fr; }
    }

    @media (max-width: 600px) {
        h1 { font-size: 26px; }
        .hero .left { padding: 22px 18px; }
        .btn { padding: 9px 14px; font-size: 12px; }
        .tab { padding: 7px 9px; }
        .cta-section { padding: 20px 16px; }
    }

    /* ── BLINK CURSOR ───────────────────────────────── */
    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
    }
    .cursor {
        display: inline-block;
        width: 8px;
        height: 1em;
        background: var(--accent);
        animation: blink 1s step-end infinite;
        vertical-align: text-bottom;
        margin-left: 2px;
    }

    /* ── LEGAL FOOTER ───────────────────────────────── */
    .legal {
        margin-top: 18px;
        padding-top: 16px;
        border-top: 1px dashed var(--border2);
        color: var(--muted);
        font-family: var(--mono);
        font-size: 11px;
        line-height: 1.7;
        letter-spacing: 0.02em;
    }
    .legal-row {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        align-items: baseline;
    }
    .legal-name {
        color: var(--accent);
        font-weight: 700;
    }
    .legal-name a { color: inherit; }
    .legal-name a:hover { text-shadow: 0 0 8px var(--accent-glow); }
    .legal-co { color: var(--muted2); }
    .legal-addr { color: var(--muted); }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 14px;
        margin-bottom: 10px;
    }
    .footer-links a {
        cursor: pointer;
        color: var(--muted);
        transition: color .15s;
    }
    .footer-links a:hover { color: var(--accent); }
    .footer-links .sep { color: var(--border2); }

    /* ── MODAL ──────────────────────────────────────── */
    .modal-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(4, 8, 4, 0.85);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        display: none;
        align-items: flex-start;
        justify-content: center;
        padding: 40px 16px;
        z-index: 1000;
        overflow-y: auto;
        animation: modalFade .2s ease;
    }
    .modal-backdrop.open { display: flex; }

    @keyframes modalFade {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    @keyframes modalSlide {
        from { transform: translateY(-12px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .modal {
        background: var(--card);
        border: 1px solid var(--border2);
        max-width: 760px;
        width: 100%;
        position: relative;
        animation: modalSlide .25s ease;
        margin: auto;
    }
    .modal::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }

    .modal-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 20px 28px;
        border-bottom: 1px solid var(--border);
    }
    .modal-head h3 {
        margin: 0;
        font-family: var(--mono);
        font-size: 16px;
        font-weight: 700;
        color: var(--accent);
        letter-spacing: 0.02em;
    }
    .modal-head h3::before {
        content: '// ';
        opacity: 0.4;
    }

    .modal-close {
        background: transparent;
        border: 1px solid var(--border2);
        color: var(--muted2);
        font-family: var(--mono);
        font-size: 14px;
        width: 32px;
        height: 32px;
        cursor: pointer;
        border-radius: var(--radius);
        transition: all .15s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .modal-close:hover {
        color: var(--accent);
        border-color: var(--accent-dim);
        background: var(--accent-glow2);
    }

    .modal-body {
        padding: 24px 28px 28px;
        max-height: 65vh;
        overflow-y: auto;
        color: var(--muted2);
        font-size: 14px;
        line-height: 1.7;
        font-weight: 300;
    }
    .modal-body h4 {
        font-family: var(--mono);
        font-size: 13px;
        color: var(--accent);
        margin: 22px 0 10px;
        letter-spacing: 0.05em;
    }
    .modal-body h4:first-child { margin-top: 0; }
    .modal-body p { margin: 0 0 12px; }
    .modal-body ul {
        margin: 0 0 12px;
        padding-left: 22px;
    }
    .modal-body ul li { margin-bottom: 6px; }
    .modal-body strong { color: var(--text); }
    .modal-body .meta {
        font-family: var(--mono);
        font-size: 11px;
        color: var(--muted);
        margin-bottom: 18px;
        padding-bottom: 12px;
        border-bottom: 1px dashed var(--border2);
        letter-spacing: 0.04em;
    }

    /* Custom scrollbar inside modal body */
    .modal-body::-webkit-scrollbar { width: 8px; }
    .modal-body::-webkit-scrollbar-track { background: var(--bg2); }
    .modal-body::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }
    .modal-body::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

    /* ── CANCEL FORM ────────────────────────────────── */
    .cancel-form { margin-top: 8px; }
    .field-label {
        display: block;
        font-family: var(--mono);
        font-size: 11px;
        color: var(--accent);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 8px;
    }
    .field-input {
        width: 100%;
        padding: 12px 14px;
        background: var(--bg);
        border: 1px solid var(--border2);
        border-radius: var(--radius);
        color: var(--text);
        font-family: var(--mono);
        font-size: 14px;
        transition: all .15s;
    }
    .field-input:focus {
        outline: none;
        border-color: var(--accent-dim);
        box-shadow: 0 0 0 2px var(--accent-glow2), 0 0 12px var(--accent-glow);
    }
    .field-error {
        color: var(--red);
        font-family: var(--mono);
        font-size: 12px;
        margin-top: 6px;
        min-height: 16px;
    }
    .form-actions {
        display: flex;
        gap: 10px;
        margin-top: 20px;
        flex-wrap: wrap;
    }
    .cancel-success {
        display: none;
        margin-top: 8px;
        padding: 18px;
        border: 1px solid var(--accent-dim);
        background: var(--accent-glow2);
        border-radius: var(--radius);
        text-align: center;
    }
    .cancel-success.show { display: block; animation: modalSlide .3s ease; }
    .cancel-success .ok-mark {
        display: inline-block;
        width: 44px;
        height: 44px;
        line-height: 42px;
        border: 2px solid var(--accent);
        border-radius: 50%;
        color: var(--accent);
        font-size: 22px;
        margin-bottom: 12px;
        box-shadow: 0 0 16px var(--accent-glow);
    }
    .cancel-success h4 {
        margin: 0 0 6px;
        font-family: var(--mono);
        color: var(--accent);
        font-size: 15px;
    }
    .cancel-success p {
        margin: 0;
        color: var(--muted2);
        font-size: 13px;
    }

    @media (max-width: 600px) {
        .modal-head { padding: 16px 18px; }
        .modal-body { padding: 18px 18px 22px; max-height: 70vh; }
        .modal-backdrop { padding: 16px 8px; }
    }
    


/* ── MINE / AI-GUIDE EXTRA ─────────────────────────── */
/* Топ-3 панель в hero-visual */
.vpanel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-height: 400px;
    gap: 2px;
}
.vpanel-head {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vpanel-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 10px 12px;
    background: var(--card);
    border: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 12px;
}
.vpanel-row span:first-child { color: var(--text); }
.vpanel-row b { color: var(--accent); font-weight: 700; }

/* ── TABLES ───────────────────────────────────────── */
.tbl-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    margin: 20px 0;
    overflow-x: auto;
}
table.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 680px;
}
.tbl th {
    text-align: left;
    padding: 11px 14px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--muted);
    border-bottom: 1px solid var(--border2);
    font-family: var(--mono);
    white-space: nowrap;
}
.tbl td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #131a13; }
.tbl .rank { font-family: var(--mono); color: var(--muted); width: 58px; }
.tbl .name { font-weight: 600; color: #e8f5e8; }
.tbl .name a { color: #e8f5e8; }
.tbl .name a:hover { color: var(--accent); }
.tbl .muted { color: var(--muted2); font-size: 13px; }
.tbl .num { font-family: var(--mono); text-align: right; white-space: nowrap; }
.tbl .prov { font-size: 12px; color: var(--muted2); font-family: var(--mono); }
.score-bar {
    display: inline-block;
    width: 5px; height: 14px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 6px rgba(0,230,118,0.5);
    vertical-align: middle;
    margin-right: 8px;
}
.evidence { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ── TAGS (вне price) ──────────────────────────────── */
.tag { display: inline-block; padding: 2px 8px; border-radius: 2px; font-size: 10px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid; margin: 0 4px 6px 0; }
.tag.open { color: var(--ok); border-color: var(--accent-dim); background: rgba(0,230,118,0.07); }
.tag.prop, .tag.api { color: var(--accent); border-color: var(--accent-dim); background: rgba(0,230,118,0.07); }
.tag.reason { color: var(--amber); border-color: rgba(255,179,0,0.4); background: rgba(255,179,0,0.06); }

/* ── FILTER ────────────────────────────────────────── */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; align-items: center; }
.tab.active { border-color: var(--accent-dim); color: var(--accent); background: var(--accent-glow2); }
.term-input, .term-select {
    border: 1px solid var(--border2);
    background: var(--bg2);
    color: var(--text);
    font-family: var(--mono);
    font-size: 12px;
    border-radius: var(--radius);
    padding: 8px 12px;
}
.term-input { flex: 1; min-width: 200px; }
.term-input:focus, .term-select:focus { outline: none; border-color: var(--accent-dim); box-shadow: 0 0 0 2px var(--accent-glow2), 0 0 12px var(--accent-glow); }
.term-select option { background: var(--bg2); }

/* ── RELEASES LIST ─────────────────────────────────── */
.release-list { background: var(--card); border: 1px solid var(--border); margin: 20px 0; }
.release-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    transition: background .2s;
}
.release-item:last-child { border-bottom: none; }
.release-item:hover { background: #131a13; }
.ri-date { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 3px; }
.ri-name { font-weight: 600; color: #e8f5e8; }
.ri-name a { color: #e8f5e8; }
.ri-name a:hover { color: var(--accent); }
.ri-prov { font-size: 11px; color: var(--accent-dim); font-family: var(--mono); letter-spacing: 0.04em; }
.ri-ev { font-size: 12px; color: var(--muted); margin-top: 3px; font-family: var(--mono); }
.ri-ev a { color: var(--muted2); }
.ri-ev a:hover { color: var(--accent); }

/* ── PROSE (guide) ─────────────────────────────────── */
.prose { max-width: 820px; }
.prose p { color: var(--muted2); font-size: 15px; line-height: 1.7; margin: 0 0 16px; font-weight: 300; }
.prose ul { color: var(--muted2); padding-left: 22px; margin: 0 0 16px; font-size: 15px; line-height: 1.7; font-weight: 300; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose code {
    font-family: var(--mono); font-size: 12.5px; color: var(--accent);
    background: var(--bg); border: 1px solid var(--border2); padding: 2px 6px; border-radius: var(--radius);
}
.prose .hl { color: var(--text); font-weight: 600; }
.callout {
    border-left: 2px solid var(--accent);
    background: rgba(0,230,118,0.05);
    padding: 16px 20px;
    margin: 20px 0;
    color: var(--muted2);
    font-weight: 300;
}
.callout b { color: var(--text); font-family: var(--mono); font-size: 13px; margin-right: 6px; }

/* nav кнопка (каркас Вани, переиспользуем под главный раздел) */
.nav-btn { margin-left: 8px; }

/* строка обновления данных малую */
.meta-line { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.05em; }

/* main заголовок после hero у одностраничников */
.narrow { max-width: 820px; }
