/* Bumper Keeper: the game's arcade night. Ink-outlined sticker cards on a
   violet sunburst, Bungee for display, Atkinson Hyperlegible for reading. */
@font-face { font-family: "Bungee"; src: url("media/fonts/Bungee-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("media/fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("media/fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --key: #07030d;
  --paper: #140824;
  --night: #2a0f55;
  --violet: #8a1fa8;
  --hot: #ff5cc4;
  --cream: #fff4dc;
  --lavender: #e6dcff;
  --muted: #b9a9d6;
  --yellow: #f6ff2b;
  --cyan: #22f3ff;
  --orange: #ff7b1c;
  --pink: #ff2d95;
  --display: "Bungee", "Arial Black", Impact, system-ui, sans-serif;
  --body: "Atkinson", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--lavender);
  font: 18px/1.6 var(--body);
}
img, video { max-width: 100%; display: block; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--cream); margin: 0; letter-spacing: 0.01em; text-wrap: balance; }
h2 { font-size: clamp(30px, 5vw, 48px); line-height: 1.05; text-shadow: 3px 4px 0 var(--key); -webkit-text-stroke: 1.5px var(--key); }
h3 { font-size: 20px; line-height: 1.15; }
p { margin: 0; }
.lede { color: var(--muted); max-width: 60ch; }

