/* casumo-fi.co — SITE_FINGERPRINT "Kolikkorata"
   Palette + typography mirrored from the Casumo brand system:
   deep violet base, turquoise primary accent, warm gold secondary, rounded display type. */

:root {
  --bg: #170a2e;
  --bg-deep: #10061f;
  --surface: #21103f;
  --surface-2: #2c1754;
  --surface-3: #3a1f6c;
  --line: #40276e;
  --line-soft: #33205a;

  --text: #f3edff;
  --text-dim: #bdaede;
  --text-mute: #9184b3;

  --accent: #23e0c4;
  --accent-deep: #00b39a;
  --accent-soft: rgba(35, 224, 196, 0.14);
  --gold: #ffc83b;
  --gold-deep: #d49410;
  --pink: #ff6fae;

  --ok: #4ade80;
  --warn: #ffb020;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 46px rgba(8, 2, 22, 0.55);
  --maxw: 1180px;

  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Grid and flex children default to min-width:auto, which lets wide content
   (tables, long Finnish compounds) push a track past the viewport. Every grid
   track in this sheet uses minmax(0, …) and every flex/grid child gets min-width:0. */
html, body { max-width: 100%; overflow-x: clip; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(58, 31, 108, 0.85), transparent 62%),
    radial-gradient(760px 460px at 4% 12%, rgba(35, 224, 196, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  overflow-wrap: break-word;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  color: #fff;
  margin: 0 0 .55em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.95rem, 4.4vw, 3.05rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); margin-top: 2.1em; }
h3 { font-size: clamp(1.16rem, 2vw, 1.33rem); margin-top: 1.7em; }
p { margin: 0 0 1.05em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(16, 6, 31, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.head-row { display: flex; align-items: center; gap: 10px; height: 66px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; min-width: 0; }
.brand img { height: 28px; width: auto; max-width: 100%; }
.brand b { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }

.nav {
  margin-left: auto; display: flex; align-items: center; gap: 2px;
  flex-wrap: nowrap; min-width: 0; flex: 1 1 auto; justify-content: flex-end;
}
.nav a {
  color: var(--text-dim); font-size: .79rem; font-weight: 600;
  padding: 5px 7px; border-radius: 999px; white-space: nowrap; flex: 0 0 auto;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { color: #fff; background: var(--surface-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--bg-deep); background: var(--accent); }

.head-cta { flex: 0 0 auto; margin-left: 4px; }
.nav-toggle { display: none; }

@media (max-width: 1280px) {
  .nav { display: none; width: 100%; order: 4; flex-wrap: wrap; justify-content: flex-start; }
  .head-row { flex-wrap: wrap; height: auto; min-height: 64px; padding: 10px 0; gap: 10px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 7px; margin-left: auto;
    background: var(--surface-2); border: 1px solid var(--line); color: #fff;
    border-radius: 10px; font: 600 .9rem/1 var(--font-body);
    padding: 10px 14px; cursor: pointer; flex: none; order: 2;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle::before {
    content: ""; width: 15px; height: 11px; flex: none;
    border-top: 2px solid currentColor; border-bottom: 2px solid currentColor;
    box-shadow: inset 0 0 0 1px transparent, 0 4px 0 -1px currentColor;
  }
  #navbox:checked ~ .nav { display: flex; flex-direction: column; padding-bottom: 8px; gap: 2px; }
  #navbox:focus-visible ~ .nav-toggle { outline: 2px solid var(--accent); outline-offset: 2px; }
  .head-cta { order: 3; flex: none; margin-left: 0; }
  .nav a { padding: 10px 14px; font-size: .95rem; width: 100%; border-radius: 10px; }
}

@media (max-width: 440px) {
  .brand img { height: 26px; }
  .head-cta { display: none; }
  .nav-toggle { padding: 9px 12px; }
}
#navbox { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-main {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #06231f; box-shadow: 0 10px 26px rgba(35, 224, 196, 0.3);
}
.btn-gold {
  background: linear-gradient(135deg, #fff1a8 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #3a2600; box-shadow: 0 10px 26px rgba(255, 200, 59, 0.26);
}
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-sm { padding: 9px 17px; font-size: .9rem; }
.btn-wide { width: 100%; }

/* ---------- centered hero header (all pages) ---------- */
.hero-header-section {
  position: relative; overflow: hidden; text-align: center;
  border-bottom: 1px solid var(--line-soft);
  padding: 54px 0 42px;
}
.hero-header-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../foto/hero-bg.jpg");
  background-size: cover; background-position: center 35%;
  opacity: .85;
}
.hero-header-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(23, 10, 46, 0.4) 0%, rgba(16, 6, 31, 0.82) 80%),
    linear-gradient(180deg, rgba(16, 6, 31, 0.5) 0%, rgba(16, 6, 31, 0.95) 100%);
}
.hero-header-section .wrap { position: relative; z-index: 1; }
.hero-header-in { max-width: 860px; margin: 0 auto 30px; }

.hero-header-section .crumbs {
  font-size: .86rem; color: #d6cbff; margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.hero-header-section .crumbs a { color: var(--accent); font-weight: 600; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 700; color: #fff; line-height: 1.18;
  margin: 0 0 20px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85), 0 2px 4px rgba(0, 0, 0, 0.9);
  letter-spacing: -0.01em;
}

/* Centered Offer Box */
.hero-offer-badge {
  display: inline-block;
  background: rgba(26, 11, 52, 0.78);
  border: 1px solid rgba(255, 200, 59, 0.6);
  border-left: 5px solid var(--gold);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 12px 32px; margin: 0 0 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 200, 59, 0.2);
}
.hero-offer-label {
  display: block; font-size: .75rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 3px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.hero-offer-value {
  font-family: var(--font-display); font-size: 1.45rem;
  font-weight: 700; color: #fff; line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-description {
  font-size: 1.12rem; color: #e4daff;
  max-width: 68ch; margin: 0 auto 28px; line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-action-box { margin-bottom: 16px; }
.hero-action-btn {
  font-size: 1.18rem; padding: 17px 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff1a8 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #2b1c00; font-weight: 800;
  box-shadow: 0 12px 36px rgba(255, 200, 59, 0.45), 0 0 20px rgba(255, 200, 59, 0.25);
  transition: transform .15s ease, box-shadow .15s ease;
  letter-spacing: 0.01em;
}
.hero-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(255, 200, 59, 0.65);
  text-decoration: none;
}

.hero-disclaimer {
  font-size: .86rem; color: var(--text-dim); margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

@media (max-width: 640px) {
  .hero-header-section { padding: 36px 0 28px; }
  .hero-title { font-size: 1.75rem; }
  .hero-offer-badge { padding: 10px 18px; width: 100%; }
  .hero-offer-value { font-size: 1.15rem; }
  .hero-description { font-size: 1.02rem; }
  .hero-action-btn { font-size: 1.05rem; width: 100%; padding: 15px 20px; }
}

/* In-Content Feature Offer Box */
.feature-offer-box {
  background: linear-gradient(135deg, rgba(58, 31, 108, 0.95), rgba(33, 16, 63, 0.98));
  border: 1px solid rgba(35, 224, 196, 0.4);
  box-shadow: 0 10px 30px rgba(8, 2, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: var(--radius); padding: 22px 26px; margin: 0 0 2.2em;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; overflow: hidden;
}
.feature-offer-box::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(35, 224, 196, 0.2), transparent 70%);
  pointer-events: none;
}
.fo-main { min-width: 0; flex: 1; }
.fo-tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(35, 224, 196, 0.3); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}
.fo-main h3 { font-size: 1.18rem; margin: 0 0 6px; color: #fff; line-height: 1.25; }
.fo-main p { font-size: .9rem; color: var(--text-dim); margin: 0; }
.fo-side { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fo-side small { font-size: .75rem; color: var(--text-mute); }
@media (max-width: 720px) {
  .feature-offer-box { flex-direction: column; align-items: stretch; text-align: center; padding: 18px; }
  .fo-side { width: 100%; }
  .fo-side .btn { width: 100%; }
}

/* ---------- fact strip ---------- */
.factstrip {
  /* Sits next to .hero-in inside the hero .wrap. .hero-art is absolutely
     positioned, so without its own stacking position the strip paints beneath
     the artwork and the values become unreadable. */
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; margin: 26px 0 0;
}
.factstrip > div { background: var(--surface); padding: 16px 18px; }
.factstrip dt, .factstrip .k {
  font-size: .74rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700; margin-bottom: 4px;
}
.factstrip .v { font-family: var(--font-display); font-size: 1.22rem; color: var(--gold); line-height: 1.25; }
.factstrip > div { min-width: 0; }
.factstrip .k, .factstrip .v { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .factstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factstrip > div { padding: 13px 14px; }
  .factstrip .v { font-size: 1.08rem; }
}
/* Keep two columns all the way down to 320px — a single stacked column pushed
   the whole first viewport below the fold on a 375px phone. */
@media (max-width: 420px) {
  .factstrip > div { padding: 11px 12px; }
  .factstrip .k { font-size: .68rem; letter-spacing: .05em; }
  .factstrip .v { font-size: .98rem; }
}

/* ---------- layout: content + sticky aside ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 42px; padding-block: 34px 60px; align-items: start; }
.layout > * { min-width: 0; }
@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 26px 48px; }
}
.aside { position: sticky; top: 88px; display: grid; gap: 18px; min-width: 0; }
@media (max-width: 980px) { .aside { position: static; } }

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.panel h2, .panel h3 { margin-top: 0; font-size: 1.06rem; }
.panel ul { margin: 0; padding-left: 18px; }
.panel li { margin-bottom: 7px; font-size: .93rem; color: var(--text-dim); }
.panel-gold { border-color: rgba(255, 200, 59, .38); background: linear-gradient(165deg, #34205c, var(--surface)); }

.kv { list-style: none; margin: 0; padding: 0; }
.kv li {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 9px 0; border-bottom: 1px dashed var(--line-soft); font-size: .92rem;
}
.kv li > * { min-width: 0; }
.kv li:last-child { border-bottom: 0; }
.kv span { color: var(--text-mute); }
.kv b { color: var(--text); font-weight: 700; text-align: right; }

/* ---------- answer-first block ---------- */
.vastaus {
  background: linear-gradient(120deg, rgba(35, 224, 196, .12), rgba(35, 224, 196, .03));
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 15px 20px; margin: 0 0 1.25em;
}
.vastaus p { margin: 0; font-size: 1.03rem; }
.vastaus strong { color: #fff; }

.huom {
  background: rgba(255, 176, 32, .09); border-left: 4px solid var(--warn);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 20px; margin: 1.4em 0;
  font-size: .96rem; color: var(--text-dim);
}
.huom strong { color: var(--gold); }

/* ---------- tables ---------- */
.tablewrap {
  overflow-x: auto; margin: 1.4em 0; border-radius: var(--radius);
  border: 1px solid var(--line); max-width: 100%;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  /* Classic scroll-shadow: the `local` layers sit on the scrolling content and
     hide the fixed shadow once the user reaches that edge. Gives the sideways
     scroll a visible affordance on phones without any JS. */
  background:
    linear-gradient(to right, var(--surface) 30%, rgba(33, 16, 63, 0)) left center / 34px 100% no-repeat local,
    linear-gradient(to left, var(--surface) 30%, rgba(33, 16, 63, 0)) right center / 34px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(8, 2, 22, .6), rgba(8, 2, 22, 0)) left center / 16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(8, 2, 22, .6), rgba(8, 2, 22, 0)) right center / 16px 100% no-repeat scroll;
}
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
@media (max-width: 620px) {
  table { font-size: .88rem; min-width: 460px; }
  th, td { padding: 10px 12px; }
}
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { background: var(--surface-2); font-family: var(--font-display); font-weight: 600; color: #fff; font-size: .92rem; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(44, 23, 84, .38); }
td b { color: var(--gold); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- lists ---------- */
.content { min-width: 0; }
.content p, .content li, .content h2, .content h3 { overflow-wrap: break-word; }
.content ul, .content ol { margin: 0 0 1.2em; padding-left: 22px; }
.content li { margin-bottom: .5em; }
.content ol li::marker { color: var(--accent); font-weight: 700; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.3em 0; }
.steps li {
  counter-increment: s; position: relative; padding: 0 0 16px 52px; margin: 0 0 0 15px;
  border-left: 2px solid var(--line); min-width: 0; overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .steps li { padding-left: 42px; margin-left: 13px; }
  .steps li::before { width: 28px; height: 28px; left: -15px; font-size: .9rem; }
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: -16px; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-3); border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--font-display); font-weight: 600; display: grid; place-items: center;
}
.steps li b { display: block; color: #fff; font-family: var(--font-display); margin-bottom: 2px; }

/* ---------- game grid ---------- */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(158px, 100%), 1fr)); gap: 14px; margin: 1.5em 0; }
.game-card { min-width: 0; }
.game-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
}
.game-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.game-card .gc-body { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game-card h3 { font-size: .97rem; margin: 0; line-height: 1.25; }
.game-card .gc-meta { font-size: .79rem; color: var(--text-mute); }
.game-card p { font-size: .84rem; color: var(--text-dim); margin: 0; }

/* On phones a poster-grid card becomes ~700px tall, because each card carries a
   real description rather than a one-line label. Switching to a horizontal list
   card keeps every word visible (no line-clamping) at a workable height. */
@media (max-width: 560px) {
  .games { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .game-card { flex-direction: row; align-items: stretch; }
  .game-card img {
    width: 92px; flex: none; aspect-ratio: 2 / 3; height: auto; align-self: flex-start;
  }
  .game-card .gc-body { padding: 11px 13px 12px; gap: 4px; }
  .game-card h3 { font-size: .98rem; }
  .game-card p { font-size: .84rem; line-height: 1.5; }
}

/* ---------- provider / chip rows ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2em 0; padding: 0; list-style: none; }
.chips li {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: .87rem; color: var(--text-dim); margin: 0;
}

/* ---------- cards row ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin: 1.5em 0; }
.card { min-width: 0; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .ico { font-size: 1.6rem; line-height: 1; margin-bottom: 10px; display: block; }

/* ---------- FAQ ---------- */
.faq { margin: 1.4em 0; display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px;
}
.faq summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--text-dim); font-size: .96rem; }
.faq details p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.ctaband {
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
  border: 1px solid rgba(255, 200, 59, .28); border-radius: var(--radius);
  padding: 28px; margin: 2.2em 0 1em; text-align: center;
}
.ctaband h2 { margin-top: 0; }
.ctaband p { color: var(--text-dim); max-width: 60ch; margin-inline: auto; }
.ctaband .btn { margin-top: 8px; }
.ctaband small { display: block; margin-top: 12px; color: var(--text-mute); font-size: .8rem; }

