/* ==========================================================================
   Online Pokies Australia
   Design language: dark broadcast scoreboard. Cool graphite ground, one
   electric-blue accent, Geist + Geist Mono, soft 14px geometry, pill CTAs.

   Shape system (locked):  panels 14px  ·  small elements 10px  ·  buttons pill
   Accent (locked):        --accent  everywhere, no second hue anywhere
   Theme:                  dark by default, light variant under
                           prefers-color-scheme: light, same accent, same shapes
   Width rule:             .shell caps the page. Headings and text NEVER carry
                           their own max-width; they fill their column.
   ========================================================================== */

@import url('/assets/fonts/fonts.css');

:root {
  color-scheme: dark;

  --bg:        #0b0c0e;
  --bg-1:      #111316;
  --bg-2:      #171a1e;
  --bg-3:      #1f2429;

  --line:      rgba(255, 255, 255, 0.085);
  --line-2:    rgba(255, 255, 255, 0.17);

  --text:      #eef0f3;
  --text-2:    #99a2ac;
  --text-3:    #6a737d;

  --accent:      #2f6ae8;   /* fills. white text on this = 4.87:1 */
  --accent-hi:   #6f9dff;   /* accent as text on dark = 8.1:1 */
  --accent-soft: rgba(47, 106, 232, 0.14);
  --on-accent:   #ffffff;

  --plate:     #f2f4f7;     /* neutral surface for operator logos */

  --shadow:    0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --shadow-sm: 0 8px 24px -16px rgba(0, 0, 0, 0.8);

  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r:      14px;
  --r-sm:   10px;
  --r-pill: 999px;

  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --nav-h: 68px;
  --section-space: 60px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;

    --bg:        #f7f8fa;
    --bg-1:      #ffffff;
    --bg-2:      #f1f3f6;
    --bg-3:      #e7eaef;

    --line:      rgba(11, 12, 14, 0.10);
    --line-2:    rgba(11, 12, 14, 0.22);

    --text:      #10131a;
    --text-2:    #4d5661;
    --text-3:    #737d88;

    --accent:      #2258d6;   /* white text = 6.2:1 */
    --accent-hi:   #1d4ec2;   /* accent as text on light = 6.9:1 */
    --accent-soft: rgba(34, 88, 214, 0.09);
    --on-accent:   #ffffff;

    --plate:     #ffffff;

    --shadow:    0 24px 60px -30px rgba(16, 19, 26, 0.28);
    --shadow-sm: 0 8px 24px -16px rgba(16, 19, 26, 0.24);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
}

body {
  margin: 0;
  padding-top: var(--nav-h);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--text-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg.icon { display: block; flex: 0 0 auto; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  color: var(--text);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); letter-spacing: -0.025em; }
h4 { font-size: 1.0625rem; letter-spacing: -0.015em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }
em { font-style: italic; }

/* Page width cap lives here and only here. Text elements never cap themselves. */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 0.35rem 0.8rem 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-hi);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede { font-size: 1.1875rem; line-height: 1.65; color: var(--text-2); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              transform 0.18s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }

.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hi); color: var(--on-accent); }
@media (prefers-color-scheme: light) {
  .btn--primary:hover { background: #1b48b4; }
}

.btn--solid { background: var(--text); color: var(--bg); }
.btn--solid:hover { background: var(--text); opacity: 0.88; }

.btn--line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--text); background: var(--bg-2); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   HEADER  ·  full-bleed, single line, 68px
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header.is-scrolled { background: var(--bg-1); }
}

/* Full viewport width. No shell cap on the header bar. */
.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
}
.brand-name span { color: var(--text-3); font-weight: 500; }

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0; padding: 0;
  list-style: none;
}
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-list > li > a:hover { color: var(--text); background: var(--bg-2); }
.nav-list > li > a.active { color: var(--text); }
.nav-list > li > a.active::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-hi);
  margin-left: 0.15rem;
}
.nav-caret { transition: transform 0.25s var(--ease); opacity: 0.6; }

.header-cta { flex: 0 0 auto; margin-left: 0.4rem; }

