/* VoxaParty landing page — graphite + brand violet, no neon. */

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

:root {
    --bg: #0A0A0C;
    --bg-2: #0F0F12;
    --surface: #131317;
    --surface-2: #1A1A1F;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);

    --text: #F4F4F6;
    --text-2: #A6A6B0;
    --text-3: #80808B;

    --violet: #7C3AED;
    --violet-hover: #6D28D9;
    --violet-soft: #A78BFA;
    --violet-tint: rgba(139, 92, 246, 0.12);
    --gold: #F5B544;

    --font: 'Mona Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --wrap: 1200px;
    --gutter: clamp(20px, 5vw, 48px);
    --radius: 14px;
    --radius-lg: 20px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    caret-color: var(--violet-soft);
    scrollbar-color: #2A2A31 var(--bg);
}

::selection { background: rgba(124, 58, 237, 0.55); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2A2A31; border-radius: 10px; border: 2px solid var(--bg); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 3px; border-radius: 6px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
    position: fixed; top: 12px; left: 12px; z-index: 300;
    padding: 10px 16px; border-radius: 10px;
    background: var(--text); color: var(--bg); font-weight: 600;
    transform: translateY(-150%); transition: transform 0.2s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Type ── */
h1, h2, h3 {
    font-stretch: 112%;
    font-weight: 640;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-wrap: balance;
}

h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; font-weight: 600; }

p { text-wrap: pretty; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 22px;
    border-radius: 999px;
    font-size: 0.95rem; font-weight: 600; letter-spacing: -0.005em;
    white-space: nowrap;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn svg { transition: transform 0.25s var(--ease-out); }
.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--violet);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 20px -8px rgba(124, 58, 237, 0.7);
}
.btn-primary:hover { background: var(--violet-hover); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
    color: var(--text);
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.24); }

.btn-sm { height: 38px; padding: 0 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }

.text-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--violet-soft); font-weight: 600; font-size: 0.95rem;
    text-underline-offset: 4px;
}
.text-link:hover { text-decoration: underline; }
.text-link svg { transition: transform 0.25s var(--ease-out); }
.text-link:hover svg { transform: translate(2px, -2px); }

.icon-btn {
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 999px;
    border: 1px solid var(--line-2); color: var(--text);
    transition: background-color 0.2s, opacity 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); }
.icon-btn:disabled { opacity: 0.35; cursor: default; background: none; }

/* ── Nav ── */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 200;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}
.nav.is-scrolled {
    background: rgba(10, 10, 12, 0.86);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
    backdrop-filter: saturate(140%) blur(16px);
    border-bottom-color: var(--line);
}

.nav-inner {
    display: flex; align-items: center; gap: 32px;
    height: 68px;
    max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.1rem; letter-spacing: -0.02em; font-stretch: 108%; }
.brand img { width: 30px; height: auto; }

