/* GamersNation: a big-box PC game, unfolded. */

:root {
  --navy: #0e1f4d;
  --navy-2: #14296b;
  --navy-3: #1d3585;
  --navy-ink: #081436;
  --yellow: #ffcf1f;
  --yellow-2: #ffe066;
  --red: #d42b20;
  --red-ink: #b81f17;
  --cyan: #00a3e0;
  --magenta: #e6007e;
  --green: #2fbf71;
  --paper: #f6f4ee;
  --paper-2: #ebe7db;
  --ink: #111318;
  --ink-2: #3c4150;
  --on-navy: #ffffff;
  --on-navy-2: #c3cdee;
  --rule-paper: #d6d1c2;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-label: "Michroma", "Barlow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --space-section: clamp(72px, 10vw, 136px);
  --radius: 6px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-print: 0 2px 0 rgba(8, 20, 54, .08), 0 14px 30px -12px rgba(8, 20, 54, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--on-navy);
  background: var(--navy);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--navy-ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 3px; }
.panel--paper :focus-visible { outline-color: var(--cyan); }
html { scrollbar-color: var(--navy-3) var(--navy-ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--navy-ink); }
::-webkit-scrollbar-thumb { background: var(--navy-3); border: 3px solid var(--navy-ink); border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy-ink); padding: 10px 14px; font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Controls: die-cut price tags ----------
   Rectangle with a pointed left end and a punched string hole.
   The point is a rotated square sharing the fill and border. */
.pricetag {
  --tag-h: 52px; --tag-bg: var(--yellow); --tag-ink: var(--navy-ink); --tag-line: 3px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--tag-h); margin-left: calc(var(--tag-h) * .36); padding: 0 1.2em 0 .9em;
  background: var(--tag-bg); color: var(--tag-ink);
  border: var(--tag-line) solid var(--tag-ink); border-left: 0; border-radius: 0 6px 6px 0;
}
.pricetag::before {
  content: ""; position: absolute; z-index: -1; left: 0; top: 50%;
  width: calc(var(--tag-h) * .72); height: calc(var(--tag-h) * .72);
  background: var(--tag-bg); border-style: solid; border-color: var(--tag-ink); border-width: 0 0 var(--tag-line) var(--tag-line);
  border-radius: 0 0 0 5px; transform: translate(-50%, -50%) rotate(45deg);
}
.pricetag::after {
  content: ""; position: absolute; left: calc(var(--tag-h) * -.13); top: 50%;
  width: calc(var(--tag-h) * .17); height: calc(var(--tag-h) * .17); border-radius: 50%;
  background: var(--hole, var(--navy)); box-shadow: inset 0 0 0 2px var(--tag-ink); transform: translateY(-50%);
}
.btn {
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.3rem; letter-spacing: .01em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35));
  transition: transform .18s var(--ease-out), filter .18s var(--ease-out);
}
.btn:hover { --tag-bg: var(--yellow-2); transform: translateY(-2px) rotate(-2deg); }
.btn:active { transform: translateY(1px); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; opacity: .75; transform: none; }
.btn--small { --tag-h: 42px; font-size: 1.05rem; padding: 0 1em 0 .7em; }
.btn--wide { width: calc(100% - 20px); }
.card .btn { --hole: var(--paper); }
.flap .btn { --hole: var(--navy-ink); }