/* --- Reviews submenu --- */
.has-menu { position: relative; }
.has-menu::after {                         /* transparent hover bridge */
  content: '';
  position: absolute;
  top: 100%; left: -0.75rem; right: -0.75rem;
  height: 0.9rem;
}
.submenu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 460px;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.has-menu:hover .submenu,
.has-menu:focus-within .submenu,
.has-menu.is-open .submenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.has-menu:hover .nav-caret,
.has-menu.is-open .nav-caret { transform: rotate(180deg); }

.submenu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.6rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.18s var(--ease);
}
.submenu a:hover { background: var(--bg-2); }
.submenu b { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.submenu i { font-style: normal; font-family: var(--mono); font-size: 0.75rem; color: var(--accent-hi); margin-left: auto; }

.plate {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--plate);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.plate img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.plate--sm { width: 40px;  height: 40px;  padding: 5px; }
.plate--md { width: 72px;  height: 72px;  padding: 9px; }
.plate--lg { width: 100px; height: 100px; padding: 13px; }

.burger {
  display: none;
  width: 40px; height: 40px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--text);
}
.burger .icon-close { display: none; }
.burger.is-open .icon-open { display: none; }
.burger.is-open .icon-close { display: block; }

/* ==========================================================================
   HERO  ·  asymmetric split
   ========================================================================== */
.hero {
  position: relative;
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {                            /* off-canvas depth, not a glow */
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 70vw; height: 120%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.15rem, 3.5vw, 3.4rem);
  margin-bottom: 1.1rem;
}
.hero .lede { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(11, 12, 14, 0.5));
}
@media (prefers-color-scheme: light) {
  .hero-media::after { background: linear-gradient(200deg, transparent 55%, rgba(16, 19, 26, 0.22)); }
}

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */
.section { padding-block: var(--section-space); }
.section--flush { padding-block: 0 var(--section-space); }
.section-title { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p { color: var(--text-2); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ==========================================================================
   RANKING  ·  #1 feature panel + asymmetric grid for the rest
   ========================================================================== */
.lead-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.lead-card--solo { grid-template-columns: minmax(0, 1fr); }
.lead-media { border-radius: var(--r-sm); overflow: hidden; min-height: 340px; }
.lead-media img { width: 100%; height: 100%; object-fit: cover; }
.lead-body { display: flex; flex-direction: column; justify-content: center; }

.lead-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.rank {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--on-accent);
  background: var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
}
.rank--quiet { background: var(--bg-3); color: var(--text-2); }
.lead-card h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 0.5rem; }

.score { display: inline-flex; align-items: center; gap: 0.5rem; }
.score b { font-family: var(--mono); font-size: 0.9rem; font-weight: 600; color: var(--text); }

.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--accent-hi); }
.stars .icon { width: 15px; height: 15px; }
.stars--lg .icon { width: 24px; height: 24px; }
.st-off { color: var(--text-3); opacity: 0.45; }

.offer {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  color: var(--text);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.facts div { background: var(--bg-1); padding: 0.85rem 0.9rem; }
.facts dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.15rem;
}
.facts dd { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.lead-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* remaining operators: 2-col asymmetric grid */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.rank-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.rank-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.rank-card-top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.rank-card h3 { margin: 0 0 0.15rem; font-size: 1.2rem; }
.rank-card .offer { font-size: 0.95rem; margin-bottom: 1.1rem; color: var(--text-2); }
.rank-card-foot { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; }

/* ==========================================================================
   STICKY ASIDE  ·  method section
   ========================================================================== */
.aside-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.aside-stick { position: sticky; top: calc(var(--nav-h) + 2rem); }
.aside-stick p { color: var(--text-2); }

.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps .tick {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-hi);
  margin-top: 0.15rem;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { margin: 0; color: var(--text-2); }

/* ==========================================================================
   BENTO  ·  safety tools, cells sized to content, some carry visuals
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
}
.cell {
  position: relative;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-1);
  overflow: hidden;
}
.cell h3 { margin-bottom: 0.6rem; }
.cell p { margin: 0; color: var(--text-2); font-size: 0.98rem; }
.cell--wide { grid-column: span 4; display: flex; flex-direction: column; justify-content: center; }
.cell--half { grid-column: span 3; }
.cell--third { grid-column: span 2; }
.cell--tint { background: linear-gradient(160deg, var(--accent-soft), transparent 70%), var(--bg-1); }
.cell--media { padding: 0; display: grid; }
.cell--media img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.cell-icon { color: var(--accent-hi); margin-bottom: 1rem; }

/* ==========================================================================
   MEDIA BAND  ·  full-bleed image break
   ========================================================================== */
.band { position: relative; overflow: hidden; border-block: 1px solid var(--line); }
.band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.band img { filter: brightness(0.62) saturate(0.85); }
.band::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 26%, transparent 72%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, transparent 24%, transparent 78%, var(--bg) 100%),
    color-mix(in srgb, var(--bg) 34%, transparent);
}
@media (prefers-color-scheme: light) {
  .band img { filter: none; }
  .band::after { background:
    linear-gradient(180deg, var(--bg) 0%, transparent 26%, transparent 72%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, transparent 24%, transparent 78%, var(--bg) 100%); }
}
@media (max-width: 760px) { .band img { aspect-ratio: 16 / 10; } }

