/* Styles for the static Privacy Policy and Terms pages. Colors come from themes.css. */
:root {
  --canvas: var(--bg-page);
  --surface: var(--bg-surface);
  --line: var(--border-default);
  --fill: var(--bg-subtle);
  --ink: var(--text-primary);
  --muted: var(--text-secondary);
  --faint: var(--text-muted);
  --accent: var(--accent-text);
  --accent-fill: var(--accent-primary);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 4px 14px rgb(0 0 0 / 0.04);
}

:root[data-theme$='-dark'] {
  --shadow: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 2px;
}

header,
main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 28px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-fill);
  color: var(--accent-contrast);
}

header nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
  font-size: 14px;
}

article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 32px clamp(20px, 5vw, 44px) 36px;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  margin: 32px 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

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

.summary {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--fill);
}

.summary p {
  margin: 0;
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 4px;
}

footer {
  padding-top: 20px;
  padding-bottom: 40px;
  color: var(--faint);
  font-size: 13px;
  text-align: center;
}