/* ---------- Header: the box's top flap ---------- */
.flap {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-ink);
  border-bottom: 3px solid var(--yellow);
}
.flap__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 36px; height: 36px; border-radius: 8px; }
.brand__word { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.6rem; letter-spacing: .005em; text-transform: uppercase; line-height: 1; }
.brand__word span { color: var(--yellow); }
.flap__nav { display: flex; gap: 4px; margin-left: auto; }
.flap__nav a { padding: 8px 12px; font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--on-navy-2); border-radius: 4px; transition: color .15s, background-color .15s; }
.flap__nav a:hover { color: #fff; background: var(--navy-2); }
@media (max-width: 920px) {
  .flap__nav { display: none; }
  .flap .btn { margin-left: auto; }
}
@media (max-width: 420px) {
  .brand__word { font-size: 1.3rem; }
  .flap .btn { font-size: .95rem; padding: 0 .9em; }
}

/* ---------- Front of the box (hero) ---------- */
.front {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto;
  min-height: min(calc(100svh - 71px), 900px);
  padding-block: clamp(40px, 6vw, 72px);
}
.front::before {
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background:
    linear-gradient(90deg, var(--navy) 0 40%, rgba(14, 31, 77, 0) 62%),
    url("../img/halftone-rays.svg") 50% 50% / cover no-repeat,
    var(--navy);
}
@media (max-width: 880px) {
  .front::before { background: linear-gradient(var(--navy) 0 56%, rgba(14, 31, 77, 0) 72%), url("../img/halftone-rays.svg") 70% 100% / auto 60% no-repeat, var(--navy); }
}
.front__title {
  margin: 0;
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  font-size: clamp(3rem, 6.4vw, 5.9rem); line-height: .88; letter-spacing: -.01em; text-transform: uppercase;
  text-wrap: balance;
}
.front__title .line { display: block; }
.front__title .line--yellow { color: var(--yellow); margin-top: .08em; text-shadow: 0 .05em 0 var(--red-ink); }
.front__lede { max-width: 34em; margin: 28px 0 0; font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--on-navy-2); }
.front__lede em { color: #fff; font-style: normal; font-weight: 700; }
.quick-join { position: relative; display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 32px; max-width: 560px; }
.quick-join input[type="email"] {
  flex: 1 1 240px; min-height: 52px; padding: 0 18px;
  background: var(--paper); color: var(--ink); border: 3px solid var(--navy-ink); border-radius: 999px;
  font-size: 1.05rem; box-shadow: inset 0 2px 0 rgba(8, 20, 54, .12);
}
.quick-join input::placeholder, .card input::placeholder { color: #5f6475; }
.quick-join input:focus-visible { outline-offset: 2px; }
.form-status { flex-basis: 100%; margin: 0; min-height: 0; font-weight: 600; font-size: .98rem; }
.form-status:empty { display: none; }
.form-status[data-tone="error"] { color: #ffb4ae; }
.form-status[data-tone="ok"] { color: var(--yellow); }
.panel--paper .form-status[data-tone="error"], .card .form-status[data-tone="error"] { color: var(--red-ink); }
.card .form-status[data-tone="ok"] { color: #136b3c; }
.front__fine { margin: 12px 0 0; font-size: .92rem; color: var(--on-navy-2); }
.front__three { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px dashed rgba(195, 205, 238, .35); max-width: 540px; }
.front__three li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; }
.front__three .ic { color: var(--yellow); }

.front__stage { display: grid; justify-items: center; gap: 22px; }
@media (max-width: 880px) {
  .front { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; }
  .front__stage { padding-top: 8px; }
  .box { --w: min(320px, 70vw); }
  .box-shadow { width: calc(min(320px, 70vw) * 1.2); }
}

/* ---------- The box (CSS 3D) ---------- */
.box-stage { position: relative; perspective: 1700px; perspective-origin: 50% 30%; padding: 24px 0 36px; }
.box {
  --w: min(400px, 64vw);
  --h: calc(var(--w) * 1.3);
  --d: calc(var(--w) * .27);
  --rx: -9deg; --ry: 26deg; --tilt-x: 0deg; --tilt-y: 0deg; --turn: 0deg;
  --glare: 30%;
  position: relative; width: var(--w); height: var(--h);
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--rx) + var(--tilt-x))) rotateY(calc(var(--ry) + var(--tilt-y) + var(--turn)));
  transition: transform .35s var(--ease-out);
}
.box.is-turning { transition: transform 1.1s var(--ease-out); }
.face { position: absolute; top: 0; left: 0; overflow: hidden; backface-visibility: hidden; }
.face--front, .face--back { width: var(--w); height: var(--h); container-type: inline-size; }
.face--front { transform: translateZ(calc(var(--d) / 2)); background: var(--navy); display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.face--back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: var(--paper); color: var(--ink); display: flex; flex-direction: column; }
.face--left, .face--right { width: var(--d); height: var(--h); left: calc((var(--w) - var(--d)) / 2); }
.face--left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: linear-gradient(90deg, #0a1740, var(--navy-2)); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 18px 0; }
.face--right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); background: var(--paper-2); display: grid; place-items: center; }
.face--top, .face--bottom { width: var(--w); height: var(--d); top: calc((var(--h) - var(--d)) / 2); }
.face--top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); background: linear-gradient(#1b3584, var(--navy-2)); }
.face--bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); background: var(--navy-ink); }
.spine__word { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: calc(var(--d) * .48); text-transform: uppercase; letter-spacing: .02em; line-height: 1; color: #fff; }
.face--left img { width: calc(var(--d) * .5); height: auto; border-radius: 6px; }
.spine__small { writing-mode: vertical-rl; font-family: var(--f-label); font-size: calc(var(--d) * .1); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.box-shadow { position: absolute; left: 50%; bottom: 8px; width: calc(min(400px, 64vw) * 1.2); height: 46px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(3, 8, 26, .7), transparent); pointer-events: none; }

/* Front face artwork */
.cover__band { display: flex; justify-content: space-between; gap: 2cqw; padding: 2.4cqw 4cqw; background: var(--yellow); color: var(--navy-ink); font-family: var(--f-label); font-size: 2.7cqw; letter-spacing: .14em; text-transform: uppercase; border-bottom: .7cqw solid var(--navy-ink); }
.cover__logo { position: relative; z-index: 1; margin: 0; padding: 4cqw 5cqw 0; display: flex; flex-direction: column; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 19.5cqw; line-height: .78; text-transform: uppercase; letter-spacing: -.005em; color: #fff;
  text-shadow: .4cqw .4cqw 0 var(--red), .8cqw .8cqw 0 var(--red), 1.2cqw 1.2cqw 0 var(--red-ink), 1.6cqw 1.6cqw 0 var(--navy-ink), 2cqw 2cqw 0 var(--navy-ink); }
.cover__logo span:last-child { color: var(--yellow); padding-left: 9cqw; }
.cover__art { width: 100%; height: auto; flex: 1; min-height: 0; object-fit: cover; object-position: 50% 40%; margin-top: -3cqw; }
.cover__foot { margin: 0; display: flex; align-items: center; justify-content: center; gap: 3cqw; padding: 2.8cqw 4cqw; background: var(--navy-ink); font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 5.2cqw; text-transform: uppercase; letter-spacing: .02em; border-top: .7cqw solid var(--yellow); }
.cover__dot { width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--red); }

