/*
  Shared legal/support page chrome — aligned with index FarrierColors tokens.
*/
:root {
  color-scheme: light;
  --bg: #f7f3ee;
  --bg-mid: #efe6dc;
  --surface: #fffcf8;
  --surface-soft: #efe6dc;
  --text: #1a1410;
  --muted: #5c4f45;
  --muted-soft: #8a7b6e;
  --line: #e0d4c8;
  --line-strong: #cdbeae;
  --primary: #e6b800;
  --primary-hover: #c9a000;
  --on-primary: #1a1410;
  --accent: #b86b4a;
  --chrome: #7a1f2b;
  --chrome-variant: #5c1620;
  --on-chrome: #fffcf8;
  --on-chrome-muted: rgba(255, 252, 248, 0.72);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #14110f;
    --bg-mid: #1c1816;
    --surface: #1c1816;
    --surface-soft: #2a2320;
    --text: #f5f0e8;
    --muted: #c4b8a8;
    --muted-soft: #8f8274;
    --line: #3a322c;
    --line-strong: #4e443c;
    --primary: #ffcc00;
    --primary-hover: #e6b800;
    --on-primary: #14110f;
    --accent: #c48a6a;
    --chrome: #6b1a24;
    --chrome-variant: #4a1219;
    --on-chrome: #f5f0e8;
    --on-chrome-muted: rgba(245, 240, 232, 0.72);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.chrome-top {
  height: 6px;
  background: var(--chrome);
}

.legal-brand {
  background: var(--chrome);
  color: var(--on-chrome);
  padding: 14px 0;
}

.legal-brand .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-brand .brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--on-chrome);
  text-decoration: none;
}

.legal-brand .brand-link {
  color: var(--on-chrome-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

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

section {
  padding: 40px 0;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.25;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  color: var(--text);
}

p,
li {
  color: var(--muted);
}

ul {
  margin: 8px 0 12px;
  padding-left: 20px;
}

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

.section-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
}

.kicker {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-weight: 600;
}

.back-link {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 16px;
}

.back-link:hover {
  color: var(--accent);
}

footer {
  background: var(--chrome);
  color: var(--on-chrome-muted);
  padding: 28px 0 40px;
}

footer strong {
  color: var(--on-chrome);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0;
}

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

.footer-links a:hover {
  color: var(--on-chrome);
}