.nav nav { margin-right: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
    display: block; padding: 8px 12px; border-radius: 8px;
    color: var(--text-2); font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a[aria-current] { color: var(--text); }

/* Games stays reachable on phones, where .nav-links is hidden */
.nav-link-games { display: none; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-link-quiet { color: var(--text-2); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-link-quiet:hover { color: var(--text); }

/* ── Hero ── */
.hero {
    position: relative;
    padding: 132px 0 96px;
    background:
        linear-gradient(to bottom, transparent 70%, var(--bg)),
        radial-gradient(1200px 520px at 75% 20%, #15131C 0%, transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.6rem, 4.7vw, 4.25rem);
    font-weight: 660;
    letter-spacing: -0.038em;
    line-height: 1.02;
    max-width: 13ch;
}

.hero-sub {
    margin-top: 24px;
    max-width: 46ch;
    font-size: 1.125rem; line-height: 1.6;
    color: var(--text-2);
}

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

.hero-demo-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 18px;
    color: var(--text-3); font-size: 0.9rem; font-weight: 500;
    text-underline-offset: 4px;
    transition: color 0.2s;
}
.hero-demo-link:hover { color: var(--text); text-decoration: underline; }

.hero-stack {
    display: grid; grid-template-columns: repeat(4, auto); justify-content: start;
    gap: 0;
    margin-top: 48px; padding-top: 24px;
    border-top: 1px solid var(--line);
}
.hero-stack > div { padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--line); }
.hero-stack > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stack dt { font-size: 0.78rem; color: var(--text-3); font-weight: 500; }
.hero-stack dd { margin-top: 2px; font-size: 0.92rem; font-weight: 600; color: var(--text); white-space: nowrap; }

/* Phone stage */
.hero-stage {
    position: relative;
    aspect-ratio: 1 / 0.92;
    display: grid; place-items: center;
}

.stage-plate {
    position: absolute; inset: 6% 0 2% 0;
    border-radius: 28px;
    border: 1px solid var(--line);
    background:
        radial-gradient(70% 60% at 50% 35%, rgba(124, 58, 237, 0.16), transparent 70%),
        linear-gradient(180deg, #16141D 0%, #0E0E12 100%);
    overflow: hidden;
}

.phone {
    position: absolute;
    width: 38%;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
    animation: phone-in 1.1s var(--ease-out) both;
}
.phone-c { width: 44%; z-index: 3; top: 0; left: 28%; animation-delay: 0.05s; }
.phone-l { z-index: 2; top: 13%; left: 2%; animation-delay: 0.18s; }
.phone-r { z-index: 2; top: 17%; right: 2%; animation-delay: 0.28s; }

@keyframes phone-in {
    from { transform: translateY(28px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

/* ── Sections ── */
.section { padding: clamp(80px, 10vw, 128px) 0; border-top: 1px solid var(--line); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.section-head p { margin-top: 16px; font-size: 1.075rem; color: var(--text-2); max-width: 56ch; }

.section-head.split {
    max-width: none;
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 24px 64px; align-items: end;
}
.section-head.split p { margin-top: 0; }

/* ── Tour / video ── */
.tour { border-top: 0; padding-top: clamp(40px, 6vw, 72px); }

.player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--line-2);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(255, 255, 255, 0.025);
}

.player iframe, .player-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.player-poster { display: block; cursor: pointer; text-align: left; }
.player-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out), filter 0.4s; }
.player-scrim {
    position: absolute; inset: 0;
    background: rgba(5, 4, 10, 0.38);
    transition: background-color 0.4s;
}

.player-cta {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    text-align: center;
}
.player-btn {
    display: grid; place-items: center; flex: none;
    width: clamp(60px, 7vw, 88px); aspect-ratio: 1;
    border-radius: 999px;
    background: #fff; color: var(--violet);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.14), 0 16px 36px -8px rgba(0, 0, 0, 0.7);
    transition: transform 0.35s var(--ease-out);
}
.player-btn svg { margin-left: 3px; }
.player-label {
    display: grid; gap: 2px;
    padding: 10px 18px; border-radius: 12px;
    background: rgba(10, 10, 12, 0.72);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.player-label strong { font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.player-label span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); }

.player-poster:hover img { transform: scale(1.02); }
.player-poster:hover .player-scrim { background: rgba(5, 4, 10, 0.24); }
.player-poster:hover .player-btn { transform: scale(1.07); }
.player-poster:focus-visible { outline-offset: -4px; border-radius: var(--radius-lg); }

.player-noscript { position: absolute; inset: auto 0 0 0; padding: 16px; background: rgba(0,0,0,0.8); color: #fff; text-align: center; }

.tour-foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
    margin-top: 28px;
}
.tour-points { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.tour-points li { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 0.95rem; font-weight: 500; }
.tour-points svg { color: var(--violet-soft); }

/* ── Demo ── */
.demo-panel {
    display: grid; grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-2);
    overflow: hidden;
}

.demo-item {
    display: grid; grid-template-columns: auto 1fr; gap: 20px 18px;
    padding: clamp(24px, 3.5vw, 40px);
    transition: background-color 0.25s;
}
.demo-item + .demo-item { border-left: 1px solid var(--line); }
.demo-item:hover { background: var(--surface); }

.demo-icon {
    display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--violet-tint); color: var(--violet-soft);
    border: 1px solid rgba(139, 92, 246, 0.22);
}
.demo-text { display: grid; gap: 6px; align-content: start; }
.demo-text strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; font-stretch: 108%; }
.demo-text span { color: var(--text-2); max-width: 40ch; }

.demo-action {
    grid-column: 2;
    display: inline-flex; align-items: center; gap: 8px; justify-self: start;
    margin-top: 4px;
    color: var(--violet-soft); font-weight: 600; font-size: 0.95rem;
}
.demo-action svg { transition: transform 0.25s var(--ease-out); }
.demo-item:hover .demo-action svg { transform: translateY(2px); }
.demo-item:last-child:hover .demo-action svg { transform: translate(2px, -2px); }

/* ── Screens rail ── */
.screens { overflow: hidden; }
.rail-controls { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.rail-controls p { font-size: 1.075rem; color: var(--text-2); max-width: 40ch; }
.rail-btns { display: flex; gap: 8px; flex: none; }

.rail {
    display: flex; gap: clamp(16px, 2vw, 28px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 24px;
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    cursor: grab;
    overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging img { pointer-events: none; }

.rail figure { flex: 0 0 clamp(200px, 22vw, 268px); scroll-snap-align: start; }
.rail img {
    width: 100%;
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.5));
    user-select: none; -webkit-user-drag: none;
}
.rail figcaption { margin-top: 12px; text-align: center; font-size: 0.875rem; color: var(--text-3); font-weight: 500; }

/* ── Features (sticky device) ── */
.feat-layout {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 6vw, 96px);
}

.feat-sticky {
    position: sticky; top: 96px;
    align-self: start;
    display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
    height: calc(100vh - 140px); max-height: 720px;
}

.feat-device {
    position: relative; height: 100%;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #16141D 0%, #0E0E12 100%);
    overflow: hidden;
}
.feat-device img {
    position: absolute; left: 50%; top: 50%;
    height: 90%; width: auto; max-width: none;
    transform: translate(-50%, -46%) scale(0.97);
    opacity: 0;
    filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.55));
    transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.feat-device img.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.feat-steps { display: grid; gap: 14px; counter-reset: step; }
