/* =========================================================
   Zoomic — site styles
   Palette: #1F0D34 dark purple | #8D5CC4 light purple
            #008454 dark green  | #2EC84D light green
   Display: YouTube Star   Subtitles/labels: Do Hyeon
   Body: system sans (readable first, decorative second)
   ========================================================= */

@font-face {
  font-family: "YouTube Star";
  src: url("../fonts/youtube-star.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Do Hyeon";
  src: url("../fonts/do-hyeon.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1f0d34;
  --ink-deep: #170a27;
  --purple: #8d5cc4;
  --green: #2ec84d;
  --green-deep: #008454;

  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.76);
  --text-soft: rgba(255, 255, 255, 0.56);

  --line: 3px solid var(--purple);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 28px;

  --shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.3);

  --display: "YouTube Star", "Trebuchet MS", system-ui, sans-serif;
  --sub: "Do Hyeon", "Trebuchet MS", system-ui, sans-serif;
  --body: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --pad: clamp(18px, 4vw, 40px);

  /* scattered starfield, deliberately sparse */
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='720' viewBox='0 0 720 720'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='40' cy='60' r='1.5' opacity='.6'/%3E%3Ccircle cx='122' cy='182' r='1.1' opacity='.45'/%3E%3Ccircle cx='210' cy='42' r='1.8' opacity='.5'/%3E%3Ccircle cx='298' cy='140' r='1' opacity='.4'/%3E%3Ccircle cx='382' cy='88' r='1.4' opacity='.55'/%3E%3Ccircle cx='470' cy='196' r='1' opacity='.35'/%3E%3Ccircle cx='560' cy='52' r='1.6' opacity='.5'/%3E%3Ccircle cx='652' cy='158' r='1.2' opacity='.45'/%3E%3Ccircle cx='736' cy='72' r='1.1' opacity='.4'/%3E%3Ccircle cx='92' cy='300' r='1' opacity='.4'/%3E%3Ccircle cx='180' cy='382' r='1.5' opacity='.5'/%3E%3Ccircle cx='262' cy='470' r='1.1' opacity='.4'/%3E%3Ccircle cx='350' cy='330' r='1.2' opacity='.45'/%3E%3Ccircle cx='432' cy='422' r='1.7' opacity='.5'/%3E%3Ccircle cx='520' cy='300' r='1' opacity='.4'/%3E%3Ccircle cx='612' cy='452' r='1.3' opacity='.45'/%3E%3Ccircle cx='700' cy='362' r='1' opacity='.4'/%3E%3Ccircle cx='62' cy='522' r='1.6' opacity='.5'/%3E%3Ccircle cx='152' cy='642' r='1' opacity='.4'/%3E%3Ccircle cx='242' cy='722' r='1.3' opacity='.45'/%3E%3Ccircle cx='330' cy='600' r='1' opacity='.4'/%3E%3Ccircle cx='422' cy='700' r='1.5' opacity='.5'/%3E%3Ccircle cx='512' cy='622' r='1' opacity='.4'/%3E%3Ccircle cx='602' cy='742' r='1.2' opacity='.45'/%3E%3Ccircle cx='692' cy='640' r='1.6' opacity='.5'/%3E%3Ccircle cx='782' cy='762' r='1' opacity='.4'/%3E%3Ccircle cx='22' cy='762' r='1.3' opacity='.45'/%3E%3Ccircle cx='686' cy='242' r='1' opacity='.4'/%3E%3Cpath d='M0-7L1.7-1.7 7 0 1.7 1.7 0 7-1.7 1.7-7 0-1.7-1.7Z' transform='translate(210,300) scale(.9)' opacity='.45'/%3E%3Cpath d='M0-7L1.7-1.7 7 0 1.7 1.7 0 7-1.7 1.7-7 0-1.7-1.7Z' transform='translate(560,560) scale(.7)' opacity='.4'/%3E%3Cpath d='M0-7L1.7-1.7 7 0 1.7 1.7 0 7-1.7 1.7-7 0-1.7-1.7Z' transform='translate(110,120) scale(.6)' opacity='.35'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 620px at 12% -6%, rgba(141, 92, 196, 0.34), transparent 72%),
    radial-gradient(820px 700px at 92% 4%, rgba(0, 132, 84, 0.22), transparent 70%),
    radial-gradient(760px 520px at 50% 104%, rgba(141, 92, 196, 0.16), transparent 72%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* YouTube Star has no lowercase glyphs, so anything set in it is uppercase. */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}

