/* Slizoo, slizoo.app. Keçe Diorama: felt surfaces, stitched seams, plum sticker outlines. */

:root {
  --plum: #2B1838;
  --plum-2: #4A2E5C;
  --cream: #F3E6CF;
  --cream-2: #FBF4E6;
  --orange: #F07A2A;
  --orange-d: #C9581A;
  --yolk: #F7C531;
  --meadow: #A8D88A;
  --meadow-d: #5FB052;
  --bush: #2F8A4A;
  --sky: #7CC4EA;
  --sky-2: #A9DBF4;
  --berry: #C92A62;
  --grape: #6B3FD6;
  --grape-d: #5531B5;

  --line: 3px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --lift: 0 6px 0 var(--plum);
  --lift-sm: 0 4px 0 var(--plum);
  --soft: 0 18px 30px -18px rgba(43, 24, 56, .55);

  --display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --grain: url("/assets/felt-grain.webp");
  --gutter: 16px;
  --max: 1160px;
  color-scheme: light;
}

@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  font: 400 1.0625rem/1.65 var(--body);
  color: var(--plum);
  background: var(--sky) var(--grain) repeat;
  background-size: 320px;
  background-blend-mode: soft-light;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: .005em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); }
p { margin: 0 0 1em; }
strong, b { font-weight: 800; }

a { color: var(--plum); text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 3px; }
a:hover { color: var(--grape-d); text-decoration-color: var(--grape); }

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--yolk);
  border-radius: 8px;
}

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  background: var(--yolk); color: var(--plum); font-weight: 800;
  padding: .6em 1em; border: var(--line) solid var(--plum); border-radius: var(--r-sm);
  text-decoration: none;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- felt surfaces */
.felt-cream { background: var(--cream) var(--grain); background-size: 320px; background-blend-mode: soft-light; }
.felt-meadow { background: var(--meadow-d) var(--grain); background-size: 320px; background-blend-mode: soft-light; }
.felt-plum { background: var(--plum) var(--grain); background-size: 320px; background-blend-mode: soft-light; }
.felt-orange { background: linear-gradient(rgba(240, 122, 42, .5), rgba(240, 122, 42, .5)), url("/assets/felt-orange.webp"); background-size: auto, 256px; }

.stitched { position: relative; }
.stitched::after {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 2px dashed rgba(43, 24, 56, .28); border-radius: calc(var(--r-lg) - 9px);
}

.card {
  position: relative;
  border: var(--line) solid var(--plum);
  border-radius: var(--r-lg);
  box-shadow: var(--lift), var(--soft);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--yolk);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.35em .72em;
  font: 400 1.25rem/1 var(--display); letter-spacing: .01em;
  color: var(--plum); text-decoration: none; white-space: nowrap;
  background: var(--bg) var(--grain); background-size: 320px; background-blend-mode: soft-light;
  border: var(--line) solid var(--plum); border-radius: 18px;
  box-shadow: 0 5px 0 var(--plum);
  transition: transform .12s ease, box-shadow .12s ease;
  cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: 5px; pointer-events: none;
  border: 2px dashed rgba(43, 24, 56, .32); border-radius: 12px;
}
.btn:hover { color: var(--plum); transform: translateY(-2px); box-shadow: 0 7px 0 var(--plum); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--plum); }
.btn img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.btn-lg { min-height: 64px; font-size: 1.5rem; padding: .7em 1.5em .74em; border-radius: 22px; }
.btn-lg::before { border-radius: 15px; }
.btn-lg img { width: 32px; height: 32px; }
.btn-cream { --bg: var(--cream); }
.btn-orange { --bg: var(--orange); }
.btn-sky { --bg: var(--sky); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transition: none; transform: none; } }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 150px; min-height: 52px; padding: .45em 1em .5em;
  background: rgba(251, 244, 230, .82);
  border: var(--line) dashed var(--plum); border-radius: 16px;
  line-height: 1.1;
}
.store small { font: 800 .72rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--plum-2); }
.store span { font: 400 1.15rem/1.15 var(--display); }

