:root {
  --blue: #2e6bff;
  --blue-dark: #174fe3;
  --red: #f23b36;
  --navy: #0e1730;
  --muted: #66718a;
  --paper: #f6f8fc;
  --panel: #ffffff;
  --line: #dfe5ef;
  --yellow: #ffbd2e;
  --violet: #7257f4;
  --shadow: 0 24px 70px rgba(19, 38, 82, 0.12);
  --radius: 28px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* The decorative glows on .game-preview and the rotated .social-card bleed past
   their containers, which made the page scroll sideways ~45px at every desktop
   width. Clipping on <main> trims only what would leave the screen, so the
   glows still bleed off-canvas as designed. `clip` (not `hidden`) is used so no
   scroll container is created. */
main { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
/* height:auto is required: the HTML width/height attributes map to CSS
   presentational hints, and a definite height makes aspect-ratio a no-op. */
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.section-shell,
.site-header,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.wordmark {
  width: max-content;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -1px;
  text-decoration: none;
}
.wordmark span { color: var(--blue); }
.wordmark b { color: var(--navy); }
.wordmark em { color: var(--red); font-style: normal; }
.wordmark--small { font-size: 18px; }
.header-nav { display: flex; align-items: center; gap: 25px; }
.header-nav a {
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.header-nav a[aria-current="page"],
.header-nav a:hover { color: var(--navy); }
/* Non-colour cue so the current page is distinguishable from a hovered one. */
.header-nav a[aria-current="page"] { border-bottom-color: var(--blue); }
.site-header > .button { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 15px;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(46, 107, 255, 0.28);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  box-shadow: 0 16px 36px rgba(46, 107, 255, 0.32);
}
.button:focus-visible,
.text-link:focus-visible,
.header-nav a:focus-visible,
.wordmark:focus-visible,
.site-footer a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
.button--small {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 14px;
}
.button--light {
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  color: var(--blue);
}
.button--light:hover { background: #eef3ff; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-block: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: clamp(50px, 7vw, 104px);
  min-height: 690px;
  padding-block: 52px 86px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: var(--blue);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.7); }
.eyebrow--light > span { background: var(--yellow); }
/* On the blue .final-cta panel the translucent whites drop to 3.0:1, so the
   text there is opaque (4.5:1). On the navy panels the translucent value is fine. */
.final-cta .eyebrow--light { color: #fff; }
h1, h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}
h1 em, h2 em {
  color: var(--blue);
  font-style: normal;
}
.hero-lede {
  max-width: 520px;
  margin: 27px 0 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.62;
}
.hero-actions { display: flex; align-items: center; gap: 24px; }
.hero-note {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.hero-note i { color: #1f9c62; font-style: normal; }

.game-preview {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  isolation: isolate;
}
.game-preview::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 64%;
  aspect-ratio: 1;
  top: -15%;
  right: -12%;
  border-radius: 50%;
  background: rgba(242, 59, 54, 0.11);
  filter: blur(2px);
}
.game-preview::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 55%;
  aspect-ratio: 1;
  bottom: -16%;
  left: -10%;
  border-radius: 50%;
  background: rgba(46, 107, 255, 0.12);
}
.preview-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 15px;
}
.preview-top > div:not(.preview-timer) { display: flex; flex-direction: column; gap: 2px; }
.preview-top > div:last-child { text-align: right; }
.preview-top span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.preview-top strong { font-size: 25px; letter-spacing: -0.05em; }
.preview-top > div:first-child strong { color: var(--blue); }
.preview-top > div:last-child strong { color: var(--red); }
.preview-timer {
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 4px solid #e3e8f1;
  border-top-color: var(--red);
  border-right-color: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}
.preview-score {
  display: grid;
  grid-template-columns: 42.8fr 18.7fr 38.5fr;
  height: 9px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 99px;
}
.preview-score span { display: block; }
.preview-score__blue { background: var(--blue); }
.preview-score__empty { background: #e4e8f0; }
.preview-score__red { background: var(--red); }
.bubble-board {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 9px solid #fff;
  border-radius: 50%;
  background: #e8ecf3;
  box-shadow: inset 0 0 0 2px #d8deea, 0 15px 32px rgba(20, 37, 75, 0.13);
}
.bubble {
  position: absolute;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: inset -8px -10px 14px rgba(0, 0, 0, 0.08), inset 6px 7px 9px rgba(255, 255, 255, 0.18);
}
.bubble.blue { background: var(--blue); }
.bubble.red { background: var(--red); }
.b01 { width: 30%; height: 30%; left: -6%; bottom: 5%; }
.b02 { width: 26%; height: 26%; left: 20%; bottom: 18%; }
.b03 { width: 18%; height: 18%; left: 2%; bottom: 38%; }
.b04 { width: 22%; height: 22%; left: 36%; bottom: -5%; }
.b05 { width: 14%; height: 14%; left: 43%; bottom: 24%; }
.b06 { width: 12%; height: 12%; left: 15%; bottom: 52%; }
.b07 { width: 9%; height: 9%; left: 31%; bottom: 47%; }
.b08 { width: 8%; height: 8%; left: 30%; bottom: 7%; }
.b09 { width: 11%; height: 11%; left: -2%; bottom: 66%; }
.b10 { width: 7%; height: 7%; left: 49%; bottom: 41%; }
.b11 { width: 5%; height: 5%; left: 25%; bottom: 70%; }
.b12 { width: 5%; height: 5%; left: 8%; bottom: 57%; }
.r01 { width: 32%; height: 32%; right: -4%; top: 0%; }
.r02 { width: 24%; height: 24%; right: 23%; top: 18%; }
.r03 { width: 19%; height: 19%; right: 4%; top: 36%; }
.r04 { width: 20%; height: 20%; right: 39%; top: -2%; }
.r05 { width: 14%; height: 14%; right: 43%; top: 36%; }
.r06 { width: 12%; height: 12%; right: 18%; top: 57%; }
.r07 { width: 9%; height: 9%; right: 34%; top: 53%; }
.r08 { width: 8%; height: 8%; right: 10%; top: 66%; }
.r09 { width: 7%; height: 7%; right: 52%; top: 10%; }
.r10 { width: 6%; height: 6%; right: 4%; top: 57%; }
.r11 { width: 5%; height: 5%; right: 53%; top: 25%; }
.r12 { width: 5%; height: 5%; right: 29%; top: 6%; }
.powerup {
  position: absolute;
  z-index: 3;
  width: 10%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 189, 46, 0.18), 0 5px 12px rgba(106, 70, 0, 0.22);
  color: #fff;
  font-style: normal;
}
.p01 { left: 54%; top: 42%; }
.p02 { left: 67%; top: 71%; transform: scale(0.72); }
.preview-turn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.preview-turn span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(46, 107, 255, 0.12);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 25px 0;
  border-block: 1px solid var(--line);
}
.quick-facts > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  border-right: 1px solid var(--line);
}
.quick-facts > div:last-child { border: 0; }
.quick-facts strong {
  min-width: 50px;
  color: var(--blue);
  font-size: 31px;
  letter-spacing: -0.06em;
  text-align: right;
}
.quick-facts span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  text-transform: uppercase;
}