/* ---------- related links ---------- */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 12px; margin: 1.6em 0 0; }
.related a {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px; color: var(--text);
}
.related a:hover { border-color: var(--accent); text-decoration: none; }
.related a b { display: block; font-family: var(--font-display); color: #fff; margin-bottom: 2px; }
.related a span { font-size: .85rem; color: var(--text-mute); }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line-soft); background: var(--bg-deep);
  padding: 40px 0; margin-top: 30px; font-size: .9rem; color: var(--text-mute);
}
@media (max-width: 780px) {
  /* Clear the sticky CTA bar plus the safe-area inset. */
  .site-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-grid > * { min-width: 0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.foot-grid h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 7px; }
.foot-grid a { color: var(--text-mute); }
.foot-grid a:hover { color: var(--accent); }
.foot-legal { border-top: 1px solid var(--line-soft); margin-top: 28px; padding-top: 20px; font-size: .82rem; line-height: 1.6; }
.agelimit {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--pink); color: var(--pink); font-weight: 800; font-size: .8rem;
  margin-right: 10px; vertical-align: middle; font-family: var(--font-display);
}

/* ---------- sticky mobile CTA ---------- */
.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(16, 6, 31, .96); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none; gap: 12px; align-items: center;
  backdrop-filter: blur(10px);
}
.stickycta .sc-txt { min-width: 0; }
.stickycta .sc-txt { font-size: .82rem; color: var(--text-dim); line-height: 1.3; }
.stickycta .sc-txt b { display: block; color: var(--gold); font-family: var(--font-display); font-size: .98rem; }
.stickycta .btn { flex: none; }
@media (max-width: 780px) { .stickycta { display: flex; } }

