/* QuizBlast "Arena" homepage — re-skinned from stattos.com's Arena visual
   language. Tokens first. assets/site.css was deleted; this file now also
   restyles the secondary/guide pages (see the "guide pages" section below).
   Self-hosted font + inline CSS/JS only — matches the static CSP. */

:root {
  --qb-bg:       #0D0D12;
  --qb-ink:      #F2F1F4;
  --qb-ink-2:    rgba(242,241,244,.72);
  --qb-ink-3:    rgba(242,241,244,.55);
  --qb-ink-4:    rgba(242,241,244,.25);
  --qb-hair:     rgba(242,241,244,.10);
  --qb-hair-2:   rgba(242,241,244,.16);
  --qb-tile:     #14141A;
  --qb-tile-2:   #1C1C24;
  --qb-acc:      #D8394A;
  --qb-acc-glow: rgba(216,57,74,.55);
  --qb-deep:     #AB1E2F;
  --qb-paper:    #FAF9F7;

  --qb-font-d: "Space Grotesk", "Avenir Next", "Helvetica Neue", sans-serif;
  --qb-font-t: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --qb-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --qb-wrap: 1280px;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2191, U+2193;
}
@font-face {
  font-family: "Space Mono";
  src: url("fonts/space-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2191, U+2193;
}
@font-face {
  font-family: "Space Mono";
  src: url("fonts/space-mono-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2191, U+2193;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--qb-bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--qb-bg);
  color: var(--qb-ink);
  font-family: var(--qb-font-t);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
::selection { background: var(--qb-acc); color: var(--qb-bg); }

.qb-root { overflow-x: clip; position: relative; }

.wrap { max-width: var(--qb-wrap); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }
@media (min-width: 1360px) { .wrap { padding-inline: 0; } }

.qb-d {
  font-family: var(--qb-font-d);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0;
}
.qb-dn { font-family: var(--qb-font-d); font-weight: 700; font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  width: max-content; max-width: 100%;
  font-family: var(--qb-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--qb-ink-3);
  margin-bottom: 14px;
  border: 1px solid var(--qb-hair-2);
  border-radius: 999px;
  padding: 4px 10px 4px 8px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--qb-acc); flex: 0 0 auto;
}
.eyebrow.dim { color: var(--qb-ink-3); }

/* wire tick — replaces hairline section dividers above an eyebrow */
.qb-tick {
  display: block; width: 48px; height: 2px; background: var(--qb-acc);
  margin-bottom: 16px; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--qb-paper); color: var(--qb-bg); padding: .6rem 1rem;
}
.skip-link:focus { left: .5rem; top: .5rem; }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--qb-acc);
  outline-offset: 3px;
  border-radius: 2px;
}

section { padding-block: 112px; position: relative; }
@media (max-width: 767px) { section { padding-block: 56px; } }

/* ---------- buttons ---------- */

.qb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding-inline: 26px;
  border-radius: 8px;
  font-family: var(--qb-font-d); font-weight: 600; font-size: 16px;
  letter-spacing: -.01em;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.qb-btn.solid { background: var(--qb-acc); color: var(--qb-paper); }
.qb-btn.solid:hover { background: var(--qb-deep); transform: translateY(-1px); }
.qb-btn.ghost { background: transparent; color: var(--qb-ink); border-color: var(--qb-ink-4); }
.qb-btn.ghost:hover { border-color: var(--qb-ink-2); transform: translateY(-1px); }
.qb-btn.paper { background: var(--qb-paper); color: var(--qb-deep); }
.qb-btn.paper:hover { background: #fff; transform: translateY(-1px); }
.qb-btn.sm { height: 38px; padding-inline: 18px; font-size: 14px; }
.btn-micro { font-family: var(--qb-mono); font-size: 12px; color: var(--qb-ink-3); margin-top: 14px; }

/* ---------- nav ---------- */

.qb-nav {
  position: sticky; top: 0; z-index: 50; height: 72px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--qb-hair);
  background: color-mix(in srgb, var(--qb-bg) 60%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
@media (max-width: 767px) { .qb-nav { height: 60px; } }
.qb-nav .wrap { display: flex; align-items: center; width: 100%; gap: 24px; }
.qb-word {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--qb-font-d); font-weight: 700; font-size: 18px;
  letter-spacing: -.01em;
  text-decoration: none; color: var(--qb-ink); margin-right: auto;
}
.qb-word img { width: 30px; height: 30px; border-radius: 7px; }
.qb-links { display: flex; align-items: center; gap: 28px; }
.qb-links a:not(.qb-btn) {
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--qb-ink-2);
}
.qb-links a:not(.qb-btn):hover { color: var(--qb-ink); }
@media (max-width: 1023px) { .qb-links { display: none; } }

.qb-burger { display: none; }
@media (max-width: 1023px) {
  .qb-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: transparent; border: 1px solid var(--qb-hair-2);
    border-radius: 4px; color: var(--qb-ink); margin-left: 8px; cursor: pointer;
  }
}
.qb-menu-toggle {
  position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden;
  clip-path: inset(50%);
}
.qb-menu-toggle:focus-visible + .qb-burger { outline: 2px solid var(--qb-acc); outline-offset: 3px; }
.qb-mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--qb-bg); border-bottom: 1px solid var(--qb-hair);
  flex-direction: column; padding: 8px 20px 20px;
}
.qb-mobile-menu a {
  display: block; padding: 12px 0; min-height: 44px;
  font-family: var(--qb-font-d); font-weight: 700; text-transform: uppercase;
  font-size: 20px; text-decoration: none; color: var(--qb-ink);
  border-bottom: 1px solid var(--qb-hair);
}
.qb-menu-toggle:checked ~ .qb-mobile-menu { display: flex; }
@media (min-width: 1024px) { .qb-mobile-menu, .qb-burger { display: none !important; } }

/* ---------- hero — headline + primary action, then the highlight loop in a frame ---------- */

