:root {
    --bg-obsidian: #07090e;
    --bg-chassis: #0c1018;
    --bg-panel: #121824;
    --bg-panel-elevated: #171f2f;
    --bg-glass: rgba(12, 16, 24, 0.88);
    --border-subtle: rgba(148, 163, 184, 0.16);
    --border-highlight: rgba(56, 189, 248, 0.38);

    --text-primary: #f1f5f9;
    --text-secondary: #a3b2c7;
    --text-muted: #8b9bb0;

    /* Shared Gapjumper + Charisma Dual-Pole Brand Palette */
    --brand-pink: #fc72a4;
    --brand-pink-deep: #ec528e;
    --brand-violet: #b06cf6;
    --brand-cyan: #38bdf8;
    --brand-cyan-bright: #68eeff;
    --brand-amber: #f59e0b;
    --brand-emerald: #10b981;

    --grad-brand: linear-gradient(135deg, #fc72a4 0%, #b06cf6 50%, #38bdf8 100%);
    --grad-pink-cyan: linear-gradient(90deg, #fc72a4 0%, #48cefa 100%);
    --grad-surface: linear-gradient(180deg, rgba(23, 31, 47, 0.72) 0%, rgba(12, 16, 24, 0.92) 100%);

    --container-max: 1240px;
    --radius-sm: 5px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-chassis: 0 28px 70px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

[hidden] {
    display: none !important;
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
    overflow-x: clip;
}

body {
    background-color: var(--bg-obsidian);
    background-image:
        radial-gradient(circle at 18% 8%, rgba(252, 114, 164, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 82% 12%, rgba(56, 189, 248, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 50% 55%, rgba(176, 108, 246, 0.04) 0%, transparent 50%);
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
    outline: 2px solid var(--brand-cyan);
    outline-offset: 2px;
}

code, .mono {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* ==========================================================================
   TOP NAVIGATION BAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    min-width: 0;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.brand-gapjumper {
    height: 23px;
    width: auto;
    transition: opacity 0.2s ease;
}

.brand-gapjumper:hover {
    opacity: 0.88;
}

.brand-divider {
    width: 1px;
    height: 20px;
    background: rgba(148, 163, 184, 0.24);
}

.brand-product-name {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
}

.nav-link {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-mobile-actions {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-actions .btn-sm {
    padding: 0.44rem 0.82rem;
    font-size: 0.81rem;
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 1.3rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn-sm {
    padding: 0.46rem 0.95rem;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 0.85rem 1.7rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--grad-brand);
    background-origin: border-box;
    color: #06080d;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(252, 114, 164, 0.22), 0 3px 12px rgba(56, 189, 248, 0.18);
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 10px 26px rgba(252, 114, 164, 0.32), 0 5px 16px rgba(56, 189, 248, 0.26);
}

.btn-secondary {
    background: rgba(23, 31, 47, 0.92);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.38);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.14);
    box-shadow: inset 0 0 0 1px var(--brand-cyan);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px var(--border-subtle);
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding: 7.75rem 0 4.5rem;
    position: relative;
}

.hero-top {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.charisma-hero-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.charisma-hero-icon {
    height: 60px;
    width: auto;
    transform: translateY(2px);
    filter: drop-shadow(0 0 22px rgba(176, 108, 246, 0.28));
}

.charisma-hero-wordmark {
    height: 62px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

.charisma-inline-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    max-width: 100%;
    min-width: 0;
}

.charisma-inline-icon {
    height: 27px;
    width: auto;
    transform: translateY(1px);
}

.charisma-inline-wordmark {
    height: 28px;
    width: auto;
}

.hero-headline {
    font-size: clamp(1.85rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin-bottom: 1.1rem;
}

.text-gradient-pink {
    background: linear-gradient(90deg, #fc72a4, #de6cba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(90deg, #68eeff, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 740px;
    margin: 0 auto 1.6rem;
}

.hero-stat-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin: 0 auto 2rem;
    max-width: 820px;
}

.stat-chip {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-primary);
    background: rgba(18, 24, 36, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    padding: 0.34rem 0.8rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: 5rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.section-alt {
    background: linear-gradient(180deg, rgba(12, 16, 24, 0.65) 0%, rgba(7, 9, 14, 0.95) 100%);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.75rem;
}

.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-lead {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ==========================================================================
   INTERACTIVE VST3 INTERFACE SHOWCASE
   ========================================================================== */
.ui-showcase-chassis {
    background: var(--bg-chassis);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow-chassis);
}

.ui-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.32) rgba(12, 16, 24, 0.6);
}

.ui-tab-bar::-webkit-scrollbar {
    height: 6px;
}

.ui-tab-bar::-webkit-scrollbar-track {
    background: rgba(12, 16, 24, 0.6);
    border-radius: 999px;
}

.ui-tab-bar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.32);
    border-radius: 999px;
}

.ui-tab-bar::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.55);
}

.ui-tab-btn {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.46rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    white-space: nowrap;
}

.ui-tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(56, 189, 248, 0.4);
}

.ui-tab-btn.active {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.18) 0%, rgba(18, 24, 36, 0.95) 100%);
    color: var(--text-primary);
    border-color: var(--brand-cyan);
}