/* ---------- misc ---------- */
.updated { font-size: .82rem; color: var(--text-mute); margin-top: 22px; }

/* ---------- small-screen refinements ---------- */
@media (max-width: 620px) {
  body { font-size: 16px; }
  .page-head { padding: 24px 0 22px; }
  .ctaband { padding: 22px 18px; }
  .ctaband .btn { width: 100%; }
  .panel { padding: 17px; }
  .faq summary { font-size: .98rem; }
  .faq details { padding: 13px 15px; }
  .toc { padding: 15px 18px; }
  h2 { margin-top: 1.7em; }
  .content > section { scroll-margin-top: 70px; }
}

/* Comfortable touch targets on coarse pointers (WCAG 2.5.8). */
@media (pointer: coarse) {
  .btn { padding: 14px 24px; }
  .btn-sm { padding: 11px 17px; }
  .nav a, .faq summary, .related a { min-height: 44px; }
  .faq summary { align-items: center; }
  .related a { display: flex; flex-direction: column; justify-content: center; }
  .toc li { margin-bottom: 9px; }
  .foot-grid a { display: inline-block; padding: 3px 0; }
}
.content > section { scroll-margin-top: 84px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 2em; }
.toc h2 { margin: 0 0 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-dim); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 26px; }
@media (max-width: 620px) { .toc ol { columns: 1; } }
.toc li { margin-bottom: 5px; font-size: .93rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