.rules { padding-block: 140px; }
.section-heading { max-width: 630px; }
.section-heading h2 { font-size: clamp(42px, 6vw, 72px); }
.section-heading > p:last-child {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.section-heading--wide { max-width: 730px; }
.rule-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
}
.rule-list li {
  min-width: 0;
  padding: 20px 20px 30px;
  border: 1px solid #e1e7f0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
}
.rule-visual {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 18px;
  background: #edf1f7;
}
.rule-list small {
  display: block;
  margin: 25px 0 11px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
}
.rule-list h3,
.strategy-grid h3,
.mode-card h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.04em;
}
.rule-list p,
.strategy-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.tap-visual .tap-ring {
  position: absolute;
  width: 92px;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  border: 2px solid rgba(46, 107, 255, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 30px rgba(46, 107, 255, 0.06);
}
.tap-visual .tap-dot {
  position: absolute;
  width: 22px;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 8px 15px rgba(46, 107, 255, 0.28);
  transform: translate(-50%, -50%);
}
.tap-visual i {
  position: absolute;
  left: calc(50% + 25px);
  top: calc(50% - 43px);
  color: var(--blue);
  font-size: 23px;
  font-style: normal;
  font-weight: 400;
}
.grow-visual span,
.grow-visual i,
.grow-visual b {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 7px 15px rgba(46, 107, 255, 0.2);
}
.grow-visual span { width: 38px; left: 18%; top: 54%; opacity: 0.4; }
.grow-visual i { width: 70px; left: 39%; top: 38%; opacity: 0.72; }
.grow-visual b { width: 112px; right: 8%; top: 22%; }
.win-visual span,
.win-visual i {
  position: absolute;
  bottom: 0;
  width: 50%;
}
.win-visual span {
  left: 0;
  height: 72%;
  border-radius: 70% 50% 0 0;
  background: var(--blue);
}
.win-visual i {
  right: 0;
  height: 58%;
  border-radius: 55% 70% 0 0;
  background: var(--red);
}
.win-visual b {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 24px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(20, 37, 75, 0.12);
  color: var(--blue);
  font-size: 20px;
}

.powerups {
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.powerups-inner {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 70px;
  min-height: 690px;
  padding-block: 90px;
}
.powerup-copy h2,
.modes h2,
.final-cta h2 {
  font-size: clamp(40px, 5vw, 64px);
}
.powerup-copy h2 em,
.modes h2 em {
  color: var(--yellow);
}
.powerup-copy > p:not(.eyebrow) {
  margin: 25px 0 30px;
  color: #aeb8cc;
  font-size: 17px;
  line-height: 1.65;
}
.powerup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.powerup-tags li {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce3ef;
  font-size: 11px;
  font-weight: 800;
}
.social-card {
  position: relative;
  margin: 0;
  border: 10px solid rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(2.5deg);
}
.social-card::before {
  content: "POWERUP!";
  position: absolute;
  z-index: 2;
  top: -32px;
  right: -24px;
  padding: 13px 16px;
  border: 5px solid var(--navy);
  border-radius: 12px;
  background: var(--yellow);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.22);
  color: var(--navy);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.social-card img { border-radius: 15px; }

.strategy { padding-block: 140px; }
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 66px;
}
.strategy-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 0 24px;
  min-height: 238px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}
