/* Moku Focus website. Colours follow the app's Volt palette (iOSApp/iOSApp/Core/Design/VoltPalette.swift)
   and Beavi's own colours (docs/design/beaver-mascot/style.md). */
:root {
  --bg: #ffffff;
  --surface: #f4f5f0;
  --hairline: #e3e5de;
  --ink: #0e0f0c;
  --text: #0e0f0c;
  --muted: #5c5f57;
  --lime: #c8f000;
  --on-lime: #0e0f0c;
  --error: #c9281c;
  --card: #ffffff;
  --beavi-outline: #331303;
  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0f0c;
    --surface: #181a15;
    --hairline: #2a2d26;
    --text: #ffffff;
    --muted: #9a9d93;
    --card: #181a15;
    --error: #ff7a6e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0f0c;
  --surface: #181a15;
  --hairline: #2a2d26;
  --text: #ffffff;
  --muted: #9a9d93;
  --card: #181a15;
  --error: #ff7a6e;
  color-scheme: dark;
}

*, *::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(--lime); }
:focus-visible { outline: 3px solid var(--lime); 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(--ink);
  display: grid; place-items: center; color: var(--lime);
}
:root[data-theme="dark"] .brand-mark { background: var(--lime); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-mark { background: var(--lime); color: var(--ink); } }
.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(--text); }

/* 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; }
}
