/* ==========================================================================
   Online Casino Scams — design system
   Archetype: Swiss-grid typographic register (locked 2026-06-04)
   Fonts: Zodiak (display serif) + General Sans (text) — self-hosted
   Palette: paper / wine / amber / ink (wine family)
   ========================================================================== */

/* ---- Fonts (self-hosted, Fontshare ITF FFL) ---- */
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('../fonts/general-sans-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zodiak'; src: url('../fonts/zodiak-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zodiak'; src: url('../fonts/zodiak-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zodiak'; src: url('../fonts/zodiak-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

/* ---- Tokens ---- */
:root {
  --paper: #F7F6F1;
  --wine: #5E2638;
  --wine-deep: #461C2A;
  --amber: #B45309;
  --amber-soft: rgba(180, 83, 9, 0.08);
  --ink: #17161A;
  --ink-60: rgba(23, 22, 26, 0.6);
  --ink-40: rgba(23, 22, 26, 0.4);
  --hairline: rgba(23, 22, 26, 0.12);
  --hairline-soft: rgba(23, 22, 26, 0.06);
  --slate: #4B5563;
  --radius: 3px;
  --measure: 38rem;
  --wrap: 82rem;
  --font-text: 'General Sans', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Zodiak', 'Georgia', serif;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.65;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1.2em; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-deep); }
img, svg { max-width: 100%; height: auto; }
table { border-collapse: collapse; width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 64rem) { .wrap { padding: 0 4rem; } }

/* ---- Utility type ---- */
.kicker {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--wine);
}
.kicker::before { content: ""; width: 2.6rem; height: 1px; background: var(--wine); }
.smallcaps { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.muted { color: var(--ink-60); }
.lede { font-size: 1.22rem; max-width: var(--measure); }
.lede-initial::first-letter {
  font-family: var(--font-display); font-weight: 700; float: left;
  font-size: 4.2rem; line-height: 0.85; padding: 0.35rem 0.7rem 0 0; color: var(--wine);
}

/* ---- Masthead ---- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 1.1rem 0;
}
.masthead-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 2.6rem; height: 2.6rem; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1; }
.brand-tag { display: block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--amber); margin-top: 0.3rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.site-nav a {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--wine); }

/* ---- Hamburger (CSS-only toggle, no JS) ---- */
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-burger { display: none; }
@media (max-width: 48rem) {
  .brand { flex: 1 1 auto; min-width: 0; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 2.6rem; height: 2.6rem; margin-left: 1rem; cursor: pointer; flex-shrink: 0;
  }
  .nav-burger span { display: block; width: 1.6rem; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .site-nav {
    flex-basis: 100%; display: none; flex-direction: column; gap: 0;
    margin-top: 1rem; border-top: 1px solid var(--hairline);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--hairline-soft); font-size: 0.8rem; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Section rule with label ---- */
.rule-section { border-top: 1px solid var(--hairline); position: relative; margin: 1rem 0 1.5rem; }
.rule-label {
  position: absolute; top: -0.72rem; left: 0;
  background: var(--paper); padding-right: 1.4rem;
  font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-60);
}

/* ---- Hero ---- */
.hero { padding: 4.5rem 0 2rem; }
.hero-grid { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: 2fr 1fr; gap: 4.5rem; } }
.hero h1 { margin: 1.4rem 0 1.6rem; }
.hero-aside { border-left: 1px solid var(--hairline); padding-left: 2.4rem; display: grid; gap: 2.4rem; align-content: start; }
/* only the homepage stats column centres vertically; brand verdict + hub TOC stay top-aligned with the kicker */
@media (min-width: 64rem) { .hero-grid:not(.hero-grid-rail) .hero-aside { align-content: center; } }
.statbox .stat-figure { font-family: var(--font-display); font-weight: 900; font-size: 3rem; line-height: 1; }
.statbox .stat-note { font-size: 0.86rem; color: var(--ink-60); margin-top: 0.5rem; }
.update-card { background: var(--amber-soft); border: 1px solid rgba(180, 83, 9, 0.25); padding: 1.4rem; }
.update-card .smallcaps { color: var(--amber); }
.update-card .update-date { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-top: 0.3rem; }

/* ---- Hero rail variant: match the article-layout right column for a continuous right rail ---- */
@media (min-width: 64rem) {
  .hero-grid-rail { grid-template-columns: minmax(0, 1fr) 19rem; gap: 3.5rem; }
  .hero-grid-rail .hero-aside { border-left: 0; padding-left: 0; }
  /* TOC heroes: centre the short list against the taller text so the gap balances */
  .hero-grid-rail:has(.hero-toc) { align-items: center; }
}

/* ---- Hero contextual cards (TOC / verdict) ---- */
.hero-toc-title, .hero-verdict-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-60); margin: 0 0 1rem; display: block; }
.hero-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.hero-toc li { counter-increment: toc; margin: 0; }
.hero-toc a { font-size: 1rem; color: var(--ink); text-decoration: none; display: flex; gap: 0.85rem; line-height: 1.3; align-items: baseline; padding: 0.85rem 0; border-top: 1px solid var(--hairline-soft); }
.hero-toc li:first-child a { border-top: 0; padding-top: 0.2rem; }
.hero-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--wine); font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; flex-shrink: 0; min-width: 1.4rem; }
.hero-toc a:hover { color: var(--wine); }
.hero-toc a:hover::before { color: var(--wine); }
.hero-verdict .stamp { font-size: 1rem; }
.hero-verdict .hv-list { margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.hero-verdict .hv-row { border-top: 1px solid var(--hairline-soft); padding-top: 0.7rem; }
.hero-verdict .hv-k { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 0.2rem; }
.hero-verdict .hv-v { display: block; font-size: 0.95rem; font-weight: 600; line-height: 1.3; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 1rem 2.4rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn-ghost { border: 1px solid var(--hairline); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1.1rem; }

/* ---- Verdict stamps / chips ---- */
.stamp {
  display: inline-block; border: 2px solid currentColor; padding: 0.22rem 0.75rem;
  font-family: var(--font-display); font-weight: 900; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; transform: rotate(-2deg);
}
.stamp-blacklisted { color: var(--wine); }
.stamp-caution { color: var(--amber); }
.stamp-review { color: var(--ink-40); }
.verdict { font-weight: 700; letter-spacing: 0.06em; }
.verdict-bad { color: var(--wine); }
.verdict-warn { color: var(--amber); }
.verdict-ok { color: #1F5C3A; }

/* ---- Warning rows (Latest warnings) ---- */
.warning-row {
  display: grid; gap: 1.6rem; padding: 2.6rem 1rem; margin: 0 -1rem;
  border-bottom: 1px solid var(--hairline-soft);
}
@media (min-width: 64rem) { .warning-row { grid-template-columns: 5fr 4fr 3fr; align-items: start; } }
.warning-row:hover { background: var(--hairline-soft); }
.warning-row .report-date { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; color: var(--ink-40); display: block; margin-bottom: 0.8rem; }
.warning-row h3 { font-size: 2rem; margin-bottom: 0.8rem; }
.warning-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; font-size: 0.78rem; }
.warning-facts .smallcaps { color: var(--ink-40); display: block; margin-bottom: 0.25rem; }
.warning-summary { font-size: 0.95rem; color: var(--ink-60); margin-top: 1rem; max-width: 24rem; }
.warning-more { justify-self: start; align-self: center; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; }
@media (min-width: 64rem) { .warning-more { justify-self: end; } }

/* ---- Registry table (brand column dominant) ---- */
.registry-table thead tr { border-bottom: 2px solid var(--ink); }
.registry-table th {
  text-align: left; padding: 0.9rem 1.2rem 0.9rem 0;
  font-size: 0.64rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase;
}
.registry-table td { padding: 1.4rem 1.2rem 1.4rem 0; border-bottom: 1px solid var(--hairline-soft); font-size: 0.92rem; vertical-align: baseline; }
.registry-table .cell-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.registry-table .cell-brand a { text-decoration: none; color: var(--ink); }
.registry-table .cell-brand a:hover { color: var(--wine); }
.registry-table .cell-licence-bad { color: var(--wine); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.02em; }
.registry-table .cell-licence-ok { color: var(--ink-60); text-transform: uppercase; font-size: 0.8rem; }
.registry-table .cell-score { font-variant-numeric: tabular-nums; color: var(--ink-60); }
.table-scroll { overflow-x: auto; }

/* ---- Mobile: register table -> stacked cards (no horizontal scroll) ---- */
@media (max-width: 48rem) {
  .registry-table:not(.data-table),
  .registry-table:not(.data-table) tbody,
  .registry-table:not(.data-table) tr,
  .registry-table:not(.data-table) td { display: block; width: 100%; }
  .registry-table:not(.data-table) thead { display: none; }
  .registry-table:not(.data-table) tr {
    border: 1px solid var(--hairline); border-radius: var(--radius);
    padding: 1.1rem 1.2rem; margin-bottom: 1rem;
  }
  .registry-table:not(.data-table) td {
    border: 0; padding: 0.4rem 0; font-size: 0.95rem;
    display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  }
  .registry-table:not(.data-table) td::before {
    content: attr(data-label); flex-shrink: 0;
    font-size: 0.6rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-40);
  }
  /* brand = card title, full width, no label */
  .registry-table:not(.data-table) td.cell-brand {
    display: block; font-size: 1.5rem; margin: 0 0 0.7rem; padding: 0 0 0.6rem;
    border-bottom: 1px solid var(--hairline-soft);
  }
  .registry-table:not(.data-table) td.cell-brand::before { display: none; }
  /* long "Main issue" value: smaller + right-aligned so it reads as a neat right block */
  .registry-table:not(.data-table) td[data-label="Main issue"] { font-size: 0.82rem; text-align: right; color: var(--ink-60); }
}

/* ---- Compact data table (numeric worked-examples) ---- */
.registry-table.data-table { max-width: 34rem; }
.registry-table.data-table th { padding: 0.6rem 1.4rem 0.6rem 0; }
.registry-table.data-table td { padding: 0.6rem 1.4rem 0.6rem 0; font-size: 0.98rem; vertical-align: middle; }
.registry-table.data-table .cell-score { color: var(--ink); }
.registry-table.data-table td:last-child { color: var(--wine); font-weight: 600; }
.registry-table.data-table tr:last-child td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }
.registry-table.data-table tbody tr:last-child td:not(:last-child) { color: var(--ink); }

/* ---- Table-footer CTA bar (reads as table continuation) ---- */
.table-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 1.1rem 1.5rem; margin-top: -1px;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: background 0.2s;
}
.table-cta:hover { background: var(--wine); color: #fff; }
.table-cta .table-cta-count { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.7); }
.table-cta:hover .table-cta-count { color: rgba(255,255,255,0.85); }
.table-cta .table-cta-action { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }

/* ---- Numbered pattern columns (scam types) ---- */
.pattern-grid { display: grid; gap: 3rem; }
@media (min-width: 48rem) { .pattern-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .pattern-grid { grid-template-columns: 1fr 1fr 1fr; gap: 4rem; } }
.pattern-card { display: flex; flex-direction: column; height: 100%; }
.pattern-card .pattern-no { font-family: var(--font-display); font-weight: 900; font-size: 3.6rem; color: var(--hairline); display: block; }
.pattern-card h3 { margin-top: -1.4rem; }
/* push the bullet list + link to a shared baseline across columns (cards stretch to equal height) */
.pattern-card .pattern-points { list-style: none; padding: 1.2rem 0 0; margin: auto 0 0; }
.pattern-card .pattern-points li {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); padding-left: 1rem; position: relative; margin-bottom: 0.55rem;
}
.pattern-card .pattern-points li::before { content: "•"; position: absolute; left: 0; }

/* ---- Centered section CTA (below grids) ---- */
.section-cta { text-align: center; margin-top: 3.5rem; }

/* ---- Numbered step strip ---- */
.step-strip { display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 48rem) { .step-strip { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--wine); display: block; margin-bottom: 0.4rem;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.92rem; color: var(--ink-60); }

/* ---- Pull quote ---- */
.pullquote { max-width: 52rem; margin: 0 auto; text-align: center; padding: 1rem 1.5rem; }
.pullquote blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; margin: 0;
}
.pullquote cite { display: block; margin-top: 1.8rem; font-style: normal; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-40); }