.ui-viewport {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #080a0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: zoom-in;
}

.ui-viewport img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.16s ease;
}

.ui-zoom-btn {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    background: rgba(7, 9, 14, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--text-primary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.ui-zoom-btn:hover {
    border-color: var(--brand-cyan);
    color: var(--brand-cyan-bright);
}

.ui-caption-bar {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.15rem;
    background: var(--bg-panel);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--brand-cyan);
}

.ui-caption-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ui-caption-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   MULTI-ENGINE VIDEO & AUDIO SHOWCASE PLAYER
   ========================================================================== */
.audio-showcase-card {
    background: var(--bg-chassis);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-chassis);
    max-width: 100%;
    min-width: 0;
}

.soundtrack-session-card {
    margin-bottom: 1.5rem;
    border-color: rgba(56, 189, 248, 0.28);
    background: linear-gradient(180deg, rgba(19, 25, 38, 0.96) 0%, rgba(11, 14, 22, 0.98) 100%);
}

.soundtrack-session-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.15rem;
    min-width: 0;
}

.soundtrack-session-header .track-meta {
    flex: 1 1 360px;
}

.soundtrack-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--brand-cyan-bright);
    margin-bottom: 0.35rem;
    max-width: 100%;
    min-width: 0;
}

.soundtrack-download-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    max-width: 100%;
    min-width: 0;
}

.soundtrack-transport {
    margin-bottom: 0.85rem;
}

.soundtrack-daw-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
    max-width: 100%;
    min-width: 0;
}

.soundtrack-daw-note span {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.soundtrack-daw-note span:first-child {
    color: var(--brand-emerald);
    font-weight: 600;
}

.player-top-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.track-meta {
    min-width: 0;
    max-width: 100%;
}

.track-meta h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.track-meta p {
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.video-showcase-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #05070b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.video-showcase-stage video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.video-chapter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.65rem 1rem;
    background: var(--bg-panel);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--brand-pink);
    font-size: 0.82rem;
}

.cue-active-label {
    color: var(--brand-cyan-bright);
    font-weight: 600;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.cue-hint {
    color: var(--text-secondary);
}

.play-btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-brand);
    background-origin: border-box;
    border: none;
    color: #07090e;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(252, 114, 164, 0.28);
    transition: var(--transition);
}

.play-btn-circle:hover {
    transform: scale(1.05);
}

.seek-slider {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    accent-color: var(--brand-cyan);
    cursor: pointer;
}

.cue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.cue-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    color: inherit;
    font-family: inherit;
}

.cue-card:hover, .cue-card.active {
    border-color: var(--brand-pink);
    background: rgba(252, 114, 164, 0.08);
}

.cue-time {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-cyan);
    display: block;
    margin-bottom: 0.15rem;
}

.cue-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.cue-stems {
    font-size: 0.76rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   ARCHITECTURE & 6 ENGINE CARDS
   ========================================================================== */
.engine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 1.35rem;
}

.engine-card {
    background: var(--grad-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.engine-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--grad-brand));
}

.engine-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

.engine-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.engine-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.2rem;
}

.engine-list li {
    font-size: 0.84rem;
    color: #cbd5e1;
    padding-left: 1.1rem;
    position: relative;
}

.engine-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--brand-pink);
}

