:root {
    --bg: #161517;
    --bg-alt: #1C1A1E;
    --surface: #211E23;
    --surface-2: #2A272D;
    --red: #e9442e;
    --red-press: #c8331f;
    --white: #FFFFFF;
    --text: #ECE8E4;
    --muted: #8F8992;
    --line: #322E36;
    --line-strong: #443F49;
    --ink: #141216;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: 'Anton', 'Archivo', sans-serif; font-weight: 400; letter-spacing: 0.01em; line-height: 0.98; text-transform: uppercase; }

.display {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s, border-color 0.12s, transform 0.08s;
    text-transform: uppercase;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-press); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-lg { font-size: 16px; padding: 17px 32px; }
.btn-block { width: 100%; justify-content: center; }

.twitch-glyph { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(22, 21, 23, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color 0.12s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 14px !important;
}
.nav-cta:hover { background: var(--red-press); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; position: relative; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
    opacity: 0.5;
    pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--red);
    color: var(--white);
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 3px;
    margin-bottom: 26px;
}
.eyebrow .sq { width: 7px; height: 7px; background: var(--white); }
.hero h1 {
    font-size: clamp(3.1rem, 8.5vw, 6.6rem);
    color: var(--white);
    margin-bottom: 22px;
    letter-spacing: 0.005em;
}
.hero h1 .hl { color: var(--red); }
.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 34px;
    line-height: 1.5;
    font-weight: 500;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Voice board (interactive) ---------- */
.board {
    margin: 64px auto 0;
    max-width: 940px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    overflow: hidden;
}
.board-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt);
    gap: 14px;
}
.board-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.02em;
}
.board-label b { color: var(--red); font-weight: 700; }
.board-hint { font-size: 13px; color: var(--muted); font-weight: 600; }
.viz {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 84px;
    padding: 18px 22px 12px;
}
.viz .bar {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 2px;
    transition: height 0.09s linear, opacity 0.2s;
    opacity: 0.35;
}
.viz.live .bar { opacity: 1; }
.board-now {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: var(--muted);
    padding-bottom: 12px;
    min-height: 18px;
}
.board-now b { color: var(--text); font-weight: 700; }
.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 20px 22px 24px;
    border-top: 1px solid var(--line);
}
.voice-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 12px 14px;
    cursor: pointer;
    text-align: left;
    font-family: 'Archivo', sans-serif;
    color: var(--text);
    transition: border-color 0.12s, background 0.12s, transform 0.08s;
}
.voice-tile:hover { border-color: var(--line-strong); background: var(--surface-2); }
.voice-tile:active { transform: translateY(1px); }
.voice-tile.playing { border-color: var(--red); background: rgba(233, 68, 46, 0.1); }
.vt-emoji { font-size: 20px; line-height: 1; flex-shrink: 0; }
.vt-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.voice-tile.playing .vt-name { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--red);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); color: var(--white); margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; font-weight: 500; }

/* Steps — bold numbered rows */
.steps { margin-top: 52px; display: flex; flex-direction: column; }
.step {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 28px;
    align-items: start;
    padding: 32px 0;
    border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
    font-family: 'Anton', sans-serif;
    font-size: 68px;
    line-height: 0.8;
    color: var(--red);
}
.step-body h3 { font-size: 1.7rem; color: var(--white); margin-bottom: 8px; }
.step-body p { color: var(--muted); font-size: 1.05rem; max-width: 560px; }

/* Feature blocks — flat solid cards */
.feature-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.feature { background: var(--surface); padding: 32px 28px; }
.f-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--red);
    border-radius: 5px;
    font-size: 22px;
    margin-bottom: 18px;
}
.feature h3 { font-size: 1.35rem; color: var(--white); margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 1rem; }

/* ---------- CTA band (solid red) ---------- */
.cta-band { background: var(--red); padding: 84px 0; }
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); color: var(--ink); margin-bottom: 14px; }
.cta-band p { color: rgba(20, 18, 22, 0.78); font-size: 1.2rem; font-weight: 600; margin-bottom: 28px; }
.cta-band .btn-primary { background: var(--ink); color: var(--white); }
.cta-band .btn-primary:hover { background: #000; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 28px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color 0.12s; }
.footer-links a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--white); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 13px; margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; color: var(--white); margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 1.02rem; margin-bottom: 14px; line-height: 1.7; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--red); font-weight: 600; }
.legal a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    body { font-size: 16px; }
    .wrap { padding: 0 20px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .hero { padding: 68px 0 56px; }
    .step { grid-template-columns: 64px 1fr; gap: 18px; }
    .step-num { font-size: 48px; }
    .voice-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .viz .bar { transition: none; }
}
