/* ==========================================================================
   NZ Dollar Casino — main stylesheet
   Palette: graphite + neon green. Type: Inter.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0A0F18;
  --ink-2: #151D2B;
  --green: #008A45;
  --green-d: #006B35;
  --kowhai: #00F07A;
  --kowhai-d: #00D46B;
  --mist: #F2F4F7;
  --paper: #FFFFFF;
  --line: #E1E5EA;
  --text: #111827;
  --muted: #5B6472;
  --tint: #E8FBF1;
  --red: #D93A3A;
  --on-ink: #C7CFDA;
  --on-ink-muted: #8C96A5;

  --f-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-lg: 12px;
  --r-md: 8px;
  --r-sm: 6px;
  --header-h: 68px;
  --wrap: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--mist);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--kowhai); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--kowhai); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.2; margin: 0; }
h1 { font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); line-height: 1.12; letter-spacing: -0.025em; }
h2 { font-weight: 800; font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem); letter-spacing: -0.02em; }
h3 { font-weight: 700; font-size: clamp(1.08rem, 1.02rem + 0.3vw, 1.22rem); letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-md);
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-play { background: var(--kowhai); color: var(--ink); box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 4px 14px -4px rgba(0,240,122,.55); }
.btn-play:hover { background: var(--kowhai-d); color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 6px 22px -4px rgba(0,240,122,.75); }
.btn-play:active { transform: translateY(1px); box-shadow: none; }
.btn-sm { min-height: 38px; padding: 9px 14px; font-size: .85rem; border-radius: var(--r-sm); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 40px; height: 48px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav a {
  display: block; padding: 10px 14px; border-radius: var(--r-sm);
  color: #fff; font-weight: 600; font-size: .98rem; text-decoration: none;
}
.site-nav a:hover { background: var(--ink-2); color: #fff; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--kowhai); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-sm);
    background: transparent; cursor: pointer; padding: 0;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease;
  }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.08);
    padding: 8px 12px 16px; display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--kowhai); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-ink); padding: 40px 0 104px; border-top: 1px solid rgba(255,255,255,.04); }
.hero h1 { color: #fff; max-width: 22ch; }
.page-home .hero h1 { max-width: 24ch; }
.hero-lead { max-width: 68ch; margin-top: 18px; font-size: 1.08rem; }
.hero-lead p { margin: 0 0 12px; }
.hero-lead a { color: #fff; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .9rem; color: var(--on-ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,.35); }
.crumbs a { color: var(--on-ink); }

.byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.byline img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--kowhai); background: var(--ink-2); }
.byline p { margin: 0; line-height: 1.35; }
.byline-name { color: #fff; font-weight: 700; }
.byline-name a { color: #fff; }
.byline-meta { color: var(--on-ink-muted); font-size: .92rem; }
.byline-meta span { margin: 0 4px; }

/* ---------- Casino list ---------- */
.list-section { margin-top: -72px; position: relative; }
.casino-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.casino-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 215px 200px;
  grid-template-areas: "logo main meta cta";
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10,15,24,.05), 0 8px 24px -18px rgba(10,15,24,.35);
}
.casino-card.is-top { border: 2px solid var(--kowhai); box-shadow: 0 0 0 4px rgba(0,240,122,.12), 0 8px 24px -16px rgba(10,15,24,.35); }

.cc-logo { grid-area: logo; position: relative; background: var(--logo-bg, var(--ink)); min-height: 138px; }
.cc-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cc-rank {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--kowhai); color: var(--ink);
  font-family: var(--f-display); font-weight: 800; font-size: .95rem;
  box-shadow: 0 0 0 3px rgba(0,0,0,.25);
}
.cc-pick {
  position: absolute; bottom: 10px; left: 10px; z-index: 1;
  background: var(--paper); color: var(--ink); font-size: .74rem; font-weight: 700;
  padding: 3px 9px; border-radius: 99px;
}