.qb-hero { position: relative; padding-block: 64px 96px; overflow: clip; }
@media (max-width: 767px) { .qb-hero { padding-block: 36px 56px; } }
.qb-hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(900px 520px at 50% 110%, color-mix(in srgb, var(--qb-deep) 80%, transparent) 0%, transparent 62%);
}
.qb-hero .wrap { position: relative; z-index: 1; }
.qb-hero-copy { display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 820px; margin-bottom: 44px; }
.qb-hero-copy .eyebrow { margin: 0; }
.qb-h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; margin: 0; }
.qb-lede { max-width: 620px; color: var(--qb-ink-2); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; margin: 0; }
.qb-cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: center; margin: 6px 0 0; }
.qb-cta-row .btn-micro { margin: 0; }
.qb-btn.lg { height: 56px; padding-inline: 32px; font-size: 17px; }
@media (max-width: 767px) {
  .qb-hero-copy { justify-items: start; text-align: left; }
  .qb-h1 { font-size: 2.4rem; max-width: none; }
  .qb-cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .qb-cta-row .qb-btn { width: 100%; }
}

/* the frame the live stage plays in */
.qb-screen {
  position: relative; width: 100%; margin-inline: auto;
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(242,241,244,.14), 0 60px 140px rgba(0,0,0,.7), 0 0 120px rgba(216,57,74,.16);
}
@media (max-width: 767px) { .qb-screen { border-radius: 12px; } }
.qb-screen-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 18px 20px;
  background: linear-gradient(0deg, rgba(13,13,18,.85), rgba(13,13,18,0));
}
.qb-screen-ctl {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px; border-radius: 999px;
  background: rgba(13,13,18,.7); color: var(--qb-ink);
  border: 1px solid rgba(242,241,244,.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--qb-font-d); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.qb-screen-ctl:hover { border-color: rgba(242,241,244,.5); }
.qb-screen-ctl.primary { margin-left: auto; padding-left: 12px; }
.qb-screen-ctl.primary:hover { background: rgba(216,57,74,.9); border-color: transparent; }
.qb-screen-play-icon {
  width: 24px; height: 24px; border-radius: 50%; background: var(--qb-acc); color: var(--qb-paper);
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px; padding-left: 2px; flex: 0 0 auto;
}
.ico-pause { width: 12px; height: 12px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.qb-screen-ctl.is-paused .ico-pause { border: 0; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; }
@media (max-width: 767px) {
  .qb-screen-bar { padding: 10px 12px; }
  .qb-screen-ctl { height: 38px; font-size: 13px; padding-inline: 12px; }
  .qb-screen-ctl.primary .qb-screen-play-icon { width: 20px; height: 20px; }
}

.hero-player {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,5,8,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.hero-player[hidden] { display: none; }
.hero-player-inner { width: 100%; max-width: 1100px; position: relative; }
.hero-player video { width: 100%; height: auto; border-radius: 10px; }
.hero-player-close {
  position: absolute; top: -44px; right: 0;
  background: transparent; border: 1px solid var(--qb-hair-2); border-radius: 999px;
  color: var(--qb-ink); width: 36px; height: 36px; cursor: pointer;
  font-family: var(--qb-font-d); font-size: 18px; line-height: 1;
}
.hero-player-close:hover { border-color: var(--qb-ink-2); }

/* EDU-pricing eligibility check: trigger on the Cloud Pro card + its modal. */
.qb-elig-trigger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin: 2px 0 16px; padding: 0 18px; height: 40px;
  background: transparent; border: 1px solid var(--qb-hair-2); border-radius: 999px;
  cursor: pointer; color: var(--qb-ink);
  font-family: var(--qb-font-d); font-size: 14px; font-weight: 500;
  transition: border-color .15s ease, transform .15s ease;
}
.qb-elig-trigger::before { content: "✓"; color: var(--qb-acc); font-weight: 700; }
.qb-elig-trigger:hover { border-color: var(--qb-ink-2); transform: translateY(-1px); }
.qb-elig {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,5,8,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.qb-elig[hidden] { display: none; }
.qb-elig-inner {
  width: 100%; max-width: 460px; position: relative;
  background: var(--qb-tile); border: 1px solid var(--qb-hair-2); border-radius: 14px;
  padding: 28px 26px;
}
.qb-elig-close {
  position: absolute; top: 12px; right: 12px;
  background: transparent; border: 1px solid var(--qb-hair-2); border-radius: 999px;
  color: var(--qb-ink); width: 32px; height: 32px; cursor: pointer;
  font-family: var(--qb-font-d); font-size: 17px; line-height: 1;
}
.qb-elig-close:hover { border-color: var(--qb-ink-2); }
.qb-elig-inner h2 { font-family: var(--qb-font-d); font-size: 22px; margin: 0 0 8px; }
.qb-elig-lede { font-size: 14px; color: var(--qb-ink-3); margin: 0 0 18px; line-height: 1.5; }
.qb-elig-inner label { display: block; font-size: 13px; color: var(--qb-ink-2); margin: 0 0 6px; }
.qb-elig-row { display: flex; gap: 8px; }
.qb-elig-row input {
  flex: 1; min-width: 0; padding: 11px 13px;
  background: var(--qb-bg); border: 1px solid var(--qb-hair-2); border-radius: 9px;
  color: var(--qb-ink); font-family: var(--qb-font-t); font-size: 15px;
}
.qb-elig-row input:focus { outline: none; border-color: var(--qb-acc); }
.qb-elig-row .qb-btn { white-space: nowrap; }
.qb-elig-result {
  margin: 16px 0 0; padding: 13px 15px; border-radius: 9px;
  font-size: 14px; line-height: 1.5; border: 1px solid var(--qb-hair-2);
}
.qb-elig-result a { color: inherit; text-underline-offset: 2px; }
.qb-elig-result.is-yes { border-color: rgba(64,192,120,.5); background: rgba(64,192,120,.12); }
.qb-elig-result.is-soft { border-color: var(--qb-hair-2); background: var(--qb-tile-2); color: var(--qb-ink-2); }
.qb-elig-result.is-invalid { border-color: var(--qb-acc-glow); background: rgba(216,57,74,.10); color: var(--qb-ink-2); }
.qb-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .55; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- wire strip (replaces the marquee ticker) ---------- */

.qb-wires { border-block: 1px solid var(--qb-hair); padding-block: 0; overflow: clip; position: relative; height: 120px; }
.qb-wires svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.qb-wires svg path.base {
  fill: none; stroke: var(--qb-acc); stroke-width: 1.5; opacity: .6;
}
.qb-wires-pulse {
  offset-rotate: 0deg;
  fill: #ffb3bb;
  filter: drop-shadow(0 0 4px #ffb3bb);
  animation: qb-wire-flow 3.6s linear infinite;
}
.qb-wires-pulse:nth-child(2) { animation-delay: -.7s; }
.qb-wires-pulse:nth-child(3) { animation-delay: -1.4s; }
.qb-wires-pulse:nth-child(4) { animation-delay: -2.1s; }
.qb-wires-pulse:nth-child(5) { animation-delay: -2.8s; }
@keyframes qb-wire-flow { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) { .qb-wires-pulse { animation: none; offset-distance: 40%; } }
.qb-wires-facts {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-evenly;
  padding-inline: 24px;
}
@media (max-width: 1099px) {
  .qb-wires-facts { justify-content: flex-start; gap: 12px; overflow-x: auto; }
}
.qb-wires-facts .pill {
  display: flex; flex-direction: column; gap: 3px;
  font-family: var(--qb-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--qb-ink-2);
  background: color-mix(in srgb, var(--qb-bg) 78%, transparent);
  border: 1px solid var(--qb-hair-2); border-radius: 999px;
  padding: 8px 16px; white-space: nowrap;
}
.qb-wires-facts .pill span:last-child { color: var(--qb-ink-3); }
.qb-wires-facts .pill:nth-child(n+4) { display: none; }
@media (min-width: 1100px) { .qb-wires-facts .pill:nth-child(n+4) { display: flex; } }

/* ---------- join band — the one crimson surface on the page ---------- */

.qb-join-band {
  position: relative; overflow: clip;
  background: linear-gradient(178deg, #D8394A, #AB1E2F);
  padding-block: 88px;
}
@media (max-width: 767px) { .qb-join-band { padding-block: 56px; } }
.qb-join-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.qb-join-wires path { fill: none; stroke: rgba(250,249,247,.16); stroke-width: 1.5; }
.qb-join-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .qb-join-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.qb-join-copy { color: var(--qb-paper); }
.qb-join-copy .eyebrow { color: var(--qb-paper); border-color: rgba(250,249,247,.4); }
.qb-join-copy .eyebrow::before { background: var(--qb-paper); }
.qb-join-copy h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin: 4px 0 18px; color: var(--qb-paper); }
.qb-join-copy p { font-size: 1.2rem; color: rgba(250,249,247,.9); max-width: 34rem; margin: 0 0 .8em; }
.qb-join-copy .qb-join-note { font-size: 1rem; color: rgba(250,249,247,.9); }
.qb-join-card .qb-btn:focus-visible { outline-color: var(--qb-paper); }
.qb-join-note code { font-family: var(--qb-mono); color: var(--qb-paper); }
.qb-join-card {
  display: grid; gap: 14px;
  background: rgba(13,13,18,.35); border: 1px solid rgba(250,249,247,.22); border-radius: 18px;
  padding: 28px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 40px 90px rgba(0,0,0,.35);
}
.qb-join-card label { font-family: var(--qb-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(250,249,247,.75); }
.qb-join-card input {
  width: 100%; height: 72px; box-sizing: border-box;
  font-family: var(--qb-mono); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: .18em; text-transform: uppercase; text-align: center;
  padding: 0 16px 0 calc(16px + .18em); border: 1px solid rgba(250,249,247,.35); border-radius: 12px;
  background: rgba(13,13,18,.35); color: var(--qb-paper);
}
.qb-join-card input::placeholder { color: rgba(250,249,247,.35); }
.qb-join-card input:focus { border-color: var(--qb-paper); outline: 2px solid var(--qb-paper); outline-offset: 2px; }
.qb-join-card .qb-btn { width: 100%; }
.qb-join-fine { margin: 2px 0 0; text-align: center; font-size: .9rem; color: rgba(250,249,247,.7); }

/* ---------- video / tile shadow ---------- */

.qb-tile-frame {
  border: 1px solid var(--qb-hair-2); border-radius: 12px; overflow: hidden;
  background: var(--qb-tile); box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.qb-tile-frame video { width: 100%; height: auto; display: block; }
.qb-caption { color: var(--qb-ink-3); font-size: 1rem; margin-top: 18px; }

/* ---------- reveal / ghost numerals ---------- */

.qb-rev {
  animation: qb-rev-in linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 55%;
}
@keyframes qb-rev-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@supports not (animation-timeline: view()) {
  .qb-rev { animation: none; opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .qb-rev { animation: none !important; opacity: 1 !important; transform: none !important; }
}


/* ---------- generic section heading ---------- */

.qb-head { position: relative; z-index: 1; max-width: 720px; margin-bottom: 56px; }
.qb-head h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-bottom: 14px; }
.qb-head p { color: var(--qb-ink-2); max-width: 560px; margin: 0; font-size: 1.2rem; }

/* ---------- the three screens (phones → Mac → projector) ---------- */

.qb-trio { position: relative; display: grid; gap: 28px; z-index: 1; }
@media (min-width: 900px) { .qb-trio { grid-template-columns: repeat(3, 1fr); gap: 44px; align-items: start; } }
.qb-trio-col { margin: 0; position: relative; z-index: 1; display: grid; gap: 20px; }
.qb-trio-col .shot {
  position: relative; border-radius: 14px; border: 1px solid var(--qb-hair-2); background: var(--qb-tile);
  box-shadow: 0 40px 90px rgba(0,0,0,.5); aspect-ratio: 16 / 10; overflow: visible;
}
.qb-trio-col .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* connector: a wire from each shot to the next, always at the shot's vertical centre */
@media (min-width: 900px) {
  .qb-trio-col:not(:last-child) .shot::after {
    content: ""; position: absolute; left: 100%; top: 50%; width: 44px; height: 2px; margin-top: -1px;
    background: var(--qb-acc); opacity: .6;
  }
  .qb-trio-col:not(:last-child) .shot::before {
    content: ""; position: absolute; left: 100%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 0; border-radius: 50%;
    background: #ffb3bb; box-shadow: 0 0 10px #ffb3bb; opacity: 0; z-index: 2;
  }
  .qb-trio.go .qb-trio-col:not(:last-child) .shot::before { animation: qb-trio-dot 1.6s linear infinite; }
  .qb-trio.go .qb-trio-col:nth-child(2) .shot::before { animation-delay: .8s; }
  @keyframes qb-trio-dot { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateX(36px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .qb-trio.go .qb-trio-col .shot::before { animation: none; opacity: 0; } }
.qb-trio-col .shot img { border-radius: 13px; }
.qb-trio-col .shot.phone { background: radial-gradient(400px 260px at 50% 100%, rgba(216,57,74,.25), transparent 70%), var(--qb-tile); }
.qb-trio-col .shot.phone img { object-fit: contain; object-position: center bottom; padding: 18px 0 0; width: 100%; height: 100%; border-radius: 0; }
.qb-trio-col figcaption { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; }
.qb-trio-col .n { font-family: var(--qb-mono); font-size: 12px; color: var(--qb-acc); letter-spacing: .1em; padding-top: 6px; grid-row: span 2; }
.qb-trio-col h3 { font-family: var(--qb-font-d); font-size: 1.4rem; letter-spacing: -.02em; margin: 0; }
.qb-trio-col p { margin: 0; color: var(--qb-ink-2); font-size: 1.05rem; }

/* ---------- modes ---------- */

.qb-modes-head { display: grid; gap: 24px; margin-bottom: 48px; align-items: end; }
@media (min-width: 1101px) { .qb-modes-head { grid-template-columns: 1fr 1fr; } }
.qb-modes-head h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin: 0; }
.qb-modes-head p { margin: 0; font-size: 1.2rem; }
.qb-modes-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
@media (max-width: 1100px) { .qb-modes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .qb-modes-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  }
  .qb-modes-grid .mode-tile { scroll-snap-align: start; }
}
.mode-tile {
  background: var(--qb-tile); border: 1px solid var(--qb-hair-2); border-radius: 14px;
  padding: 24px; position: relative;
}
.mode-tile:first-child { border-top: 2px solid var(--qb-acc); }
.mode-tile h3 { font-family: var(--qb-font-d); font-size: 1.3rem; letter-spacing: -.02em; margin: 6px 0 14px; }
.mode-tile .viz {
  aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; border: 1px solid var(--qb-hair);
  margin-bottom: 14px; background: var(--qb-tile-2);
}
.mode-tile .viz img { width: 100%; height: 100%; object-fit: cover; }
.mode-tile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mode-tile li { font-size: 15px; color: var(--qb-ink-3); font-family: var(--qb-font-t); }

/* ---------- classroom facts (highlighted card + illustrated list) ---------- */

.qb-facts { display: grid; gap: 24px; position: relative; z-index: 1; align-items: start; }
@media (min-width: 1000px) { .qb-facts { grid-template-columns: 380px 1fr; gap: 32px; } }
.qb-facts-card {
  position: relative; border-radius: 18px; padding: 36px;
  background: linear-gradient(170deg, rgba(171,30,47,.42) 0%, var(--qb-tile) 60%);
  border: 1px solid rgba(216,57,74,.55);
  box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 80px rgba(216,57,74,.12);
  display: grid; gap: 28px;
}
@media (min-width: 1000px) { .qb-facts-card { position: sticky; top: 96px; } }
.qb-facts-card .eyebrow { margin-bottom: 0; }
.qb-facts-card .zero .qb-dn { font-size: clamp(5rem, 9vw, 7.5rem); line-height: .85; color: var(--qb-acc); display: block; letter-spacing: -.04em; }
.qb-facts-card .zero p { margin: 10px 0 0; font-size: 1.2rem; color: var(--qb-ink); max-width: 22ch; }
.qb-facts-card .card-note { margin: 0; padding-top: 22px; border-top: 1px solid rgba(242,241,244,.14); color: var(--qb-ink-2); font-size: 1rem; }
.qb-facts-card .card-note a { color: var(--qb-ink); text-underline-offset: 3px; }
.qb-facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.qb-facts-list li {
  display: grid; grid-template-columns: 44px 1fr 168px; gap: 20px; align-items: center;
  padding: 22px 24px; border: 1px solid var(--qb-hair-2); border-radius: 14px; background: var(--qb-tile);
  transition: border-color .15s ease;
}
.qb-facts-list li:hover { border-color: rgba(216,57,74,.5); }
@media (max-width: 767px) { .qb-facts-list li { grid-template-columns: 36px 1fr; padding: 18px; } .qb-facts-list li .thumb { grid-column: 2; } }
.qb-facts-list .n { font-family: var(--qb-mono); font-size: 13px; color: var(--qb-acc); letter-spacing: .1em; align-self: start; padding-top: 6px; }
.qb-facts-list h4 { font-family: var(--qb-font-d); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 6px; }
.qb-facts-list p { margin: 0; color: var(--qb-ink-3); font-size: 1rem; }
.qb-facts-list .thumb {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border-radius: 8px; border: 1px solid var(--qb-hair-2); background: var(--qb-tile-2);
}
.qb-facts-list .thumb.tall { object-position: center 47%; }

/* ---------- how it works (pipeline) ---------- */

.qb-pipeline { display: flex; flex-direction: column; gap: 0; position: relative; z-index: 1; }
@media (min-width: 900px) { .qb-pipeline { flex-direction: row; align-items: stretch; } }
.pipe-step { padding: 0; flex: 1; }
.pipe-step .viz { border-radius: 12px; overflow: hidden; margin-bottom: 20px; border: 1px solid var(--qb-hair-2); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.pipe-step h3 { font-family: var(--qb-font-d); font-size: 1.4rem; letter-spacing: -.02em; margin: 0 0 8px; }
.pipe-step p { color: var(--qb-ink-2); font-size: 1.05rem; margin: 0; }
.pipe {
  position: relative; flex: 0 0 auto; height: 2px; background: var(--qb-hair-2);
  align-self: flex-start; margin: 0;
}
@media (min-width: 900px) { .pipe { margin-top: 110px; } }
@media (min-width: 900px) { .pipe { width: 48px; } }
@media (max-width: 899px) { .pipe { width: 2px; height: 48px; margin-inline: auto; } }
.pipe .dot {
  position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--qb-acc);
  top: 50%; left: 0; transform: translate(-50%, -50%);
  animation: qb-pipe-travel 1.4s linear infinite;
  box-shadow: 0 0 8px var(--qb-acc-glow);
}
@keyframes qb-pipe-travel { to { left: 100%; } }
@media (max-width: 899px) {
  .pipe .dot { animation-name: qb-pipe-travel-v; left: 50%; top: 0; }
  @keyframes qb-pipe-travel-v { to { top: 100%; } }
}
@media (prefers-reduced-motion: reduce) { .pipe .dot { animation: none; left: 50%; } }

/* ---------- pricing cards ---------- */

.qb-price-head { max-width: 760px; }
.qb-price-head p { max-width: 720px; }
.qb-price-cards { display: grid; gap: 20px; position: relative; z-index: 1; align-items: stretch; }
@media (min-width: 900px) { .qb-price-cards { grid-template-columns: 1fr 1.15fr; gap: 24px; } }
.qb-price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--qb-tile); border: 1px solid var(--qb-hair-2); border-radius: 18px;
  padding: 36px;
}
@media (max-width: 767px) { .qb-price-card { padding: 26px 22px; border-radius: 14px; } }
.qb-price-card.hot {
  background: linear-gradient(170deg, rgba(171,30,47,.42) 0%, var(--qb-tile) 55%);
  border-color: rgba(216,57,74,.55);
  box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 80px rgba(216,57,74,.12);
}
.qb-price-badge {
  position: absolute; top: -14px; left: 32px;
  font-family: var(--qb-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--qb-acc); color: var(--qb-paper); border-radius: 999px; padding: 7px 14px;
}
.qb-price-card header { margin-bottom: 22px; }
.qb-price-card .eyebrow { margin-bottom: 18px; }
.qb-price-card .price { font-family: var(--qb-font-d); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: 0 0 10px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.qb-price-card .price .amt { font-size: clamp(2.6rem, 4.5vw, 3.6rem); }
.qb-price-card .price s { color: var(--qb-ink-4); font-weight: 500; font-size: 1.2rem; }
.qb-price-card .price-sub { color: var(--qb-ink-3); font-size: .95rem; margin: 0; }
.qb-price-card ul.feat { list-style: none; margin: 0 0 28px; padding: 24px 0 0; border-top: 1px solid var(--qb-hair-2); display: grid; gap: 12px; color: var(--qb-ink-2); font-size: 1rem; line-height: 1.45; }
.qb-price-card ul.feat li { padding-left: 26px; position: relative; }
.qb-price-card ul.feat li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--qb-acc); font-weight: 700; }
.qb-price-card ul.feat strong { color: var(--qb-ink); }
.qb-price-card ul.feat s { color: var(--qb-ink-4); }
.qb-price-card ul.feat a { color: var(--qb-ink); text-underline-offset: 3px; }
.qb-price-card .qb-btn { align-self: flex-start; margin-top: auto; }
.qb-price-card .offer { margin-top: auto; background: rgba(13,13,18,.45); border: 1px solid rgba(216,57,74,.35); border-radius: 10px; padding: 14px 16px; font-size: .95rem; color: var(--qb-ink-2); }
.qb-price-card .card-foot { font-family: var(--qb-mono); font-size: 12px; color: var(--qb-ink-3); margin: 18px 0 0; }
.qb-price-fine { max-width: 760px; margin-top: 40px; color: var(--qb-ink-3); font-size: 1rem; }
.qb-price-fine strong { color: var(--qb-ink); }
.qb-price-fine a { color: var(--qb-ink-2); text-underline-offset: 3px; }
.qb-price-fine p { margin: 0 0 .6em; }

/* ---------- stats → scoreboard band ---------- */

.qb-board-band { padding-block: 56px; border-block: 1px solid var(--qb-hair); }
.qb-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: left; position: relative; z-index: 1; }
@media (max-width: 767px) { .qb-stats-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
.qb-stat { padding: 0 28px; border-left: 1px solid var(--qb-hair-2); }
.qb-stat:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 767px) { .qb-stat:nth-child(3) { padding-left: 0; border-left: 0; } }
.qb-stat p {
  color: var(--qb-ink-3); font-family: var(--qb-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .07em; margin: 0 0 10px;
}
.qb-stat .qb-dn { font-size: clamp(2.6rem, 5vw, 4rem); color: var(--qb-ink); display: block; letter-spacing: -.03em; line-height: 1; }

/* ---------- proof ---------- */

.qb-proof-grid { display: grid; gap: 40px; position: relative; z-index: 1; }
@media (min-width: 900px) { .qb-proof-grid { grid-template-columns: 1.1fr 1fr; } }
.qb-proof-tile {
  background: var(--qb-tile); border: 1px solid var(--qb-hair-2); border-radius: 14px;
  padding: 36px;
}
.qb-proof-tile p { color: var(--qb-ink-2); font-size: 1.1rem; }
.qb-proof-tile .sig-name { font-family: var(--qb-font-d); font-weight: 700; color: var(--qb-ink); }

/* ---------- closing ---------- */

.qb-closing { text-align: center; position: relative; overflow: clip; }
.qb-closing-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(700px 500px at 50% 40%, var(--qb-deep) 0%, transparent 65%);
  opacity: .6;
}
.qb-closing .wrap { position: relative; z-index: 2; }
.qb-closing h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-bottom: 16px; }
.qb-closing .qb-cta-row { justify-content: center; margin-top: 24px; }

/* ---------- footer ---------- */

.qb-footer { border-top: 1px solid var(--qb-hair); padding-block: 36px; font-size: 14px; color: var(--qb-ink-3); }
.qb-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.qb-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.qb-footer a { text-decoration: none; color: var(--qb-ink-3); }
.qb-footer a:hover { color: var(--qb-ink); }
@media (max-width: 600px) { .qb-footer .wrap { flex-direction: column-reverse; align-items: flex-start; } }

/* ---- guide pages ---- */
/* Restyles the old (now-deleted) site.css primitives (guide-hero, guide-body,
   measure, label, step/num/step-shot, callout, help-card/help-grid,
   video-grid/card, it-table, vendor/path, sha, dl-hero/dl-body,
   btn-paper/btn-crimson) for the Arena dark system. Secondary pages only —
   index.html has its own dedicated sections above. */

.measure { max-width: none; }
.label {
  display: block;
  font-family: var(--qb-font-t);
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--qb-acc);
  margin: 0 0 12px;
}
.guide-body .label + h2, .guide-body .label + h1, .label + h2, .label + h1 { margin-top: 0; }

