/* Check Engine Chat — Crimson/Violet Rebuild */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --bg-deep: #08040f;
    --bg: #0e0718;
    --bg-raised: #150924;
    --bg-card: #1a0c2e;
    --bg-card-hover: #241036;
    --surface: #2a1547;

    /* Purple — primary accent (replaces blue throughout) */
    --blue: #c084fc;
    --blue-deep: #a855f7;
    --blue-dim: rgba(192, 132, 252, 0.14);
    --blue-glow: rgba(168, 85, 247, 0.32);

    /* Red — warm accent (replaces amber) */
    --amber: #f43f5e;
    --amber-deep: #e11d48;
    --amber-dim: rgba(244, 63, 94, 0.14);

    /* Shortcut aliases for new work */
    --purple: #c084fc;
    --red: #f43f5e;
    --magenta: #e879f9;

    --gradient-main: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%);
    --gradient-main-soft: linear-gradient(135deg, rgba(244, 63, 94, 0.18), rgba(168, 85, 247, 0.18));
    --gradient-sweep: linear-gradient(90deg, transparent, #f43f5e 20%, #c084fc 80%, transparent);

    --green: #34d399;
    --text: #f2e8ff;
    --text-mid: #b4a0c8;
    --text-dim: #6e5a84;
    --text-faint: #3d2f50;
    --border: #2a1642;
    --border-light: #3d2259;
    --radius: 14px;
    --radius-sm: 8px;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse 900px 600px at 20% -10%, rgba(244, 63, 94, 0.10), transparent 60%),
        radial-gradient(ellipse 800px 500px at 85% 10%, rgba(168, 85, 247, 0.12), transparent 60%),
        radial-gradient(ellipse 1200px 700px at 50% 110%, rgba(192, 132, 252, 0.08), transparent 60%);
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: var(--noise);
    background-repeat: repeat;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

a { color: var(--purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: #e0b9ff; }

img { max-width: 100%; display: block; }

/* ─── Utility ─── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-dim { color: var(--text-mid); }
.text-faint { color: var(--text-dim); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; } .mt-8 { margin-top: 64px; }
.mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; }

/* ─── Typography ─── */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }

h1 { font-size: clamp(52px, 8vw, 96px); color: var(--text); }
h2 { font-size: clamp(36px, 5vw, 56px); color: var(--text); }
h3 { font-size: 22px; color: var(--text); letter-spacing: 0.06em; }

.label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 17px;
    font-weight: 400;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 560px;
}

.subtitle.center { margin-left: auto; margin-right: auto; text-align: center; }

p { color: var(--text-mid); font-size: 15px; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

/* Primary CTA — red-to-purple gradient */
.btn-blue {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 6px 28px rgba(244, 63, 94, 0.28), 0 2px 10px rgba(168, 85, 247, 0.22);
}
.btn-blue:hover {
    box-shadow: 0 10px 40px rgba(244, 63, 94, 0.45), 0 4px 16px rgba(168, 85, 247, 0.35);
    color: #fff;
    filter: brightness(1.08);
}

.btn-ghost {
    background: transparent;
    color: var(--text-mid);
    border: 1px solid var(--border-light);
}
.btn-ghost:hover { color: var(--text); border-color: var(--purple); background: rgba(192, 132, 252, 0.06); }

/* Red CTA (formerly amber) */
.btn-amber {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #fff;
    box-shadow: 0 6px 28px rgba(244, 63, 94, 0.30);
}
.btn-amber:hover {
    box-shadow: 0 10px 40px rgba(244, 63, 94, 0.45);
    color: #fff;
    filter: brightness(1.08);
}

.btn-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* ─── Navigation ─── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 4, 15, 0.78);
    backdrop-filter: blur(24px) saturate(1.3);
    border-bottom: 1px solid var(--border);
}

nav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--gradient-sweep);
    opacity: 0.5;
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
    height: 60px;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}
.nav-brand:hover { color: var(--purple); text-decoration: none; }

