/* Shared styles for Slap Post legal/support pages. The landing page
   (index.html) inlines its own copy of these tokens; this file is for
   /terms, /privacy, /support which are simpler text pages. */

:root {
  --bg: #0A0A0A;
  --surface-1: #111114;
  --surface-2: #16181C;
  --hairline-soft: #1A1C20;
  --text: #F5F5F5;
  --text-2: #8A8F98;
  --text-3: #5A5F68;
  --accent: #C5F74F;
  --accent-ink: #0A0F00;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --maxw: 760px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: underline; text-decoration-color: var(--text-3); }
a:hover { text-decoration-color: var(--accent); }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.8);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline-soft);
}
nav.top .inner {
  max-width: var(--maxw);
  margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
nav.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
nav.top .brand .name { font-size: 14px; font-weight: 700; letter-spacing: -0.2px; }
nav.top .brand .name .dot { color: var(--accent); }
nav.top .back { font-size: 13px; color: var(--text-2); text-decoration: none; }
nav.top .back:hover { color: var(--text); }

main { padding: 64px 0 96px; }
main h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin: 0 0 8px;
}
main .meta {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}
main h2 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin: 36px 0 12px;
}
main h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 8px;
}
main p, main li { color: var(--text); }
main p { margin: 0 0 14px; }
main ul, main ol { padding-left: 22px; margin: 0 0 14px; }
main li { margin: 4px 0; }
main strong { color: var(--text); }

main .callout {
  background: var(--surface-1);
  border: 1px solid var(--hairline-soft);
  border-radius: 14px;
  padding: 18px 22px;
  color: var(--text-2);
  font-size: 14px;
  margin: 24px 0;
}

footer {
  border-top: 1px solid var(--hairline-soft);
  padding: 36px 0 56px;
  color: var(--text-3);
  font-size: 12.5px;
}
footer .row { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
footer .row a { color: var(--text-2); text-decoration: none; }
footer .row a:hover { color: var(--text); }
