/* Rumblekite Games — site styles. No build step: edit and deploy. */

@font-face {
  font-family: "Lilita One";
  src: url("/fonts/lilita-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("/fonts/rubik-latin-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e0a1f;          /* outlines and the darkest shade */
  --night: #261e4f;        /* page background */
  --night-2: #32296a;      /* raised panels */
  --night-3: #43378a;
  --text: #f6f1ff;
  --muted: #cfc6ee;
  --gold: #ffc43d;
  --gold-2: #ffdb7a;
  --ember: #ff7a2f;
  --ember-deep: #b8361a;
  --frost: #8fdcff;
  --frost-2: #c9efff;
  --frost-deep: #2b5aa6;
  --cream: #fff7e6;
  --paper-ink: #241c3f;
  --radius: 18px;
  --line: 3px;
  --pop: 0 6px 0 var(--ink);
  --head: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.08; letter-spacing: .01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

:focus-visible {
  /* two-tone ring: the dark outline shows on cream/white/frost surfaces,
     the frost halo shows on the dark night surfaces */
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--frost);
  border-radius: 6px;
}


.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); font-weight: 700;
  padding: 10px 16px; border: var(--line) solid var(--ink); border-radius: 12px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.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;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(30, 23, 64, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--line) solid var(--ink);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 68px; flex-wrap: nowrap;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; border-radius: 10px; }
.brand { flex: 0 1 auto; min-width: 0; }
.brand svg { display: block; height: 44px; width: auto; max-width: 100%; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 1rem var(--body); color: var(--text);
  background: var(--night-3); border: var(--line) solid var(--ink);
  border-radius: 12px; padding: 8px 14px; cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 18px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle { flex: 0 0 auto; }
.nav-toggle .bars::before { top: -6px; transition: transform .15s ease, top .15s ease; }
.nav-toggle .bars::after { top: 6px; transition: transform .15s ease, top .15s ease; }
.nav-toggle[aria-expanded="true"] { background: var(--night); box-shadow: 0 1px 0 var(--ink); transform: translateY(2px); }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .nav-toggle .bars::before, .nav-toggle .bars::after { transition: none; } }
@media (max-width: 359px) {
  .brand svg { height: 38px; }
  .nav-toggle { padding: 8px 12px; }
}
.js .site-nav { display: none; }
.no-js .nav-toggle { display: none; }
.no-js .site-nav { width: 100%; padding-bottom: 8px; }
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--night-2); border-bottom: var(--line) solid var(--ink);
  padding: 8px 20px 18px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 12px 6px; color: var(--text); text-decoration: none;
  font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav, .site-nav.open { display: block; width: auto; position: static; background: none; border: 0; padding: 0; }
  .site-nav ul { display: flex; gap: 6px; align-items: center; }
  .site-nav a { border: 0; padding: 8px 14px; border-radius: 10px; }
  .site-nav a:hover { background: rgba(255,255,255,.06); }
  .site-nav .nav-cta a {
    background: var(--gold); color: var(--ink); border: var(--line) solid var(--ink);
    box-shadow: 0 3px 0 var(--ink); margin-left: 6px;
  }
  .site-nav .nav-cta a:hover { background: var(--gold-2); color: var(--ink); }
}

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-size: 1.2rem; letter-spacing: .02em;
  text-decoration: none; color: var(--ink);
  background: var(--gold); border: var(--line) solid var(--ink); border-radius: 14px;
  padding: 12px 24px; box-shadow: var(--pop);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { color: var(--ink); background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn-frost { background: var(--frost); }
.btn-frost:hover { background: var(--frost-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; list-style: none; }
.chip {
  display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--night-3); color: var(--text);
}
.chip-gold { background: var(--gold); color: var(--ink); }
.chip-frost { background: var(--frost); color: var(--ink); }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--cream); border: 2px solid var(--ink); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 16px; box-shadow: 0 3px 0 var(--ink);
}
@media (max-width: 399px) { .eyebrow { font-size: .72rem; letter-spacing: .07em; padding: 5px 12px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: #f0a070 url("/img/sky-hero-tall.webp") center top / cover no-repeat;
  border-bottom: var(--line) solid var(--ink);
}
@media (min-width: 820px) {
  .hero { background-image: url("/img/sky-hero.webp"); background-position: center 30%; }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 38%, rgba(20,15,45,.62), rgba(20,15,45,.2) 70%, transparent),
    linear-gradient(180deg, rgba(38,30,79,.25) 0%, rgba(38,30,79,0) 30%, rgba(38,30,79,.55) 78%, var(--night) 100%);
}
.hero-inner {
  display: grid; justify-items: center; text-align: center;
  padding: 56px 0 0;
}
.hero h1 {
  font-size: clamp(2.5rem, 8.5vw, 5.2rem);
  color: var(--cream);
  text-shadow: 0 4px 0 var(--ink), 0 0 24px rgba(23,18,46,.6);
  max-width: 14ch; margin-bottom: .35em;
}
.hero h1 .ember { color: var(--gold); }
.hero h1 .frost { color: var(--frost); }
.hero .lede {
  max-width: 40rem; font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: #fff; text-shadow: 0 2px 6px rgba(23,18,46,.85);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 8px 0 6px; }
.hero-note { font-size: .95rem; color: var(--cream); text-shadow: 0 1px 4px rgba(23,18,46,.9); margin-top: 12px; }
.duel {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  width: min(100%, 980px); margin: 18px auto 0; gap: 0;
}
.duel img { width: 100%; max-width: 360px; filter: drop-shadow(0 18px 18px rgba(23,18,46,.45)); }
.duel .keep-ember { justify-self: end; animation: bob 6s ease-in-out infinite; }
.duel .keep-frost { justify-self: start; animation: bob 6s ease-in-out -3s infinite; }
.vs {
  align-self: center; margin-bottom: 40px;
  font-family: var(--head); font-size: clamp(1.4rem, 4vw, 2.4rem); color: var(--ink);
  width: clamp(56px, 11vw, 92px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; border: var(--line) solid var(--ink);
  background: conic-gradient(from 180deg, var(--frost) 0 50%, var(--gold) 50% 100%);
  box-shadow: var(--pop);
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .duel img { animation: none !important; } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 46rem; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream); text-shadow: 0 3px 0 var(--ink);
}
.section h3 { font-size: 1.5rem; }
.kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--gold); margin-bottom: 10px; }
.kicker.frost { color: var(--frost); }
.lead { font-size: 1.15rem; color: var(--muted); }

