@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700..800&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

/* ===================================================================
   BOLANEGRUPPEN — svensk testredaktion som jämför och betygsätter
   casino utan svensk licens. Objektiva tabeller, kriterier och
   betygsskala. Hårda kanter, tydlig struktur, hög kontrast.
   Palett: indigo + cyan på svalt papper.
=================================================================== */
:root {
  /* ----- Palett (obligatoriska namn) ----- */
  --color-primary: #3538cd; /* indigo — struktur/betyg (AA mot vitt) */
  --color-accent: #06aed4; /* cyan — dekorativ accent               */
  --color-bg: #f4f7fb; /* svalt papper                              */
  --color-surface: #ffffff; /* kort/ytor                            */
  --color-text: #101828; /* brödtext                                */

  /* ----- Interna alias (används i hela filen) ----- */
  --papier: var(--color-bg);
  --papier-tief: #e7edf6; /* djupare papper / dämpad yta */
  --linie: #d3deec; /* hårlinjer                       */
  --tinte: var(--color-text); /* bläck, nära svart        */
  --stempel: var(--color-primary); /* accent som vit text sitter på */
  --stempel-dunkel: #131a4a; /* mörk indigo (FAQ-sektion) */
  --marker: #bfe9f5; /* markering, ljus cyan             */
  --tinte-08: rgba(16, 24, 40, 0.08);

  /* ----- Typography ----- */
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo,
    Consolas, monospace;

  /* ----- Type scale ----- */
  --step-body: 1.0625rem;
  --step-h3: clamp(1.2rem, 1rem + 1vw, 1.45rem);
  --step-h2: clamp(1.55rem, 1.2rem + 1.6vw, 2.15rem);
  --step-h1: clamp(2.35rem, 1.4rem + 4.4vw, 4.4rem);

  /* ----- Layout / spacing ----- */
  --maxw: 1140px;
  --header-h: 70px;
  --gap: clamp(1rem, 3vw, 2rem);

  /* ----- Signature hard offset shadow ----- */
  --schatten: 8px 8px 0 var(--stempel);
  --schatten-tinte: 6px 6px 0 var(--tinte);
}

/* ===================== Reset / base ===================== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.62;
  color: var(--tinte);
  background-color: var(--papier);
  /* subtle 26px dot-grid paper texture */
  background-image: radial-gradient(var(--tinte-08) 1.1px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: -6px -6px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--tinte);
}
h1 {
  font-size: var(--step-h1);
  margin: 0 0 0.6rem;
  text-wrap: balance;
}
h2 {
  font-size: var(--step-h2);
  margin: 2.6rem 0 0.9rem;
}
h3 {
  font-size: var(--step-h3);
  line-height: 1.08;
  margin: 1.9rem 0 0.6rem;
}
p {
  margin: 0 0 1.05rem;
}

a {
  color: var(--tinte);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--stempel);
  transition: background-color 0.12s ease, color 0.12s ease,
    box-shadow 0.12s ease;
}
/* Highlighter hover: like a cyan marker swept over the link */
a:hover {
  color: var(--tinte);
  background: var(--marker);
  text-decoration-color: var(--tinte);
  box-shadow: 0 0 0 2px var(--marker);
}

strong {
  font-weight: 600;
  background: var(--marker);
  color: var(--tinte);
  padding: 0.02em 0.18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--marker);
  color: var(--tinte);
}

:focus-visible {
  outline: 3px solid var(--stempel);
  outline-offset: 2px;
}

/* ===================== Utility wrap ===================== */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gap);
}

/* ===================== Skip link ===================== */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--stempel);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border: 2px solid var(--tinte);
  box-shadow: var(--schatten-tinte);
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
  background: var(--stempel);
  box-shadow: var(--schatten-tinte);
}

/* ===================== Reading progress bar ===================== */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--stempel);
  z-index: 120;
  will-change: width;
}

