/* Colours follow AJQ's site (ajq.com.au): navy #162238, brand blue #81c1eb, mid blue #2a7fc0, deep blue #075aae,
   pale backgrounds #f4f8fb / #eef3f5, text grey #54595f, Roboto. Light by default; dark follows the device unless the
   header switch has set data-theme on <html> (theme.js). */
:root {
  --bg: #f4f8fb;
  --panel: #ffffff;
  --ink: #162238;
  --muted: #54595f;
  --line: #e3eaee;
  --accent: #2a7fc0;
  --accent-ink: #ffffff;
  --accent-strong: #075aae;
  --hero: #162238;
  --hero-ink: #ffffff;
  --hero-muted: #b9cbe0;
  --eyebrow: #81c1eb;
  --ghost-line: #3d5274;
  --c1: #2a7fc0;
  --c2: #d97a1e;
  --c3: #23a455;
  --c4: #4054b2;
  --grid: #e3edf5;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1322;
    --panel: #121d31;
    --ink: #eef3f5;
    --muted: #a9b6c8;
    --line: #22314a;
    --accent: #81c1eb;
    --accent-ink: #0b1626;
    --accent-strong: #a9d5f2;
    --hero: #0a1120;
    --hero-ink: #eef3f5;
    --hero-muted: #a9b6c8;
    --eyebrow: #81c1eb;
    --ghost-line: #34486a;
    --c1: #81c1eb;
    --c2: #f0a35e;
    --c3: #4cc38a;
    --c4: #9aa6f2;
    --grid: #1c2940;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1322;
  --panel: #121d31;
  --ink: #eef3f5;
  --muted: #a9b6c8;
  --line: #22314a;
  --accent: #81c1eb;
  --accent-ink: #0b1626;
  --accent-strong: #a9d5f2;
  --hero: #0a1120;
  --hero-ink: #eef3f5;
  --hero-muted: #a9b6c8;
  --eyebrow: #81c1eb;
  --ghost-line: #34486a;
  --c1: #81c1eb;
  --c2: #f0a35e;
  --c3: #4cc38a;
  --c4: #9aa6f2;
  --grid: #1c2940;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--hero) 92%, transparent); backdrop-filter: blur(8px); }
.top .bar { height: 60px; }
.brand { color: var(--hero-ink); font-weight: 800; font-size: 19px; text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: .2px; }
.mark { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, #81c1eb, #075aae); display: inline-block; }
nav { display: flex; align-items: center; gap: 18px; }
nav a { color: var(--hero-muted); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--hero-ink); }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; }
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 7px 14px; font-size: 14px; color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--hero-ink); border-color: var(--ghost-line); }

.hero { background: var(--hero); color: var(--hero-ink); padding: 72px 0 80px; }
.eyebrow { color: var(--eyebrow); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.1; margin: 0 0 20px; max-width: 18ch; letter-spacing: -.5px; }
.lede { color: var(--hero-muted); font-size: 18px; max-width: 62ch; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.facts { padding: 34px 0 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.num { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.3px; }
.lbl { color: var(--muted); font-size: 14px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

section h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 8px; letter-spacing: -.3px; }
.sub { color: var(--muted); max-width: 70ch; margin: 0 0 26px; }
.how, .live, .last { padding: 64px 0; }
.how { border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; counter-increment: s; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: 14px; right: 16px; color: var(--muted); font-weight: 700; font-size: 13px; }
.steps h3, .pillars h3 { margin: 0 0 6px; font-size: 17px; }
.steps p, .pillars p { margin: 0; color: var(--muted); font-size: 15px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }

.live { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.updated { color: var(--muted); font-size: 14px; margin: -10px 0 18px; }
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.game { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--bg); min-width: 0; }
.game h3 { margin: 0; font-size: 18px; }
.game .blurb { color: var(--muted); font-size: 14px; margin: 2px 0 12px; }
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: var(--muted); font-size: 11px; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; }
.chart .scripted { stroke: var(--muted); stroke-dasharray: 5 4; stroke-width: 1.5; fill: none; }
.chart .series { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.legend { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 8px; align-items: start; font-size: 14px; }
.swatch { width: 12px; height: 12px; border-radius: 3px; margin-top: 4px; }
.legend .rule { display: block; color: var(--muted); font-size: 13px; }
.legend .now { font-weight: 700; white-space: nowrap; }
.legend .now small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; text-align: right; }

.last p { max-width: 70ch; color: var(--muted); margin: 0 0 22px; }
.foot { padding: 26px 0 40px; color: var(--muted); font-size: 13px; }
.ref { color: var(--muted); }

@media (max-width: 900px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 56px; }
  .steps { grid-template-columns: 1fr; }
  .games { grid-template-columns: 1fr; }
}

.versus { padding: 56px 0 8px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.col { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.col.strong { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.col h2 { margin: 0 0 8px; }
.col p { margin: 0; color: var(--muted); }
.tag { text-transform: uppercase; letter-spacing: 1.2px; font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 6px !important; }
.col.strong .tag { color: var(--accent); }
@media (max-width: 700px) { .two { grid-template-columns: 1fr; } }

.proving { margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 20px 22px; }
.proving h3 { margin: 0 0 6px; font-size: 17px; }
.proving p { margin: 0; color: var(--muted); max-width: 80ch; }
.btn.ghost.dark { color: var(--ink); border-color: var(--line); }
.foot a { color: var(--muted); }

.theme { background: transparent; border: 1px solid var(--ghost-line); color: var(--hero-muted); border-radius: 8px; width: 34px; height: 34px;
  display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.theme:hover { color: var(--hero-ink); }
.theme svg { width: 17px; height: 17px; }
.theme .sun { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; }
:root[data-theme="dark"] .theme .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun { display: block; }
  :root:not([data-theme="light"]) .theme .moon { display: none; }
}
