/* Bit Universe website. Colours are the game's PICO-8 HUD palette; fonts are the game's own. */

@font-face { font-family: "Jersey 10"; src: url("../fonts/Jersey10-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Press Start 2P"; src: url("../fonts/PressStart2P-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/AtkinsonHyperlegible-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/AtkinsonHyperlegible-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --space: #0D1230;
  --navy: #1D2B53;
  --blue: #29ADFF;
  --blue-dark: #1C6FA8;
  --blue-light: #9ED9FF;
  --cream: #FFF1E8;
  --white: #FFFFFF;
  --yellow: #FFEC27;
  --yellow-light: #FFF7A8;
  --orange: #FFA300;
  --green: #00E436;
  --green-dark: #008751;
  --green-light: #8AF5A6;
  --grey: #C2C3C7;
  --lavender: #83769C;
  --brown-grey: #5F574F;
  --black: #000000;

  --pixel: "Press Start 2P", ui-monospace, monospace;
  --text: "Jersey 10", system-ui, sans-serif;
  --read: "Atkinson Hyperlegible", system-ui, sans-serif;

  --gutter: 16px;
  --section: 64px;
  color-scheme: dark;
}

@media (min-width: 700px) { :root { --gutter: 32px; --section: 88px; } }

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--space);
  color: var(--cream);
  font-family: var(--text);
  font-size: 23px;
  line-height: 1.15;
}
@media (min-width: 700px) { body { font-size: 26px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.on-light a:not(.btn) { color: var(--blue-dark); }
.on-light a:not(.btn):hover { color: var(--navy); }
.pixelated { image-rendering: pixelated; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--black); padding: 8px 16px; }
.skip-link:focus { left: 8px; }

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

.stars {
  background-color: var(--space);
  background-image: radial-gradient(var(--cream) 1px, transparent 1.6px), radial-gradient(var(--lavender) 1px, transparent 1.6px);
  background-size: 41px 43px, 67px 61px;
  background-position: 0 0, 23px 29px;
}

.section { padding: var(--section) 0; }
.section--light { background: var(--cream); color: var(--navy); }
.section--navy { background: var(--navy); border-top: 4px solid var(--black); border-bottom: 4px solid var(--black); }

/* ---------- Type ---------- */

.pixel-title { font-family: var(--pixel); font-weight: 400; margin: 0; line-height: 1.4; }
.h1 { font-size: clamp(20px, 3.2vw, 40px); color: var(--yellow); text-shadow: 4px 4px 0 var(--black); }
.h2 { font-size: clamp(16px, 2vw, 28px); }
.section--light .h2 { color: var(--navy); }
.section:not(.section--light) .h2 { color: var(--yellow); text-shadow: 3px 3px 0 var(--black); }
.lead { font-size: 1.2em; margin: 0; max-width: 760px; }
.muted { color: var(--grey); }
.section--light .muted, .card .muted, .panel .muted { color: var(--brown-grey); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.section-head > div { flex: 1 1 480px; display: flex; flex-direction: column; gap: 14px; }
.section-head p { margin: 0; }
.page-intro { padding: 64px 0 56px; }
.page-intro .container { display: flex; flex-direction: column; gap: 20px; }
.page-intro p { margin: 0; }

/* ---------- Buttons and chips ---------- */

.btn {
  display: inline-block;
  font-family: var(--text);
  font-size: 28px;
  line-height: 1.1;
  color: var(--black);
  text-decoration: none;
  border: 3px solid var(--black);
  padding: 8px 22px 14px;
  cursor: pointer;
}
.btn:hover { color: var(--black); filter: brightness(1.06); }
.btn:active { transform: translateY(2px); }
.btn--green { background: var(--green); box-shadow: inset 0 -6px 0 var(--green-dark), inset 0 3px 0 var(--green-light); }
.btn--yellow { background: var(--yellow); box-shadow: inset 0 -6px 0 var(--orange), inset 0 3px 0 var(--yellow-light); }
.btn--blue { background: var(--blue); box-shadow: inset 0 -6px 0 var(--blue-dark), inset 0 3px 0 var(--blue-light); }

.soon {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 26px; color: var(--navy);
  background: var(--grey); border: 3px solid var(--black); box-shadow: inset 0 -5px 0 var(--lavender);
  padding: 6px 14px 10px;
}
.soon__tag { font-family: var(--pixel); font-size: 9px; color: var(--yellow); background: var(--navy); padding: 5px 6px; }

.toast { display: inline-block; background: var(--black); border: 3px solid var(--yellow); color: var(--yellow); padding: 3px 12px 5px; font-size: 24px; }
.chip { display: inline-block; border: 3px solid var(--black); padding: 0 10px 2px; font-size: 24px; color: var(--black); }
.chip--yellow { background: var(--yellow); }
.chip--green { background: var(--green); }
.chip--blue { background: var(--blue); }
.chip--grey { background: var(--grey); color: var(--navy); }
.key { display: inline-block; color: var(--black); background: var(--cream); border: 2px solid var(--black); padding: 0 10px 2px; }
mark { background: var(--yellow); color: var(--black); padding: 0 4px; }

/* ---------- Panels ---------- */

.panel { background: var(--cream); color: var(--navy); border: 4px solid var(--blue); box-shadow: 0 0 0 3px var(--black); }
.card { background: var(--white); color: var(--navy); border: 4px solid var(--blue); box-shadow: 0 0 0 3px var(--black), 8px 8px 0 3px var(--black); }
.frame { border: 5px solid var(--blue); box-shadow: 0 0 0 4px var(--black), 10px 10px 0 4px var(--black); }
.icon-tile { width: 72px; height: 72px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--blue); border: 3px solid var(--black); box-shadow: inset 0 -6px 0 var(--blue-dark); }
.icon-tile img { width: 48px; height: 48px; image-rendering: pixelated; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 20; background: var(--space); border-bottom: 4px solid var(--blue); box-shadow: 0 4px 0 var(--black); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border: 3px solid var(--black); box-shadow: 0 0 0 3px var(--blue); }
.brand span { font-family: var(--pixel); font-size: 14px; color: var(--yellow); letter-spacing: 1px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--cream); text-decoration: none; font-size: 28px; }
.nav a:not(.btn):hover { color: var(--yellow); }
.nav a[aria-current] { color: var(--yellow); text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { font-size: 26px; padding: 5px 18px 11px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; padding: 0; align-items: center; justify-content: center; background: var(--blue); border: 3px solid var(--black); box-shadow: inset 0 -5px 0 var(--blue-dark); cursor: pointer; }
.menu-toggle img { width: 28px; height: 28px; image-rendering: pixelated; }

@media (min-width: 1000px) { .brand span { font-size: 17px; } }

@media (max-width: 899px) {
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 12px; }
  .site-header .container { min-height: 64px; }
  .js .menu-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 4px solid var(--blue); box-shadow: 0 4px 0 var(--black);
    padding: 8px var(--gutter) 20px;
  }
  .js .site-header.is-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 10px 0; border-bottom: 2px solid var(--space); }
  .nav .btn { margin-top: 14px; text-align: center; }
  html:not(.js) .site-header .container { flex-wrap: wrap; }
  html:not(.js) .nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; background: none; border: 0; box-shadow: none; padding: 0 0 12px; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--black); border-top: 4px solid var(--blue); padding: 48px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.footer-brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.footer-brand p { margin: 0; color: var(--grey); font-size: 24px; }