.brand,
.step__num,
.offline__zero,
.qr__slot {
  text-transform: uppercase;
}

p {
  margin: 0;
}

a {
  color: var(--green);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: var(--green);
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-family: var(--sub);
}

.skip:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- shared type ---------- */

.kicker {
  font-family: var(--sub);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 14px;
}

.kicker--muted {
  color: rgba(141, 92, 196, 1);
}

.section-title {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  margin-bottom: 16px;
}

.section-lede {
  color: var(--text-dim);
  max-width: 60ch;
  font-size: 1.06rem;
}

.section-head {
  max-width: 64ch;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section {
  padding-block: clamp(60px, 9vw, 110px);
  position: relative;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sub);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 15px 26px;
  border-radius: 999px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--green);
  border-color: var(--green);
  color: #14210f;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.28), 0 0 34px rgba(46, 200, 77, 0.28);
}

.btn--primary:hover {
  background: #43de60;
  border-color: #43de60;
}

.btn--primary:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
}

.btn--ghost {
  background: rgba(141, 92, 196, 0.12);
  border-color: var(--purple);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(141, 92, 196, 0.28);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.94rem;
}

.btn--lg {
  padding: 19px 36px;
  font-size: 1.16rem;
}

.btn__glyph {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 10, 39, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(141, 92, 196, 0.28);
}

.site-header.is-scrolled {
  background: rgba(23, 10, 39, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.brand {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.02em;
  padding-block: 6px;
}

.brand:hover {
  text-decoration: none;
  color: var(--green);
}

.nav__menu {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 6px;
  margin-left: auto;
}

/* full-height tabs: the active one pulses dark green across the whole bar */
.nav__menu a:not(.btn) {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 15px;
  font-family: var(--sub);
  font-size: 0.98rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.2s ease;
}

.nav__menu a:not(.btn):hover {
  color: var(--text);
  background-color: rgba(141, 92, 196, 0.18);
  text-decoration: none;
}

.nav__menu a.is-active {
  color: var(--text);
  background-color: rgba(0, 132, 84, 0.25);
  animation: nav-pulse 2.6s ease-in-out infinite alternate;
}

.nav__menu a.is-active:hover {
  background-color: rgba(0, 132, 84, 0.6);
}

@keyframes nav-pulse {
  from {
    background-color: rgba(0, 132, 84, 0.7);
  }
  to {
    background-color: rgba(0, 132, 84, 0.25);
  }
}

.nav__menu .btn {
  align-self: center;
  margin-left: 8px;
}

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  position: relative;
}

.nav__toggle span::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav__toggle span::after {
  position: absolute;
  top: 6px;
  left: 0;
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(56px, 8vw, 90px);
  padding-bottom: clamp(100px, 7vw, 84px);
  position: relative;
}

.hero__stage {
  position: relative;
}

/* The hero has no card treatment yet — border and background to be added later. */
.hero__panel {
  position: relative;
  padding: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero__eyebrow {
  font-family: var(--sub);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--green);
  margin-bottom: 18px;
}

.hero__wordmark {
  font-size: clamp(4rem, 15vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-shadow: 0 0 60px rgba(46, 200, 77, 0.22);
  margin-bottom: 8px;
}

.hero__tagline {
  font-family: var(--sub);
  font-size: clamp(1.35rem, 3.1vw, 2rem);
  line-height: 1.2;
  color: var(--green);
  margin-bottom: 22px;
}

.hero__lede {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  max-width: 52ch;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__facts li {
  font-family: var(--sub);
  font-size: 0.9rem;
  color: var(--text-dim);
  border: 2px solid rgba(141, 92, 196, 0.55);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(31, 13, 52, 0.5);
}

.hero__facts li.is-highlight {
  border-color: rgba(46, 200, 77, 0.6);
  color: var(--green);
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.6vw, 26px);
  counter-reset: step;
}

.step {
  position: relative;
  border: var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  background: linear-gradient(180deg, rgba(141, 92, 196, 0.16), rgba(31, 13, 52, 0.92));
  box-shadow: var(--shadow-soft);
}

.step__num {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--green);
  margin-bottom: 12px;
}

.step__title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-dim);
  font-size: 0.99rem;
}