.strategy-num {
  position: absolute;
  top: 24px;
  right: 25px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
}
.strategy-grid h3 { grid-column: 2; align-self: end; }
.strategy-grid p { grid-column: 2; }
.mini-board {
  position: relative;
  grid-row: 1 / 4;
  width: 145px;
  aspect-ratio: 1;
  align-self: center;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #e8ecf3;
  box-shadow: 0 0 0 1px #d8deea, 0 12px 24px rgba(20, 37, 75, 0.12);
}
.mini-board i,
.mini-board b,
.mini-board em {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.mini-board i { background: var(--blue); }
.mini-board b { background: var(--red); }
.mini-board em { background: var(--blue); }
.mini-board--open i { width: 54%; height: 54%; left: 8%; top: 23%; }
.mini-board--open b { width: 22%; height: 22%; right: 6%; top: 9%; }
.mini-board--open em { width: 11%; height: 11%; right: 20%; bottom: 8%; }
.mini-board--edge i { width: 50%; height: 50%; left: -14%; top: 25%; }
.mini-board--edge b { width: 34%; height: 34%; right: 3%; top: 10%; }
.mini-board--edge em { width: 20%; height: 20%; right: 12%; bottom: 2%; }
.mini-board--deny i { width: 58%; height: 58%; left: -5%; bottom: -7%; }
.mini-board--deny b { width: 45%; height: 45%; right: -4%; top: -6%; }
.mini-board--deny em { width: 17%; height: 17%; left: 50%; top: 45%; }
.mini-board--power i { width: 48%; height: 48%; left: 4%; bottom: 4%; }
.mini-board--power b {
  z-index: 2;
  width: 20%;
  height: 20%;
  left: 49%;
  top: 42%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255, 189, 46, 0.2);
  color: #fff;
}
.mini-board--power em { width: 36%; height: 36%; right: -3%; top: 4%; background: var(--red); }

