:root {
  color-scheme: light;
  --background: #fffaf7;
  --surface: #ffffff;
  --text: #2b2026;
  --muted: #675a61;
  --accent: #8b2f55;
  --accent-dark: #67213e;
  --border: #dbcbd2;
  --draft-background: #fff1c7;
  --draft-border: #8a5a00;
  --draft-text: #422b00;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.65;
}

body {
  margin: 0;
}

.draft-banner {
  background: var(--draft-background);
  border-bottom: 3px solid var(--draft-border);
  color: var(--draft-text);
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.85rem 1rem;
  text-align: center;
}

.policy,
footer {
  margin-inline: auto;
  max-width: 46rem;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.policy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  margin-block: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.5rem, 5vw, 3rem);
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 7vw, 3.25rem);
  margin-block: 0.35rem 0.75rem;
}

h2 {
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  margin-block: 2.25rem 0.75rem;
}

p,
li {
  max-width: 68ch;
}

.effective-date {
  color: var(--muted);
  margin-top: 0;
}

.draft-notice {
  background: var(--draft-background);
  border: 2px solid var(--draft-border);
  border-radius: 0.5rem;
  color: var(--draft-text);
  margin-block: 1.5rem 2rem;
  padding: 1rem 1.2rem;
}

.draft-notice h2 {
  margin-top: 0;
}

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

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

a:focus-visible {
  border-radius: 0.15rem;
  outline: 3px solid var(--accent);
  outline-offset: 0.2rem;
}

footer {
  color: var(--muted);
  font-size: 0.9rem;
  padding-bottom: 2rem;
}

.not-found {
  margin-top: clamp(2rem, 12vw, 8rem);
}

@media (max-width: 35rem) {
  .policy {
    border-inline: 0;
    border-radius: 0;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