.nav-brand span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    transition: color 0.2s;
    text-decoration: none;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
}

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ─── Hero ─── */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -260px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background:
        radial-gradient(circle at 30% 40%, rgba(244, 63, 94, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(168, 85, 247, 0.22) 0%, transparent 55%);
    pointer-events: none;
    filter: blur(20px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text { position: relative; z-index: 1; }

.hero h1 { margin-bottom: 20px; }
.hero h1 .accent {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle { margin-bottom: 32px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* ─── Chat Demo ─── */
.chat-window {
    background: linear-gradient(180deg, rgba(26, 12, 46, 0.85), rgba(8, 4, 15, 0.95));
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
    width: 380px;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(168, 85, 247, 0.18),
        0 0 40px rgba(244, 63, 94, 0.10);
    position: relative;
}

.chat-window::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: var(--gradient-main);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.45;
    pointer-events: none;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.chat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

.chat-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.chat-messages { display: flex; flex-direction: column; gap: 10px; }

.msg {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 88%;
    animation: msgIn 0.4s ease both;
}

.msg-user {
    align-self: flex-end;
    background: var(--gradient-main);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.28);
}

.msg-ai {
    align-self: flex-start;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
}

.msg-ai strong {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.msg:nth-child(1) { animation-delay: 0s; }
.msg:nth-child(2) { animation-delay: 0.15s; }
.msg:nth-child(3) { animation-delay: 0.3s; }
.msg:nth-child(4) { animation-delay: 0.45s; }

@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Stats Bar ─── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 80px;
    position: relative;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.06), rgba(168, 85, 247, 0.06));
    pointer-events: none;
}

.stat-cell {
    background: var(--bg-raised);
    padding: 28px 24px;
    text-align: center;
    position: relative;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 0.04em;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* ─── Sections ─── */
section { padding: 100px 0; position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 { margin-bottom: 16px; }

.divider {
    width: 72px;
    height: 3px;
    background: var(--gradient-main);
    margin: 0 auto 20px;
    border-radius: 3px;
    box-shadow: 0 0 16px rgba(244, 63, 94, 0.5);
}

/* ─── Feature Cards ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.card-grid.two-col {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(13, 6, 24, 0.9) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(192, 132, 252, 0.10), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-sweep);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    background: linear-gradient(180deg, var(--bg-card-hover) 0%, rgba(20, 9, 36, 0.95) 100%);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--gradient-main-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--purple);
    border: 1px solid rgba(192, 132, 252, 0.25);
    box-shadow: inset 0 0 12px rgba(244, 63, 94, 0.08);
}

.card-icon.amber {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.22), rgba(225, 29, 72, 0.14));
    color: var(--red);
    border-color: rgba(244, 63, 94, 0.35);
}

.card h3 { margin-bottom: 10px; font-size: 18px; }
.card p { font-size: 14px; line-height: 1.6; }

.card ul { list-style: none; margin-top: 12px; }
.card li {
    font-size: 13px;
    color: var(--text-mid);
    padding: 5px 0 5px 18px;
    position: relative;
}
.card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.6);
}

/* ─── Steps ─── */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-row::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), var(--purple), transparent);
    opacity: 0.5;
}

.step { text-align: center; position: relative; z-index: 1; }

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid transparent;
    background-image:
        linear-gradient(var(--bg), var(--bg)),
        var(--gradient-main);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--text);
    margin-bottom: 20px;
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.30), 0 0 14px rgba(244, 63, 94, 0.18);
    position: relative;
}

.step-num::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.18), transparent 70%);
    z-index: -1;
}

.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; max-width: 260px; margin: 0 auto; }

/* ─── CTA Banner ─── */
.cta-banner {
    background:
        linear-gradient(135deg, rgba(244, 63, 94, 0.10) 0%, rgba(168, 85, 247, 0.14) 100%),
        var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.18), transparent 65%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 65%);
    pointer-events: none;
}

.cta-banner h2 { margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner p, .cta-banner .btn { position: relative; z-index: 1; }

/* ─── Coming Soon Badge ─── */
.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.badge-blue {
    background: var(--gradient-main-soft);
    color: var(--purple);
    border: 1px solid rgba(192, 132, 252, 0.35);
}
.badge-amber {
    background: rgba(244, 63, 94, 0.14);
    color: var(--red);
    border: 1px solid rgba(244, 63, 94, 0.35);
}
.badge-green {
    background: rgba(52, 211, 153, 0.1);
    color: var(--green);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

/* ─── Pricing ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(13, 6, 24, 0.9) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.price-card.featured {
    border-color: transparent;
    background:
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        var(--gradient-main) border-box;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.18), 0 0 30px rgba(244, 63, 94, 0.12);
}

.price-card.featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.15), transparent 65%);
    pointer-events: none;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 56px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: 0.02em;
}

.price-period {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 24px;
    margin-top: 4px;
}

.price-card h3 { margin-bottom: 16px; font-size: 20px; }

.price-features { list-style: none; margin: 20px 0 28px; }
.price-features li {
    padding: 6px 0 6px 22px;
    font-size: 14px;
    color: var(--text-mid);
    position: relative;
}
.price-features li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
}

/* ─── FAQ ─── */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
}

.faq-item {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: border-color 0.2s, background 0.2s;
}

.faq-item:hover {
    border-color: var(--border-light);
    background: var(--bg-card);
}

.faq-item h3 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 8px;
    color: var(--text);
}