.engine-card-actions {
    margin-top: auto;
    padding-top: 0.95rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

/* ==========================================================================
   SINGLE-INSTANCE SOUND SPOTLIGHT
   ========================================================================== */
.spotlight-chassis {
    background: linear-gradient(180deg, #131824 0%, #0b0e16 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-xl);
    padding: 1.65rem;
    box-shadow: var(--shadow-chassis);
    max-width: 100%;
    min-width: 0;
}

.spotlight-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    min-width: 0;
}

.spotlight-subtag {
    font-size: 0.74rem;
    color: var(--text-secondary);
    padding-left: 0.5rem;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.spotlight-status {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.led-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #334155;
    flex-shrink: 0;
    transition: all 0.14s ease;
}

.led-dot.active {
    background: var(--brand-emerald);
    box-shadow: 0 0 12px var(--brand-emerald);
}

.spotlight-transport {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 100%;
    min-width: 0;
}

.spotlight-transport-controls {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.spotlight-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: rgba(23, 31, 47, 0.85);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.72rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.spotlight-nav-btn:hover {
    color: var(--text-primary);
    border-color: var(--brand-cyan);
    background: rgba(56, 189, 248, 0.1);
}

.spotlight-now-playing {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.spotlight-now-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    min-width: 0;
    max-width: 100%;
}

.spotlight-now-top > div:first-child {
    flex: 1 1 180px;
    min-width: 0;
    max-width: 100%;
}

.spotlight-active-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.spotlight-active-meta {
    font-size: 0.73rem;
    color: var(--brand-cyan);
    letter-spacing: 0.04em;
    display: block;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.spotlight-now-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
}

.spotlight-ab-btn {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.24rem 0.65rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: var(--brand-cyan-bright);
    cursor: pointer;
    transition: var(--transition);
    max-width: 100%;
    min-width: 0;
}

.spotlight-ab-btn:hover {
    background: rgba(56, 189, 248, 0.24);
    border-color: var(--brand-cyan-bright);
    color: #ffffff;
}

.spotlight-ab-btn[hidden] {
    display: none !important;
}

.spotlight-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.spotlight-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.filter-chip {
    background: rgba(18, 24, 36, 0.9);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 0.36rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover {
    color: var(--text-primary);
    border-color: rgba(56, 189, 248, 0.45);
}

.filter-chip.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--brand-cyan);
    color: var(--brand-cyan-bright);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 100%;
    min-width: 0;
}

.spotlight-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.05rem 1.15rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    transition: var(--transition);
    color: inherit;
    font-family: inherit;
    max-width: 100%;
    min-width: 0;
}

.spotlight-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(23, 31, 47, 0.92);
}

.spotlight-card.active {
    border-color: var(--brand-pink);
    background: rgba(252, 114, 164, 0.07);
}

.spotlight-card.playing {
    border-color: var(--brand-cyan);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(252, 114, 164, 0.07) 100%);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.spotlight-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(23, 31, 47, 0.95);
    border: 1px solid var(--border-subtle);
    color: var(--brand-cyan);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
    transition: var(--transition);
}

.spotlight-card.playing .spotlight-card-icon {
    background: var(--grad-brand);
    border-color: transparent;
    color: #07090e;
}

.spotlight-card-body {
    flex: 1;
    min-width: 0;
}

.spotlight-card-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.15rem;
}

.spotlight-card-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-primary);
    overflow-wrap: anywhere;
}

.spotlight-card-title-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.42rem;
    min-width: 0;
}

.spotlight-card-num {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--accent-cyan, #5ce1e6);
    opacity: 0.88;
}

.spotlight-card-badge {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.1rem 0.42rem;
    border-radius: 999px;
    background: rgba(92, 225, 230, 0.14);
    border: 1px solid rgba(92, 225, 230, 0.36);
    color: var(--accent-cyan, #5ce1e6);
    white-space: nowrap;
}

.spotlight-card-badge.multi {
    background: rgba(245, 184, 81, 0.15);
    border-color: rgba(245, 184, 81, 0.42);
    color: #f5b851;
}

.spotlight-card-dur {
    font-size: 0.74rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.spotlight-card-meta {
    font-size: 0.71rem;
    font-weight: 700;
    color: var(--brand-cyan);
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.4rem;
    overflow-wrap: anywhere;
}

.spotlight-card.active .spotlight-card-meta {
    color: var(--brand-pink);
}

.spotlight-card.playing .spotlight-card-meta {
    color: var(--brand-cyan-bright);
}

.spotlight-card-desc {
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ==========================================================================
   COMMERCIAL PURCHASE, TRIAL, SPECS & FAQ
   ========================================================================== */
.release-status-banner {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: var(--radius-lg);
    padding: 0.95rem 1.25rem;
    margin-bottom: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.release-status-banner strong {
    color: var(--brand-cyan-bright);
}

.commerce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg-chassis);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.pricing-card.featured {
    border-color: rgba(252, 114, 164, 0.42);
    box-shadow: 0 24px 60px rgba(252, 114, 164, 0.1);
}

.pricing-card-title {
    font-size: 1.4rem;
    font-weight: 800;
}

.price-tag {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 0.55rem 0 0.75rem;
}

.price-tag span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.15rem;
}

.pricing-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pricing-meta-note {
    font-size: 0.74rem;
    color: var(--text-muted);
    text-align: center;
}

.pricing-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    font-size: 0.76rem;
    color: var(--text-muted);
}

.pricing-legal-links a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pricing-legal-links a:hover {
    color: var(--brand-cyan);
}

.specs-section {
    margin-top: 3.75rem;
}

.user-guide-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.65rem 1.75rem;
}

