/* BUM's site in the app's "Bluebird Day" look: pale sky, white cards with black ink outlines
   and hard offset shadows, poster-red links, racing stripes. Light only, like the app. */
@font-face { font-family: "Bricolage"; src: url("/fonts/BricolageGrotesque_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --bg: #E4F5FC;
  --surface: #FFFFFF;
  --ink: #14141A;
  --text: #14141A;
  --text-2: #33505F;
  --accent: #D81830;
  --sky: #00A8D8;
  --sky-deep: #0078A8;
  --gold: #F2A900;
  --stripe-y: #FFD21F;
  --stripe-o: #FF7A1A;
  --radius: 18px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, .brand { font-family: "Bricolage", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 700; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

.stripes { height: 18px; background: linear-gradient(var(--stripe-y) 0 33%, var(--stripe-o) 33% 66%, var(--accent) 66%); border-bottom: 2px solid var(--ink); }
header.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 24px; letter-spacing: 0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
nav.links { display: flex; gap: 18px; font-size: 15px; font-weight: 600; }
nav.links a { color: var(--text); text-decoration: none; white-space: nowrap; }
nav.links a:hover { color: var(--accent); }

.hero { text-align: center; padding-top: 36px; padding-bottom: 28px; }
.hero .icon { width: 140px; height: 140px; border-radius: 32px; margin: 0 auto 24px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.hero h1 { font-size: clamp(34px, 7vw, 58px); line-height: 1.08; margin: 0 0 14px; }
.hero p.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--text-2); max-width: 620px; margin: 0 auto 28px; }
.badges { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; padding-bottom: 28px; }
/* Official badges at the same width; never stretched. */
.badge { position: relative; display: inline-flex; flex-direction: column; align-items: center; }
.badge img { width: 180px; height: auto; }
.badge.soon img { opacity: 0.55; }
.badge.soon small { position: absolute; top: 100%; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.pills { margin-top: 24px; color: var(--text-2); font-size: 15px; font-weight: 600; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 24px 16px 18px; scroll-snap-type: x mandatory; max-width: 1080px; margin: 0 auto; }
.shots img { width: 230px; flex: 0 0 auto; border-radius: 18px; scroll-snap-align: center; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }

section.block { padding: 44px 0; }
section.block h2 { font-size: 30px; margin: 0 0 8px; }
section.block > .wrap > p { color: var(--text-2); margin: 0 0 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: 5px 5px 0 var(--ink); }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.card.sky { background: var(--sky); color: #fff; }
.card.sky p { color: #fff; }

.doc { padding-bottom: 24px; }
.doc h1 { font-size: 38px; margin: 18px 0 4px; }
.doc .meta { color: var(--text-2); margin: 0 0 24px; }
.doc h2 { font-size: 23px; margin: 30px 0 8px; }
.doc p, .doc li { color: #22313a; }
.doc ul, .doc ol { padding-left: 22px; }
.faq details { background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; padding: 14px 18px; margin-bottom: 12px; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p, .faq details ul, .faq details ol { margin: 10px 0 0; }
.contact { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; margin: 8px 0 26px; box-shadow: 5px 5px 0 var(--accent); }
.note { background: #FFF1C4; border: 2px solid var(--ink); border-radius: 14px; padding: 14px 18px; }

footer.bottom { border-top: 2px solid var(--ink); padding: 26px 0 40px; color: var(--text-2); font-size: 14px; margin-top: 28px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer.bottom a { color: var(--text-2); }
footer.bottom .legal { flex-basis: 100%; font-size: 12px; }

.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 920px; }
.theme { margin: 0; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 12px; box-shadow: 5px 5px 0 var(--ink); }
.theme img { width: 100%; border-radius: 12px; border: 2px solid var(--ink); }
.theme figcaption { display: flex; flex-direction: column; gap: 2px; padding: 12px 4px 4px; }
.theme strong { font-family: "Bricolage", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 19px; }
.theme span { color: var(--text-2); font-size: 15px; }
.theme em { font-style: normal; font-weight: 700; color: var(--accent); font-size: 14px; margin-top: 4px; }

@media (max-width: 520px) {
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .theme { padding: 8px; }
  .theme strong { font-size: 16px; }
  .theme span { font-size: 13px; }
  header.top { flex-wrap: wrap; }
  nav.links { gap: 6px 14px; font-size: 14px; flex-wrap: wrap; }
  .shots img { width: 190px; }
  .badge img { width: 160px; }
}