/* ===================== Header / Nav ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--papier);
  border-bottom: 3px solid var(--tinte);
}
.site-header .wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.logo:hover {
  background: none;
  box-shadow: none;
}
.logo img {
  height: 30px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tinte);
  text-decoration: none;
  padding: 0.42rem 0.62rem;
  border: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover {
  background: var(--marker);
  color: var(--tinte);
  border-color: var(--tinte);
  box-shadow: none;
}
/* current page chip is inverted */
.main-nav a[aria-current="page"] {
  background: var(--tinte);
  color: var(--papier);
  border-color: var(--tinte);
}
.main-nav a[aria-current="page"]:hover {
  background: var(--stempel);
  color: #fff;
  border-color: var(--tinte);
}

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 42px;
  padding: 0;
  background: var(--papier);
  border: 2px solid var(--tinte);
  box-shadow: 3px 3px 0 var(--stempel);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.nav-toggle:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--stempel);
}
.nav-toggle:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--stempel);
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  margin: 0 auto;
  background: var(--tinte);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--papier);
    border-bottom: 3px solid var(--tinte);
    border-top: 1px solid var(--linie);
    box-shadow: 0 14px 0 -6px var(--tinte-08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease,
      visibility 0.18s ease;
  }
  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.6rem var(--gap) 1rem;
  }
  .main-nav a {
    padding: 0.85rem 0.7rem;
    font-size: 0.86rem;
    border: 2px solid transparent;
    border-bottom: 1px solid var(--linie);
  }
}

/* ===================== Hero — split layout + betygskort ===================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  background: var(--papier);
  border-bottom: 3px solid var(--tinte);
}
/* faint ledger-line grid on the right — a data/comparison motif */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 23px,
    var(--tinte-08) 23px 24px
  );
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 899px) {
  .hero::after {
    display: none;
  }
  .hero-card {
    display: none;
  }
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero.has-card .wrap {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.hero-copy {
  min-width: 0;
}

/* rubber-stamp eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stempel);
  background: transparent;
  padding: 0.4rem 0.85rem;
  margin: 0 0 1.3rem;
  border: 3px double var(--stempel);
}
.hero h1 {
  max-width: 20ch;
  font-size: calc(var(--step-h1) * 0.8);
}
.byline {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--tinte);
  margin: 1rem 0 1.4rem;
}
.byline a {
  color: var(--tinte);
  text-decoration-color: var(--stempel);
}
.hero p.lede {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.32rem);
  line-height: 1.5;
  color: var(--tinte);
  max-width: 62ch;
  margin: 0 0 1.9rem;
  border-left: 4px solid var(--stempel);
  padding-left: 1.1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ----- Betygskort (rating card) ----- */
.hero-card {
  position: relative;
  z-index: 1;
  background: var(--color-surface);
  border: 3px solid var(--tinte);
  box-shadow: var(--schatten);
  padding: 1.5rem 1.6rem 1.6rem;
}
.betyg-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  border-bottom: 3px solid var(--tinte);
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
}
.betyg-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stempel);
  max-width: 9ch;
  line-height: 1.35;
}
.betyg-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 3vw, 3.5rem);
  line-height: 0.85;
  color: var(--tinte);
  white-space: nowrap;
}
.betyg-score .betyg-max {
  font-size: 0.42em;
  color: var(--stempel);
  letter-spacing: 0;
}
.betyg-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.betyg-bars li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name num" "track track";
  gap: 0.25rem 0.6rem;
  align-items: center;
}
.betyg-name {
  grid-area: name;
  font-size: 0.84rem;
  font-weight: 600;
}
.betyg-num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--stempel);
}
.betyg-track {
  grid-area: track;
  height: 12px;
  background: var(--papier-tief);
  border: 1px solid var(--linie);
}
.betyg-fill {
  display: block;
  height: 100%;
  background: var(--stempel);
}
.betyg-fill.is-accent {
  background: var(--color-accent);
}
.betyg-foot {
  margin: 1.2rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--linie);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--tinte) 58%, var(--papier));
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  border: 2px solid var(--tinte);
  box-shadow: 4px 4px 0 var(--tinte);
  transition: transform 0.1s ease, box-shadow 0.1s ease,
    background-color 0.12s ease, color 0.12s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--tinte);
}
.btn:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--tinte);
}
.btn-primary {
  background: var(--stempel);
  color: #fff;
}
.btn-primary:hover {
  background: var(--stempel);
  color: #fff;
}
.btn-secondary {
  background: var(--papier);
  color: var(--tinte);
}
.btn-secondary:hover {
  background: var(--marker);
  color: var(--tinte);
}