/* buttons — map old primitives to the Arena solid button */
.btn-crimson {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding-inline: 26px;
  border-radius: 8px;
  font-family: var(--qb-font-d); font-weight: 600; font-size: 16px;
  letter-spacing: -.01em;
  text-decoration: none; border: 1px solid transparent;
  background: var(--qb-acc); color: var(--qb-paper);
}
.btn-crimson:hover { background: var(--qb-deep); }

/* guide hero — crimson glow + grain, like the homepage closing CTA */
.guide-hero {
  position: relative; overflow: clip;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3rem);
}
.guide-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(700px 460px at 18% 0%, var(--qb-deep) 0%, transparent 65%);
  opacity: .5;
}
.guide-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .45; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.guide-hero > * { position: relative; z-index: 1; }
.guide-hero h1 { font-family: var(--qb-font-d); letter-spacing: -.03em; line-height: .98; font-size: clamp(2.75rem, 6vw, 4rem); margin: 0 0 .5em; }
.guide-hero .sub { font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.5; max-width: 60rem; color: var(--qb-ink-2); }

.guide-body { padding-block: clamp(2.5rem, 6vw, 4rem); }
.guide-body h2 { font-family: var(--qb-font-d); letter-spacing: -.02em; font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 2.6em; color: var(--qb-ink); }
.guide-body h2:first-of-type { margin-top: 0; }
.guide-body p, .guide-body li { color: var(--qb-ink-2); }
.guide-body a { color: var(--qb-acc); text-decoration: underline; text-underline-offset: 3px; }
.guide-body a:hover { color: var(--qb-ink); }
.guide-body strong { color: var(--qb-ink); }