.section.game { padding-bottom: 48px; }
.section.game + .section { padding-top: 56px; }
.game { background:
  radial-gradient(ellipse 60% 50% at 0% 0%, rgba(255,122,47,.16), transparent 70%),
  radial-gradient(ellipse 50% 40% at 100% 45%, rgba(143,220,255,.12), transparent 70%),
  var(--night); }

.game-intro { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .game-intro { grid-template-columns: 1.1fr .9fr; } }
.game-title {
  display: inline-block;
  font-size: clamp(2.8rem, 9vw, 5rem) !important;
  margin-bottom: .2em !important;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 45%, var(--frost-2) 55%, var(--frost) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 4px 0 var(--ink));
}
.wt { font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; display: block; margin: -6px 0 18px; }
.offer-art {
  border: var(--line) solid var(--ink); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 0 var(--ink); background: var(--night-2);
  display: grid; grid-template-columns: 1fr 1fr; align-items: end;
  padding: 18px 10px 0;
  background:
    linear-gradient(90deg, rgba(255,122,47,.35), rgba(255,122,47,0) 50%, rgba(143,220,255,0) 50%, rgba(143,220,255,.35)),
    var(--night-2);
}
.offer-art img { margin-inline: auto; max-height: 300px; width: auto; }

/* rounds */
.rounds { display: grid; gap: 22px; margin-top: 56px; }
@media (min-width: 820px) { .rounds { grid-template-columns: 1fr 1fr; } }
.round {
  position: relative; border: var(--line) solid var(--ink); border-radius: var(--radius);
  padding: 26px 24px 22px; box-shadow: var(--pop);
}
.round-defend { background: linear-gradient(160deg, #3a2a5e, #2a2050); }
.round-raid { background: linear-gradient(160deg, #24386b, #1f2a55); }
.round .tag {
  position: absolute; top: -16px; left: 20px;
  font-family: var(--head); font-size: 1rem; letter-spacing: .04em; color: var(--ink);
  background: var(--gold); border: var(--line) solid var(--ink); border-radius: 10px; padding: 2px 12px;
}
.round-raid .tag { background: var(--frost); }
.round h3 { color: var(--cream); margin-top: 8px; }
.round p { color: var(--muted); }
.unit-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; margin-top: 10px; }
.unit-row.three { grid-template-columns: repeat(3, 1fr); }
.unit-row figure { margin: 0; text-align: center; }
.unit-row img { margin-inline: auto; max-height: 110px; width: auto; filter: drop-shadow(0 6px 4px rgba(0,0,0,.35)); }
.unit-row figcaption { font-size: .82rem; font-weight: 600; color: var(--text); margin-top: 6px; white-space: nowrap; }
@media (max-width: 400px) { .unit-row figcaption { font-size: .74rem; } }
.swap {
  text-align: center; margin: 26px auto 0; font-weight: 600; color: var(--cream);
  display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
}
.swap span[aria-hidden] { font-size: 1.4rem; color: var(--gold); }

/* factions */
.factions { display: grid; gap: 22px; }
@media (min-width: 820px) { .factions { grid-template-columns: 1fr 1fr; } }
.faction {
  display: flex; flex-direction: column; border: var(--line) solid var(--ink); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--pop);
}
.faction-art { display: flex; align-items: flex-end; justify-content: center; padding: 22px 12px 0; height: clamp(210px, 52vw, 280px); }
.faction-art .keep { height: 94%; width: auto; max-width: 64%; object-fit: contain; object-position: bottom; }
.faction-art .unit { height: 52%; width: auto; max-width: 34%; object-fit: contain; object-position: bottom; margin-left: -7%; }
.faction-body { flex: 1; padding: 20px 24px 24px; background: var(--night-2); border-top: var(--line) solid var(--ink); }
.faction-body h3 { font-size: 2rem; margin-bottom: .2em; }
.faction-body p { color: var(--muted); margin: 0; }
.faction.ember .faction-art { background: radial-gradient(ellipse at 50% 100%, #ffb15c, #c8401c 70%, #7a2412); }
.faction.ember h3 { color: var(--gold); }
.faction.frost .faction-art { background: radial-gradient(ellipse at 50% 100%, #e6f7ff, #5aa8e6 60%, #1f3f7a); }
.faction.frost h3 { color: var(--frost); }
.swatches { display: flex; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.swatches li { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); }

/* heroes */
.heroes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .heroes { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.hero-card {
  margin: 0; border: var(--line) solid var(--ink); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--pop); background: var(--night-2); display: flex; flex-direction: column;
}
.hero-card .art { padding: 14px 10px 0; aspect-ratio: 3 / 4; min-height: 0; overflow: hidden; }
.hero-card img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 6px rgba(0,0,0,.35)); }
.hero-card.warm .art { background: linear-gradient(180deg, #ffcf7a 0%, #e8622d 100%); }
.hero-card.cool .art { background: linear-gradient(180deg, #e3f6ff 0%, #4f8fd8 100%); }
.hero-card figcaption {
  font-family: var(--head); font-size: clamp(1.1rem, 2.6vw, 1.45rem); text-align: center;
  padding: 12px 8px; border-top: var(--line) solid var(--ink); color: var(--cream);
}

/* why */
.why { background: var(--night-2); border-block: var(--line) solid var(--ink); }
.why-grid { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-grid li {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start;
  background: var(--night); border: var(--line) solid var(--ink); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 4px 0 var(--ink);
}
.why-grid img { width: 64px; height: 64px; object-fit: contain; }
.why-grid h3 { font-size: 1.3rem; margin-bottom: .3em; color: var(--cream); }
.why-grid p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 420px) {
  .why-grid li { grid-template-columns: 1fr; gap: 10px; }
  .why-grid img { width: 48px; height: 48px; }
}

/* studio */
.studio-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .studio-grid { grid-template-columns: 1.2fr .8fr; } }
.studio-art { position: relative; display: grid; place-items: center; }
.studio-art::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,196,61,.35), rgba(143,220,255,.12) 60%, transparent 72%);
}
.studio-art img { position: relative; width: min(200px, 60%); }
@media (min-width: 900px) { .studio-art img { width: min(320px, 80%); } }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; align-items: baseline; color: var(--muted); }
.facts li::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 3px; transform: rotate(45deg) translateY(-1px); background: var(--gold); border: 2px solid var(--ink); }
.facts li:nth-child(even)::before { background: var(--frost); }

/* contact */
.contact { background: linear-gradient(180deg, var(--night) 0%, #1e1742 100%); }
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--cream); color: var(--paper-ink); border: var(--line) solid var(--ink);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--pop);
}
.card h3 { font-size: 1.35rem; margin-bottom: .35em; color: var(--paper-ink); }
.card p { font-size: .98rem; margin-bottom: .8em; }
.card a { color: #7a2412; font-weight: 600; word-break: break-word; }
.card a:hover { color: #b8361a; }
.card address { font-style: normal; }
.card.frosty { background: #e9f7ff; }
.card.frosty a { color: #1d4a8f; }
.card.frosty a:hover { color: #2b5aa6; }

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 56px 0 44px; border-bottom: var(--line) solid var(--ink);
  background:
    linear-gradient(100deg, rgba(255,122,47,.28), rgba(23,18,46,0) 45%, rgba(23,18,46,0) 55%, rgba(143,220,255,.25)),
    var(--night-2);
}
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--cream); text-shadow: 0 3px 0 var(--ink); margin-bottom: .25em; }
.page-hero p { color: var(--muted); margin: 0; max-width: 46rem; }
.page-hero p a { font-weight: 600; }
.page-hero .deco {
  position: absolute; right: max(2vw, calc((100vw - var(--wrap)) / 2 - 20px)); bottom: -14px; width: 150px; z-index: -1; opacity: .95;
  display: none;
}
@media (min-width: 900px) { .page-hero .deco { display: block; } }

.doc-wrap { padding: 44px 0 80px; }
.doc {
  background: var(--cream); color: var(--paper-ink);
  border: var(--line) solid var(--ink); border-radius: var(--radius); box-shadow: 0 8px 0 var(--ink);
  padding: clamp(22px, 5vw, 56px);
  max-width: 880px; margin-inline: auto;
}
.doc h2 { font-size: clamp(1.45rem, 3.5vw, 1.9rem); color: var(--paper-ink); margin: 1.8em 0 .5em; scroll-margin-top: 90px; }
.doc h3 { font-family: var(--body); font-weight: 700; font-size: 1.08rem; margin: 1.4em 0 .4em; }
.doc a { color: #8a2a12; font-weight: 500; overflow-wrap: anywhere; }
.doc a:hover { color: #b8361a; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: .45em; }
.doc li::marker { color: #b8361a; }
.doc .meta { font-size: .95rem; color: #4b4168; }
.doc .callout {
  background: #fff; border: 2px solid var(--ink); border-left-width: 8px; border-left-color: var(--frost-deep);
  border-radius: 12px; padding: 16px 18px; margin: 1.2em 0;
}
.doc .callout.warm { border-left-color: #d9531e; }
.doc .callout p:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .96rem; }
.doc th, .doc td { text-align: left; vertical-align: top; border: 2px solid #d8cdb2; padding: 10px 12px; }
.doc th { background: #f6e7c4; }
.table-scroll { overflow-x: auto; }
@media (max-width: 520px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc tr { border: 2px solid #d8cdb2; border-radius: 12px; margin-bottom: 10px; background: #fff; }
  .doc td { border: 0; padding: 4px 12px; }
  .doc td:first-child { font-weight: 700; padding-top: 10px; background: #f6e7c4; border-radius: 10px 10px 0 0; padding-bottom: 8px; }
  .doc td:last-child { padding-bottom: 12px; padding-top: 8px; }
}
.toc {
  background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 16px 20px; margin: 1.2em 0 1.6em;
}
.toc h2 { font-family: var(--body); font-weight: 700; font-size: 1rem !important; margin: 0 0 .5em !important; text-transform: uppercase; letter-spacing: .1em; }
.toc ol { columns: 1; margin: 0; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 32px; } }
.toc li { break-inside: avoid; margin-bottom: .3em; }

.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps > li {
  counter-increment: step; position: relative; padding: 2px 0 0 54px; margin-bottom: 18px; min-height: 40px;
}
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; display: grid; place-items: center;
  font-family: var(--head); font-size: 1.2rem; color: var(--ink);
  background: var(--gold); border: var(--line) solid var(--ink); border-radius: 50%;
}
.path { font-weight: 700; background: #fff; border: 2px solid #d8cdb2; border-radius: 8px; padding: 1px 8px; white-space: nowrap; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.two-col { display: grid; gap: 18px; margin: 1em 0; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col > div { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 16px 18px; }
.two-col h3 { margin-top: 0; }

/* FAQ */
.faq details {
  background: #fff; border: 2px solid var(--ink); border-radius: 14px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--ink); font-family: var(--head); font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; background: var(--frost); }
.faq .answer { padding: 0 18px 16px; }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #17122e; border-top: var(--line) solid var(--ink);
  padding: 48px 0 32px; color: var(--muted); font-size: .97rem;
}
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brand svg { height: 40px; }
.site-footer h2 { font-family: var(--body); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration-color: rgba(255,255,255,.35); }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; line-height: 1.55; }
.legal-line {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .9rem;
}

/* 404 */
.lost { text-align: center; padding: 72px 0 96px; }
.lost img { margin: 0 auto 18px; width: 200px; }
.lost h1 { font-size: clamp(2.4rem, 8vw, 4rem); color: var(--cream); text-shadow: 0 3px 0 var(--ink); }
.lost p { color: var(--muted); max-width: 34rem; margin-inline: auto; }
.lost .hero-ctas { margin-top: 22px; }

/* Focus: elements with their own drop shadow keep it and add the frost halo.
   Kept last so it wins over the component rules above. */
.btn:focus-visible { box-shadow: var(--pop), 0 0 0 7px var(--frost); }
.nav-toggle:focus-visible,
.site-nav .nav-cta a:focus-visible { box-shadow: 0 3px 0 var(--ink), 0 0 0 7px var(--frost); }
.skip:focus-visible { box-shadow: 0 0 0 7px var(--frost); }
