:root {
  --ink: #17212b;
  --muted: #5a6472;
  --paper: #fffaf0;
  --white: #ffffff;
  --coral: #ff5964;
  --teal: #18a6a6;
  --yellow: #ffd166;
  --blue: #3478f6;
  --green: #48b56a;
  --line: #e6dccb;
  --soft-teal: #e8f8f5;
  --soft-blue: #eef4ff;
  --soft-yellow: #fff3d8;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.14);
  --hard-shadow: 0 5px 0 var(--ink);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px);
  background-size: 42px 42px;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p,
li,
a,
button,
span,
summary {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(23, 33, 43, 0.1);
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  font-weight: 900;
  line-height: 1.05;
  text-decoration: none;
}

.brand span:last-child {
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 3px solid var(--ink);
  border-radius: 45% 55% 48% 52%;
  background:
    radial-gradient(circle at 35% 36%, var(--white) 0 3px, transparent 4px),
    radial-gradient(circle at 65% 36%, var(--white) 0 3px, transparent 4px),
    linear-gradient(135deg, var(--yellow), var(--coral));
  box-shadow: inset -4px -5px 0 rgba(23, 33, 43, 0.12);
}

.primary-nav,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.primary-nav a,
.nav-links a,
.header-cta,
.button,
.icon-button,
.cookie-notice button {
  min-height: 42px;
  border-radius: var(--radius);
  text-decoration: none;
}

.primary-nav a,
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 800;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"],
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(24, 166, 166, 0.12);
}

.header-cta,
.button,
.icon-button,
.cookie-notice button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-cta {
  padding: 8px 16px;
  background: var(--yellow);
}

.button {
  width: fit-content;
  padding: 11px 18px;
}

.button.primary {
  background: var(--coral);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
}

.button.small {
  min-height: 38px;
  margin-top: 16px;
  padding: 8px 14px;
  background: var(--yellow);
}

.header-cta:hover,
.button:hover,
.icon-button:hover,
.cookie-notice button:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}

.section-band {
  padding: 74px 32px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 69px);
  padding-top: 42px;
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.72), rgba(255, 255, 255, 0) 42%),
    linear-gradient(315deg, rgba(24, 166, 166, 0.2), rgba(255, 255, 255, 0) 45%);
}

.hero-copy,
.section-heading,
.answer-strip,
.page-grid,
.content-layout,
.narrow-content,
.code-panel,
.route-board,
.planner,
.strategy-grid,
.upgrade-lanes,
.world-track,
.faq-list,
.keyword-cloud,
.article-grid,
.visual-steps,
.video-grid {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.hero-copy {
  margin-right: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead,
.section-heading p,
.page-hero p,
.answer-strip p,
.topic-card p,
.content-card p,
.aside-card p,
.strategy-card p,
.route-step p,
.world-track p,
.faq-list p,
.lane p,
.legal-copy li {
  color: var(--muted);
}

.hero-lead {
  max-width: 660px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-art {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 0;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 7px 0 var(--ink);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.72), rgba(255, 255, 255, 0) 44%),
    var(--soft-blue);
}

.page-hero > * {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.page-hero p:last-child {
  max-width: 760px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.intro-band {
  background: var(--ink);
  color: var(--white);
}

.intro-band .eyebrow,
.intro-band .section-heading p {
  color: var(--yellow);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 760px;
  margin-top: 12px;
  font-size: 1.08rem;
}

.answer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.answer-strip article,
.topic-card,
.strategy-card,
.route-step,
.world-track article {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--hard-shadow);
}

.answer-strip article {
  min-height: 162px;
  padding: 22px;
  color: var(--ink);
}

.answer-strip span,
.topic-card span {
  display: block;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.answer-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 1.45rem;
}

.answer-strip p,
.topic-card p {
  margin-top: 10px;
}

.page-grid,
.strategy-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-grid,
.value-board,
.gamepass-grid,
.update-list {
  display: grid;
  gap: 16px;
}

.plan-grid,
.value-board {
  grid-template-columns: repeat(3, 1fr);
}

.gamepass-grid,
.update-list {
  grid-template-columns: repeat(2, 1fr);
}

.topic-card {
  min-height: 210px;
  padding: 22px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.topic-card:hover,
.topic-card:focus-visible,
.article-card:hover,
.article-card:focus-visible,
.video-card:hover,
.video-card:focus-visible {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}

.topic-card h3 {
  margin-top: 10px;
}

.article-card,
.video-card {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--hard-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card.featured {
  padding: 0;
  overflow: hidden;
}

.article-card img,
.guide-figure img {
  width: 100%;
  height: auto;
}

.article-card.featured img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-card.featured span,
.article-card.featured h3,
.article-card.featured p {
  margin-inline: 20px;
}

.article-card.featured p {
  margin-bottom: 22px;
}

.article-card span,
.video-card span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-card p,
.video-card p,
.guide-figure figcaption,
.visual-steps p {
  color: var(--muted);
}

.guide-figure {
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--hard-shadow);
}

.guide-figure figcaption {
  padding: 14px 18px;
  font-weight: 800;
}

.visual-steps,
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.visual-steps article {
  min-height: 170px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--hard-shadow);
}

.visual-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  margin-bottom: 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  font-weight: 900;
}

.trust-band {
  background: var(--soft-teal);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(1120px, 100%);
  margin-inline: auto;
}

.policy-links a,
.aside-card > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(23, 33, 43, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.policy-links a:hover,
.policy-links a:focus-visible,
.aside-card > a:not(.button):hover,
.aside-card > a:not(.button):focus-visible {
  border-color: var(--teal);
  background: var(--white);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 34px;
  align-items: start;
}

.narrow-content {
  max-width: 860px;
}

.content-card {
  min-width: 0;
}

.content-card > * + * {
  margin-top: 18px;
}

.content-card > h2:not(:first-child),
.legal-copy > h2:not(:first-child) {
  margin-top: 34px;
}

.content-card a {
  color: var(--blue);
  font-weight: 800;
}

.aside-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--hard-shadow);
}