.faq-item p { font-size: 14px; }

/* ─── Roadmap ─── */
.roadmap {
    max-width: 600px;
    margin: 0 auto;
    padding-left: 36px;
    position: relative;
}

.roadmap::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--red), var(--purple) 40%, var(--border-light));
    border-radius: 2px;
}

.roadmap-item { position: relative; padding-bottom: 40px; padding-left: 20px; }

.roadmap-dot {
    position: absolute;
    left: -36px;
    top: 2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: var(--bg);
}

.roadmap-item.done .roadmap-dot { background: var(--green); border-color: var(--green); }
.roadmap-item.active .roadmap-dot {
    background: var(--gradient-main);
    border-color: var(--purple);
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.55);
}

.roadmap-item h3 { font-size: 16px; margin-bottom: 6px; }
.roadmap-item p { font-size: 14px; }

/* ─── Spec Table ─── */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 8px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--bg-raised);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}

.spec-row:hover { border-color: var(--border-light); }

.spec-key { color: var(--text-dim); font-size: 14px; }
.spec-val { color: var(--text); font-weight: 600; font-size: 14px; }

/* ─── Audio Results ─── */
.result-list { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }

.result-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.result-sound {
    font-weight: 700;
    font-size: 13px;
    color: var(--red);
    min-width: 130px;
}

.result-diag { font-size: 13px; color: var(--text-mid); }

/* ─── Legal / Long Text ─── */
.prose { max-width: 680px; margin: 0 auto; }
.prose h2 {
    font-size: 20px;
    text-align: left;
    margin-top: 36px;
    margin-bottom: 12px;
}
.prose p { margin-bottom: 14px; font-size: 15px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose li { font-size: 15px; color: var(--text-mid); padding: 3px 0; }
.prose strong { color: var(--text); }

/* ─── Chapter / Story ─── */
.chapter { margin-bottom: 48px; }
.chapter h2 {
    font-size: 24px;
    text-align: left;
    margin-bottom: 16px;
    color: var(--text);
}
.chapter p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
}

/* ─── Support ─── */
.support-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(13, 6, 24, 0.9) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 24px;
    transition: border-color 0.2s;
}

.support-card:hover { border-color: var(--border-light); }

.support-card h3 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
    margin-bottom: 8px;
}

.support-card p { font-size: 14px; }

/* ─── Footer ─── */
footer {
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
    margin-top: 40px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: var(--gradient-sweep);
    opacity: 0.5;
}

.footer-grid {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-grid h4 {
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-grid p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

.footer-grid a {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-grid a:hover { color: var(--purple); text-decoration: none; }

.footer-bottom {
    max-width: 1120px;
    margin: 40px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12px;
    color: var(--text-faint);
}

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Page Hero (subpages) ─── */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background:
        radial-gradient(circle at 30% 50%, rgba(244, 63, 94, 0.14), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(168, 85, 247, 0.16), transparent 60%);
    pointer-events: none;
    filter: blur(10px);
}

.page-hero h1 { margin-bottom: 16px; position: relative; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero .subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { margin-top: 48px; }
    .chat-window { width: 100%; max-width: 380px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .steps-row { grid-template-columns: 1fr; gap: 24px; }
    .steps-row::before { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ─── Sound Tags ─── */
.sound-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    background: rgba(244, 63, 94, 0.14);
    color: var(--red);
    letter-spacing: 0.02em;
    border: 1px solid rgba(244, 63, 94, 0.25);
}
.engine-tag {
    background: rgba(192, 132, 252, 0.14);
    color: var(--purple);
    border-color: rgba(192, 132, 252, 0.30);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-raised);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 16px;
        z-index: 100;
    }
    .nav-links.show { display: flex; }
    .nav-links a.active::after { display: none; }
    .nav-toggle { display: block; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    section { padding: 64px 0; }
    .hero { padding: 120px 0 60px; }
    .page-hero { padding: 110px 0 40px; }
    .cta-banner { padding: 36px 24px; }
    .faq-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   REBUILD COMPONENTS — New design system additions
   ═══════════════════════════════════════════════════════ */

/* ─── Eyebrow Tag (pill with gradient border) ─── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(26, 12, 46, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid transparent;
    background-image:
        linear-gradient(rgba(26, 12, 46, 0.85), rgba(26, 12, 46, 0.85)),
        var(--gradient-main);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: var(--text);
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.8);
    animation: eyebrow-pulse 2s ease-in-out infinite;
}

@keyframes eyebrow-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* ─── Hero Orb (big animated gradient blob) ─── */
.hero-orb {
    position: absolute;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(244, 63, 94, 0.55), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.55), transparent 55%);
    filter: blur(80px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
    animation: orb-drift 18s ease-in-out infinite alternate;
}

@keyframes orb-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.08); }
}