.feat-steps li {
    position: relative; padding-left: 16px;
    font-size: 0.85rem; font-weight: 500; color: var(--text-3);
    transition: color 0.3s;
}
.feat-steps li::before {
    content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 2px; border-radius: 2px;
    background: var(--line-2); transition: background-color 0.3s;
}
.feat-steps li.is-active { color: var(--text); }
.feat-steps li.is-active::before { background: var(--violet-soft); }

.feat-list { display: grid; }
.feat {
    min-height: 70vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 40px 0;
    opacity: 0.38;
    transition: opacity 0.5s var(--ease-out);
}
.feat.is-active { opacity: 1; }
.feat h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-stretch: 110%; font-weight: 620; letter-spacing: -0.03em; line-height: 1.1; max-width: 18ch; }
.feat p { margin-top: 18px; color: var(--text-2); font-size: 1.05rem; max-width: 52ch; }
.feat-inline { display: none; }

.feat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.feat-tags li {
    padding: 6px 12px; border-radius: 8px;
    font-size: 0.85rem; font-weight: 500; color: var(--text);
    background: var(--surface); border: 1px solid var(--line);
}

/* ── Stack ── */
.stack { background: var(--bg-2); }
.stack-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.stack-head { margin-bottom: 0; }

.spec { border-top: 1px solid var(--line); }
.spec > div {
    display: grid; grid-template-columns: 9.5rem 1fr; gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.spec dt { color: var(--text-3); font-size: 0.9rem; font-weight: 500; padding-top: 2px; }
.spec dd { color: var(--text-2); }
.spec dd strong { color: var(--text); font-weight: 600; }

/* ── Cosmetics ── */
.cosmetics { overflow: hidden; }

.marquee {
    margin: 0 0 48px;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: flex; gap: 20px; width: max-content;
    animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
    width: 148px; height: 148px; object-fit: contain;
    border-radius: 18px;
    background: var(--surface); border: 1px solid var(--line);
    padding: 10px;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    .marquee { overflow-x: auto; }
}

.pack-list {
    display: grid; grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
}
.pack-list li + li { border-left: 1px solid var(--line); }
.pack-list a {
    display: grid; gap: 2px; height: 100%;
    padding: 20px;
    color: var(--text-2); font-size: 0.9rem; font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}
.pack-list b {
    font-size: 1.75rem; font-weight: 640; font-stretch: 112%; letter-spacing: -0.03em;
    color: var(--text); font-variant-numeric: tabular-nums;
}
.pack-list a:hover { background: var(--surface); color: var(--text); }

/* ── License table ── */
.lic-table {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-2);
}
.lic-row {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    border-top: 1px solid var(--line);
}
.lic-row:first-child { border-top: 0; }
.lic-row > div { padding: 16px 28px; display: flex; align-items: center; }
.lic-row > div:nth-child(n+2) { justify-content: center; text-align: center; border-left: 1px solid var(--line); font-weight: 500; }
.lic-row > div:last-child { background: rgba(124, 58, 237, 0.06); }
.lic-row [role="rowheader"] { color: var(--text-2); }