.user-guide-copy {
    flex: 1 1 360px;
}

.user-guide-title {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.user-guide-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: var(--bg-chassis);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.specs-table th, .specs-table td {
    padding: 0.95rem 1.35rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    vertical-align: top;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table th {
    width: 26%;
    color: var(--brand-cyan);
    font-weight: 700;
    background: rgba(18, 24, 36, 0.6);
}

.specs-table td {
    color: #cbd5e1;
}

.spec-link {
    color: var(--brand-cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.spec-link:hover {
    color: var(--brand-cyan-bright);
}

/* FAQ Accordion */
.faq-section {
    margin-top: 3.75rem;
}

.faq-heading {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-chassis);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    padding: 1.05rem 1.3rem;
    font-weight: 700;
    font-size: 0.96rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

.faq-item summary::after {
    content: "+";
    color: var(--brand-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "−";
    color: var(--brand-pink);
}

.faq-answer {
    padding: 0 1.3rem 1.15rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    padding-top: 0.85rem;
}

/* About / Seller Trust Card */
.about-trust-card {
    margin-top: 3rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.about-trust-copy {
    flex: 1 1 420px;
}

.about-trust-copy h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.about-trust-copy p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.about-trust-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* ==========================================================================
   MODALS (IMAGE LIGHTBOX & STORE PRE-LAUNCH DIALOG)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 7, 11, 0.86);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: var(--bg-chassis);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-xl);
    padding: 1.9rem;
    box-shadow: var(--shadow-chassis);
}

.lightbox-card {
    position: relative;
    width: 100%;
    max-width: 1180px;
    background: var(--bg-chassis);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-chassis);
}

.modal-close-btn {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: rgba(18, 24, 36, 0.92);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    border-color: var(--brand-cyan);
}

.modal-title {
    font-size: 1.28rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    padding-right: 2.5rem;
}

.modal-lead {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.lightbox-img {
    width: 100%;
    max-height: calc(100vh - 8.5rem);
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-caption {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-align: center;
}

/* ==========================================================================
   LEGAL DOCUMENT PAGES (EULA, PRIVACY, REFUNDS)
   ========================================================================== */
.legal-page-main {
    padding: 6.75rem 0 4.5rem;
    min-height: calc(100vh - 180px);
}

.legal-back-row {
    margin-bottom: 1.5rem;
}

.legal-doc {
    background: var(--bg-chassis);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: var(--shadow-chassis);
}

.legal-doc h1 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.legal-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-doc h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-cyan-bright);
    margin: 1.75rem 0 0.65rem;
}

.legal-doc p {
    font-size: 0.94rem;
    color: #cbd5e1;
    margin-bottom: 0.85rem;
}

.legal-doc ul {
    padding-left: 1.3rem;
    margin-bottom: 0.95rem;
    color: #cbd5e1;
    font-size: 0.93rem;
}

.legal-doc li {
    margin-bottom: 0.45rem;
}

.legal-doc a {
    color: var(--brand-cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    padding: 3.25rem 0 2.75rem;
    border-top: 1px solid var(--border-subtle);
    background: #05070b;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 440px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.footer-links,
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.6rem;
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.footer-legal-links {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links a:hover,
.footer-legal-links a:hover {
    color: var(--brand-cyan);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1240px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-chassis);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1.5rem 1.25rem;
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav .nav-link {
        padding: 0.72rem 0.25rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    }

    .main-nav.open .nav-mobile-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.65rem;
        padding-top: 0.95rem;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .footer-links-col {
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .charisma-hero-icon {
        height: 46px;
    }

    .charisma-hero-wordmark {
        height: 48px;
    }

    .ui-tab-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.75rem;
    }

    .cue-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .spotlight-transport {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .header-inner {
        gap: 0.75rem;
    }

    .header-actions {
        gap: 0.45rem;
    }

    .brand-gapjumper {
        height: 21px;
    }

    .header-trial-btn,
    .header-guide-btn {
        display: none;
    }

    .audio-showcase-card,
    .spotlight-chassis,
    .pricing-card,
    .legal-doc {
        padding: 1.35rem;
    }

    .spotlight-ab-btn {
        white-space: normal;
        text-align: left;
        line-height: 1.3;
    }

    .specs-table,
    .specs-table tbody,
    .specs-table tr,
    .specs-table th,
    .specs-table td {
        display: block;
        width: 100%;
    }

    .specs-table th,
    .specs-table td {
        padding-left: 1rem;
        padding-right: 1rem;
        overflow-wrap: anywhere;
    }

    .specs-table th {
        padding-bottom: 0.35rem;
        border-bottom: none;
    }

    .specs-table td {
        padding-top: 0.25rem;
    }
}

@media (max-width: 580px) {
    .btn {
        white-space: normal;
        line-height: 1.3;
        max-width: 100%;
    }

    .site-header .btn {
        white-space: nowrap;
    }

    .soundtrack-download-actions {
        width: 100%;
    }

    .hero-cta-row .btn,
    .pricing-cta-stack .btn,
    .engine-card-actions .btn,
    .soundtrack-download-actions .btn {
        width: 100%;
    }

    .cue-grid {
        grid-template-columns: 1fr;
    }

    .spotlight-subtag {
        display: block;
        width: 100%;
        padding-left: 0;
    }
}

@media (max-width: 520px) {
    .brand-divider,
    .brand-product-name {
        display: none;
    }
}

@media (max-width: 380px) {
    .header-inner {
        gap: 0.45rem;
    }

    .brand-gapjumper {
        height: 19px;
    }

    .header-actions .btn-sm {
        padding: 0.38rem 0.65rem;
        font-size: 0.76rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}

/* ==========================================================================
   OFFLINE LICENSE ACTIVATION FORM (/activate)
   ========================================================================== */
.activate-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.72rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-panel);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input.mono {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.22);
}

.form-help {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.form-status {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-panel);
    color: var(--text-secondary);
}

.form-status.is-error {
    border-color: rgba(252, 114, 164, 0.55);
    background: rgba(252, 114, 164, 0.08);
    color: #fecdd3;
}

.form-status.is-success {
    border-color: rgba(16, 185, 129, 0.55);
    background: rgba(16, 185, 129, 0.08);
    color: #a7f3d0;
}

/* ==========================================================================
   PRICING PROMO HOOK & HERO CTA REFINEMENTS
   ========================================================================== */
.hero-play-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 0.35rem;
    font-size: 0.9em;
}

.price-badge-promo {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.24rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(252, 114, 164, 0.22), rgba(56, 189, 248, 0.22));
    border: 1px solid rgba(252, 114, 164, 0.45);
    color: var(--text-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-old {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 0.45rem;
    vertical-align: middle;
}

.price-save-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-emerald);
    margin-left: 0.35rem;
}

/* ==========================================================================
   STICKY BOTTOM MINI AUDIO PLAYER
   ========================================================================== */
body.has-sticky-player {
    padding-bottom: 78px;
}

.sticky-audio-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 1050;
    background: rgba(10, 14, 22, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(56, 189, 248, 0.32);
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.65);
    transform: translateY(0);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.sticky-audio-bar[hidden] {
    display: none !important;
}

.sticky-audio-inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    max-width: var(--container-max);
    min-width: 0;
    min-height: 68px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.sticky-controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.sticky-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sticky-nav-btn:hover {
    color: var(--text-primary);
    border-color: var(--brand-cyan);
    background: rgba(56, 189, 248, 0.14);
}

.sticky-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--grad-brand);
    color: #07090e;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(252, 114, 164, 0.32);
    transition: var(--transition);
}

