:root {
  --paper: #f7f8fa;
  --white: #ffffff;
  --ink: #20242b;
  --muted: #69717d;
  --faint: #a8afb8;
  --line: #dfe3e8;
  --dusk: #4a596d;
  --amber: #bd7d3e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(189, 125, 62, 0.09), transparent 25rem),
    var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.68;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid rgba(189, 125, 62, 0.45);
  outline-offset: 4px;
}

.shell {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-decoration: none;
}

.back-link,
.footer-link {
  color: var(--dusk);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 0.25rem;
}

.back-link:hover,
.footer-link:hover { text-decoration: underline; }

main { padding: 5rem 0 7rem; }

.policy-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.34fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.policy-meta {
  position: sticky;
  top: 2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
}

.updated {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.policy-document {
  max-width: 47rem;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 1.2rem 3.5rem rgba(32, 36, 43, 0.055);
}

.policy-document > :first-child { margin-top: 0; }
.policy-document > :last-child { margin-bottom: 0; }

.policy-document h2 {
  margin: 3rem 0 0.8rem;
  padding-top: 0.5rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
}

.policy-document h3 {
  margin: 2rem 0 0.65rem;
  color: var(--dusk);
  font-size: 1.15rem;
  line-height: 1.3;
}

.policy-document p { margin: 0 0 1.15rem; }

.policy-document ul {
  margin: 0 0 1.4rem;
  padding-left: 1.3rem;
}

.policy-document li + li { margin-top: 0.75rem; }

.policy-document a {
  color: var(--dusk);
  font-weight: 650;
  text-decoration-color: rgba(189, 125, 62, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
}

.policy-document a:hover { text-decoration-color: var(--amber); }

.policy-document blockquote {
  margin: 1.5rem 0;
  padding: 1.2rem 1.35rem;
  color: var(--dusk);
  background: var(--paper);
  border-left: 3px solid var(--amber);
  border-radius: 0 0.8rem 0.8rem 0;
}

.policy-document blockquote > :last-child { margin-bottom: 0; }

.callout,
.acceptance {
  margin: 1.6rem 0;
  padding: 1.15rem 1.25rem;
  background: rgba(189, 125, 62, 0.09);
  border: 1px solid rgba(189, 125, 62, 0.25);
  border-radius: 0.85rem;
}

.acceptance {
  margin-top: 3rem;
  color: var(--ink);
  background: #f0e9df;
}

.placeholder {
  min-height: 24rem;
  display: grid;
  align-content: center;
}

.placeholder h2 { margin-top: 0; }

.site-footer {
  padding: 2rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1.25rem;
}

.footer-nav .footer-link { font-size: 0.8rem; }

@media (max-width: 760px) {
  .site-header { min-height: 4.75rem; }
  main { padding: 3.5rem 0 5rem; }
  .policy-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .policy-meta { position: static; }
  h1 { max-width: 11ch; font-size: clamp(3rem, 15vw, 4.8rem); }
  .policy-document { padding: 1.4rem; border-radius: 1rem; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
}

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