/* steps */
.step { display: grid; gap: .4rem 2.5rem; padding-block: 2.4rem; border-top: 1px solid var(--qb-hair); }
.step:first-of-type { border-top: 0; }
@media (min-width: 48rem) { .step { grid-template-columns: 6rem 1fr; } }
.step .num { font-family: var(--qb-font-d); font-weight: 700; font-size: 2rem; color: var(--qb-acc); line-height: 1; }
.step h3 { font-family: var(--qb-font-d); font-size: 1.35rem; color: var(--qb-ink); }
.step p, .step ul { color: var(--qb-ink-2); }
.step p strong, .step li strong { color: var(--qb-ink); }
.step ul { margin: 0 0 1em; padding-left: 1.2rem; }
.step-shot { margin: 1rem 0 0; }
.step-shot img {
  border: 1px solid var(--qb-hair-2); border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(242,241,244,.04);
  background: var(--qb-tile);
}
.step-shot figcaption { font-size: .85rem; color: var(--qb-ink-3); margin-top: .6rem; }

/* callout */
.callout {
  border: 1px solid var(--qb-hair-2); border-left: 4px solid var(--qb-acc);
  border-radius: 8px; background: var(--qb-tile);
  padding: 1.2rem 1.4rem; margin: 1.6rem 0;
}
.callout p { margin: 0 0 .6em; color: var(--qb-ink-2); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--qb-ink); }
.callout .callout-title { display: block; font-family: var(--qb-font-d); font-weight: 700; color: var(--qb-ink); margin-bottom: .4rem; }

