@font-face {
      font-family: 'Inter Fallback';
      src: local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial');
      size-adjust: 100%;
      ascent-override: 90%;
      descent-override: 22%;
      line-gap-override: 0%;
    }

    :root {
      --bg-hero-navy: #010B26;
      --bg-deep-stage: #000720;
      --bg-canvas: #070A12;
      --surface-1: #0F1420;
      --surface-2: #171D2B;
      --surface-3: #20283A;
      --border-subtle: #2B354A;
      --border-lit: #3B4C6B;
      --text-primary: #F8FAFC;
      --text-secondary: #CBD5E1;
      --text-muted: #94A3B8;

      --cobalt-deep: #0039ED;
      --cobalt-mid: #052AA7;
      --azure-lit: #0183FB;
      --azure-bright: #2876FC;
      --cyan-edge: #0AC3FE;
      --cyan-glow: #22D3EE;
      --ice-highlight: #9BEFFD;
      --orb-core: #FCEBFD;
      --orb-rim: #4766F9;
      --violet-brand: #7C3AED;
      --teal-deep: #0E7490;
      --emerald-ok: #10B981;
      --amber-warn: #F59E0B;

      --world-accent: #0AC3FE;
      --font-sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Consolas', ui-monospace, monospace;
      --radius-lg: 20px;
      --radius-md: 14px;
      --radius-sm: 10px;
    }

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

    html {
      scroll-behavior: smooth;
      background-color: var(--bg-hero-navy);
      color: var(--text-primary);
      font-family: var(--font-sans);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

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

    body {
      background: linear-gradient(180deg, var(--bg-hero-navy) 0%, #03091C 18%, var(--bg-canvas) 42%, var(--bg-canvas) 100%);
      color: var(--text-primary);
      overflow-x: hidden;
      min-height: 100vh;
      position: relative;
    }

    .skip-link {
      position: fixed;
      top: -100px;
      left: 16px;
      z-index: 2000;
      background: var(--azure-lit);
      color: #fff;
      padding: 10px 16px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      text-decoration: none;
      transition: top 0.2s ease;
    }
    .skip-link:focus { top: 16px; outline: 3px solid var(--ice-highlight); }
    :focus-visible { outline: 2px solid var(--cyan-edge); outline-offset: 3px; }

    .stage-wrap {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100lvh;
      z-index: 1;
      overflow: hidden;
      background: radial-gradient(circle at 58% 48%, rgba(1, 57, 237, 0.18) 0%, rgba(1, 11, 38, 0.92) 58%, rgba(7, 10, 18, 0.99) 100%);
      transition: opacity 0.45s ease;
      cursor: grab;
    }
    .stage-wrap:active { cursor: grabbing; }

    body[data-scene="s9"] .stage-wrap { opacity: 0.25; }

    #loop-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      opacity: 1;
      transition: opacity 0.55s ease;
    }

    html[data-exp="off"] #loop-canvas { opacity: 0 !important; }

    .stage-orbit-pill {
      position: fixed;
      top: 72px;
      right: 24px;
      z-index: 80;
      background: rgba(15, 20, 32, 0.88);
      border: 1px solid rgba(10, 195, 254, 0.35);
      color: var(--ice-highlight);
      padding: 6px 13px;
      border-radius: 999px;
      font-size: 0.76rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      pointer-events: auto;
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    }
    .stage-orbit-pill:hover {
      border-color: var(--cyan-edge);
      background: var(--surface-2);
    }

    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(7, 10, 18, 0.92);
      border-bottom: 1px solid var(--border-subtle);
      padding: 10px 20px;
    }

    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .brand-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--text-primary);
      text-decoration: none;
      font-weight: 700;
      font-size: 1.08rem;
      letter-spacing: -0.02em;
    }

    .brand-glyph {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      background: radial-gradient(circle at 50% 50%, #0AC3FE 0%, #0039ED 62%, #010B26 100%);
      border: 1.5px solid #0AC3FE;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 12px rgba(10, 195, 254, 0.4);
    }
    .brand-glyph::after {
      content: '';
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #FCEBFD;
      box-shadow: 0 0 8px #FCEBFD;
    }

    .brand-badge {
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 2px 7px;
      border-radius: 999px;
      background: var(--surface-3);
      color: var(--cyan-edge);
      border: 1px solid var(--border-subtle);
    }

    .header-nav { display: flex; align-items: center; gap: 6px; }

    .nav-btn {
      background: transparent;
      border: 1px solid transparent;
      color: var(--text-secondary);
      font-size: 0.86rem;
      font-weight: 500;
      padding: 6px 11px;
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    }

    .nav-btn:hover {
      color: var(--text-primary);
      background: var(--surface-2);
      border-color: var(--border-subtle);
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 48px;
      padding: 11px 22px;
      border-radius: 999px;
      border: 1px solid rgba(155, 239, 253, 0.38);
      background: linear-gradient(135deg, #002B9E 0%, #0039ED 42%, #0183FB 78%, #0AC3FE 100%);
      color: #FFFFFF;
      font-weight: 600;
      font-size: 0.96rem;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 8px 28px rgba(1, 131, 251, 0.28);
      transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 12px 34px rgba(10, 195, 254, 0.38);
      border-color: var(--ice-highlight);
    }

    .btn-pill-sm { min-height: 38px; padding: 7px 16px; font-size: 0.85rem; }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 48px;
      padding: 11px 20px;
      border-radius: 999px;
      border: 1px solid var(--border-lit);
      background: var(--surface-2);
      color: var(--text-primary);
      font-weight: 600;
      font-size: 0.94rem;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.15s ease, border-color 0.15s ease;
    }

    .btn-secondary:hover { background: var(--surface-3); border-color: var(--cyan-edge); }

    .loop-nav {
      position: fixed;
      right: 18px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 90;
      background: var(--surface-1);
      border: 1px solid var(--border-subtle);
      border-radius: 999px;
      padding: 12px 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    }

    .loop-nav-dot {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 1px solid transparent;
      background: transparent;
      color: var(--text-muted);
      font-size: 0.7rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: relative;
      transition: all 0.18s ease;
    }

    .loop-nav-dot::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--border-lit);
      transition: all 0.2s ease;
    }

    .loop-nav-dot.active::before {
      width: 11px;
      height: 11px;
      background: var(--world-accent);
      box-shadow: 0 0 10px var(--world-accent);
    }

    .loop-nav-dot:hover::before { background: var(--ice-highlight); transform: scale(1.25); }

    .loop-nav-label {
      position: absolute;
      right: 36px;
      white-space: nowrap;
      background: var(--surface-2);
      color: var(--text-primary);
      border: 1px solid var(--border-subtle);
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 600;
      opacity: 0;
      pointer-events: none;
      transform: translateX(4px);
      transition: all 0.15s ease;
    }

    .loop-nav-dot:hover .loop-nav-label,
    .loop-nav-dot:focus-visible .loop-nav-label { opacity: 1; transform: translateX(0); }

    .studio-bar {
      position: fixed;
      bottom: 14px;
      right: 24px;
      z-index: 120;
      background: var(--surface-1);
      border: 1px solid var(--border-lit);
      border-radius: 14px;
      padding: 8px 12px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
      max-width: calc(100vw - 48px);
      font-size: 0.78rem;
    }

    .studio-bar.minimized .studio-controls { display: none; }

    .studio-toggle-btn {
      background: var(--surface-3);
      color: var(--cyan-edge);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 5px 10px;
      font-size: 0.76rem;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .studio-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

    .studio-group {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: var(--surface-2);
      padding: 3px 8px;
      border-radius: 8px;
      border: 1px solid var(--border-subtle);
    }

    .studio-group label {
      color: var(--text-muted);
      font-weight: 600;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .studio-select {
      background: var(--surface-1);
      color: var(--text-primary);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 3px 6px;
      font-size: 0.76rem;
      font-family: inherit;
      cursor: pointer;
    }

    .perf-pill {
      font-family: var(--font-mono);
      font-size: 0.73rem;
      color: var(--emerald-ok);
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.3);
      padding: 3px 8px;
      border-radius: 6px;
    }

    html[data-device="phone"] main,
    html[data-device="iphone"] main {
      max-width: 412px;
      margin: 0 auto;
      border-left: 1px solid rgba(43, 53, 74, 0.6);
      border-right: 1px solid rgba(43, 53, 74, 0.6);
      background: rgba(7, 10, 18, 0.28);
    }

    main {
      position: relative;
      z-index: 10;
      padding-top: 64px;
      pointer-events: none;
    }

    .scene-section {
      min-height: 100svh;
      max-width: 1200px;
      margin: 0 auto;
      padding: 72px 24px;
      display: grid;
      grid-template-columns: minmax(0, 500px) 1fr;
      align-items: center;
      gap: 40px;
      position: relative;
      pointer-events: none;
    }

    .scene-section.align-right { grid-template-columns: 1fr minmax(0, 500px); }
    .scene-section.align-right .scene-card { grid-column: 2; }
    .scene-section.align-full { grid-template-columns: 1fr; max-width: 1060px; }

    .scene-card, .care-card, .download-card, .faq-list {
      pointer-events: auto;
    }

    .scene-card {
      background: rgba(15, 20, 32, 0.94);
      border: 1px solid var(--border-subtle);
      border-top: 2px solid var(--world-accent);
      border-radius: var(--radius-lg);
      padding: 30px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.68);
      position: relative;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.76rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--world-accent);
      margin-bottom: 12px;
    }

    .eyebrow-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--world-accent);
      box-shadow: 0 0 8px var(--world-accent);
    }

    .scene-title {
      font-size: clamp(1.85rem, 3.4vw, 2.75rem);
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: -0.03em;
      color: var(--text-primary);
      margin-bottom: 16px;
    }

    .scene-lead {
      font-size: 1.04rem;
      color: var(--text-secondary);
      margin-bottom: 20px;
      line-height: 1.65;
    }

    .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

    .trust-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.81rem;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--surface-2);
      color: var(--text-secondary);
      border: 1px solid var(--border-subtle);
    }

    .trust-chip svg { width: 14px; height: 14px; color: var(--world-accent); flex-shrink: 0; }
    .cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
    .fine-note { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

    .only-phone, .only-mac, .only-iphone { display: none; }
    html[data-device="phone"] .only-pc { display: none !important; }
    html[data-device="phone"] .only-phone { display: flex !important; }
    html[data-device="mac"] .only-pc { display: none !important; }
    html[data-device="mac"] .only-mac { display: flex !important; }
    html[data-device="iphone"] .only-pc { display: none !important; }
    html[data-device="iphone"] .only-iphone { display: flex !important; }

    @media (pointer: coarse) and (hover: none) {
      html:not([data-device-forced="true"]) .only-pc { display: none !important; }
      html:not([data-device-forced="true"]) .only-phone { display: flex !important; }
    }

    .toy-box {
      background: var(--surface-2);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 18px;
      margin: 18px 0;
    }

    .toy-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 12px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-secondary);
    }

    .badge-testing {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 2px 8px;
      border-radius: 6px;
      background: rgba(245, 158, 11, 0.14);
      color: var(--amber-warn);
      border: 1px solid rgba(245, 158, 11, 0.35);
    }

    .badge-illustration {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 2px 8px;
      border-radius: 6px;
      background: rgba(10, 195, 254, 0.12);
      color: var(--cyan-edge);
      border: 1px solid rgba(10, 195, 254, 0.3);
    }

    .controller-deck {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      align-items: center;
    }

    .stick-well {
      width: 142px;
      height: 142px;
      margin: 0 auto;
      border-radius: 50%;
      background:
        radial-gradient(circle at 35% 30%, rgba(10, 195, 254, 0.22) 0%, transparent 55%),
        radial-gradient(circle, #020B26 0%, #041D66 48%, #02081A 74%, #062C96 100%);
      border: 2.5px solid #0AC3FE;
      box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.75),
        0 0 24px rgba(10, 195, 254, 0.32),
        inset 0 0 28px rgba(1, 131, 251, 0.55);
      position: relative;
      touch-action: none;
      cursor: grab;
      display: flex;
      align-items: center;
      justify-content: center;
      perspective: 400px;
    }
    .stick-well:active { cursor: grabbing; }

    .stick-ring {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      transition: transform 0.06s linear;
    }
    .stick-ring.r1 {
      width: 84%;
      height: 84%;
      border: 2px solid rgba(10, 195, 254, 0.65);
      box-shadow: inset 0 0 12px rgba(10, 195, 254, 0.35), 0 0 8px rgba(1, 131, 251, 0.4);
    }
    .stick-ring.r2 {
      width: 64%;
      height: 64%;
      border: 2px solid rgba(155, 239, 253, 0.78);
      box-shadow: inset 0 0 14px rgba(1, 57, 237, 0.65);
    }

    .stick-cap {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 32% 28%, #FFFFFF 0%, #9BEFFD 18%, #0183FB 48%, #002B9E 82%, #010B26 100%);
      border: 2px solid #9BEFFD;
      box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.85),
        0 0 20px rgba(10, 195, 254, 0.65),
        inset 0 -4px 10px rgba(0, 18, 72, 0.85);
      transition: transform 0.04s linear;
      pointer-events: none;
      position: relative;
    }
    .stick-cap::after {
      content: '';
      position: absolute;
      inset: 9px;
      border-radius: 50%;
      background: radial-gradient(circle at 65% 65%, rgba(10, 195, 254, 0.45), rgba(1, 15, 58, 0.92) 75%);
      border: 1px solid rgba(155, 239, 253, 0.55);
    }
    .diamond-buttons { width: 132px; height: 132px; margin: 0 auto; position: relative; }

    .glass-dot-btn {
      position: absolute;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 30%, rgba(155, 239, 253, 0.45), rgba(1, 131, 251, 0.25) 60%, rgba(15, 20, 32, 0.9) 100%);
      border: 1.5px solid var(--cyan-edge);
      box-shadow: 0 4px 14px rgba(10, 195, 254, 0.25);
      cursor: pointer;
      transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
    }

    .glass-dot-btn:active,
    .glass-dot-btn.pressed {
      transform: scale(0.88);
      background: radial-gradient(circle, var(--ice-highlight) 0%, var(--cyan-edge) 70%);
      box-shadow: 0 0 22px var(--cyan-edge);
    }

    .glass-dot-btn.top    { top: 0; left: 42px; }
    .glass-dot-btn.bottom { bottom: 0; left: 42px; }
    .glass-dot-btn.left   { top: 42px; left: 0; }
    .glass-dot-btn.right  { top: 42px; right: 0; }

    .trackpad-wrap {
      display: grid;
      grid-template-columns: 1fr 48px;
      gap: 12px;
      align-items: stretch;
    }

    .trackpad-surface {
      height: 150px;
      border-radius: var(--radius-md);
      background: radial-gradient(circle at var(--pad-x, 50%) var(--pad-y, 50%), rgba(10, 195, 254, 0.22) 0%, #0A1120 65%);
      border: 1px solid var(--border-lit);
      position: relative;
      overflow: hidden;
      touch-action: none;
      cursor: crosshair;
      display: flex;
      align-items: flex-end;
      padding: 10px 14px;
    }

    .trackpad-cursor {
      position: absolute;
      width: 22px;
      height: 22px;
      pointer-events: none;
      transform: translate(-50%, -50%);
      filter: drop-shadow(0 0 10px var(--cyan-edge));
    }

    .pull-rail {
      background: var(--surface-1);
      border: 1px solid var(--border-lit);
      border-radius: 999px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      touch-action: none;
      user-select: none;
    }

    .pull-knob {
      width: 38px;
      height: 48px;
      border-radius: 999px;
      background: linear-gradient(180deg, var(--azure-lit), var(--cobalt-deep));
      border: 1.5px solid var(--ice-highlight);
      box-shadow: 0 0 14px rgba(10, 195, 254, 0.45);
      cursor: ns-resize;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      transition: transform 0.06s linear;
    }

    .pull-knob span { width: 14px; height: 2px; background: var(--ice-highlight); border-radius: 2px; }

    .kb-rows { display: flex; flex-direction: column; gap: 7px; margin: 12px 0; }
    .kb-row { display: flex; justify-content: center; gap: 6px; }

    .glass-key {
      min-width: 36px;
      height: 42px;
      padding: 0 8px;
      border-radius: 8px;
      background: linear-gradient(180deg, rgba(1, 131, 251, 0.16) 0%, rgba(15, 20, 32, 0.95) 100%);
      border: 1px solid rgba(10, 195, 254, 0.35);
      color: var(--text-primary);
      font-weight: 700;
      font-size: 0.78rem;
      font-family: var(--font-mono);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.1s ease;
      user-select: none;
    }

    .glass-key.lit {
      background: linear-gradient(180deg, var(--cyan-edge) 0%, var(--azure-lit) 100%);
      color: #000720;
      border-color: #FFFFFF;
      transform: translateY(-2px) scale(1.05);
      box-shadow: 0 0 20px var(--cyan-edge);
    }

    .network-diagram {
      background: var(--surface-1);
      border: 1px solid var(--border-lit);
      border-radius: var(--radius-md);
      padding: 16px;
      margin: 16px 0;
    }

    .saved-pc-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 13px;
      border-radius: 999px;
      background: rgba(16, 185, 129, 0.14);
      border: 1px solid rgba(16, 185, 129, 0.45);
      color: #A7F3D0;
      font-size: 0.8rem;
      font-weight: 600;
    }

    .qr-plate {
      display: flex;
      align-items: center;
      gap: 16px;
      background: var(--surface-2);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 14px;
      margin-top: 14px;
    }

    /* 33 modules (25 + the 4-module quiet zone on each side) x 4 px = 132 px, so every module is a whole number of pixels. */
    .qr-svg-wrap {
      width: 132px;
      height: 132px;
      background: #FFFFFF;
      border-radius: 10px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .care-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 24px;
    }

    .care-card {
      background: var(--surface-1);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
    }

    .care-stage {
      height: 138px;
      background: var(--surface-2);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      margin: 14px 0;
      padding: 14px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .screens-carousel {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 18px;
      margin: 22px 0;
      perspective: 1000px;
    }

    .glass-phone-frame {
      background: linear-gradient(160deg, #162238 0%, #0B101D 100%);
      border: 1.5px solid var(--border-lit);
      border-radius: 24px;
      padding: 14px;
      transform: rotateY(-6deg) rotateX(4deg);
      transition: transform 0.28s ease, border-color 0.28s ease;
      box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
    }

    .glass-phone-frame:hover {
      transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
      border-color: var(--cyan-edge);
    }

    .phone-screen-mock {
      height: 170px;
      border-radius: 16px;
      background: #060913;
      border: 1px solid var(--border-subtle);
      padding: 12px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
    }

    .mini-studio-canvas {
      height: 180px;
      background: radial-gradient(circle at 50% 50%, var(--studio-glow, rgba(1, 131, 251, 0.22)), #070B14 75%);
      border: 1.5px solid var(--studio-border, var(--azure-lit));
      border-radius: 20px;
      position: relative;
      overflow: hidden;
      touch-action: none;
      margin: 12px 0;
    }

    .draggable-ctrl {
      position: absolute;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.45), var(--studio-border, #0183FB));
      border: 1.5px solid #fff;
      color: #fff;
      font-weight: 700;
      font-size: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: move;
      user-select: none;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    }

    .download-card {
      background: var(--surface-1);
      border: 1.5px solid var(--border-lit);
      border-top: 3px solid var(--cyan-edge);
      border-radius: 24px;
      padding: 36px;
      box-shadow: 0 28px 80px rgba(0, 0, 0, 0.78);
    }

    .release-meta-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 12px;
      margin: 20px 0;
      background: var(--surface-2);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 14px 18px;
    }

    .meta-item span {
      display: block;
      font-size: 0.74rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
    }

    .meta-item strong { font-size: 0.94rem; color: var(--text-primary); font-family: var(--font-mono); }

    .next-steps-panel {
      display: none;
      background: rgba(16, 185, 129, 0.09);
      border: 1px solid rgba(16, 185, 129, 0.45);
      border-radius: var(--radius-md);
      padding: 18px 20px;
      margin: 18px 0;
    }
    .next-steps-panel.open { display: block; }

    .smartscreen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0; }
    .note-panel { background: var(--surface-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 18px; }

    .checksum-box {
      background: #060911;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 12px 14px;
      font-family: var(--font-mono);
      font-size: 0.78rem;
      color: var(--ice-highlight);
      overflow-x: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 10px;
    }

    .faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
    details.faq-item { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 14px 18px; }
    details.faq-item summary {
      font-weight: 600;
      font-size: 0.98rem;
      cursor: pointer;
      color: var(--text-primary);
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    details.faq-item summary::-webkit-details-marker { display: none; }
    details.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--cyan-edge); font-weight: 700; }
    details.faq-item[open] summary::after { content: '−'; }
    details.faq-item p { margin-top: 10px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

    .site-footer {
      position: relative;
      z-index: 20;
      background: #05070E;
      border-top: 1px solid var(--border-subtle);
      padding: 48px 24px 100px;
      margin-top: 40px;
    }

    .footer-inner {
      max-width: 1060px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 32px;
    }

    .modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 500;
      background: rgba(1, 7, 24, 0.86);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .modal-backdrop.open { display: flex; }

    .modal-sheet {
      background: var(--surface-1);
      border: 1.5px solid var(--border-lit);
      border-radius: 20px;
      max-width: 960px;
      width: 100%;
      max-height: 88vh;
      overflow-y: auto;
      padding: 28px;
      box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
    }

    .mobile-sticky-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 95;
      background: rgba(15, 20, 32, 0.96);
      border-top: 1px solid var(--border-lit);
      padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
      display: none;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .toast-msg {
      position: fixed;
      top: 72px;
      right: 20px;
      z-index: 600;
      background: var(--surface-2);
      border: 1px solid var(--cyan-edge);
      color: var(--text-primary);
      padding: 10px 16px;
      border-radius: 10px;
      font-size: 0.85rem;
      font-weight: 600;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
      opacity: 0;
      transform: translateY(-10px);
      pointer-events: none;
      transition: all 0.2s ease;
    }
    .toast-msg.show { opacity: 1; transform: translateY(0); }

    @media (max-width: 860px) {
      .scene-section,
      .scene-section.align-right {
        grid-template-columns: minmax(0, 1fr); /* let the column shrink below its content, or a wide toy makes the whole page wider than the phone */
        padding: 46vh 16px 36px;
        min-height: 92svh;
      }
      .scene-section.align-right .scene-card { grid-column: 1; }
      .scene-card { min-width: 0; }
      .kb-row { flex-wrap: wrap; }
      .header-nav { gap: 8px; }
      .header-nav .btn-primary, .brand-badge { white-space: nowrap; }
      .header-nav .btn-primary { padding: 7px 12px; font-size: 0.8rem; }
      .header-inner { gap: 8px; }
      .care-grid, .smartscreen-grid, .footer-inner { grid-template-columns: 1fr; }
      .loop-nav { right: 8px; padding: 8px 5px; }
      .header-nav .hide-sm { display: none; }
      .mobile-sticky-bar { display: flex; }
      .stage-orbit-pill { top: 64px; right: 12px; font-size: 0.7rem; }
    }
  
    /* V8 Smooth Scene Card Transitions & 3D Stick Mini-Game HUD */
    .scene-card {
      will-change: transform, border-color;
      transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
    }
    .stage-top-bar {
      position: fixed;
      top: 70px;
      right: 24px;
      z-index: 85;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      pointer-events: auto;
    }
    .stage-action-pill {
      background: rgba(12, 18, 34, 0.90);
      border: 1px solid rgba(10, 195, 254, 0.38);
      color: var(--ice-highlight);
      padding: 6px 13px;
      border-radius: 999px;
      font-size: 0.76rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
      transition: all 0.16s ease;
    }
    .stage-action-pill:hover {
      border-color: var(--cyan-edge);
      background: rgba(20, 30, 54, 0.96);
      transform: translateY(-1px);
    }
    .stage-action-pill.active-game {
      background: linear-gradient(135deg, #0039ED 0%, #0183FB 60%, #0AC3FE 100%);
      color: #ffffff;
      border-color: #ffffff;
      box-shadow: 0 0 20px rgba(10, 195, 254, 0.55);
    }
    .minigame-hud {
      position: fixed;
      top: 112px;
      right: 24px;
      z-index: 85;
      width: 300px;
      background: rgba(10, 15, 28, 0.94);
      border: 1px solid rgba(10, 195, 254, 0.45);
      border-top: 2px solid var(--cyan-edge);
      border-radius: 16px;
      padding: 14px 16px;
      box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
      display: none;
      pointer-events: auto;
    }
    .minigame-hud.open { display: block; }
    .mg-stat-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin: 10px 0;
    }
    .mg-stat-box {
      background: rgba(20, 28, 46, 0.9);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 6px 8px;
      text-align: center;
    }
    .mg-stat-val {
      font-family: var(--font-mono);
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--cyan-edge);
    }
    .mg-stat-lbl {
      font-size: 0.66rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
    }
    .stick-hover-badge {
      position: fixed;
      z-index: 82;
      pointer-events: none;
      background: rgba(5, 16, 48, 0.92);
      border: 1px solid var(--cyan-edge);
      color: #ffffff;
      font-size: 0.74rem;
      font-weight: 600;
      padding: 5px 11px;
      border-radius: 999px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
      opacity: 0;
      transform: translate(-50%, -130%);
      transition: opacity 0.15s ease;
      white-space: nowrap;
    }
    .stick-hover-badge.visible { opacity: 1; }

  
    /* V10 3D-Projected Arcade Overlay & Game Over Screen */
    #arcade-overlay {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100lvh;
      z-index: 5;
      pointer-events: none;
      overflow: hidden;
      display: none;
    }
    #arcade-overlay.active { display: block; }
    .arcade-tag {
      position: absolute;
      transform: translate(-50%, -140%);
      padding: 3px 9px;
      border-radius: 999px;
      font-family: var(--font-mono);
      font-size: 0.70rem;
      font-weight: 800;
      letter-spacing: 0.03em;
      white-space: nowrap;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75);
      transition: transform 0.05s linear;
    }
    .arcade-tag.hero-tag {
      background: rgba(6, 182, 212, 0.95);
      color: #01081E;
      border: 1.5px solid #ffffff;
    }
    .arcade-tag.spike-tag {
      background: rgba(225, 29, 72, 0.95);
      color: #ffffff;
      border: 1.5px solid #fecdd3;
    }
    .arcade-tag.laser-tag {
      background: rgba(147, 51, 234, 0.95);
      color: #ffffff;
      border: 1.5px solid #f3e8ff;
    }
    .arcade-gameover-banner {
      position: absolute;
      transform: translate(-50%, -50%);
      background: rgba(10, 14, 26, 0.96);
      border: 2px solid #F43F5E;
      border-radius: 18px;
      padding: 18px 22px;
      text-align: center;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 36px rgba(244, 63, 94, 0.45);
      pointer-events: auto;
      min-width: 260px;
      display: none;
    }
    .arcade-gameover-banner.show { display: block; }
    .mode-switch-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      margin-top: 8px;
      margin-bottom: 6px;
    }
    .mode-pill-btn {
      background: rgba(20, 28, 46, 0.9);
      border: 1px solid var(--border-subtle);
      color: var(--text-secondary);
      border-radius: 8px;
      padding: 5px 8px;
      font-size: 0.71rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.14s ease;
    }
    .mode-pill-btn.active {
      background: rgba(1, 131, 251, 0.28);
      border-color: var(--cyan-edge);
      color: #ffffff;
      box-shadow: 0 0 12px rgba(10, 195, 254, 0.3);
    }


    /* =========================================================================
       V14 COMPLETE LIGHT MODE ("DAYLIGHT CRYSTAL & ALABASTER STUDIO" PALETTE)
       ========================================================================= */
    html[data-theme="light"] {
      --bg-hero-navy: #EEF4FF;
      --bg-deep-stage: #E5EEFC;
      --bg-canvas: #F3F7FF;
      --surface-1: #FFFFFF;
      --surface-2: #F0F5FD;
      --surface-3: #E2ECFA;
      --border-subtle: #CBD9EE;
      --border-lit: #7EB2F7;
      --text-primary: #0A1428;
      --text-secondary: #2C3E5A;
      --text-muted: #5A6E8C;

      --cobalt-deep: #0040E8;
      --cobalt-mid: #1050F5;
      --azure-lit: #0074F0;
      --azure-bright: #1E88FF;
      --cyan-edge: #0284C7;
      --cyan-glow: #00A6E8;
      --ice-highlight: #0369A1;
      --orb-core: #FFFFFF;
      --orb-rim: #4F46E5;
      --violet-brand: #6D28D9;
      --teal-deep: #0D9488;
      --emerald-ok: #059669;
      --amber-warn: #D97706;

      --world-accent: #0055FF;
      background-color: #EEF4FF;
      color: var(--text-primary);
    }

    html[data-theme="light"] body {
      background: linear-gradient(180deg, #ECF3FF 0%, #E6EFFD 28%, #F2F6FF 65%, #F6F9FF 100%);
      color: var(--text-primary);
    }

    html[data-theme="light"] .stage-wrap {
      background: radial-gradient(circle at 58% 48%, rgba(165, 198, 255, 0.38) 0%, rgba(232, 241, 255, 0.94) 56%, rgba(242, 247, 255, 0.99) 100%);
    }

    html[data-theme="light"] .site-header {
      background: rgba(255, 255, 255, 0.88);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(190, 210, 238, 0.85);
      box-shadow: 0 4px 20px rgba(15, 42, 96, 0.05);
    }

    html[data-theme="light"] .brand-badge {
      background: #E0F2FE;
      color: #0369A1;
      border-color: #7DD3FC;
    }

    html[data-theme="light"] .nav-btn {
      color: #2C3E5A;
    }
    html[data-theme="light"] .nav-btn:hover {
      color: #0A1428;
      background: #EAF2FD;
      border-color: #BDD2EE;
    }

    html[data-theme="light"] .btn-primary {
      background: linear-gradient(135deg, #0037C8 0%, #0051F5 45%, #0284FF 80%, #00B4FE 100%);
      color: #FFFFFF;
      border-color: rgba(255, 255, 255, 0.65);
      box-shadow: 0 10px 26px rgba(0, 81, 245, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.55);
    }
    html[data-theme="light"] .btn-primary:hover {
      box-shadow: 0 14px 32px rgba(2, 132, 255, 0.34);
      border-color: #FFFFFF;
    }

    html[data-theme="light"] .btn-secondary {
      background: #FFFFFF;
      color: #0F2142;
      border: 1px solid #B6CEEE;
      box-shadow: 0 4px 14px rgba(15, 42, 96, 0.06);
    }
    html[data-theme="light"] .btn-secondary:hover {
      background: #F0F6FF;
      border-color: #0284C7;
      color: #0040E8;
    }

    /* Frosted Alabaster-Glass Scene Cards */
    html[data-theme="light"] .scene-card {
      background: rgba(255, 255, 255, 0.90);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid #C8DAF2;
      border-top: 3px solid var(--world-accent);
      box-shadow:
        0 22px 54px rgba(15, 45, 110, 0.11),
        0 4px 16px rgba(15, 45, 110, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    }

    html[data-theme="light"] .care-card,
    html[data-theme="light"] .download-card,
    html[data-theme="light"] details.faq-item,
    html[data-theme="light"] .modal-sheet {
      background: rgba(255, 255, 255, 0.94);
      border-color: #C8DAF2;
      box-shadow: 0 18px 46px rgba(15, 45, 110, 0.10), 0 3px 12px rgba(15, 45, 110, 0.04);
    }
    html[data-theme="light"] .download-card {
      border-top: 3px solid #0055FF;
    }

    html[data-theme="light"] .trust-chip {
      background: #F0F6FF;
      color: #1E3A5F;
      border-color: #C4D8F2;
    }
    html[data-theme="light"] .trust-chip svg {
      color: #0055FF;
    }

    /* Hero Instant Download Dock in Light Mode */
    html[data-theme="light"] #hero-dl-dock {
      background: linear-gradient(165deg, rgba(224, 242, 254, 0.78) 0%, rgba(240, 247, 255, 0.96) 100%) !important;
      border: 1px solid #7DD3FC !important;
      box-shadow: 0 6px 18px rgba(2, 132, 199, 0.08);
    }
    html[data-theme="light"] #hero-dl-dock span {
      color: #0369A1 !important;
    }
    html[data-theme="light"] #hero-next-steps {
      color: #047857 !important;
      border-top-color: rgba(2, 132, 199, 0.25) !important;
    }

    /* Top Stage Action Pills & Mini-Game HUD in Light Mode */
    html[data-theme="light"] .stage-action-pill {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      border: 1px solid #93C5FD;
      color: #0C2348;
      box-shadow: 0 8px 22px rgba(15, 45, 110, 0.10);
    }
    html[data-theme="light"] .stage-action-pill:hover {
      background: #FFFFFF;
      border-color: #0284C7;
      color: #0040E8;
    }
    html[data-theme="light"] .stage-action-pill.active-game {
      background: linear-gradient(135deg, #0040E8 0%, #0284FF 65%, #00B4FE 100%);
      color: #FFFFFF;
      border-color: #FFFFFF;
      box-shadow: 0 8px 24px rgba(2, 132, 255, 0.35);
    }

    html[data-theme="light"] .minigame-hud {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(16px);
      border: 1px solid #93C5FD;
      border-top: 3px solid #0055FF;
      box-shadow: 0 18px 42px rgba(15, 45, 110, 0.14);
    }
    html[data-theme="light"] .minigame-hud strong {
      color: #0A1428 !important;
    }
    html[data-theme="light"] .mg-stat-box {
      background: #F0F6FF;
      border-color: #C8DAF2;
    }
    html[data-theme="light"] .mg-stat-val {
      color: #0050E6;
    }
    html[data-theme="light"] #mg-status {
      color: #B45309 !important;
    }
    html[data-theme="light"] #mg-secondary-btn {
      background: #F0F6FF !important;
      color: #0048D9 !important;
      border-color: #60A5FA !important;
    }

    html[data-theme="light"] .stick-hover-badge {
      background: rgba(255, 255, 255, 0.96);
      color: #0A1428;
      border-color: #0284C7;
      box-shadow: 0 8px 24px rgba(15, 45, 110, 0.16);
    }

    html[data-theme="light"] .arcade-gameover-banner {
      background: rgba(255, 255, 255, 0.97);
      border: 2px solid #E11D48;
      box-shadow: 0 24px 60px rgba(15, 45, 110, 0.22), 0 0 32px rgba(225, 29, 72, 0.20);
    }
    html[data-theme="light"] .arcade-gameover-banner div:nth-child(2) {
      color: #0A1428 !important;
    }

    /* S2 Controller Toy in Light Mode */
    html[data-theme="light"] .stick-well {
      background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.85) 0%, transparent 55%),
        radial-gradient(circle, #D8ECFF 0%, #9CC7FF 52%, #599CFF 82%, #1D68F0 100%);
      border: 2.5px solid #0284FF;
      box-shadow:
        0 14px 28px rgba(15, 55, 145, 0.18),
        0 0 20px rgba(2, 132, 255, 0.22),
        inset 0 0 22px rgba(0, 64, 232, 0.28);
    }
    html[data-theme="light"] .stick-ring.r1 {
      border-color: rgba(255, 255, 255, 0.85);
      box-shadow: inset 0 0 10px rgba(0, 85, 255, 0.25);
    }
    html[data-theme="light"] .stick-ring.r2 {
      border-color: rgba(255, 255, 255, 0.95);
      box-shadow: inset 0 0 12px rgba(0, 64, 232, 0.35);
    }
    html[data-theme="light"] .glass-dot-btn {
      background: radial-gradient(circle at 35% 30%, #FFFFFF, #BAE6FD 58%, #38BDF8 100%);
      border: 1.5px solid #0284C7;
      box-shadow: 0 6px 14px rgba(2, 132, 199, 0.22);
    }

    /* S3 Trackpad & Pull Rail in Light Mode */
    html[data-theme="light"] .trackpad-surface {
      background: radial-gradient(circle at var(--pad-x, 50%) var(--pad-y, 50%), rgba(2, 132, 255, 0.20) 0%, #E3EEFC 68%);
      border-color: #93C5FD;
    }
    html[data-theme="light"] .pull-rail {
      background: #E8F1FC;
      border-color: #93C5FD;
    }

    /* S4 Glass Keyboard Keys in Light Mode */
    html[data-theme="light"] .glass-key {
      background: linear-gradient(180deg, #FFFFFF 0%, #E6F0FD 100%);
      border: 1px solid #93C5FD;
      color: #0F2342;
      box-shadow: 0 3px 8px rgba(15, 45, 110, 0.07);
    }
    html[data-theme="light"] .glass-key.lit {
      background: linear-gradient(180deg, #0074F0 0%, #0040E8 100%);
      color: #FFFFFF;
      border-color: #0030B8;
      box-shadow: 0 6px 18px rgba(0, 116, 240, 0.38);
    }

    /* S5 Home Network Diagram & Saved PC Chip in Light Mode */
    html[data-theme="light"] .saved-pc-chip {
      background: rgba(16, 185, 129, 0.14);
      border-color: rgba(5, 150, 105, 0.45);
      color: #047857;
    }
    html[data-theme="light"] .network-diagram svg rect[fill="#0F1420"],
    html[data-theme="light"] .network-diagram svg rect[fill="#171D2B"] {
      fill: #F0F6FF;
    }
    html[data-theme="light"] .network-diagram svg text[fill="#F8FAFC"] {
      fill: #0A1428;
    }
    html[data-theme="light"] .network-diagram svg text[fill="#9BEFFD"] {
      fill: #0369A1;
    }
    html[data-theme="light"] .network-diagram svg text[fill="#94A3B8"] {
      fill: #475569;
    }

    /* S6 Care Stage & S7 Glass Phone Frames in Light Mode */
    html[data-theme="light"] #stuck-btn-visual {
      color: #FFFFFF;
    }
    html[data-theme="light"] .glass-phone-frame {
      background: linear-gradient(160deg, #FFFFFF 0%, #DFECFA 100%);
      border-color: #93C5FD;
      box-shadow: 0 16px 36px rgba(15, 45, 110, 0.12);
    }
    html[data-theme="light"] .phone-screen-mock {
      background: #F4F8FF;
      border-color: #C8DAF2;
    }
    html[data-theme="light"] .mini-studio-canvas {
      background: radial-gradient(circle at 50% 50%, var(--studio-glow, rgba(1, 131, 251, 0.18)), #E6F0FD 78%);
    }

    /* S8 Download Checksums & Next Steps in Light Mode */
    html[data-theme="light"] .next-steps-panel {
      background: rgba(16, 185, 129, 0.10);
      border-color: rgba(5, 150, 105, 0.45);
    }
    html[data-theme="light"] .next-steps-panel strong {
      color: #047857 !important;
    }
    html[data-theme="light"] .checksum-box {
      background: #EAF2FC;
      border-color: #BDD2EE;
      color: #0369A1;
    }

    /* Loop Navigator, Studio Bar, Footer & Modals in Light Mode */
    html[data-theme="light"] .loop-nav {
      background: rgba(255, 255, 255, 0.92);
      border-color: #C8DAF2;
      box-shadow: 0 10px 28px rgba(15, 45, 110, 0.12);
    }
    html[data-theme="light"] .studio-bar {
      background: rgba(255, 255, 255, 0.95);
      border-color: #93C5FD;
      box-shadow: 0 14px 34px rgba(15, 45, 110, 0.14);
    }
    html[data-theme="light"] .site-footer {
      background: #E5EEFA;
      border-top: 1px solid #C4D7F0;
    }
    html[data-theme="light"] .modal-backdrop {
      background: rgba(15, 32, 68, 0.45);
      backdrop-filter: blur(6px);
    }
    html[data-theme="light"] .mobile-sticky-bar {
      background: rgba(255, 255, 255, 0.96);
      border-top-color: #B6CEEE;
    }

    /* ===== "What makes Maverix special", profile slots, Remote clicker, AI PC teaser ===== */
    /* the six highlights: one glass card with six rows, beside the 3D loop (never on top of it) */
    .special-list { display: grid; gap: 6px; margin-top: 14px; }
    .special-card {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 12px;
      align-items: center;
      text-align: left;
      font: inherit;
      color: inherit;
      cursor: pointer;
      padding: 8px 12px;
      border-radius: 14px;
      border: 1px solid var(--border-subtle);
      background: var(--surface-1);
      transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }
    .special-card:hover { transform: translateX(4px); border-color: var(--cyan-edge); background: var(--surface-3); }
    .special-card:focus-visible { outline: 3px solid var(--cyan-edge); outline-offset: 2px; }
    .special-card.is-key { border-color: var(--cyan-edge); background: var(--surface-3); box-shadow: 0 0 0 1px var(--cyan-edge), 0 10px 26px rgba(1, 131, 251, 0.2); }
    .special-num { font: 800 0.74rem var(--font-mono); letter-spacing: 0.1em; color: var(--cyan-edge); }
    .special-text { display: grid; gap: 2px; min-width: 0; }
    .special-text strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.95rem; line-height: 1.25; }
    .special-text > span { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4; }
    .special-go { font-weight: 800; color: var(--cyan-edge); }

    .ai-pill {
      display: inline-block;
      font-weight: 800;
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 3px 12px;
      border-radius: 999px;
      background: rgba(124, 58, 237, 0.14);
      color: var(--violet-brand);
      border: 1px solid rgba(124, 58, 237, 0.4);
    }

    /* profile slots */
    .slot-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
    .slot-tab {
      font: inherit;
      text-align: left;
      cursor: pointer;
      padding: 8px 10px;
      border-radius: 12px;
      border: 1px solid var(--border-subtle);
      background: var(--surface-1);
      display: flex;
      flex-direction: column;
      gap: 2px;
      transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }
    .slot-tab b { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
    .slot-tab span { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
    .slot-tab:hover { border-color: var(--cyan-edge); }
    .slot-tab.active { border-color: var(--cyan-edge); background: var(--surface-3); box-shadow: 0 0 0 1px var(--cyan-edge); }
    .slot-tab.active b { color: var(--cyan-edge); }
    .slot-tab:focus-visible { outline: 3px solid var(--cyan-edge); outline-offset: 2px; }
    .slot-stage {
      touch-action: pan-y; /* a sideways swipe switches slots; up and down still scrolls the page */
      background: var(--surface-1);
      border: 1px solid var(--border-lit);
      border-radius: 22px;
      padding: 10px;
    }
    .slot-panel[hidden] { display: none; }
    .slot-svg { display: block; width: 100%; height: auto; }
    .slot-svg .slot-screen { fill: var(--surface-2); stroke: var(--slot-accent, var(--cyan-edge)); stroke-width: 1; }
    .slot-svg .ctl { fill: color-mix(in srgb, var(--slot-accent, #0AC3FE) 22%, var(--surface-1)); stroke: var(--slot-accent, #0AC3FE); stroke-width: 0.7; }
    .slot-svg .ctl-cap { fill: color-mix(in srgb, var(--slot-accent, #0AC3FE) 50%, var(--surface-1)); stroke: var(--slot-accent, #0AC3FE); stroke-width: 0.5; }
    .slot-svg .ctl-label { fill: var(--text-primary); font: 700 4.6px var(--font-sans); text-anchor: middle; dominant-baseline: central; pointer-events: none; }

    /* Remote (presentation) clicker */
    .remote-device {
      position: relative;
      display: grid;
      gap: 10px;
      padding: 12px;
      background: var(--surface-1);
      border: 1px solid var(--border-lit);
      border-radius: 18px;
    }
    .remote-slide {
      position: relative;
      aspect-ratio: 16 / 9;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-radius: 12px;
      border: 1px solid var(--border-subtle);
      background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
    }
    .remote-slide.laser-on { cursor: none; touch-action: none; }
    .remote-slide-title { font-weight: 800; font-size: clamp(1rem, 3vw, 1.5rem); color: var(--text-primary); }
    .remote-slide-bars { position: absolute; left: 12%; right: 12%; bottom: 14%; display: grid; gap: 6px; }
    .remote-slide-bars i { display: block; height: 6px; border-radius: 6px; background: var(--border-lit); opacity: 0.7; }
    .remote-laser {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #ff2d2d;
      box-shadow: 0 0 12px 4px rgba(255, 45, 45, 0.6);
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
    .remote-laser[hidden] { display: none; }
    .remote-bar { display: flex; gap: 8px; flex-wrap: wrap; }
    .remote-bar button {
      flex: 1;
      min-height: 42px;
      padding: 0 10px;
      border-radius: 12px;
      border: 1px solid var(--border-subtle);
      background: var(--surface-2);
      color: var(--text-primary);
      font: 700 0.86rem var(--font-sans);
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    .remote-bar button:hover { border-color: var(--cyan-edge); }
    .remote-bar button:focus-visible { outline: 3px solid var(--cyan-edge); outline-offset: 2px; }
    .remote-bar button.holding::after,
    .remote-lock-cover button.holding::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(10, 195, 254, 0.35);
      transform-origin: left;
      animation: remote-hold 0.7s linear forwards;
    }
    @keyframes remote-hold { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    .remote-lock-cover {
      position: absolute;
      inset: 0;
      z-index: 3;
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 16px;
      border-radius: 18px;
      background: rgba(8, 18, 40, 0.92);
      color: #fff;
    }
    .remote-lock-cover[hidden] { display: none; }
    .remote-lock-cover button {
      position: relative;
      overflow: hidden;
      min-height: 44px;
      padding: 0 22px;
      border-radius: 999px;
      border: 1px solid var(--cyan-edge);
      background: rgba(10, 195, 254, 0.14);
      color: #fff;
      font: 700 0.9rem var(--font-sans);
      cursor: pointer;
    }
    .remote-lock-cover button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

    /* AI PC teaser */
    .ai-card { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
    .ai-orb {
      width: 132px;
      height: 132px;
      flex-shrink: 0;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 30%, var(--orb-core), var(--orb-rim) 58%, var(--cobalt-deep));
      box-shadow: 0 0 60px rgba(124, 58, 237, 0.45), inset 0 0 30px rgba(255, 255, 255, 0.35);
      animation: ai-float 5s ease-in-out infinite;
    }
    .ai-orb svg { width: 56px; height: 56px; fill: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.85)); }
    @keyframes ai-float { 50% { transform: translateY(-8px); } }

    @media (prefers-reduced-motion: reduce) {
      .special-card, .slot-tab { transition: none; }
      .special-card:hover { transform: none; }
      .ai-orb { animation: none; }
      .remote-bar button.holding::after, .remote-lock-cover button.holding::after { animation-duration: 0.01s; }
    }

    @media (max-width: 860px) {
      .slot-tab span { font-size: 0.76rem; }
      .ai-card { justify-content: center; text-align: center; }
    }
