:root {
  --blue: #2447ff;
  --blue-dark: #10217c;
  --acid: #d7ff36;
  --sky: #eaf2ff;
  --ice: #f7faff;
  --white: #ffffff;
  --ink: #11162b;
  --muted: #59617a;
  --line: #b9c7e6;
  --coral: #ff6857;
  --rail: 252px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--ice);
  font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, select { font: inherit; }
.skip {
  position: fixed; top: 10px; left: calc(var(--rail) + 10px); z-index: 1000;
  transform: translateY(-180%); background: var(--acid); color: var(--ink);
  padding: .75rem 1rem; border: 2px solid var(--ink); border-radius: 4px; font-weight: 800;
}
.skip:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 56px), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; color: var(--blue);
  font-family: "Courier New", monospace; font-size: .78rem; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: "//"; color: var(--coral); }

.notice {
  position: fixed; left: 0; bottom: 0; z-index: 31; width: var(--rail);
  background: var(--acid); color: var(--ink); border-top: 2px solid var(--ink);
  padding: 1rem 1.25rem; text-align: left; font: 800 .72rem/1.4 "Courier New", monospace;
}
.site-header {
  position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--rail);
  background: var(--white); border-right: 2px solid var(--ink);
}
.nav {
  width: 100%; min-height: 100%; padding: 1.5rem 1.25rem 7rem;
  display: flex; flex-direction: column; align-items: stretch; gap: 2.6rem;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: .8rem; }
.brand-mark {
  width: 48px; aspect-ratio: 1; flex: 0 0 auto; background: var(--blue); color: white;
  display: grid; place-items: center; font-weight: 950; font-size: .74rem; letter-spacing: -.04em;
  transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--acid);
}
.brand-copy strong { display: block; font-size: .94rem; letter-spacing: .025em; text-transform: uppercase; }
.brand-copy span {
  display: block; color: var(--muted); margin-top: .25rem; font: 700 .66rem/1.25 "Courier New", monospace;
  text-transform: uppercase; letter-spacing: .06em;
}
.nav-links { display: flex; flex-direction: column; align-items: stretch; gap: .2rem; }
.nav-links > a {
  position: relative; padding: .65rem .7rem; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line); font-weight: 850; font-size: .9rem;
}
.nav-links > a::after { content: "↗"; position: absolute; right: .65rem; color: var(--blue); }
.nav-links > a:hover, .nav-links > a:focus-visible { background: var(--sky); color: var(--blue-dark); }
.nav-links > .nav-register {
  margin-top: .75rem; padding: .72rem .8rem; background: var(--acid); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 4px; text-align: center; box-shadow: 3px 3px 0 var(--ink);
}
.nav-links > .nav-register::after { content: none; }
.nav-links > .nav-register:hover, .nav-links > .nav-register:focus-visible { background: var(--coral); color: var(--ink); }
.region {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: 1rem;
  border: 2px solid var(--ink); border-radius: 4px; overflow: hidden;
}
.region a { padding: .45rem; text-align: center; text-decoration: none; font: 900 .72rem "Courier New", monospace; }
.region a + a { border-left: 2px solid var(--ink); }
.region a[aria-current="page"] { background: var(--ink); color: white; }
.menu-toggle { display: none; }

main, .site-footer { margin-left: var(--rail); }
.hero {
  min-height: 720px; display: grid; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--sky) 0 66%, #cbdcff 66% 100%);
  border-bottom: 2px solid var(--ink);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: clamp(3rem, 7vw, 7rem); align-items: center; padding-block: 5rem;
}
.hero-content { max-width: 690px; }
h1, h2, h3 { margin: 0; line-height: 1.02; font-family: Arial, Helvetica, sans-serif; }
h1 {
  margin-top: 1.4rem; max-width: 11ch; font-size: clamp(3.8rem, 7vw, 7.2rem);
  line-height: .9; letter-spacing: -.075em; font-weight: 950;
}
h1 em {
  display: inline; color: var(--blue); font-style: normal; text-decoration: underline;
  text-decoration-color: var(--acid); text-decoration-thickness: .16em; text-underline-offset: -.04em;
}
.hero-deck { max-width: 650px; color: #414a65; font-size: 1.16rem; margin: 1.8rem 0 2rem; }
.button-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center;
  padding: .75rem 1.15rem; text-decoration: none; border: 2px solid var(--ink);
  border-radius: 4px; font-weight: 900; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.button-primary { background: var(--acid); color: var(--ink); }
.button-secondary { background: white; color: var(--ink); }
.hero-board {
  position: relative; background: var(--blue); color: white; padding: 1.4rem;
  border: 2px solid var(--ink); border-radius: 6px; box-shadow: 14px 14px 0 var(--acid);
  transform: rotate(2deg);
}
.hero-board::before {
  content: ""; position: absolute; width: 96px; height: 96px; right: -28px; top: -30px;
  border-radius: 50%; background: var(--coral); border: 2px solid var(--ink); z-index: -1;
}
.board-top {
  display: flex; justify-content: space-between; padding-bottom: .8rem;
  border-bottom: 1px dashed rgba(255,255,255,.6); font: 800 .68rem "Courier New", monospace;
}
.board-score { display: flex; align-items: end; justify-content: space-between; padding: 1.2rem 0; }
.board-score span { font: 800 .74rem "Courier New", monospace; }
.board-score strong { color: var(--acid); font-size: 5.4rem; letter-spacing: -.08em; line-height: .8; }
.board-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.45); }
.board-grid div { padding: .9rem; min-height: 84px; }
.board-grid div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.45); }
.board-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.45); }
.board-grid span { display: block; opacity: .72; font: 800 .64rem "Courier New", monospace; }
.board-grid strong { display: block; margin-top: .35rem; font-size: 1rem; }
.hero-board p { margin: 1rem 0 0; font-size: .78rem; opacity: .82; }

