/* Shared stylesheet for /terms.html and /privacy.html.
   Kept independent of the Vite-built marketing CSS so the legal pages
   render identically regardless of build artefact hashes. */

:root {
  --primary: #5b8def;
  --text: #1a2236;
  --text-muted: #5a6478;
  --border: #e0e4ec;
  --surface: #ffffff;
  --bg: #f7f9fc;
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.65;
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.legal-brand-mark {
  color: var(--primary);
  font-size: 20px;
}

.legal-back-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}

.legal-back-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

h1 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 32px;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 40px 0 12px;
  color: var(--text);
}

p,
li {
  color: var(--text);
  font-size: 16px;
}

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

a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 22px;
}

.legal-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

.placeholder {
  background: #fff7d6;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
  color: #6b5500;
}

code {
  background: #f0f4ff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--primary);
}