/* The sunburst the app icon and store art use. */
.burst {
  background:
    radial-gradient(ellipse at 50% 38%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    repeating-conic-gradient(from 0deg at 50% 38%, rgba(255, 255, 255, 0.07) 0 11.25deg, transparent 11.25deg 22.5deg),
    radial-gradient(ellipse at 50% 38%, var(--hot) 0%, var(--violet) 45%, var(--night) 100%);
}

/* --- Hero ---------------------------------------------------------------- */
.hero { padding-block: 28px 72px; overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; font-family: var(--display); font-size: 20px; }
.brand img { width: 44px; height: 44px; border-radius: 22%; border: 3px solid var(--key); }
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 700; }
.nav-links a { color: var(--cream); text-decoration: none; }
.nav-links a:hover { color: var(--yellow); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(48px, 9vw, 104px); line-height: 0.95;
  -webkit-text-stroke: 3px var(--key); paint-order: stroke fill;
  text-shadow: 5px 7px 0 var(--key);
}
.tagline { font-family: var(--display); color: var(--yellow); font-size: clamp(20px, 3vw, 28px); margin-top: 14px; text-shadow: 2px 3px 0 var(--key); }
.hero .lede { color: var(--lavender); margin-top: 18px; font-size: 20px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 18px; text-decoration: none;
  color: var(--key); background: var(--yellow);
  border: 3px solid var(--key); border-radius: 12px; padding: 14px 22px;
  box-shadow: 4px 5px 0 var(--key); transition: transform 0.12s, box-shadow 0.12s;
}
.button:hover { transform: translate(-1px, -2px); box-shadow: 5px 7px 0 var(--key); }
.button.ghost { background: var(--paper); color: var(--cream); }
.soon { font-weight: 700; color: var(--cream); }
.hero-art { position: relative; justify-self: center; }
.phone {
  width: min(330px, 78vw); aspect-ratio: 9 / 16;
  border: 5px solid var(--key); border-radius: 30px; overflow: hidden;
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 9px var(--key), 12px 16px 0 9px rgba(7, 3, 13, 0.8);
  background: var(--key);
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.sticker { position: absolute; width: 130px; filter: drop-shadow(4px 6px 0 rgba(7, 3, 13, 0.6)); }
.sticker.grunt { right: -58px; top: -34px; transform: rotate(10deg); }
.sticker.queen { left: -78px; bottom: 28px; width: 150px; transform: rotate(-8deg); }

/* --- Sections ------------------------------------------------------------- */
section { padding-block: 80px; }
section.alt { background: linear-gradient(180deg, #1b0b33, var(--paper)); }
.head { display: grid; gap: 14px; margin-bottom: 36px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--cream); color: #2a1440;
  border: 3px solid var(--key); border-radius: 18px;
  box-shadow: 6px 8px 0 var(--key);
  padding: 18px; display: grid; gap: 12px; align-content: start;
}
.card h3 { color: #5a1fa0; -webkit-text-stroke: 0; }
.card img.shot { border: 3px solid var(--key); border-radius: 12px; aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.tag { justify-self: start; font: 700 12px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; background: var(--key); color: var(--cyan); padding: 6px 9px; border-radius: 6px; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; padding-bottom: 8px; }
.shots img { width: 100%; border: 3px solid var(--key); border-radius: 14px; box-shadow: 4px 6px 0 var(--key); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; background: #1f0f38; border: 3px solid var(--key); border-radius: 14px; padding: 10px 8px 8px; display: grid; gap: 6px; justify-items: center; }
.gallery img { height: 110px; width: auto; object-fit: contain; }
.gallery figcaption { font: 700 11px/1.2 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; }

.keepers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.keepers .card { justify-items: center; text-align: center; padding: 16px 12px; }
.keepers img { width: 110px; }
.keepers p { font-size: 15px; line-height: 1.4; }
.keepers .line { font-style: italic; color: #6b5a8a; margin-top: -6px; }
.keepers .kit { font: 700 12px/1.3 var(--body); letter-spacing: 0.05em; text-transform: uppercase; color: #7a2ed0; }

.depth { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat { background: #1f0f38; border: 3px solid var(--key); border-radius: 16px; padding: 18px 16px; display: grid; gap: 2px; text-align: center; }
.stat b { font: 400 clamp(40px, 6vw, 56px)/1 var(--display); color: var(--yellow); text-shadow: 3px 4px 0 var(--key); }
.stat span { font-family: var(--display); color: var(--cream); font-size: 16px; overflow-wrap: anywhere; margin-top: 6px; }
.stat small { color: var(--muted); font-size: 14px; line-height: 1.35; }

.tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.table-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; background: #1f0f38; border: 3px solid var(--key); border-radius: 16px; padding: 14px; }
.table-card img { width: 72px; }
.table-card h3 { font-size: 16px; }
.table-card p { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 4px; }
.table-card .goal { color: var(--yellow); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }

.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.extra { background: #1f0f38; border: 3px solid var(--key); border-radius: 16px; padding: 18px; display: grid; gap: 6px; }
.extra h3 { font-size: 18px; color: var(--yellow); }
.extra p { font-size: 15px; line-height: 1.5; color: var(--muted); }

.free { text-align: center; display: grid; gap: 18px; justify-items: center; }
.free .lede { margin-inline: auto; }

footer { padding-block: 36px; border-top: 3px solid var(--key); background: var(--key); color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
footer a { color: var(--lavender); }

/* --- Text pages (support, privacy) ----------------------------------------- */
.page { padding-block: 40px 80px; }
.page article { background: var(--cream); color: #2a1440; border: 3px solid var(--key); border-radius: 20px; box-shadow: 6px 8px 0 var(--key); padding: clamp(20px, 4vw, 44px); max-width: 780px; margin-inline: auto; }
.page h1 { font-size: clamp(32px, 6vw, 52px); color: #5a1fa0; margin-bottom: 18px; -webkit-text-stroke: 0; }
.page h2 { font-size: 22px; color: #5a1fa0; text-shadow: none; -webkit-text-stroke: 0; margin-top: 28px; margin-bottom: 8px; }
.page p, .page li { color: #2a1440; max-width: 68ch; }
.page p + p { margin-top: 12px; }
.page a { color: #7a2ed0; font-weight: 700; }
.page .updated { color: #6b5a8a; font-size: 15px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .keepers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticker.grunt { right: -24px; width: 100px; }
  .sticker.queen { left: -30px; width: 110px; }
}
@media (max-width: 560px) {
  .nav-links a:not(:last-child) { display: none; }
  .hero h1 { font-size: clamp(40px, 13vw, 64px); -webkit-text-stroke: 2px var(--key); text-shadow: 3px 5px 0 var(--key); }
  .cta .button { flex: 1 1 100%; justify-content: center; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .depth { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .gallery img { height: 80px; }
  .table-card { grid-template-columns: 56px minmax(0, 1fr); }
  .table-card img { width: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