/* ===================== Layout (article + TOC) ===================== */
.layout {
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 3.25rem) 0 3.5rem;
}
.layout > * {
  min-width: 0;
}
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  aside {
    order: -1;
  }
}

/* ===================== Table of contents — dossier index ===================== */
.toc {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  align-self: start;
  background: var(--papier);
  border: 2px solid var(--tinte);
  box-shadow: var(--schatten-tinte);
}
.toc h2 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--papier);
  background: var(--tinte);
  margin: 0;
  padding: 0.7rem 0.95rem;
  letter-spacing: 0.14em;
  line-height: 1.2;
}
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  margin: 0;
}
.toc a {
  display: grid;
  grid-template-columns: 2.1em 1fr;
  gap: 0.35rem;
  align-items: baseline;
  padding: 0.42rem 0.95rem;
  color: var(--tinte);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.32;
  border-left: 4px solid transparent;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--stempel);
}
.toc a:hover {
  background: var(--marker);
  color: var(--tinte);
  box-shadow: none;
}
.toc a:hover::before {
  color: var(--tinte);
}
.toc a.is-active {
  font-weight: 600;
  border-left-color: var(--stempel);
  background: color-mix(in srgb, var(--stempel) 12%, var(--papier));
}

/* ===================== Article ===================== */
.article {
  counter-reset: sec;
}
.article > :first-child {
  margin-top: 0;
}
.article p {
  max-width: 68ch;
}
.article ul,
.article ol {
  padding-left: 1.3rem;
  margin: 0 0 1.3rem;
  max-width: 66ch;
}
.article li {
  margin-bottom: 0.45rem;
}

/* § auto-numbered section headings */
.article h2 {
  counter-increment: sec;
  border-top: 3px solid var(--tinte);
  padding-top: 1.1rem;
  margin: 3rem 0 1rem;
}
.article h2::before {
  content: "§ " counter(sec, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--stempel);
  margin-bottom: 0.45rem;
}
.article h3 {
  color: var(--tinte);
}

/* figures */
.article figure {
  margin: 2rem 0;
}
.article figure img {
  border: 3px solid var(--tinte);
  box-shadow: var(--schatten);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  background: var(--papier-tief);
}
.article figcaption {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--tinte);
  margin-top: 0.9rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--linie);
}

/* ===================== Callout ===================== */
.callout {
  position: relative;
  background: #fff;
  border: 3px solid var(--tinte);
  box-shadow: var(--schatten);
  padding: 1.4rem 1.5rem 1.4rem 1.75rem;
  margin: 2.4rem 0;
}
.callout::before {
  content: "!";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--stempel);
  color: #fff;
  border: 2px solid var(--tinte);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
  transform: rotate(-12deg);
}
.callout p {
  margin: 0;
  max-width: none;
}
.callout strong {
  background: var(--marker);
}

