/* ==========================================================================
   VESP Velocity - voice-first basketball scorekeeping
   Page styles for /pages/scorekeeping
   Palette: black court + gold (--vx-gold) with VESP blue as secondary accent.
   All selectors are prefixed .vx- to stay clear of tailwind-runtime + index.css
   ========================================================================== */

:root {
    --vx-gold: #f5c452;
    --vx-gold-deep: #d99f2b;
    --vx-blue: #0a8dd3;
    --vx-green: #34d399;
    --vx-ink: #050506;
    --vx-panel: #0d0d10;
    --vx-panel-2: #131317;
    --vx-line: rgba(255, 255, 255, 0.09);
    --vx-line-strong: rgba(255, 255, 255, 0.16);
    --vx-text: #f4f4f5;
    --vx-muted: #9a9aa2;
    --vx-muted-dim: #6f6f78;
    --vx-radius: 18px;
    --vx-shell: 1240px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

.vx * {
    box-sizing: border-box;
}

body.vx-body {
    background: var(--vx-ink) !important;
    color: var(--vx-text);
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    margin: 0;
}

/* The shared header component injects a fixed bar, keep it above page chrome. */
body.vx-body header {
    z-index: 100;
}

.vx-shell {
    width: 100%;
    max-width: var(--vx-shell);
    margin: 0 auto;
    padding: 0 24px;
}

.vx-section {
    position: relative;
    padding: 104px 0;
}

.vx-section--tight {
    padding: 72px 0;
}

/* Court-line divider: the paint/key geometry rendered as hairlines. */
.vx-rule {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--vx-line-strong) 20%,
        var(--vx-line-strong) 80%,
        transparent
    );
    border: 0;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.vx h1,
.vx h2,
.vx h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.vx p {
    margin: 0;
}

.vx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--vx-gold);
    margin-bottom: 20px;
}

.vx-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--vx-gold);
    border-radius: 2px;
}

.vx-h1 {
    font-size: clamp(2.6rem, 6.2vw, 4.6rem);
}

.vx-h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.vx-h3 {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    letter-spacing: -0.01em;
}

.vx-lede {
    font-size: clamp(1.02rem, 1.5vw, 1.19rem);
    line-height: 1.62;
    color: var(--vx-muted);
    max-width: 58ch;
}

.vx-gold {
    color: var(--vx-gold);
}

.vx-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;
}

.vx-section-head {
    max-width: 62ch;
    margin-bottom: 52px;
}

.vx-section-head .vx-lede {
    margin-top: 18px;
}

.vx-section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.vx-section-head--center .vx-lede {
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.vx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 30px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
        border-color 0.2s ease, color 0.2s ease;
}

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

.vx-btn:focus-visible {
    outline: 2px solid var(--vx-gold);
    outline-offset: 3px;
}

.vx-btn--primary {
    background: linear-gradient(135deg, var(--vx-gold), var(--vx-gold-deep));
    color: #17130a;
    box-shadow: 0 10px 34px rgba(245, 196, 82, 0.22);
}

.vx-btn--primary:hover {
    box-shadow: 0 16px 44px rgba(245, 196, 82, 0.32);
}

.vx-btn--ghost {
    background: transparent;
    border-color: var(--vx-line-strong);
    color: var(--vx-text);
}

.vx-btn--ghost:hover {
    border-color: var(--vx-gold);
    background: rgba(245, 196, 82, 0.08);
}

.vx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.vx-note {
    margin-top: 20px;
    font-size: 0.87rem;
    color: var(--vx-muted-dim);
}

/* --------------------------------------------------------------------------
   Ambient court glow (fixed, behind everything)
   -------------------------------------------------------------------------- */

.vx-ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(58% 42% at 18% 8%, rgba(245, 196, 82, 0.1), transparent 62%),
        radial-gradient(52% 40% at 84% 26%, rgba(10, 141, 211, 0.1), transparent 64%),
        radial-gradient(70% 50% at 50% 100%, rgba(217, 159, 43, 0.07), transparent 70%);
}

