:root {
  color-scheme: dark;
  --background: #080909;
  --surface: #111313;
  --text: #f2f2ee;
  --muted: #a8aaa5;
  --line: rgba(242, 242, 238, 0.16);
  --accent: #c9ff28;
  --content: 1080px;
  --reading: 720px;
  --gutter: clamp(20px, 5vw, 56px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header,
.page-hero,
.page-layout,
.site-footer {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header-rule {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 9, 0.94);
  backdrop-filter: blur(12px);
}

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

.brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.page-hero {
  padding-top: clamp(64px, 10vw, 112px);
  padding-bottom: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
p,
ul {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.effective-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, var(--reading));
  justify-content: space-between;
  gap: clamp(40px, 7vw, 76px);
  padding-top: clamp(48px, 7vw, 76px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.contents {
  position: sticky;
  top: 98px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.contents strong,
.contents a {
  display: block;
  font-size: 0.8rem;
}

.contents strong {
  margin-bottom: 8px;
}

.contents a {
  padding: 4px 0;
  color: var(--muted);
  text-decoration: none;
}

.summary {
  margin-bottom: 48px;
  padding: 22px 24px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.summary p {
  margin: 0;
  color: var(--text);
}

.page-copy section {
  scroll-margin-top: 96px;
}

.page-copy section + section {
  margin-top: 42px;
}

.page-copy h2 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  letter-spacing: -0.015em;
}

.page-copy p,
.page-copy li {
  color: var(--muted);
}

.page-copy ul {
  padding-left: 1.3rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .contents {
    position: static;
  }
}

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