/* ---- Dark CTA panel ---- */
.panel-dark { background: var(--ink); color: #fff; padding: 3.5rem 1.8rem; }
@media (min-width: 64rem) { .panel-dark { padding: 5.5rem 5rem; } }
.panel-dark h2 { font-style: italic; font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 36rem; }
.panel-dark p { color: rgba(255, 255, 255, 0.7); max-width: var(--measure); margin-bottom: 2.4rem; }
.panel-dark .btn-light { background: #fff; color: var(--ink); border: 1px solid #fff; }
.panel-dark .btn-light:hover { background: var(--amber); border-color: var(--amber); color: #fff; }
.panel-dark .btn-outline { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.panel-dark .btn-outline:hover { background: #fff; color: var(--ink); }

/* ---- Article + sticky sidebar layout ---- */
.article-layout { display: block; }
@media (min-width: 64rem) {
  .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3.5rem; align-items: start; }
}
.article-main { min-width: 0; }
.article-layout .article-body { max-width: 42rem; }
.article-aside { margin-top: 2.5rem; }
@media (min-width: 64rem) {
  .article-aside { position: sticky; top: 5.5rem; margin-top: 0; }
  /* align the toolkit's top edge with the first section's divider line */
  .article-main > section:first-child { padding-top: 0; }
  .article-main > section:first-child > .rule-section:first-child { margin-top: 0; }
}

/* Safety toolkit module */
.toolkit { border: 1px solid var(--hairline); border-top: 3px solid var(--wine); padding: 1.8rem 1.7rem; background: #fff; }
.toolkit-title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 0 0 0.4rem; letter-spacing: -0.01em; }
.toolkit-sub { font-size: 0.92rem; color: var(--ink-60); margin: 0 0 1.4rem; line-height: 1.45; }
.toolkit-checks { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.toolkit-checks li { font-size: 0.96rem; line-height: 1.45; padding-left: 1.6rem; position: relative; margin-bottom: 0.95rem; color: var(--ink); }
.toolkit-checks li::before { content: "\2713"; position: absolute; left: 0; top: -0.02em; color: var(--wine); font-weight: 700; }
.toolkit-cta { display: block; text-align: center; background: var(--ink); color: #fff; padding: 1rem 1rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); transition: background 0.2s; }
.toolkit-cta:hover { background: var(--wine); color: #fff; }
.toolkit-foot { margin: 1.1rem 0 0; text-align: center; }
.toolkit-foot a { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60); text-decoration: none; }
.toolkit-foot a:hover { color: var(--wine); }

/* ---- Article / content pages ---- */
.article { padding: 0; }
.article-body { max-width: var(--measure); }
.article-body h2 { margin-top: 2.4rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: 0.5em; }
/* mobile: a bold lead-in heading in a list item drops to its own line, body text starts beneath it */
/* brand-page hero text stays in a tidy left column, clear of the sidebar */
.hero-grid-rail:has(.hero-verdict) h1,
.hero-grid-rail:has(.hero-verdict) .lede { max-width: 34rem; }

/* brand-page H1 = big brand name + smaller descriptive tail (still bold) */
h1 .h1-brand { display: block; }
h1 .h1-tail { display: block; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.15; margin-top: 0.5rem; color: var(--ink); }

/* lead-in heading in a list item / labelled paragraph drops to its own line, body starts beneath */
.article-body li > strong:first-child,
.article-body p.lead-in > strong:first-child { display: block; margin-bottom: 0.15rem; }
.breadcrumbs { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-40); margin: 1.6rem 0; }
.breadcrumbs a { color: var(--ink-60); text-decoration: none; }
.breadcrumbs a:hover { color: var(--wine); }

/* ---- Fact sheet (brand pages) ---- */
.fact-sheet { border: 1px solid var(--hairline); padding: 1.8rem; display: grid; gap: 1.3rem; align-content: start; }
@media (min-width: 48rem) { .fact-sheet { grid-template-columns: 1fr 1fr; } }
.fact .smallcaps { color: var(--ink-40); display: block; margin-bottom: 0.2rem; }
.fact p { margin: 0; font-weight: 600; font-size: 0.95rem; }

/* ---- FAQ ---- */
.faq-intro { max-width: 60rem; margin: 0 auto 1.8rem; color: var(--ink-60); font-size: 1.05rem; }
.faq-list { max-width: 60rem; margin: 0 auto; }
/* FAQ accordion — native <details>, CSS-only expand animation */
details.faq-item { border-top: 1px solid var(--hairline); }
details.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
details.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline;
  justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary h3 { font-size: 1.2rem; margin: 0; transition: color 0.2s; }
details.faq-item summary:hover h3 { color: var(--wine); }
.faq-chevron { flex-shrink: 0; align-self: center; width: 0.62rem; height: 0.62rem; border-right: 2px solid var(--wine); border-bottom: 2px solid var(--wine); transform: rotate(45deg); transition: transform 0.3s ease; }
details.faq-item[open] summary .faq-chevron { transform: rotate(-135deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
details.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { font-size: 1rem; color: var(--ink-60); margin: 0 0 1.2rem; }
.faq-answer p:first-child { padding-top: 0.2rem; }

/* ---- Footer ---- */
.site-foot { border-top: 1px solid var(--ink); background: var(--paper); padding: 4.5rem 0 2.5rem; margin-top: 5rem; }
.foot-grid { display: grid; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 64rem) { .foot-grid { grid-template-columns: 5fr 7fr; } }
.foot-brand-name { font-size: 1.3rem; font-weight: 900; font-style: normal; color: var(--ink); margin: 0 0 0.8rem; font-family: var(--font-display); }
.foot-brand p { font-size: 0.9rem; color: var(--ink-60); font-style: italic; max-width: 24rem; }
.foot-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-badges span { font-size: 0.62rem; font-weight: 900; letter-spacing: 0.14em; color: var(--ink-60); }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 48rem) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
.foot-col-title { font-size: 0.64rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 1.3rem; color: var(--ink); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: 0.9rem; }
.foot-cols a { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60); text-decoration: none; }
.foot-cols a:hover { color: var(--wine); }
.foot-base { border-top: 1px solid var(--hairline); padding-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.foot-base p { font-size: 0.6rem; font-weight: 900; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-40); margin: 0; }

/* ---- Hero figure ---- */
.hero-figure { margin: 0 0 4.5rem; }
.hero-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--hairline); }

/* ---- Section spacing ---- */
.section { margin-bottom: 3.25rem; }
@media (min-width: 64rem) { .section { margin-bottom: 3.75rem; } }

/* ---- Visually-hidden (screen-reader / document-outline only) ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Inline icons (mingcute, inlined as SVG) ---- */
.icon { width: 1.1em; height: 1.1em; vertical-align: -0.18em; fill: currentColor; }

/* ---- "Would you get paid?" quiz (compact one-at-a-time stepper) ---- */
.quiz-layout { display: grid; gap: 2.4rem; align-items: stretch; }
@media (min-width: 64rem) { .quiz-layout { grid-template-columns: 1fr 1.05fr; gap: 4rem; } }
.quiz-lead { max-width: 34rem; align-self: center; }
.quiz-lead h2 { margin-top: 0; }
.quiz-card {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: #fff; padding: 2.2rem 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.quiz-intro { color: var(--ink-60); margin: 0 0 1.4rem; }
.quiz { padding: 0; }
.quiz-questions { list-style: none; padding: 0; margin: 0; }
.quiz-q { padding: 1.4rem 0; border-bottom: 1px solid var(--hairline-soft); }
.quiz-q fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz-prompt { display: flex; gap: 0.8rem; align-items: baseline; font-weight: 600; font-size: 1.08rem; line-height: 1.4; margin: 0 0 1rem; padding: 0; }
.quiz-num { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; color: var(--wine); min-width: 1.3rem; flex-shrink: 0; }
.quiz-opts { display: flex; flex-wrap: wrap; gap: 0.6rem; padding-left: 2.1rem; }
.quiz-opts label {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 0.55rem 1rem; font-size: 0.92rem; line-height: 1.2;
  transition: border-color 0.15s, background 0.15s;
}
.quiz-opts label:hover { border-color: var(--ink-40); }
.quiz-opts input { accent-color: var(--wine); margin: 0; }
.quiz-opts label:has(input:checked) { border-color: var(--wine); background: var(--amber-soft); }

/* progress */
.quiz-progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.quiz-step-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-60); white-space: nowrap; }
.quiz-progress-track { flex: 1; height: 3px; background: var(--hairline); border-radius: 2px; overflow: hidden; }
.quiz-progress-fill { display: block; height: 100%; width: 16.6%; background: var(--wine); transition: width 0.25s ease; }

/* actions */
.quiz-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.8rem; }
button.btn { font-family: inherit; cursor: pointer; }
.quiz-back { background: none; border: 0; padding: 0; font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--ink-60); cursor: pointer; }
.quiz-back:hover { color: var(--wine); }
.quiz-reset { background: none; border: 0; padding: 0; font: inherit; font-size: 0.85rem; color: var(--ink-60); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.quiz-reset:hover { color: var(--wine); }
.quiz-error { color: var(--wine); font-weight: 600; margin: 1rem 0 0; }

/* stepper mode (JS on): one question visible, no submit button, hide form once done */
.quiz--stepper .quiz-q { display: none; border-bottom: 0; padding: 0.4rem 0 0; }
.quiz--stepper .quiz-q.is-active { display: block; }
.quiz--stepper .quiz-submit { display: none; }
.quiz--done .quiz-questions, .quiz--done .quiz-progress, .quiz--done .quiz-back, .quiz--done .quiz-submit, .quiz--done .quiz-actions, .quiz--done .quiz-error { display: none; }
@keyframes quizin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.quiz--stepper .quiz-q.is-active { animation: quizin 0.25s ease; }

/* result (rendered inside the card — no inner frame; tier colour rides the stamp) */
.quiz-result { margin: 0; padding: 0; }
.quiz-result:focus { outline: none; }
.quiz-result h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; line-height: 1.15; margin: 0.9rem 0 0.7rem; }
.quiz-result p { max-width: var(--measure); }
.quiz-result-next { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-60); margin: 1.3rem 0 0.6rem; }
.quiz-result ul { margin: 0; padding-left: 1.1rem; }
.quiz-result li { margin-bottom: 0.35rem; }
.quiz-restart { margin-top: 1.3rem; }
.stamp-ok { color: #1F5C3A; }
.quiz-note { font-size: 0.82rem; color: var(--ink-40); max-width: var(--measure); margin: 1.6rem 0 0; }
@media (prefers-reduced-motion: reduce) { .quiz--stepper .quiz-q.is-active { animation: none; } .quiz-progress-fill { transition: none; } }

/* ---- Brand case-file card (blacklist article lead image) ---- */
.card-figure { margin: 0.25rem 0 2.25rem; max-width: 40rem; }
.card-figure img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* ---- Quick licence checker (check-a-licence) ---- */
.lc { max-width: 40rem; margin-top: 0.4rem; }
.lc-label { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 0.5rem; }
.lc-row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.lc-input { flex: 1 1 16rem; padding: 0.7rem 0.95rem; border: 1px solid var(--hairline); border-radius: var(--radius); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.lc-input:focus { outline: 2px solid var(--wine); outline-offset: 2px; border-color: var(--wine); }
.lc-result { margin-top: 1.6rem; border: 1px solid var(--hairline); border-radius: var(--radius); background: #fff; padding: 1.6rem 1.5rem; max-width: 40rem; }
.lc-result:focus { outline: none; }
.lc-result h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; line-height: 1.15; margin: 0.8rem 0 0; }
.lc-facts { display: grid; gap: 0.9rem; margin-top: 1.1rem; }
@media (min-width: 30rem) { .lc-facts { grid-template-columns: 1fr 1fr; } }
.lc-k { display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 0.25rem; }
.lc-v { color: var(--ink); }
.lc-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.3rem; }
.lc-miss { font-size: 1.05rem; }
.lc-miss strong { font-weight: 600; }
.lc-note { font-size: 0.85rem; color: var(--ink-40); max-width: var(--measure); margin-top: 1.3rem; }