.vx-main {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.vx-hero {
    position: relative;
    padding: 168px 0 96px;
    overflow: hidden;
}

/* Half-court arc drawn in hairlines behind the hero. */
.vx-hero::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -420px;
    width: 1100px;
    height: 1100px;
    transform: translateX(-50%);
    border: 1px solid rgba(245, 196, 82, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

/* Above the decorative arc drawn by .vx-hero::after */
.vx-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 64px;
    align-items: center;
}

.vx-hero-title {
    background: linear-gradient(120deg, #ffffff 28%, var(--vx-gold) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.vx-hero-lede {
    margin-top: 26px;
}

.vx-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.vx-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--vx-line);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.8rem;
    color: var(--vx-muted);
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.vx-tag:hover,
.vx-tag:focus-visible {
    border-color: rgba(255, 201, 92, 0.65);
    background: rgba(255, 201, 92, 0.08);
    color: var(--vx-text);
}

.vx-tag i {
    color: var(--vx-gold);
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Voice console - the signature element
   -------------------------------------------------------------------------- */

.vx-console {
    position: relative;
    border: 1px solid var(--vx-line-strong);
    border-radius: 24px;
    background: linear-gradient(170deg, var(--vx-panel-2), var(--vx-panel) 60%);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.vx-console::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 55% at 30% 0%, rgba(245, 196, 82, 0.13), transparent 70%);
    pointer-events: none;
}

.vx-console-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--vx-line);
    background: rgba(0, 0, 0, 0.35);
}

.vx-console-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--vx-muted);
}

.vx-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vx-green);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: vx-pulse 2s ease-out infinite;
}

@keyframes vx-pulse {
    70% {
        box-shadow: 0 0 0 9px rgba(52, 211, 153, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

/* Persona switch */
.vx-persona-switch {
    display: inline-flex;
    padding: 3px;
    gap: 3px;
    border-radius: 999px;
    border: 1px solid var(--vx-line);
    background: rgba(255, 255, 255, 0.03);
}

.vx-persona-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--vx-muted);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 17px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.vx-persona-btn:hover {
    color: var(--vx-text);
}

.vx-persona-btn[aria-pressed='true'] {
    background: var(--vx-gold);
    color: #17130a;
}

.vx-persona-btn:focus-visible {
    outline: 2px solid var(--vx-gold);
    outline-offset: 2px;
}

.vx-console-body {
    position: relative;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
    padding: 22px;
}

/* --- avatar stage --- */

.vx-stage {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 250px;
}

/* Halo behind the avatar; brightens while listening. */
.vx-stage::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 8%;
    width: 172px;
    height: 172px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 196, 82, 0.3), transparent 68%);
    filter: blur(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0.55;
}

.vx-console[data-state='wake'] .vx-stage::before,
.vx-console[data-state='call'] .vx-stage::before,
.vx-console[data-state='yes'] .vx-stage::before {
    opacity: 1;
    transform: translateX(-50%) scale(1.12);
}

.vx-console[data-state='commit'] .vx-stage::before {
    background: radial-gradient(circle, rgba(52, 211, 153, 0.32), transparent 68%);
    opacity: 1;
}

.vx-avatar {
    position: relative;
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
    transition: transform 0.35s ease;
}

.vx-console[data-state='commit'] .vx-avatar {
    transform: translateY(-4px) scale(1.02);
}

/* Listening waveform under the avatar */
.vx-wave {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vx-console[data-state='wake'] .vx-wave,
.vx-console[data-state='call'] .vx-wave,
.vx-console[data-state='yes'] .vx-wave {
    opacity: 1;
}

.vx-wave span {
    width: 3px;
    height: 6px;
    border-radius: 2px;
    background: var(--vx-gold);
    animation: vx-bounce 0.9s ease-in-out infinite;
}

.vx-wave span:nth-child(2) {
    animation-delay: 0.12s;
}
.vx-wave span:nth-child(3) {
    animation-delay: 0.24s;
}
.vx-wave span:nth-child(4) {
    animation-delay: 0.36s;
}
.vx-wave span:nth-child(5) {
    animation-delay: 0.48s;
}

@keyframes vx-bounce {
    0%,
    100% {
        height: 6px;
        opacity: 0.55;
    }
    50% {
        height: 19px;
        opacity: 1;
    }
}

.vx-persona-name {
    margin-top: 12px;
    text-align: center;
    font-size: 0.86rem;
    color: var(--vx-muted);
}

.vx-persona-name b {
    color: var(--vx-text);
}

/* --- transcript --- */

.vx-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 250px;
    justify-content: flex-end;
}

