/* Bubble Hunter website (deploy/prod/site): sky blue band, white ground, bubble pink accent,
   system fonts only (no font service sees the visitors),
   like the game's menus and the store pages. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --ink: #10233f;
  --soft: #4a5d78;
  --sky: #1d74d8;
  --sky-deep: #0f4fa3;
  --sky-pale: #e8f2fd;
  --pink: #e0247f;
  --line: #d5e2f2;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1a2c; --ink: #e8f0fb; --soft: #9fb3cc; --sky-pale: #12294a; --line: #1f3a5e; --card: #10233b; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--sky); }
@media (prefers-color-scheme: dark) { a { color: #7cc0ff; } }
h1, h2, h3 { font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif; line-height: 1.08; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 10px; }
h3 { font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 max(5vw, 18px); }

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 800 20px ui-rounded, "SF Pro Rounded", system-ui, sans-serif; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.bar nav { display: flex; gap: 6px; flex-wrap: wrap; }
.bar nav a { color: inherit; text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.bar nav a:hover, .bar nav a:focus-visible { background: rgba(255, 255, 255, 0.18); outline: none; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%); color: #fff; padding-bottom: clamp(36px, 6vw, 72px); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(16px, 4vw, 40px); }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: #e3eefc; max-width: 32em; margin: 18px 0 0; }
.hero .art { aspect-ratio: 1; border-radius: 28%; overflow: hidden; box-shadow: 0 24px 60px rgba(3, 20, 50, 0.45); max-width: 420px; justify-self: center; width: 100%; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 54px; padding: 8px 20px; border-radius: 14px; background: rgba(0, 0, 0, 0.28); border: 1.5px solid rgba(255, 255, 255, 0.45); color: #fff; text-decoration: none; }
.store small { font-size: 12px; opacity: 0.85; }
.store b { font-size: 17px; }
.note { font-size: 14px; color: #cfe1f8; margin-top: 10px; }

/* Sections */
section { padding: clamp(48px, 7vw, 88px) 0; }
section.alt { background: var(--sky-pale); }
.lede { color: var(--soft); max-width: 44em; margin: 0 0 28px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.feature p { margin: 6px 0 0; color: var(--soft); }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: 1px; }

.journey { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.journey img { border-radius: 22px; box-shadow: 0 16px 40px rgba(3, 20, 50, 0.22); }
.stages { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 8px; }
.stage { margin: 0; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.stage img { aspect-ratio: 2 / 1; object-fit: cover; width: 100%; }
.stage figcaption { padding: 10px 14px 12px; font-size: 15px; color: var(--soft); }
.stage figcaption b { color: var(--ink); display: block; font-size: 16px; }

ul.plain { padding-left: 1.2em; margin: 8px 0; }
ul.plain li { margin: 4px 0; }

/* Text pages */
.page { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) max(5vw, 18px) 64px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 12px; }
.page h2 { font-size: 24px; margin: 32px 0 8px; }
.page p { margin: 8px 0; }
.small-hero { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%); color: #fff; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--soft); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 820px) {
  .hero .grid, .journey { grid-template-columns: minmax(0, 1fr); }
  .hero .art { max-width: 280px; order: -1; }
}