/* ==========================================================================
   RAIL  ·  horizontal scroll-snap cards
   ========================================================================== */
.rail-head { margin-bottom: 2rem; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 25%);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: var(--r-pill); }

.rail-card {
  padding: 1.6rem;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.rail-card h3 { margin-bottom: 0.7rem; }
.rail-card p { color: var(--text-2); font-size: 0.98rem; }
.rail-card ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.rail-card li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--text-2);
}
.rail-card li .icon { color: var(--accent-hi); margin-top: 0.32rem; }

/* ==========================================================================
   MANIFESTO  ·  centered closing
   ========================================================================== */
.manifesto { text-align: center; }
.manifesto h2 { margin-bottom: 1.25rem; }
.manifesto p { color: var(--text-2); }
.manifesto-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ==========================================================================
   INNER PAGE HERO
   ========================================================================== */
.page-head {
  position: relative;
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  top: -60%; right: -5%;
  width: 55vw; height: 160%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.page-head > .shell { position: relative; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-3);
}
.crumbs a { text-decoration: none; transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--accent-hi); }
.crumbs [aria-current] { color: var(--text-2); }

.page-head h1 { margin-bottom: 1.25rem; }
.title-score {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  vertical-align: middle;
  margin-left: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.title-score .icon { width: 0.95em; height: 0.95em; }

.byline { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; }
.byline-pic { position: relative; flex: 0 0 auto; }
.byline-pic img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.byline-pic .fallback {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-3); color: var(--text-2);
  font-family: var(--mono); font-size: 0.85rem;
}
.byline-check {
  position: absolute; right: -2px; bottom: -2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.byline-check .icon { width: 10px; height: 10px; }
.byline-text { line-height: 1.4; }
.byline-text b { display: block; font-size: 0.9375rem; color: var(--text); font-weight: 600; }
.byline-text span { font-size: 0.8125rem; color: var(--text-3); }

/* offer bar on review pages */
.offer-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.offer-bar dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 0.25rem;
}
.offer-bar dd { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.live {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 0.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-3);
}
.live b { font-family: var(--mono); color: var(--text-2); font-weight: 500; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-hi);
  flex: 0 0 auto;
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: ping 2.4s var(--ease) infinite; }
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 var(--accent-soft); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ==========================================================================
   VERDICT
   ========================================================================== */
.verdict {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.verdict h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.overall {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  margin-bottom: 0.5rem;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid var(--line);
}
/* scoped to the number block: .stars is a <span> and must keep its own colour */
.overall-num b {
  display: block;
  font-family: var(--mono);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
}
.overall-num b i { font-style: normal; font-size: 0.95rem; color: var(--text-3); }
.overall-num > span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}
.subscores { margin: 0; padding: 0; list-style: none; }
.subscores li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.subscores li:last-child { border-bottom: 0; }
.subscores b { font-family: var(--mono); font-size: 0.85rem; font-weight: 500; color: var(--text); }