.aside-card .button {
  color: var(--ink);
}

.last-checked {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: var(--soft-teal);
  color: #16733d;
  font-weight: 900;
}

.code-table {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--hard-shadow);
}

.code-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(160px, 1.3fr) minmax(110px, 0.9fr) minmax(88px, 0.75fr);
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.code-row:first-child {
  border-top: 0;
}

.code-head {
  min-height: 48px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.code-row code {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f3f7ff;
  color: var(--blue);
  font-weight: 900;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(72, 181, 106, 0.16);
  color: #16733d;
  font-weight: 900;
}

.icon-button {
  min-width: 82px;
  padding: 8px 12px;
  background: var(--yellow);
  color: var(--ink);
}

.steps-list,
.plain-list {
  padding-left: 22px;
  margin-bottom: 0;
}

.steps-list li + li,
.plain-list li + li {
  margin-top: 9px;
}

.route-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.route-step {
  min-height: 220px;
  padding: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 38px;
  margin-bottom: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  font-weight: 900;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checklist label {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
}

.checklist input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.strategy-card {
  min-height: 184px;
  padding: 22px;
}

.strategy-card:nth-child(1) {
  border-top: 8px solid var(--green);
}

.strategy-card:nth-child(2) {
  border-top: 8px solid var(--yellow);
}

.strategy-card:nth-child(3) {
  border-top: 8px solid var(--coral);
}

.upgrade-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lane {
  min-height: 134px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}

.lane span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
}

.lane.high span {
  background: var(--green);
}

.lane.medium span {
  background: var(--blue);
}

.lane.low span {
  background: var(--coral);
}

.world-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.world-track article {
  min-height: 170px;
  padding: 22px;
}

.plan-grid article,
.value-board article,
.gamepass-grid article,
.update-list article {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--hard-shadow);
}

.plan-grid article,
.value-board article,
.gamepass-grid article {
  min-height: 170px;
  padding: 20px;
}

.update-list article {
  padding: 20px;
}

.plan-grid span,
.value-board span,
.update-list span {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft-teal);
  color: #16733d;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-grid h3,
.value-board h3,
.update-list h3 {
  margin-top: 12px;
}

.decision-table {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--hard-shadow);
}

.decision-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(130px, 0.7fr) minmax(220px, 1.35fr);
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.decision-row:first-child {
  border-top: 0;
}

.decision-head {
  min-height: 48px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.decision-row strong {
  color: var(--teal);
}

.mistake-list,
.source-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.mistake-list li,
.source-list li {
  padding: 12px 14px;
  border-left: 5px solid var(--coral);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.source-list li {
  border-left-color: var(--teal);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 4px 0 var(--ink);
}

.faq-list summary {
  min-height: 58px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
}

.legal-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  max-width: 760px;
  margin-top: 6px;
  color: #d7e0ea;
}

.site-footer a {
  font-weight: 900;
}

.footer-brand {
  display: inline-flex;
  text-decoration: none;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  width: min(720px, calc(100vw - 36px));
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--hard-shadow);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  color: var(--muted);
}

.cookie-notice a {
  color: var(--blue);
  font-weight: 900;
}

.cookie-notice button {
  padding: 8px 14px;
  background: var(--yellow);
  color: var(--ink);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  max-width: 320px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  box-shadow: var(--hard-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav,
  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-hero,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .answer-strip,
  .page-grid,
  .article-grid,
  .strategy-grid,
  .plan-grid,
  .value-board,
  .gamepass-grid,
  .update-list,
  .upgrade-lanes,
  .world-track,
  .visual-steps,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .route-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header,
  .section-band,
  .site-footer {
    padding-inline: 18px;
  }

  .site-header {
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 190px;
  }

  .home-hero {
    gap: 24px;
    padding-top: 28px;
  }

  .hero-art {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .code-row,
  .decision-row,
  .code-head {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .code-head,
  .decision-head {
    display: none;
  }

  .route-board,
  .checklist {
    grid-template-columns: 1fr;
  }

  .cookie-notice {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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