.cc-main { grid-area: main; padding: 18px 22px; min-width: 0; }
.cc-name { margin: 0; font-weight: 700; color: var(--muted); font-size: .95rem; }
.cc-bonus { margin: 2px 0 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.18rem; line-height: 1.28; letter-spacing: -0.015em; color: var(--ink); }
.cc-feats { list-style: none; margin: 0; padding: 0; font-size: .93rem; line-height: 1.45; }
.cc-feats li { position: relative; padding-left: 24px; margin-top: 5px; }
.cc-feats li::before, .content .pc-pros li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

.cc-meta { grid-area: meta; padding: 18px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.cc-rating { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 4px; row-gap: 4px; }
.cc-score { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.cc-outof { color: var(--muted); font-weight: 600; font-size: .9rem; margin-right: 6px; }
.stars {
  position: relative; display: inline-block; width: 90px; height: 16px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M8 .8l2.1 4.4 4.8.6-3.5 3.3.9 4.8L8 11.6l-4.3 2.3.9-4.8L1.1 5.8l4.8-.6z' fill='%23D5E0DC'/%3E%3C/svg%3E") left/18px 16px repeat-x;
}
.stars-fill {
  position: absolute; inset: 0 auto 0 0; width: var(--fill);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M8 .8l2.1 4.4 4.8.6-3.5 3.3.9 4.8L8 11.6l-4.3 2.3.9-4.8L1.1 5.8l4.8-.6z' fill='%2300C964'/%3E%3C/svg%3E") left/18px 16px repeat-x;
}
.cc-facts { margin: 0; display: grid; gap: 6px; }
.cc-facts div { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; line-height: 1.3; }
.cc-facts dt { color: var(--muted); }
.cc-facts dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

.cc-cta { grid-area: cta; padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 8px; text-align: center; }
.cc-cta .btn { width: 100%; }
.cc-review { font-size: .9rem; font-weight: 600; }
.cc-terms { margin: 0; font-size: .74rem; color: var(--muted); line-height: 1.3; }

.list-note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }

@media (max-width: 1100px) {
  .casino-card {
    grid-template-columns: 200px minmax(0, 1fr) 210px;
    grid-template-areas: "logo main cta" "logo meta cta";
  }
  .cc-meta { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 22px; }
  .cc-facts { grid-auto-flow: column; gap: 18px; }
  .cc-facts div { flex-direction: column; gap: 0; }
  .cc-facts dd { text-align: left; }
  .cc-cta { border-left: 1px solid var(--line); }
}

/* Mobile: every card becomes the same vertical card */
@media (max-width: 720px) {
  .list-section { margin-top: -80px; padding-inline: 14px; }
  .casino-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "logo" "main" "meta" "cta";
  }
  .cc-logo { min-height: 0; height: 128px; }
  .cc-main { padding: 16px 18px 8px; }
  .cc-bonus { font-size: 1.15rem; }
  .cc-meta { margin: 8px 18px 0; padding: 12px 0; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 10px; }
  .cc-facts { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cc-cta { border-left: 0; padding: 4px 18px 18px; }
  .cc-cta .btn { min-height: 52px; font-size: 1.05rem; }
}

/* ---------- Main layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-top: 40px; padding-bottom: 48px; }
.content { min-width: 0; max-width: 780px; }

.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.toc, .side-top { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.toc summary { cursor: pointer; padding: 14px 18px; font-family: var(--f-display); font-weight: 800; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.toc[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.toc ol { list-style: none; margin: 0; padding: 0 10px 12px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.toc a::before { content: counter(toc); flex: 0 0 22px; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.toc a:hover, .toc a.is-active { background: var(--tint); color: var(--ink); box-shadow: inset 3px 0 0 var(--kowhai-d); }

.side-top { padding: 16px; }
.side-title { margin: 0 0 10px; font-family: var(--f-display); font-weight: 800; color: var(--ink); }
.side-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini { display: grid; grid-template-columns: 22px 64px minmax(0, 1fr); grid-template-areas: "rank logo body" "btn btn btn"; gap: 8px 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mini:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-rank { grid-area: rank; font-family: var(--f-display); font-weight: 800; color: var(--ink); text-align: center; }
.mini-logo { grid-area: logo; display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--logo-bg); }
.mini-logo img { width: 100%; height: 100%; object-fit: contain; }
.mini-body { grid-area: body; display: grid; line-height: 1.3; }
.mini-name { font-weight: 700; color: var(--ink); font-size: .9rem; }
.mini-bonus { font-size: .8rem; color: var(--muted); }
.mini .btn { grid-area: btn; width: 100%; }

@media (max-width: 1023px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
  .content { max-width: none; }
  .sidebar { display: none; }
}

/* ---------- Article content ---------- */
.content > * + * { margin-top: 1.05em; }
.content p, .content ul, .content ol { margin-bottom: 0; }
.content h2 { margin-top: .7em; padding-top: .5em; border-top: 1px solid var(--line); }
.content > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.content h3 { margin-top: 1.3em; }
.content h2 + p, .content h3 + p, .content h2 + h3 { margin-top: .6em; }
.content h2 + h3 { margin-top: 1.1em; }
.content ul, .content ol { padding-left: 1.3em; }
.content li + li { margin-top: .45em; }
.content li::marker { color: var(--green); }
.content strong { color: var(--ink); }
.content em { font-style: italic; }

/* Key takeaways + help */
.callout { border-radius: var(--r-lg); padding: 20px 22px; }
.callout ul { padding-left: 1.2em; margin-top: .6em; }
.callout-title { margin: 0; font-family: var(--f-display); font-weight: 800; color: var(--ink); font-size: 1.08rem; }
.callout-takeaways { background: var(--tint); border-left: 4px solid var(--kowhai); }
.callout-help { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--kowhai); }
.content .callout-help h3 { margin-top: 0; }
.callout-help a { font-weight: 700; white-space: nowrap; }