.take {
  padding: 1.5rem;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.take p { font-size: 1.0625rem; line-height: 1.6; color: var(--text); }
.take footer {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.take .fine { margin-top: 1.1rem; font-size: 0.8125rem; line-height: 1.6; color: var(--text-3); }

/* ==========================================================================
   GENERATED CONTENT BLOCKS
   ========================================================================== */
.prose h2 { margin-bottom: 1.25rem; }
.prose h3 { margin-bottom: 0.7rem; }
.prose h4 { margin-bottom: 0.5rem; color: var(--text); }
.prose p { color: var(--text-2); }

.panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.opener {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  background: var(--bg-1);
}
.opener p { color: var(--text-2); }

/* checklist: block-level li, marker in the gutter, text flows the full row */
.checks { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.checks li {
  display: block;
  position: relative;
  padding: 1rem 1.2rem 1rem 3.1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-2);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 1.1rem; top: 1.25rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f9dff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.checks--bare li { background: transparent; border: 0; padding-block: 0.35rem; border-radius: 0; }
.checks--bare li::before { top: 0.6rem; }
.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}
.split-media { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.tiles { display: grid; gap: 1.25rem; }
.tiles--1 { grid-template-columns: minmax(0, 1fr); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile {
  padding: 1.6rem;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.25s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile > :last-child { margin-bottom: 0; }

/* tables from source documents */
.table-scroll {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-1);
}
table.data { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 0.9375rem; }
table.data th, table.data td { padding: 0.9rem 1.1rem; text-align: left; vertical-align: top; }
table.data thead th {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
table.data tbody th { color: var(--text); font-weight: 600; width: 34%; }
table.data tbody td { color: var(--text-2); }
table.data tbody tr + tr th,
table.data tbody tr + tr td { border-top: 1px solid var(--line); }

/* ==========================================================================
   FOOTER  ·  full-bleed
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-1); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: var(--section-space);
}
.footer-grid .brand { margin-bottom: 1rem; }
.footer-about p { color: var(--text-3); font-size: 0.9375rem; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.1rem;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--accent-hi); }

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-3);
}
.tag .icon { color: var(--accent-hi); width: 14px; height: 14px; }

.footer-legal { padding-block: 1.75rem 2.5rem; border-top: 1px solid var(--line); }
.footer-legal p { font-size: 0.8125rem; color: var(--text-3); line-height: 1.75; }
.footer-legal p + p { margin-top: 0.5rem; }

/* ==========================================================================
   404
   ========================================================================== */
.oops { padding-block: calc(var(--section-space) * 2); }
.oops-code {
  font-family: var(--mono);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--accent-hi);
  opacity: 0.22;
  margin-bottom: 1rem;
}
.oops-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ==========================================================================
   MOTION
   ========================================================================== */
.js .rise { opacity: 0; transform: translateY(20px); }
.js .rise.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 0.75rem 1.15rem;
  background: var(--accent); color: var(--on-accent);
  border-radius: var(--r-sm);
}
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .lead-card { grid-template-columns: 1fr; }
  .lead-media { order: -1; min-height: 0; }
  .lead-media img { aspect-ratio: 16 / 9; height: auto; }
  .aside-split { grid-template-columns: 1fr; }
  .aside-stick { position: static; }
  .verdict { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 16 / 10; }
  .tiles--3, .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--bg);
    padding: 1.5rem var(--gutter) 3rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    margin-left: 0;
  }
  .nav.is-open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { padding: 1rem 0.15rem; font-size: 1.05rem; border-radius: 0; justify-content: space-between; }
  .nav-list > li > a:hover { background: transparent; }

  .submenu {
    position: static;
    width: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 1rem;
  }
  .has-menu.is-open .submenu { display: grid; }
  .has-menu:hover .submenu { display: none; }
  .has-menu.is-open:hover .submenu { display: grid; }
  .has-menu::after { display: none; }

  .rank-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--wide, .cell--half, .cell--third { grid-column: span 1; }
  .cell--media { grid-column: span 2; }
  .offer-bar { grid-template-columns: 1fr; text-align: left; }
  .checks--2 { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-auto-columns: minmax(260px, 78%); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell--media { grid-column: span 1; }
  .tiles--2, .tiles--3, .tiles--4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .title-score { display: inline-flex; margin-left: 0; margin-top: 0.75rem; }
  .btn { width: 100%; }
  .btn--sm { width: auto; }
  .hero-actions .btn, .oops-actions .btn, .manifesto-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .rise, .rise { opacity: 1 !important; transform: none !important; }
}