.customize {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) 1.2fr;
  align-items: center;
  gap: clamp(60px, 9vw, 140px);
  padding-block: 60px 150px;
}
.device-shot {
  max-width: 400px;
  padding: 10px;
  border-radius: 39px;
  background: #1a2236;
  box-shadow: 0 35px 90px rgba(19, 38, 82, 0.25);
  transform: rotate(-2deg);
}
.device-shot__bar {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 6px 0 12px;
}
.device-shot__bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #556078;
}
.device-shot img {
  width: 100%;
  max-height: 690px;
  border-radius: 29px;
  object-fit: cover;
  object-position: top;
}
.customize-copy h2 { font-size: clamp(42px, 6vw, 72px); }
.customize-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 27px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}
.shape-list {
  display: grid;
  gap: 15px;
  margin: 0 0 23px;
  padding: 0;
  list-style: none;
}
.shape-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 13px;
}
.shape-list span { display: flex; flex-direction: column; gap: 2px; }
.shape-list b { color: var(--navy); font-size: 14px; }
.shape {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(46, 107, 255, 0.22);
}
.shape--square { border-radius: 8px; }
.shape--circle { border-radius: 50%; }
.shape--arrows {
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
}

.modes {
  padding-block: 130px;
  background: var(--navy);
  color: #fff;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 62px;
}
.mode-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}
.mode-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -7px;
}
.mode-card p {
  margin: 0 0 10px;
  color: #9eabc4;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mode-card h3 { margin-bottom: 12px; font-size: 28px; }
.mode-card div > span {
  color: #aeb8cc;
  font-size: 14px;
  line-height: 1.65;
}
.mode-card--blue { border-top: 3px solid var(--blue); }
.mode-card--red { border-top: 3px solid var(--red); }
.mode-card--violet { border-top: 3px solid var(--violet); }

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding-block: 140px;
}
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 25px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 850;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span {
  color: var(--blue);
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p {
  max-width: 620px;
  margin: -8px 45px 26px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.content-hub { padding-block: 30px 140px; }
.content-hub__head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 50px;
}
.content-hub__head h2 {
  max-width: 720px;
  font-size: clamp(42px, 6vw, 70px);
}
.content-hub__head > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.content-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.guide-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(19, 38, 82, 0.12);
}
.guide-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
.guide-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.guide-card > div { padding: 23px; }
.guide-card small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.guide-card h3 {
  margin: 10px 0;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.guide-card p {
  min-height: 64px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.guide-card div > span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}

.final-cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  margin-bottom: 30px;
  padding: 65px clamp(35px, 7vw, 90px);
  overflow: hidden;
  border-radius: 36px;
  background: var(--blue);
  color: #fff;
}
.final-cta > div:first-child { position: relative; z-index: 2; }
/* var(--yellow) is only 2.70:1 on the blue panel — below even the 3:1 large-text
   threshold. This lighter tint reaches 3.60:1 and keeps the warm accent. */