.quick-nav {
  position: sticky; top: 0; z-index: 15; background: var(--ink); color: white;
  border-bottom: 2px solid var(--ink);
}
.quick-nav .wrap { display: flex; overflow-x: auto; width: 100%; }
.quick-nav a {
  flex: 1 0 auto; padding: .9rem 1rem; text-align: center; color: white; text-decoration: none;
  border-right: 1px solid #44506e; font: 800 .72rem "Courier New", monospace; text-transform: uppercase;
}
.quick-nav a:hover { background: var(--acid); color: var(--ink); }

section { scroll-margin-top: 54px; }
.section { padding: 6.5rem 0; background: var(--ice); }
.section.alt { background: var(--white); color: var(--ink); }
.section.dark-2 { background: var(--blue-dark); color: white; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 4rem; align-items: end; margin-bottom: 3rem;
}
.section h2 {
  margin-top: .9rem; max-width: 16ch; font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -.06em; font-weight: 950;
}
.section-intro { margin: 0; color: var(--muted); font-size: 1rem; border-left: 4px solid var(--acid); padding-left: 1rem; }
.dark-2 .section-intro { color: #cbd5ff; }
.lede { max-width: 820px; color: #36405f; font-size: 1.2rem; }
.dark-2 .lede { color: #d5dcff; }

.facts-grid, .feature-grid, .game-grid { display: grid; gap: 0; border: 2px solid var(--ink); }
.facts-grid { grid-template-columns: repeat(4, 1fr); margin-top: 2rem; }
.fact, .feature, .game-card { position: relative; padding: 1.5rem; background: white; }
.fact + .fact, .feature + .feature, .game-card + .game-card { border-left: 2px solid var(--ink); }
.fact span {
  display: block; color: var(--blue); font: 900 .68rem "Courier New", monospace;
  letter-spacing: .06em; text-transform: uppercase;
}
.fact strong { display: block; margin-top: .55rem; font-size: 1rem; line-height: 1.3; }
.feature-grid, .game-grid { grid-template-columns: repeat(3, 1fr); }
.feature { min-height: 255px; }
.feature:nth-child(2) { background: var(--sky); }
.feature:nth-child(3) { background: var(--acid); }
.feature .number, .game-card b { color: var(--blue); font: 900 .72rem "Courier New", monospace; letter-spacing: .08em; }
.feature h3, .game-card h3 { margin: 2rem 0 .75rem; font-size: 1.6rem; letter-spacing: -.035em; }
.feature p, .game-card p { margin: 0; color: #505a75; }
.dark-2 .game-grid { border-color: white; }
.dark-2 .game-card { background: transparent; }
.dark-2 .game-card + .game-card { border-color: white; }
.dark-2 .game-card:nth-child(2) { background: var(--blue); }
.dark-2 .game-card:nth-child(3) { background: var(--coral); color: var(--ink); }
.dark-2 .game-card b { color: var(--acid); }
.dark-2 .game-card:nth-child(3) b { color: var(--ink); }
.dark-2 .game-card p { color: #dce2ff; }
.dark-2 .game-card:nth-child(3) p { color: var(--ink); }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: stretch; }
.ticket {
  background: var(--acid); color: var(--ink); padding: 2rem; border: 2px solid var(--ink);
  border-radius: 4px; box-shadow: 8px 8px 0 var(--blue);
}
.ticket::before { content: "TERMS CHECK"; display: block; color: var(--blue); font: 900 .7rem "Courier New", monospace; margin-bottom: 2rem; }
.ticket h3 { max-width: 12ch; font-size: 2.2rem; letter-spacing: -.045em; }
.ticket ul { padding-left: 1.2rem; }
.calculator { border: 2px solid var(--ink); border-radius: 4px; padding: 2rem; background: var(--sky); }
.calculator h3 { margin-top: .8rem; font-size: 2rem; letter-spacing: -.04em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.2rem; }
.field label { display: block; margin-bottom: .35rem; font: 900 .72rem "Courier New", monospace; text-transform: uppercase; }
.field input, .field select {
  width: 100%; min-height: 48px; background: white; border: 2px solid var(--ink);
  border-radius: 2px; padding: .6rem .7rem;
}
.calc-result { margin-top: 1rem; padding: 1rem; background: var(--blue); color: white; border: 2px solid var(--ink); }
.calc-result span { font: 800 .7rem "Courier New", monospace; text-transform: uppercase; }
.calc-result strong { display: block; color: var(--acid); font-size: 2rem; }

.table-wrap { overflow-x: auto; border: 2px solid var(--ink); background: white; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { text-align: left; padding: 1rem; border-bottom: 1px solid var(--line); }
th { background: var(--blue); color: white; font: 900 .68rem "Courier New", monospace; text-transform: uppercase; }
td { color: #323b57; }
tbody tr:nth-child(even) { background: var(--sky); }
tr:last-child td { border-bottom: 0; }

.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.check {
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.3rem;
  background: white; color: var(--ink); border: 2px solid var(--ink); border-radius: 4px;
}
.check:nth-child(2), .check:nth-child(3) { background: var(--sky); }
.check i {
  width: 44px; height: 44px; display: grid; place-items: center; font: 900 .85rem "Courier New", monospace;
  font-style: normal; background: var(--acid); border: 2px solid var(--ink);
}
.check h3 { margin: .15rem 0 .35rem; font-size: 1.2rem; letter-spacing: -.025em; }
.check p { margin: 0; color: #515a72; }
.callout {
  margin-top: 2rem; padding: 1.3rem 1.5rem; background: var(--sky);
  border: 2px solid var(--blue); border-left-width: 10px;
}
.callout strong { color: var(--blue-dark); }
.dark-2 .callout { background: rgba(255,255,255,.08); border-color: var(--acid); color: white; }
.dark-2 .callout strong { color: var(--acid); }

.faq { max-width: 980px; border: 2px solid var(--ink); background: white; }
.faq details + details { border-top: 2px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 4rem 1.2rem 1.25rem;
  font-size: 1.15rem; font-weight: 900; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 0; width: 56px; height: 100%;
  display: grid; place-items: center; background: var(--acid); border-left: 2px solid var(--ink); font-size: 1.7rem;
}
.faq details[open] summary { background: var(--sky); }
.faq details[open] summary::after { content: "−"; background: var(--coral); }
.faq p { color: var(--muted); margin: 0; padding: 0 5rem 1.35rem 1.25rem; }
.sources { margin-top: 3rem; padding: 1.3rem; border: 1px dashed var(--blue); background: var(--sky); }
.sources h3 { font: 900 .76rem "Courier New", monospace; text-transform: uppercase; }
.sources p { color: var(--muted); margin-bottom: 0; font-size: .88rem; }

.conversion { margin-left: var(--rail); padding: 2.25rem 0; background: var(--blue); color: white; border-top: 2px solid var(--ink); }
.conversion-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.conversion .eyebrow { color: var(--acid); }
.conversion h2 { margin-top: .35rem; font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: -.05em; }
.site-footer { padding: 4rem 0; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.footer-grid h2 { font-size: 1.7rem; }
.footer-grid p { color: #aeb7d5; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.footer-links a { color: white; text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .2rem; }
.legal { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid #3e4766; color: #98a3c5; font-size: .8rem; }

@media (max-width: 1080px) {
  :root { --rail: 0px; }
  .notice { position: static; width: auto; border: 0; border-bottom: 2px solid var(--ink); text-align: center; }
  .site-header { position: sticky; top: 0; width: auto; height: auto; border-right: 0; border-bottom: 2px solid var(--ink); }
  .nav { min-height: 74px; padding: .7rem 1rem; flex-direction: row; align-items: center; justify-content: space-between; }
  .nav-links {
    display: none; position: absolute; inset: 74px 0 auto 0; padding: 1rem;
    background: white; border-bottom: 2px solid var(--ink);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: .7rem; }
  .region { max-width: 180px; }
  .menu-toggle {
    display: inline-flex; background: var(--acid); border: 2px solid var(--ink); border-radius: 3px;
    padding: .55rem .75rem; font-weight: 900;
  }
  main, .conversion, .site-footer { margin-left: 0; }
  .quick-nav { top: 74px; }
}
@media (max-width: 820px) {
  .hero-grid, .section-head { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-board { max-width: 560px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; border-top: 2px solid var(--ink); }
  .fact:nth-child(4) { border-top: 2px solid var(--ink); }
  .feature-grid, .game-grid { grid-template-columns: 1fr; }
  .feature + .feature, .game-card + .game-card { border-left: 0; border-top: 2px solid var(--ink); }
  .split, .footer-grid { grid-template-columns: 1fr; }
  .conversion-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .brand-copy span { display: none; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 4rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .hero-board { margin-right: .6rem; box-shadow: 8px 8px 0 var(--acid); }
  .board-score strong { font-size: 4.3rem; }
  .section { padding: 4.5rem 0; }
  .facts-grid, .fields, .checklist { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 2px solid var(--ink); }
  .quick-nav { top: 73px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