/* ─── Headline Highlight (diagonal ribbon over word) ─── */
.hl {
    position: relative;
    display: inline-block;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hl::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: 0;
    height: 12px;
    background: var(--gradient-main);
    opacity: 0.18;
    z-index: -1;
    border-radius: 2px;
    transform: skewX(-8deg);
}

/* ─── Terminal Card (alternative chat display) ─── */
.terminal {
    background: linear-gradient(180deg, rgba(26, 12, 46, 0.92), rgba(10, 5, 20, 0.95));
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(168, 85, 247, 0.16);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background-image:
        linear-gradient(180deg, rgba(26, 12, 46, 0.92), rgba(10, 5, 20, 0.95)),
        var(--gradient-main);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 4, 15, 0.5);
}

.terminal-bar .tdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.terminal-bar .tdot-r { background: #f43f5e; box-shadow: 0 0 6px rgba(244, 63, 94, 0.6); }
.terminal-bar .tdot-y { background: #e879f9; box-shadow: 0 0 6px rgba(232, 121, 249, 0.6); }
.terminal-bar .tdot-g { background: #c084fc; box-shadow: 0 0 6px rgba(192, 132, 252, 0.6); }

.terminal-bar .tpath {
    margin-left: 10px;
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 12px;
    color: var(--text-dim);
}

.terminal-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.terminal-row {
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 13px;
    line-height: 1.5;
}

.terminal-prompt { color: var(--red); font-weight: 700; }
.terminal-out { color: var(--text); white-space: pre-wrap; }
.terminal-key {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* ─── Waveform (audio visualization bars) ─── */
.waveform {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 80px;
    padding: 0 4px;
}

.waveform .bar {
    flex: 1;
    background: var(--gradient-main);
    border-radius: 2px;
    animation: bar-pulse 1.6s ease-in-out infinite;
    transform-origin: bottom;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.waveform .bar:nth-child(1)  { height: 20%; animation-delay: 0.0s; }
.waveform .bar:nth-child(2)  { height: 45%; animation-delay: 0.05s; }
.waveform .bar:nth-child(3)  { height: 30%; animation-delay: 0.10s; }
.waveform .bar:nth-child(4)  { height: 70%; animation-delay: 0.15s; }
.waveform .bar:nth-child(5)  { height: 55%; animation-delay: 0.20s; }
.waveform .bar:nth-child(6)  { height: 85%; animation-delay: 0.25s; }
.waveform .bar:nth-child(7)  { height: 40%; animation-delay: 0.30s; }
.waveform .bar:nth-child(8)  { height: 95%; animation-delay: 0.35s; }
.waveform .bar:nth-child(9)  { height: 60%; animation-delay: 0.40s; }
.waveform .bar:nth-child(10) { height: 75%; animation-delay: 0.45s; }
.waveform .bar:nth-child(11) { height: 35%; animation-delay: 0.50s; }
.waveform .bar:nth-child(12) { height: 90%; animation-delay: 0.55s; }
.waveform .bar:nth-child(13) { height: 50%; animation-delay: 0.60s; }
.waveform .bar:nth-child(14) { height: 80%; animation-delay: 0.65s; }
.waveform .bar:nth-child(15) { height: 25%; animation-delay: 0.70s; }
.waveform .bar:nth-child(16) { height: 65%; animation-delay: 0.75s; }
.waveform .bar:nth-child(17) { height: 45%; animation-delay: 0.80s; }
.waveform .bar:nth-child(18) { height: 100%; animation-delay: 0.85s; }
.waveform .bar:nth-child(19) { height: 55%; animation-delay: 0.90s; }
.waveform .bar:nth-child(20) { height: 30%; animation-delay: 0.95s; }
.waveform .bar:nth-child(21) { height: 70%; animation-delay: 1.00s; }
.waveform .bar:nth-child(22) { height: 40%; animation-delay: 1.05s; }
.waveform .bar:nth-child(23) { height: 85%; animation-delay: 1.10s; }
.waveform .bar:nth-child(24) { height: 60%; animation-delay: 1.15s; }
.waveform .bar:nth-child(25) { height: 50%; animation-delay: 1.20s; }

@keyframes bar-pulse {
    0%, 100% { transform: scaleY(0.4); opacity: 0.7; }
    50%      { transform: scaleY(1);   opacity: 1; }
}

/* ─── Split Feature Row (alternating left/right) ─── */
.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    margin-bottom: 120px;
}

.split-row.reverse .split-visual { order: -1; }

.split-text h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.split-text .eyebrow { margin-bottom: 18px; }
.split-text p { font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.split-text ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.split-text li {
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.5;
}
.split-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* ─── Glyph Card (number + icon combo) ─── */
.glyph-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.glyph-card {
    position: relative;
    padding: 36px 28px 28px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--bg-card), rgba(13, 6, 24, 0.7));
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

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

.glyph-num {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: var(--font-display);
    font-size: 140px;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.14;
    pointer-events: none;
    user-select: none;
}

.glyph-card h3 { font-size: 20px; margin-bottom: 10px; position: relative; }
.glyph-card p { font-size: 14px; position: relative; }

/* ─── Pricing Comparison Table ─── */
.compare-table {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
}

.compare-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.compare-head > div {
    padding: 28px 24px;
    border-left: 1px solid var(--border);
}
.compare-head > div:first-child { border-left: none; }

.compare-head .plan-title {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.compare-head .plan-price {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.compare-head .plan-sub { font-size: 12px; color: var(--text-dim); margin-top: 6px; }
.compare-head .plan-badge { margin-bottom: 12px; }

.compare-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(192, 132, 252, 0.03); }

.compare-row > div {
    padding: 16px 24px;
    border-left: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-mid);
    display: flex;
    align-items: center;
}
.compare-row > div:first-child { border-left: none; color: var(--text); font-weight: 600; }

.check {
    color: var(--purple);
    font-weight: 800;
    font-size: 16px;
}
.check.red { color: var(--red); }
.dash { color: var(--text-faint); }

.compare-foot {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    background: rgba(8, 4, 15, 0.4);
}

.compare-foot > div {
    padding: 24px;
    border-left: 1px solid var(--border);
}
.compare-foot > div:first-child { border-left: none; }

/* ─── FAQ Accordion ─── */
.accordion {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accordion details {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s;
}

.accordion details[open] {
    border-color: transparent;
    background:
        linear-gradient(var(--bg-raised), var(--bg-raised)) padding-box,
        var(--gradient-main) border-box;
    border: 1px solid transparent;
}

.accordion summary {
    list-style: none;
    padding: 20px 24px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

.accordion summary::after {
    content: '+';
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.2s;
}

.accordion details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.accordion .ac-body {
    padding: 0 24px 22px;
    color: var(--text-mid);
    font-size: 14px;
    line-height: 1.7;
}

/* ─── Marquee-style Stats ─── */
.hero-ticker {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-ticker .tick {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 14px;
    border-left: 2px solid;
    border-image: var(--gradient-main) 1;
}

.hero-ticker .tick-val {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--text);
}

.hero-ticker .tick-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* ─── Diagnosis Card (structured result) ─── */
.diag-card {
    background: linear-gradient(180deg, rgba(26, 12, 46, 0.85), rgba(10, 5, 20, 0.92));
    border: 1px solid transparent;
    background-image:
        linear-gradient(180deg, rgba(26, 12, 46, 0.85), rgba(10, 5, 20, 0.92)),
        var(--gradient-main);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.diag-match {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

.diag-match .pct {
    font-family: var(--font-display);
    font-size: 36px;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.diag-match .lbl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.diag-match .name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.diag-fields { display: flex; flex-direction: column; gap: 10px; }

.diag-field {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    align-items: baseline;
    font-size: 13px;
}

.diag-field .k {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.diag-field .v { color: var(--text); line-height: 1.5; }
.diag-field .v.urgent { color: var(--red); font-weight: 700; }
.diag-field .v.caution { color: var(--magenta); font-weight: 600; }

/* ─── Promo Banner (replaces launch promo inline styles) ─── */
.promo-box {
    margin-top: 20px;
    padding: 18px 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(10, 5, 20, 0.9), rgba(10, 5, 20, 0.9)) padding-box,
        var(--gradient-main) border-box;
    display: inline-block;
    max-width: 480px;
    box-shadow: 0 10px 40px rgba(244, 63, 94, 0.15);
}

.promo-head {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.promo-sub { font-size: 13px; color: var(--text-mid); margin-bottom: 12px; }

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

.promo-count {
    background: var(--bg-deep);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.promo-count .n {
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.promo-count .u { font-size: 12px; color: var(--text-mid); margin-left: 4px; }

.promo-bar {
    flex: 1;
    background: var(--bg-deep);
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.promo-bar > span {
    display: block;
    height: 100%;
    background: var(--gradient-main);
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.6);
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-main);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(244, 63, 94, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}
.promo-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 32px rgba(244, 63, 94, 0.42);
    color: #fff;
}

/* ─── Legal TOC (privacy/terms) ─── */
.legal-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
}

.legal-toc {
    position: sticky;
    top: 88px;
    align-self: start;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--bg-raised);
    border: 1px solid var(--border);
}

.legal-toc h4 {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.legal-toc a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-mid);
    border-left: 2px solid transparent;
    padding-left: 10px;
    transition: all 0.2s;
}

.legal-toc a:hover {
    color: var(--text);
    border-left-color: var(--purple);
}

.legal-prose h2 {
    font-size: 22px;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 14px;
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    padding-left: 18px;
}

.legal-prose h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 2px;
    background: var(--gradient-main);
}

.legal-prose h2:first-child { margin-top: 0; }

.legal-prose p { margin-bottom: 14px; font-size: 15px; color: var(--text-mid); }
.legal-prose ul { padding-left: 20px; margin-bottom: 16px; }
.legal-prose li { font-size: 15px; color: var(--text-mid); padding: 3px 0; }
.legal-prose strong { color: var(--text); }
.legal-prose a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(192, 132, 252, 0.4); }

/* ─── Chapter numbered ─── */
.chapter-num {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 12px;
}

.chapter-num .num {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.04em;
    min-width: 56px;
}

.chapter-num h2 {
    font-size: 28px;
    text-align: left;
    margin: 0;
    color: var(--text);
}

/* ─── Stat Ring (about page) ─── */
.ring-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.ring-cell {
    text-align: center;
    padding: 28px 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--bg-card), rgba(13, 6, 24, 0.6));
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
}

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

.ring-cell .rn {
    font-family: var(--font-display);
    font-size: 48px;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.ring-cell .rl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* ─── Support: contact grid ─── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 860px;
    margin: 0 auto 48px;
}

.contact-tile {
    text-align: center;
    padding: 28px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-card), rgba(13, 6, 24, 0.6));
    transition: transform 0.2s, border-color 0.2s;
}

.contact-tile:hover { transform: translateY(-2px); border-color: var(--border-light); }

.contact-tile .icon-badge {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
}

.contact-tile h3 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-tile p { font-size: 13px; color: var(--text-mid); margin: 0; }
.contact-tile a {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── Sound Chip Cloud ─── */
.chip-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: rgba(26, 12, 46, 0.6);
    border: 1px solid transparent;
    background-image:
        linear-gradient(rgba(26, 12, 46, 0.85), rgba(26, 12, 46, 0.85)),
        var(--gradient-main);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: transform 0.2s;
}

.chip:hover { transform: translateY(-2px); }

.chip::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 6px rgba(244, 63, 94, 0.7);
}

@media (max-width: 900px) {
    .split-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
    .split-row.reverse .split-visual { order: 0; }
    .compare-head, .compare-row, .compare-foot { grid-template-columns: 1fr; }
    .compare-head > div, .compare-row > div, .compare-foot > div { border-left: none; border-top: 1px solid var(--border); }
    .compare-head > div:first-child, .compare-row > div:first-child, .compare-foot > div:first-child { border-top: none; }
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; }
    .hero-orb { width: 400px; height: 400px; }
}
