:root {
  color-scheme: dark;
  --background: #0d0d0d;
  --surface: #151515;
  --text: #ffffff;
  --muted: #b6b6b6;
  --dim: #777777;
  --separator: #252525;
  --max-width: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header,
.site-footer {
  width: 100%;
  border-color: var(--separator);
}

.site-header {
  border-bottom: 1px solid var(--separator);
}

.site-footer {
  border-top: 1px solid var(--separator);
}

.nav,
.footer-inner,
.hero,
.legal-layout {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.nav,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1.5rem;
}

.wordmark {
  display: block;
  width: 8.75rem;
  height: auto;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.hero {
  display: grid;
  min-height: calc(100vh - 9.125rem);
  align-content: center;
  padding-block: 6rem;
}

.eyebrow,
.legal-meta,
.section-number {
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 13ch;
  margin: 1.25rem 0 1.5rem;
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.status::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #ffffff;
  content: "";
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(4rem, 9vw, 8rem);
}

.legal-aside {
  align-self: start;
}

.legal-aside h1 {
  margin: 1rem 0 2rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.contents {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--separator);
  list-style: none;
}

.contents a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  text-decoration: none;
}

.legal-content {
  min-width: 0;
  max-width: 46rem;
}

.legal-content section {
  padding-block: 0 3.5rem;
  scroll-margin-top: 2rem;
}

.legal-content h2 {
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--separator);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.legal-content h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content strong {
  color: var(--text);
}

.legal-content li + li {
  margin-top: 0.5rem;
}

.notice {
  margin-block: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--separator);
  background: var(--surface);
}

.notice p {
  margin: 0;
  color: var(--text);
  font-size: 0.925rem;
  font-weight: 600;
}

.footer-inner {
  min-height: 5rem;
  color: var(--dim);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 50rem) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .contents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 36rem) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.25rem;
  }

  .hero {
    min-height: calc(100vh - 12rem);
    padding-block: 4rem;
  }

  .contents {
    grid-template-columns: 1fr;
  }
}

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