/* help hub */
.help-grid { display: grid; gap: 1.4rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.help-card {
  display: block; border: 1px solid var(--qb-hair-2); border-radius: 8px;
  background: var(--qb-tile); padding: 1.6rem; text-decoration: none; color: var(--qb-ink);
}
.help-card:hover { border-color: var(--qb-acc); }
.help-card .card-label {
  display: block;
  font-family: var(--qb-font-t);
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--qb-ink-3);
  margin: 0 0 12px;
}
.help-card .card-label + h3 { margin-top: 0; }
.help-card h3 { font-family: var(--qb-font-d); margin-bottom: .4em; color: var(--qb-ink); }
.help-card p { color: var(--qb-ink-2); margin: 0 0 1rem; font-size: .97rem; }
.help-card .go { color: var(--qb-acc); font-weight: 700; text-decoration: none; }
.help-card .go:hover { text-decoration: underline; }
.guide-body a.help-card { text-decoration: none; }

/* videos */
.video-grid { display: grid; gap: 1.6rem 1.4rem; margin: 2rem 0 3rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.video-card { margin: 0; }
.video-card video {
  width: 100%; height: auto; display: block; aspect-ratio: 16 / 9;
  border: 1px solid var(--qb-hair-2); border-radius: 12px; background: var(--qb-tile);
}
.video-card figcaption { color: var(--qb-ink-3); font-size: .95rem; margin-top: .7rem; }
.video-card figcaption strong { color: var(--qb-ink); display: block; }

/* IT tables */
.it-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.4rem 0; }
.it-table th, .it-table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--qb-hair); vertical-align: top; color: var(--qb-ink-2); }
.it-table thead th { font-family: var(--qb-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--qb-ink-3); font-weight: 700; }
.it-table td:first-child { font-weight: 600; color: var(--qb-ink); }
.it-table-scroll { overflow-x: auto; }
.fact-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .55rem; font-family: var(--qb-mono); font-size: .88rem; color: var(--qb-ink-2); }
.fact-list li::before { content: "» "; color: var(--qb-acc); font-weight: 700; }
.vendor { border-top: 1px solid var(--qb-hair); padding-block: 1.6rem; }
.vendor h3 { font-family: var(--qb-font-d); margin-bottom: .4em; color: var(--qb-ink); }
.vendor p { color: var(--qb-ink-2); }
.vendor p strong { color: var(--qb-ink); }
.vendor .path {
  font-family: var(--qb-mono); font-size: .82rem;
  background: var(--qb-tile); border: 1px solid var(--qb-hair-2); border-radius: 8px;
  padding: .55rem .9rem; display: inline-block; margin: .2rem 0 .8rem; color: var(--qb-ink-2);
}