.vx-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    max-width: 92%;
    animation: vx-in 0.34s ease both;
}

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

.vx-line--user {
    align-self: flex-end;
    flex-direction: row-reverse;
    text-align: right;
}

.vx-bubble {
    padding: 11px 15px;
    border-radius: 14px;
    font-size: 0.94rem;
    line-height: 1.45;
    border: 1px solid var(--vx-line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--vx-text);
}

.vx-line--user .vx-bubble {
    background: rgba(10, 141, 211, 0.14);
    border-color: rgba(10, 141, 211, 0.38);
}

.vx-line--ai .vx-bubble {
    background: rgba(245, 196, 82, 0.09);
    border-color: rgba(245, 196, 82, 0.28);
}

.vx-line--system .vx-bubble {
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.34);
    color: #d7fbec;
    font-weight: 600;
}

.vx-line--hint .vx-bubble {
    background: transparent;
    border-style: dashed;
    color: var(--vx-muted-dim);
}

.vx-who {
    flex: 0 0 auto;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vx-muted-dim);
    padding-top: 13px;
}

/* --- live box score --- */

.vx-board {
    position: relative;
    border-top: 1px solid var(--vx-line);
    background: rgba(0, 0, 0, 0.4);
    padding: 18px 22px 20px;
}

.vx-score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.vx-team {
    display: flex;
    align-items: center;
    gap: 11px;
}

.vx-team--away {
    justify-content: flex-end;
    text-align: right;
}

.vx-jersey {
    width: 11px;
    height: 26px;
    border-radius: 3px;
    flex: 0 0 auto;
}

.vx-jersey--green {
    background: #22c55e;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.45);
}
.vx-jersey--blue {
    background: #3b82f6;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.45);
}

.vx-team-name {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--vx-muted);
}

.vx-digits {
    font-size: clamp(2.1rem, 4vw, 2.9rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
    letter-spacing: 0.02em;
    color: var(--vx-gold);
    text-shadow: 0 0 22px rgba(245, 196, 82, 0.4);
    transition: transform 0.25s ease, color 0.25s ease;
    line-height: 1;
}

.vx-digits.is-bumped {
    transform: scale(1.16);
    color: #fff;
}

.vx-clock {
    text-align: center;
    padding: 0 6px;
}

.vx-clock-time {
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--vx-text);
}

.vx-clock-period {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--vx-muted-dim);
    margin-top: 3px;
}

/* box score table */
.vx-boxscore {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.vx-boxscore th {
    text-align: right;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vx-muted-dim);
    padding: 0 0 8px;
}

.vx-boxscore th:first-child,
.vx-boxscore td:first-child {
    text-align: left;
}

.vx-boxscore td {
    text-align: right;
    padding: 7px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--vx-muted);
    font-variant-numeric: tabular-nums;
    transition: background 0.3s ease, color 0.3s ease;
}

.vx-boxscore tr.is-active td {
    color: var(--vx-text);
    background: rgba(245, 196, 82, 0.07);
}

.vx-boxscore td:first-child {
    color: var(--vx-text);
    font-weight: 600;
}

.vx-player-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 8px;
    vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Wake words
   -------------------------------------------------------------------------- */

.vx-wakewords {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 44px;
}

.vx-wake {
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px dashed rgba(245, 196, 82, 0.4);
    background: rgba(245, 196, 82, 0.05);
    color: var(--vx-gold);
    font-weight: 700;
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.vx-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    counter-reset: vx-step;
}

.vx-step {
    position: relative;
    padding: 32px 28px;
    border: 1px solid var(--vx-line);
    border-radius: var(--vx-radius);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.vx-step:hover {
    border-color: rgba(245, 196, 82, 0.45);
    transform: translateY(-4px);
}

.vx-step::before {
    counter-increment: vx-step;
    content: '0' counter(vx-step);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--vx-gold);
    margin-bottom: 16px;
}

.vx-step h3 {
    margin-bottom: 11px;
}

