/* Lloydtown — course guides + arcade
   Direction: keeps the arcade's night-sky navy and coin gold, but trades the
   gradients for a cleaner editorial frame so the guides read as trustworthy.
   Display: Unbounded (blocky, game-like) used only for headings.
   Body: Figtree. Labels and stats: JetBrains Mono. */
:root {
  --bg: #0d0f1a;
  --bg-2: #12152a;
  --panel: #171b30;
  --panel-2: #1d2240;
  --line: #2a3050;
  --ink: #eef1ff;
  --ink-2: #c6cbe6;
  --muted: #8e96bc;
  --gold: #f4c430;
  --gold-ink: #1a1405;
  --violet: #8b96ff;
  --green: #3ddc97;
  --f-display: "Unbounded", "Arial Black", Arial, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --max: 1140px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--f-body); }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-family: var(--f-body); font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.eyebrow { font: 500 12px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-block: 14px; }
.brand { font: 700 20px/1 var(--f-display); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand span { color: var(--gold); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 16px; font-weight: 600; padding-block: 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }

/* Hero */
.hero { padding-block: 72px 56px; border-bottom: 1px solid var(--line); background: radial-gradient(900px 380px at 85% -10%, rgba(139,150,255,.14), transparent 70%), var(--bg); }
.hero h1 { font-size: clamp(38px, 6.6vw, 76px); margin-top: 16px; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { margin-top: 22px; max-width: 58ch; color: var(--ink-2); font-size: 20px; }
.ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 16px/1 var(--f-body); text-decoration: none; padding: 14px 20px; border-radius: 8px; background: var(--gold); color: var(--gold-ink); }
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--muted); }
.note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.note a { color: var(--muted); }

/* Sections */
section.block { padding-block: 72px; }
section.block + section.block { border-top: 1px solid var(--line); }
.head { display: grid; gap: 10px; margin-bottom: 30px; max-width: 70ch; }
.head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.head p { color: var(--ink-2); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { display: grid; gap: 10px; align-content: start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; text-decoration: none; color: var(--ink); min-width: 0; }
a.card:hover { border-color: var(--gold); }
.card .tag { font: 500 12px/1 var(--f-mono); color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.card h3 { font-size: 21px; }
.card p { color: var(--ink-2); font-size: 16.5px; }
.card .more { margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--gold); }

.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.game { display: grid; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 18px; text-decoration: none; color: var(--ink); min-width: 0; }
.game:hover { border-color: var(--violet); }
.game .kind { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.game h3 { font-size: 18px; }
.game p { font-size: 15px; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.panel ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: 16.5px; }

/* Article / prose */
.page-hero { padding-block: 56px 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 50px); margin-top: 12px; max-width: 22ch; }
.page-hero p { margin-top: 14px; max-width: 62ch; color: var(--ink-2); font-size: 19px; }
.meta { margin-top: 14px; font: 500 13px/1.4 var(--f-mono); color: var(--muted); }
.prose { max-width: 72ch; padding-block: 40px 72px; }
.prose h2 { font-size: 25px; margin-top: 46px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose p, .prose ul, .prose ol { margin-top: 14px; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.prose strong { color: var(--ink); }
.disclosure { margin-top: 0 !important; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; background: var(--panel); font-size: 15px; }
.facts { margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.facts h2 { margin-top: 0 !important; font-size: 18px !important; }
.facts dl { margin: 12px 0 0; display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 8px 16px; font-size: 16.5px; }
.facts dt { font: 500 12px/1.9 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 0; min-width: 0; }
@media (max-width: 540px) { .facts dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .facts dd { margin-bottom: 8px; } }
.tablewrap { overflow-x: auto; margin-top: 14px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.prose th { font: 500 11.5px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.prose td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.course { margin-top: 28px; padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.course h3 { margin-top: 0 !important; }
.course .stats { margin-top: 8px !important; font: 500 13px/1.5 var(--f-mono); color: var(--muted) !important; }
.course .btn { margin-top: 16px; }
.cta-box { margin-top: 36px; padding: 24px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; }
.cta-box p { margin: 0 !important; }
.fine { font-size: 14px; color: var(--muted) !important; }
.sources { font-size: 14px; color: var(--muted) !important; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 10px 16px; }
.contact-card dt { font: 500 12px/1.9 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 32px; font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Video showcase */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stats div { padding: 18px 20px; border-left: 1px solid var(--line); display: grid; gap: 4px; min-width: 0; }
.stats div:first-child { border-left: 0; }
.stats b { font: 700 clamp(26px, 3.4vw, 36px)/1 var(--f-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.videos { margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 820px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.video { display: grid; gap: 4px; text-decoration: none; color: var(--ink); min-width: 0; }
.video img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.video:hover img { border-color: var(--gold); }
.video .vt { font-weight: 700; font-size: 16px; margin-top: 6px; }
.video .vv { font: 500 12px/1.3 var(--f-mono); color: var(--muted); }
#videos .ctas { margin-top: 26px; }
