:root {
  --bg: #f4f0e9;
  --surface: #fffdf8;
  --text: #211d1a;
  --muted: #6d635d;
  --accent: #8f241f;
  --accent-soft: #f4ded8;
  --border: #ded4cb;
  --shadow: 0 18px 60px rgb(66 43 31 / 9%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  line-height: 1.7;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 55%), transparent 24rem),
    var(--bg);
}

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

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-header {
  width: min(100% - 2rem, 880px);
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 0.65rem;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 18px rgb(143 36 31 / 22%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.75rem;
}

main {
  width: min(100% - 2rem, 880px);
  margin: 0 auto;
}

article {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-heading,
section {
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
}

.policy-heading {
  padding-top: clamp(3rem, 9vw, 6rem);
  padding-bottom: clamp(2.5rem, 7vw, 4.5rem);
  color: #fffaf3;
  background:
    radial-gradient(circle at 90% 10%, rgb(255 226 201 / 18%), transparent 18rem),
    #701d1a;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: #efc8bb;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.lede {
  max-width: 48rem;
  margin: 1.5rem 0 0;
  color: #f2dfd5;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  line-height: 1.55;
}

.updated {
  margin: 2rem 0 0;
  color: #dfb8ad;
  font-size: 0.875rem;
}

section + section {
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

p {
  margin: 0;
}

p + p,
p + ul,
ul + p {
  margin-top: 1rem;
}

ul {
  margin-bottom: 0;
  padding-left: 1.35rem;
}

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

.contact {
  background: var(--accent-soft);
}

address {
  margin-top: 0.8rem;
  font-style: normal;
}

footer {
  width: min(100% - 2rem, 880px);
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(100% - 1rem, 880px);
  }

  article {
    border-radius: 0.9rem;
  }

  .policy-heading,
  section {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171312;
    --surface: #211c1a;
    --text: #f3eae3;
    --muted: #b8aaa1;
    --accent: #f19a89;
    --accent-soft: #39221f;
    --border: #443934;
    --shadow: 0 20px 70px rgb(0 0 0 / 28%);
  }

  body {
    background:
      linear-gradient(180deg, rgb(112 29 26 / 16%), transparent 24rem),
      var(--bg);
  }

  .brand-mark {
    color: #fff7f1;
    background: #8f241f;
  }
}

@media print {
  :root {
    --bg: #fff;
    --surface: #fff;
    --text: #000;
    --muted: #444;
    --border: #ccc;
  }

  body {
    background: #fff;
  }

  .site-header {
    display: none;
  }

  main {
    width: 100%;
  }

  article {
    border: 0;
    box-shadow: none;
  }

  .policy-heading {
    padding-top: 0;
    color: #000;
    background: #fff;
  }

  .eyebrow,
  .lede,
  .updated {
    color: #333;
  }
}