.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .3em .8em .32em; font: 800 .82rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase;
  background: var(--cream); border: 2px solid var(--plum); border-radius: 999px;
}
.chip-yolk { background: var(--yolk); }
.chip-berry { background: var(--berry); color: #fff; }
.chip-grape { background: var(--grape); color: #fff; }

/* ---------------------------------------------------------------- header */
.site-header { position: relative; z-index: 5; padding: 14px 0; }
.site-header .wrap { display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 12px; filter: drop-shadow(0 3px 0 var(--plum)); }
.brand span { font: 400 1.85rem/1 var(--display); letter-spacing: .01em; }
.nav { display: none; gap: 4px; }
.nav a {
  font-weight: 800; text-decoration: none; padding: .45em .8em; border-radius: 12px;
}
.nav a:hover { background: rgba(251, 244, 230, .55); color: var(--plum); }
.nav a[aria-current="page"] { background: var(--cream); box-shadow: inset 0 0 0 2px var(--plum); }
.lang {
  display: inline-flex; align-items: center; gap: .35em;
  min-height: 44px; padding: .35em .85em;
  font: 800 .95rem/1 var(--body); text-decoration: none;
  background: var(--cream); border: var(--line) solid var(--plum); border-radius: 14px; box-shadow: var(--lift-sm);
}
.lang:hover { color: var(--plum); transform: translateY(-1px); }
.lang svg { width: 18px; height: 18px; }
.header-play { display: none; }
@media (min-width: 560px) { .header-play { display: inline-flex; min-height: 44px; font-size: 1.05rem; padding: .55em 1em; } }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 8px 0 72px; overflow: hidden; }
.hero .wrap { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 24px 0 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; }
}
.cloud { position: absolute; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(43, 24, 56, .18)); }
.cloud-1 { width: 180px; top: 34px; right: -40px; opacity: .95; }
.cloud-2 { width: 130px; top: 54%; left: -46px; opacity: .9; }
@media (min-width: 900px) {
  .cloud-1 { width: 220px; top: 18px; right: 4%; }
  .cloud-2 { width: 170px; top: auto; bottom: 40px; left: 2%; }
}
@media (prefers-reduced-motion: no-preference) {
  .cloud-1 { animation: drift 16s ease-in-out infinite alternate; }
  .cloud-2 { animation: drift 20s ease-in-out infinite alternate-reverse; }
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-26px); } }

.hero-copy { position: relative; z-index: 1; }
.hero-icon {
  width: 104px; height: 104px; margin-bottom: 18px;
  border-radius: 26px; filter: drop-shadow(0 5px 0 var(--plum)) drop-shadow(0 14px 18px rgba(43, 24, 56, .3));
  transform: rotate(-4deg);
}
.hero h1 { margin: 0 0 .35em; }
.wordmark {
  display: block;
  font-size: clamp(4rem, 2.6rem + 7vw, 7.2rem); line-height: .9;
  color: var(--orange);
  -webkit-text-stroke: 8px var(--plum); paint-order: stroke fill;
  text-shadow: 0 7px 0 var(--plum);
  letter-spacing: .01em;
}
.tagline { display: block; margin-top: .3em; font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.35rem); line-height: 1.1; }
.lede { font-size: 1.12rem; max-width: 36em; }
@media (min-width: 720px) { .lede { font-size: 1.2rem; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 26px 0 14px; }
.cta-note { margin: 0; font-weight: 700; font-size: .98rem; }
.hero .store-row { margin-top: 18px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }

/* diorama card: world art behind a live felt board */
.diorama {
  position: relative; margin: 0 auto; width: min(100%, 460px);
  aspect-ratio: 4 / 5; overflow: hidden;
  border: 4px solid var(--plum); border-radius: 34px;
  box-shadow: 0 8px 0 var(--plum), 0 30px 50px -20px rgba(43, 24, 56, .6);
  background: var(--meadow);
  isolation: isolate;
}
.diorama > img.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.diorama .hud { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.diorama .hud .chip { box-shadow: 0 3px 0 var(--plum); }
.board {
  position: absolute; left: 7%; right: 7%; bottom: 7%;
  filter: drop-shadow(0 6px 0 rgba(43, 24, 56, .55)) drop-shadow(0 18px 18px rgba(43, 24, 56, .35));
}
.board svg { width: 100%; height: auto; overflow: visible; }
.board-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--cream); border: var(--line) solid var(--plum); border-radius: 14px;
  box-shadow: var(--lift-sm); cursor: pointer; padding: 0;
}
.board-toggle img { width: 26px; height: 26px; object-fit: contain; }
.board-toggle .i-play { display: none; }
.board-toggle[data-paused="true"] .i-play { display: block; }
.board-toggle[data-paused="true"] .i-pause { display: none; }
.felt-text { font-family: var(--display); }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { max-width: 46rem; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.12rem; }
.eyebrow { display: inline-block; margin-bottom: 14px; }

