/* Styles for the static /privacy and /terms pages.
 *
 * Why these pages are plain HTML rather than React routes: Google's OAuth
 * brand-verification checker has to find the policy text and the homepage's
 * privacy-policy link in the served HTML, and it is documented to miss
 * client-rendered markup. So these carry their own CSS and load no JS.
 *
 * Tokens mirror src/index.css: background #0B0C0F, foreground #F4F4F1,
 * primary #8B5CF6, brand-violet-soft #B9A3FF, Inter.
 */
:root {
  --background: #0b0c0f;
  --foreground: #f4f4f1;
  --prose: #d9dad6;
  --muted: #9c9ea8;
  --border: #23252b;
  --violet-soft: #b9a3ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--prose);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 768px; margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img { display: block; width: 26px; height: 26px; border-radius: 7px; }
.back { font-size: 14px; color: var(--muted); }
.back:hover { color: var(--foreground); text-decoration: none; }

/* ------------------------------------------------------------------ body */
main { padding: 56px 20px 72px; }

h1 {
  margin: 0 0 10px;
  color: var(--foreground);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

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

section { margin: 0 0 32px; }

h2 {
  margin: 0 0 12px;
  color: var(--foreground);
  font-size: 16px;
  font-weight: 600;
}

p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 8px; }
strong { color: var(--foreground); font-weight: 600; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--border); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  padding-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer nav { display: flex; gap: 20px; }

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  main { padding: 40px 20px 56px; }
}