.lic-head > div { align-items: stretch; }
.lic-plan { flex-direction: column; gap: 10px; padding: 28px !important; text-align: left !important; justify-content: flex-start !important; }
.lic-plan h3 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-stretch: 112%; letter-spacing: -0.03em; }
.lic-plan p { color: var(--text-2); font-size: 0.92rem; font-weight: 400; flex: 1; margin-bottom: 8px; }
.lic-plan.is-featured { box-shadow: inset 0 2px 0 var(--violet); }

.badge {
    padding: 3px 9px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0; font-stretch: 100%;
    color: var(--violet-soft); background: var(--violet-tint); border: 1px solid rgba(139, 92, 246, 0.3);
}

i.yes, i.no { display: inline-block; width: 20px; height: 20px; }
i.yes { background: var(--violet-soft); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; }
i.no { width: 14px; height: 2px; border-radius: 2px; background: var(--text-3); opacity: 0.6; }

.cell-link { color: var(--violet-soft); text-underline-offset: 4px; }
.cell-link:hover { text-decoration: underline; }

/* overlapping game icons in the license table (rendered by games/games.js) */
.lic-games { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.gm-stack { display: inline-flex; }
.gm-stack img {
    width: 28px; height: 28px; border-radius: 8px;
    box-shadow: 0 0 0 2px var(--bg-2);
}
.gm-stack img + img { margin-left: -8px; }

.lic-note {
    display: flex; align-items: center; gap: 10px;
    margin-top: 20px;
    color: var(--text-2); font-size: 0.95rem;
}
.lic-note svg { color: var(--gold); flex: none; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq-head { position: sticky; top: 110px; align-self: start; margin-bottom: 0; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font: inherit; letter-spacing: normal; }

.faq-q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 24px 0;
    text-align: left;
    font-size: 1.075rem; font-weight: 600; letter-spacing: -0.01em;
    transition: color 0.2s;
}
.faq-q:hover { color: var(--violet-soft); }
.faq-icon { flex: none; color: var(--text-3); transition: transform 0.35s var(--ease-out), color 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--violet-soft); }