/* stitched seams between bands */
.band { border-top: var(--line) solid var(--plum); }
.band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 0;
  border-top: 2px dashed rgba(43, 24, 56, .3);
}
.band-cream { background: var(--cream) var(--grain); background-size: 320px; background-blend-mode: soft-light; }
.band-meadow { background: var(--meadow) var(--grain); background-size: 320px; background-blend-mode: soft-light; }
.band-sky { background: var(--sky-2) var(--grain); background-size: 320px; background-blend-mode: soft-light; }
.band-orange { background: linear-gradient(rgba(240, 122, 42, .5), rgba(240, 122, 42, .5)), url("/assets/felt-orange.webp"); background-size: auto, 256px; }

/* how to play */
.steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { padding: 22px 22px 26px; background: var(--cream-2); }
.step .mini { width: 100%; max-width: 240px; margin: 4px auto 18px; filter: drop-shadow(0 5px 0 rgba(43, 24, 56, .5)); }
.step h3 { display: flex; align-items: center; gap: .45em; }
.step h3::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; flex: none;
  width: 1.6em; height: 1.6em; font-size: .9em; line-height: 1;
  background: var(--yolk); border: var(--line) solid var(--plum); border-radius: 50%;
  box-shadow: 0 3px 0 var(--plum);
}
.step p { margin: 0; }
.kbd { font: 800 .9em/1 var(--body); padding: .1em .45em; background: var(--cream); border: 2px solid var(--plum); border-bottom-width: 4px; border-radius: 8px; white-space: nowrap; }

/* worlds strip */
.worlds {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 72%);
  gap: 18px; margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 30px;
  list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-color: var(--plum) transparent;
}
@media (min-width: 640px) { .worlds { grid-auto-columns: minmax(240px, 40%); } }
@media (min-width: 1000px) { .worlds { grid-auto-columns: calc((100% - 2 * var(--gutter) - 3 * 18px) / 4.25); } }
.world { scroll-snap-align: start; overflow: hidden; display: flex; flex-direction: column; background: var(--cream-2); }
.world figure { margin: 0; position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-bottom: var(--line) solid var(--plum); }
.world figure img { width: 100%; height: 100%; object-fit: cover; }
.world .no {
  position: absolute; left: 12px; top: 12px;
  display: grid; place-items: center; width: 46px; height: 46px;
  font: 400 1.5rem/1 var(--display);
  background: var(--yolk); border: var(--line) solid var(--plum); border-radius: 50%; box-shadow: 0 3px 0 var(--plum);
}
.world-body { padding: 16px 18px 20px; }
.world-body h3 { margin-bottom: .15em; }
.world-body .lv { margin: 0 0 .5em; font-weight: 800; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--plum-2); }
.world-body p { margin: 0; font-size: 1rem; line-height: 1.5; }
.scroll-hint { display: flex; align-items: center; gap: .5em; margin: -6px 0 0; font-weight: 700; font-size: .95rem; }
.scroll-hint svg { width: 22px; height: 22px; }