.vx-step p {
    color: var(--vx-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Stat chips
   -------------------------------------------------------------------------- */

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

.vx-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 19px;
    border-radius: 12px;
    border: 1px solid var(--vx-line);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.93rem;
    color: var(--vx-text);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.vx-chip:hover {
    border-color: rgba(245, 196, 82, 0.5);
    background: rgba(245, 196, 82, 0.08);
    transform: translateY(-2px);
}

/* The markup carries a bootstrap dot icon; a drawn dot reads better at this size. */
.vx-chip i {
    display: none;
}

.vx-chip::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vx-gold);
    flex: 0 0 auto;
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Tap or talk - two columns
   -------------------------------------------------------------------------- */

.vx-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.vx-mode {
    padding: 38px 34px;
    border: 1px solid var(--vx-line);
    border-radius: var(--vx-radius);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.vx-mode--voice {
    border-color: rgba(245, 196, 82, 0.34);
    background: linear-gradient(165deg, rgba(245, 196, 82, 0.09), rgba(255, 255, 255, 0.015));
}

.vx-mode-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(245, 196, 82, 0.14);
    color: var(--vx-gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.vx-mode h3 {
    margin-bottom: 10px;
}

.vx-mode > p {
    color: var(--vx-muted);
    line-height: 1.6;
    margin-bottom: 22px;
}

.vx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

/* Block, not flex: an inline <b> lead-in must stay in the same text flow
   as the sentence that follows it. */
.vx-list li {
    position: relative;
    padding-left: 26px;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--vx-muted);
}

.vx-list li::before {
    content: '\F26E'; /* bootstrap-icons check-lg */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--vx-gold);
    font-size: 0.85rem;
    line-height: 1.5;
}

.vx-list b {
    color: var(--vx-text);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Beyond the game - alternating screenshot rows
   -------------------------------------------------------------------------- */

.vx-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: center;
    margin-bottom: 96px;
}

.vx-split:last-child {
    margin-bottom: 0;
}

.vx-split--flip .vx-split-media {
    order: -1;
}

.vx-split-media {
    position: relative;
    border-radius: var(--vx-radius);
    border: 1px solid var(--vx-line-strong);
    background: var(--vx-panel);
    padding: 10px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.vx-split-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 11px;
}

.vx-split-media--phone {
    display: flex;
    justify-content: center;
    background: radial-gradient(circle at 50% 35%, rgba(255, 201, 92, 0.1), var(--vx-panel) 68%);
}

.vx-split-media--phone img {
    width: auto;
    max-width: 100%;
    max-height: 640px;
    object-fit: contain;
}

.vx-split h3 {
    margin-bottom: 14px;
}

.vx-split > div > p {
    color: var(--vx-muted);
    line-height: 1.62;
    margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   Gym band
   -------------------------------------------------------------------------- */

.vx-gym {
    position: relative;
    border-top: 1px solid var(--vx-line);
    border-bottom: 1px solid var(--vx-line);
    background: linear-gradient(180deg, rgba(245, 196, 82, 0.045), transparent 60%);
    overflow: hidden;
}

.vx-gym-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.vx-gym-media img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.65));
}

.vx-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.vx-fact h3 {
    font-size: 1rem;
    margin-bottom: 7px;
}

.vx-fact p {
    font-size: 0.89rem;
    line-height: 1.55;
    color: var(--vx-muted);
}

.vx-fact i {
    color: var(--vx-gold);
    margin-right: 7px;
}

/* --------------------------------------------------------------------------
   Plans
   -------------------------------------------------------------------------- */

.vx-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.vx-plan {
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    border: 1px solid var(--vx-line);
    border-radius: var(--vx-radius);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.vx-plan:hover {
    border-color: rgba(245, 196, 82, 0.45);
    transform: translateY(-4px);
}

.vx-plan--feature {
    border-color: rgba(245, 196, 82, 0.42);
    background: linear-gradient(165deg, rgba(245, 196, 82, 0.1), rgba(255, 255, 255, 0.015));
}

.vx-plan h3 {
    margin-bottom: 8px;
}

.vx-plan-for {
    font-size: 0.83rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--vx-gold);
    margin-bottom: 20px;
}

.vx-plan .vx-list {
    margin-bottom: 26px;
}