/* Reviews */
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.content .review { margin-top: 18px; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.review-logo { width: 160px; flex-shrink: 0; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; background: var(--logo-bg); }
.review-logo img { width: 100%; height: 100%; object-fit: contain; }
.review-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.review-rating .cc-outof { margin-right: 0; }
.review h3 { margin-top: 16px; }
.review p { margin-top: 8px; }
.review-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.review-foot .cc-facts { grid-template-columns: repeat(3, auto); gap: 18px; justify-content: start; }
.review-foot .cc-facts div { flex-direction: column; gap: 1px; }
.review-foot .cc-facts dd { text-align: left; }
.review-cta { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.review-cta .btn { min-width: 170px; }
@media (max-width: 640px) {
  .review { padding: 16px; }
  .review-logo { width: 128px; }
  .review-foot { grid-template-columns: 1fr; }
  .review-foot .cc-facts { grid-template-columns: 1fr; gap: 8px; }
  .review-foot .cc-facts div { flex-direction: row; justify-content: space-between; }
  .review-foot .cc-facts dd { text-align: right; }
  .review-cta .btn { width: 100%; min-height: 52px; }
}

/* Pros / cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pc-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.content .pc-box h3 { margin-top: 0; font-size: 1.08rem; }
.pc-title { margin: 0; font-family: var(--f-display); font-weight: 800; color: var(--ink); }
.pc-pros { border-top: 3px solid var(--kowhai-d); }
.pc-cons { border-top: 3px solid var(--red); }
.content .pc-box ul { list-style: none; padding: 0; margin-top: 10px; }
.content .pc-box li { position: relative; padding-left: 26px; font-size: .97rem; }
.content .pc-cons li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8h7' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.content .pc-pros li::before { top: .3em; }
@media (max-width: 640px) { .proscons { grid-template-columns: 1fr; } }

/* Steps (ordered lists are real sequences) */
.content ol.steps { list-style: none; padding: 0; counter-reset: step; }
.content ol.steps > li { counter-increment: step; position: relative; padding: 2px 0 2px 48px; min-height: 34px; }
.content ol.steps > li + li { margin-top: 12px; }
.content ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--kowhai); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: .95rem;
}

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; vertical-align: top; }
.data-table thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .86rem; white-space: nowrap; box-shadow: inset 0 -2px 0 var(--kowhai); }
.data-table tbody tr + tr td { border-top: 1px solid var(--line); }
.data-table tbody tr:nth-child(even) td { background: #F8F9FB; }
.data-table td:first-child { font-weight: 700; color: var(--ink); }

@media (max-width: 640px) {
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tbody { display: grid; gap: 10px; }
  .data-table tr { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
  .data-table tbody tr + tr td { border-top: 0; }
  .data-table tbody tr:nth-child(even) td { background: transparent; }
  .data-table td { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 12px; padding: 9px 14px; border-top: 1px solid var(--line); }
  .data-table td::before { content: attr(data-label); color: var(--muted); font-weight: 600; font-size: .85rem; }
  .data-table td:first-child { display: block; background: var(--tint) !important; border-top: 0; font-family: var(--f-display); font-size: 1rem; }
  .data-table td:first-child::before { content: none; }
}

/* Figures */
.figure { margin: 1.6em 0 0; }
.figure img { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.figure figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14h10M14 9v10' stroke='%230F2E2B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.content .faq-q { margin: 0; font-size: 1.05rem; }
.faq-a { padding: 0 0 16px; }
.faq-a p { margin: 0; }
.faq-a p + p { margin-top: .8em; }

/* Author box */
.author-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.content .author-box { margin-top: 1.6em; }
.author-box img { border-radius: 50%; }
.author-box p { margin: 0; }
.author-name { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.author-role { color: var(--green); font-weight: 600; margin-bottom: 8px !important; }
@media (max-width: 520px) { .author-box { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; } .author-box img { width: 64px; height: 64px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.footer-brand img { width: 217px; }
.footer-brand p { margin: 14px 0 0; max-width: 40ch; }
.footer-title { margin: 0 0 10px; font-family: var(--f-display); font-weight: 800; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: var(--on-ink-muted); }
.footer-legal p { margin: 0 0 8px; }
.age-badge { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 8px; border-radius: 50%; border: 2px solid var(--red); color: #fff; font-weight: 800; font-size: .8rem; vertical-align: middle; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Small screens: general ---------- */
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .wrap { padding-inline: 16px; }
  .hero { padding: 26px 0 100px; }
  .hero-lead { font-size: 1rem; }
}

/* ---------- Refinements ---------- */
.cc-logo { box-shadow: inset -1px 0 0 var(--line); }
.review-logo { box-shadow: inset 0 0 0 1px var(--line); }
.mini-logo { box-shadow: inset 0 0 0 1px var(--line); }
.rr-num { display: inline-flex; align-items: baseline; gap: 3px; }

.lead-more { display: none; }
@media (min-width: 1100px) {
  .hero { padding-top: 48px; }
  .hero-in {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 56px;
    grid-template-areas: "crumbs crumbs" "title lead" "byline lead";
    grid-template-rows: auto auto 1fr;
  }
  .crumbs { grid-area: crumbs; }
  .hero h1, .page-home .hero h1 { grid-area: title; max-width: none; }
  .hero-lead { grid-area: lead; margin-top: 4px; font-size: 1rem; align-self: start; }
  .byline { grid-area: byline; align-self: start; }
}
@media (max-width: 720px) {
  .cc-logo { box-shadow: inset 0 -1px 0 var(--line); }
  .js .hero-lead.is-clamped { position: relative; max-height: 9.9em; overflow: hidden; }
  .js .hero-lead.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.3em; background: linear-gradient(rgba(10,15,24,0), var(--ink)); }
  .js .lead-more {
    display: inline-flex; margin-top: 6px; padding: 6px 0; background: none; border: 0; cursor: pointer;
    color: #fff; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
  }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .cc-facts dt, .cc-facts dd { white-space: nowrap; }
  .cc-meta { flex-wrap: wrap; row-gap: 8px; }
}