/* skills */
.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.skill {
  display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center;
  padding: 14px 16px; background: var(--cream-2);
  border: var(--line) solid var(--plum); border-radius: var(--r-md); box-shadow: var(--lift-sm);
}
.skill img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(43, 24, 56, .25)); }
.skill h3 { font-size: 1.3rem; margin: 0 0 .1em; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .45em; }
.skill h3 .who { font-family: var(--body); font-weight: 800; font-size: .92rem; letter-spacing: .01em; color: var(--plum-2); }
.skill p { margin: 0; font-size: .98rem; line-height: 1.45; }
.skill.legendary { background: linear-gradient(135deg, #F4E9FF, var(--cream-2) 60%); }
.skill .chip { font-size: .66rem; padding: .2em .55em; }
.note { margin-top: 26px; font-weight: 700; }

/* features */
.features { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 24px 22px 26px; background: var(--cream-2); }
.feature img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 14px; filter: drop-shadow(0 5px 5px rgba(43, 24, 56, .25)); }
.feature p { margin: 0; }

.fair {
  display: grid; gap: 22px; align-items: center; margin-top: 56px; padding: 28px 24px;
  background: var(--plum) var(--grain); background-size: 320px; background-blend-mode: soft-light;
  color: var(--cream-2); border-radius: var(--r-lg); border: var(--line) solid var(--plum);
  box-shadow: 0 6px 0 rgba(43, 24, 56, .5);
}
.fair h3 { color: var(--yolk); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.fair ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
@media (min-width: 760px) { .fair ul { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }
.fair li { position: relative; padding-left: 34px; }
.fair li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 22px; height: 22px;
  background: var(--meadow) var(--grain); background-blend-mode: soft-light; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--cream-2);
}
.fair li::after {
  content: ""; position: absolute; left: 7px; top: calc(.25em + 5px); width: 6px; height: 10px;
  border: solid var(--plum); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.fair a { color: var(--yolk); text-decoration-color: var(--yolk); }
.fair .coins { display: flex; gap: 6px; }
.fair .coins img { width: 64px; height: 64px; object-fit: contain; }
@media (min-width: 900px) { .fair { grid-template-columns: 220px 1fr; padding: 36px 40px; } }

/* closing CTA */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--cream-2); -webkit-text-stroke: 7px var(--plum); paint-order: stroke fill; text-shadow: 0 6px 0 var(--plum); }
.cta-band p { font-weight: 800; font-size: 1.15rem; }
.cta-band .cta-row, .cta-band .store-row { justify-content: center; }
.cta-band .peek { width: 150px; margin: 0 auto 8px; filter: drop-shadow(0 6px 0 var(--plum)); }