.vx-plan .vx-btn {
    margin-top: auto;
    width: 100%;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.vx-faq {
    max-width: 840px;
    margin: 0 auto;
    border-top: 1px solid var(--vx-line);
}

.vx-faq-item {
    border-bottom: 1px solid var(--vx-line);
}

.vx-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 4px;
    background: transparent;
    border: 0;
    color: var(--vx-text);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.vx-faq-q:hover {
    color: var(--vx-gold);
}

.vx-faq-q:focus-visible {
    outline: 2px solid var(--vx-gold);
    outline-offset: 2px;
}

.vx-faq-q i {
    flex: 0 0 auto;
    color: var(--vx-gold);
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.vx-faq-q[aria-expanded='true'] i {
    transform: rotate(45deg);
}

.vx-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 4px;
}

.vx-faq-a p {
    color: var(--vx-muted);
    line-height: 1.65;
    font-size: 0.97rem;
}

.vx-faq-item.is-open .vx-faq-a {
    padding: 0 4px 26px;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.vx-cta {
    text-align: center;
    padding: 74px 40px;
    border: 1px solid rgba(245, 196, 82, 0.3);
    border-radius: 26px;
    background: radial-gradient(70% 100% at 50% 0%, rgba(245, 196, 82, 0.13), transparent 70%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.vx-cta .vx-lede {
    margin: 20px auto 0;
}

.vx-cta .vx-actions {
    justify-content: center;
}

.vx-cta .vx-note {
    margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Demo modal
   -------------------------------------------------------------------------- */

.vx-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
}

.vx-modal.is-active {
    display: flex;
}

.vx-modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    border: 1px solid var(--vx-line-strong);
    border-radius: 22px;
    background: var(--vx-panel-2);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
}

.vx-modal-card h2 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.vx-modal-card > p {
    color: var(--vx-muted);
    margin-bottom: 26px;
    font-size: 0.95rem;
}

.vx-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--vx-line);
    background: transparent;
    color: var(--vx-muted);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.vx-modal-close:hover {
    color: var(--vx-text);
    border-color: var(--vx-gold);
}

.vx-field {
    margin-bottom: 18px;
}

.vx-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--vx-muted);
}

.vx-field input,
.vx-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--vx-line-strong);
    background: rgba(0, 0, 0, 0.35);
    color: var(--vx-text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.vx-field input:focus,
.vx-field textarea:focus {
    outline: none;
    border-color: var(--vx-gold);
}

.vx-form-status {
    margin-top: 14px;
    font-size: 0.88rem;
    min-height: 1.2em;
}

.vx-form-status.is-ok {
    color: var(--vx-green);
}
.vx-form-status.is-err {
    color: #f87171;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.vx-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.vx-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .vx-hero-grid,
    .vx-gym-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 46px;
    }

    .vx-hero {
        padding: 128px 0 72px;
    }

    .vx-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
        margin-bottom: 62px;
    }

    .vx-split--flip .vx-split-media {
        order: 0;
    }

    .vx-steps,
    .vx-plans,
    .vx-modes {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .vx-section {
        padding: 72px 0;
    }

    .vx-shell {
        padding: 0 18px;
    }

    .vx-console-body {
        grid-template-columns: minmax(0, 1fr);
        padding: 18px;
    }

    .vx-stage {
        min-height: 172px;
    }

    .vx-avatar {
        height: 172px;
    }

    .vx-feed {
        min-height: 0;
    }

    .vx-line {
        max-width: 100%;
    }

    .vx-console-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .vx-persona-switch {
        justify-content: center;
    }

    .vx-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .vx-mode,
    .vx-plan {
        padding: 28px 22px;
    }

    .vx-cta {
        padding: 52px 22px;
    }

    .vx-modal-card {
        padding: 30px 22px;
    }

    .vx-boxscore {
        font-size: 0.8rem;
    }
}

/* --------------------------------------------------------------------------
   Reduced motion - the console renders its committed state, statically.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .vx *,
    .vx *::before,
    .vx *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .vx-reveal {
        opacity: 1;
        transform: none;
    }

    .vx-btn:hover,
    .vx-step:hover,
    .vx-plan:hover,
    .vx-chip:hover {
        transform: none;
    }
}
