:root {
  --canvas: #f8f6f2;
  --paper: #fffdfa;
  --accent: #8f3d35;
  --ink: #242821;
  --muted: #626962;
  --line: #ded7cd;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header,
.site-footer,
.legal-hero,
.summary-band,
.legal-section {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header {
  justify-content: space-between;
  min-height: 4.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

nav,
.hero-links,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

nav a,
.hero-links a,
.site-footer a {
  border-radius: 0.25rem;
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

nav a,
.site-footer a {
  padding: 0.25rem 0;
}

.legal-hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.legal-hero__copy {
  display: grid;
  gap: 1.1rem;
  max-width: 760px;
}

.legal-hero p,
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.02;
}

.hero-links a {
  border: 1px solid var(--line);
  padding: 0.68rem 0.88rem;
  background: var(--paper);
}

.hero-links a:first-child {
  border-color: var(--accent);
  background: var(--accent);
  color: #fffdfa;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--paper);
}

.summary-band div,
.section-heading dl div {
  min-width: 0;
  padding: 1rem;
}

.summary-band div + div,
.section-heading dl div + div {
  border-left: 1px solid var(--line);
}

.summary-band span,
dt {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.summary-band strong,
dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.98rem;
}

.legal-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0 0;
  scroll-margin-top: 1rem;
}

.section-heading {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.05;
}

.section-heading dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--paper);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.policy-column {
  min-width: 0;
}

.policy-column > h3 {
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.policy-column section {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

h4 {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.3;
}

p,
li {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

p {
  margin: 0.72rem 0 0;
}

ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
}

details {
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--paper);
}

summary {
  cursor: pointer;
  padding: 0.95rem 1rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

details > p,
details > ul {
  margin-inline: 1rem;
}

details > :last-child {
  margin-bottom: 1rem;
}

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

.site-footer span {
  margin-right: auto;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.redirect-page {
  display: grid;
  min-height: 100vh;
  place-content: center;
  gap: 1rem;
  width: min(680px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
}

.redirect-page h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.redirect-page p {
  margin: 0;
}

@media (max-width: 900px) {
  .summary-band,
  .section-heading dl,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .summary-band div + div,
  .section-heading dl div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    padding: 1rem 0;
  }

  .site-footer span {
    margin-right: 0;
  }

  .hero-links {
    align-items: stretch;
    flex-direction: column;
    width: min(20rem, 100%);
  }

  .hero-links a {
    text-align: center;
  }
}
