/* Megachomp website: the game's look (navy ocean, Lilita One headings with chunky ink outlines,
   Fredoka body text, yellow pill buttons with ink borders). Mobile first. No third-party anything:
   fonts are self-hosted in /fonts, and there are no scripts. */

:root {
  color-scheme: dark;
  --navy: #0b1a33;
  --ink: #0b1a44;
  --deep: #081428;
  --panel-top: #1f4f9c;
  --panel-bot: #122b5c;
  --sky: #d6ecff;
  --muted: #b8d0ec;
  --gold: #ffe27a;
  --yellow: #ffd23f;
  --red: #ff3a4a;
  --gutter: clamp(16px, 4.5vw, 40px);
  --max: 1140px;
  --radius: 28px;
  --outline-sm: 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink),
    1.5px 1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px -1.5px 0 var(--ink),
    0 4px 0 rgba(6, 14, 34, .5);
  --outline: 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink),
    2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink),
    0 6px 0 rgba(6, 14, 34, .55);
  --outline-lg: 0 5px 0 var(--ink), 0 -5px 0 var(--ink), 5px 0 0 var(--ink), -5px 0 0 var(--ink),
    3.5px 3.5px 0 var(--ink), -3.5px 3.5px 0 var(--ink), 3.5px -3.5px 0 var(--ink), -3.5px -3.5px 0 var(--ink),
    4.6px 1.9px 0 var(--ink), -4.6px 1.9px 0 var(--ink), 4.6px -1.9px 0 var(--ink), -4.6px -1.9px 0 var(--ink),
    1.9px 4.6px 0 var(--ink), -1.9px 4.6px 0 var(--ink), 1.9px -4.6px 0 var(--ink), -1.9px -4.6px 0 var(--ink),
    0 10px 0 rgba(6, 14, 34, .55);
  --panel: linear-gradient(180deg, var(--panel-top), var(--panel-bot));
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--navy);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--sky);
  font: 500 1.0625rem/1.6 'Fredoka', 'Arial Rounded MT Bold', ui-rounded, system-ui, sans-serif;
  background:
    radial-gradient(110% 520px at 50% 0, rgba(63, 160, 236, .55), rgba(63, 160, 236, 0) 100%),
    linear-gradient(180deg, #17508f 0, #0f305f 620px, var(--navy) 1300px);
  background-color: var(--navy);
  background-repeat: no-repeat;
  /* short pages (404) keep the footer at the bottom */
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  font-family: 'Lilita One', 'Arial Rounded MT Bold', ui-rounded, sans-serif;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  letter-spacing: .5px;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.35rem + 3vw, 3.1rem); text-shadow: var(--outline); }
h3 { font-size: clamp(1.35rem, 1.15rem + 1vw, 1.7rem); text-shadow: var(--outline-sm); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #fff; }
strong, b { font-weight: 600; color: #fff; }
ul, ol { margin: 0; }
:focus-visible { outline: 4px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 20;
  background: var(--yellow); color: var(--ink); font-weight: 600; text-decoration: none;
  padding: 10px 16px; border: 3px solid var(--ink); border-radius: 12px;
}
.skip:focus { top: 12px; color: var(--ink); }

/* ---------------------------------------------------------------- header */
.site-head { position: relative; z-index: 3; padding-top: env(safe-area-inset-top); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 76px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  color: #fff; text-decoration: none;
  font-family: 'Lilita One', sans-serif; font-size: 1.4rem; letter-spacing: 1px; text-transform: uppercase;
  text-shadow: var(--outline-sm);
}
.brand:hover { color: #fff; }
.brand img { width: 44px; height: 44px; border-radius: 12px; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
/* small phones: the app icon alone (the page's own title is right below) */
@media (max-width: 419.98px) { .site-head .brand span { display: none; } }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 8px 10px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav a[aria-current="page"] { background: rgba(5, 12, 34, .45); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.nav .wide { display: none; }
@media (min-width: 760px) {
  .brand { font-size: 1.6rem; }
  .nav { gap: 6px; }
  .nav a { padding: 8px 14px; font-size: 1.05rem; }
  .nav .wide { display: inline-block; }
}

/* ---------------------------------------------------------------- buttons & pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Lilita One', sans-serif; font-size: 1.2rem; letter-spacing: .5px; line-height: 1.15;
  color: var(--ink); text-decoration: none; text-align: center;
  padding: 12px 24px 13px; border: 4px solid var(--ink); border-radius: 999px;
  background: linear-gradient(180deg, #ffe46b, #ffb300);
  box-shadow: 0 6px 0 var(--ink), 0 12px 24px rgba(0, 0, 0, .3);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink), 0 14px 26px rgba(0, 0, 0, .3); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink), 0 4px 10px rgba(0, 0, 0, .3); }
.btn-aqua { background: linear-gradient(180deg, #8fe9ff, #3fbff0); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-family: 'Lilita One', sans-serif; font-size: clamp(1.05rem, .95rem + .6vw, 1.3rem); letter-spacing: .5px; line-height: 1.15;
  color: var(--ink); background: linear-gradient(180deg, #ffe46b, #ffb300);
  border: 4px solid var(--ink); border-radius: 999px; padding: 10px 22px 11px 16px;
  box-shadow: 0 6px 0 var(--ink);
}
.soon svg { width: 22px; height: 30px; flex-shrink: 0; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: clamp(8px, 3vw, 32px) 0 clamp(28px, 4vw, 56px); }
.hero::before {
  /* light rays from the surface */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(105deg, rgba(255, 255, 255, .055) 0 46px, rgba(255, 255, 255, 0) 46px 150px);
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0) 75%);
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0) 75%);
}
.hero::after {
  /* a few bubbles (wide screens only, where they stay clear of the words) */
  content: none; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 6% 22%, rgba(255, 255, 255, 0) 0 7px, rgba(255, 255, 255, .45) 7px 9px, rgba(255, 255, 255, 0) 9.5px),
    radial-gradient(circle at 10% 34%, rgba(255, 255, 255, 0) 0 4px, rgba(255, 255, 255, .4) 4px 5.5px, rgba(255, 255, 255, 0) 6px),
    radial-gradient(circle at 93% 12%, rgba(255, 255, 255, 0) 0 9px, rgba(255, 255, 255, .35) 9px 11px, rgba(255, 255, 255, 0) 11.5px),
    radial-gradient(circle at 88% 26%, rgba(255, 255, 255, 0) 0 5px, rgba(255, 255, 255, .35) 5px 6.5px, rgba(255, 255, 255, 0) 7px),
    radial-gradient(circle at 48% 6%, rgba(255, 255, 255, 0) 0 4px, rgba(255, 255, 255, .3) 4px 5.5px, rgba(255, 255, 255, 0) 6px);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: center; }