/* download page */
.dl-body { padding-block: clamp(2.5rem, 6vw, 4rem); }
.dl-body h2 { font-family: var(--qb-font-d); letter-spacing: -.02em; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--qb-ink); }
.dl-body p, .dl-body li { color: var(--qb-ink-2); }
.dl-body strong { color: var(--qb-ink); }
.dl-body a { color: var(--qb-acc); text-decoration: underline; text-underline-offset: 3px; }
.sha {
  font-family: var(--qb-mono); font-size: .78rem;
  background: var(--qb-tile); border: 1px solid var(--qb-hair-2); border-radius: 8px;
  padding: .8rem 1rem; overflow-x: auto; white-space: nowrap; color: var(--qb-ink-2);
}

/* ---------- guide layout: sticky horizontal section bar + full-width text ---------- */
.guide-layout { display: block; }
.guide-content { max-width: none; min-width: 0; }
.dl-body .guide-content h2 { margin-top: 2.6em; }
.dl-body .guide-content h2:first-of-type { margin-top: 0; }
.guide-toc {
  position: sticky; top: 72px; z-index: 30;
  margin: 0 0 40px; padding: 10px 0;
  background: color-mix(in srgb, var(--qb-bg) 96%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--qb-hair);
  display: flex; align-items: center; gap: 16px;
}
@media (max-width: 767px) { .guide-toc { top: 60px; margin-bottom: 28px; } }
.guide-toc-title {
  flex: 0 0 auto; font-family: var(--qb-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--qb-ink-3);
}
.guide-toc ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; min-width: 0;
  scrollbar-width: none; -ms-overflow-style: none;
  mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  padding-right: 48px;
}
.guide-toc ol::-webkit-scrollbar { display: none; }
.guide-toc ol ol { display: none; }
.guide-toc li { margin: 0; flex: 0 0 auto; }
.guide-toc a {
  display: block; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  font-size: .9rem; color: var(--qb-ink-2); text-decoration: none;
  border: 1px solid transparent;
}
.guide-toc a:hover { color: var(--qb-ink); background: var(--qb-tile-2); }
.guide-toc a.is-active { color: var(--qb-ink); border-color: var(--qb-acc); background: rgba(216,57,74,.12); }
.guide-content [id] { scroll-margin-top: 140px; }
@media (max-width: 767px) { .guide-toc-title { display: none; } .guide-content [id] { scroll-margin-top: 124px; } }