/* ===================== Comparison table — official form ===================== */
.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border: 3px solid var(--tinte);
  box-shadow: var(--schatten);
  -webkit-overflow-scrolling: touch;
}
table.cmp {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
  background: #fff;
}
table.cmp th,
table.cmp td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--linie);
  border-right: 1px solid var(--linie);
  vertical-align: top;
}
table.cmp th:last-child,
table.cmp td:last-child {
  border-right: none;
}
table.cmp thead th {
  background: var(--stempel);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-right-color: color-mix(in srgb, #fff 25%, var(--stempel));
  border-bottom: 3px solid var(--tinte);
}
table.cmp tbody th {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tinte);
  background: var(--papier-tief);
  white-space: nowrap;
}
table.cmp tbody tr:last-child th,
table.cmp tbody tr:last-child td {
  border-bottom: none;
}

/* ===================== Pros / cons ===================== */
.procons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.2rem 0;
}
@media (max-width: 560px) {
  .procons {
    grid-template-columns: 1fr;
  }
}
.procons-col {
  background: #fff;
  border: 3px solid var(--tinte);
  box-shadow: var(--schatten-tinte);
  padding: 0;
}
.procons-col h3 {
  margin: 0;
  padding: 0.7rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.procons-pro h3 {
  background: var(--stempel);
  color: #fff;
  border-bottom: 3px solid var(--tinte);
}
.procons-con h3 {
  background: var(--papier-tief);
  color: var(--tinte);
  border-bottom: 3px dashed var(--tinte);
}
.procons ul {
  list-style: none;
  margin: 0;
  padding: 1rem 1.2rem;
}
.procons li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
}
.procons li:last-child {
  margin-bottom: 0;
}
.procons-pro li::before,
.procons-con li::before {
  position: absolute;
  left: 0;
  top: -0.05em;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
}
.procons-pro li::before {
  content: "+";
  color: var(--stempel);
}
.procons-con li::before {
  content: "\2212"; /* − minus */
  color: color-mix(in srgb, var(--tinte) 55%, var(--papier));
}

/* ===================== Link box (sources / read-more) ===================== */
.linkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  background: var(--papier-tief);
  border: 2px solid var(--tinte);
  box-shadow: var(--schatten-tinte);
  padding: 1.6rem;
  margin: 2.4rem 0;
}
@media (max-width: 560px) {
  .linkbox {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
}
.linkbox h3 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tinte);
  margin: 0 0 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--tinte);
}
.linkbox ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.linkbox li {
  margin-bottom: 0.65rem;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
}
.linkbox li:last-child {
  margin-bottom: 0;
}
.linkbox li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--stempel);
}
.linkbox .internal li::before {
  content: "\2192"; /* → */
}
.linkbox .external li::before {
  content: "\2197"; /* ↗ */
}
.linkbox a {
  text-decoration-color: var(--stempel);
}

/* ===================== Author box ===================== */
.author-box {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  background: #fff;
  border: 3px solid var(--tinte);
  box-shadow: var(--schatten);
  padding: 1.6rem;
  margin: 2.8rem 0 0.5rem;
}
.author-box img {
  width: 88px;
  height: 88px;
  flex: none;
  object-fit: cover;
  border: 2px solid var(--tinte);
  box-shadow: 5px 5px 0 var(--stempel);
}
.author-box .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 0.15rem 0 0;
}
.author-box .position {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--stempel);
  font-weight: 600;
  margin: 0.35rem 0 0.7rem;
}
.author-box p.bio {
  margin: 0;
  color: var(--tinte);
  font-size: 0.95rem;
  max-width: 62ch;
}
@media (max-width: 480px) {
  .author-box {
    flex-direction: column;
  }
}