.live-sticker {
  position: absolute; right: 3cqw; top: 33cqw; z-index: 2;
  width: 30cqw; aspect-ratio: 1; display: grid; place-content: center; justify-items: center; text-align: center; gap: .3cqw;
  color: #fff; text-decoration: none; background: url("../img/sticker-burst.svg") center / contain no-repeat;
  transform: rotate(10deg);
  filter: drop-shadow(.4cqw 1.2cqw 1.6cqw rgba(8, 20, 54, .5));
  transition: transform .25s var(--ease-out);
}
.live-sticker:hover { transform: rotate(4deg) scale(1.04); }
.live-sticker__off { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 9cqw; line-height: .9; }
.live-sticker__price { font-family: var(--f-display); font-weight: 800; font-size: 5cqw; line-height: 1; color: var(--yellow); }
.live-sticker__name { max-width: 20cqw; font-family: var(--f-body); font-weight: 700; font-size: 2.3cqw; line-height: 1.1; text-transform: uppercase; letter-spacing: .03em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-sticker[data-state="loading"] .live-sticker__off { opacity: .6; }

.glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 0 35%, rgba(255, 255, 255, .26) 44%, rgba(255, 255, 255, .06) 50%, transparent 58%);
  background-size: 260% 100%; background-position: var(--glare) 0; }

/* Back face */
.back__head { padding: 3.4cqw 5cqw; background: var(--navy); color: #fff; font-family: var(--f-label); font-size: 3.4cqw; letter-spacing: .14em; text-transform: uppercase; }
.back__cols { flex: 1; display: grid; grid-template-rows: auto 1fr; gap: 4cqw; padding: 5cqw; }
.back__label { margin: 0 0 1.6cqw; font-family: var(--f-label); font-size: 2.6cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.back__generic { margin: 0; font-size: 4.2cqw; line-height: 1.35; color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: .5cqw; }
.back__yours { border: .6cqw solid var(--navy); border-radius: 1.6cqw; padding: 4cqw; position: relative; }
.back__yours dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw 4cqw; }
.back__yours dl div { display: grid; gap: .4cqw; padding-bottom: 1.6cqw; border-bottom: .3cqw dashed var(--rule-paper); }
.back__yours dt { font-size: 3.2cqw; line-height: 1.2; color: var(--ink-2); }
.back__yours dd { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 5.2cqw; line-height: 1.1; color: var(--navy); text-transform: uppercase; }
.back__example { position: absolute; right: 3cqw; top: -2.4cqw; margin: 0; padding: .4cqw 2cqw; background: var(--yellow); font-family: var(--f-label); font-size: 2.2cqw; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-ink); }
.back__foot { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 5cqw 4cqw; }
.barcode { width: 34cqw; height: 11cqw; background: #fff; padding: 1cqw; }
.colorbar { display: flex; height: 3cqw; }
.colorbar i { width: 5cqw; }
.colorbar i:nth-child(1) { background: var(--cyan); }
.colorbar i:nth-child(2) { background: var(--magenta); }
.colorbar i:nth-child(3) { background: var(--yellow); }
.colorbar i:nth-child(4) { background: var(--ink); }

.turn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  background: transparent; color: #fff; border: 2px solid rgba(195, 205, 238, .45); border-radius: 999px; cursor: pointer;
  font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase;
  transition: border-color .2s, background-color .2s;
}
.turn:hover { border-color: var(--yellow); background: rgba(255, 207, 31, .08); }
.turn .ic { color: var(--yellow); transition: transform .6s var(--ease-out); }
.turn[aria-pressed="true"] .ic { transform: rotate(180deg); }

