:root {
  color-scheme: dark;
  --background: #000000;
  --text: #f7f4ee;
  --secondary: #a8a6a1;
  --border: #2b2a28;
  --surface: #121212;
  --content-width: 720px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-size-adjust: 100%;
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
}

a {
  color: var(--text);
  text-decoration-color: var(--secondary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  text-decoration-color: var(--text);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.6rem 0.85rem;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--background);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100% - 2rem, var(--content-width));
  min-height: 100vh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

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

.site-header {
  min-height: 5rem;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
}

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

.site-nav a {
  color: var(--secondary);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--text);
}

main {
  flex: 1;
  padding-block: clamp(3.5rem, 10vw, 7rem);
}

.hero {
  min-height: 58vh;
  display: grid;
  align-content: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 14vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.1em;
}

.tagline {
  margin: 1.5rem 0 0;
  color: var(--text);
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  letter-spacing: 0.02em;
}

.intro {
  max-width: 38rem;
  margin: 2rem 0 0;
  color: var(--secondary);
  font-size: clamp(1rem, 3vw, 1.15rem);
}

.page-heading {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 8vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.effective-date,
.lede,
.site-footer {
  color: var(--secondary);
}

.effective-date {
  margin: 0 0 2.5rem;
}

.lede {
  max-width: 40rem;
  font-size: 1.1rem;
}

.content-section {
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
}

.content-section:first-of-type {
  margin-top: 2rem;
}

.content-section h2 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.content-section p,
.content-section ul {
  margin: 0;
  color: var(--secondary);
}

.content-section p + p,
.content-section p + ul,
.content-section ul + p {
  margin-top: 0.9rem;
}

.content-section li + li {
  margin-top: 0.35rem;
}

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

.site-footer {
  min-height: 5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 1.5rem, var(--content-width));
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 52vh;
  }
}

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