/* ===================== FAQ — dark section ===================== */
.faq {
  background: var(--stempel-dunkel);
  color: var(--papier);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-top: 3px solid var(--tinte);
  /* faint dot grid on the dark surface */
  background-image: radial-gradient(
    rgba(244, 247, 251, 0.05) 1.1px,
    transparent 1.2px
  );
  background-size: 26px 26px;
}
.faq h2 {
  color: var(--papier);
  margin: 0 0 1.6rem;
  padding-bottom: 0.9rem;
  border-bottom: 3px solid var(--marker);
}
.faq h2::after {
  content: "· TESTSVAR";
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--marker);
  vertical-align: middle;
  margin-left: 0.6rem;
}
.faq-item {
  border: 2px solid rgba(244, 247, 251, 0.24);
  background: rgba(244, 247, 251, 0.03);
  margin-bottom: 0.75rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--papier);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--marker);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  flex: none;
}
.faq-item[open] {
  border-color: var(--marker);
}
.faq-item[open] summary::after {
  content: "\2212"; /* − */
}
.faq-item[open] summary {
  color: var(--marker);
}
.faq-item .answer {
  padding: 0 1.25rem 1.2rem;
  color: rgba(244, 247, 251, 0.82);
}
.faq-item .answer p {
  margin: 0;
  max-width: 74ch;
}
.faq-item .answer a {
  color: var(--marker);
  text-decoration-color: var(--marker);
}
.faq-item .answer a:hover {
  background: var(--marker);
  color: var(--tinte);
}
.faq strong {
  background: var(--marker);
  color: var(--tinte);
}

/* ===================== Footer ===================== */
.site-footer {
  background: var(--tinte);
  color: var(--papier);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.25rem;
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.footer-logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.footer-logo:hover {
  background: none;
  box-shadow: none;
}
.footer-logo img {
  height: 34px;
  width: auto;
  /* dark-ink wordmark rendered solid paper-white on the ink footer */
  filter: brightness(0) invert(1);
}
.footer-col p {
  color: rgba(244, 247, 251, 0.72);
  font-size: 0.92rem;
  margin: 1rem 0 0;
  max-width: 42ch;
}
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--papier);
  margin: 0 0 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(244, 247, 251, 0.2);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 0.6rem;
}
.footer-col a {
  color: rgba(244, 247, 251, 0.82);
  text-decoration: none;
  font-size: 0.94rem;
  text-decoration-color: var(--stempel);
}
.footer-col a:hover {
  background: var(--marker);
  color: var(--tinte);
  box-shadow: 0 0 0 2px var(--marker);
}

/* Responsible-gambling note (18+) */
.rg-note {
  position: relative;
  display: block;
  margin-top: 1.4rem;
  padding: 1rem 1.1rem 1rem 1.1rem;
  border: 2px dashed rgba(244, 247, 251, 0.42);
  background: transparent;
  font-size: 0.86rem;
  color: rgba(244, 247, 251, 0.78);
  max-width: 42ch;
}
.rg-note strong {
  display: inline-block;
  background: var(--marker);
  color: var(--tinte);
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  margin-right: 0.35rem;
  border: 1px solid var(--tinte);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 247, 251, 0.2);
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: rgba(244, 247, 251, 0.6);
}
.footer-bottom p {
  margin: 0 0 0.5rem;
  max-width: none;
}
.footer-disclaimer {
  font-size: 0.8rem;
}

/* ===================== Scroll reveal (JS-driven) ===================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===================== Reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===================== Print — clean dossier printout ===================== */
@media print {
  .site-header,
  .nav-toggle,
  .main-nav,
  .read-progress,
  aside,
  .toc,
  .site-footer,
  .hero-actions,
  .skip-link {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000;
    font-size: 11pt;
  }
  .hero::after {
    display: none;
  }
  .layout {
    display: block;
    padding: 0;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  strong {
    background: none;
    text-decoration: underline;
  }
  .callout,
  .table-wrap,
  .author-box,
  .procons-col,
  .article figure img,
  .linkbox,
  .hero-card {
    box-shadow: none !important;
    border-color: #000;
  }
  .callout::before {
    background: #000;
  }
  .faq {
    background: #fff;
    color: #000;
  }
  .faq h2,
  .faq-item summary {
    color: #000;
  }
  .faq-item {
    border-color: #000;
  }
  .faq-item .answer {
    color: #000;
  }
}