/* ---------- Panels ---------- */
.panel { position: relative; padding-block: var(--space-section); }
.panel--paper { background: var(--paper); color: var(--ink); }
.panel--navy { background: var(--navy); }
.panel--shelf { background: var(--navy-2); }
.panel--paper a { color: var(--navy); }
.crop { position: absolute; width: 28px; height: 28px; top: 18px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); opacity: .55; }
.crop::before { width: 100%; height: 1.5px; top: 50%; }
.crop::after { height: 100%; width: 1.5px; left: 50%; }
.crop--tl { left: 18px; }
.crop--tr { right: 18px; }

.panel__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.panel__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.panel__head--split > div { max-width: 680px; }
.h2 { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: .92; letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance; }
.panel--paper .h2 { color: var(--navy); }
.h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; text-transform: uppercase; }
.panel__intro { margin: 18px 0 0; max-width: 38em; font-size: 1.15rem; color: var(--ink-2); }
.panel--navy .panel__intro, .panel--shelf .panel__intro { color: var(--on-navy-2); }
.panel__note { margin: 28px 0 0; font-size: .92rem; color: var(--ink-2); }

/* ---------- Back of the box: apps ---------- */
.backbox { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 56px); }
.shot .mock { transform: rotate(-.8deg); }
.shot--ext .mock { transform: rotate(.9deg); }
.shot--phone .mock { transform: rotate(-1.2deg); }
.print-furniture { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 2px solid var(--ink); }
.print-furniture__code { display: grid; gap: 6px; font-family: var(--f-label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.print-furniture .barcode { width: 150px; height: 46px; }
.print-furniture .colorbar { height: 16px; }
.print-furniture .colorbar i { width: 26px; }
.crop--bl, .crop--br { top: auto; bottom: 18px; }
.crop--bl { left: 18px; }
.crop--br { right: 18px; }
.shot { margin: 0; display: grid; gap: 18px; align-content: start; }
.shot--hero { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 40px); padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 2px dashed var(--rule-paper); }
.shot figcaption { display: grid; gap: 6px; }
.shot__title { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.05rem); line-height: 1.15; color: var(--navy); text-wrap: balance; }
.shot__text { color: var(--ink-2); max-width: 36em; }
@media (max-width: 900px) {
  .backbox { grid-template-columns: 1fr; }
  .shot--hero { grid-template-columns: 1fr; }
}