.final-cta h2 em { color: #ffe3a8; }
.final-cta p:not(.eyebrow) {
  margin: 22px 0 28px;
  color: #fff;
  font-size: 18px;
}
.cta-orbit {
  position: absolute;
  width: 500px;
  aspect-ratio: 1;
  right: -20px;
  top: 12px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.05), 0 0 0 120px rgba(255, 255, 255, 0.03);
}
.cta-orbit span,
.cta-orbit i,
.cta-orbit b,
.cta-orbit em {
  position: absolute;
  display: block;
  border: 6px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset -12px -12px 20px rgba(0, 0, 0, 0.08);
}
.cta-orbit span { width: 44%; height: 44%; right: 4%; top: 6%; }
.cta-orbit i { width: 29%; height: 29%; left: 10%; bottom: 9%; background: #fff; }
.cta-orbit b { width: 19%; height: 19%; left: 24%; top: 7%; background: var(--yellow); }
.cta-orbit em { width: 12%; height: 12%; right: 22%; bottom: 17%; background: var(--navy); }

.site-footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
.site-footer p {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 20px;
}
/* min-height keeps the links at the 24px minimum target size (WCAG 2.5.8). */
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
.site-footer nav a:hover { color: var(--navy); }

@media (max-width: 900px) {
  /* Keep the guide nav reachable on mobile — it used to be display:none, which
     left the footer as the only way to move between the four pages. */
  .site-header {
    min-height: 0;
    grid-template-columns: 1fr auto;
    row-gap: 6px;
    padding-block: 14px 0;
  }
  /* Explicit placement — without it the full-width nav on row 2 pushes the
     "Play now" CTA onto a third row and the header triples in height. */
  .site-header > .wordmark { grid-area: 1 / 1; }
  .site-header > .button { grid-area: 1 / 2; }
  .header-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-inline: -4px;
    padding: 0 4px;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    border-top: 1px solid var(--line);
  }
  .header-nav::-webkit-scrollbar { display: none; }
  .header-nav a { flex: 0 0 auto; padding-block: 11px; }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 60px 90px;
  }
  .hero-copy { max-width: 680px; }
  .game-preview { width: min(620px, 100%); justify-self: center; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .quick-facts > div:nth-child(2) { border-right: 0; }
  .quick-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .rule-list { grid-template-columns: 1fr; }
  .rule-list li {
    display: grid;
    grid-template-columns: minmax(230px, 0.8fr) 1.2fr;
    align-items: center;
    gap: 34px;
  }
  .rule-list small { margin-top: 0; }
  .powerups-inner { grid-template-columns: 1fr; padding-block: 110px; }
  .social-card { max-width: 680px; }
  .strategy-grid { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 260px; }
  .faq { grid-template-columns: 1fr; gap: 55px; }
  .content-hub__head { grid-template-columns: 1fr; align-items: start; gap: 25px; }
  .content-hub__grid { grid-template-columns: 1fr 1fr; }
  .guide-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 9px); }
  .cta-orbit { right: -190px; opacity: 0.68; }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header,
  .site-footer,
  .quick-facts {
    width: min(100% - 32px, 1180px);
  }
  .site-header { min-height: 74px; }
  .site-header .button span { display: none; }
  .button--small { min-height: 42px; padding-inline: 15px; }
  .hero { gap: 52px; padding-block: 45px 72px; }
  h1 { font-size: clamp(49px, 16vw, 74px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-actions .button { width: 100%; }
  .game-preview { padding: 16px; border-radius: 28px; transform: none; }
  .preview-top strong { font-size: 20px; }
  .preview-timer { width: 42px; font-size: 14px; }
  .quick-facts strong { min-width: 38px; font-size: 26px; }
  .quick-facts span { font-size: 9px; }
  .quick-facts > div { justify-content: flex-start; padding-left: 12px; }
  .rules, .strategy, .faq { padding-block: 100px; }
  .content-hub { padding-block: 10px 100px; }
  .section-heading h2,
  .customize-copy h2 { font-size: 48px; }
  .section-heading > p:last-child { font-size: 16px; }
  .rule-list { margin-top: 45px; }
  .rule-list li { display: block; padding: 14px 14px 25px; }
  .rule-visual { height: 190px; }
  .rule-list small { margin-top: 22px; }
  .powerups-inner { gap: 50px; padding-block: 92px; }
  .powerup-copy h2, .modes h2, .final-cta h2 { font-size: 44px; }
  .social-card { border-width: 5px; transform: none; }
  .social-card::before { top: -22px; right: -8px; border-width: 4px; font-size: 10px; }
  .strategy-grid article {
    grid-template-columns: 100px 1fr;
    min-height: 200px;
    padding: 20px;
    gap: 0 18px;
  }
  .mini-board { width: 96px; }
  .strategy-grid h3 { font-size: 19px; }
  .strategy-grid p { font-size: 12px; }
  .customize { grid-template-columns: 1fr; gap: 70px; padding-block: 40px 110px; }
  .device-shot { width: min(80vw, 360px); justify-self: center; }
  .modes { padding-block: 100px; }
  .mode-grid { margin-top: 45px; }
  .mode-card { min-height: 290px; }
  .content-hub__grid { grid-template-columns: 1fr; }
  .guide-card:last-child { grid-column: auto; max-width: none; }
  .guide-card p { min-height: 0; }
  .final-cta {
    min-height: 600px;
    align-items: flex-start;
    padding: 55px 30px;
    border-radius: 28px;
  }
  .cta-orbit { width: 390px; right: -130px; top: auto; bottom: -150px; }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 40px;
    text-align: center;
  }
  .site-footer .wordmark { justify-self: center; }
  .site-footer p { margin: 0; }
  .site-footer nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; }
}
