/* Vidyant Classes — Master Editorial & Study OS Stylesheet */
    :root {
      --bg-app: #f8fafc;
      --bg-surface: #ffffff;
      --bg-subtle: #f1f5f9;
      --bg-nav: rgba(255, 255, 255, 0.96);
      --text-primary: #0f172a;
      --text-secondary: #334155;
      --text-muted: #475569;
      --border-light: #e2e8f0;
      --border-bottom-3d: #cbd5e1;
      --primary: #2563eb;
      --primary-dark: #1d4ed8;
      --primary-soft: #eff6ff;
      --accent-amber: #d97706;
      --accent-amber-soft: #fffbeb;
      --accent-emerald: #059669;
      --accent-emerald-soft: #ecfdf5;
      --accent-rose: #dc2626;
      --accent-rose-soft: #fef2f2;
      --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
      --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.03);
      --shadow-elevated: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

      /* 2026 Motion & Micro-Interaction Tokens */
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
      --ease-spring-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
      --ease-in-out-morph: cubic-bezier(0.65, 0, 0.35, 1);
      --spotlight-color: rgba(37, 99, 235, 0.07);
      --spotlight-border: rgba(37, 99, 235, 0.32);

      /* Editorial & Marketing Tokens (Oxbridge Editorial + Modern Research OS) */
      --font-display-stack: 'Newsreader', Georgia, serif;
      --font-body-stack: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-mono: 'Outfit', 'Plus Jakarta Sans', sans-serif;
      --background: #faf8f5;
      --foreground: #0f172a;
      --muted: #475569;
      --surface: #f3f0ea;
      --surface-deep: #e6e1d6;
      --card: #ffffff;
      --card-border: #e2ddd5;
      --accent: #1e3a8a;
      --accent-hover: #172554;
      --accent-soft: #eff6ff;
      --cta: #1d4ed8;
      --cta-hover: #1e40af;
      --on-cta: #ffffff;
      --gold: #d97706;
      --gold-soft: #fef3c7;
      --gold-bright: #fbbf24;
      --highlight: #f59e0b;
      --marigold: #1d4ed8;
      --saffron: #1d4ed8;
      --ink-dark: #0f172a;
      --on-dark: #f8fafc;
      --offer-from: #f8fafc;
      --offer-via: #eff6ff;
      --offer-to: #ffffff;
      --shadow-rgb: 15, 23, 42;
      --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.07);
      --shadow-tight: 0 2px 8px rgba(15, 23, 42, 0.05);
      --header-h: 3.5rem;
      --sticky-height: 4.75rem;
      --safe-bottom: env(safe-area-inset-bottom, 0px);
      --text-hero: clamp(2.25rem, 4.8vw, 3.45rem);
      --text-h1: clamp(2.25rem, 4.5vw, 3.45rem);
      --text-h2: clamp(1.85rem, 3.2vw, 2.65rem);
      --text-h3: clamp(1.3rem, 2.1vw, 1.65rem);
      --text-lead: clamp(1rem, 1.4vw, 1.12rem);
      --text-eyebrow: 0.72rem;
      --leading-tight: 1.12;
      --leading-snug: 1.32;
      --leading-body: 1.62;
      --tracking-display: -0.022em;
      --tracking-eyebrow: 0.14em;
    }

    html {
      scroll-padding-top: 4.5rem;
      scroll-behavior: smooth;
    }

    html.theme-sepia {
      --bg-app: #f6f1e7;
      --bg-surface: #fdfaf3;
      --bg-subtle: #efe8d8;
      --bg-nav: rgba(253, 250, 243, 0.96);
      --text-primary: #2c221e;
      --text-secondary: #4a3b32;
      --text-muted: #6e5a4f;
      --border-light: #e2d7c3;
      --border-bottom-3d: #cbbba0;
      --primary: #2563eb;
      --primary-dark: #1d4ed8;
      --primary-soft: #e6effd;

      /* Editorial overrides for Sepia */
      --background: #f6f1e7;
      --foreground: #1e293b;
      --muted: #57534e;
      --surface: #efe8d8;
      --surface-deep: #e4dbc6;
      --card: #fdfaf3;
      --card-border: #e2d7c3;
      --accent: #1e3a8a;
      --accent-hover: #172554;
      --accent-soft: #e6effd;
      --cta: #1d4ed8;
      --cta-hover: #1e40af;
      --on-cta: #ffffff;
      --gold: #b45309;
      --gold-soft: #fef3c7;
      --gold-bright: #fbbf24;
    }

    html.theme-dark {
      --bg-app: #0D0C0B;
      --bg-surface: #171411;
      --bg-subtle: #1F1C18;
      --bg-nav: rgba(13, 12, 11, 0.94);
      --text-primary: #F5F2EB;
      --text-secondary: #B8B0A4;
      --text-muted: #7E776C;
      --border-light: rgba(255, 248, 235, 0.08);
      --border-bottom-3d: #0D0C0B;
      --primary: #3b82f6;
      --primary-dark: #2563eb;
      --primary-soft: rgba(59, 130, 246, 0.15);
      --accent-amber: #f59e0b;
      --accent-amber-soft: rgba(245, 158, 11, 0.15);
      --accent-emerald: #10b981;
      --accent-emerald-soft: rgba(16, 185, 129, 0.15);
      --accent-rose: #ef4444;
      --accent-rose-soft: rgba(239, 68, 68, 0.15);
      --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
      --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.35);
      --shadow-elevated: 0 12px 30px rgba(0, 0, 0, 0.5);
      --spotlight-color: rgba(212, 175, 102, 0.12);
      --spotlight-border: rgba(212, 175, 102, 0.38);

      /* Editorial overrides for Dark Mode */
      --background: #0D0C0B;
      --foreground: #F5F2EB;
      --muted: #B8B0A4;
      --surface: #171411;
      --surface-deep: #1F1C18;
      --card: #181614;
      --card-border: rgba(255, 248, 235, 0.10);
      --accent: #E2BE78;
      --accent-hover: #F5F2EB;
      --accent-soft: rgba(212, 175, 102, 0.14);
      --cta: #D4AF66;
      --cta-hover: #E2BE78;
      --on-cta: #141210;
      --gold: #D4AF66;
      --gold-soft: rgba(212, 175, 102, 0.15);
      --gold-bright: #E2BE78;
      --highlight: #D4AF66;
      --marigold: #D4AF66;
      --saffron: #D4AF66;
      --ink-dark: #0D0C0B;
      --on-dark: #F5F2EB;
      --offer-from: #181614;
      --offer-via: #1F1C18;
      --offer-to: #141210;
      --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.42);
      --shadow-tight: 0 2px 8px rgba(0, 0, 0, 0.32);
    }

    * {
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: var(--bg-app);
      color: var(--text-primary);
      margin: 0;
      padding: 0;
      min-height: 100vh;
      overflow-x: hidden;
    }

    html.theme-dark select option {
      background-color: #141210;
      color: #F5F2EB;
    }
    html.theme-light select option,
    html.theme-sepia select option {
      background-color: #ffffff;
      color: #0f172a;
    }

    @layer components {
      /* Safety fallback so any gradient surface with white text always has a rich dark base color */
      .bg-gradient-to-r.text-white,
      .bg-gradient-to-br.text-white {
        background-color: #1e293b;
      }

      .font-serif-heading {
        font-family: 'Newsreader', Georgia, serif;
      }

      .font-mono-num {
        font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      }

      .app-header {
        background-color: var(--bg-nav);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-light);
      }

      .app-card {
        background-color: var(--bg-surface);
        color: var(--text-primary);
        border: 1px solid var(--border-light);
        box-shadow: var(--shadow-card);
        border-radius: 1rem;
      }

      .tactile-row {
        background-color: var(--bg-surface);
        color: var(--text-primary);
        border: 1px solid var(--border-light);
        border-bottom: 3px solid var(--border-bottom-3d);
        border-radius: 16px;
        transition: transform 0.12s ease, border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
        cursor: pointer;
        user-select: none;
      }

      .tactile-row:hover {
        border-color: var(--primary);
        transform: translateY(-1.5px);
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
      }

      .tactile-row:active {
        transform: translateY(2px);
        border-bottom-width: 1px;
      }

      .era-card-accent {
        border-left: 4px solid #2563eb !important;
      }

      .btn-tactile-primary {
        background-color: var(--primary);
        color: #ffffff;
        border-bottom: 3px solid var(--primary-dark);
        border-radius: 12px;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
        transition: all 0.12s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
      }
      .btn-tactile-primary:hover {
        filter: brightness(1.06);
        transform: translateY(-1px);
      }
      .btn-tactile-primary:active {
        transform: translateY(2px);
        border-bottom-width: 1px;
      }

      .btn-tactile-emerald {
        background-color: #059669;
        color: #ffffff;
        border-bottom: 3px solid #047857;
        border-radius: 12px;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
        transition: all 0.12s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
      }

      .btn-tactile-rose {
        background-color: #dc2626;
        color: #ffffff;
        border-bottom: 3px solid #b91c1c;
        border-radius: 12px;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
        transition: all 0.12s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
      }

      .btn-tactile-dark {
        background-color: #0f172a;
        color: #ffffff;
        border-bottom: 3px solid #020617;
        border-radius: 9999px;
        font-weight: 700;
        transition: all 0.12s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
      }

      .hero-card-navy {
        background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
        border-radius: 20px;
        padding: 20px;
        color: #ffffff;
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.18);
      }

      .hero-card-indigo {
        background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
        border-radius: 20px;
        padding: 20px;
        color: #ffffff;
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 10px 25px -5px rgba(49, 46, 129, 0.22);
      }

      .hero-card-violet {
        background: linear-gradient(135deg, #2e1065 0%, #4c1d95 100%);
        border-radius: 20px;
        padding: 20px;
        color: #ffffff;
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 10px 25px -5px rgba(76, 29, 149, 0.22);
      }

      .badge-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 11px;
        border-radius: 9999px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
      }

      html.theme-dark .badge-eyebrow {
        background: rgba(59, 130, 246, 0.16);
        color: #93c5fd;
        border: 1px solid rgba(96, 165, 250, 0.3);
      }

      .hero-card-navy .badge-eyebrow,
      .hero-card-indigo .badge-eyebrow,
      .hero-card-violet .badge-eyebrow {
        background: rgba(255, 255, 255, 0.12);
        color: #93c5fd;
        border: 1px solid rgba(255, 255, 255, 0.18);
      }

      .badge-dot-blue {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #3b82f6;
      }

      .surface-subtle {
        background-color: var(--bg-subtle);
        color: var(--text-primary);
      }

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

      .text-muted-c {
        color: var(--text-muted);
      }
    }

    /* Timeline Spine for Page 1 & Page 15 */
    .timeline-spine-wrap {
      position: relative;
      padding-left: 26px;
    }
    .timeline-spine-wrap::before {
      content: '';
      position: absolute;
      left: 9px;
      top: 18px;
      bottom: 18px;
      width: 2px;
      background: #bfdbfe;
    }
    html.theme-dark .timeline-spine-wrap::before {
      background: #1e3a8a;
    }
    .timeline-node-dot {
      position: absolute;
      left: -26px;
      top: 18px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #ffffff;
      border: 2.5px solid #2563eb;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
    }
    .timeline-node-dot::after {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #2563eb;
    }

    /* Docked Action Footer (Pages 5–16) */
    .page-docked-footer {
      position: sticky;
      bottom: 58px;
      z-index: 30;
      background: var(--bg-nav);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--border-light);
      box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
      border-radius: 1rem;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    @media (max-width: 767px) {
      .page-docked-footer {
        bottom: 58px;
      }
      body.mobile-nav-hidden .page-docked-footer {
        bottom: 0;
      }
    }
    @media (min-width: 768px) {
      .page-docked-footer {
        bottom: 16px;
      }
    }

    #app-main-shell {
      padding-bottom: 7rem;
    }
    @media (min-width: 768px) {
      #app-main-shell {
        padding-bottom: 4rem;
      }
    }

    /* Two-Shell Layout Rules (Shell A Marketing vs Shell B Workspace) */
    #top-announcement-bar {
      display: none !important;
    }
    body.mobile-nav-hidden #app-main-shell {
      padding-bottom: 1.5rem !important;
    }
    body.mobile-nav-hidden {
      padding-bottom: 0 !important;
    }
    body.shell-workspace #vidyant-global-compliance-footer {
      display: none !important;
    }
    html.theme-light body.shell-marketing,
    body.shell-marketing {
      background-color: var(--bg-canvas, var(--background));
      background-image: var(--canvas-mesh);
      background-attachment: fixed;
      color: var(--text-primary, var(--foreground));
      transition: background-color 0.22s ease, color 0.22s ease;
    }
    body.shell-marketing header.app-header {
      background: var(--bg-header, rgba(243, 239, 230, 0.84)) !important;
      backdrop-filter: blur(20px) saturate(165%);
      -webkit-backdrop-filter: blur(20px) saturate(165%);
      border-bottom: 1px solid var(--border-hairline, var(--card-border)) !important;
    }
    html.theme-sepia body.shell-marketing header.app-header {
      background: rgba(246, 241, 231, 0.90) !important;
    }
    html.theme-dark body.shell-marketing header.app-header {
      background: var(--bg-header, rgba(13, 12, 11, 0.82)) !important;
      border-bottom: 1px solid var(--border-hairline, rgba(255, 248, 235, 0.08)) !important;
    }
    body.shell-marketing #header-student-btn,
    body.shell-marketing #dashboard-desktop-nav {
      display: none !important;
    }
    body.shell-workspace #header-open-app-btn,
    body.shell-workspace #marketing-desktop-nav {
      display: none !important;
    }
    body.shell-marketing #header-open-app-btn {
      background: var(--btn-bg, #161412);
      color: var(--btn-text, #FAF8F4);
      border: 1px solid var(--btn-border, rgba(212, 175, 102, 0.45));
      border-radius: 999px;
      padding-left: 1rem;
      padding-right: 1rem;
      box-shadow: 0 4px 12px -2px rgba(20, 18, 16, 0.22);
    }
    body.shell-marketing #header-open-app-btn:hover {
      background: #23201C;
      color: #ffffff;
    }
    html.theme-dark body.shell-marketing #header-open-app-btn {
      background: #D4AF66;
      color: #141210;
      border-color: #E5C378;
      box-shadow: 0 4px 14px -2px rgba(212, 175, 102, 0.28);
    }
    html.theme-dark body.shell-marketing #header-open-app-btn:hover {
      background: #E2BE78;
      color: #141210;
    }
    body.shell-marketing #global-search-box,
    body.shell-marketing #mobile-search-trigger-btn,
    body.shell-marketing #header-pricing-btn {
      display: none !important;
    }
    body.shell-marketing #app-main-shell:has(.hero-stage) {
      max-width: none;
      padding-inline: 0;
      padding-top: 0;
    }
    body.shell-marketing #app-viewport:has(.hero-stage) > :not([hidden]) ~ :not([hidden]) {
      margin-top: 0;
    }

    /* ===================================================================== */
    /* EDITORIAL DESIGN SYSTEM & FULL-BLEED NON-CARD PRIMITIVES              */
    /* ===================================================================== */
    .container-page {
      width: min(100% - 1.5rem, 44rem);
      margin-inline: auto;
    }
    @media (min-width: 768px) {
      .container-page {
        width: min(100% - 2.5rem, 48rem);
      }
    }
    @media (min-width: 1024px) {
      .container-page {
        width: min(100% - 3.5rem, 74rem);
      }
    }
    @media (min-width: 1400px) {
      .container-page {
        width: min(100% - 4.5rem, 80rem);
      }
    }
    .container-narrow {
      width: min(100% - 1.25rem, 42rem);
      margin-inline: auto;
    }
    @media (min-width: 1024px) {
      .container-narrow {
        width: min(100% - 3.5rem, 40rem);
      }
    }
    .section-space {
      padding-block: clamp(2.5rem, 4.8vw, 5rem);
    }
    .display-font {
      font-family: var(--font-display-stack);
      letter-spacing: -0.02em;
      font-weight: 600;
    }
    h1.display-font, .mkt-h1 {
      font-family: var(--font-display-stack);
      font-size: clamp(2.25rem, 4.5vw, 3.45rem);
      line-height: 1.08;
      letter-spacing: -0.025em;
      font-weight: 600;
    }
    h2.display-font, .mkt-h2 {
      font-family: var(--font-display-stack);
      font-size: clamp(1.85rem, 3.2vw, 2.65rem);
      line-height: 1.12;
      letter-spacing: -0.022em;
      font-weight: 600;
      color: var(--foreground);
    }
    .on-dark-band h2.display-font, .on-dark-band .mkt-h2 {
      color: var(--on-dark);
    }
    h3.display-font, .mkt-h3, .syllabus-detail-title {
      font-family: var(--font-display-stack);
      font-size: clamp(1.3rem, 2.1vw, 1.65rem);
      line-height: 1.2;
      letter-spacing: -0.018em;
      font-weight: 600;
    }
    .section-eyebrow {
      font-size: 0.72rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gold);
      font-weight: 800;
      margin: 0;
    }
    .section-lead {
      max-width: 38rem;
      font-size: clamp(1rem, 1.4vw, 1.12rem);
      line-height: 1.6;
      color: var(--muted);
      margin-top: 0.5rem;
    }
    .instructor-overlay,
    .instructor-overlay :is(h1, h2, h3, h4) {
      color: var(--on-dark);
      text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
    }

    /* CTA Shimmer & Pulse Buttons */
    .cta-brown {
      background-color: var(--cta);
      background-image: linear-gradient(110deg, transparent 36%, var(--gold-bright) 50%, transparent 64%);
      color: var(--on-cta);
      letter-spacing: 0.01em;
      box-shadow: var(--shadow-soft);
      background-position: 130%;
      background-repeat: no-repeat;
      background-size: 240% 100%;
      border-radius: 0.85rem;
      font-weight: 800;
      transition: transform 0.22s, background-color 0.2s, box-shadow 0.22s;
      animation: 5.2s ease-in-out infinite cta-shimmer;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .cta-brown {
        background-image: linear-gradient(110deg, transparent 36%, color-mix(in srgb, var(--gold-bright) 28%, transparent) 50%, transparent 64%);
      }
    }
    .cta-brown:hover {
      background-color: var(--cta-hover);
      transform: scale(1.03);
    }
    .cta-brown:active {
      transform: scale(0.985);
    }
    .cta-brown .text-highlight {
      color: var(--gold-bright);
    }
    .cta-gold {
      background-color: var(--highlight);
      background-image: linear-gradient(110deg, transparent 36%, var(--gold-bright) 50%, transparent 64%);
      background-position: 130%;
      background-repeat: no-repeat;
      background-size: 240% 100%;
      transition: transform 0.22s, box-shadow 0.22s;
      animation: 5.2s ease-in-out infinite cta-shimmer;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .cta-gold {
        background-image: linear-gradient(110deg, transparent 36%, color-mix(in srgb, var(--gold-bright) 42%, transparent) 50%, transparent 64%);
      }
    }
    .cta-gold:hover {
      transform: scale(1.03);
    }
    .cta-gold:active {
      transform: scale(0.985);
    }
    .price-strike {
      opacity: 0.6;
      font-weight: 600;
      text-decoration: line-through;
    }
    .sticky-cta-space {
      padding-bottom: calc(var(--sticky-height) + var(--safe-bottom) + 1.5rem);
    }
    @media (min-width: 1024px) {
      .sticky-cta-space {
        padding-bottom: 0;
      }
    }
    .reveal {
      opacity: 0;
      transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
      transform: translateY(22px);
    }
    .reveal-in {
      opacity: 1;
      transform: translateY(0);
    }
    .cta-pulse {
      animation: 2.8s ease-in-out infinite cta-pulse, 5.2s ease-in-out infinite cta-shimmer;
    }
    @keyframes cta-pulse {
      0%, to {
        box-shadow: 0 8px 20px color-mix(in srgb, var(--cta) 20%, transparent);
      }
      50% {
        box-shadow: 0 12px 28px color-mix(in srgb, var(--highlight) 26%, transparent), 0 0 0 3px color-mix(in srgb, var(--gold) 16%, transparent);
      }
    }
    @keyframes cta-shimmer {
      0%, 58% {
        background-position: 130%;
      }
      78%, to {
        background-position: -30%;
      }
    }
    .cta-pop {
      animation: 0.6s cubic-bezier(0.34, 1.45, 0.64, 1) both cta-pop;
    }
    .cta-pulse.cta-pop {
      animation: 0.6s cubic-bezier(0.34, 1.45, 0.64, 1) both cta-pop, 2.8s ease-in-out 0.6s infinite cta-pulse, 5.2s ease-in-out 0.6s infinite cta-shimmer;
    }
    @keyframes cta-pop {
      0% {
        opacity: 0;
        translate: 0 18px;
        scale: 0.96;
      }
      to {
        opacity: 1;
        translate: 0;
        scale: 1;
      }
    }
    .price-pop {
      animation: 2.8s ease-in-out infinite price-pop;
    }
    @keyframes price-pop {
      0%, to {
        text-shadow: 0 0 transparent;
        transform: scale(1);
      }
      50% {
        text-shadow: 0 0 14px color-mix(in srgb, var(--gold) 32%, transparent);
        transform: scale(1.035);
      }
    }
    .seats-shimmer {
      isolation: isolate;
      position: relative;
      overflow: hidden;
    }
    .seats-shimmer:after {
      content: "";
      pointer-events: none;
      background: linear-gradient(110deg, transparent 32%, var(--gold-bright) 50%, transparent 68%);
      position: absolute;
      inset: 0;
      z-index: 1;
      animation: 6.8s ease-in-out infinite seats-sheen;
      transform: translate(-130%);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .seats-shimmer:after {
        background: linear-gradient(110deg, transparent 32%, color-mix(in srgb, var(--gold-bright) 20%, transparent) 50%, transparent 68%);
      }
    }
    @keyframes seats-sheen {
      0%, 52% {
        transform: translate(-130%);
      }
      78%, to {
        transform: translate(130%);
      }
    }
    .offer-glow {
      background: linear-gradient(145deg, var(--offer-from), var(--offer-via) 55%, var(--offer-to));
      border: 2px solid var(--marigold);
      box-shadow: 0 0 0 4px var(--gold), var(--shadow-soft);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .offer-glow {
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 14%, transparent), var(--shadow-soft);
      }
    }

    /* Primitive 1 — Hero Split Stage & Gold-Framed Live OS Screen */
    .hero-stage {
      position: relative;
    }
    .hero-intro {
      gap: 1.25rem;
      display: grid;
    }
    .hero-portrait {
      background: var(--ink-dark);
      border-radius: 1.35rem;
      min-height: 22rem;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(217, 119, 6, 0.35);
      box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
    }
    .hero-portrait-meta {
      color: var(--on-dark);
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.90) 100%);
      border-top: 1px solid rgba(217, 119, 6, 0.24);
      padding: 0.95rem 1.25rem;
      margin: 0.5rem -1.5rem -1.5rem;
      position: relative;
      z-index: 2;
    }
    .hero-portrait-meta p:first-child {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--gold-bright);
      margin: 0;
    }
    .hero-portrait-meta p:last-child {
      opacity: 0.85;
      margin: 0.15rem 0 0;
      font-size: 0.76rem;
      font-weight: 600;
    }
    .hero-copy {
      text-align: left;
    }
    .hero-kicker {
      background: var(--cta);
      color: var(--on-cta);
      font-size: var(--text-eyebrow);
      letter-spacing: var(--tracking-eyebrow);
      text-transform: uppercase;
      border-radius: 999px;
      padding: 0.35rem 0.9rem;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }
    .hero-title {
      font-family: var(--font-display-stack);
      letter-spacing: var(--tracking-display);
      color: var(--accent);
      font-size: var(--text-hero);
      line-height: var(--leading-tight);
      font-weight: 600;
      margin-top: 0.75rem;
    }
    .hero-main-cta {
      margin-top: 1.15rem;
    }
    .hero-facts {
      grid-template-columns: 1fr 1fr;
      gap: 0.65rem;
      margin-top: 1.15rem;
      display: grid;
    }
    .hero-fact {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 0.9rem;
      margin: 0;
      padding: 0.7rem 0.8rem;
    }
    .hero-fact dt {
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
      font-size: 0.68rem;
      font-weight: 800;
    }
    .hero-fact dd {
      color: var(--accent);
      margin: 0.25rem 0 0;
      font-size: 1.02rem;
      font-weight: 800;
    }
    .hero-lang {
      color: var(--muted);
      margin-top: 0.75rem;
      font-size: 0.78rem;
      font-weight: 800;
    }
    .hero-screen {
      background: linear-gradient(160deg, var(--gold-bright), var(--gold) 48%, var(--gold));
      border-radius: 1.35rem;
      margin-top: 1.35rem;
      padding: 5px;
      box-shadow: 0 22px 48px var(--accent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hero-screen {
        background: linear-gradient(160deg, var(--gold-bright), var(--gold) 48%, color-mix(in srgb, var(--gold) 70%, var(--accent)));
        box-shadow: 0 22px 48px color-mix(in srgb, var(--accent) 14%, transparent);
      }
    }
    .hero-screen-shade {
      background: linear-gradient(rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.45) 100%);
      position: absolute;
      inset: 0;
    }
    .hero-screen-play {
      z-index: 1;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 0.75rem;
      display: flex;
      position: absolute;
      inset: 0;
    }
    .hero-play-btn {
      width: 4.25rem;
      height: 4.25rem;
      color: var(--accent);
      background: #fff;
      border-radius: 999px;
      justify-content: center;
      align-items: center;
      font-size: 1.35rem;
      display: flex;
      box-shadow: 0 0 0 8px #ffffff2e, 0 16px 32px #00000047;
    }
    .hero-play-label {
      color: #fff;
      text-shadow: 0 1px 8px #00000073;
      font-size: 0.82rem;
      font-weight: 800;
    }
    @media (min-width: 1024px) {
      .hero-intro {
        grid-template-columns: 0.92fr 1.08fr;
        align-items: stretch;
        gap: 2.25rem;
      }
      .hero-portrait {
        min-height: 32rem;
      }
      .hero-facts {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    /* Marketing Hero (.mkt-hero) — centred editorial hero above the video slot */
    .mkt-hero {
      padding-top: clamp(2.5rem, 6vw, 5rem);
      padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    }
    .mkt-hero-copy {
      max-width: 46rem;
      margin: 0 auto;
      text-align: center;
    }
    .mkt-eyebrow {
      margin: 0;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
    }
    .mkt-hero-title {
      margin: 1rem 0 0;
      font-family: var(--font-display-stack);
      font-size: clamp(2.25rem, 5.4vw, 4rem);
      line-height: 1.06;
      letter-spacing: -0.028em;
      font-weight: 500;
      color: var(--foreground);
    }
    .mkt-hero-title em,
    .mkt-hero-title-sub {
      display: block;
      margin-top: 0.12em;
      font-style: italic;
      font-size: 0.88em;
      font-weight: 500;
      color: var(--accent);
    }
    .mkt-hero-lead {
      max-width: 42rem;
      margin: 1rem auto 0;
      font-size: clamp(1rem, 1.4vw, 1.12rem);
      line-height: 1.55;
      color: var(--muted);
    }
    .mkt-hero-actions {
      margin-top: 1.75rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.75rem;
    }
    .mkt-btn {
      min-height: 3rem;
      padding: 0 1.4rem;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-size: 0.95rem;
      font-weight: 700;
      white-space: nowrap;
      transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s var(--ease-out-expo), box-shadow 0.18s ease;
    }
    .mkt-btn svg {
      width: 0.95rem;
      height: 0.95rem;
    }
    .mkt-btn-primary {
      background: var(--cta);
      color: var(--on-cta);
      box-shadow: 0 8px 22px -8px rgba(29, 78, 216, 0.45);
    }
    html.theme-dark .mkt-btn-primary {
      background: #D4AF66;
      color: #141210;
      border: 1px solid #E5C378;
      box-shadow: 0 8px 22px -8px rgba(212, 175, 102, 0.35);
    }
    .mkt-btn-primary:hover {
      background: var(--cta-hover);
      transform: translateY(-1px);
    }
    html.theme-dark .mkt-btn-primary:hover {
      background: #E2BE78;
      color: #141210;
    }
    .mkt-btn-ghost {
      background: var(--card);
      color: var(--foreground);
      border: 1px solid var(--card-border);
    }
    .mkt-btn-ghost:hover {
      border-color: var(--foreground);
    }
    .mkt-hero-note {
      margin: 0.9rem 0 0;
      font-size: 0.78rem;
      color: var(--muted);
    }
    .mkt-hero-video {
      max-width: 68rem;
      margin: clamp(1.65rem, 3.5vw, 2.5rem) auto 0;
    }
    .mkt-stats {
      max-width: 68rem;
      margin: clamp(1.35rem, 2.8vw, 2rem) auto 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      row-gap: 1.15rem;
      background: var(--card);
      border: 1px solid var(--card-border);
      border-top: 2.5px solid var(--gold);
      border-radius: 1.15rem;
      padding: 1.1rem 0.5rem;
      box-shadow: var(--shadow-tight);
    }
    .mkt-stats > div {
      margin: 0;
      text-align: center;
      padding: 0 0.65rem;
    }
    .mkt-stats > div:nth-child(odd) {
      border-right: 1px solid var(--card-border);
    }
    .mkt-stats dt {
      order: 2;
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--muted);
      margin-top: 0.2rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .mkt-stats dd {
      margin: 0;
      font-family: var(--font-display-stack);
      font-size: clamp(1.6rem, 3vw, 2.1rem);
      font-weight: 500;
      letter-spacing: -0.02em;
      color: var(--foreground);
      line-height: 1.1;
    }
    .mkt-stats > div {
      display: flex;
      flex-direction: column;
    }
    @media (min-width: 640px) {
      .mkt-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
      .mkt-stats > div:nth-child(odd) {
        border-right: 0;
      }
      .mkt-stats > div:not(:last-child) {
        border-right: 1px solid var(--card-border);
      }
    }
    @media (max-width: 420px) {
      .mkt-btn {
        width: 100%;
      }
    }

    /* Marketing sections — shared rhythm, heads, steps, pricing, mobile bar */
    .mkt-section {
      padding-block: clamp(2.25rem, 4.5vw, 4.25rem);
    }
    #vault-mistakes {
      padding-top: 0.5rem;
    }
    .mkt-section-head {
      max-width: 40rem;
      margin-bottom: clamp(1.5rem, 3vw, 2.35rem);
    }
    .mkt-section-head.is-center {
      margin-inline: auto;
      text-align: center;
    }
    .mkt-h2 {
      margin: 0.65rem 0 0;
      font-family: var(--font-display-stack);
      font-size: clamp(1.9rem, 3.6vw, 2.75rem);
      line-height: 1.1;
      letter-spacing: -0.024em;
      font-weight: 500;
      color: var(--foreground);
    }
    .mkt-section-lead {
      margin: 0.85rem 0 0;
      font-size: 1.02rem;
      line-height: 1.6;
      color: var(--muted);
    }

    /* How it works — 4 numbered steps separated by hairlines, no boxes */
    .mkt-steps {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: 1fr;
      border-top: 1px solid var(--card-border);
    }
    .mkt-step {
      padding: 1.6rem 0;
      border-bottom: 1px solid var(--card-border);
      display: grid;
      grid-template-columns: 2.75rem 1fr;
      column-gap: 1rem;
      align-items: start;
    }
    .mkt-step-icon {
      grid-row: span 3;
      width: 2.75rem;
      height: 2.75rem;
      border-radius: 0.8rem;
      display: grid;
      place-items: center;
      color: var(--accent);
      background: var(--accent-soft);
    }
    .mkt-step-icon svg {
      width: 1.3rem;
      height: 1.3rem;
    }
    .mkt-step-num {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      color: var(--muted);
    }
    .mkt-step-title {
      margin: 0.2rem 0 0;
      font-family: var(--font-display-stack);
      font-size: 1.35rem;
      font-weight: 500;
      letter-spacing: -0.015em;
      line-height: 1.2;
      color: var(--foreground);
    }
    .mkt-step-body {
      margin: 0.45rem 0 0;
      font-size: 0.95rem;
      line-height: 1.55;
      color: var(--muted);
    }
    @media (min-width: 768px) {
      .mkt-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-bottom: 1px solid var(--card-border);
      }
      .mkt-step {
        grid-template-columns: 1fr;
        padding: 2rem 2rem 2.25rem 0;
        border-bottom: 0;
      }
      .mkt-step:nth-child(odd) {
        border-right: 1px solid var(--card-border);
      }
      .mkt-step:nth-child(even) {
        padding-left: 2rem;
      }
      .mkt-step:nth-child(-n + 2) {
        border-bottom: 1px solid var(--card-border);
      }
      .mkt-step-icon {
        grid-row: auto;
        margin-bottom: 1.25rem;
      }
    }
    @media (min-width: 1024px) {
      .mkt-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
      .mkt-step,
      .mkt-step:nth-child(even) {
        padding: 2.25rem 1.75rem 2.5rem;
        border-bottom: 0 !important;
      }
      .mkt-step:first-child {
        padding-left: 0;
      }
      .mkt-step:last-child {
        padding-right: 0;
      }
      .mkt-step:nth-child(odd),
      .mkt-step:nth-child(even) {
        border-right: 1px solid var(--card-border);
      }
      .mkt-step:last-child {
        border-right: 0;
      }
    }

    /* Pricing — three exam-cycle passes, featured June 2027 pass in obsidian */
    .mkt-plans {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
      max-width: 72rem;
      margin: 0 auto;
    }
    @media (min-width: 900px) {
      .mkt-plans {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
        align-items: stretch;
      }
    }
    .mkt-plan {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 1.25rem;
      padding: 1.75rem;
      display: flex;
      flex-direction: column;
    }
    .mkt-plan.is-featured {
      background: var(--ink-dark);
      border-color: var(--ink-dark);
      color: var(--on-dark);
      box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.45);
    }
    .mkt-plan-name {
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      font-size: 0.95rem;
      font-weight: 700;
      color: inherit;
    }
    .mkt-plan-badge {
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
      font-size: 0.68rem;
      font-weight: 700;
      background: rgba(147, 197, 253, 0.16);
      color: #bfdbfe;
    }
    .mkt-plan-badge.is-subtle {
      background: var(--gold-soft);
      color: var(--accent);
      border: 1px solid rgba(217, 119, 6, 0.35);
    }
    .mkt-plan-price {
      margin: 1.1rem 0 0;
      display: flex;
      align-items: baseline;
      gap: 0.6rem;
    }
    .mkt-plan-price span {
      font-family: var(--font-display-stack);
      font-size: 2.75rem;
      font-weight: 500;
      letter-spacing: -0.03em;
      line-height: 1;
    }
    .mkt-plan-price s {
      font-size: 0.9rem;
      color: var(--muted);
    }
    .mkt-plan.is-featured .mkt-plan-price s,
    .mkt-plan.is-featured .mkt-plan-term {
      color: rgba(248, 250, 252, 0.6);
    }
    .mkt-plan-term {
      margin: 0.4rem 0 0;
      font-size: 0.82rem;
      color: var(--muted);
    }
    .mkt-plan-list {
      list-style: none;
      margin: 1.4rem 0 1.6rem;
      padding: 1.25rem 0 0;
      border-top: 1px solid var(--card-border);
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      flex: 1;
    }
    .mkt-plan.is-featured .mkt-plan-list {
      border-top-color: rgba(255, 255, 255, 0.12);
    }
    .mkt-plan-list li {
      position: relative;
      padding-left: 1.6rem;
      font-size: 0.92rem;
      line-height: 1.45;
    }
    .mkt-plan-list li::before {
      content: "";
      position: absolute;
      left: 0.15rem;
      top: 0.3rem;
      width: 0.75rem;
      height: 0.42rem;
      border-left: 2px solid var(--cta);
      border-bottom: 2px solid var(--cta);
      transform: rotate(-45deg);
    }
    .mkt-plan.is-featured .mkt-plan-list li::before {
      border-color: #93c5fd;
    }
    .mkt-plan-btn {
      width: 100%;
    }
    .mkt-btn-outline {
      background: transparent;
      color: var(--foreground);
      border: 1px solid var(--foreground);
    }
    .mkt-btn-outline:hover {
      background: var(--foreground);
      color: var(--background);
    }
    .mkt-plans-note {
      margin: 1.5rem 0 0;
      text-align: center;
      font-size: 0.8rem;
      color: var(--muted);
    }

    /* Mobile sticky purchase bar (marketing only — floating dark obsidian dock) */
    .mkt-mobile-bar {
      position: fixed;
      inset-inline: 0.75rem;
      bottom: calc(0.6rem + var(--safe-bottom));
      z-index: 45;
      background: rgba(20, 18, 16, 0.96);
      -webkit-backdrop-filter: blur(16px);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(212, 175, 102, 0.34);
      border-radius: 1rem;
      box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.65);
      opacity: 0;
      pointer-events: none;
      transform: translateY(130%);
      transition: opacity 0.26s ease, transform 0.3s var(--ease-out-expo);
    }
    .mkt-mobile-bar.is-visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
    .mkt-mobile-bar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.65rem;
      padding: 0.5rem 0.65rem 0.5rem 0.9rem;
    }
    .mkt-mobile-bar-copy {
      min-width: 0;
      flex: 1 1 auto;
    }
    .mkt-mobile-bar-price {
      margin: 0;
      font-family: var(--font-display-stack);
      font-size: 1.02rem;
      font-weight: 600;
      color: #F5F2EB;
      line-height: 1.15;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .mkt-mobile-bar-price span {
      font-family: var(--font-body-stack);
      font-size: 0.72rem;
      font-weight: 600;
      color: rgba(245, 242, 235, 0.72);
    }
    .mkt-mobile-bar-sub {
      margin: 0.1rem 0 0;
      font-size: 0.66rem;
      color: #E2BE78;
      font-weight: 600;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .mkt-mobile-bar .mkt-btn {
      min-height: 2.35rem;
      width: auto;
      flex-shrink: 0;
      white-space: nowrap;
      padding: 0 1rem;
      font-size: 0.78rem;
      background: #D4AF66;
      color: #141210;
      border: 1px solid #E5C378;
      box-shadow: 0 6px 16px -4px rgba(212, 175, 102, 0.38);
    }
    @media (min-width: 1024px) {
      .mkt-mobile-bar {
        display: none;
      }
    }
    @media (max-width: 1023px) {
      body.shell-marketing.mobile-nav-hidden {
        padding-bottom: 0 !important;
      }
      body.shell-marketing .sticky-cta-space {
        padding-bottom: 0;
      }
    }

    /* Editorial colour harmony (Warm Parchment + Deep Obsidian + Antique Gold + Royal Cobalt) */
    body.shell-marketing .mkt-eyebrow,
    body.shell-marketing .section-eyebrow,
    body.shell-marketing .syllabus-kicker,
    body.shell-marketing .faq-group-label {
      color: #92400e;
    }
    html.theme-dark body.shell-marketing .mkt-eyebrow,
    html.theme-dark body.shell-marketing .section-eyebrow,
    html.theme-dark body.shell-marketing .syllabus-kicker,
    html.theme-dark body.shell-marketing .faq-group-label {
      color: #fbbf24;
    }
    body.shell-marketing .syllabus-class-when {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--muted);
    }
    body.shell-marketing .faq-group-label:after {
      background: rgba(217, 119, 6, 0.25);
    }
    body.shell-marketing .syllabus-band,
    body.shell-marketing .faq-band {
      background: var(--surface);
    }
    body.shell-marketing .compare-band {
      background: var(--background);
    }
    body.shell-marketing .syllabus-head {
      margin-bottom: clamp(1.5rem, 4vw, 3rem);
    }
    body.shell-marketing .syllabus-head .mkt-h2 {
      margin-top: 0.55rem;
    }
    body.shell-marketing .syllabus-rail-item.is-active,
    body.shell-marketing .faq-item.is-open,
    body.shell-marketing .syllabus-module.is-open {
      border-color: rgba(217, 119, 6, 0.42);
      box-shadow: inset 3px 0 0 var(--gold), var(--shadow-soft);
    }
    body.shell-marketing .syllabus-detail {
      border-top: 3px solid var(--gold);
    }
    body.shell-marketing .syllabus-class:before {
      background: rgba(217, 119, 6, 0.32);
    }
    body.shell-marketing .syllabus-class:after {
      background: var(--gold);
      box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18);
    }
    body.shell-marketing .syllabus-class-label {
      background: rgba(217, 119, 6, 0.14);
      color: #92400e;
      border: 1px solid rgba(217, 119, 6, 0.26);
    }
    html.theme-dark body.shell-marketing .syllabus-class-label {
      background: rgba(251, 191, 36, 0.15);
      color: #fbbf24;
      border-color: rgba(251, 191, 36, 0.3);
    }
    body.shell-marketing .syllabus-topics li:before {
      color: var(--gold);
    }
    body.shell-marketing .compare-head-ours {
      color: #fbbf24;
      background: var(--ink-dark);
      box-shadow: inset 0 2px 0 var(--gold);
    }
    body.shell-marketing .compare-side-ours,
    body.shell-marketing .compare-side-ours .compare-side-name {
      border-top-color: rgba(255, 255, 255, 0.08);
    }
    body.shell-marketing .compare-side-ours .compare-side-name {
      color: #fbbf24;
    }
    body.shell-marketing .compare-icon-yes {
      background: rgba(251, 191, 36, 0.18);
      color: #fbbf24;
      box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.38);
    }
    body.shell-marketing .compare-label {
      color: var(--foreground);
    }
    body.shell-marketing .faq-question {
      color: var(--foreground);
    }
    body.shell-marketing .faq-num,
    body.shell-marketing .syllabus-rail-num,
    body.shell-marketing .syllabus-module-num {
      color: var(--muted);
    }
    body.shell-marketing .syllabus-rail-item.is-active .syllabus-rail-num,
    body.shell-marketing .syllabus-module.is-open .syllabus-module-num,
    body.shell-marketing .faq-item.is-open .faq-num {
      color: #b45309;
    }
    html.theme-dark body.shell-marketing .syllabus-rail-item.is-active .syllabus-rail-num,
    html.theme-dark body.shell-marketing .syllabus-module.is-open .syllabus-module-num,
    html.theme-dark body.shell-marketing .faq-item.is-open .faq-num {
      color: #fbbf24;
    }
    body.shell-marketing .syllabus-module.is-open .syllabus-module-toggle,
    body.shell-marketing .faq-item.is-open .faq-toggle {
      background: #161412;
      color: #D4AF66;
      border-color: rgba(212, 175, 102, 0.45);
    }
    body.shell-marketing .syllabus-rail-title,
    body.shell-marketing .syllabus-module-title,
    body.shell-marketing .syllabus-detail-title {
      color: var(--foreground);
    }
    body.shell-marketing .mkt-plan.is-featured {
      background: linear-gradient(155deg, #1C1916 0%, #141210 65%, #1F1C18 100%);
      border-color: rgba(212, 175, 102, 0.45);
      box-shadow: inset 0 3px 0 var(--gold), 0 24px 48px -20px rgba(0, 0, 0, 0.55);
    }
    body.shell-marketing .mkt-plan-badge {
      background: rgba(212, 175, 102, 0.16);
      color: #E2BE78;
      border: 1px solid rgba(212, 175, 102, 0.34);
    }
    body.shell-marketing .mkt-plan.is-featured .mkt-plan-list li::before {
      border-color: #D4AF66;
    }

    .syllabus-mobile-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      width: 100%;
      min-height: 2.65rem;
      padding: 0 1rem;
      border-radius: 0.75rem;
      background: #161412;
      color: #F5F2EB;
      font-size: 0.82rem;
      font-weight: 700;
      border: 1px solid rgba(212, 175, 102, 0.34);
      transition: background-color 0.18s ease, transform 0.18s ease;
    }
    .syllabus-mobile-cta:hover {
      background: #23201C;
    }

    /* Prevent footer jump, blank collapse, or header/fade flicker during page refresh */
    #app-main-shell {
      min-height: calc(100vh - 3.5rem);
    }
    body:has(#app-viewport:empty) #vidyant-global-compliance-footer {
      display: none !important;
    }
    body.shell-marketing #global-search-box,
    body.shell-marketing #mobile-search-trigger-btn,
    body.shell-marketing #header-pricing-btn,
    body.shell-marketing #header-student-btn {
      display: none !important;
    }
    body.shell-marketing #app-viewport,
    body.shell-marketing #app-viewport > div > *,
    body.shell-marketing .stagger-list > *,
    body.shell-marketing .grid > * {
      animation: none !important;
    }

    /* ===================================================================== */
    /* UNIFIED SYMMETRIC SECTION HEADER ARCHITECTURE ACROSS #/home           */
    /* ===================================================================== */
    body.shell-marketing .mkt-section-head {
      max-width: 46rem;
      margin-inline: auto;
      margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    body.shell-marketing .mkt-eyebrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      margin: 0;
      padding: 0.32rem 0.85rem;
      border-radius: 999px;
      background: rgba(217, 119, 6, 0.1);
      border: 1px solid rgba(217, 119, 6, 0.28);
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.11em;
      text-transform: uppercase;
      color: #92400e;
    }
    html.theme-dark body.shell-marketing .mkt-eyebrow {
      background: rgba(251, 191, 36, 0.12);
      border-color: rgba(251, 191, 36, 0.3);
      color: #fbbf24;
    }
    body.shell-marketing .mkt-eyebrow-dot {
      width: 0.38rem;
      height: 0.38rem;
      border-radius: 999px;
      background: var(--gold);
      box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
      flex-shrink: 0;
    }
    body.shell-marketing .mkt-section-head .mkt-h2 {
      margin: 0.85rem 0 0;
      font-family: var(--font-display-stack);
      font-size: clamp(1.9rem, 3.5vw, 2.75rem);
      line-height: 1.1;
      letter-spacing: -0.024em;
      font-weight: 500;
      color: var(--foreground);
      text-wrap: balance;
    }
    body.shell-marketing .mkt-section-lead {
      max-width: 40rem;
      margin: 0.75rem auto 0;
      font-size: clamp(0.94rem, 1.25vw, 1.04rem);
      line-height: 1.6;
      color: var(--muted);
      text-wrap: pretty;
    }
    body.shell-marketing .mkt-section-actions {
      margin-top: 1.15rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 0.65rem;
    }
    body.shell-marketing .mkt-plans {
      max-width: none;
      width: 100%;
    }

    /* ===================================================================== */
    /* OPTION A: 8 CORE USP VISUAL SECTIONS ON #/home                        */
    /* ===================================================================== */
    .usp-master-head {
      padding-top: clamp(0.75rem, 2vw, 1.5rem);
      margin-bottom: clamp(2rem, 4vw, 3.25rem);
      text-align: center;
    }
    .usp-master-title {
      margin: 0;
      font-family: var(--font-display-stack);
      font-size: clamp(2.2rem, 4.8vw, 3.4rem);
      font-weight: 700;
      line-height: 1.08;
      letter-spacing: -0.025em;
      color: var(--foreground);
    }
    .usp-section {
      padding-block: clamp(2.6rem, 5vw, 4.5rem);
      border-bottom: 1px solid var(--card-border);
    }
    .usp-section.is-alt-bg {
      background: var(--surface);
    }
    .usp-split {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.5rem;
      align-items: center;
    }
    @media (min-width: 1024px) {
      .usp-split {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 2.75rem;
      }
      .usp-split.is-reverse {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
      }
      .usp-split.is-reverse > .usp-copy {
        order: 2;
      }
      .usp-split.is-reverse > .usp-visual {
        order: 1;
      }
    }
    .usp-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      gap: 0.75rem;
      min-width: 0;
    }
    .usp-kicker-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem;
    }
    .usp-num {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
      font-variant-numeric: tabular-nums;
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #b45309;
    }
    html.theme-dark .usp-num {
      color: #fbbf24;
    }
    .usp-stat-pill {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
      font-variant-numeric: tabular-nums;
      font-size: 0.7rem;
      font-weight: 700;
      color: #1d4ed8;
      background: rgba(37, 99, 235, 0.09);
      border: 1px solid rgba(37, 99, 235, 0.18);
      padding: 0.18rem 0.6rem;
      border-radius: 999px;
      white-space: nowrap;
    }
    html.theme-dark .usp-stat-pill {
      color: #E2BE78;
      background: rgba(212, 175, 102, 0.14);
      border-color: rgba(212, 175, 102, 0.30);
    }
    .usp-title {
      margin: 0;
      font-family: var(--font-display-stack);
      font-size: clamp(1.75rem, 3.1vw, 2.45rem);
      font-weight: 600;
      line-height: 1.1;
      letter-spacing: -0.022em;
      color: var(--foreground);
      text-wrap: balance;
    }
    .usp-lead {
      margin: 0;
      font-size: clamp(0.92rem, 1.2vw, 1.02rem);
      line-height: 1.58;
      color: var(--muted);
      max-width: 34rem;
    }
    .usp-bullets {
      list-style: none;
      margin: 0.25rem 0 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      width: 100%;
    }
    .usp-bullets li {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      font-size: 0.86rem;
      line-height: 1.45;
      color: var(--foreground);
      font-weight: 500;
    }
    .usp-bullets li b.usp-check {
      color: #059669;
      font-weight: 800;
      flex-shrink: 0;
      margin-top: 0.05rem;
    }
    html.theme-dark .usp-bullets li b.usp-check {
      color: #34d399;
    }
    .usp-visual {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 1.35rem;
      padding: 1.15rem 1.2rem;
      box-shadow: 0 18px 42px -18px rgba(15, 23, 42, 0.11);
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
      min-width: 0;
    }
    @media (min-width: 640px) {
      .usp-visual {
        padding: 1.4rem 1.5rem;
        gap: 0.9rem;
      }
    }
    .usp-visual.is-dark {
      background: linear-gradient(155deg, #1C1916 0%, #12100E 100%);
      border-color: rgba(212, 175, 102, 0.28);
      color: #F5F2EB;
      box-shadow: 0 22px 48px -18px rgba(0, 0, 0, 0.55);
    }
    .usp-winbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      padding-bottom: 0.65rem;
      border-bottom: 1px solid var(--card-border);
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
      font-size: 0.72rem;
      font-weight: 700;
    }
    .usp-visual.is-dark .usp-winbar {
      border-bottom-color: rgba(255, 248, 235, 0.10);
    }
    .usp-pathway-tabs {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.35rem;
      padding: 0.25rem;
      border-radius: 0.75rem;
      background: var(--surface);
      border: 1px solid var(--card-border);
    }
    .usp-pathway-tab {
      padding: 0.42rem 0.4rem;
      border-radius: 0.55rem;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
      font-size: 0.7rem;
      font-weight: 700;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: var(--muted);
    }
    .usp-pathway-tab.is-active {
      background: #161412;
      color: #D4AF66;
    }
    html.theme-dark .usp-pathway-tab.is-active {
      background: #D4AF66;
      color: #141210;
    }
    .usp-row-box {
      padding: 0.65rem 0.8rem;
      border-radius: 0.85rem;
      background: var(--surface);
      border: 1px solid var(--card-border);
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }
    .usp-row-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }
    .usp-row-title {
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--foreground);
    }
    .usp-row-badge {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
      font-size: 0.66rem;
      font-weight: 700;
      color: #b45309;
      background: rgba(217, 119, 6, 0.1);
      padding: 0.14rem 0.5rem;
      border-radius: 999px;
      white-space: nowrap;
    }
    html.theme-dark .usp-row-badge {
      color: #fbbf24;
      background: rgba(251, 191, 36, 0.15);
    }
    .usp-row-sub {
      font-size: 0.74rem;
      color: var(--muted);
      line-height: 1.4;
    }
    .usp-chip-grid2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.45rem;
    }
    .usp-format-chip {
      padding: 0.48rem 0.65rem;
      border-radius: 0.65rem;
      background: var(--surface);
      border: 1px solid var(--card-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.4rem;
      font-size: 0.74rem;
      font-weight: 700;
      color: var(--foreground);
    }
    .usp-format-chip span {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .usp-format-chip small {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
      font-size: 0.64rem;
      font-weight: 700;
      color: var(--muted);
      flex-shrink: 0;
    }
    @media (max-width: 639px) {
      .usp-format-chip {
        padding: 0.46rem 0.55rem;
        font-size: 0.71rem;
      }
      .usp-format-chip small {
        display: none;
      }
    }

    .os-clean-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.15rem;
    }
    @media (min-width: 640px) {
      .os-clean-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    @media (min-width: 1024px) {
      .os-clean-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
      }
    }
    .os-pillar-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-top: 3px solid var(--gold);
      border-bottom: 3px solid var(--surface-deep);
      border-radius: 1.25rem;
      padding: 1.4rem 1.45rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1.1rem;
      box-shadow: var(--shadow-soft);
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .os-pillar-card:hover {
      transform: translateY(-2px);
      border-color: rgba(217, 119, 6, 0.45);
      box-shadow: 0 18px 36px -16px rgba(15, 23, 42, 0.12);
    }
    .os-pillar-top {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.4rem 0.5rem;
    }
    .os-pillar-num {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.72rem;
      font-weight: 800;
      color: #92400e;
      background: rgba(217, 119, 6, 0.12);
      border: 1px solid rgba(217, 119, 6, 0.28);
      padding: 0.2rem 0.55rem;
      border-radius: 0.5rem;
      white-space: nowrap;
      flex-shrink: 0;
    }
    html.theme-dark .os-pillar-num {
      color: #fbbf24;
      background: rgba(251, 191, 36, 0.14);
      border-color: rgba(251, 191, 36, 0.3);
    }
    .os-pillar-badge {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.66rem;
      font-weight: 700;
      color: var(--muted);
      background: var(--surface);
      border: 1px solid var(--card-border);
      padding: 0.2rem 0.58rem;
      border-radius: 999px;
      white-space: nowrap;
    }
    .os-pillar-title {
      margin: 0.65rem 0 0;
      font-family: var(--font-display-stack);
      font-size: 1.3rem;
      font-weight: 600;
      line-height: 1.22;
      letter-spacing: -0.018em;
      color: var(--foreground);
    }
    .os-pillar-body {
      margin: 0.45rem 0 0;
      font-size: 0.88rem;
      line-height: 1.58;
      color: var(--muted);
    }
    .os-pillar-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      padding-top: 0.85rem;
      border-top: 1px solid var(--card-border);
    }
    .os-pillar-tag {
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--foreground);
      background: var(--surface);
      border: 1px solid var(--card-border);
      padding: 0.22rem 0.58rem;
      border-radius: 0.5rem;
    }
    .os-pillar-foot {
      margin-top: auto;
      padding-top: 0.85rem;
      border-top: 1px solid var(--card-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.65rem;
    }
    .os-engine-link {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.8rem;
      font-weight: 800;
      color: #b45309;
      background: transparent;
      border: 0;
      padding: 0;
      cursor: pointer;
      white-space: nowrap;
      flex-shrink: 0;
      transition: transform 0.16s ease, color 0.16s ease;
    }
    html.theme-dark .os-engine-link {
      color: #fbbf24;
    }
    .os-engine-link:hover {
      transform: translateX(2px);
      color: #92400e;
    }

    @media (max-width: 639px) {
      .os-clean-grid {
        gap: 0.85rem;
      }
      .os-pillar-card {
        padding: 1.05rem 1.15rem;
        gap: 0.75rem;
      }
      .os-pillar-title {
        margin-top: 0.4rem;
        font-size: 1.15rem;
      }
      .os-pillar-body {
        margin-top: 0.3rem;
        font-size: 0.82rem;
        line-height: 1.48;
      }
      .os-pillar-tags,
      .os-pillar-foot {
        padding-top: 0.65rem;
      }
    }

    /* ===================================================================== */
    /* INTERACTIVE HERO OS SHOWCASE & DEDICATED VISUAL PRODUCT SECTIONS      */
    /* ===================================================================== */
    .hero-os-window {
      border-radius: 1.35rem;
      background: linear-gradient(180deg, #141210 0%, #1C1916 100%);
      border: 1px solid rgba(212, 175, 102, 0.34);
      box-shadow: 0 28px 64px -18px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 248, 235, 0.06) inset;
      overflow: hidden;
      color: #F5F2EB;
      text-align: left;
    }
    .hero-os-chrome {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.6rem;
      padding: 0.65rem 0.9rem;
      background: rgba(13, 12, 11, 0.85);
      border-bottom: 1px solid rgba(255, 248, 235, 0.09);
    }
    .hero-os-dots {
      display: flex;
      align-items: center;
      gap: 0.38rem;
    }
    .hero-os-dot {
      width: 0.6rem;
      height: 0.6rem;
      border-radius: 999px;
    }
    .hero-os-url {
      display: none;
      align-items: center;
      gap: 0.45rem;
      padding: 0.24rem 0.7rem;
      border-radius: 999px;
      background: rgba(255, 248, 235, 0.06);
      border: 1px solid rgba(255, 248, 235, 0.10);
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.68rem;
      color: rgba(245, 242, 235, 0.78);
    }
    @media (min-width: 768px) {
      .hero-os-url {
        display: inline-flex;
      }
    }
    .hero-os-tabs {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.35rem;
      padding: 0.5rem 0.65rem;
      background: rgba(20, 18, 16, 0.92);
      border-bottom: 1px solid rgba(255, 248, 235, 0.08);
    }
    @media (min-width: 640px) {
      .hero-os-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 0.55rem 0.85rem;
      }
    }
    .hero-os-tab {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      padding: 0.52rem 0.65rem;
      border-radius: 0.7rem;
      border: 1px solid rgba(255, 248, 235, 0.08);
      background: rgba(255, 248, 235, 0.03);
      color: rgba(245, 242, 235, 0.72);
      font-size: 0.75rem;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: all 0.18s ease;
    }
    .hero-os-tab:hover {
      background: rgba(255, 248, 235, 0.08);
      color: #ffffff;
    }
    .hero-os-tab.is-active {
      background: #D4AF66;
      color: #141210;
      border-color: #E5C378;
      box-shadow: 0 6px 18px -6px rgba(212, 175, 102, 0.45);
    }
    .hero-os-tab-num {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.64rem;
      font-weight: 800;
      opacity: 0.8;
    }
    .hero-os-body {
      padding: 0.95rem;
      background: radial-gradient(80% 90% at 50% 0%, rgba(212, 175, 102, 0.10), transparent 70%), #12100E;
    }
    @media (min-width: 768px) {
      .hero-os-body {
        padding: 1.35rem 1.45rem;
      }
    }
    .hero-os-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.9rem;
      align-items: stretch;
    }
    @media (max-width: 859px) {
      .hero-os-grid:not(.is-equal) > .hero-os-panel:first-child {
        display: none;
      }
    }
    @media (min-width: 860px) {
      .hero-os-grid {
        grid-template-columns: 0.36fr 0.64fr;
        gap: 1.1rem;
      }
      .hero-os-grid.is-equal {
        grid-template-columns: 0.52fr 0.48fr;
      }
    }
    .hero-os-panel {
      background: rgba(31, 28, 24, 0.72);
      border: 1px solid rgba(255, 248, 235, 0.10);
      border-radius: 1rem;
      padding: 0.9rem 1rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.75rem;
    }
    .hero-os-panel.is-light {
      background: #fffdf9;
      color: #141210;
      border-color: rgba(217, 119, 6, 0.35);
      box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.35);
    }
    html.theme-dark .hero-os-panel.is-light {
      background: #1F1C18;
      color: #F5F2EB;
      border-color: rgba(212, 175, 102, 0.28);
    }

    /* 6-Tool Quick Jump Dock at top of #inside-os */
    .mkt-tool-dock {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.5rem;
      margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
    }
    @media (min-width: 640px) {
      .mkt-tool-dock {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }
    @media (min-width: 1024px) {
      .mkt-tool-dock {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.65rem;
      }
    }
    .mkt-dock-pill {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      min-height: 4.7rem;
      gap: 0.2rem;
      padding: 0.65rem 0.8rem;
      border-radius: 0.9rem;
      background: var(--card);
      border: 1px solid var(--card-border);
      border-top: 2.5px solid var(--gold);
      text-align: left;
      cursor: pointer;
      box-shadow: var(--shadow-tight);
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }
    .mkt-dock-pill:hover {
      transform: translateY(-2px);
      border-color: var(--gold);
      box-shadow: var(--shadow-soft);
    }
    .mkt-dock-num {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.62rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #b45309;
      white-space: nowrap;
    }
    html.theme-dark .mkt-dock-num {
      color: #fbbf24;
    }
    .mkt-dock-label {
      font-family: var(--font-display-stack);
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--foreground);
      line-height: 1.2;
      white-space: nowrap;
    }
    .mkt-dock-sub {
      font-size: 0.66rem;
      font-weight: 600;
      color: var(--muted);
      white-space: nowrap;
    }

    @media (max-width: 639px) {
      .mkt-dock-sub {
        display: none;
      }
      .mkt-dock-pill {
        min-height: 3.4rem;
        padding: 0.52rem 0.68rem;
      }
    }
    @media (max-width: 1023px) {
      .mkt-split-stage.is-reverse > .mkt-spotlight-copy {
        order: -1;
      }
    }
    /* Dedicated Split Feature Showcase (Reader Spotlight & CBT Console) */
    .mkt-split-stage {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.35rem;
      align-items: center;
    }
    @media (min-width: 1024px) {
      .mkt-split-stage {
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
        gap: 2.25rem;
      }
      .mkt-split-stage.is-reverse {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
      }
    }
    .mkt-spotlight-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      gap: 0.85rem;
      min-width: 0;
    }
    .mkt-spotlight-title {
      margin: 0;
      font-family: var(--font-display-stack);
      font-size: clamp(1.75rem, 3.2vw, 2.5rem);
      line-height: 1.1;
      letter-spacing: -0.024em;
      font-weight: 500;
      color: var(--foreground);
    }
    .mkt-spotlight-lead {
      margin: 0;
      font-size: 0.96rem;
      line-height: 1.55;
      color: var(--muted);
      max-width: 34rem;
    }
    .mkt-author-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      width: 100%;
    }
    .mkt-author-pills-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.45rem;
      width: 100%;
    }
    .mkt-author-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      padding: 0.48rem 0.65rem;
      border-radius: 999px;
      border: 1px solid var(--card-border);
      background: var(--card);
      color: var(--foreground);
      font-size: 0.74rem;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: all 0.16s ease;
    }
    .mkt-author-pill.is-active {
      background: #161412;
      color: #D4AF66;
      border-color: rgba(212, 175, 102, 0.45);
      box-shadow: 0 6px 16px -6px rgba(20, 18, 16, 0.35);
    }
    html.theme-dark .mkt-author-pill.is-active {
      background: #D4AF66;
      color: #141210;
      border-color: #E5C378;
    }

    /* Visual Dossier Mockup Card */
    .mkt-dossier-window {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 1.35rem;
      padding: 1.15rem 1.2rem;
      box-shadow: 0 22px 48px -18px rgba(15, 23, 42, 0.14);
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
      min-width: 0;
    }
    @media (min-width: 640px) {
      .mkt-dossier-window {
        padding: 1.4rem 1.5rem;
      }
    }
    .mkt-seg-switch {
      display: inline-grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.25rem;
      padding: 0.25rem;
      border-radius: 0.75rem;
      background: var(--surface);
      border: 1px solid var(--card-border);
      max-width: 100%;
    }
    .mkt-seg-btn {
      padding: 0.4rem 0.75rem;
      border-radius: 0.55rem;
      font-size: 0.74rem;
      font-weight: 800;
      border: 0;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .mkt-seg-btn.is-active {
      background: #161412;
      color: #D4AF66;
      box-shadow: 0 2px 8px rgba(20, 18, 16, 0.2);
    }
    html.theme-dark .mkt-seg-btn.is-active {
      background: #D4AF66;
      color: #141210;
    }
    .mkt-meta-grid4 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.5rem;
    }
    @media (min-width: 640px) {
      .mkt-meta-grid4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }
    .mkt-meta-cell {
      padding: 0.55rem 0.65rem;
      border-radius: 0.75rem;
      background: var(--surface);
      border: 1px solid var(--card-border);
    }
    .mkt-meta-k {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.6rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted);
    }
    .mkt-meta-v {
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--foreground);
      margin-top: 0.15rem;
      line-height: 1.25;
    }

    /* Full-Bleed Dark Obsidian Practice Arena (#practice-arena) */
    .mkt-obsidian-band {
      background:
        radial-gradient(60% 50% at 20% 10%, rgba(212, 175, 102, 0.12), transparent 70%),
        radial-gradient(50% 50% at 85% 90%, rgba(212, 175, 102, 0.10), transparent 70%),
        linear-gradient(180deg, #0D0C0B 0%, #141210 50%, #0D0C0B 100%);
      color: #F5F2EB;
      border-top: 1px solid rgba(212, 175, 102, 0.22);
      border-bottom: 1px solid rgba(212, 175, 102, 0.22);
    }
    body.shell-marketing .mkt-obsidian-band .mkt-section-head .mkt-h2 {
      color: #F5F2EB;
    }
    body.shell-marketing .mkt-obsidian-band .mkt-section-lead {
      color: rgba(245, 242, 235, 0.72);
    }
    body.shell-marketing .mkt-obsidian-band .mkt-eyebrow {
      background: rgba(212, 175, 102, 0.14);
      border-color: rgba(212, 175, 102, 0.35);
      color: #E2BE78;
    }
    .mkt-obsidian-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.25rem;
      align-items: stretch;
    }
    @media (min-width: 1024px) {
      .mkt-obsidian-grid {
        grid-template-columns: 1.08fr 0.92fr;
        gap: 1.5rem;
      }
    }
    .pyq-split-stage {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.5rem;
      align-items: center;
    }
    @media (min-width: 1024px) {
      .pyq-split-stage {
        grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
        gap: 2.25rem;
      }
    }
    .pyq-left-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      gap: 0.9rem;
      min-width: 0;
    }
    .pyq-stage-title {
      margin: 0;
      font-family: var(--font-display-stack);
      font-size: clamp(1.85rem, 3.3vw, 2.55rem);
      line-height: 1.08;
      letter-spacing: -0.024em;
      font-weight: 500;
      color: #F5F2EB;
    }
    .pyq-stage-lead {
      margin: 0;
      font-size: 0.96rem;
      line-height: 1.55;
      color: rgba(245, 242, 235, 0.74);
      max-width: 32rem;
    }
    .pyq-shift-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.45rem;
      width: 100%;
    }
    .pyq-shift-btn {
      padding: 0.5rem 0.6rem;
      border-radius: 0.65rem;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.68rem;
      font-weight: 800;
      border: 1px solid rgba(255, 248, 235, 0.12);
      background: rgba(255, 248, 235, 0.05);
      color: #B8B0A4;
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: all 0.16s ease;
    }
    .pyq-shift-btn:hover {
      background: rgba(255, 248, 235, 0.10);
      color: #ffffff;
    }
    .pyq-shift-btn.is-active {
      background: #D4AF66;
      color: #141210;
      border-color: #E5C378;
      box-shadow: 0 6px 18px -6px rgba(212, 175, 102, 0.45);
    }
    .mkt-obsidian-card {
      background: rgba(31, 28, 24, 0.72);
      border: 1px solid rgba(255, 248, 235, 0.14);
      border-top: 3.5px solid #D4AF66;
      border-radius: 1.35rem;
      padding: 1.2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.85rem;
      box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.55);
    }
    @media (min-width: 640px) {
      .mkt-obsidian-card {
        padding: 1.4rem 1.5rem;
      }
    }
    .pyq-options-stack {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .pyq-opt-row {
      display: grid;
      grid-template-columns: 1.8rem minmax(0, 1fr) auto;
      align-items: center;
      gap: 0.65rem;
      padding: 0.6rem 0.75rem;
      border-radius: 0.8rem;
      border: 1px solid rgba(255, 248, 235, 0.10);
      background: rgba(20, 18, 16, 0.85);
      color: rgba(245, 242, 235, 0.90);
    }
    .pyq-opt-row.is-correct {
      background: rgba(16, 185, 129, 0.15);
      border-color: rgba(16, 185, 129, 0.52);
      color: #ecfdf5;
    }
    .pyq-opt-row.is-wrong {
      background: rgba(244, 63, 94, 0.07);
      border-color: rgba(244, 63, 94, 0.24);
    }
    .pyq-opt-letter {
      width: 1.7rem;
      height: 1.7rem;
      border-radius: 0.45rem;
      display: grid;
      place-items: center;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.72rem;
      font-weight: 800;
      background: rgba(255, 255, 255, 0.08);
      color: #cbd5e1;
    }
    .pyq-opt-row.is-correct .pyq-opt-letter {
      background: #10b981;
      color: #022c22;
    }
    .pyq-opt-copy {
      min-width: 0;
    }
    .pyq-opt-main {
      font-size: 0.8rem;
      font-weight: 700;
      line-height: 1.3;
      color: #ffffff;
    }
    .pyq-opt-sub {
      font-size: 0.7rem;
      line-height: 1.35;
      color: rgba(226, 232, 240, 0.72);
      margin-top: 0.12rem;
    }
    .pyq-opt-row.is-correct .pyq-opt-sub {
      color: #a7f3d0;
    }
    .mkt-elim-tag {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.6rem;
      font-weight: 800;
      padding: 0.22rem 0.5rem;
      border-radius: 0.4rem;
      white-space: nowrap;
      flex-shrink: 0;
      min-width: 4.6rem;
      text-align: center;
    }
    .pyq-opt-row.is-correct .mkt-elim-tag,
    .mkt-elim-opt.is-correct .mkt-elim-tag {
      background: rgba(16, 185, 129, 0.25);
      color: #6ee7b7;
    }
    .pyq-opt-row.is-wrong .mkt-elim-tag,
    .mkt-elim-opt.is-wrong .mkt-elim-tag {
      background: rgba(244, 63, 94, 0.2);
      color: #fda4af;
    }

    /* Section 3B (#quiz-arena): 4-Mode Switcher + 4-Column Equal-Row Quiz Deck */
    .quiz-dim-switch {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.3rem;
      padding: 0.3rem;
      border-radius: 0.85rem;
      background: var(--surface);
      border: 1px solid var(--card-border);
      width: 100%;
      max-width: 42rem;
    }
    @media (min-width: 640px) {
      .quiz-dim-switch {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }
    .quiz-drill-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1rem;
      align-items: stretch;
    }
    @media (min-width: 640px) {
      .quiz-drill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    @media (min-width: 1024px) {
      .quiz-drill-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.15rem;
      }
    }
    .quiz-drill-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-top: 3px solid var(--gold);
      border-bottom: 3px solid var(--surface-deep);
      border-radius: 1.25rem;
      padding: 1.25rem;
      display: grid;
      grid-template-rows: auto 3.6rem 2.8rem auto;
      gap: 0.75rem;
      align-items: center;
      cursor: pointer;
      box-shadow: var(--shadow-soft);
      transition: transform 0.18s ease, border-color 0.18s ease;
    }
    .quiz-drill-card:hover {
      transform: translateY(-2px);
      border-color: var(--gold);
    }
    .quiz-drill-head {
      align-self: start;
      min-width: 0;
    }
    .quiz-drill-title {
      margin: 0;
      font-family: var(--font-display-stack);
      font-size: 1.2rem;
      font-weight: 600;
      line-height: 1.2;
      color: var(--foreground);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .quiz-drill-sub {
      margin: 0.25rem 0 0;
      font-size: 0.78rem;
      color: var(--muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .quiz-drill-meter {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }
    .quiz-workbench-split {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.25rem;
      align-items: stretch;
    }
    @media (min-width: 1024px) {
      .quiz-workbench-split {
        grid-template-columns: 1.05fr 1.25fr;
        gap: 1.5rem;
      }
    }
    .quiz-drill-grid.is-workbench-left {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0.9rem;
      align-items: stretch;
    }
    @media (min-width: 640px) {
      .quiz-drill-grid.is-workbench-left {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    .quiz-drill-card.is-selected {
      border-color: #d97706;
      border-top: 3.5px solid #d97706;
      background: linear-gradient(180deg, rgba(251, 191, 36, 0.09) 0%, var(--card) 100%);
      box-shadow: 0 18px 38px -16px rgba(217, 119, 6, 0.28);
    }
    .mkt-obsidian-card.quiz-live-console {
      background: radial-gradient(circle at 88% 12%, rgba(212, 175, 102, 0.14), transparent 42%), linear-gradient(145deg, #12100E 0%, #1C1916 65%, #161412 100%) !important;
      border: 1.5px solid rgba(212, 175, 102, 0.38) !important;
      border-top: 4px solid #D4AF66 !important;
      box-shadow: 0 26px 54px -18px rgba(0, 0, 0, 0.55) !important;
      color: #F5F2EB;
    }
    .pyq-opt-row.is-picked-wrong {
      background: rgba(244, 63, 94, 0.22);
      border-color: rgba(244, 63, 94, 0.65);
    }

    /* ===================================================================== */
    /* 8-GAME INTERACTIVE ARCADE CONSOLE (#games-showcase)                   */
    /* ===================================================================== */
    .arcade-showcase-shell {
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
    }
    .arcade-dock-header {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.6rem;
    }
    .arcade-mini-nav {
      padding: 0.32rem 0.7rem;
      border-radius: 0.55rem;
      border: 1px solid var(--card-border);
      background: var(--card);
      color: var(--foreground);
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.7rem;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.16s ease;
    }
    .arcade-mini-nav:hover {
      background: #161412;
      color: #D4AF66;
      border-color: rgba(212, 175, 102, 0.45);
    }
    .arcade-cartridge-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.5rem;
    }
    @media (min-width: 768px) {
      .arcade-cartridge-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.7rem;
      }
    }
    .arcade-cartridge-btn {
      text-align: left;
      padding: 0.62rem 0.75rem;
      border-radius: 0.9rem;
      background: var(--card);
      border: 1.5px solid var(--card-border);
      border-top: 3px solid var(--border-strong);
      box-shadow: var(--shadow-tight);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.32rem;
      cursor: pointer;
      transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
    }
    @media (max-width: 639px) {
      .arcade-cartridge-btn {
        padding: 0.55rem 0.6rem;
        gap: 0.25rem;
      }
    }
    .arcade-cartridge-btn:hover {
      transform: translateY(-2px);
      border-color: var(--gold);
    }
    .arcade-cartridge-btn.is-active {
      background: #181614;
      border-color: #D4AF66;
      border-top: 3.5px solid #D4AF66;
      box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.48);
    }
    .arcade-cartridge-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.25rem;
      width: 100%;
    }
    .arcade-cartridge-num {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.6rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      color: #b45309;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .arcade-cartridge-btn.is-active .arcade-cartridge-num {
      color: #fbbf24;
    }
    .arcade-cartridge-tag {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.56rem;
      font-weight: 700;
      padding: 0.1rem 0.36rem;
      border-radius: 999px;
      background: var(--surface);
      color: var(--muted);
      border: 1px solid var(--card-border);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 6.2rem;
    }
    .arcade-cartridge-btn.is-active .arcade-cartridge-tag {
      background: rgba(251, 191, 36, 0.16);
      color: #fde68a;
      border-color: rgba(251, 191, 36, 0.35);
    }
    .arcade-cartridge-main {
      display: flex;
      align-items: center;
      gap: 0.38rem;
      min-width: 0;
    }
    .arcade-cartridge-icon {
      font-size: 0.95rem;
      line-height: 1;
      flex-shrink: 0;
    }
    .arcade-cartridge-title {
      font-family: var(--font-display-stack);
      font-size: 0.96rem;
      font-weight: 700;
      line-height: 1.15;
      color: var(--foreground);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    @media (max-width: 639px) {
      .arcade-cartridge-title {
        font-size: 0.82rem;
      }
    }
    .arcade-cartridge-btn.is-active .arcade-cartridge-title {
      color: #ffffff;
    }
    .arcade-cartridge-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.58rem;
      font-weight: 700;
      color: var(--muted);
      padding-top: 0.22rem;
      border-top: 1px dashed var(--card-border);
    }
    .arcade-cartridge-btn.is-active .arcade-cartridge-foot {
      color: #6ee7b7;
      border-top-color: rgba(255, 255, 255, 0.14);
    }

    /* Bottom Obsidian Arcade Stage */
    .arcade-console-stage {
      background: radial-gradient(circle at 88% 12%, rgba(212, 175, 102, 0.12), transparent 40%), linear-gradient(145deg, #12100E 0%, #1C1916 60%, #161412 100%);
      border: 1.5px solid rgba(212, 175, 102, 0.38);
      border-top: 4px solid #D4AF66;
      border-radius: 1.35rem;
      padding: 1.15rem;
      box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.6);
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.1rem;
      align-items: stretch;
    }
    @media (min-width: 1024px) {
      .arcade-console-stage {
        grid-template-columns: 0.9fr 1.3fr;
        padding: 1.35rem 1.55rem;
        gap: 1.5rem;
      }
    }
    .arcade-console-brief {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.85rem;
    }
    .arcade-meta-pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
    }
    .arcade-meta-pill {
      padding: 0.3rem 0.65rem;
      border-radius: 999px;
      background: rgba(255, 248, 235, 0.06);
      border: 1px solid rgba(255, 248, 235, 0.14);
      color: #F5F2EB;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.68rem;
      font-weight: 700;
    }
    .arcade-board-window {
      background: rgba(13, 12, 11, 0.78);
      border: 1px solid rgba(255, 248, 235, 0.14);
      border-radius: 1.15rem;
      padding: 1rem 1.1rem;
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
      box-shadow: inset 0 1px 0 rgba(255, 248, 235, 0.08);
    }
    .arcade-board-hud {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      padding-bottom: 0.65rem;
      border-bottom: 1px solid rgba(255, 248, 235, 0.10);
    }
    .arcade-stage-inner {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .arcade-prompt-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }
    .arcade-order-stack {
      display: flex;
      flex-direction: column;
      gap: 0.48rem;
    }
    .arcade-order-row {
      display: grid;
      grid-template-columns: 2rem minmax(0, 1fr) auto auto;
      align-items: center;
      gap: 0.6rem;
      padding: 0.55rem 0.7rem;
      border-radius: 0.75rem;
      background: rgba(24, 22, 20, 0.92);
      border: 1px solid rgba(255, 248, 235, 0.12);
    }
    .arcade-order-row.is-ok {
      border-color: rgba(16, 185, 129, 0.45);
      background: rgba(16, 185, 129, 0.1);
    }
    .arcade-order-row.is-swap {
      border-color: rgba(251, 191, 36, 0.45);
      background: rgba(251, 191, 36, 0.08);
    }
    .arcade-order-rank {
      width: 1.75rem;
      height: 1.75rem;
      border-radius: 0.45rem;
      background: rgba(255, 255, 255, 0.08);
      color: #fbbf24;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.72rem;
      font-weight: 800;
      display: grid;
      place-items: center;
    }
    .arcade-order-main {
      min-width: 0;
    }
    .arcade-order-title {
      font-size: 0.82rem;
      font-weight: 700;
      color: #ffffff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .arcade-order-sub {
      font-size: 0.68rem;
      color: #94a3b8;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .arcade-order-year {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.68rem;
      font-weight: 800;
      padding: 0.2rem 0.5rem;
      border-radius: 0.4rem;
      white-space: nowrap;
    }
    .arcade-order-year.is-ok {
      background: rgba(16, 185, 129, 0.2);
      color: #6ee7b7;
    }
    .arcade-order-year.is-warn {
      background: rgba(251, 191, 36, 0.2);
      color: #fde68a;
    }
    .arcade-order-arrows {
      display: flex;
      gap: 0.25rem;
    }
    .arcade-arrow-btn {
      width: 1.65rem;
      height: 1.65rem;
      border-radius: 0.4rem;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: #ffffff;
      font-size: 0.75rem;
      font-weight: 800;
      cursor: pointer;
      display: grid;
      place-items: center;
    }
    .arcade-arrow-btn:hover:not(:disabled) {
      background: #fbbf24;
      color: #020617;
      border-color: #fbbf24;
    }
    .arcade-arrow-btn:disabled {
      opacity: 0.3;
      cursor: not-allowed;
    }
    .arcade-duel-grid {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 0.65rem;
      align-items: stretch;
    }
    @media (max-width: 639px) {
      .arcade-duel-grid {
        grid-template-columns: 1fr;
      }
      .arcade-vs-orb {
        margin: 0 auto;
      }
    }
    .arcade-duel-card {
      padding: 0.9rem;
      border-radius: 0.9rem;
      background: rgba(24, 22, 20, 0.92);
      border: 1.5px solid rgba(255, 248, 235, 0.14);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.35rem;
      cursor: pointer;
      transition: all 0.16s ease;
    }
    .arcade-duel-card.is-win {
      border-color: #10b981;
      background: rgba(16, 185, 129, 0.14);
    }
    .arcade-duel-card.is-lose {
      border-color: #f43f5e;
      background: rgba(244, 63, 94, 0.14);
    }
    .arcade-vs-orb {
      width: 2.2rem;
      height: 2.2rem;
      border-radius: 999px;
      background: #D4AF66;
      color: #141210;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.72rem;
      font-weight: 900;
      display: grid;
      place-items: center;
      align-self: center;
      flex-shrink: 0;
    }
    .arcade-pair-row {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 0.5rem;
      padding: 0.58rem 0.75rem;
      border-radius: 0.7rem;
      background: rgba(24, 22, 20, 0.88);
      border: 1px solid rgba(255, 248, 235, 0.12);
      color: #F5F2EB;
      font-size: 0.78rem;
      font-weight: 700;
      cursor: pointer;
      text-align: left;
    }
    .arcade-pair-row.is-selected {
      border-color: #D4AF66;
      background: rgba(212, 175, 102, 0.14);
    }
    .arcade-pair-bridge {
      color: #D4AF66;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.75rem;
    }
    .arcade-pair-right {
      text-align: right;
      color: #6ee7b7;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.72rem;
    }
    .arcade-choice-2x2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.55rem;
    }
    @media (max-width: 639px) {
      .arcade-choice-2x2 {
        grid-template-columns: 1fr;
      }
    }
    .arcade-grid-choice {
      padding: 0.68rem 0.8rem;
      border-radius: 0.75rem;
      background: rgba(24, 22, 20, 0.92);
      border: 1.5px solid rgba(255, 248, 235, 0.14);
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .arcade-grid-choice.is-correct {
      border-color: #10b981;
      background: rgba(16, 185, 129, 0.16);
    }
    .arcade-grid-choice.is-wrong,
    .arcade-grid-choice.is-intruder {
      border-color: #f43f5e;
      background: rgba(244, 63, 94, 0.16);
    }
    .arcade-letter-rack {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 0.3rem;
      padding: 0.75rem;
      border-radius: 0.85rem;
      background: rgba(20, 18, 16, 0.95);
      border: 1px solid rgba(255, 248, 235, 0.12);
    }
    .arcade-letter-tile {
      width: 1.75rem;
      height: 2.05rem;
      border-radius: 0.4rem;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.85rem;
      font-weight: 800;
      display: grid;
      place-items: center;
      border: 1px solid rgba(16, 185, 129, 0.5);
      background: rgba(16, 185, 129, 0.18);
      color: #6ee7b7;
    }
    .arcade-letter-tile.is-wrong {
      border-color: rgba(244, 63, 94, 0.5);
      background: rgba(244, 63, 94, 0.18);
      color: #fda4af;
    }
    .arcade-type-chip-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.45rem;
    }
    @media (min-width: 640px) {
      .arcade-type-chip-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }
    .arcade-type-chip {
      padding: 0.48rem 0.55rem;
      border-radius: 0.6rem;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #e2e8f0;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.66rem;
      font-weight: 800;
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .arcade-type-chip.is-active {
      background: rgba(16, 185, 129, 0.22);
      border-color: #10b981;
      color: #6ee7b7;
    }
    .arcade-type-chip.is-wrong {
      background: rgba(244, 63, 94, 0.22);
      border-color: #f43f5e;
      color: #fda4af;
    }
    .arcade-clue-row {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.48rem 0.65rem;
      border-radius: 0.65rem;
      font-size: 0.74rem;
    }
    .arcade-clue-row.is-unlocked {
      background: rgba(24, 22, 20, 0.92);
      border: 1px solid rgba(212, 175, 102, 0.32);
      color: #F5F2EB;
    }
    .arcade-clue-row.is-locked {
      background: rgba(20, 18, 16, 0.55);
      border: 1px dashed rgba(255, 248, 235, 0.14);
      color: #7E776C;
    }
    .arcade-clue-pts {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.64rem;
      font-weight: 800;
      padding: 0.15rem 0.45rem;
      border-radius: 0.35rem;
      background: rgba(251, 191, 36, 0.18);
      color: #fde68a;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .arcade-feedback-strip {
      padding: 0.6rem 0.8rem;
      border-radius: 0.7rem;
      font-size: 0.74rem;
      line-height: 1.4;
      font-weight: 600;
    }
    .arcade-feedback-strip.is-ok {
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.38);
      color: #a7f3d0;
    }
    .arcade-feedback-strip.is-hint {
      background: rgba(251, 191, 36, 0.14);
      border: 1px solid rgba(251, 191, 36, 0.38);
      color: #fde68a;
    }

    /* 8-Game Collector's Book-Jacket Gallery (#games-showcase) */
    .game-jacket-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.85rem;
      align-items: stretch;
    }
    @media (min-width: 1024px) {
      .game-jacket-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.2rem;
      }
    }
    .game-jacket-card {
      background: var(--card);
      border: 1.5px solid #0f172a;
      border-radius: 1.1rem;
      overflow: hidden;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 5px 0 #0f172a, 0 18px 36px -16px rgba(15, 23, 42, 0.2);
      transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease;
    }
    html.theme-dark .game-jacket-card {
      border-color: rgba(251, 191, 36, 0.45);
      box-shadow: 0 5px 0 rgba(251, 191, 36, 0.35), 0 18px 36px -16px rgba(2, 6, 23, 0.55);
    }
    .game-jacket-card:hover,
    .game-jacket-card:focus-visible {
      transform: translateY(-4px);
      border-color: #d97706;
      box-shadow: 0 8px 0 #0f172a, 0 26px 48px -16px rgba(217, 119, 6, 0.32);
      outline: none;
    }
    .game-jacket-art {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 10;
      background: #f4ebd9;
      border-bottom: 1.5px solid #0f172a;
      overflow: hidden;
    }
    html.theme-dark .game-jacket-art,
    .game-jacket-card.is-vector .game-jacket-art {
      background: #0b1120;
      border-bottom-color: rgba(251, 191, 36, 0.38);
    }
    .game-jacket-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .game-jacket-card:hover .game-jacket-img {
      transform: scale(1.05);
    }
    .game-jacket-num {
      position: absolute;
      top: 0.65rem;
      left: 0.65rem;
      padding: 0.2rem 0.55rem;
      border-radius: 999px;
      background: #0f172a;
      color: #fbbf24;
      border: 1px solid rgba(251, 191, 36, 0.55);
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.62rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
    }
    .game-jacket-tag {
      position: absolute;
      top: 0.65rem;
      right: 0.65rem;
      padding: 0.2rem 0.55rem;
      border-radius: 999px;
      background: rgba(244, 235, 217, 0.94);
      color: #0f172a;
      border: 1px solid rgba(15, 23, 42, 0.35);
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.58rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      backdrop-filter: blur(4px);
    }
    .game-jacket-card.is-vector .game-jacket-tag,
    .game-jacket-card.is-cinema .game-jacket-tag {
      background: rgba(15, 23, 42, 0.82);
      color: #f8fafc;
      border-color: rgba(255, 255, 255, 0.22);
    }
    .game-jacket-body {
      padding: 0.95rem 1.05rem 1rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.55rem;
      flex: 1;
    }
    .game-jacket-title {
      margin: 0;
      font-family: var(--font-display-stack);
      font-size: 1.25rem;
      font-weight: 700;
      line-height: 1.15;
      color: var(--foreground);
    }
    .game-jacket-desc {
      margin: 0;
      font-size: 0.8rem;
      line-height: 1.4;
      color: var(--muted);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .game-jacket-foot {
      padding-top: 0.6rem;
      border-top: 1px dashed var(--card-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.4rem;
    }
    .game-jacket-meta {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.66rem;
      font-weight: 700;
      color: var(--muted);
    }
    .game-jacket-cta {
      padding: 0.28rem 0.65rem;
      border-radius: 999px;
      background: #0f172a;
      color: #fbbf24;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.66rem;
      font-weight: 800;
      transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    }
    .game-jacket-card:hover .game-jacket-cta {
      background: #fbbf24;
      color: #020617;
      transform: translateX(2px);
    }
    @media (max-width: 639px) {
      .game-jacket-card {
        border-radius: 0.9rem;
        box-shadow: 0 3.5px 0 #0f172a, 0 12px 24px -12px rgba(15, 23, 42, 0.18);
      }
      .game-jacket-tag {
        display: none;
      }
      .game-jacket-num {
        top: 0.45rem;
        left: 0.45rem;
        font-size: 0.55rem;
        padding: 0.15rem 0.45rem;
      }
      .game-jacket-body {
        padding: 0.7rem 0.75rem 0.75rem;
        gap: 0.35rem;
      }
      .game-jacket-title {
        font-size: 0.98rem;
      }
      .game-jacket-desc {
        font-size: 0.7rem;
      }
      .game-jacket-meta {
        display: none;
      }
      .game-jacket-cta {
        width: 100%;
        text-align: center;
      }
    }

    /* NTA CBT Palette & Cutoff Radar */
    .cbt-dual-panels {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0.75rem;
      align-items: stretch;
    }
    @media (min-width: 640px) {
      .cbt-dual-panels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    .cbt-inner-box {
      padding: 0.85rem;
      border-radius: 0.85rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.65rem;
      min-height: 9.8rem;
    }
    .cbt-inner-box.is-light {
      background: var(--surface);
      border: 1px solid var(--card-border);
    }
    .cbt-inner-box.is-dark {
      background: #141210;
      color: #F5F2EB;
      border: 1px solid rgba(212, 175, 102, 0.32);
    }
    .cbt-palette-grid {
      display: grid;
      grid-template-columns: repeat(8, minmax(0, 1fr));
      gap: 0.35rem;
    }
    .cbt-q-node {
      height: 1.9rem;
      border-radius: 0.45rem;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.68rem;
      font-weight: 800;
      display: grid;
      place-items: center;
      border: 1px solid transparent;
    }
    .cbt-q-node.is-ans {
      background: #10b981;
      color: #022c22;
    }
    .cbt-q-node.is-rev {
      background: #8b5cf6;
      color: #ffffff;
    }
    .cbt-q-node.is-skip {
      background: #f43f5e;
      color: #ffffff;
    }
    .cbt-q-node.is-unv {
      background: rgba(148, 163, 184, 0.16);
      color: var(--muted);
      border-color: var(--card-border);
    }

    /* Section 5 (#vault-mistakes): 100% Symmetric 4-Row Bento Pair */
    .bento-pair-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.25rem;
      align-items: stretch;
    }
    @media (min-width: 1024px) {
      .bento-pair-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
      }
    }
    .bento-pair-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-top: 3.5px solid var(--gold);
      border-radius: 1.35rem;
      padding: 1.35rem 1.45rem;
      box-shadow: 0 22px 48px -18px rgba(15, 23, 42, 0.14);
      display: grid;
      grid-template-rows: auto auto 9.8rem auto;
      gap: 0.9rem;
      align-items: stretch;
    }
    @media (max-width: 639px) {
      .bento-pair-card {
        padding: 1.15rem 1.2rem;
        grid-template-rows: auto auto auto auto;
      }
    }
    .bento-head-zone {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }
    .bento-card-title {
      margin: 0.15rem 0 0;
      font-family: var(--font-display-stack);
      font-size: clamp(1.35rem, 2.2vw, 1.65rem);
      font-weight: 600;
      line-height: 1.15;
      color: var(--foreground);
    }
    .bento-card-sub {
      margin: 0;
      font-size: 0.84rem;
      line-height: 1.45;
      color: var(--muted);
    }
    .bento-pill-strip {
      display: grid;
      gap: 0.4rem;
      align-items: center;
    }
    .bento-pill-strip.is-4col {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bento-pill-strip.is-3col {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    @media (min-width: 640px) {
      .bento-pill-strip.is-4col {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }
    .bento-pill-btn,
    .bento-status-chip {
      height: 2.15rem;
      padding: 0 0.5rem;
      border-radius: 999px;
      border: 1px solid var(--card-border);
      background: var(--surface);
      color: var(--foreground);
      font-size: 0.72rem;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: all 0.16s ease;
    }
    .bento-pill-btn {
      cursor: pointer;
    }
    .bento-pill-btn.is-active {
      background: #161412;
      color: #D4AF66;
      border-color: rgba(212, 175, 102, 0.45);
    }
    html.theme-dark .bento-pill-btn.is-active {
      background: #D4AF66;
      color: #141210;
      border-color: #E5C378;
    }
    .bento-status-chip.is-alert {
      background: rgba(244, 63, 94, 0.1);
      border-color: rgba(244, 63, 94, 0.35);
      color: #be123c;
    }
    html.theme-dark .bento-status-chip.is-alert {
      color: #fda4af;
    }
    .bento-stage-box {
      padding: 0.95rem 1.05rem;
      border-radius: 0.95rem;
      background: #141210;
      color: #F5F2EB;
      border: 1px solid rgba(212, 175, 102, 0.32);
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0.45rem;
      overflow: hidden;
    }

    /* Visual Mini-Game Boards inside #games-showcase */
    .mg-board {
      height: 11.25rem;
      min-height: 11.25rem;
      max-height: 11.25rem;
      background: var(--surface);
      border: 1px solid var(--card-border);
      border-radius: 0.9rem;
      padding: 0.65rem 0.7rem;
      display: flex;
      flex-direction: column;
      gap: 0.38rem;
      justify-content: center;
      overflow: hidden;
    }
    .mg-board-kicker {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.6rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #b45309;
      text-align: center;
    }
    html.theme-dark .mg-board-kicker {
      color: #fbbf24;
    }
    .mg-tile-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.4rem;
      height: 2.05rem;
      padding: 0 0.55rem;
      border-radius: 0.5rem;
      background: var(--card);
      border: 1px solid var(--card-border);
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--foreground);
      min-width: 0;
    }
    .mg-tile-row > span:first-child {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      min-width: 0;
    }
    .mg-tile-year {
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.63rem;
      font-weight: 800;
      padding: 0.12rem 0.4rem;
      border-radius: 0.35rem;
      background: rgba(16, 185, 129, 0.14);
      color: #047857;
      white-space: nowrap;
      flex-shrink: 0;
    }
    html.theme-dark .mg-tile-year {
      color: #6ee7b7;
    }
    .mg-vs-grid {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 0.35rem;
      align-items: center;
    }
    .mg-vs-card {
      padding: 0.5rem 0.4rem;
      border-radius: 0.6rem;
      background: var(--card);
      border: 1px solid var(--card-border);
      text-align: center;
      font-size: 0.68rem;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .mg-vs-card.is-win {
      border-color: #10b981;
      background: rgba(16, 185, 129, 0.1);
    }
    .mg-vs-badge {
      width: 1.45rem;
      height: 1.45rem;
      border-radius: 999px;
      background: #0f172a;
      color: #fbbf24;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.56rem;
      font-weight: 800;
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }
    .mg-odd-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.36rem;
    }
    .mg-odd-cell {
      padding: 0.38rem 0.48rem;
      border-radius: 0.5rem;
      background: var(--card);
      border: 1px solid var(--card-border);
      font-size: 0.68rem;
      font-weight: 700;
      display: flex;
      flex-direction: column;
      gap: 0.08rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .mg-odd-cell.is-win {
      background: rgba(16, 185, 129, 0.12);
      border-color: rgba(16, 185, 129, 0.45);
      color: #065f46;
    }
    html.theme-dark .mg-odd-cell.is-win {
      color: #6ee7b7;
    }
    .mg-odd-cell.is-out {
      background: rgba(244, 63, 94, 0.1);
      border-color: rgba(244, 63, 94, 0.45);
      color: #be123c;
    }
    html.theme-dark .mg-odd-cell.is-out {
      color: #fda4af;
    }

    /* ===================================================================== */
    /* BAND 4 (#games-showcase): ALIGNED 4-CARD GAMES ROW WITH PREV / NEXT   */
    /* ===================================================================== */
    @keyframes deckFlipIn {
      0% {
        opacity: 0;
        transform: translateY(6px) scale(0.992);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }
    .animate-deck-flip {
      animation: deckFlipIn 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .games-band {
      background: var(--background);
      position: relative;
      border-top: 1px solid var(--card-border);
      border-bottom: 1px solid var(--card-border);
    }
    .games-row-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.1rem;
      align-items: stretch;
    }
    @media (max-width: 639px) {
      .games-row-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.85rem;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .games-row-grid::-webkit-scrollbar {
        display: none;
      }
      .games-row-grid > .game-clean-card {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: start;
        padding: 1.1rem 1.15rem;
        gap: 0.75rem;
      }
    }
    @media (min-width: 640px) {
      .games-row-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    @media (min-width: 1024px) {
      .games-row-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.15rem;
      }
    }
    .game-clean-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-top: 3px solid var(--gold);
      border-bottom: 3px solid var(--surface-deep);
      border-radius: 1.25rem;
      padding: 1.25rem;
      display: grid;
      grid-template-rows: 6.2rem 11.25rem auto;
      gap: 0.75rem;
      align-items: stretch;
      box-shadow: var(--shadow-soft);
      transition: transform 0.2s ease, border-color 0.2s ease;
    }
    .game-card-head {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      min-width: 0;
    }
    .game-card-head .os-pillar-title {
      margin: 0.5rem 0 0 !important;
      font-size: 1.18rem;
      line-height: 1.2;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .game-card-head .os-pillar-body {
      margin: 0.3rem 0 0 !important;
      font-size: 0.8rem;
      line-height: 1.38;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .game-clean-card:hover {
      transform: translateY(-2px);
      border-color: rgba(217, 119, 6, 0.45);
    }
    .game-clean-example {
      background: var(--surface);
      border: 1px solid var(--card-border);
      border-left: 3px solid var(--gold);
      border-radius: 0.75rem;
      padding: 0.65rem 0.75rem;
      font-size: 0.76rem;
      line-height: 1.45;
      color: var(--foreground);
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
    }
    .game-clean-example strong {
      font-family: var(--font-mono);
      font-size: 0.64rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #b45309;
    }
    html.theme-dark .game-clean-example strong {
      color: #fbbf24;
    }
    .games-nav-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      max-width: 34rem;
      width: 100%;
      margin: 1.35rem auto 0;
      padding: 0.5rem 0.65rem;
      border-radius: 999px;
      background: var(--card);
      border: 1px solid var(--card-border);
      box-shadow: var(--shadow-tight);
    }
    .games-nav-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      min-height: 2.35rem;
      padding: 0 1rem;
      border-radius: 999px;
      background: var(--surface);
      border: 1px solid var(--card-border);
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--foreground);
      cursor: pointer;
      transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    }
    .games-nav-btn:hover {
      background: #161412;
      color: #D4AF66;
      border-color: rgba(212, 175, 102, 0.45);
    }
    .games-nav-dots {
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }
    .games-nav-dot {
      width: 0.65rem;
      height: 0.45rem;
      border-radius: 999px;
      background: var(--border-strong);
      border: 0;
      padding: 0;
      cursor: pointer;
      transition: width 0.2s ease, background-color 0.2s ease;
    }
    .games-nav-dot.is-active {
      width: 1.65rem;
      background: var(--gold);
    }

    /* Mobile refinements for the marketing shell (<768px & <640px) */
    .lbl-short { display: none; }
    @media (max-width: 639px) {
      .lbl-long { display: none !important; }
      .lbl-short { display: inline !important; }
      /* Single clean "Open Learning App →" CTA in the mobile top header */
      body.shell-marketing #header-open-app-btn {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        font-size: 0.75rem;
      }
      body.shell-marketing .syllabus-head .mkt-btn {
        width: auto;
        min-height: 2.35rem;
        padding: 0 0.95rem;
        font-size: 0.78rem;
        align-self: flex-start;
      }
      body.shell-marketing .faq-answer {
        padding: 0 1rem 1rem 1rem;
      }
    }

    @media (max-width: 767px) {
      /* 1. Mobile Hero: warm gold-framed eyebrow badge, balanced display title, and 2x2 architectural stats ledger */
      body.shell-marketing .mkt-hero {
        padding-top: 1.75rem;
        padding-bottom: 2.25rem;
      }
      body.shell-marketing .mkt-hero-copy .mkt-eyebrow {
        display: inline-flex;
        align-items: center;
        padding: 0.3rem 0.78rem;
        border-radius: 999px;
        background: rgba(217, 119, 6, 0.1);
        border: 1px solid rgba(217, 119, 6, 0.28);
        color: #92400e;
        font-size: 0.62rem;
        letter-spacing: 0.08em;
      }
      html.theme-dark body.shell-marketing .mkt-hero-copy .mkt-eyebrow {
        background: rgba(251, 191, 36, 0.12);
        border-color: rgba(251, 191, 36, 0.3);
        color: #fbbf24;
      }
      body.shell-marketing .mkt-hero-title {
        font-size: clamp(1.92rem, 7.4vw, 2.4rem);
        line-height: 1.1;
        margin-top: 0.85rem;
        text-wrap: balance;
      }
      body.shell-marketing .mkt-hero-title em,
      body.shell-marketing .mkt-hero-title-sub {
        display: block;
        margin-top: 0.12em;
        font-size: 0.88em;
        color: var(--accent);
        white-space: nowrap;
      }
      body.shell-marketing .mkt-hero-lead {
        font-size: 0.96rem;
        line-height: 1.55;
        margin-top: 0.85rem;
      }
      body.shell-marketing .mkt-hero-actions {
        margin-top: 1.35rem;
        gap: 0.6rem;
      }
      body.shell-marketing .mkt-hero-actions .mkt-btn-primary {
        width: 100%;
        min-height: 3.1rem;
      }
      body.shell-marketing .mkt-hero-actions .mkt-btn-ghost,
      body.shell-marketing .mkt-walkthrough-trigger-wrap .mkt-btn-ghost {
        width: 100%;
        min-height: 2.75rem;
        font-size: 0.88rem;
        background: var(--surface);
      }
      body.shell-marketing .vto-frame {
        background: var(--surface);
        border: 1px solid var(--border-strong, rgba(212, 175, 102, 0.34));
        padding: 0.38rem;
        border-radius: 1.15rem;
        box-shadow: var(--shadow-card);
      }
      body.shell-marketing .mkt-stats {
        margin-top: 1.5rem;
        background: var(--card);
        border: 1px solid var(--card-border);
        border-top: 2.5px solid var(--gold);
        border-radius: 1.1rem;
        row-gap: 0;
        overflow: hidden;
        box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.12);
      }
      body.shell-marketing .mkt-stats > div {
        padding: 0.9rem 0.75rem;
      }
      body.shell-marketing .mkt-stats > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--card-border);
      }
      body.shell-marketing .mkt-stats dd {
        font-size: 1.65rem;
        font-weight: 600;
      }
      body.shell-marketing .mkt-stats dt {
        font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #92400e;
      }
      html.theme-dark body.shell-marketing .mkt-stats dt {
        color: #fbbf24;
      }

      /* 2. Mobile How-It-Works: 4 tactile editorial cards with obsidian-gold icons & gold left spine */
      body.shell-marketing .mkt-steps {
        border-top: 0;
        gap: 0.75rem;
      }
      body.shell-marketing .mkt-step {
        background: var(--card);
        border: 1px solid var(--card-border);
        border-left: 3px solid var(--gold);
        border-radius: 1.05rem;
        padding: 1.05rem 1.1rem;
        box-shadow: 0 10px 24px -16px rgba(15, 23, 42, 0.1);
      }
      body.shell-marketing .mkt-step-icon {
        background: #161412;
        color: #D4AF66;
        border: 1px solid rgba(212, 175, 102, 0.32);
        box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.45);
      }
      body.shell-marketing .mkt-step-num {
        color: #b45309;
        font-weight: 700;
      }
      html.theme-dark body.shell-marketing .mkt-step-num {
        color: #fbbf24;
      }
      body.shell-marketing .mkt-step-title {
        font-size: 1.2rem;
      }
      body.shell-marketing .mkt-step-body {
        font-size: 0.88rem;
      }

      /* 3. Mobile Syllabus Accordion: tactile topic chips & compact collapsed rows */
      body.shell-marketing .syllabus-mobile-hint {
        color: #92400e;
      }
      html.theme-dark body.shell-marketing .syllabus-mobile-hint {
        color: #fbbf24;
      }
      body.shell-marketing .syllabus-module:not(.is-open) .syllabus-module-outcome {
        display: none;
      }
      body.shell-marketing .syllabus-module:not(.is-open) .syllabus-module-trigger {
        align-items: center;
        min-height: 3.1rem;
        padding: 0.7rem 0.85rem;
        grid-template-columns: 2.1rem minmax(0, 1fr) 2rem;
      }
      body.shell-marketing .syllabus-module:not(.is-open) .syllabus-module-num {
        padding-top: 0;
        font-size: 1.1rem;
      }
      body.shell-marketing .syllabus-module:not(.is-open) .syllabus-module-toggle {
        width: 2rem;
        height: 2rem;
        font-size: 1.15rem;
      }
      body.shell-marketing .syllabus-mobile {
        gap: 0.55rem;
      }
      body.shell-marketing .syllabus-topics {
        display: flex;
        flex-wrap: wrap;
        gap: 0.38rem;
        margin-top: 0.5rem;
      }
      body.shell-marketing .syllabus-topics li {
        background: var(--surface);
        border: 1px solid var(--card-border);
        border-radius: 0.5rem;
        padding: 0.24rem 0.58rem;
        font-size: 0.78rem;
        font-weight: 600;
        line-height: 1.35;
        color: var(--foreground);
      }
      body.shell-marketing .syllabus-topics li:before {
        display: none;
      }

      /* 4. Mobile Comparison: Design D — Interactive 5-Tab Spotlight + Summary Strip */
      body.shell-marketing .compare-board {
        display: none !important;
      }
      body.shell-marketing .compare-d-wrap {
        display: block;
      }
    }
    @media (min-width: 768px) {
      .compare-d-wrap {
        display: none !important;
      }
    }
    .compare-d-pills {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 0.3rem;
      background: #ede8df;
      padding: 0.25rem;
      border-radius: 0.75rem;
      margin-bottom: 0.75rem;
      border: 1px solid rgba(217, 119, 6, 0.16);
    }
    html.theme-dark .compare-d-pills {
      background: #171411;
      border-color: rgba(255, 248, 235, 0.10);
    }
    .compare-d-pill {
      padding: 0.48rem 0.25rem;
      border-radius: 0.56rem;
      border: 0;
      background: transparent;
      text-align: center;
      font-family: var(--font-mono);
      font-size: 0.64rem;
      font-weight: 700;
      color: #475569;
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    }
    html.theme-dark .compare-d-pill {
      color: #B8B0A4;
    }
    .compare-d-pill.is-active {
      background: #161412;
      color: #D4AF66;
      box-shadow: 0 2px 8px rgba(20, 18, 16, 0.22);
    }
    html.theme-dark .compare-d-pill.is-active {
      background: #D4AF66;
      color: #141210;
    }
    .compare-d-stage {
      background: linear-gradient(165deg, #181614 0%, #12100E 100%);
      border-radius: 1.25rem;
      border: 1px solid rgba(212, 175, 102, 0.38);
      padding: 1.15rem 1rem;
      color: #F5F2EB;
      box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.5);
    }
    .compare-d-kicker {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      font-family: var(--font-mono);
      font-size: 0.6rem;
      font-weight: 700;
      color: #E2BE78;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 0.7rem;
      white-space: nowrap;
    }
    .compare-d-vs-box {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.65rem;
    }
    .compare-d-old-box {
      padding: 0.7rem 0.82rem;
      border-radius: 0.75rem;
      background: rgba(255, 248, 235, 0.04);
      border: 1px solid rgba(244, 63, 94, 0.26);
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }
    .compare-d-new-box {
      padding: 0.88rem 0.82rem;
      border-radius: 0.75rem;
      background: linear-gradient(135deg, rgba(212, 175, 102, 0.16), rgba(212, 175, 102, 0.08));
      border: 1px solid rgba(212, 175, 102, 0.45);
      display: flex;
      align-items: flex-start;
      gap: 0.65rem;
    }
    .compare-d-icon-no {
      width: 1.5rem;
      height: 1.5rem;
      border-radius: 999px;
      background: rgba(244, 63, 94, 0.18);
      color: #fb7185;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 0.75rem;
      flex-shrink: 0;
    }
    .compare-d-icon-yes {
      width: 1.5rem;
      height: 1.5rem;
      border-radius: 999px;
      background: rgba(251, 191, 36, 0.22);
      color: #fbbf24;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 0.75rem;
      flex-shrink: 0;
      margin-top: 0.1rem;
    }
    .compare-d-copy {
      min-width: 0;
      flex: 1;
    }
    .compare-d-tag-no {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #fda4af;
      font-weight: 700;
    }
    .compare-d-text-no {
      font-size: 0.78rem;
      color: #cbd5e1;
      margin-top: 0.12rem;
      line-height: 1.38;
    }
    .compare-d-tag-yes {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #fbbf24;
      font-weight: 800;
    }
    .compare-d-text-yes {
      font-size: 0.88rem;
      font-weight: 700;
      color: #ffffff;
      margin-top: 0.18rem;
      line-height: 1.36;
    }
    .compare-d-chips {
      margin-top: 0.5rem;
      display: flex;
      gap: 0.38rem;
      flex-wrap: wrap;
    }
    .compare-d-chip {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      font-weight: 600;
      padding: 0.15rem 0.45rem;
      border-radius: 0.38rem;
      background: rgba(255, 255, 255, 0.08);
      color: #e2e8f0;
    }
    .compare-d-summary-strip {
      margin-top: 0.75rem;
      padding: 0.62rem 0.7rem;
      border-radius: 0.75rem;
      background: #f3f0ea;
      border: 1px solid #e2ddd5;
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem 0.6rem;
      justify-content: center;
      font-family: var(--font-mono);
      font-size: 0.62rem;
      font-weight: 700;
      color: #334155;
    }
    html.theme-dark .compare-d-summary-strip {
      background: #171411;
      border-color: rgba(255, 248, 235, 0.10);
      color: #B8B0A4;
    }
    .compare-d-sum-item {
      appearance: none;
      border: 0;
      background: transparent;
      padding: 0.15rem 0.35rem;
      border-radius: 0.4rem;
      font: inherit;
      color: inherit;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      cursor: pointer;
      transition: background-color 0.16s ease, color 0.16s ease;
    }
    .compare-d-sum-item b {
      color: #059669;
    }
    .compare-d-sum-item.is-active {
      background: rgba(217, 119, 6, 0.14);
      color: #92400e;
    }
    html.theme-dark .compare-d-sum-item.is-active {
      background: rgba(212, 175, 102, 0.16);
      color: #E2BE78;
    }

    /* Platform Walkthrough Video Slot (.vto-*) — responsive 16:9 on every device */
    .vto-frame {
      margin: 0;
      padding: 0.5rem;
      background: var(--surface);
      border: 1px solid var(--card-border);
      border-radius: 1.25rem;
      box-shadow: var(--shadow-card);
    }
    @media (min-width: 768px) {
      .vto-frame {
        padding: 0.7rem;
        border-radius: 1.6rem;
      }
    }
    .vto-ratio {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      border-radius: 0.85rem;
      overflow: hidden;
      background: #0D0C0B;
      transition: max-width 0.25s ease;
    }
    .vto-ratio.is-mobile {
      aspect-ratio: 9 / 16;
      max-width: 400px;
      margin: 0 auto;
    }
    @media (min-width: 768px) {
      .vto-ratio {
        border-radius: 1.1rem;
      }
    }
    @supports not (aspect-ratio: 16 / 9) {
      .vto-ratio {
        height: 0;
        padding-top: 56.25%;
      }
    }
    .vto-media {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
      object-fit: contain;
      background: #0D0C0B;
    }
    .vto-media:fullscreen,
    .vto-media:-webkit-full-screen {
      object-fit: contain !important;
      background: #000000;
    }
    .vto-placeholder {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      text-align: center;
      color: #f8fafc;
      background:
        radial-gradient(60% 70% at 50% 45%, rgba(37, 99, 235, 0.22), transparent 70%),
        linear-gradient(165deg, #0b0f19 0%, #111827 60%, #0f172a 100%);
    }
    .vto-placeholder-play {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.22);
      color: #ffffff;
      margin-bottom: 0.25rem;
    }
    .vto-placeholder-play svg {
      width: 1.35rem;
      height: 1.35rem;
      margin-left: 0.15rem;
    }
    @media (min-width: 768px) {
      .vto-placeholder-play {
        width: 4.5rem;
        height: 4.5rem;
      }
      .vto-placeholder-play svg {
        width: 1.7rem;
        height: 1.7rem;
      }
    }
    .vto-placeholder-title {
      margin: 0;
      font-family: var(--font-display-stack);
      font-size: clamp(1.05rem, 2.2vw, 1.5rem);
      font-weight: 600;
      letter-spacing: -0.01em;
    }
    .vto-placeholder-sub {
      margin: 0;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.7rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(248, 250, 252, 0.62);
    }

    .arch-bento-grid {
      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 1.15rem;
    }
    @media (min-width: 1024px) {
      .arch-bento-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 1.25rem;
      }
      .arch-col-7 {
        grid-column: span 7 / span 7;
      }
      .arch-col-5 {
        grid-column: span 5 / span 5;
      }
      .arch-col-6 {
        grid-column: span 6 / span 6;
      }
      .arch-col-12 {
        grid-column: span 12 / span 12;
      }
    }
    .arch-pillar-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-top: 3px solid var(--accent);
      border-radius: 1.35rem;
      padding: 1.4rem 1.4rem 1.5rem;
      box-shadow: var(--shadow-soft);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1.15rem;
      position: relative;
      overflow: hidden;
      transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    }
    .arch-pillar-card.is-gold-top {
      border-top-color: var(--gold);
    }
    .arch-pillar-card:hover {
      border-color: var(--cta);
      box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
    }
    .arch-schematic-box {
      background: var(--surface);
      border: 1px solid var(--card-border);
      border-radius: 1rem;
      padding: 1rem 1.1rem;
      position: relative;
      overflow: hidden;
    }

    /* Marquee & Full-Bleed Dark Ink Band (Primitive 3) */
    .marquee {
      white-space: nowrap;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 6% 94%, transparent);
      mask-image: linear-gradient(90deg, transparent, #000 6% 94%, transparent);
    }
    .marquee-track {
      align-items: center;
      gap: 0.85rem;
      animation: 24s linear infinite marquee;
      display: inline-flex;
    }
    .marquee-track-reverse {
      align-items: center;
      gap: 0.85rem;
      animation: 28s linear infinite marquee-reverse;
      display: inline-flex;
    }
    @keyframes marquee {
      0% { transform: translate(0); }
      to { transform: translate(-50%); }
    }
    @keyframes marquee-reverse {
      0% { transform: translate(-50%); }
      to { transform: translate(0); }
    }
    .on-dark-band {
      background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
      color: var(--on-dark);
    }
    .on-dark-band :is(h1, h2, h3, h4) {
      color: var(--on-dark);
    }
    .cert-frame {
      background: linear-gradient(160deg, var(--gold-bright), var(--gold) 48%, var(--gold) 100%);
      box-shadow: 0 22px 48px var(--accent), 0 2px 0 var(--gold-bright);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .cert-frame {
        background: linear-gradient(160deg, var(--gold-bright), var(--gold) 48%, color-mix(in srgb, var(--gold) 70%, var(--accent)) 100%);
        box-shadow: 0 22px 48px color-mix(in srgb, var(--accent) 16%, transparent), 0 2px 0 color-mix(in srgb, var(--gold-bright) 35%, transparent);
      }
    }
    .phone-frame {
      background: var(--ink-dark);
      border: 1px solid var(--gold);
      box-shadow: 0 28px 50px var(--accent), 0 0 0 1px var(--gold);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .phone-frame {
        border: 1px solid color-mix(in srgb, var(--gold) 38%, var(--ink-dark));
        box-shadow: 0 28px 50px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 0 1px color-mix(in srgb, var(--gold) 22%, transparent);
      }
    }

    /* Primitive 2 — Sticky Left-Rail Syllabus Desk + Giant Watermark + Gold Vertical Timeline */
    .syllabus-band,
    .faq-band {
      background: var(--accent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .syllabus-band,
      .faq-band {
        background: color-mix(in srgb, var(--accent) 4%, var(--background));
      }
    }
    .syllabus-head {
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 1.35rem;
      display: flex;
    }
    @media (min-width: 640px) {
      .syllabus-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 1.5rem;
      }
    }
    @media (min-width: 1024px) {
      .syllabus-head {
        margin-bottom: 1.75rem;
      }
    }
    .syllabus-mobile-hint {
      color: var(--accent);
      margin-top: 0.55rem;
      font-size: 0.75rem;
      font-weight: 700;
    }
    .syllabus-stats {
      flex-wrap: wrap;
      gap: 0.65rem;
      margin-bottom: 1.25rem;
      display: flex;
    }
    .syllabus-stat {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-top: 3px solid var(--gold);
      border-radius: 1rem;
      min-width: 8.25rem;
      padding: 0.8rem 1.1rem 0.9rem;
    }
    .syllabus-stat-value {
      font-family: var(--font-display-stack);
      letter-spacing: -0.03em;
      color: var(--accent);
      font-size: 2rem;
      font-weight: 600;
      line-height: 1;
    }
    .syllabus-stat-label {
      letter-spacing: 0.04em;
      color: var(--muted);
      margin-top: 0.3rem;
      font-size: 0.72rem;
      font-weight: 700;
    }
    .syllabus-desk {
      display: none;
    }
    .syllabus-mobile {
      flex-direction: column;
      gap: 0.7rem;
      display: flex;
    }
    @media (min-width: 1024px) {
      .syllabus-stats {
        margin-bottom: 1.75rem;
      }
      .syllabus-desk {
        grid-template-columns: minmax(16.5rem, 19.5rem) minmax(0, 1fr);
        align-items: stretch;
        gap: 1.35rem;
        display: grid;
      }
      .syllabus-mobile {
        display: none;
      }
    }
    .syllabus-rail {
      flex-direction: column;
      justify-content: space-between;
      gap: 0.45rem;
      align-self: stretch;
      display: flex;
    }
    .syllabus-rail-item {
      text-align: left;
      width: 100%;
      flex: 1;
      min-height: 3.6rem;
      color: inherit;
      cursor: pointer;
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 0.9rem;
      grid-template-columns: 2.35rem minmax(0, 1fr);
      align-items: center;
      gap: 0.7rem;
      padding: 0.6rem 0.9rem;
      display: grid;
      box-shadow: var(--shadow-tight);
      transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
    }
    .syllabus-right-col {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
      align-self: stretch;
      min-width: 0;
    }
    .syllabus-top-trio {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.75rem;
    }
    .syllabus-trio-card {
      text-align: left;
      width: 100%;
      cursor: pointer;
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 1rem;
      padding: 0.8rem 0.95rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.35rem;
      box-shadow: var(--shadow-tight);
      transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }
    .syllabus-trio-card:hover {
      border-color: var(--gold);
    }
    .syllabus-trio-card.is-active {
      border-color: var(--gold);
      box-shadow: inset 0 3px 0 0 var(--gold), var(--shadow-soft);
    }
    .syllabus-trio-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }
    .syllabus-trio-num {
      font-family: var(--font-display-stack);
      font-size: 1rem;
      font-weight: 600;
      line-height: 1;
      color: var(--gold);
    }
    .syllabus-trio-meta {
      font-size: 0.68rem;
      font-weight: 700;
      color: var(--muted);
      white-space: nowrap;
    }
    .syllabus-trio-title {
      font-family: var(--font-display-stack);
      font-size: 0.94rem;
      font-weight: 600;
      line-height: 1.25;
      letter-spacing: -0.015em;
      color: var(--accent);
    }
    .syllabus-detail-wrap {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .syllabus-rail-item:hover {
      background: var(--card);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .syllabus-rail-item:hover {
        background: color-mix(in srgb, var(--card) 80%, transparent);
      }
    }
    .syllabus-rail-item.is-active {
      background: var(--card);
      border-color: var(--gold);
      box-shadow: inset 3px 0 0 var(--gold), var(--shadow-tight);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .syllabus-rail-item.is-active {
        border-color: color-mix(in srgb, var(--gold) 42%, var(--card-border));
      }
    }
    .syllabus-rail-num,
    .syllabus-module-num,
    .faq-num {
      font-family: var(--font-display-stack);
      letter-spacing: -0.03em;
      color: var(--accent);
      font-weight: 600;
      line-height: 1;
    }
    .syllabus-rail-num {
      font-size: 1.15rem;
    }
    .syllabus-rail-copy,
    .syllabus-module-copy {
      flex-direction: column;
      gap: 0.15rem;
      min-width: 0;
      display: flex;
    }
    .syllabus-rail-title,
    .syllabus-module-title,
    .syllabus-detail-title {
      font-family: var(--font-display-stack);
      letter-spacing: -0.02em;
      color: var(--accent);
      font-weight: 600;
    }
    .syllabus-rail-title {
      font-size: 0.98rem;
      line-height: 1.3;
    }
    .syllabus-rail-meta,
    .syllabus-module-meta {
      color: var(--muted);
      font-size: 0.72rem;
      font-weight: 700;
    }
    .syllabus-detail {
      background: var(--card);
      border: 1px solid var(--card-border);
      min-height: 22rem;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: var(--shadow-soft);
      border-top: 3px solid var(--gold);
      border-radius: 1.25rem;
      padding: 1.5rem 1.5rem 1.6rem;
      position: relative;
      overflow: hidden;
    }
    .syllabus-detail-index {
      font-family: var(--font-display-stack);
      color: var(--accent);
      margin: 0;
      font-size: clamp(4.4rem, 9vw, 7.2rem);
      font-weight: 600;
      line-height: 1;
      position: absolute;
      top: 0.15rem;
      right: 0.85rem;
      pointer-events: none;
      -webkit-user-select: none;
      user-select: none;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .syllabus-detail-index {
        color: color-mix(in srgb, var(--accent) 8%, transparent);
      }
    }
    .syllabus-kicker {
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--gold);
      margin: 0 0 0.4rem;
      font-size: 0.7rem;
      font-weight: 800;
      position: relative;
    }
    .syllabus-detail-title {
      margin: 0;
      position: relative;
    }
    .syllabus-detail-outcome {
      max-width: 36rem;
      color: var(--muted);
      margin: 0.55rem 0 0;
      font-size: 1rem;
      line-height: 1.6;
      position: relative;
    }
    .syllabus-classes {
      margin: 1.35rem 0 0;
      padding: 0;
      list-style: none;
      position: relative;
    }
    .syllabus-class {
      padding: 0 0 1.15rem 1.2rem;
      position: relative;
    }
    @media (min-width: 1024px) {
      .syllabus-detail .syllabus-classes {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.85rem;
        margin-top: 1.25rem;
      }
      .syllabus-detail .syllabus-class {
        padding: 0.95rem 1rem;
        border-radius: 0.9rem;
        background: var(--surface);
        border: 1px solid var(--card-border);
        border-top: 2.5px solid var(--gold);
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
      }
      .syllabus-detail .syllabus-class:before,
      .syllabus-detail .syllabus-class:after {
        display: none !important;
      }
      .syllabus-detail .syllabus-class-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
      }
    }
    .syllabus-class:last-child {
      padding-bottom: 0;
    }
    .syllabus-class:before {
      content: "";
      background: var(--gold);
      width: 1px;
      position: absolute;
      top: 0.65rem;
      bottom: 0;
      left: 0.22rem;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .syllabus-class:before {
        background: color-mix(in srgb, var(--gold) 50%, transparent);
      }
    }
    .syllabus-class:last-child:before {
      display: none;
    }
    .syllabus-class:after {
      content: "";
      background: var(--gold);
      width: 0.5rem;
      height: 0.5rem;
      box-shadow: 0 0 0 3px var(--gold);
      border-radius: 999px;
      position: absolute;
      top: 0.45rem;
      left: 0;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .syllabus-class:after {
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent);
      }
    }
    .syllabus-class-meta {
      flex-wrap: wrap;
      align-items: center;
      gap: 0.45rem 0.65rem;
      display: flex;
    }
    .syllabus-class-label {
      background: var(--accent-soft);
      color: var(--accent);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border-radius: 999px;
      align-items: center;
      padding: 0.18rem 0.55rem;
      font-size: 0.66rem;
      font-weight: 800;
      display: inline-flex;
    }
    .syllabus-class-when {
      color: var(--accent);
      font-size: 0.8rem;
      font-weight: 700;
    }
    .syllabus-topics {
      margin: 0.4rem 0 0;
      padding: 0;
      list-style: none;
    }
    .syllabus-topics li {
      color: var(--muted);
      padding-left: 0.85rem;
      font-size: 0.9rem;
      line-height: 1.55;
      position: relative;
    }
    .syllabus-topics li:before {
      content: "·";
      color: var(--gold);
      font-weight: 800;
      position: absolute;
      left: 0;
    }
    .syllabus-module,
    .faq-item {
      scroll-margin-top: calc(var(--header-h) + 0.75rem);
      scroll-margin-bottom: calc(var(--sticky-height) + 1.25rem);
    }
    .syllabus-module {
      background: var(--card);
      border: 1px solid var(--card-border);
      box-shadow: var(--shadow-tight);
      border-radius: 1.1rem;
    }
    .syllabus-module.is-open {
      box-shadow: inset 3px 0 0 var(--gold), var(--shadow-soft);
      border-color: var(--gold);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .syllabus-module.is-open {
        border-color: color-mix(in srgb, var(--gold) 40%, var(--card-border));
      }
    }
    .syllabus-module h3,
    .faq-item h4 {
      margin: 0;
    }
    .syllabus-module-trigger,
    .faq-trigger {
      text-align: left;
      width: 100%;
      color: inherit;
      cursor: pointer;
      background: transparent;
      border: 0;
      display: grid;
    }
    .syllabus-module-trigger {
      grid-template-columns: 2.4rem minmax(0, 1fr) 2.5rem;
      align-items: start;
      gap: 0.7rem;
      min-height: 3.6rem;
      padding: 0.95rem 0.9rem;
    }
    .syllabus-module-num {
      padding-top: 0.15rem;
      font-size: 1.25rem;
    }
    .syllabus-module-title {
      font-size: 1.05rem;
      line-height: 1.3;
    }
    .syllabus-module-outcome {
      color: var(--muted);
      font-size: 0.86rem;
      line-height: 1.5;
    }
    .syllabus-module-toggle,
    .faq-toggle {
      border: 1px solid var(--card-border);
      color: var(--accent);
      border-radius: 999px;
      justify-content: center;
      align-items: center;
      font-weight: 600;
      line-height: 1;
      display: inline-flex;
    }
    .syllabus-module-toggle {
      width: 2.5rem;
      height: 2.5rem;
      font-size: 1.35rem;
    }
    .syllabus-module.is-open .syllabus-module-toggle,
    .faq-item.is-open .faq-toggle {
      background: var(--accent);
      color: var(--on-dark);
      border-color: var(--accent);
    }
    .syllabus-module-panel {
      padding: 0 1rem 1.1rem 1.05rem;
    }

    /* Primitive 6 — 2-Column Numbered Editorial FAQ Accordion */
    .faq-layout {
      gap: 1.75rem;
      display: grid;
    }
    @media (min-width: 1024px) {
      .faq-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 2rem 2.25rem;
      }
    }
    .faq-group-label {
      font-family: var(--font-body-stack);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gold);
      align-items: center;
      gap: 0.65rem;
      margin: 0 0 0.85rem;
      font-size: 0.78rem;
      font-weight: 800;
      display: flex;
    }
    .faq-group-label:after {
      content: "";
      background: var(--gold);
      flex: 1;
      height: 1px;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .faq-group-label:after {
        background: color-mix(in srgb, var(--gold) 35%, transparent);
      }
    }
    .faq-list {
      flex-direction: column;
      gap: 0.55rem;
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
    }
    .faq-item {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 1rem;
    }
    .faq-item.is-open {
      border-color: var(--gold);
      box-shadow: inset 3px 0 0 var(--gold);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .faq-item.is-open {
        border-color: color-mix(in srgb, var(--gold) 48%, var(--card-border));
      }
    }
    .faq-trigger {
      grid-template-columns: 1.9rem minmax(0, 1fr) 1.85rem;
      align-items: start;
      gap: 0.6rem;
      min-height: 3.25rem;
      padding: 0.85rem 0.9rem;
    }
    .faq-num {
      padding-top: 0.2rem;
      font-size: 0.95rem;
    }
    .faq-question {
      font-family: var(--font-display-stack);
      color: var(--accent);
      font-size: 0.98rem;
      font-weight: 600;
      line-height: 1.4;
    }
    .faq-toggle {
      width: 1.85rem;
      height: 1.85rem;
      margin-top: 0.05rem;
      font-size: 1.15rem;
    }
    .faq-answer {
      padding: 0 1rem 1rem 3.35rem;
    }
    .faq-answer p {
      max-width: 38rem;
      color: var(--muted);
      margin: 0;
      font-size: 0.92rem;
      line-height: 1.7;
    }

    /* Primitive 4 — Raised Dark-Pillar Comparison Board */
    .compare-band {
      background: var(--accent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .compare-band {
        background: color-mix(in srgb, var(--accent) 4%, var(--background));
      }
    }
    .compare-board {
      flex-direction: column;
      display: flex;
    }
    .compare-head {
      display: none;
    }
    .compare-rows {
      flex-direction: column;
      gap: 0.75rem;
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
    }
    .compare-row {
      background: var(--card);
      border: 1px solid var(--card-border);
      box-shadow: var(--shadow-tight);
      border-radius: 1.15rem;
      flex-direction: column;
      gap: 0.65rem;
      padding: 1rem 1rem 1.05rem;
      display: flex;
    }
    .compare-label {
      font-family: var(--font-display-stack);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      margin: 0;
      font-size: 0.82rem;
      font-weight: 600;
    }
    .compare-side {
      align-items: flex-start;
      gap: 0.7rem;
      min-width: 0;
      display: flex;
    }
    .compare-side-others {
      padding: 0.15rem 0.15rem 0.35rem;
    }
    .compare-side-ours {
      background: var(--ink-dark);
      color: var(--on-dark);
      border-radius: 0.85rem;
      padding: 0.75rem 0.8rem;
    }
    .compare-side-copy {
      min-width: 0;
    }
    .compare-side-name {
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin: 0 0 0.15rem;
      font-size: 0.68rem;
      font-weight: 700;
    }
    .compare-side-others .compare-side-name {
      color: var(--muted);
    }
    .compare-side-ours .compare-side-name {
      color: var(--gold);
    }
    .compare-side-text {
      overflow-wrap: break-word;
      margin: 0;
      font-size: 0.95rem;
      font-weight: 600;
      line-height: 1.45;
    }
    .compare-side-others .compare-side-text {
      color: var(--muted);
      font-weight: 500;
    }
    .compare-side-ours .compare-side-text {
      color: var(--on-dark);
    }
    .compare-icon {
      border-radius: 999px;
      flex-shrink: 0;
      place-items: center;
      width: 1.55rem;
      height: 1.55rem;
      margin-top: 0.12rem;
      display: grid;
    }
    .compare-icon-no {
      background: var(--muted);
      color: var(--muted);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .compare-icon-no {
        background: color-mix(in srgb, var(--muted) 14%, transparent);
      }
    }
    .compare-icon-yes {
      background: var(--gold);
      color: var(--gold);
      box-shadow: 0 0 0 1px var(--gold);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .compare-icon-yes {
        background: color-mix(in srgb, var(--gold) 22%, var(--ink-dark));
        box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent);
      }
    }
    .compare-x,
    .compare-check {
      width: 0.62rem;
      height: 0.62rem;
      display: block;
    }
    .compare-x {
      background: linear-gradient(to top left, transparent calc(50% - 0.9px), currentColor calc(50% - 0.9px) calc(50% + 0.9px), transparent calc(50% + 0.9px)),
                  linear-gradient(to top right, transparent calc(50% - 0.9px), currentColor calc(50% - 0.9px) calc(50% + 0.9px), transparent calc(50% + 0.9px));
    }
    .compare-check {
      border-bottom: 1.7px solid;
      border-left: 1.7px solid;
      width: 0.55rem;
      height: 0.32rem;
      margin-bottom: 0.12rem;
      transform: rotate(-45deg);
    }
    @media (min-width: 768px) {
      .compare-board {
        background: var(--card);
        border: 1px solid var(--card-border);
        box-shadow: var(--shadow-soft);
        border-radius: 1.5rem;
        overflow: hidden;
      }
      .compare-head,
      .compare-row {
        grid-template-columns: minmax(8.75rem, 12rem) minmax(0, 1fr) minmax(0, 1.2fr);
        align-items: stretch;
        display: grid;
      }
      .compare-head {
        background: var(--accent);
      }
      @supports (color: color-mix(in lab, red, red)) {
        .compare-head {
          background: color-mix(in srgb, var(--accent) 3%, var(--card));
        }
      }
      .compare-rows {
        gap: 0;
      }
      .compare-row {
        box-shadow: none;
        background: transparent;
        border: 0;
        border-radius: 0;
        gap: 0;
        padding: 0;
      }
      .compare-head-others,
      .compare-head-ours {
        font-family: var(--font-display-stack);
        letter-spacing: -0.02em;
        align-items: center;
        margin: 0;
        padding: 1.2rem 1.2rem 1.05rem;
        font-size: 1.08rem;
        font-weight: 600;
        line-height: 1.25;
        display: flex;
      }
      .compare-head-others {
        color: var(--muted);
      }
      .compare-head-ours {
        color: var(--gold);
        background: linear-gradient(180deg, var(--gold) 0%, var(--ink-dark) 42%, var(--ink-dark) 100%);
        border-radius: 1.15rem 1.15rem 0 0;
        margin: 0.35rem 0.35rem 0 0;
        padding: 1.15rem 1.25rem 1rem;
        box-shadow: inset 0 1px 0 var(--gold);
      }
      @supports (color: color-mix(in lab, red, red)) {
        .compare-head-ours {
          background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 16%, var(--ink-dark)) 0%, var(--ink-dark) 42%, var(--ink-dark) 100%);
          box-shadow: inset 0 1px 0 color-mix(in srgb, var(--gold) 30%, transparent);
        }
      }
      .compare-label {
        letter-spacing: -0.02em;
        text-transform: none;
        border-top: 1px solid var(--card-border);
        align-items: center;
        padding: 1.05rem 1rem 1.05rem 1.15rem;
        font-size: 0.95rem;
        display: flex;
      }
      @supports (color: color-mix(in lab, red, red)) {
        .compare-label {
          border-top: 1px solid color-mix(in srgb, var(--card-border) 85%, transparent);
        }
      }
      .compare-side {
        border-top: 1px solid var(--card-border);
        align-items: center;
        padding: 1.05rem 1.15rem;
      }
      @supports (color: color-mix(in lab, red, red)) {
        .compare-side {
          border-top: 1px solid color-mix(in srgb, var(--card-border) 85%, transparent);
        }
      }
      .compare-side-ours {
        background: var(--ink-dark);
        border-top-color: var(--gold);
        border-radius: 0;
        margin-right: 0.35rem;
        padding: 1.05rem 1.2rem;
      }
      @supports (color: color-mix(in lab, red, red)) {
        .compare-side-ours {
          border-top-color: color-mix(in srgb, var(--gold) 16%, transparent);
        }
      }
      .compare-row:last-child .compare-side-ours {
        box-shadow: 0 14px 28px rgba(var(--shadow-rgb), 0.16);
        border-radius: 0 0 1.15rem 1.15rem;
        margin-bottom: 0.35rem;
      }
      .compare-side-name {
        display: none;
      }
      .compare-side-text {
        font-size: 0.98rem;
        line-height: 1.45;
      }
      .compare-icon {
        width: 1.65rem;
        height: 1.65rem;
        margin-top: 0;
      }
    }

    /* Primitive 5 — Bento Inclusions Stack */
    .bonus-band {
      background: transparent;
    }
    .bonus-head {
      margin-bottom: 1.15rem;
    }
    .bonus-sub {
      max-width: 38rem;
      color: var(--muted);
      font-size: var(--text-lead);
      line-height: var(--leading-body);
      margin: 0.45rem 0 0;
    }
    @media (min-width: 1024px) {
      .bonus-head {
        margin-bottom: 1.5rem;
      }
      .bonus-sub {
        font-size: var(--text-lead);
      }
    }
    .bonus-total {
      background: var(--card);
      border: 1px solid var(--gold);
      border-radius: 1.15rem;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
      padding: 0.95rem 1.1rem;
      display: flex;
      box-shadow: inset 3px 0 0 var(--gold), var(--shadow-tight);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .bonus-total {
        border: 1px solid color-mix(in srgb, var(--gold) 38%, var(--card-border));
      }
    }
    .bonus-total-copy {
      min-width: 0;
    }
    .bonus-total-kicker {
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gold);
      margin: 0;
      font-size: 0.68rem;
      font-weight: 800;
    }
    .bonus-total-label {
      font-family: var(--font-display-stack);
      letter-spacing: -0.02em;
      color: var(--accent);
      margin: 0.18rem 0 0;
      font-size: 0.95rem;
      font-weight: 600;
    }
    .bonus-total-amount {
      font-family: var(--font-display-stack);
      letter-spacing: -0.03em;
      color: var(--accent);
      flex-shrink: 0;
      margin: 0;
      font-size: clamp(1.35rem, 3.4vw, 1.85rem);
      font-weight: 600;
      line-height: 1;
    }
    .bonus-star {
      color: var(--gold);
      margin-left: 0.12rem;
      font-size: 0.72em;
    }
    @media (min-width: 768px) {
      .bonus-total {
        margin-bottom: 1.25rem;
        padding: 1.1rem 1.35rem;
      }
    }
    .bonus-grid {
      gap: 0.85rem;
      display: grid;
    }
    @media (min-width: 640px) {
      .bonus-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
      }
      .bonus-grid:has(.bonus-card:nth-child(5):last-child) .bonus-card.is-featured {
        grid-column: span 2;
      }
    }
    @media (min-width: 1024px) {
      .bonus-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.15rem;
      }
      .bonus-grid:has(.bonus-card:nth-child(5):last-child) .bonus-card.is-featured {
        grid-column: span 2;
      }
    }
    .bonus-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      min-height: 11.25rem;
      box-shadow: var(--shadow-tight);
      border-radius: 1.15rem;
      flex-direction: column;
      padding: 1.15rem 1.15rem 1.2rem;
      display: flex;
      position: relative;
    }
    .bonus-card.is-featured {
      border-color: var(--gold);
      box-shadow: var(--shadow-soft);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .bonus-card.is-featured {
        border-color: color-mix(in srgb, var(--gold) 42%, var(--card-border));
      }
    }
    .bonus-card.is-featured:before {
      content: "";
      background: var(--gold);
      border-radius: 1.15rem 1.15rem 0 0;
      height: 3px;
      position: absolute;
      inset: 0 0 auto;
    }
    @media (min-width: 1024px) {
      .bonus-card {
        min-height: 12.25rem;
        padding: 1.3rem 1.3rem 1.35rem;
      }
    }
    .bonus-card-top {
      justify-content: space-between;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.95rem;
      display: flex;
    }
    .bonus-icon {
      width: 2.55rem;
      height: 2.55rem;
      color: var(--accent);
      background: var(--gold-soft);
      border: 1px solid var(--gold);
      border-radius: 0.8rem;
      flex-shrink: 0;
      place-items: center;
      display: grid;
    }
    @supports (color: color-mix(in lab, red, red)) {
      .bonus-icon {
        border: 1px solid color-mix(in srgb, var(--gold) 48%, var(--card-border));
      }
    }
    .bonus-card.is-featured .bonus-icon {
      color: var(--gold);
      background: var(--accent);
      border-color: var(--accent);
    }
    .bonus-icon svg {
      width: 1.22rem;
      height: 1.22rem;
    }
    .bonus-chip {
      background: var(--gold-soft);
      color: var(--accent);
      font-family: var(--font-display-stack);
      letter-spacing: -0.02em;
      white-space: nowrap;
      border-radius: 999px;
      align-items: baseline;
      gap: 0.28rem;
      padding: 0.28rem 0.62rem;
      font-size: 0.82rem;
      font-weight: 700;
      display: inline-flex;
    }
    .bonus-chip-label {
      font-family: var(--font-body-stack);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gold);
      font-size: 0.62rem;
      font-weight: 800;
    }
    .bonus-title {
      font-family: var(--font-display-stack);
      letter-spacing: -0.02em;
      color: var(--accent);
      margin: 0;
      font-size: 1.05rem;
      font-weight: 600;
      line-height: 1.3;
    }
    .bonus-body {
      color: var(--muted);
      margin: 0.4rem 0 0;
      font-size: 0.88rem;
      line-height: 1.55;
    }
    .bonus-soon {
      letter-spacing: 0.02em;
      color: var(--muted);
      margin: 0.55rem 0 0;
      font-size: 0.72rem;
      font-weight: 600;
    }
    .bonus-note {
      max-width: 40rem;
      color: var(--muted);
      margin: 0.85rem 0 0;
      font-size: 0.68rem;
      line-height: 1.5;
    }
    .bonus-note [aria-hidden] {
      color: var(--gold);
      margin-right: 0.15rem;
    }

    /* Primitive 7 — Bespoke Study OS Dashboard (#/dashboard) Non-Card Classes */
    .dash-command-bar {
      border-bottom: 1px solid var(--border-light);
      padding-bottom: 1.25rem;
    }
    .dash-doors-strip,
    .dash-workbench-strip {
      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      border: 1px solid var(--border-light);
      border-radius: 1.25rem;
      background: var(--bg-surface);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .dash-doors-strip > *,
    .dash-workbench-strip > * {
      padding: 1.15rem 1.25rem;
      border-bottom: 1px solid var(--border-light);
      transition: background-color 0.18s ease;
    }
    .dash-doors-strip > *:last-child,
    .dash-workbench-strip > *:last-child {
      border-bottom: 0;
    }
    .dash-doors-strip > *:hover,
    .dash-workbench-strip > *:hover {
      background-color: var(--bg-subtle);
    }
    @media (min-width: 640px) {
      .dash-doors-strip,
      .dash-workbench-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .dash-doors-strip > *:nth-child(odd),
      .dash-workbench-strip > *:nth-child(odd) {
        border-right: 1px solid var(--border-light);
      }
      .dash-doors-strip > *:nth-last-child(-n+2),
      .dash-workbench-strip > *:nth-last-child(-n+2) {
        border-bottom: 0;
      }
    }
    @media (min-width: 1024px) {
      .dash-doors-strip,
      .dash-workbench-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
      .dash-doors-strip > *,
      .dash-workbench-strip > * {
        border-bottom: 0;
        border-right: 1px solid var(--border-light);
      }
      .dash-doors-strip > *:last-child,
      .dash-workbench-strip > *:last-child {
        border-right: 0;
      }
    }
    .era-scrubber-track {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.5rem;
      position: relative;
    }
    @media (min-width: 1024px) {
      .era-scrubber-track {
        grid-template-columns: repeat(8, minmax(0, 1fr));
      }
    }
    .era-scrubber-node {
      position: relative;
      text-align: left;
      padding: 0.65rem 0.75rem;
      border-radius: 0.85rem;
      border: 1px solid var(--border-light);
      background: var(--bg-surface);
      color: var(--text-primary);
      cursor: pointer;
      transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    }
    .era-scrubber-node:hover {
      border-color: var(--primary);
    }
    .era-scrubber-node.is-active {
      border-color: var(--gold);
      border-top: 3px solid var(--gold);
      background: var(--bg-surface);
      box-shadow: var(--shadow-card);
    }
    .era-stage-canvas {
      background: var(--bg-surface);
      border: 1px solid var(--border-light);
      border-top: 3px solid var(--gold);
      border-radius: 1.25rem;
      padding: 1.5rem;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }

    /* Editorial Token Utility Classes (Guaranteed Independent of Static Tailwind Build) */
    .bg-background { background-color: var(--background); }
    .bg-background\/96 { background-color: var(--bg-nav); }
    .bg-surface { background-color: var(--surface); }
    .bg-card { background-color: var(--card); }
    .bg-ink-dark { background-color: var(--ink-dark); }
    .bg-cta { background-color: var(--cta); }
    .bg-gold { background-color: var(--gold); }
    .bg-gold-soft { background-color: var(--gold-soft); }
    .text-foreground { color: var(--foreground); }
    .text-foreground\/90 { color: var(--foreground); opacity: 0.9; }
    .text-muted { color: var(--muted); }
    .text-accent { color: var(--accent); }
    .text-gold { color: var(--gold); }
    .text-gold-bright { color: var(--gold-bright); }
    .text-highlight { color: var(--gold-bright); }
    .text-on-cta { color: var(--on-cta); }
    .text-on-cta\/85 { color: var(--on-cta); opacity: 0.85; }
    .text-on-cta\/80 { color: var(--on-cta); opacity: 0.8; }
    .text-on-dark { color: var(--on-dark); }
    .text-on-dark\/90 { color: rgba(248, 250, 252, 0.9); }
    .text-on-dark\/80 { color: rgba(248, 250, 252, 0.8); }
    .text-on-dark\/78 { color: rgba(248, 250, 252, 0.78); }
    .text-on-dark\/72 { color: rgba(248, 250, 252, 0.72); }
    .text-on-dark\/65 { color: rgba(248, 250, 252, 0.65); }
    .text-on-dark\/60 { color: rgba(248, 250, 252, 0.6); }
    .border-card-border { border-color: var(--card-border); }
    .border-cta { border-color: var(--cta); }
    .border-gold { border-color: var(--gold); }
    .border-gold\/35 { border-color: rgba(217, 119, 6, 0.35); }
    .border-gold\/25 { border-color: rgba(217, 119, 6, 0.25); }
    .hover\:border-gold:hover { border-color: var(--gold); }
    .hover\:border-accent\/40:hover { border-color: var(--gold); }
    .rounded-\[1\.1rem\] { border-radius: 1.1rem; }
    .rounded-\[1\.2rem\] { border-radius: 1.2rem; }
    .rounded-\[1\.5rem\] { border-radius: 1.5rem; }
    .shadow-\[var\(--shadow-soft\)\] { box-shadow: var(--shadow-soft); }
    .shadow-\[0_18px_36px_rgba\(0\,0\,0\,0\.24\)\] { box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24); }
    .tracking-\[0\.14em\] { letter-spacing: 0.14em; }
    .tracking-\[0\.2em\] { letter-spacing: 0.2em; }
    .min-h-10 { min-height: 2.5rem; }
    .min-h-11 { min-height: 2.75rem; }
    .min-h-12 { min-height: 3rem; }
    @media (min-width: 1024px) {
      .lg\:grid-cols-\[1\.08fr_0\.92fr\] {
        grid-template-columns: 1.08fr 0.92fr;
      }
    }

    /* ===================================================================== */
    /* 1. VIEW TRANSITIONS API & SHELL MORPHING                              */
    /* ===================================================================== */
    @keyframes vtFadeOut {
      from { opacity: 1; transform: translateY(0) scale(1); }
      to   { opacity: 0; transform: translateY(-4px) scale(0.995); }
    }
    @keyframes vtSlideFadeIn {
      from { opacity: 0; transform: translateY(8px) scale(0.994); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes shellMorphOut {
      from { opacity: 1; transform: scale(1); filter: blur(0px); }
      to   { opacity: 0; transform: scale(0.985); filter: blur(3px); }
    }
    @keyframes shellMorphIn {
      from { opacity: 0; transform: translateY(12px) scale(0.988); filter: blur(3px); }
      to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
    }
    @keyframes pageSpringIn {
      0%   { opacity: 0; transform: translateY(10px) scale(0.992); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes shellSwitchFallback {
      0%   { opacity: 0; transform: translateY(14px) scale(0.986); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }

    ::view-transition-old(root) {
      animation: vtFadeOut 0.18s var(--ease-out-quint) both;
    }
    ::view-transition-new(root) {
      animation: vtSlideFadeIn 0.28s var(--ease-out-expo) both;
    }
    html.vt-shell-morph::view-transition-old(root) {
      animation: shellMorphOut 0.24s var(--ease-in-out-morph) both;
    }
    html.vt-shell-morph::view-transition-new(root) {
      animation: shellMorphIn 0.38s var(--ease-out-expo) both;
    }

    .animate-page {
      animation: pageSpringIn 0.32s var(--ease-out-expo); /* no fill: a retained transform would break position:fixed children */
    }
    .animate-shell-switch {
      animation: shellSwitchFallback 0.36s var(--ease-out-expo); /* no fill: keeps fixed bars pinned to the viewport */
    }

    @keyframes fadeUp {
      0% { opacity: 0; transform: translateY(10px) scale(0.994); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes fadeSlideUp {
      0% { opacity: 0; transform: translateY(14px) scale(0.992); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes cardPopIn {
      0% { opacity: 0; transform: translateY(12px) scale(0.985); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes floatSlow {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-4px); }
    }
    @keyframes pulseSoft {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.78; transform: scale(1.04); }
    }
    @keyframes barGrow {
      0% { transform: scaleX(0); }
      100% { transform: scaleX(1); }
    }
    @keyframes shimmerSweep {
      0% { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }

    .animate-float {
      animation: floatSlow 3.6s ease-in-out infinite;
    }
    .animate-pulse-soft {
      animation: pulseSoft 2.4s ease-in-out infinite;
    }
    .animate-bar-grow {
      transform-origin: left center;
      animation: barGrow 0.65s var(--ease-out-quint) both;
    }

    /* ===================================================================== */
    /* 2. AUTOMATIC STAGGERED CASCADE REVEALS (QUICK & SILKY)                */
    /* ===================================================================== */
    @keyframes cascadeGlideIn {
      0%   { opacity: 0; transform: translateY(6px) scale(0.994); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }

    #app-viewport > div > *:nth-child(1) { animation: fadeSlideUp 0.18s var(--ease-out-quint) 0.01s both; }
    #app-viewport > div > *:nth-child(2) { animation: fadeSlideUp 0.18s var(--ease-out-quint) 0.02s both; }
    #app-viewport > div > *:nth-child(3) { animation: fadeSlideUp 0.20s var(--ease-out-quint) 0.03s both; }
    #app-viewport > div > *:nth-child(4) { animation: fadeSlideUp 0.20s var(--ease-out-quint) 0.04s both; }
    #app-viewport > div > *:nth-child(5) { animation: fadeSlideUp 0.22s var(--ease-out-quint) 0.05s both; }

    .stagger-list > *,
    .grid:not(nav) > * {
      animation: cascadeGlideIn 0.18s var(--ease-out-expo) both;
      animation-delay: calc(var(--stagger-idx, 0) * 8ms);
    }
    .stagger-list > *:nth-child(1),  .grid > *:nth-child(1)  { --stagger-idx: 1; }
    .stagger-list > *:nth-child(2),  .grid > *:nth-child(2)  { --stagger-idx: 2; }
    .stagger-list > *:nth-child(3),  .grid > *:nth-child(3)  { --stagger-idx: 3; }
    .stagger-list > *:nth-child(4),  .grid > *:nth-child(4)  { --stagger-idx: 4; }
    .stagger-list > *:nth-child(5),  .grid > *:nth-child(5)  { --stagger-idx: 5; }
    .stagger-list > *:nth-child(6),  .grid > *:nth-child(6)  { --stagger-idx: 6; }
    .stagger-list > *:nth-child(7),  .grid > *:nth-child(7)  { --stagger-idx: 7; }
    .stagger-list > *:nth-child(8),  .grid > *:nth-child(8)  { --stagger-idx: 8; }
    .stagger-list > *:nth-child(9),  .grid > *:nth-child(9)  { --stagger-idx: 9; }
    .stagger-list > *:nth-child(10), .grid > *:nth-child(10) { --stagger-idx: 10; }
    .stagger-list > *:nth-child(11), .grid > *:nth-child(11) { --stagger-idx: 11; }
    .stagger-list > *:nth-child(12), .grid > *:nth-child(12) { --stagger-idx: 12; }

    /* ===================================================================== */
    /* 3. TACTILE CARDS & CURSOR-TRACKING RADIAL SPOTLIGHT                   */
    /* ===================================================================== */
    .app-card,
    .spotlight-card {
      position: relative;
      transition: transform 0.24s var(--ease-out-expo),
                  box-shadow 0.24s var(--ease-out-expo),
                  border-color 0.2s ease,
                  background-color 0.2s ease;
    }

    .app-card[onclick],
    .spotlight-card {
      overflow: hidden;
    }

    .app-card[onclick]::before,
    .spotlight-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.28s var(--ease-out-quint);
      background: radial-gradient(
        420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--spotlight-color),
        transparent 65%
      );
      z-index: 0;
    }

    @media (hover: hover) {
      .app-card[onclick]:hover,
      .spotlight-card:hover,
      div[onclick].rounded-2xl:hover,
      div[onclick].rounded-3xl:hover,
      button.rounded-2xl:hover,
      button.rounded-3xl:hover {
        transform: translateY(-2px);
        border-color: var(--spotlight-border);
        box-shadow: 0 12px 28px -8px rgba(37, 99, 235, 0.12),
                    0 4px 10px -3px rgba(15, 23, 42, 0.05);
      }
      .app-card[onclick]:hover::before,
      .spotlight-card:hover::before {
        opacity: 1;
      }
    }

    .app-card[onclick]:active,
    .spotlight-card:active,
    div[onclick].rounded-2xl:active,
    div[onclick].rounded-3xl:active {
      transform: translateY(0.5px) scale(0.985);
      transition-duration: 0.08s;
    }

    /* ===================================================================== */
    /* 4. TACTILE BUTTONS, SHINE SWEEP & ARROW NUDGE                         */
    /* ===================================================================== */
    button {
      transition: transform 0.18s var(--ease-out-expo),
                  box-shadow 0.18s ease,
                  background-color 0.18s ease,
                  border-color 0.18s ease,
                  color 0.18s ease,
                  opacity 0.18s ease;
    }
    button:active {
      transform: scale(0.97);
    }

    .btn-tactile-primary,
    .btn-shine {
      position: relative;
      overflow: hidden;
    }
    .btn-tactile-primary::after,
    .btn-shine::after {
      content: "";
      position: absolute;
      top: 0;
      left: -120%;
      width: 65%;
      height: 100%;
      background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.24) 50%,
        transparent 100%
      );
      transform: skewX(-20deg);
      transition: left 0.55s var(--ease-out-expo);
      pointer-events: none;
    }
    @media (hover: hover) {
      .btn-tactile-primary:hover::after,
      .btn-shine:hover::after {
        left: 140%;
      }
      .btn-tactile-primary:hover {
        transform: translateY(-1.5px);
        box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.35);
      }
    }
    .btn-tactile-primary:active {
      transform: translateY(1.5px) scale(0.975);
      border-bottom-width: 1px;
    }

    .arrow-nudge,
    button .arrow-icon,
    .app-card[onclick] .arrow-icon {
      display: inline-block;
      transition: transform 0.22s var(--ease-spring-pop);
    }
    @media (hover: hover) {
      button:hover .arrow-nudge,
      button:hover .arrow-icon,
      a:hover .arrow-nudge,
      .app-card[onclick]:hover .arrow-nudge,
      .app-card[onclick]:hover .arrow-icon {
        transform: translateX(3.5px);
      }
    }

    /* ===================================================================== */
    /* 5. QUESTION PLAYER, PROGRESS BARS & SCORE RING ANIMATIONS             */
    /* ===================================================================== */
    .progress-fill,
    .h-1\.5 > div,
    .h-2 > div,
    .h-2\.5 > div,
    .h-3 > div {
      transform-origin: left center;
      animation: barGrow 0.65s var(--ease-out-quint) both;
      transition: width 0.52s var(--ease-spring-pop);
    }

    .quiz-option-btn {
      position: relative;
      border-bottom-width: 3px;
      transition: transform 0.16s var(--ease-out-expo),
                  border-color 0.16s ease,
                  background-color 0.16s ease,
                  box-shadow 0.16s ease;
    }
    @media (hover: hover) {
      .quiz-option-btn:not(:disabled):hover {
        transform: translateY(-1.5px);
        border-color: var(--primary);
        box-shadow: 0 6px 14px -4px rgba(37, 99, 235, 0.12);
      }
    }
    .quiz-option-btn:not(:disabled):active {
      transform: translateY(1.5px) scale(0.992);
      border-bottom-width: 1px;
    }

    @keyframes ppPop {
      0%   { transform: scale(0.96); }
      55%  { transform: scale(1.028); }
      100% { transform: scale(1); }
    }
    @keyframes ppShake {
      0%, 100% { transform: translateX(0); }
      20%      { transform: translateX(-6px); }
      40%      { transform: translateX(6px); }
      60%      { transform: translateX(-4px); }
      80%      { transform: translateX(4px); }
    }
    @keyframes explanationSlideIn {
      from { opacity: 0; transform: translateY(8px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes scoreRingDraw {
      from { stroke-dashoffset: var(--ring-circumference, 283); }
      to   { stroke-dashoffset: var(--ring-target-offset, 0); }
    }

    .pp-pop { animation: ppPop 0.34s var(--ease-spring-pop); }
    .pp-shake { animation: ppShake 0.38s ease-in-out; }
    .animate-explanation-in { animation: explanationSlideIn 0.28s var(--ease-out-expo) both; }
    .score-ring-circle {
      animation: scoreRingDraw 0.95s var(--ease-out-expo) 0.12s both;
    }

    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }
    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    /* ===================================================================== */
    /* TAILWIND GAP-FILL: utilities used in app.js but absent from the       */
    /* precompiled assets/tailwind.min.css (without these, e.g. bg-blue-700  */
    /* buttons rendered white text on no background).                        */
    /* ===================================================================== */
    body.shell-marketing,
    body.shell-marketing #app-main-shell,
    body.shell-marketing #app-viewport {
      max-width: 100vw;
      overflow-x: hidden;
    }
    .bg-blue-700 { background-color: #1d4ed8; }
    .hover\:bg-blue-800:hover { background-color: #1e40af; }
    .hover\:bg-blue-500:hover { background-color: #3b82f6; }
    .hover\:bg-blue-500\/5:hover { background-color: rgba(59, 130, 246, 0.05); }
    .hover\:bg-slate-800:hover { background-color: #1e293b; }
    .hover\:bg-white\/15:hover { background-color: rgba(255, 255, 255, 0.15); }
    .hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.10); }
    .hover\:bg-amber-300:hover { background-color: #fcd34d; }
    .bg-slate-950 { background-color: #020617; }
    .bg-slate-950\/80 { background-color: rgba(2, 6, 23, 0.8); }
    .bg-slate-900 { background-color: #0f172a; }
    .bg-slate-900\/75 { background-color: rgba(15, 23, 42, 0.75); }
    .bg-slate-900\/5 { background-color: rgba(15, 23, 42, 0.05); }
    .bg-slate-800 { background-color: #1e293b; }
    .bg-amber-400 { background-color: #fbbf24; }
    .bg-amber-400\/15 { background-color: rgba(251, 191, 36, 0.15); }
    .bg-emerald-400 { background-color: #34d399; }
    .bg-emerald-500 { background-color: #10b981; }
    .bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.10); }
    .bg-emerald-500\/15 { background-color: rgba(16, 185, 129, 0.15); }
    .bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.20); }
    .bg-purple-500 { background-color: #a855f7; }
    .bg-rose-500 { background-color: #f43f5e; }
    .bg-rose-500\/10 { background-color: rgba(244, 63, 94, 0.10); }
    .bg-blue-500\/20 { background-color: rgba(59, 130, 246, 0.20); }
    .bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
    .bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
    .border-white\/10 { border-color: rgba(255, 255, 255, 0.10); }
    .border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
    .border-amber-400 { border-color: #fbbf24; }
    .border-amber-400\/35 { border-color: rgba(251, 191, 36, 0.35); }
    .border-amber-400\/80 { border-color: rgba(251, 191, 36, 0.8); }
    .hover\:border-amber-400\/60:hover { border-color: rgba(251, 191, 36, 0.6); }
    .border-blue-400\/35 { border-color: rgba(96, 165, 250, 0.35); }
    .border-emerald-500\/35 { border-color: rgba(16, 185, 129, 0.35); }
    .border-emerald-500\/40 { border-color: rgba(16, 185, 129, 0.40); }
    .border-rose-500\/30 { border-color: rgba(244, 63, 94, 0.30); }
    .text-white\/75 { color: rgba(255, 255, 255, 0.75); }
    .text-slate-950 { color: #020617; }
    .text-slate-200 { color: #e2e8f0; }
    .text-slate-300 { color: #cbd5e1; }
    .text-slate-400 { color: #94a3b8; }
    .text-amber-300 { color: #fcd34d; }
    .text-amber-400 { color: #fbbf24; }
    .text-amber-600 { color: #d97706; }
    .text-amber-800 { color: #92400e; }
    .text-emerald-200\/90 { color: rgba(167, 243, 208, 0.9); }
    .text-emerald-300 { color: #6ee7b7; }
    .text-emerald-400 { color: #34d399; }
    .text-emerald-600 { color: #059669; }
    .text-emerald-700 { color: #047857; }
    .text-emerald-900 { color: #064e3b; }
    .text-rose-400 { color: #fb7185; }
    .text-rose-600 { color: #e11d48; }
    .text-rose-800 { color: #9f1239; }
    .text-blue-300 { color: #93c5fd; }
    .text-primary-c { color: var(--text-primary); }
    .hover\:text-primary-c:hover { color: var(--text-primary); }
    .placeholder\:text-muted-c::placeholder { color: var(--text-muted); }
    .theme-dark .dark\:bg-amber-400 { background-color: #fbbf24; }
    .theme-dark .dark\:text-slate-950 { color: #020617; }
    .theme-dark .dark\:text-slate-900 { color: #0f172a; }
    .theme-dark .dark\:text-slate-800 { color: #1e293b; }
    .theme-dark .dark\:text-amber-300 { color: #fcd34d; }
    .theme-dark .dark\:text-emerald-200 { color: #a7f3d0; }
    .theme-dark .dark\:text-emerald-300 { color: #6ee7b7; }
    .theme-dark .dark\:text-rose-200 { color: #fecdd3; }
    .theme-dark .dark\:text-rose-400 { color: #fb7185; }
    .m-0 { margin: 0; }
    .p-0 { padding: 0; }
    .ml-1 { margin-left: 0.25rem; }
    .ml-1\.5 { margin-left: 0.375rem; }
    .mt-4 { margin-top: 1rem; }
    .mb-5 { margin-bottom: 1.25rem; }
    .mb-6 { margin-bottom: 1.5rem; }
    .pb-5 { padding-bottom: 1.25rem; }
    .pr-3 { padding-right: 0.75rem; }
    .px-0\.5 { padding-left: 0.125rem; padding-right: 0.125rem; }
    .py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
    .max-w-none { max-width: none; }
    .min-w-\[7\.25rem\] { min-width: 7.25rem; }
    .z-\[1\] { z-index: 1; }
    .tracking-\[0\.18em\] { letter-spacing: 0.18em; }
    .tracking-\[0\.14em\] { letter-spacing: 0.14em; }
    .scroll-mt-20 { scroll-margin-top: 5rem; }
    .backdrop-blur { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
    .active\:scale-\[0\.98\]:active { transform: scale(0.98); }
    .space-y-7 > :not(:last-child) { margin-bottom: 1.75rem; }
    .space-y-8 > :not(:last-child) { margin-bottom: 2rem; }
    .divide-x > :not(:last-child) { border-right: 1px solid var(--border-light); }
    @media (min-width: 640px) {
      .sm\:p-3 { padding: 0.75rem; }
      .sm\:p-10 { padding: 2.5rem; }
      .sm\:items-end { align-items: flex-end; }
      .sm\:flex-nowrap { flex-wrap: nowrap; }
      .sm\:divide-y-0 > :not(:last-child) { border-bottom-width: 0; }
      .sm\:divide-x > :not(:last-child) { border-right: 1px solid var(--border-light); }
    }
    @media (min-width: 1024px) {
      .lg\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
      .lg\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
      .lg\:p-12 { padding: 3rem; }
      .lg\:pb-16 { padding-bottom: 4rem; }
      .lg\:pt-0 { padding-top: 0; }
      .lg\:mt-0 { margin-top: 0; }
      .lg\:mb-10 { margin-bottom: 2.5rem; }
      .lg\:gap-10 { gap: 2.5rem; }
      .lg\:items-end { align-items: flex-end; }
      .lg\:justify-between { justify-content: space-between; }
      .lg\:justify-end { justify-content: flex-end; }
      .lg\:self-auto { align-self: auto; }
      .lg\:border-t-0 { border-top-width: 0; }
    }

    /* ===================================================================== */
    /* DEDICATED SIGN-IN PAGE (#/signin) & WORKSPACE ACCESS STATUS BAR       */
    /* ===================================================================== */
    @media (min-width: 640px) {
      .sm\:hidden { display: none !important; }
      .sm\:inline { display: inline !important; }
      .sm\:inline-flex { display: inline-flex !important; }
      .sm\:w-auto { width: auto !important; }
      .sm\:flex-row { flex-direction: row !important; }
      .sm\:items-center { align-items: center !important; }
      .sm\:px-3\.5 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
      .sm\:text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
    }

    @media (max-width: 767px) {
      body.shell-workspace #dashboard-mobile-nav {
        display: grid !important;
      }
    }
    @media (min-width: 768px) {
      #dashboard-mobile-nav {
        display: none !important;
      }
    }
    body.shell-marketing #dashboard-mobile-nav,
    body.route-admin #dashboard-mobile-nav {
      display: none !important;
    }

    body.route-signin #header-student-btn,
    body.route-signin #header-trial-cta-btn,
    body.route-signin .mkt-mobile-bar {
      display: none !important;
    }

    .signin-page {
      min-height: calc(100vh - 3.5rem);
      padding: clamp(1.25rem, 5vw, 4.25rem) 1rem clamp(2.5rem, 6vw, 4.5rem);
      display: flex;
      align-items: center;
    }
    .signin-shell {
      width: 100%;
      max-width: 60rem;
      margin: 0 auto;
      display: grid;
      gap: 1.35rem;
      align-items: start;
    }
    @media (min-width: 880px) {
      .signin-shell {
        grid-template-columns: 1.05fr 0.95fr;
        column-gap: 3.5rem;
        row-gap: 1.25rem;
        align-items: center;
      }
      .signin-intro {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
      }
      .signin-points {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
      }
      .signin-card {
        grid-column: 2;
        grid-row: 1 / span 2;
      }
    }
    .signin-intro {
      max-width: 30rem;
    }
    .signin-title {
      margin: 0.35rem 0 0;
      font-family: var(--font-display-stack);
      font-size: clamp(1.65rem, 3.8vw, 2.75rem);
      font-weight: 600;
      line-height: 1.12;
      letter-spacing: -0.025em;
      color: var(--foreground);
    }
    .signin-title em {
      font-style: italic;
      font-weight: 500;
      color: var(--cta);
    }
    .signin-points {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.95rem;
    }
    .signin-points li {
      display: grid;
      grid-template-columns: 0.5rem 1fr;
      gap: 0.75rem;
      align-items: baseline;
      font-size: 0.92rem;
      line-height: 1.5;
    }
    .signin-point-mark {
      width: 0.42rem;
      height: 0.42rem;
      border-radius: 999px;
      background: var(--gold);
      transform: translateY(-0.1rem);
    }
    .signin-points strong {
      display: block;
      font-weight: 700;
      color: var(--foreground);
      margin-bottom: 0.1rem;
    }
    .signin-points li > span > span {
      color: var(--muted);
    }

    .signin-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 1.25rem;
      padding: clamp(1.5rem, 3.5vw, 2.25rem);
      box-shadow: 0 22px 48px -20px rgba(15, 23, 42, 0.16);
    }
    .signin-form-title {
      margin: 0 0 0.3rem;
      font-family: var(--font-display-stack);
      font-size: 1.35rem;
      font-weight: 600;
      letter-spacing: -0.015em;
      color: var(--foreground);
    }
    .signin-form-sub {
      margin: 0 0 1.35rem;
      font-size: 0.88rem;
      line-height: 1.5;
      color: var(--muted);
    }
    .signin-back {
      appearance: none;
      background: none;
      border: 0;
      padding: 0;
      margin: 0 0 0.75rem;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--muted);
      cursor: pointer;
    }
    .signin-back:hover { color: var(--foreground); }
    .signin-dev-hint {
      margin: -0.5rem 0 1rem;
      padding: 0.5rem 0.75rem;
      border-radius: 0.6rem;
      background: var(--gold-soft);
      color: var(--foreground);
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.78rem;
    }
    .signin-fields {
      display: grid;
      gap: 0.55rem;
    }
    .signin-label {
      font-size: 0.76rem;
      font-weight: 700;
      color: var(--foreground);
      margin-top: 0.35rem;
    }
    .signin-label:first-child { margin-top: 0; }
    .signin-phone {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      border: 1px solid var(--card-border);
      border-radius: 0.75rem;
      background: var(--background);
      overflow: hidden;
    }
    .signin-phone:focus-within {
      border-color: var(--cta);
      box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
    }
    .signin-phone > span {
      padding: 0 0.85rem;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--muted);
      border-right: 1px solid var(--card-border);
      line-height: 2.75rem;
    }
    .signin-phone .signin-input {
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none !important;
    }
    .signin-input {
      width: 100%;
      height: 2.85rem;
      padding: 0 0.9rem;
      border: 1px solid var(--card-border);
      border-radius: 0.75rem;
      background: var(--background);
      color: var(--foreground);
      font-size: 0.95rem;
      font-weight: 500;
      outline: none;
    }
    .signin-input:focus {
      border-color: var(--cta);
      box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
    }
    .signin-otp {
      height: 3.1rem;
      text-align: center;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 1.35rem;
      font-weight: 700;
      letter-spacing: 0.35em;
    }
    .signin-submit {
      width: 100%;
      margin-top: 0.65rem;
    }
    .signin-error {
      margin-top: 0.25rem;
      padding: 0.55rem 0.75rem;
      border-radius: 0.6rem;
      background: rgba(225, 29, 72, 0.08);
      border: 1px solid rgba(225, 29, 72, 0.25);
      color: #be123c;
      font-size: 0.8rem;
      font-weight: 600;
    }
    .signin-divider {
      position: relative;
      text-align: center;
      margin: 1.15rem 0;
    }
    .signin-divider::before {
      content: "";
      position: absolute;
      inset: 50% 0 auto;
      border-top: 1px solid var(--card-border);
    }
    .signin-divider span {
      position: relative;
      padding: 0 0.75rem;
      background: var(--card);
      font-size: 0.74rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .signin-google {
      min-height: 2.75rem;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .signin-legal,
    .signin-foot {
      margin: 0.9rem 0 0;
      text-align: center;
      font-size: 0.76rem;
      color: var(--muted);
    }
    .signin-legal a,
    .signin-foot button {
      appearance: none;
      background: none;
      border: 0;
      padding: 0;
      font: inherit;
      font-weight: 600;
      color: var(--foreground);
      text-decoration: underline;
      cursor: pointer;
    }

    /* Slim trial / free-plan status bar inside the study workspace */
    .access-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem 1rem;
      padding: 0.6rem 0.95rem;
      margin-bottom: 1rem;
      border-radius: 0.75rem;
      border: 1px solid var(--border-light);
      background: var(--bg-surface);
      font-size: 0.82rem;
      color: var(--text-secondary);
    }
    .access-bar p {
      margin: 0;
      flex: 1 1 14rem;
    }
    .access-bar strong { color: var(--text-primary); }
    .access-bar-dot {
      width: 0.48rem;
      height: 0.48rem;
      border-radius: 999px;
      background: #10b981;
      flex-shrink: 0;
    }
    .access-bar.is-ended .access-bar-dot { background: #f59e0b; }
    .access-bar button {
      appearance: none;
      border: 1px solid var(--border-light);
      background: var(--bg-subtle);
      color: var(--text-primary);
      font-size: 0.76rem;
      font-weight: 700;
      padding: 0.35rem 0.75rem;
      border-radius: 999px;
      cursor: pointer;
      white-space: nowrap;
    }
    .access-bar.is-ended button {
      background: var(--cta);
      border-color: var(--cta);
      color: #ffffff;
    }

    /* ===================================================================== */
    /* 6. ACCESSIBILITY: REDUCED MOTION SAFETY OVERRIDE                      */
    /* ===================================================================== */
    /* ===================================================================== */
    /* 7. LUXURY ARCHITECTURAL FOOTER (.lux-footer)                          */
    /* ===================================================================== */
    body.shell-marketing {
      padding-bottom: 0 !important;
    }
    body.shell-marketing #app-main-shell,
    body.shell-marketing.mobile-nav-hidden #app-main-shell {
      padding-bottom: 0 !important;
    }
    .lux-footer {
      position: relative;
      width: 100%;
      background:
        radial-gradient(64rem 24rem at 18% 0%, rgba(212, 175, 102, 0.10), transparent 70%),
        radial-gradient(54rem 22rem at 85% 0%, rgba(212, 175, 102, 0.08), transparent 70%),
        linear-gradient(180deg, #141210 0%, #0D0C0B 100%);
      color: #F5F2EB;
      border-top: 2px solid rgba(212, 175, 102, 0.36);
      padding: clamp(3rem, 5vw, 4.25rem) 0 2.5rem;
      margin-top: 0;
      overflow: hidden;
    }
    @media (max-width: 1023px) {
      .lux-footer {
        padding-bottom: calc(5.5rem + var(--safe-bottom));
      }
    }
    .lux-footer-inner {
      max-width: 76rem;
      margin: 0 auto;
      padding: 0 clamp(1.15rem, 3.5vw, 2.5rem);
    }
    .lux-footer-top {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.75rem 1.25rem;
      padding-bottom: 2rem;
      border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    }
    .lux-footer-brand-col {
      grid-column: 1 / -1;
    }
    @media (max-width: 639px) {
      .lux-footer-col-legal {
        grid-column: 1 / -1;
        padding-top: 0.35rem;
        border-top: 1px solid rgba(148, 163, 184, 0.12);
      }
      .lux-footer-col-legal .lux-footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem 1rem;
      }
    }
    @media (min-width: 640px) {
      .lux-footer-top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.25rem;
        padding-bottom: 2.5rem;
      }
      .lux-footer-brand-col {
        grid-column: 1 / -1;
      }
    }
    @media (min-width: 1024px) {
      .lux-footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2.75rem;
      }
      .lux-footer-brand-col {
        grid-column: auto;
      }
    }
    .lux-footer-brand-head {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .lux-footer-logo {
      width: 2.35rem;
      height: 2.35rem;
      border-radius: 0.65rem;
      object-fit: contain;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(251, 191, 36, 0.32);
      padding: 0.2rem;
      flex-shrink: 0;
    }
    .lux-footer-brand-name {
      font-family: var(--font-display-stack);
      font-size: 1.35rem;
      font-weight: 600;
      letter-spacing: -0.015em;
      color: #f8fafc;
      line-height: 1.05;
    }
    .lux-footer-brand-sub {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #fbbf24;
      margin-top: 0.2rem;
    }
    .lux-footer-mission {
      margin: 0.95rem 0 0;
      font-size: 0.86rem;
      line-height: 1.62;
      color: rgba(226, 232, 240, 0.74);
      max-width: 24rem;
    }
    .lux-footer-contact-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1.1rem;
    }
    .lux-footer-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.38rem 0.72rem;
      border-radius: 0.6rem;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(148, 163, 184, 0.18);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 600;
      color: #f1f5f9;
      text-decoration: none;
      transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
    }
    .lux-footer-pill:hover {
      border-color: rgba(251, 191, 36, 0.5);
      background: rgba(251, 191, 36, 0.1);
      color: #fbbf24;
    }
    .lux-footer-col-title {
      margin: 0 0 0.85rem;
      font-family: var(--font-mono);
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #fbbf24;
    }
    .lux-footer-links {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }
    .lux-footer-link {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.84rem;
      font-weight: 500;
      color: rgba(226, 232, 240, 0.78);
      text-decoration: none;
      background: transparent;
      border: 0;
      padding: 0;
      cursor: pointer;
      text-align: left;
      transition: color 0.16s ease, transform 0.16s ease;
    }
    .lux-footer-link:hover {
      color: #ffffff;
      transform: translateX(2px);
    }
    .lux-footer-bottom {
      padding-top: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
      justify-content: space-between;
    }
    @media (min-width: 880px) {
      .lux-footer-bottom {
        flex-direction: row;
        align-items: center;
      }
    }
    .lux-footer-legal-copy {
      font-size: 0.76rem;
      line-height: 1.55;
      color: rgba(148, 163, 184, 0.82);
    }
    .lux-footer-legal-copy strong {
      color: #f1f5f9;
      font-weight: 600;
    }
    .lux-footer-badges {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.45rem;
      flex-shrink: 0;
    }
    .lux-footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.26rem 0.62rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid rgba(148, 163, 184, 0.2);
      font-family: var(--font-mono);
      font-size: 0.66rem;
      font-weight: 700;
      color: rgba(226, 232, 240, 0.85);
      white-space: nowrap;
    }

    /* =====================================================================
       SIGNATURE ENTRANCE REVEALS:
       1) LANDING PAGE ("landing")   -> Editorial Horizontal Split Curtain
       2) STUDY DASHBOARD ("dashboard") -> Obsidian Vault Shutters + Zoom-Through Portal
       ===================================================================== */
    .ve-stage {
      position: fixed;
      inset: 0;
      z-index: 9999;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: auto;
      user-select: none;
    }
    .ve-stage.is-hidden {
      display: none !important;
    }
    .ve-stage.is-opening {
      pointer-events: none;
    }

    /* --- MODE 1: LANDING PAGE HORIZONTAL SPLIT CURTAIN --- */
    .ve-landing-wrap {
      position: absolute;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
    }
    .ve-stage[data-entrance-mode="landing"] .ve-landing-wrap,
    .ve-stage[data-entrance-mode="dashboard"] .ve-landing-wrap {
      display: flex;
    }
    .ve-curtain-panel {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 50.5%;
      background:
        radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.08), transparent 62%),
        linear-gradient(180deg, #faf8f5 0%, #f1ece1 100%);
      transition: transform 1.05s cubic-bezier(0.65, 0, 0.35, 1);
      will-change: transform;
    }
    html.theme-dark .ve-curtain-panel {
      background:
        radial-gradient(circle at 50% 50%, rgba(212, 175, 102, 0.11), transparent 62%),
        linear-gradient(180deg, #0D0C0B 0%, #171411 100%);
    }
    .ve-curtain-left {
      left: 0;
      border-right: 1px solid rgba(212, 175, 102, 0.36);
      box-shadow: 12px 0 36px rgba(20, 18, 16, 0.10);
    }
    .ve-curtain-right {
      right: 0;
      border-left: 1px solid rgba(212, 175, 102, 0.36);
      box-shadow: -12px 0 36px rgba(20, 18, 16, 0.10);
    }
    /* Subtle inner architectural frame lines on each curtain wing */
    .ve-curtain-left::after,
    .ve-curtain-right::after {
      content: "";
      position: absolute;
      top: 1.75rem;
      bottom: 1.75rem;
      width: calc(100% - 2.25rem);
      border-top: 1px solid rgba(212, 175, 102, 0.20);
      border-bottom: 1px solid rgba(212, 175, 102, 0.20);
      pointer-events: none;
    }
    .ve-curtain-left::after {
      left: 1.75rem;
      border-left: 1px solid rgba(212, 175, 102, 0.20);
      border-radius: 1rem 0 0 1rem;
    }
    .ve-curtain-right::after {
      right: 1.75rem;
      border-right: 1px solid rgba(212, 175, 102, 0.20);
      border-radius: 0 1rem 1rem 0;
    }
    .ve-stage.is-opening .ve-curtain-left {
      transform: translate3d(-102%, 0, 0);
    }
    .ve-stage.is-opening .ve-curtain-right {
      transform: translate3d(102%, 0, 0);
    }

    .ve-seam-line {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 2px;
      margin-left: -1px;
      background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 102, 0.75) 22%, #E2BE78 50%, rgba(212, 175, 102, 0.75) 78%, transparent 100%);
      transform: scaleY(0);
      animation: veSeamGrow 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      transition: opacity 0.35s ease;
      z-index: 2;
    }
    .ve-stage.is-opening .ve-seam-line {
      animation: veSeamFadeOut 0.38s ease forwards;
    }

    .ve-landing-crest {
      position: relative;
      z-index: 3;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 1.75rem 2.25rem;
      border-radius: 1.75rem;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(212, 175, 102, 0.34);
      box-shadow: 0 24px 60px -12px rgba(20, 18, 16, 0.14), 0 0 0 6px rgba(243, 239, 230, 0.78);
      backdrop-filter: blur(12px);
      animation: veCrestPop 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    html.theme-dark .ve-landing-crest {
      background: rgba(24, 22, 20, 0.94);
      border-color: rgba(212, 175, 102, 0.38);
      box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.72), 0 0 0 6px rgba(13, 12, 11, 0.78);
    }
    .ve-stage.is-opening .ve-landing-crest {
      animation: veCrestExit 0.68s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    .ve-crest-logo-ring {
      width: 4.5rem;
      height: 4.5rem;
      border-radius: 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #FAF6EE 0%, #FFFFFF 100%);
      border: 1.5px solid rgba(212, 175, 102, 0.42);
      box-shadow: 0 10px 25px -5px rgba(140, 98, 24, 0.18);
      margin-bottom: 0.85rem;
    }
    html.theme-dark .ve-crest-logo-ring {
      background: linear-gradient(135deg, #26221D 0%, #141210 100%);
      border-color: rgba(212, 175, 102, 0.45);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 248, 235, 0.08);
    }
    .ve-crest-logo-ring img {
      width: 2.9rem;
      height: 2.9rem;
      object-fit: contain;
    }
    .ve-crest-title {
      font-family: var(--font-display-stack);
      font-size: 1.65rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text-primary, #141210);
      line-height: 1.05;
    }
    html.theme-dark .ve-crest-title {
      color: #F5F2EB;
    }
    .ve-crest-sub {
      font-size: 0.65rem;
      font-weight: 800;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: #8C6218;
      margin-top: 0.2rem;
    }
    html.theme-dark .ve-crest-sub {
      color: #E2BE78;
    }
    .ve-crest-pill {
      margin-top: 0.75rem;
      padding: 0.25rem 0.75rem;
      border-radius: 999px;
      background: rgba(217, 119, 6, 0.1);
      color: var(--muted);
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    /* --- MODE 2: STUDY DASHBOARD VAULT PORTAL & ZOOM-THROUGH --- */
    .ve-dashboard-wrap {
      position: absolute;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
    }
    .ve-stage[data-entrance-mode="dashboard"] .ve-dashboard-wrap {
      display: none;
    }
    .ve-portal-shutter {
      position: absolute;
      left: 0;
      right: 0;
      height: 50.5%;
      background:
        radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.09), transparent 65%),
        linear-gradient(180deg, #faf8f5 0%, #f1ece1 100%);
      transition: transform 1.05s cubic-bezier(0.65, 0, 0.35, 1);
      will-change: transform;
    }
    html.theme-dark .ve-portal-shutter {
      background:
        radial-gradient(circle at 50% 50%, rgba(212, 175, 102, 0.11), transparent 65%),
        linear-gradient(180deg, #0D0C0B 0%, #171411 100%);
    }
    .ve-portal-top {
      top: 0;
      border-bottom: 1px solid rgba(217, 119, 6, 0.38);
      box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    }
    html.theme-dark .ve-portal-top {
      border-bottom-color: rgba(59, 130, 246, 0.45);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    }
    .ve-portal-bottom {
      bottom: 0;
      border-top: 1px solid rgba(217, 119, 6, 0.38);
      box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.08);
    }
    html.theme-dark .ve-portal-bottom {
      border-top-color: rgba(59, 130, 246, 0.45);
      box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
    }
    .ve-stage.is-opening .ve-portal-top {
      transform: translate3d(0, -102%, 0);
    }
    .ve-stage.is-opening .ve-portal-bottom {
      transform: translate3d(0, 102%, 0);
    }

    .ve-horizon-beam {
      position: absolute;
      left: 0;
      right: 0;
      top: 50%;
      height: 2px;
      margin-top: -1px;
      background: linear-gradient(90deg, transparent 0%, rgba(217, 119, 6, 0.75) 20%, #f59e0b 50%, rgba(217, 119, 6, 0.75) 80%, transparent 100%);
      transform: scaleX(0);
      animation: veBeamGrow 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      transition: opacity 0.35s ease;
      z-index: 2;
    }
    html.theme-dark .ve-horizon-beam {
      background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.8) 20%, #fbbf24 50%, rgba(59, 130, 246, 0.8) 80%, transparent 100%);
    }
    .ve-stage.is-opening .ve-horizon-beam {
      animation: veSeamFadeOut 0.38s ease forwards;
    }

    .ve-portal-core {
      position: relative;
      z-index: 3;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 1.75rem 2.35rem;
      border-radius: 1.75rem;
      background: rgba(255, 255, 255, 0.94);
      border: 1px solid rgba(217, 119, 6, 0.34);
      box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.14), 0 0 0 6px rgba(250, 248, 245, 0.78);
      backdrop-filter: blur(14px);
      animation: veCrestPop 0.46s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    html.theme-dark .ve-portal-core {
      background: rgba(15, 23, 42, 0.94);
      border-color: rgba(59, 130, 246, 0.4);
      box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.75), 0 0 40px rgba(37, 99, 235, 0.22);
    }
    /* Zoom-through effect: emblem expands toward viewer as vault shutters open */
    .ve-stage.is-opening .ve-portal-core {
      animation: vePortalZoomThrough 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    .ve-portal-orb {
      position: relative;
      width: 4.75rem;
      height: 4.75rem;
      border-radius: 1.35rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
      border: 1.5px solid rgba(217, 119, 6, 0.45);
      box-shadow: 0 10px 25px -5px rgba(217, 119, 6, 0.22), inset 0 0 12px rgba(251, 191, 36, 0.12);
      margin-bottom: 0.85rem;
    }
    html.theme-dark .ve-portal-orb {
      background: linear-gradient(135deg, #1e293b 0%, #090d16 100%);
      border-color: rgba(251, 191, 36, 0.55);
      box-shadow: 0 0 30px rgba(37, 99, 235, 0.35), inset 0 0 15px rgba(251, 191, 36, 0.15);
    }
    .ve-portal-orb::before {
      content: "";
      position: absolute;
      inset: -6px;
      border-radius: 1.6rem;
      border: 1px dashed rgba(217, 119, 6, 0.42);
      animation: veOrbSpin 8s linear infinite;
    }
    html.theme-dark .ve-portal-orb::before {
      border-color: rgba(96, 165, 250, 0.45);
    }
    .ve-portal-orb img {
      width: 3rem;
      height: 3rem;
      object-fit: contain;
    }
    .ve-portal-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.2rem 0.65rem;
      border-radius: 999px;
      background: rgba(217, 119, 6, 0.12);
      border: 1px solid rgba(217, 119, 6, 0.32);
      color: #b45309;
      font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
      font-size: 0.62rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      margin-top: 0.35rem;
    }
    html.theme-dark .ve-portal-badge {
      background: rgba(37, 99, 235, 0.2);
      border-color: rgba(96, 165, 250, 0.35);
      color: #93c5fd;
    }
    .ve-portal-title {
      font-family: var(--font-display-stack);
      font-size: 1.65rem;
      font-weight: 700;
      color: #0f172a;
      letter-spacing: -0.02em;
      line-height: 1.05;
    }
    html.theme-dark .ve-portal-title {
      color: #f8fafc;
    }
    .ve-portal-bar-track {
      width: 9.5rem;
      height: 3px;
      border-radius: 999px;
      background: rgba(217, 119, 6, 0.16);
      overflow: hidden;
      margin-top: 0.75rem;
    }
    html.theme-dark .ve-portal-bar-track {
      background: rgba(148, 163, 184, 0.2);
    }
    .ve-portal-bar-fill {
      height: 100%;
      width: 100%;
      border-radius: 999px;
      background: linear-gradient(90deg, #d97706 0%, #2563eb 100%);
      transform-origin: left center;
      animation: veProgressSweep 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    html.theme-dark .ve-portal-bar-fill {
      background: linear-gradient(90deg, #3b82f6 0%, #fbbf24 100%);
    }

    @keyframes veSeamGrow {
      0% { transform: scaleY(0); opacity: 0; }
      100% { transform: scaleY(1); opacity: 1; }
    }
    @keyframes veBeamGrow {
      0% { transform: scaleX(0); opacity: 0; }
      100% { transform: scaleX(1); opacity: 1; }
    }
    @keyframes veCrestPop {
      0% { transform: scale3d(0.88, 0.88, 1); opacity: 0; }
      100% { transform: scale3d(1, 1, 1); opacity: 1; }
    }
    @keyframes veCrestExit {
      0% { transform: scale3d(1, 1, 1); opacity: 1; }
      100% { transform: scale3d(1.12, 1.12, 1); opacity: 0; }
    }
    @keyframes vePortalZoomThrough {
      0% { transform: scale3d(1, 1, 1); opacity: 1; }
      100% { transform: scale3d(1.48, 1.48, 1); opacity: 0; }
    }
    @keyframes veSeamFadeOut {
      0% { opacity: 1; }
      100% { opacity: 0; }
    }
    @keyframes veProgressSweep {
      0% { transform: scaleX(0.08); }
      100% { transform: scaleX(1); }
    }
    @keyframes veOrbSpin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* =========================================================================
       VIDYANT STUDY OS — OBSIDIAN × GLASS MIX + PLUS JAKARTA SANS & OUTFIT
       ========================================================================= */
    html.theme-light {
      --bg-canvas: #F3EFE6;
      --canvas-mesh: radial-gradient(circle at 12% 8%, rgba(212, 175, 102, 0.22) 0%, transparent 44%),
                     radial-gradient(circle at 88% 16%, rgba(45, 64, 105, 0.10) 0%, transparent 48%),
                     radial-gradient(circle at 50% 92%, rgba(196, 148, 72, 0.13) 0%, transparent 50%);
      --bg-card: rgba(255, 255, 255, 0.78);
      --bg-card-hover: rgba(255, 255, 255, 0.94);
      --bg-subcard: rgba(255, 255, 255, 0.62);
      --bg-elevated: #ECE6D9;
      --bg-pill: rgba(22, 20, 18, 0.06);
      --bg-header: rgba(243, 239, 230, 0.84);
      --border-hairline: rgba(20, 18, 16, 0.08);
      --border-strong: rgba(154, 107, 26, 0.28);
      --card-blur: blur(22px) saturate(165%);
      --card-inset-glow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
      --text-primary: #141210;
      --text-secondary: #534E46;
      --text-muted: #7A7368;
      --accent-primary: #8C6218;
      --accent-gold: #D4AF66;
      --accent-soft: rgba(140, 98, 24, 0.11);
      --accent-border: rgba(140, 98, 24, 0.26);
      --btn-bg: #161412;
      --btn-text: #FAF8F4;
      --btn-border: rgba(212, 175, 102, 0.45);
      --tab-active-bg: #161412;
      --tab-active-text: #FAF8F4;
      --hero-bg: linear-gradient(145deg, rgba(22, 20, 18, 0.95) 0%, rgba(34, 30, 26, 0.92) 55%, rgba(25, 23, 20, 0.96) 100%);
      --hero-text: #FAF8F5;
      --hero-sub: #C8C1B4;
      --hero-border: rgba(212, 175, 102, 0.38);
      --door-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.86) 0%, rgba(250, 246, 238, 0.74) 100%);
      --door-border: rgba(212, 175, 102, 0.34);
      --door-shadow: 0 20px 44px -16px rgba(22, 20, 18, 0.09), inset 0 1px 0 0 rgba(255, 255, 255, 0.96);
      --shadow-card: 0 10px 30px -10px rgba(20, 18, 16, 0.07), 0 2px 6px -1px rgba(20, 18, 16, 0.03);
      --shadow-hover: 0 16px 38px -10px rgba(20, 18, 16, 0.12), 0 4px 12px -2px rgba(140, 98, 24, 0.08);
    }

    html.theme-dark {
      --bg-canvas: #0D0C0B;
      --canvas-mesh: radial-gradient(circle at 15% 10%, rgba(212, 175, 102, 0.10) 0%, transparent 45%),
                     radial-gradient(circle at 85% 15%, rgba(56, 82, 138, 0.08) 0%, transparent 45%),
                     radial-gradient(circle at 50% 95%, rgba(212, 175, 102, 0.06) 0%, transparent 50%);
      --bg-card: rgba(24, 22, 20, 0.72);
      --bg-card-hover: rgba(31, 28, 24, 0.88);
      --bg-subcard: rgba(31, 28, 24, 0.65);
      --bg-elevated: #1F1C18;
      --bg-pill: rgba(255, 248, 235, 0.06);
      --bg-header: rgba(13, 12, 11, 0.82);
      --border-hairline: rgba(255, 248, 235, 0.08);
      --border-strong: rgba(212, 175, 102, 0.34);
      --card-blur: blur(24px) saturate(175%);
      --card-inset-glow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
      --text-primary: #F5F2EB;
      --text-secondary: #B8B0A4;
      --text-muted: #7E776C;
      --accent-primary: #E2BE78;
      --accent-gold: #D4AF66;
      --accent-soft: rgba(212, 175, 102, 0.14);
      --accent-border: rgba(212, 175, 102, 0.28);
      --btn-bg: #D4AF66;
      --btn-text: #141210;
      --btn-border: #E5C378;
      --tab-active-bg: #D4AF66;
      --tab-active-text: #141210;
      --hero-bg: linear-gradient(145deg, rgba(28, 25, 22, 0.86) 0%, rgba(18, 16, 15, 0.92) 100%);
      --hero-text: #F5F2EB;
      --hero-sub: #B8B0A2;
      --hero-border: rgba(212, 175, 102, 0.36);
      --door-bg: linear-gradient(155deg, rgba(34, 31, 27, 0.86) 0%, rgba(20, 18, 16, 0.90) 100%);
      --door-border: rgba(212, 175, 102, 0.28);
      --door-shadow: 0 24px 52px -16px rgba(0, 0, 0, 0.65), inset 0 1px 0 0 rgba(255, 248, 235, 0.14);
      --shadow-card: 0 14px 36px -10px rgba(0, 0, 0, 0.55);
      --shadow-hover: 0 20px 44px -10px rgba(0, 0, 0, 0.72), 0 0 24px -6px rgba(229, 193, 88, 0.12);
    }

    body.shell-workspace {
      background-color: var(--bg-canvas) !important;
      background-image: var(--canvas-mesh) !important;
      background-attachment: fixed !important;
      color: var(--text-primary) !important;
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
      letter-spacing: -0.011em;
      transition: background-color 0.22s ease, color 0.22s ease;
    }

    body.shell-workspace .app-header {
      background: var(--bg-header) !important;
      border-bottom: 1px solid var(--border-hairline) !important;
      backdrop-filter: blur(20px) saturate(165%);
      -webkit-backdrop-filter: blur(20px) saturate(165%);
    }

    .font-heading-lux {
      font-family: 'Plus Jakarta Sans', sans-serif !important;
      letter-spacing: -0.03em !important;
      font-weight: 800 !important;
    }
    .font-num-lux {
      font-family: 'Outfit', sans-serif !important;
      letter-spacing: -0.02em;
      font-variant-numeric: tabular-nums;
    }
    .font-mono-code {
      font-family: 'Outfit', sans-serif !important;
      letter-spacing: 0.04em;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
    }

    .lux-card {
      background: var(--bg-card);
      border: 1px solid var(--border-hairline);
      box-shadow: var(--shadow-card), var(--card-inset-glow);
      backdrop-filter: var(--card-blur);
      -webkit-backdrop-filter: var(--card-blur);
      border-radius: 18px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .lux-card-interactive {
      cursor: pointer;
    }
    .lux-card-interactive:hover {
      background: var(--bg-card-hover);
      border-color: var(--border-strong);
      box-shadow: var(--shadow-hover), var(--card-inset-glow);
      transform: translateY(-1.5px);
    }

    .obsidian-glass-hero {
      background: var(--hero-bg);
      color: var(--hero-text);
      border: 1px solid var(--hero-border);
      border-radius: 20px;
      box-shadow: 0 18px 40px -12px rgba(20, 18, 16, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
      position: relative;
      overflow: hidden;
    }
    .obsidian-glass-hero::before {
      content: '';
      position: absolute;
      top: -60%;
      right: -15%;
      width: 260px;
      height: 260px;
      background: radial-gradient(circle, rgba(212, 175, 55, 0.20) 0%, transparent 70%);
      pointer-events: none;
    }

    .lux-door-card {
      background: var(--door-bg);
      color: var(--text-primary);
      border: 1px solid var(--door-border);
      box-shadow: var(--door-shadow);
      backdrop-filter: blur(24px) saturate(185%);
      -webkit-backdrop-filter: blur(24px) saturate(185%);
      border-radius: 24px;
      position: relative;
      overflow: hidden;
      transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .lux-door-card:hover {
      transform: translateY(-2px);
      border-color: var(--accent-gold);
    }

    .rounded-3xl { border-radius: 1.5rem !important; }
    .p-3\.5 { padding: 0.875rem !important; }
    .gap-2\.5 { gap: 0.625rem !important; }
    .gap-3\.5 { gap: 0.875rem !important; }
    .mb-3\.5 { margin-bottom: 0.875rem !important; }
    .space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem !important; }
    .space-y-3\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.875rem !important; }
    @media (min-width: 768px) {
      .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    }

    .subcard-lux {
      background: var(--bg-subcard);
      border: 1px solid var(--border-hairline);
      box-shadow: var(--card-inset-glow);
      backdrop-filter: var(--card-blur);
      -webkit-backdrop-filter: var(--card-blur);
      border-radius: 14px;
    }

    .chip-lux {
      background: var(--bg-elevated);
      color: var(--text-secondary);
      border: 1px solid var(--border-hairline);
      border-radius: 9999px;
      font-size: 11px;
      font-weight: 600;
      padding: 3px 10px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
    }
    .chip-gold {
      background: var(--accent-soft);
      color: var(--accent-primary);
      border: 1px solid var(--accent-border);
      border-radius: 9999px;
      font-size: 11px;
      font-weight: 600;
      padding: 3px 10px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
    }
    .chip-emerald {
      background: rgba(16, 185, 129, 0.11);
      color: #10B981;
      border: 1px solid rgba(16, 185, 129, 0.25);
      border-radius: 9999px;
      font-size: 11px;
      font-weight: 600;
      padding: 3px 10px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
    }
    .chip-rose {
      background: rgba(244, 63, 94, 0.11);
      color: #F43F5E;
      border: 1px solid rgba(244, 63, 94, 0.25);
      border-radius: 9999px;
      font-size: 11px;
      font-weight: 600;
      padding: 3px 10px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
    }

    .btn-primary-lux {
      background: var(--btn-bg);
      color: var(--btn-text);
      border: 1px solid var(--btn-border);
      border-radius: 9999px;
      font-weight: 600;
      transition: all 0.18s ease;
    }
    .btn-primary-lux:hover {
      opacity: 0.92;
      transform: translateY(-1px);
    }

    .monogram-lux {
      background: linear-gradient(135deg, #1E1B18 0%, #2D2822 100%);
      color: #E5C158;
      border: 1px solid rgba(212, 175, 55, 0.35);
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 700;
    }

    .bottom-3 { bottom: 0.75rem !important; }
    .bottom-3\.5 { bottom: 0.875rem !important; }
    .inset-x-3 { left: 0.75rem !important; right: 0.75rem !important; }
    .inset-x-4 { left: 1rem !important; right: 1rem !important; }

    body.shell-workspace #dashboard-mobile-nav {
      position: fixed !important;
      bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
      left: 16px !important;
      right: 16px !important;
      max-width: 360px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      z-index: 48 !important;
      border-radius: 16px !important;
      padding: 6px !important;
      display: grid !important;
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      gap: 4px !important;
      background: rgba(20, 18, 16, 0.92) !important;
      border: 1px solid rgba(212, 175, 102, 0.24) !important;
      box-shadow: 0 20px 44px -10px rgba(0, 0, 0, 0.55) !important;
      backdrop-filter: blur(24px) saturate(180%) !important;
      -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    }
    @media (min-width: 768px) {
      body.shell-workspace #dashboard-mobile-nav,
      #dashboard-mobile-nav {
        display: none !important;
      }
    }
    body.shell-marketing #dashboard-mobile-nav,
    body.route-admin #dashboard-mobile-nav {
      display: none !important;
    }

    /* Slide-over Right Sidebar Drawer */
    #workspace-sidebar-drawer {
      position: fixed;
      inset: 0;
      z-index: 60;
      background: rgba(12, 11, 10, 0.46);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s ease;
    }
    #workspace-sidebar-drawer.is-open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }
    #workspace-sidebar-body {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 276px;
      max-width: 75vw;
      background: var(--bg-elevated);
      border-left: 1px solid var(--border-strong);
      box-shadow: -18px 0 44px rgba(0, 0, 0, 0.32);
      transform: translateX(100%);
      transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow-y: auto;
      padding: 0;
    }
    #workspace-sidebar-drawer.is-open #workspace-sidebar-body {
      transform: translateX(0);
    }
    .ws-sb-item {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 9px 10px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-primary);
      text-align: left;
      transition: background 0.14s ease;
    }
    .ws-sb-item:hover {
      background: var(--bg-subcard);
    }
    .ws-sb-sec {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
      padding: 10px 10px 4px;
    }
    .ws-sb-seg {
      display: inline-flex;
      padding: 2px;
      border-radius: 8px;
      background: var(--bg-pill);
      border: 1px solid var(--border-hairline);
    }
    .ws-sb-seg button {
      padding: 3px 8px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 600;
      transition: all 0.14s ease;
    }
.aspect-\[16\/10\]{aspect-ratio:16/10}.h-24{height:6rem}.w-56{width:14rem}.w-72{width:18rem}
.mb-2\.5{margin-bottom:.625rem}.mb-4{margin-bottom:1rem}.mt-3\.5{margin-top:.875rem}
.pb-2\.5{padding-bottom:.625rem}.p-0\.5{padding:.125rem}.pr-0\.5{padding-right:.125rem}.pr-8{padding-right:2rem}.pt-1\.5{padding-top:.375rem}.pt-3\.5{padding-top:.875rem}
@media (min-width:640px){.sm\:gap-2\.5{gap:.625rem}.sm\:px-7{padding-left:1.75rem;padding-right:1.75rem}.sm\:w-28{width:7rem}.sm\:w-96{width:24rem}}
@media (min-width:768px){.md\:col-span-2{grid-column:span 2/span 2}.md\:col-span-4{grid-column:span 4/span 4}.md\:col-span-5{grid-column:span 5/span 5}.md\:col-span-7{grid-column:span 7/span 7}.md\:col-span-8{grid-column:span 8/span 8}.md\:gap-6{gap:1.5rem}.md\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:p-7{padding:1.75rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}}
@media (min-width:1024px){.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}
:is(p,div,button):is(.chip-lux,.chip-gold,.chip-emerald,.chip-rose):not(.truncate):not(.whitespace-nowrap){white-space:normal;overflow-wrap:anywhere}
:is(.chip-lux,.chip-gold,.chip-emerald,.chip-rose):is(.whitespace-normal,.break-words){white-space:normal !important;overflow-wrap:anywhere;max-width:100%;display:inline-block}
:is(p,div):is(.chip-lux,.chip-gold,.chip-emerald,.chip-rose):not(.flex):not(.inline-flex):not(.grid){display:block}
:is(p,div,button):is(.chip-lux,.chip-gold,.chip-emerald,.chip-rose).p-2{padding:.5rem}
:is(p,div,button):is(.chip-lux,.chip-gold,.chip-emerald,.chip-rose).p-2\.5{padding:.625rem}
:is(p,div,button):is(.chip-lux,.chip-gold,.chip-emerald,.chip-rose).p-3{padding:.75rem}
:is(p,div,button):is(.chip-lux,.chip-gold,.chip-emerald,.chip-rose).p-3\.5{padding:.875rem}
:is(p,div,button):is(.chip-lux,.chip-gold,.chip-emerald,.chip-rose).p-4{padding:1rem}
:is(p,div,button):is(.chip-lux,.chip-gold,.chip-emerald,.chip-rose).w-full{display:flex;width:100%}

/* =========================================================================
   VIDYANT CLASSES 5-LAYER ANTI-SCRAPING & IP PROTECTION SHIELD
   ========================================================================= */
#app-content .lux-card,
#author-study-drawer,
.reader-book-prose,
.pyq-question-stem,
.quiz-question-card {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
select,
[contenteditable="true"],
.allow-text-select {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

@media print {
  body:not(.printing-official-invoice) #app-content,
  body:not(.printing-official-invoice) #workspace-shell,
  body:not(.printing-official-invoice) #author-study-drawer,
  body:not(.printing-official-invoice) #marketing-shell {
    display: none !important;
  }
  body:not(.printing-official-invoice)::before {
    content: "Protected Study Material © Vidyant Classes (vidyantclasses.com) — Direct PDF / Print export of syllabus & question banks is disabled.";
    display: block !important;
    padding: 48px 24px;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #111;
  }
}