/* ---------- game table ---------- */

.table-wrap {
  border: var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(141, 92, 196, 0.14), rgba(23, 10, 39, 0.94));
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.table-wrap::-webkit-scrollbar {
  height: 10px;
}

.table-wrap::-webkit-scrollbar-thumb {
  background: rgba(141, 92, 196, 0.5);
  border-radius: 999px;
}

.game-table {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
  text-align: left;
}

.game-table thead th {
  padding: 10px 20px;
  font-family: var(--sub);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(141, 92, 196, 0.12);
  border-bottom: 3px solid rgba(141, 92, 196, 0.5);
  white-space: nowrap;
}

.game-table tbody tr {
  border-bottom: 1px solid rgba(141, 92, 196, 0.24);
  transition: background-color 0.15s ease;
}

.game-table tbody tr:last-child {
  border-bottom: 0;
}

.game-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.022);
}

.game-table tbody tr:hover {
  background-color: rgba(141, 92, 196, 0.16);
}

.game-table th,
.game-table td {
  padding: 14px 20px;
  vertical-align: middle;
  font-weight: 400;
}

.game-table__icon-col,
.game-table__icon {
  width: 88px;
  padding-right: 0;
}

.game-table__icon svg {
  width: 42px;
  height: 42px;
  color: var(--purple);
}

.game-table__name {
  min-width: 200px;
}

.game-table__title {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.game-table__tag {
  display: block;
  margin-top: 5px;
  font-family: var(--sub);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  white-space: nowrap;
}

.game-table__tag.is-flagship {
  color: var(--green);
}

.game-table__num {
  width: 118px;
  font-family: var(--sub);
  font-size: 0.95rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.game-table__desc {
  min-width: 440px;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.5;
}

.shelf-note {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-top: 18px;
}

/* ---------- offline section ---------- */

.offline__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.offline__copy p + p {
  margin-top: 16px;
}

.offline__copy .section-lede {
  margin-bottom: 26px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-dim);
  font-size: 1rem;
}

.checklist svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 3px;
  color: var(--green);
}

.offline__panel {
  position: relative;
  border: var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0, 132, 84, 0.24), rgba(23, 10, 39, 0.92));
  box-shadow: var(--shadow-soft);
  padding: 34px 28px 30px;
  text-align: center;
  overflow: hidden;
}

.offline__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--stars);
  background-size: 420px 420px;
  opacity: 0.45;
  pointer-events: none;
}

