/* Moku Focus website. Colours follow the app (iOSApp/iOSApp/Core/Design/VoltPalette.swift, decision 0025):
   Moku's blue world behind him, white cards, yellow only for the main button, blue for earned progress.
   Moku keeps his own colours (docs/design/beaver-mascot/style.md). */
:root {
  /* Always light, like the app. */
  --bg: #ffffff;
  --surface: #eef2fe;
  --hairline: #dde3f3;
  --ink: #0e0f0c;
  --text: #0e0f0c;
  --muted: #5c5f57;
  --card: #ffffff;
  --error: #c9281c;
  /* Main buttons only, always with ink text; the darker band is the button's bottom edge. */
  --action: #ffcf4a;
  --action-edge: #e5ae2e;
  /* Moku's world. White text of any size reads on both (>= 4.5:1). */
  --world-top: #4f6fde;
  --world: #4c6cdc;
  --world-bank: #5a78df;
  /* Small blue marks and selections on white or surface (white on it 5.14:1). */
  --blue: #4565d6;
  --moku-outline: #331303;
  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--world);
  display: grid; place-items: center; color: #fff;
}
.brand-mark svg { width: 16px; height: 16px; }
.top-note { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Footer */
.foot {
  border-top: 1px solid var(--hairline);
  margin-top: 96px; padding: 28px 0 40px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 14px; color: var(--muted);
}
.foot nav { display: flex; gap: 20px; }
.foot a { text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--blue); }

/* Prose pages (privacy, support) */
.prose { padding-top: 32px; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 900; }
.prose .lede { color: var(--muted); font-size: 19px; margin: 0 0 40px; }
.prose h2 { font-size: 22px; letter-spacing: -0.01em; margin: 44px 0 10px; font-weight: 800; }
.prose h3 { font-size: 18px; margin: 28px 0 6px; font-weight: 800; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .muted { color: var(--muted); }
.callout {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 20px 22px; margin: 28px 0;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
