:root {
  color-scheme: light dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  line-height: 1.65;
  --background: #f7f8f5;
  --surface: #ffffff;
  --text: #182019;
  --muted: #5d685f;
  --accent: #17643a;
  --border: #dbe1da;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
}

body {
  margin: 0;
  padding: clamp(1.25rem, 4vw, 3rem);
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

.back-link {
  display: block;
  margin: 0 auto 1rem;
  max-width: 48rem;
  width: 100%;
}

.policy,
.directory {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  box-shadow: 0 1rem 3rem rgb(26 38 29 / 8%);
  margin: 0 auto;
  max-width: 48rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

h1,
h2 {
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0 0 1.25rem;
}

h2 {
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  margin: 2.5rem 0 0.75rem;
}

p,
ul {
  margin: 0.75rem 0;
}

li + li {
  margin-top: 0.65rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.intro {
  color: var(--muted);
  font-size: 1.1rem;
}

.policy-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.policy-list li {
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: space-between;
  padding: 1rem 0;
}

.policy-list a {
  font-weight: 700;
}

.policy-list span {
  color: var(--muted);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101411;
    --surface: #171d18;
    --text: #edf3ed;
    --muted: #a9b4aa;
    --accent: #79d79d;
    --border: #354037;
  }

  .policy,
  .directory {
    box-shadow: none;
  }
}