/* Mock UIs inside the screenshots */
.mock { border-radius: 8px; overflow: hidden; font-size: .9rem; line-height: 1.35; border: 2px solid var(--navy-ink); box-shadow: 0 2px 0 rgba(8, 20, 54, .1), 0 18px 36px -18px rgba(8, 20, 54, .55); }
.mock--app { background: #0c1430; color: #e6eaf7; }
.mock__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #070d22; font-family: var(--f-label); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3768; }
.mock__dots i:first-child { background: var(--red); }
.mock__body { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; }
.mock__rig { padding: 18px; background: #101a3d; border-right: 1px solid #1f2b5c; }
.mock__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.mock__rig ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.mock__rig li { display: flex; gap: 8px; align-items: flex-start; color: #c9d1ee; }
.mock__rig li .ic { color: var(--cyan); width: 1.05rem; height: 1.05rem; margin-top: .1em; }
.mock__rig b { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8692bf; font-weight: 600; }
.mock__game { padding: 18px; display: grid; gap: 14px; align-content: start; }
.mock__pill { font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: none; padding: 3px 9px; border-radius: 999px; background: rgba(47, 191, 113, .16); color: #6ee3a2; }
.mock__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mock__table th { text-align: left; font-weight: 500; color: #9aa5cf; padding: 7px 0; border-bottom: 1px solid #1f2b5c; }
.mock__table td { text-align: right; font-weight: 700; padding: 7px 0; border-bottom: 1px solid #1f2b5c; white-space: nowrap; }
.lvl { display: inline-block; width: 34px; height: 6px; margin-right: 10px; vertical-align: middle; border-radius: 3px; background: linear-gradient(90deg, var(--yellow) var(--p, 0%), #26325f 0); }
.lvl--0 { --p: 0%; } .lvl--1 { --p: 25%; } .lvl--2 { --p: 50%; } .lvl--3 { --p: 75%; } .lvl--4 { --p: 100%; }
.mock__apply { justify-self: end; padding: 8px 16px; border-radius: 999px; background: var(--yellow); color: var(--navy-ink); font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 1rem; }
@media (max-width: 560px) { .mock__body { grid-template-columns: 1fr; } .mock__rig { border-right: 0; border-bottom: 1px solid #1f2b5c; } }

.mock--ext { position: relative; background: #1b2033; padding: 18px 18px 26px; min-height: 230px; }
.mock__store { display: flex; gap: 14px; align-items: center; }
.mock__cover { width: 110px; height: 62px; border-radius: 4px; background:
  linear-gradient(160deg, transparent 55%, rgba(0, 0, 0, .35) 0),
  radial-gradient(circle at 70% 40%, #ff7a59 0 14px, transparent 15px),
  linear-gradient(180deg, #2c5ad6, #7b3fd1 60%, #ff7a59);
  flex: none; }
.mock__storeinfo { display: grid; gap: 6px; color: #d7dbea; }
.mock__storeinfo b { font-size: 1.05rem; color: #fff; }
.mock__storeinfo span { width: fit-content; padding: 6px 12px; background: #3f7a22; color: #fff; border-radius: 3px; font-weight: 700; font-size: .85rem; }
.mock__pop { position: relative; margin: 16px 0 0 auto; width: min(290px, 92%); background: var(--paper); color: var(--ink); border: 2px solid var(--navy-ink); border-radius: 8px; padding: 12px 14px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6); }
.mock__pop::before { content: ""; position: absolute; top: -9px; right: 28px; width: 14px; height: 14px; background: var(--paper); border-left: 2px solid var(--navy-ink); border-top: 2px solid var(--navy-ink); transform: rotate(45deg); }
.mock__pophead { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; color: var(--navy); }
.mock__pophead img { border-radius: 4px; }
.mock__pop ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.mock__pop li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 4px; }
.mock__pop li span { color: var(--ink-2); }
.mock__pop li.best { background: #fff3c2; }
.mock__pop li.best span { color: var(--ink); font-weight: 700; }
.mock__pop li em { font-style: normal; font-weight: 800; color: #fff; background: var(--red); padding: 1px 6px; border-radius: 3px; font-size: .8rem; }
.mock__low { margin: 8px 0 0; font-size: .8rem; color: var(--ink-2); }

.mock--phone { background: linear-gradient(160deg, #20357d, #0b1638); padding: 22px 0 0; display: grid; justify-items: center; min-height: 260px; }
.phone { width: min(250px, 80%); background: #0a1230; border: 3px solid #050a1d; border-bottom: 0; border-radius: 30px 30px 0 0; padding: 18px 12px 16px; display: grid; gap: 8px; position: relative; }
.phone__notch { position: absolute; top: 8px; left: 50%; width: 64px; height: 8px; border-radius: 6px; background: #050a1d; transform: translateX(-50%); }
.phone__time { margin: 6px 0 4px; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: 2rem; line-height: 1; color: #fff; }
.note { display: flex; gap: 10px; padding: 9px 10px; background: rgba(246, 244, 238, .95); color: var(--ink); border-radius: 10px; font-size: .8rem; line-height: 1.3; }
.note p { margin: 0; }
.note b { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.note .ic { width: 1.4rem; height: 1.4rem; padding: 3px; border-radius: 6px; background: var(--yellow); color: var(--navy-ink); stroke-width: 2.2; }

/* ---------- Side panel: tuner ---------- */
.tuner { background: url("../img/halftone-rays-left.svg") 0 50% / cover no-repeat, var(--navy); }
.sidepanel { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: 0; border: 3px solid var(--navy-ink); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.tuner__controls { margin: 0; padding: clamp(22px, 3vw, 36px); background: var(--navy-ink); display: grid; gap: 22px; align-content: start; }
.field { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { padding: 0; font-family: var(--f-label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); }
.field legend { margin-bottom: 8px; }
.field select {
  width: 100%; min-height: 48px; padding: 0 44px 0 14px; appearance: none;
  background: var(--navy-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffcf1f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  color: #fff; border: 2px solid #2a3f8f; border-radius: var(--radius); font-weight: 600; font-size: 1.02rem; cursor: pointer;
}
.field select:hover { border-color: var(--yellow); }
.field select option { background: var(--navy-ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-left: 14px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { --tag-h: 40px; --tag-bg: var(--navy-ink); --tag-ink: #4d68c0; --tag-line: 2px; --hole: var(--navy-ink); font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; color: var(--on-navy-2); transition: color .15s; }
.chips label:hover span { --tag-ink: var(--yellow); color: #fff; }
.chips input:checked + span { --tag-bg: var(--yellow); --tag-ink: var(--navy-ink); color: var(--navy-ink); }
.chips input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 3px; }

.tuner__out { background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.req { overflow: hidden; background: #fff; box-shadow: var(--shadow-print); }
.req__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; background: var(--navy); color: #fff; }
.req__title { margin: 0; font-family: var(--f-label); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.req__est { margin: 0; display: grid; justify-items: end; line-height: 1; }
.req__est span { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2.6rem; color: var(--yellow); font-variant-numeric: tabular-nums; }
.req__est small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-2); }
.req__table { width: 100%; border-collapse: collapse; }
.req__table th, .req__table td { padding: 12px 18px; border-bottom: 1px dashed var(--rule-paper); vertical-align: top; text-align: left; }
.req__table tr:last-child th, .req__table tr:last-child td { border-bottom: 0; }
.req__table th { width: 38%; font-weight: 600; color: var(--ink-2); }
.req__table td b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; color: var(--navy); }
.req__table td small { display: block; margin-top: 3px; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.req__table tr.is-changed td b { animation: stamp .5s var(--ease-out); }
@keyframes stamp { from { transform: scale(1.18) rotate(-2deg); color: var(--red); } to { transform: none; } }
.req__why { margin: 0; padding: 14px 18px; background: #fff7d6; border-top: 2px solid var(--yellow); font-size: .98rem; color: var(--ink); }
.req__why:empty { display: none; }
.req__disclaimer { margin: 0; font-size: .88rem; color: var(--ink-2); }
@media (max-width: 860px) { .sidepanel { grid-template-columns: 1fr; } .req__table th { width: 34%; } }

.glossary { margin-top: 6px; border-top: 1px dashed rgba(195, 205, 238, .35); padding-top: 20px; }
.glossary summary { cursor: pointer; width: fit-content; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; color: var(--yellow); list-style: none; display: flex; gap: 10px; align-items: baseline; }
.glossary summary::-webkit-details-marker { display: none; }
.glossary summary::before { content: ""; flex: none; width: 10px; height: 10px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); transition: transform .25s var(--ease-out); }
.glossary[open] summary::before { transform: rotate(45deg); }
.glossary dl { display: grid; gap: 16px; margin: 18px 0 0; }
.glossary dt { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.glossary dt { font-size: 1.05rem; }
.glossary dd { margin: 4px 0 0; font-size: .95rem; color: var(--on-navy-2); }

/* ---------- Shelf: deals ---------- */
.panel--shelf { background: url("../img/halftone-rays-left.svg") 100% 0 / cover no-repeat, var(--navy-2); border-top: 16px solid var(--navy-ink); box-shadow: inset 0 3px 0 var(--yellow); }
.tabs { display: inline-flex; gap: 10px 26px; flex-wrap: wrap; padding-left: 16px; }
.tabs button { --tag-h: 40px; --tag-bg: var(--navy-2); --tag-ink: #6f86d1; --tag-line: 2px; --hole: var(--navy-2); color: #fff; cursor: pointer; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; transition: color .15s; }
.tabs button:hover { --tag-ink: var(--yellow); }
.tabs button[aria-selected="true"] { --tag-bg: var(--yellow); --tag-ink: var(--navy-ink); color: var(--navy-ink); }

.feed-state { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .95rem; color: var(--on-navy-2); }
.feed-state__dot { width: 10px; height: 10px; border-radius: 50%; background: #5b6694; flex: none; }
.feed-state[data-state="live"] .feed-state__dot { background: var(--green); box-shadow: 0 0 0 4px rgba(47, 191, 113, .2); }
.feed-state[data-state="sample"] .feed-state__dot { background: var(--yellow); }
.feed-state[data-state="error"] .feed-state__dot { background: var(--red); }
.feed-state[data-state="loading"] .feed-state__dot { animation: pulse 1.2s infinite ease-in-out; }
.feed-state--small { margin-top: 16px; }
.feed-state[data-state="live"].feed-state--small { display: none; }
@keyframes pulse { 50% { opacity: .35; } }

.tags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 22px; }
.tag { position: relative; display: block; }
.tag__link { display: grid; grid-template-rows: auto 1fr; height: 100%; text-decoration: none; color: var(--ink); background: var(--paper); border: 2px solid var(--navy-ink); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .7); transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.tag__link:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 26px 36px -16px rgba(0, 0, 0, .75); }
.tag__img { aspect-ratio: 460 / 215; width: 100%; height: auto; object-fit: cover; background: var(--navy-2); }
.tag__body { display: grid; gap: 6px; padding: 14px 16px 16px; align-content: start; }
.tag__title { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag__meta { margin: 0; font-size: .86rem; color: var(--ink-2); }
.tag__prices { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tag__now { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2rem; line-height: 1; color: var(--navy); }
.tag__was { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--red); }
.tag__off { position: absolute; top: -12px; right: -8px; z-index: 1; padding: 6px 10px; background: var(--red); color: #fff; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.35rem; line-height: 1; border-radius: 3px; transform: rotate(6deg); box-shadow: 0 4px 8px -3px rgba(0, 0, 0, .45); }
.tag__off--free { background: var(--green); }
.tag--skeleton { height: 290px; border-radius: 8px; background: linear-gradient(100deg, #1a2f73 30%, #22397f 50%, #1a2f73 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -150% 0; } }
.tags[data-state="sample"] .tag__link { box-shadow: 0 10px 20px -14px #000; }
.tags[data-state="sample"] .tag__body::after { content: "Sample, not live"; width: fit-content; margin-top: 6px; padding: 2px 8px; background: var(--paper-2); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border-radius: 3px; }

.free { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 2px dashed #3a55a8; }
.free .h3 .ic { color: var(--green); width: 1.1em; height: 1.1em; }
.free__intro { margin: 10px 0 24px; color: var(--on-navy-2); }
.free__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
@media (max-width: 760px) { .free__list { grid-template-columns: 1fr; } }
.free__item a { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 10px; text-decoration: none; border-radius: 8px; border: 2px solid #31489a; background: var(--navy); transition: border-color .15s, transform .2s var(--ease-out); }
.free__item a:hover { border-color: var(--green); transform: translateX(3px); }
.free__item img { width: 96px; height: 54px; object-fit: cover; border-radius: 4px; background: var(--navy-2); }
.free__name { display: block; font-weight: 700; line-height: 1.25; }
.free__meta { display: block; font-size: .85rem; color: var(--on-navy-2); }
.free__worth { display: grid; justify-items: end; font-variant-numeric: tabular-nums; line-height: 1.1; }
.free__worth s { font-size: .85rem; color: var(--on-navy-2); text-decoration-color: var(--red); }
.free__worth b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.3rem; color: #6ee3a2; text-transform: uppercase; }
@media (max-width: 420px) { .free__item a { grid-template-columns: 72px 1fr; } .free__item img { width: 72px; height: 40px; } .free__worth { grid-column: 2; justify-items: start; grid-auto-flow: column; gap: 8px; align-items: baseline; } }

/* ---------- Manual: APIs ---------- */
.manual__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 88px); }
.api { display: grid; gap: 10px; align-content: start; padding: 26px 0 30px; border-top: 2px solid var(--ink); }
.api__name { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.9rem; line-height: 1; text-transform: uppercase; color: var(--navy); }
.api__what { margin: 0; color: var(--ink); }
.api__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .92rem; color: var(--ink-2); }
.api__facts b { font-family: var(--f-label); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-right: 6px; font-weight: 400; }
.api__ex { display: block; overflow-x: auto; padding: 10px 12px; background: var(--navy-ink); color: #d6defa; border-radius: 4px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .82rem; line-height: 1.5; white-space: nowrap; scrollbar-width: thin; scrollbar-color: var(--navy-3) var(--navy-ink); }
.api__note { margin: 0; font-size: .95rem; color: var(--ink-2); }
.api__link { display: inline-flex; align-items: center; gap: 4px; width: fit-content; font-weight: 700; }
.api__link .ic { width: 1em; height: 1em; }
.manual__page { margin: 24px 0 0; text-align: center; font-family: var(--f-label); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 900px) { .manual__grid { grid-template-columns: 1fr; } }

/* ---------- Registration card: waitlist ---------- */
.join { background: linear-gradient(90deg, var(--navy) 0 38%, rgba(14, 31, 77, 0) 58%), url("../img/halftone-rays.svg") 50% 50% / cover no-repeat, var(--navy); }
@media (max-width: 900px) { .join { background: linear-gradient(var(--navy) 0 34%, rgba(14, 31, 77, 0) 52%), url("../img/halftone-rays.svg") 50% 100% / auto 70% no-repeat, var(--navy); } }
.join { overflow-x: clip; }
.join__wrap { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .join__wrap { grid-template-columns: 1fr; } }
.card { position: relative; margin: 0; background: var(--paper); color: var(--ink); border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); transform: rotate(-1.2deg); transition: transform .5s var(--ease-out); }
.card:focus-within { transform: rotate(0deg); }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px; background: radial-gradient(circle at 7px 7px, var(--navy) 5px, transparent 5.5px) 0 0 / 18px 14px repeat-x; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px 18px; border-bottom: 2px solid var(--ink); }
.card__title { margin: 0; font-family: var(--f-label); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.card__stamp { display: grid; place-items: center; width: 54px; height: 62px; border: 2px dashed var(--ink-2); border-radius: 3px; color: var(--ink-2); }
.card__stamp .ic { width: 26px; height: 26px; }
.card__body { display: grid; gap: 20px; padding: 24px 26px 26px; }
.card__field { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.card__field > span, .card__field legend { font-family: var(--f-label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 0; }
.card__field legend { margin-bottom: 10px; }
.card__field legend small { font-family: var(--f-body); font-size: .85rem; letter-spacing: 0; text-transform: none; }
.card input[type="email"] { min-height: 50px; padding: 0 2px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.card input[type="email"]:focus-visible { outline: none; border-bottom-color: var(--cyan); box-shadow: 0 2px 0 var(--cyan); }
.card input[aria-invalid="true"] { border-bottom-color: var(--red); }
.card__checks { display: grid; gap: 10px; }
.card__checks label { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.card__checks input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.box-tick { width: 24px; height: 24px; flex: none; border: 2px solid var(--ink); border-radius: 3px; background: #fff; display: grid; place-items: center; }
.card__checks input:checked + .box-tick { background: var(--navy); border-color: var(--navy); }
.card__checks input:checked + .box-tick::after { content: ""; width: 7px; height: 13px; border: solid var(--yellow); border-width: 0 3px 3px 0; transform: translate(0, -1px) rotate(45deg); }
.card__checks input:focus-visible + .box-tick { outline: 3px solid var(--cyan); outline-offset: 2px; }
.card__fine { margin: 0; font-size: .88rem; color: var(--ink-2); }
.postmark { position: absolute; right: 26px; top: 46px; display: grid; place-content: center; justify-items: center; width: 150px; height: 150px; border: 4px double var(--red); border-radius: 50%; color: var(--red); transform: rotate(-14deg) scale(1.25); opacity: 0; pointer-events: none; mix-blend-mode: multiply; }
.postmark span { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.postmark small { font-family: var(--f-label); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; }
.card.is-registered .postmark { opacity: .9; transform: rotate(-14deg) scale(1); transition: transform .45s var(--ease-out), opacity .2s; }
@media (prefers-reduced-motion: reduce) { .card.is-registered .postmark { transition: none; } }

/* ---------- FAQ ---------- */
.faq__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq__wrap { grid-template-columns: 1fr; } }
.faq__list details { border-top: 2px solid var(--ink); }
.faq__list details:last-child { border-bottom: 2px solid var(--ink); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; color: var(--navy); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background:
  linear-gradient(var(--navy-ink), var(--navy-ink)) center / 12px 2.5px no-repeat,
  linear-gradient(var(--navy-ink), var(--navy-ink)) center / 2.5px 12px no-repeat,
  var(--yellow); transition: transform .3s var(--ease-out); }
.faq__list details[open] summary::after { transform: rotate(135deg); }
.faq__list p { margin: 0 0 22px; max-width: 40em; color: var(--ink-2); }

/* ---------- Footer ---------- */
.foot { background: var(--navy); padding-block: 56px 40px; border-top: 3px solid var(--yellow); }
.foot__wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr 1.4fr; gap: 32px; }
.foot__brand p { margin: 12px 0 0; color: var(--on-navy-2); max-width: 22em; }
.foot__nav { display: grid; gap: 6px; align-content: start; }
.foot__nav a { color: var(--on-navy-2); text-decoration: none; width: fit-content; }
.foot__nav a:hover { color: #fff; text-decoration: underline; }
.foot__legal { font-size: .9rem; color: var(--on-navy-2); }
.foot__legal p { margin: 0 0 10px; }
.foot__reg { position: absolute; right: 0; bottom: -10px; width: 28px; color: #3a4a86; }
@media (max-width: 800px) { .foot__wrap { grid-template-columns: 1fr; } }

/* ---------- Motion: the box arrives once ---------- */
@media (prefers-reduced-motion: no-preference) {
  .box { animation: arrive 1.1s var(--ease-out) backwards; }
  .live-sticker { animation: slap .6s .9s var(--ease-out) backwards; }
  .front__title .line { animation: rise .7s var(--ease-out) backwards; }
  .front__title .line:nth-child(2) { animation-delay: .06s; }
  .front__title .line:nth-child(3) { animation-delay: .14s; }
}
@keyframes arrive { from { transform: translateY(30px) rotateX(-7deg) rotateY(-10deg); opacity: .001; } }
@keyframes slap { from { transform: rotate(-12deg) scale(1.5); opacity: 0; } }
@keyframes rise { from { transform: translateY(.35em); opacity: .001; } }

/* ---------- 404 ---------- */
.missing { min-height: calc(100svh - 71px); display: grid; align-items: center; padding-block: 64px; background: url("../img/halftone-rays.svg") 50% 50% / cover no-repeat, var(--navy); }
.missing .front__lede { margin-bottom: 32px; }

@media (max-width: 600px) {
  .tabs { gap: 10px 22px; }
  .tabs button { font-size: .98rem; }
  .tags { grid-template-columns: 1fr; gap: 14px; }
  .tag__link { grid-template-columns: 128px 1fr; grid-template-rows: none; }
  .tag__img { height: 100%; aspect-ratio: auto; min-height: 96px; }
  .tag__body { padding: 10px 12px 12px; gap: 3px; }
  .tag__title { font-size: .98rem; }
  .tag__now { font-size: 1.6rem; }
  .tag__off { top: -8px; right: -4px; font-size: 1.1rem; padding: 4px 8px; }
  .tag--skeleton { height: 110px; }
}
@media (max-width: 520px) {
  .quick-join .btn { flex: 1 1 100%; max-width: calc(100% - 20px); }
  .tuner__out { padding: 14px; }
  .req__table th, .req__table td { padding: 10px 12px; }
  .req__table th { width: 30%; font-size: .92rem; }
  .req__head { padding: 12px; }
}