.sticky-play-btn:hover {
    transform: scale(1.06);
}

.sticky-track-meta {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 280px;
    overflow: hidden;
}

.sticky-track-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-track-cat {
    font-size: 0.72rem;
    color: var(--brand-cyan-bright);
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-seek-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    max-width: 100%;
}

.sticky-seek-range {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    accent-color: var(--brand-cyan);
    cursor: pointer;
    height: 4px;
}

.sticky-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.sticky-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sticky-close-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 760px) {
    body.has-sticky-player {
        padding-bottom: 112px;
    }

    .sticky-audio-inner {
        flex-wrap: wrap;
        gap: 0.45rem 0.55rem;
        padding-top: 0.55rem;
        padding-bottom: 0.6rem;
    }

    .sticky-track-meta {
        flex: 1 1 0%;
        min-width: 0;
        max-width: 100%;
    }

    .sticky-seek-wrap {
        order: 4;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
    }

    .sticky-actions .btn {
        white-space: nowrap;
        padding: 0.3rem 0.55rem;
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .sticky-controls {
        gap: 0.3rem;
    }

    .sticky-nav-btn {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }

    .sticky-play-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .sticky-actions {
        gap: 0.25rem;
    }

    .sticky-actions .btn {
        padding: 0.26rem 0.48rem;
        font-size: 0.68rem;
    }

    .sticky-close-btn {
        width: 26px;
        height: 26px;
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    #stickyJumpBtn {
        display: none;
    }
}

/* ==========================================================================
   INTERACTIVE WEB USER GUIDE (guide.html)
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.nav-link-active {
    color: var(--text-primary);
    font-weight: 700;
}

.guide-main {
    padding-top: 72px;
}

.guide-hero {
    padding: 3rem 0 2.25rem;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(18, 24, 36, 0.7) 0%, rgba(7, 9, 14, 0.9) 100%);
}

.guide-hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.guide-title {
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
}

.guide-subtitle {
    color: var(--text-secondary);
    max-width: 680px;
    font-size: 1rem;
}

.guide-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.guide-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 2.25rem;
    padding-top: 2.25rem;
    padding-bottom: 4.5rem;
    align-items: start;
}

.guide-sidebar {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.guide-search-box {
    position: relative;
    margin-bottom: 0.65rem;
}

.guide-search-input {
    width: 100%;
    padding: 0.6rem 2rem 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: var(--bg-obsidian);
    color: var(--text-primary);
    font-size: 0.85rem;
}

.guide-search-input::placeholder {
    color: var(--text-muted);
}

.guide-search-clear {
    position: absolute;
    right: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
}

.guide-search-status {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border-subtle);
}

.guide-toc-list,
.guide-toc-sublist {
    list-style: none;
}

.guide-toc-item {
    margin-bottom: 0.35rem;
}

.guide-toc-link {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.3rem 0.4rem;
    border-radius: var(--radius-sm);
}

.guide-toc-link:hover {
    background: rgba(56, 189, 248, 0.12);
    color: var(--brand-cyan-bright);
}

.guide-toc-sublist {
    padding-left: 0.75rem;
    margin-top: 0.15rem;
}

.guide-toc-sublink {
    display: block;
    font-size: 0.76rem;
    color: var(--text-secondary);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
}

.guide-toc-sublink:hover {
    color: var(--brand-pink);
}

.guide-mobile-bar {
    display: none;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.guide-empty-state {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.guide-empty-state h3 {
    margin-bottom: 0.5rem;
}

.guide-empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.guide-content-col {
    min-width: 0;
    max-width: 100%;
}

.guide-section {
    background: var(--bg-chassis);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    margin-bottom: 1.75rem;
    min-width: 0;
    max-width: 100%;
}

.guide-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    scroll-margin-top: 90px;
}

.guide-section h3 {
    font-size: 1.14rem;
    font-weight: 700;
    margin-top: 1.45rem;
    margin-bottom: 0.65rem;
    color: var(--brand-cyan-bright);
    scroll-margin-top: 90px;
}

.guide-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.1rem;
    margin-bottom: 0.45rem;
    color: var(--text-primary);
}

.guide-anchor {
    margin-left: 0.45rem;
    color: var(--text-muted);
    font-size: 0.85em;
    opacity: 0;
}

.guide-section h2:hover .guide-anchor,
.guide-section h3:hover .guide-anchor {
    opacity: 0.8;
}

.guide-section p,
.guide-section ul,
.guide-section ol {
    color: var(--text-secondary);
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}

.guide-section ul,
.guide-section ol {
    padding-left: 1.35rem;
}

.guide-section li {
    margin-bottom: 0.35rem;
}

.guide-section strong {
    color: var(--text-primary);
}

.guide-section code {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.12rem 0.38rem;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--brand-cyan-bright);
    overflow-wrap: anywhere;
}

.guide-section pre {
    background: var(--bg-obsidian);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.guide-section pre code {
    background: transparent;
    padding: 0;
    color: var(--text-primary);
}

.guide-section blockquote {
    border-left: 3px solid var(--brand-cyan);
    background: rgba(56, 189, 248, 0.06);
    padding: 0.75rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 1rem;
}

.guide-section img {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    margin: 1rem 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.guide-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.25rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.guide-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
}

.guide-table-wrap th,
.guide-table-wrap td {
    text-align: left;
    padding: 0.6rem 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.guide-table-wrap th {
    background: var(--bg-panel-elevated);
    color: var(--text-primary);
    font-weight: 700;
}

.guide-formula {
    background: var(--bg-obsidian);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin: 0.85rem 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    color: var(--brand-cyan-bright);
    overflow-x: auto;
}

.guide-math {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    color: var(--text-primary);
}

@media (max-width: 960px) {
    .guide-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .guide-mobile-bar {
        display: flex;
    }

    .guide-sidebar {
        display: none;
        position: static;
        max-height: none;
    }

    .guide-sidebar.is-open {
        display: block;
    }

    .guide-section {
        padding: 1.25rem 1.15rem;
    }
}

/* ==========================================================================
   VERSION BADGES, WINDOWS INSTALL PANEL, MCP PREVIEW & CHANGELOG
   ========================================================================== */
.release-version-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--brand-cyan-bright);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.win-install-panel {
    margin-top: 1.5rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.win-install-summary {
    cursor: pointer;
    padding: 1.05rem 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
}

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

.win-install-summary::after {
    content: '▾';
    color: var(--brand-cyan-bright);
    font-size: 0.95rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.win-install-panel[open] .win-install-summary::after {
    transform: rotate(180deg);
}

.win-install-summary-sub {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.82rem;
    margin-left: 0.45rem;
}

.win-install-body {
    padding: 0 1.35rem 1.35rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.win-smartscreen-note {
    margin: 1rem 0 1.15rem;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--brand-cyan);
    background: rgba(56, 189, 248, 0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
}

.win-install-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.1rem;
}

.win-install-col {
    background: rgba(7, 9, 14, 0.55);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
}

.win-install-col h4 {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.win-install-col ol {
    margin: 0;
    padding-left: 1.2rem;
}

.win-install-col li {
    margin-bottom: 0.45rem;
}

.win-checksum-pre {
    margin: 0.55rem 0 0.75rem;
    padding: 0.75rem 0.95rem;
    background: var(--bg-obsidian);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--brand-cyan-bright);
    overflow-x: auto;
}

.checksum-box {
    margin-top: 1rem;
    padding: 0.9rem 1.05rem;
    background: rgba(7, 9, 14, 0.65);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.checksum-box-title {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: var(--brand-cyan-bright);
    margin-bottom: 0.5rem;
}

.checksum-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: var(--text-muted);
    word-break: break-all;
}

.checksum-list code {
    color: var(--text-primary);
}

.mcp-preview-card {
    margin-top: 1.75rem;
    padding: 1.35rem 1.5rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

.mcp-preview-copy {
    flex: 1 1 480px;
}

.mcp-preview-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.mcp-preview-header h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.mcp-preview-pill {
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(176, 108, 246, 0.16);
    border: 1px solid rgba(176, 108, 246, 0.4);
    color: #d8b4fe;
}

.mcp-preview-copy p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.changelog-policy-box {
    margin: 1rem 0 1.75rem;
    padding: 0.95rem 1.15rem;
    border-left: 3px solid var(--brand-emerald);
    background: rgba(16, 185, 129, 0.08);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.changelog-entry {
    padding: 1.4rem 1.5rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.changelog-entry-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.changelog-version-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.changelog-version {
    margin: 0 !important;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.release-badge {
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.42);
    color: #a7f3d0;
    font-size: 0.72rem;
    font-weight: 700;
}

.changelog-date {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.changelog-summary {
    color: var(--text-secondary);
    margin-bottom: 0.9rem;
}

@media (max-width: 780px) {
    .win-install-columns {
        grid-template-columns: minmax(0, 1fr);
    }
}