.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p, .faq-a ul { color: var(--text-2); max-width: 64ch; }
.faq-a p { margin-bottom: 12px; }
.faq-a ul { display: grid; gap: 6px; padding-bottom: 28px; }
.faq-a > div > p:last-child { padding-bottom: 16px; }
.faq-a li { position: relative; padding-left: 20px; }
.faq-a li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 2px; background: var(--violet-soft); }
.faq-a strong { color: var(--text); font-weight: 600; }

/* ── Closing ── */
.closing {
    border-top: 1px solid var(--line);
    padding: clamp(88px, 11vw, 140px) 0;
    background: radial-gradient(800px 360px at 50% 0%, rgba(124, 58, 237, 0.14), transparent 70%);
}
.closing-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.closing img { width: 64px; margin-bottom: 28px; }
.closing h2 { max-width: 18ch; font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.closing p { margin-top: 18px; color: var(--text-2); font-size: 1.1rem; max-width: 48ch; }
.closing .hero-actions { justify-content: center; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 16px; color: var(--text-3); font-size: 0.92rem; max-width: 44ch; }
.footer-col h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-3); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
    margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
    color: var(--text-3); font-size: 0.85rem;
}
.footer-bottom b { color: var(--text-2); font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 1080px) {
    .nav-link-quiet { display: none; }
    .pack-list { grid-template-columns: repeat(3, 1fr); }
    .pack-list li:nth-child(4) { border-left: 0; }
    .pack-list li:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
    .nav nav { display: none; }
    .nav-actions { margin-left: auto; }
    .nav-link-games { display: inline; }

    .hero { padding: 108px 0 56px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: 14ch; }
    .hero-stage { max-width: 560px; width: 100%; margin: 8px auto 0; }

    .section-head.split { grid-template-columns: 1fr; }

    .demo-panel { grid-template-columns: 1fr; }
    .demo-item + .demo-item { border-left: 0; border-top: 1px solid var(--line); }

    .feat-layout { grid-template-columns: 1fr; }
    .feat-sticky { display: none; }
    .feat { min-height: 0; opacity: 1; padding: 0 0 64px; }
    .feat:last-child { padding-bottom: 0; }
    .feat-inline {
        display: block; width: 62%; max-width: 280px; margin: 0 auto 28px;
        filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.5));
    }

    .stack-grid, .faq-grid { grid-template-columns: 1fr; }
    .faq-head { position: static; }

    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .hero-stack { grid-template-columns: 1fr 1fr; gap: 16px 0; }
    .hero-stack > div:nth-child(2) { border-right: 0; margin-right: 0; padding-right: 0; }
    .hero-stack dd { white-space: normal; }
    .hero-actions .btn { flex: 1 1 auto; }

    .player { border-radius: var(--radius); }
    .player-cta { gap: 12px; }
    .player-label { display: none; }

    .rail-controls { flex-direction: column; align-items: start; }

    .spec > div { grid-template-columns: 1fr; gap: 4px; }

    .pack-list { grid-template-columns: repeat(2, 1fr); }
    .pack-list li:nth-child(odd) { border-left: 0; }
    .pack-list li:nth-child(4) { border-left: 1px solid var(--line); }
    .pack-list li:nth-child(n+3) { border-top: 1px solid var(--line); }

    .marquee-track img { width: 112px; height: 112px; }

    .lic-row { grid-template-columns: 1fr 1fr; }
    .lic-row > div { padding: 12px 14px; font-size: 0.9rem; }
    .lic-row > [role="rowheader"] { grid-column: 1 / -1; padding: 14px 14px 4px; font-size: 0.85rem; color: var(--text-3); }
    .lic-row > div:nth-child(2) { border-left: 0; }
    .lic-head > div:first-child { display: none; }
    .lic-plan { padding: 20px !important; }
    .lic-plan h3 { font-size: 1.25rem; flex-wrap: wrap; }

    .footer-bottom { flex-direction: column; }
}