/* ---------- hero "Wired" stage (live recreation of the commercial) ---------- */
.qb-stage { position: absolute; inset: 0; overflow: hidden; background: var(--qb-bg) url("video/wired-loop-poster.jpg") center / cover no-repeat; }
.qb-stage.is-live { background-image: none; }
.qb-stage-inner { position: absolute; left: 0; top: 0; width: 1200px; height: 675px; transform-origin: 0 0; font-family: var(--qb-font-d); }
.qb-stage-inner > * { position: absolute; }
.qb-stage-wires { left: 0; top: 0; width: 1200px; height: 675px; overflow: visible; }
.qb-stage-wires path { fill: none; stroke: #C53040; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(197,48,64,.6)); }
.st-mono { font-family: var(--qb-mono); font-size: 11px; letter-spacing: .1em; color: #9C9BA6; text-transform: uppercase; }
.st-mono.acc { color: #D8394A; }
.st-bar { height: 10px; border-radius: 6px; background: #3A3A46; }
.st-bar.ink { background: #F2F1F4; } .st-bar.acc { background: #C53040; } .st-bar.tall { height: 16px; border-radius: 8px; }
.st-bar.w90 { width: 90%; } .st-bar.w60 { width: 60%; } .st-bar.w45 { width: 45%; } .st-bar.w65 { width: 65%; } .st-bar.w55 { width: 55%; height: 6px; }
.st-bar.w92 { width: 92%; } .st-bar.w78 { width: 78%; } .st-bar.w40 { width: 40%; background: #9C9BA6; } .st-bar.w50 { width: 50%; } .st-bar.w70 { width: 70%; }
.st-bar.w86px { width: 60px; } .st-bar.w140px { width: 100px; }

.st-phone { border-radius: 26px; background: #1E1E26; border: 2px solid #3A3A46; box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 26px rgba(197,48,64,.25); padding: 34px 12px 12px; display: flex; flex-direction: column; gap: 7px; box-sizing: border-box; }
.st-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 44px; height: 11px; border-radius: 6px; background: #0D0D12; }
.st-url { font-family: var(--qb-mono); font-size: 6px; letter-spacing: .16em; color: #9C9BA6; text-align: center; }
.st-card { background: #26262E; border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.st-card .st-bar { height: 6px; }
.st-ans { flex: 1; border-radius: 8px; background: #26262E; border: 1px solid #3A3A46; display: flex; align-items: center; padding: 0 9px; transition: background .12s, border-color .12s; }
.st-ans .st-bar { height: 5px; background: #9C9BA6; }
.st-ans.lit { background: #C53040; border-color: #D8394A; } .st-ans.lit .st-bar { background: #F2F1F4; }

.st-mac { border-radius: 16px; background: #1E1E26; border: 1.5px solid #3A3A46; overflow: hidden; box-sizing: border-box; transform: perspective(2000px) rotateY(-8deg); transform-origin: left center; }
.st-titlebar { height: 34px; background: #26262E; border-bottom: 1px solid #3A3A46; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.st-dot { width: 9px; height: 9px; border-radius: 50%; background: #5A5A63; } .st-dot.red { background: #C53040; }
.st-title { margin-left: 10px; font-family: var(--qb-mono); font-size: 10px; letter-spacing: .07em; color: #9C9BA6; }
.st-body { position: absolute; inset: 34px 0 0 0; }
.st-view { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.st-lobby { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; }
.st-lobby-list { display: flex; flex-direction: column; gap: 6px; }
.st-row { height: 24px; border-radius: 6px; border: 1px solid transparent; display: flex; align-items: center; gap: 8px; padding: 0 8px; opacity: .15; transition: opacity .2s, background .2s; }
.st-row.on { opacity: 1; background: #26262E; border-color: #3A3A46; }
.st-led { width: 7px; height: 7px; border-radius: 50%; background: #5A5A63; } .st-row.on .st-led { background: #4CC38A; }
.st-name { font-weight: 500; font-size: 13px; color: #F2F1F4; }
.st-lobby-code { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.st-code { font-weight: 700; font-size: 84px; letter-spacing: .06em; color: #F2F1F4; line-height: 1; }
.st-board { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: .8fr repeat(5, 1fr); gap: 6px; padding: 16px; }
.st-tile { border-radius: 6px; background: #26262E; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; color: #D8394A; opacity: 0; }
.st-tile.head { background: #C53040; } .st-tile.lit { background: #C53040; color: #F2F1F4; box-shadow: 0 0 24px rgba(216,57,74,.7); }
.st-play { display: grid; grid-template-columns: 1.1fr 1fr; }
.st-q { position: relative; margin: 20px; display: flex; flex-direction: column; gap: 14px; opacity: 0; }
.st-qhead { display: flex; gap: 8px; align-items: center; } .st-qhead .st-bar { height: 8px; }
.st-qcard { background: #26262E; border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; justify-content: center; min-height: 200px; }
.st-qanswers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-qans { height: 42px; border-radius: 8px; background: #26262E; border: 1px solid #3A3A46; display: flex; align-items: center; padding: 0 12px; transition: background .12s; }
.st-qans .st-bar { height: 8px; background: #9C9BA6; } .st-qans.lit { background: #C53040; border-color: #D8394A; } .st-qans.lit .st-bar { background: #F2F1F4; }
.st-leader { margin: 20px 20px 20px 6px; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.st-lrow { display: flex; align-items: center; gap: 10px; } .st-lrow .st-mono { width: 50px; font-size: 9px; }
.st-ltrack { flex: 1; } .st-lbar { height: 18px; border-radius: 6px; background: #26262E; width: 0; } .st-lbar.acc { background: #C53040; }

.st-chip { left: 0; top: 0; padding: 6px 12px; border-radius: 999px; background: #26262E; border: 1.5px solid #3A3A46; font-weight: 700; font-size: 15px; color: #F2F1F4; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.5); opacity: 0; will-change: transform; }
.st-chip.arrived { background: #C53040; border-color: #D8394A; box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 24px rgba(197,48,64,.55); }
.st-pulse { left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #D8394A; box-shadow: 0 0 14px #D8394A, 0 0 36px rgba(216,57,74,.5); opacity: 0; will-change: transform; }
.st-pulse.big { width: 16px; height: 16px; background: #F2F1F4; box-shadow: 0 0 18px #F2F1F4, 0 0 48px rgba(242,241,244,.5); }
.st-tag { left: 0; top: 0; padding: 7px 14px; border-radius: 999px; background: #F2F1F4; color: #0D0D12; font-family: var(--qb-mono); font-size: 12px; letter-spacing: .12em; font-weight: 700; white-space: nowrap; opacity: 0; }
.st-cap { left: 50%; top: 22px; transform: translateX(-50%); display: flex; font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -.03em; color: #F2F1F4; white-space: pre; pointer-events: none; }
.st-cap span { display: inline-block; will-change: transform; }
.st-foot { left: 24px; bottom: 18px; font-family: var(--qb-mono); font-size: 10px; letter-spacing: .16em; color: #5A5A63; }
.st-foot.right { left: auto; right: 24px; color: #5A5A63; letter-spacing: .1em; }
.qb-screen-bar { pointer-events: none; } .qb-screen-bar .qb-screen-ctl { pointer-events: auto; }
