@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #0a0b0b;
  --surface: #121212;
  --border: #2a2c2c;
  --text: #f5f5f5;
  --muted: #9aa0a0;
  --link: #7ddc7d;
  --max-width: 920px;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: var(--muted);
}

/* ---------- Header (privacy / terms / 404) ---------- */

.site-header {
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ---------- Home splash ---------- */

.splash {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.splash-mark {
  width: 96px;
  height: 96px;
  margin-bottom: 12px;
}

.splash h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.splash p {
  margin: 0;
  font-size: 15px;
}

/* ---------- Long-form prose (privacy / terms) ---------- */

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 0 40px;
}

.prose h1 {
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.prose .last-updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 36px;
}

.prose h2 {
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.01em;
  margin: 48px 0 14px;
  scroll-margin-top: 24px;
}

.prose h3 {
  font-size: 19px;
  margin: 32px 0 10px;
  scroll-margin-top: 24px;
}

.prose p {
  margin: 0 0 16px;
  color: #e4e6e6;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 24px;
  color: #e4e6e6;
}

.prose li {
  margin-bottom: 6px;
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--link);
  word-break: break-word;
}

/* ---------- Centered fallback (404) ---------- */

.center-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.center-page h1 {
  font-size: clamp(40px, 8vw, 72px);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.center-page p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 24px;
}