.bars {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.bars span {
  width: 16px;
  border-radius: 4px;
  border: 2px solid var(--purple);
  background: rgba(141, 92, 196, 0.18);
}

.bars span:nth-child(1) { height: 20px; }
.bars span:nth-child(2) { height: 34px; }
.bars span:nth-child(3) { height: 48px; }
.bars span:nth-child(4) { height: 62px; }

.offline__zero {
  position: relative;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  line-height: 1;
  margin-bottom: 6px;
}

.offline__zero-sub {
  position: relative;
  font-family: var(--sub);
  color: var(--green);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.offline__panel p {
  position: relative;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ---------- features ---------- */

.feature-list {
  margin: 0;
  border: var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(141, 92, 196, 0.12), rgba(31, 13, 52, 0.72));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.feature-row {
  padding: 20px 26px;
  border-bottom: 1px solid rgba(141, 92, 196, 0.22);
}

.feature-row:last-child {
  border-bottom: 0;
}

.feature-row dt {
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text);
}

.feature-row dd {
  margin: 8px 0 0;
  padding-left: 22px;
  border-left: 3px solid rgba(46, 200, 77, 0.45);
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .feature-row {
    padding: 18px 20px;
  }

  .feature-row dt {
    font-size: 1.06rem;
  }
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq__item {
  border: 3px solid rgba(141, 92, 196, 0.55);
  border-radius: var(--radius-sm);
  background: rgba(31, 13, 52, 0.7);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq__item[open] {
  border-color: var(--purple);
  background: rgba(44, 20, 72, 0.72);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-family: var(--sub);
  font-size: 1.1rem;
  color: var(--text);
}

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

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--body);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  content: "–";
  transform: translateY(-52%);
}

.faq__answer {
  padding: 0 22px 20px;
  color: var(--text-dim);
  font-size: 0.97rem;
}

.qr {
  position: relative;
  border: 3px solid rgba(255, 255, 255, 0.35);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 14px;
  justify-self: center;
  text-align: center;
  color: var(--ink);
  max-width: 230px;
}

.qr__slot {
  border: 2px dashed rgba(31, 13, 52, 0.35);
  border-radius: 8px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2rem;
  color: rgba(31, 13, 52, 0.35);
}

.qr__caption {
  font-family: var(--sub);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(31, 13, 52, 0.72);
  margin-top: 10px;
}

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

.site-footer {
  border-top: 1px solid rgba(141, 92, 196, 0.28);
  padding-block: 44px 40px;
  margin-top: clamp(30px, 6vw, 60px);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-bottom: 30px;
}

.footer__wordmark {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.footer__tagline {
  font-family: var(--sub);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--green);
  margin-top: 6px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-bottom: 26px;
  font-family: var(--sub);
  font-size: 0.94rem;
}

.footer__links a {
  color: var(--text-dim);
}

.footer__links a:hover {
  color: var(--green);
}

.footer__legal {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(141, 92, 196, 0.18);
  color: var(--text-soft);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}

/* ---------- interior pages ---------- */

.page {
  padding-block: clamp(48px, 7vw, 80px);
}

.page__head {
  max-width: 70ch;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page__head h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 14px;
}

.page__head p {
  color: var(--text-dim);
}

.prose {
  max-width: 80ch;
}

.prose h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin: 38px 0 12px;
}

.prose h3 {
  font-family: var(--sub);
  font-size: 1.1rem;
  text-transform: none;
  margin: 26px 0 8px;
}

.prose h4 {
  font-family: var(--sub);
  font-size: 1rem;
  text-transform: none;
  color: var(--text);
  margin: 20px 0 6px;
}

.prose ul ul {
  margin-top: 8px;
  padding-left: 22px;
}

.prose p,
.prose li {
  color: var(--text-dim);
  font-size: 1rem;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.prose a {
  color: var(--green);
}

.prose__updated {
  font-family: var(--sub);
  font-size: 0.85rem;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

.callout {
  border: var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(141, 92, 196, 0.2), rgba(31, 13, 52, 0.9));
  padding: 26px 26px 24px;
  margin-top: 26px;
}

.callout h2 {
  margin-top: 0;
}

.callout p {
  color: var(--text-dim);
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .offline__grid {
    grid-template-columns: 1fr;
  }

  .qr {
    justify-self: start;
  }
}

@media (max-width: 880px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav {
    min-height: 66px;
  }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px var(--pad) 22px;
    background: rgba(23, 10, 39, 0.98);
    border-bottom: 3px solid var(--purple);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    display: none;
    margin-left: 0;
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__menu a:not(.btn) {
    padding: 14px;
    font-size: 1.05rem;
  }

  .nav__menu .btn {
    margin: 8px 0 0;
  }

  .hero__inner {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__top .btn {
    width: 100%;
  }
}

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

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

  .game-table tbody tr:hover,
  .btn:hover {
    transform: none;
  }

  .nav__menu a.is-active {
    animation: none;
    background-color: rgba(0, 132, 84, 0.5);
  }
}

/* anchor offset for the sticky header */
:target {
  scroll-margin-top: 96px;
}

#top,
#games,
#how,
#offline,
#features,
#faq {
  scroll-margin-top: 90px;
}