.footer-brand small { color: var(--lavender); font-size: 22px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col h2 { font-family: var(--pixel); font-weight: 400; font-size: 11px; color: var(--lavender); margin: 0 0 6px; }
.footer-col a { color: var(--cream); text-decoration: none; font-size: 26px; }
.footer-col a:hover { color: var(--yellow); }
.footer-col a.email { color: var(--yellow); text-decoration: underline; }

/* ---------- Home ---------- */

.hero { padding: 72px 0 88px; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero-title { font-size: clamp(20px, 2.6vw, 42px); line-height: 1.45; }
.hero-copy p { margin: 0; }
.hero-copy .lead { max-width: 600px; }
.get { align-self: stretch; display: flex; flex-direction: column; gap: 16px; }
.get .btn { font-size: 30px; align-self: flex-start; }
.soon-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.soon-row .soon { flex-direction: column; gap: 4px; padding: 6px 4px 12px; text-align: center; }
.hero-art { position: relative; margin: 0; }
.hero-art img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hud-bar { position: absolute; left: 24px; right: 24px; top: 24px; background: var(--navy); border: 3px solid var(--black); box-shadow: inset 0 0 0 2px var(--blue); padding: 10px 14px; font-family: var(--pixel); font-size: 13px; color: var(--cream); }
.hud-cash { position: absolute; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; background: var(--cream); color: var(--navy); border: 4px solid var(--blue); box-shadow: 0 0 0 3px var(--black); padding: 10px 14px; font-size: 22px; }
.hud-cash b { font-family: var(--pixel); font-weight: 400; font-size: 20px; color: var(--yellow); background: var(--black); padding: 8px 12px; }

@media (max-width: 1023px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-art { max-width: 560px; }
}
@media (max-width: 599px) {
  .hero { padding: 36px 0 48px; }
  .get .btn { align-self: stretch; text-align: center; }
  .soon-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .soon-row .soon { font-size: 22px; }
  .hud-bar { left: 12px; right: 12px; top: 12px; font-size: 10px; padding: 7px 10px; }
  .hud-cash { right: 12px; bottom: 12px; font-size: 18px; padding: 6px 10px; }
  .hud-cash b { font-size: 14px; }
}

.facts { background: var(--blue); border-top: 4px solid var(--black); border-bottom: 4px solid var(--black); }
.facts ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { display: flex; flex-direction: column; gap: 8px; padding: 28px 0 28px 28px; border-left: 3px solid var(--blue-dark); color: var(--black); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { font-family: var(--pixel); font-weight: 400; font-size: clamp(16px, 2vw, 26px); color: var(--navy); }
@media (max-width: 799px) {
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .facts li, .facts li:first-child { border-left: 0; padding: 16px 0; }
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step h3 { margin: 0; font-size: 38px; font-weight: 400; }
.step p { margin: 0; }
@media (max-width: 599px) {
  .step { flex-direction: row; align-items: flex-start; gap: 16px; }
  .step h3 { font-size: 30px; }
  .icon-tile { width: 56px; height: 56px; }
  .icon-tile img { width: 36px; height: 36px; }
}

.world-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.world-tile { display: flex; flex-direction: column; background: var(--cream); border: 4px solid var(--blue); box-shadow: 0 0 0 3px var(--black); text-decoration: none; }
.world-tile:hover { border-color: var(--yellow); }
.world-tile img { width: 100%; height: 120px; object-fit: cover; border-bottom: 3px solid var(--black); }
.world-tile div { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.world-tile .num { font-family: var(--pixel); font-size: 11px; color: var(--brown-grey); }
.world-tile .name { font-size: 32px; color: var(--navy); }
.world-tile .desc { font-size: 22px; color: var(--brown-grey); }
@media (max-width: 1099px) { .world-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .world-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 250px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .world-tile { scroll-snap-align: start; }
}

.features { display: flex; flex-direction: column; gap: 72px; }
.feature { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 620px); }
.feature--flip .feature-media { order: 2; }
.feature-media img { width: 100%; }
.feature-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.feature-copy h3 { margin: 0; font-size: 48px; font-weight: 400; line-height: 1; }
.feature-copy p { margin: 0; font-size: 28px; }
@media (max-width: 899px) {
  .feature, .feature--flip { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feature--flip .feature-media { order: 0; }
  .feature-copy h3 { font-size: 36px; }
  .feature-copy p { font-size: 24px; }
}

.medals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 20px 16px; }
.medals li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 22px; }
.medals img { width: 88px; height: 88px; image-rendering: pixelated; }

.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.platform { padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.platform h3 { font-family: var(--pixel); font-weight: 400; font-size: 16px; line-height: 1.4; margin: 0; }
.platform p { margin: 0; font-size: 27px; }
@media (max-width: 999px) { .platforms { grid-template-columns: minmax(0, 1fr); gap: 28px; } .platform p { font-size: 24px; } }

/* ---------- Worlds ---------- */

.unlock-path { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; }
.unlock-path li { display: flex; align-items: center; gap: 8px; }
.unlock-path li + li::before { content: "▸"; color: var(--blue); }
.unlock-path span { background: var(--cream); color: var(--navy); border: 3px solid var(--black); padding: 2px 12px 4px; }
.unlock-path .branch span { background: var(--yellow); color: var(--black); }

.world-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; }
.world-card { display: flex; flex-direction: column; overflow: hidden; }
.world-card img { width: 100%; aspect-ratio: 756 / 286; object-fit: cover; border-bottom: 3px solid var(--black); }
.world-card .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.world-card header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.world-card .num { font-family: var(--pixel); font-size: 12px; color: var(--brown-grey); }
.world-card h2 { margin: 0; font-family: var(--pixel); font-weight: 400; font-size: 20px; }
.world-card header .chip { margin-left: auto; }
.world-card p { margin: 0; }
.facts-list { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 24px; }
.facts-list dt { color: var(--brown-grey); }
.facts-list dd { margin: 0; }
@media (max-width: 899px) { .world-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 499px) { .facts-list { grid-template-columns: minmax(0, 1fr); gap: 0; } .facts-list dd { margin-bottom: 8px; } .world-card h2 { font-size: 16px; } }

/* ---------- Guide ---------- */

.jump { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.jump a { color: var(--navy); background: var(--cream); border: 3px solid var(--black); padding: 2px 12px 4px; text-decoration: none; }
.jump a:hover { background: var(--yellow); color: var(--black); }

.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 40px; }
.topic { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
.topic header { display: flex; align-items: center; gap: 14px; }
.topic .num { font-family: var(--pixel); font-size: 14px; color: var(--yellow); background: var(--navy); border: 3px solid var(--black); padding: 8px; }
.topic .num--green { color: var(--black); background: var(--green); }
.topic h3 { margin: 0; font-size: 36px; font-weight: 400; }
.topic ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 24px; }
@media (max-width: 499px) { .topics { grid-template-columns: minmax(0, 1fr); } .topic h3 { font-size: 30px; } }

.table-wrap { overflow-x: auto; border: 4px solid var(--blue); box-shadow: 0 0 0 3px var(--black); background: var(--space); }
.controls { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 28px; }
.controls th { background: var(--blue); color: var(--black); text-align: left; font-weight: 400; padding: 12px 24px; }
.controls td { padding: 10px 24px; border-bottom: 2px solid var(--navy); }
.controls tr:last-child td { border-bottom: 0; }
.controls .none { color: var(--grey); }

.achievement-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 40px; }
.achievement-list li { display: flex; align-items: center; gap: 16px; }
.achievement-list img { width: 72px; height: 72px; flex-shrink: 0; image-rendering: pixelated; }
.achievement-list b { display: block; font-weight: 400; font-size: 28px; }
.achievement-list span { font-size: 22px; color: var(--brown-grey); }

/* ---------- Support ---------- */

.support-hero .container { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 72px; align-items: center; }
.support-copy { display: flex; flex-direction: column; gap: 22px; }
.support-copy p { margin: 0; }
.contact { padding: 32px 36px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact .label { font-family: var(--pixel); font-size: 13px; color: var(--brown-grey); }
.contact .btn { font-size: 34px; overflow-wrap: anywhere; }
.contact ul { margin: 0; padding-left: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.contact p { margin: 0; }
@media (max-width: 999px) { .support-hero .container { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 599px) { .contact { padding: 22px 20px; } .contact ul { grid-template-columns: minmax(0, 1fr); } .contact .btn { font-size: 26px; align-self: stretch; text-align: center; } }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; align-items: start; }
.faq article { padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; background: var(--white); }
.faq h3 { margin: 0; font-size: 34px; font-weight: 400; }
.faq p { margin: 0; }
.faq code { font-family: ui-monospace, Consolas, monospace; font-size: 17px; background: var(--navy); color: var(--cream); padding: 1px 6px; overflow-wrap: anywhere; }
@media (max-width: 899px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq h3 { font-size: 30px; } }

/* ---------- Privacy ---------- */

.policy { display: grid; grid-template-columns: 300px minmax(0, 820px); gap: 80px; align-items: start; }
.toc { position: sticky; top: 104px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; background: var(--white); }
.toc h2 { font-family: var(--pixel); font-weight: 400; font-size: 12px; color: var(--brown-grey); margin: 0 0 8px; }
.toc a { color: var(--navy); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.policy-body { display: flex; flex-direction: column; gap: 44px; font-family: var(--read); font-size: 20px; line-height: 1.6; }
.policy-body h2 { margin: 0 0 12px; font-family: var(--text); font-weight: 400; font-size: 40px; line-height: 1; color: var(--navy); }
.policy-body p { margin: 0 0 12px; }
.policy-body p:last-child { margin-bottom: 0; }
.policy-body ul { margin: 0 0 12px; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.policy-body ul:last-child { margin-bottom: 0; }
.summary { background: var(--navy); color: var(--cream); border: 4px solid var(--yellow); box-shadow: 0 0 0 3px var(--black), 8px 8px 0 3px var(--black); padding: 28px 32px; }
.summary h2 { font-family: var(--pixel); font-size: 16px; line-height: 1.4; color: var(--yellow); margin-bottom: 14px; }
.summary ul { margin: 0; }
.in-game { display: inline-block; font-family: var(--text); font-size: 24px; color: var(--black); background: var(--yellow); border: 3px solid var(--black); box-shadow: inset 0 -4px 0 var(--orange); padding: 0 10px 4px; line-height: 1.2; }
.contact-card { padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.contact-card > div { flex: 1 1 280px; }
@media (max-width: 999px) {
  .policy { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .toc { position: static; }
}
@media (max-width: 599px) {
  .policy-body { font-size: 17px; gap: 36px; }
  .policy-body h2 { font-size: 32px; }
  .summary { padding: 20px; }
  .summary h2 { font-size: 13px; }
  .contact-card .btn { align-self: stretch; text-align: center; flex: 1 1 100%; font-size: 24px; }
}

/* ---------- 404 ---------- */

.lost { min-height: 60vh; display: flex; align-items: center; padding: var(--section) 0; }
.lost .container { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.lost p { margin: 0; }
