/* Pwagu "Blackish" design system — shared across every web page.
   One source of truth: tokens, fonts, the sticky snap-in header, buttons, footer, prose. */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;450;500;600;700&display=swap");

:root {
  --bg: #0a0a0b; --bg-soft: #0e0e11; --surface: #151517; --surface-2: #1b1b1f;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #f5f5f4; --muted: #a5a5ab; --faint: #6e6e77;
  --accent: #3EB0E6; --accent-2: #2b93c9; --gold: #e3c08a; --live: #5ad1a0; --danger: #f0736f;
  --maxw: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.serif { font-family: var(--serif); }
.accent { color: var(--accent); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; font-family: var(--serif); color: var(--text); }
.brand.small { font-size: 16px; }
.mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(155deg, #22242a, #0e0f12); border: 1px solid var(--line-2);
  color: var(--accent); font-weight: 700; font-size: 17px; font-family: var(--serif); }
.brand.small .mark { width: 24px; height: 24px; font-size: 13px; }

/* Sticky "snap-in" header */
.site-header { position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,11,.72); backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.site-header .inner, .site-footer .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 550; font-size: 15px;
  padding: 11px 20px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
  transition: transform .14s ease, background .16s, border-color .16s, color .16s, filter .16s; }
.btn-primary { background: var(--text); color: #0a0a0b; font-weight: 600; }
.btn-primary:hover { transform: translateY(-1px); background: #fff; }
.btn-accent { background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: #04222e; font-weight: 600; box-shadow: 0 10px 30px rgba(62,176,230,.24); }
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.28); }
.btn.full { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: default; box-shadow: none; transform: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.site-footer .inner { font-size: 13.5px; color: var(--faint); flex-wrap: wrap; }
.site-footer a:hover { color: var(--text); }

/* Section headings shared */
.sec-label { text-align: center; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.sec-title { text-align: center; font-family: var(--serif); font-weight: 500; font-size: 36px; letter-spacing: -.02em; margin: 0 0 44px; }

/* Long-form prose (privacy / terms) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 26px 72px; }
.doc h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: -.02em; margin: 0 0 6px; }
.doc .updated { color: var(--faint); font-size: 13.5px; margin: 0 0 36px; }
.doc h2 { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -.01em; margin: 38px 0 12px; }
.doc h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.doc a { color: var(--accent); }
.doc ul { padding-left: 20px; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc .lede { color: var(--text); font-size: 17px; }
.doc .callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 16px 18px; margin: 22px 0; }
.doc .callout p { margin: 0; color: #dcdce0; }

@media (max-width: 880px) {
  .sec-title { font-size: 28px; }
  .doc h1 { font-size: 30px; }
  .nav-links a:not(.btn) { display: none; }
}
