/* Bislama Buddy brand tokens (Brand guidelines 1.0) — shared by every page. */
:root {
  --lagoon: #0E4352;   /* primary · text & teal buddy */
  --coral: #FF6B4A;    /* primary · buttons. Never white text on coral. */
  --coconut: #FBF3E6;  /* backgrounds */
  --reef: #0A1F26;     /* body text · dark mode */
  --shallows: #2C8AA6; /* teal buddy on dark */
  --sunshine: #FFC24B; /* rewards · streaks */

  --bg: var(--coconut);
  --card: #FFFFFF;
  --sand: #F5E8D3;     /* soft panel on coconut */
  --ink: var(--lagoon);
  --muted: #4E6B73;
  --line: #EADBC4;
  --kicker: #D9482A;   /* coral text dark enough for AA on coconut */

  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--reef);
    --card: #10303A;
    --sand: #0F2A33;
    --ink: var(--coconut);
    --muted: #A9C2C8;
    --line: #1D4250;
    --kicker: var(--coral);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; } /* clear the sticky header */
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.kicker { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--kicker); }
.sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 44px); margin: 10px 0 14px; }

/* Buttons: coral with Night Reef text (white on coral fails contrast). */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font: 600 17px var(--display); text-decoration: none; cursor: pointer; }
.btn-coral { background: var(--coral); color: var(--reef); box-shadow: 0 4px 0 #D9482A; }
.btn-coral:active { transform: translateY(3px); box-shadow: 0 1px 0 #D9482A; }
.btn-ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--sunshine); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.top .logo img { height: 34px; width: auto; }
.top nav a { margin-left: 22px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
@media (max-width: 720px) { .top nav a:not(.keep) { display: none; } }

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; padding: 7px 14px 7px 11px; text-decoration: none; line-height: 1.1; min-width: 150px; }
.store svg { width: 24px; height: 24px; fill: #fff; flex: none; }
.store small { display: block; font-size: 10px; letter-spacing: .2px; }
.store b { font-size: 18px; font-weight: 600; font-family: var(--body); }

footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer.site img { height: 28px; width: auto; }
footer.site nav a { margin-left: 16px; }
