:root {
  --ink: #0f1720;
  --eucalyptus: #1e3a31;
  --ivory: #f3efe6;
  --paper: #ffffff;
  --terracotta: #c4553a;
  --wattle: #e2b43a;
  --slate: #64707a;
  --line: #d8d3c9;
  --success: #1f6d4a;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font: 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--eucalyptus); }
a:hover { color: var(--terracotta); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.site-header {
  background: var(--ink);
  color: var(--paper);
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}

.site-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--paper);
  font: 600 22px/1 var(--serif);
  text-decoration: none;
}

.back-link {
  color: #d9e1dc;
  font-size: 14px;
  text-decoration: none;
}

.page { padding-block: 68px 84px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -.015em;
}

h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(42px, 8vw, 64px);
  font-weight: 500;
  line-height: 1.02;
}

.lede {
  max-width: 58ch;
  margin: 24px 0 0;
  color: #47525c;
  font-size: 20px;
  line-height: 1.55;
}

.updated {
  margin: 22px 0 0;
  color: var(--slate);
  font-size: 14px;
}

.document,
.contact-card {
  margin-top: 48px;
  padding: clamp(26px, 5vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.document h2 {
  margin: 42px 0 12px;
  font-size: 28px;
  font-weight: 550;
  line-height: 1.15;
}

.document h2:first-child { margin-top: 0; }
.document h3 { margin: 28px 0 8px; font-size: 21px; }
.document p,
.document ul { margin: 0 0 18px; }
.document li + li { margin-top: 8px; }
.document strong { font-weight: 650; }

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  background: #fbf4de;
  border-left: 4px solid var(--wattle);
  border-radius: 4px 8px 8px 4px;
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 550;
}

.contact-card p { margin: 0 0 24px; color: #47525c; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #c69622;
  border-radius: 6px;
  background: var(--wattle);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: #ebc350; color: var(--ink); }

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: block;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 650;
  text-decoration: none;
}

.site-footer {
  padding-block: 30px;
  background: var(--eucalyptus);
  color: #dfe8e2;
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: #ffffff; }

@media (max-width: 580px) {
  .page { padding-block: 46px 64px; }
  .site-header__inner { min-height: 60px; }
  .link-list { grid-template-columns: 1fr; }
  .document, .contact-card { margin-top: 36px; padding: 24px 20px; }
}

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