/* ---------------------------------------------------------------- footer */
.site-footer { color: var(--cream-2); padding: 56px 0 40px; border-top: var(--line) solid var(--plum); }
.site-footer a { color: var(--cream-2); text-decoration-color: var(--orange); }
.site-footer a:hover { color: var(--yolk); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brand { color: var(--cream-2); }
.site-footer .brand img { filter: none; box-shadow: 0 0 0 3px var(--cream-2); }
.site-footer h2 { font-size: 1.25rem; color: var(--yolk); margin-bottom: .6em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer p { margin: .8em 0 0; }
.fine { margin-top: 36px; padding-top: 18px; border-top: 2px dashed rgba(251, 244, 230, .3); font-size: .9rem; opacity: .92; }

/* ---------------------------------------------------------------- documents */
.doc-hero { padding: 16px 0 36px; }
.doc-hero .wrap { display: flex; align-items: center; gap: 18px; }
.doc-hero img { width: 72px; height: 72px; object-fit: contain; flex: none; filter: drop-shadow(0 5px 0 var(--plum)); }
.doc-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); margin: 0; }
.doc-hero p { margin: .3em 0 0; font-weight: 700; }
.doc-layout { display: grid; gap: 28px; padding-bottom: 80px; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }
.toc { padding: 20px 18px; background: var(--cream-2); border: var(--line) solid var(--plum); border-radius: var(--r-md); box-shadow: var(--lift-sm); }
@media (min-width: 1000px) { .toc { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; } }
.toc h2 { font-size: 1.2rem; margin-bottom: .5em; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .95rem; line-height: 1.4; }
.toc a { text-decoration-thickness: 2px; }
.doc {
  padding: 28px 20px 36px; background: var(--cream-2);
  border: var(--line) solid var(--plum); border-radius: var(--r-lg); box-shadow: var(--lift), var(--soft);
  min-width: 0;
}
@media (min-width: 720px) { .doc { padding: 44px 52px 52px; } }
.doc h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2rem); margin: 1.6em 0 .55em; padding-top: .2em; scroll-margin-top: 16px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: .35em; }
.doc .updated { font-weight: 800; color: var(--plum-2); }
.summary {
  margin: 0 0 1.8em; padding: 18px 20px; background: var(--meadow) var(--grain); background-size: 320px; background-blend-mode: soft-light;
  border: var(--line) solid var(--plum); border-radius: var(--r-md);
}
.summary h2 { margin: 0 0 .4em !important; font-size: 1.4rem; }
.summary ul { margin: 0; }
.callout { margin: 1.2em 0; padding: 14px 18px; background: #FFF2C4; border: 2px solid var(--plum); border-left-width: 8px; border-radius: 14px; }
.callout p:last-child { margin-bottom: 0; }
.ph {
  display: inline; padding: .05em .4em; font-weight: 800; color: var(--plum);
  background: var(--yolk); border: 2px dashed var(--plum); border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.table-scroll { margin: 1em 0 1.4em; overflow-x: auto; border: 2px solid var(--plum); border-radius: 16px; background: #fff; }
.table-scroll:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; min-width: 640px; }
caption { text-align: left; padding: 12px 14px 4px; font-weight: 800; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid rgba(43, 24, 56, .16); }
thead th { background: var(--cream); font-weight: 800; border-bottom: 2px solid var(--plum); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 800; }
td small, th small { display: block; color: var(--plum-2); }

/* FAQ */
.faq { display: grid; gap: 12px; margin: 0 0 1.5em; }
.faq details { background: #fff; border: 2px solid var(--plum); border-radius: 16px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; justify-content: space-between;
  padding: 14px 18px; font-weight: 800; font-size: 1.05rem; border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px;
  font: 400 1.4rem/1 var(--display); background: var(--yolk); border: 2px solid var(--plum); border-radius: 50%;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 2px dashed rgba(43, 24, 56, .25); border-radius: 14px 14px 0 0; }
.faq .a { padding: 12px 18px 4px; }

.contact-card {
  display: grid; gap: 14px; margin: 1em 0 1.6em; padding: 22px; background: var(--sky-2) var(--grain); background-size: 320px; background-blend-mode: soft-light;
  border: var(--line) solid var(--plum); border-radius: var(--r-md); box-shadow: var(--lift-sm);
}
.contact-card .mail { font: 400 clamp(1.3rem, 1.1rem + 1vw, 1.7rem)/1.2 var(--display); word-break: break-word; }
.contact-card p { margin: 0; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.steps-list li { position: relative; padding: 14px 16px 14px 62px; background: #fff; border: 2px solid var(--plum); border-radius: 16px; margin: 0 !important; }
.steps-list li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; display: grid; place-items: center;
  font: 400 1.2rem/1 var(--display); background: var(--yolk); border: 2px solid var(--plum); border-radius: 50%;
}

/* 404 */
.lost { padding: 24px 0 96px; text-align: center; }
.lost .mini { width: min(320px, 80%); margin: 0 auto 26px; filter: drop-shadow(0 6px 0 rgba(43, 24, 56, .5)); }
.lost h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); }
.lost p { font-size: 1.15rem; max-width: 34em; margin-left: auto; margin-right: auto; }
.lost .cta-row { justify-content: center; }

@media print {
  body { background: #fff; }
  .site-header, .site-footer, .toc, .skip, .board-toggle { display: none !important; }
  .doc { border: 0; box-shadow: none; padding: 0; }
}
.doc-layout.single { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin: 0 auto; }
.lost-pic { width: 200px; height: auto; margin: 0 auto 18px; filter: drop-shadow(0 6px 0 var(--plum)); }
.doc-hero.narrow .wrap { max-width: calc(900px + 2 * var(--gutter)); }