.hero-copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.hero-art { min-width: 0; }
.wordmark {
  /* "MEGACHOMP" is about 6.4 font-sizes wide (outline included): size it to the column it sits in */
  font-size: min(calc((100vw - 2 * var(--gutter)) / 6.8), 5.6rem);
  letter-spacing: 2px; line-height: .95; text-transform: uppercase;
  text-shadow: var(--outline-lg);
  padding-bottom: 6px;
}
.tagline { margin: 0; max-width: 22ch; font-size: clamp(1.35rem, 1.05rem + 1.4vw, 1.9rem); font-weight: 600; line-height: 1.3; color: #fff; text-shadow: 0 2px 0 var(--ink), 0 3px 10px rgba(5, 12, 34, .5); }
.hero-note { margin: 4px 0 0; font-weight: 600; color: var(--sky); }
.hero-art { margin: 0; position: relative; }
.hero-art img {
  width: 100%; border: 4px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 10px 0 var(--ink), 0 26px 60px rgba(0, 0, 0, .45);
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (min-width: 900px) {
  .hero::after { content: ''; }
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 52px; }
  .hero-copy { gap: 22px; }
  .wordmark { font-size: min(calc((min(100vw, var(--max)) - 2 * var(--gutter) - 52px) * .475 / 6.8), 4.9rem); }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(48px, 7vw, 92px) 0; position: relative; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto clamp(30px, 4vw, 52px); }
.section-head p { font-size: 1.15rem; margin-top: 14px; }
.eyebrow {
  display: block; margin-bottom: 10px;
  font-weight: 600; font-size: .95rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
}
.frame { margin: 0; }
.frame img { width: 100%; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 0 8px 0 var(--ink), 0 18px 40px rgba(0, 0, 0, .35); }
.panel {
  background: var(--panel); border: 4px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 10px 0 var(--ink), 0 20px 50px rgba(0, 0, 0, .35);
}

/* how it works */
.steps { list-style: none; padding: 0; display: grid; gap: 34px; }
.step { position: relative; padding: 14px 14px 24px; }
.step img { width: 100%; border: 3px solid var(--ink); border-radius: 18px; }
.step-num {
  position: absolute; top: -18px; left: 2px; z-index: 1;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Lilita One', sans-serif; font-size: 1.7rem; line-height: 1; color: var(--ink);
  background: linear-gradient(180deg, #ffe46b, #ffb300); border: 4px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
}
.step-text { padding: 18px 6px 0; }
.step h3 { margin-bottom: 8px; }
@media (min-width: 620px) and (max-width: 899px) {
  .step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: center; padding: 14px; }
  .step-text { padding: 0 6px 0 0; }
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

/* what's inside */
.feature { display: grid; gap: 28px; align-items: center; }
.feature + .feature, .feature + .tiles, .worlds-block + .tiles { margin-top: clamp(56px, 8vw, 96px); }
.feature h3, .worlds-block h3 { font-size: clamp(1.8rem, 1.3rem + 2.1vw, 2.5rem); margin-bottom: 14px; text-shadow: var(--outline); }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}
.worlds-block { margin-top: clamp(56px, 8vw, 96px); }
.worlds-intro { max-width: 760px; }
.worlds {
  list-style: none; padding: 0; margin-top: 26px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px;
}
@media (min-width: 700px) { .worlds { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.worlds figure { margin: 0; }
.worlds img { width: 100%; aspect-ratio: 8 / 5; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 5px 0 var(--ink); background: var(--panel-bot); }
.worlds figcaption { margin-top: 9px; text-align: center; font-family: 'Lilita One', sans-serif; font-size: 1.05rem; line-height: 1.2; color: #fff; text-shadow: var(--outline-sm); }
.tiles { display: grid; gap: 26px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { padding: 24px 22px 26px; }
.tile h3 { margin-bottom: 10px; }
.chips { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: 'Lilita One', sans-serif; font-size: 1rem; line-height: 1.2; color: #fff; letter-spacing: .3px;
  background: rgba(5, 12, 34, .5); border: 3px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 5px 12px 6px;
}
.chips .free { border-color: rgba(127, 245, 154, .65); }
.small { font-size: .95rem; color: var(--muted); }
.chips + .small { margin-top: 14px; }
.says { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 14px; }
.says li {
  position: relative; justify-self: start; max-width: 100%;
  background: #fff; color: var(--ink); font-weight: 600; line-height: 1.35;
  border: 3px solid var(--ink); border-radius: 18px; padding: 8px 14px 9px; box-shadow: 0 4px 0 var(--ink);
}
.says li:nth-child(2) { justify-self: end; }
.says li::after {
  content: ''; position: absolute; left: 20px; bottom: -9px; width: 14px; height: 14px;
  background: #fff; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg);
}
.says li:nth-child(2)::after { left: auto; right: 20px; }
.days { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.days li {
  display: grid; place-items: center; min-width: 50px; padding: 6px 6px 7px;
  font-family: 'Lilita One', sans-serif; font-size: 1.4rem; line-height: 1; color: var(--ink);
  background: linear-gradient(180deg, #ffb36b, #ff6a2a); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink);
}
.days li span { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }

/* made for parents */
.parents { padding: clamp(26px, 4.5vw, 52px) clamp(18px, 4vw, 48px); }
.parents .section-head { margin-bottom: clamp(24px, 3.5vw, 40px); }
.perks { list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 600px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .perks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.perk {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; align-content: start;
  background: rgba(5, 12, 34, .38); border: 3px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 16px;
}
.perk svg {
  width: 64px; height: 64px; padding: 6px;
  background: linear-gradient(180deg, #ffffff, #cdeaff); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink);
}
.perk h3 { font-size: 1.3rem; margin: 2px 0 6px; }
.perk p { font-size: 1rem; line-height: 1.5; }
@media (min-width: 1040px) { .perk { grid-template-columns: 1fr; gap: 10px; } }
.parents .btn-row { justify-content: center; margin-top: clamp(26px, 3.5vw, 38px); }

/* the dad's note */
.note { display: grid; gap: 26px; align-items: center; padding: clamp(16px, 3vw, 28px); }
.note .frame img { box-shadow: 0 6px 0 var(--ink); }
.note-text { padding: 4px 6px 8px; }
.note-text h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.7rem); }
.note-text p { font-size: 1.1rem; }
.sign { font-family: 'Lilita One', sans-serif; font-size: 1.4rem; color: var(--gold); text-shadow: var(--outline-sm); letter-spacing: .5px; }
@media (min-width: 900px) { .note { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; padding: 28px 40px 28px 28px; } }

/* screenshots */
.shots { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 14px; }
.shots li { flex: 0 1 calc((100% - 14px) / 2); min-width: 0; }
@media (min-width: 700px) { .shots li { flex-basis: calc((100% - 28px) / 3); max-width: 240px; } }
@media (min-width: 1000px) { .shots { gap: 26px 18px; } .shots li { flex-basis: calc((100% - 72px) / 5); } }
.shots figure { margin: 0; }
.shots img {
  width: 100%; aspect-ratio: 600 / 1304; object-fit: cover;
  border: 3px solid var(--ink); border-radius: 13% / 6%; box-shadow: 0 6px 0 var(--ink), 0 16px 34px rgba(0, 0, 0, .35);
  background: var(--panel-bot);
}
.shots figcaption { margin-top: 12px; text-align: center; font-weight: 600; font-size: 1rem; line-height: 1.3; color: #fff; }

/* questions */
.faq { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--panel); border: 4px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 16px 64px 17px 20px; border-radius: 18px;
  font-family: 'Lilita One', sans-serif; font-size: 1.25rem; line-height: 1.25; color: #fff; letter-spacing: .3px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--ink);
  background: linear-gradient(180deg, #ffe46b, #ffb300); border: 3px solid var(--ink);
}
.faq details[open] summary::after { content: '\2212'; }
.faq .answer { padding: 0 20px 20px; }
.faq-more { text-align: center; margin-top: clamp(26px, 3.5vw, 38px); }

/* ---------------------------------------------------------------- inner pages (privacy, support) */
.page-head { padding: clamp(14px, 3vw, 36px) 0 clamp(26px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.2rem); text-shadow: var(--outline-lg); margin-bottom: 14px; }
.page-head .lead { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); color: #fff; max-width: 40ch; }
.meta { font-weight: 600; color: var(--gold); margin-top: 8px; }
.prose { padding-bottom: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.1rem); margin: clamp(36px, 5vw, 52px) 0 14px; scroll-margin-top: 16px; }
.prose h3 { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.45rem); margin: 28px 0 8px; scroll-margin-top: 16px; }
.prose p, .prose li { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 0 0 .45em; }
.prose li::marker { color: var(--gold); }
.prose .panel { padding: clamp(18px, 3vw, 28px); margin: 0 0 8px; }
.prose .panel > h2:first-child { margin-top: 0; }
.short-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.short-list li {
  position: relative; padding-left: 36px; margin: 0 !important; font-weight: 600; color: #fff;
}
.short-list li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--yellow) url("/img/check.svg") center / 15px 15px no-repeat; border: 3px solid var(--ink);
}
.label { font-weight: 600; color: #fff; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 18px 0 0 !important; }
.toc li { margin: 0 !important; }
.toc a {
  display: inline-block; text-decoration: none; color: #fff; font-weight: 600; font-size: .98rem;
  background: rgba(5, 12, 34, .45); border: 3px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 5px 13px 6px;
}
.toc a:hover { border-color: var(--gold); }
.contact { display: grid; gap: 12px; padding: clamp(18px, 3vw, 28px); margin-top: 8px; }
.contact .email { font-family: 'Lilita One', sans-serif; font-size: clamp(1.2rem, 1rem + 1.3vw, 1.6rem); letter-spacing: .3px; overflow-wrap: anywhere; }
.side-art { margin: 6px 0 22px; max-width: 460px; }

/* ---------------------------------------------------------------- 404 */
.lost { padding: clamp(12px, 3vw, 36px) 0 clamp(56px, 8vw, 96px); }
.lost .panel { max-width: 720px; margin: 0 auto; padding: clamp(16px, 3vw, 28px); text-align: center; }
.lost img { width: 100%; border: 3px solid var(--ink); border-radius: 20px; margin-bottom: 22px; }
.lost h1 { font-size: clamp(2.2rem, 1.5rem + 3.4vw, 3.4rem); text-shadow: var(--outline); margin-bottom: 12px; }
.lost p { font-size: 1.15rem; }
.lost .btn-row { justify-content: center; margin-top: 22px; }

/* ---------------------------------------------------------------- footer */
.site-foot {
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--deep); border-top: 4px solid var(--ink);
  padding: 40px 0 calc(34px + env(safe-area-inset-bottom));
}
.foot-grid { display: grid; gap: 22px; }
.foot-brand p { margin: 10px 0 0; color: var(--muted); }
.foot-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { font-weight: 600; }
.legal { font-size: .9rem; color: var(--muted); margin: 0; }
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .foot-links { justify-content: flex-end; }
  .legal { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .btn:active { transform: none; }
}
