/* Tallied legal & support pages — amber/sage palette from the app's design system. */
@font-face { font-family: "Caprasimo"; src: url("fonts/Caprasimo-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Figtree"; font-weight: 400; src: url("fonts/Figtree-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Figtree"; font-weight: 600; src: url("fonts/Figtree-SemiBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Figtree"; font-weight: 700; src: url("fonts/Figtree-Bold.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #fbf6ee;
  --surface: #ffffff;
  --text: #2f2a24;
  --text-secondary: #6b6258;
  --amber: #c9771e;
  --sage: #6f8a6a;
  --line: #eadfce;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1a16;
    --surface: #27231e;
    --text: #f3ece2;
    --text-secondary: #b5aa9c;
    --amber: #e69a45;
    --sage: #9db897;
    --line: #3a342c;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

header .brand {
  font-family: "Caprasimo", Georgia, serif;
  font-size: 2.4rem;
  color: var(--amber);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 20px;
  margin: 8px 0 32px;
  font-weight: 600;
}

nav a, a { color: var(--sage); }
nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

h1 {
  font-family: "Caprasimo", Georgia, serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 4px;
}

h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 36px 0 8px;
}

.meta { color: var(--text-secondary); margin-top: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
}

.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

summary { font-weight: 600; cursor: pointer; }

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: 0.9rem;
}
