/* Shared by the static pages in public/ (privacy, terms, support, delete-account, 404).
   Tokens mirror src/styles.css; keep the two in step. */
:root {
  --bg: #fffaf5;
  --surface: #ffffff;
  --surface-2: #fff1e6;
  --text: #1f1a17;
  --body: #3d3530;
  --text-muted: #6b625b;
  --border: #eadfd5;
  --accent: #e2591e;
  --accent-text: #b8470f;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15110e;
    --surface: #1f1915;
    --surface-2: #2a211b;
    --text: #f7f1ec;
    --body: #ddd3ca;
    --text-muted: #b3a79d;
    --border: #3a2f27;
    --accent: #ff8a4d;
    --accent-text: #ff9a62;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-text);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

.nav {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}

main.container {
  padding-top: 48px;
  padding-bottom: 64px;
}

h1,
h2 {
  font-family: ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.25rem;
  margin: 36px 0 10px;
}

h3 {
  font-size: 1rem;
  margin: 20px 0 6px;
}

p,
ul,
ol {
  margin-bottom: 12px;
  color: var(--body);
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

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

.updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
  color: var(--body);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer a {
  display: inline-block;
  color: var(--text-muted);
  margin: 0 16px 6px 0;
}
