:root {
  color-scheme: light;
  --paper: #faf7f0;
  --panel: #f5efe4;
  --ink: #231b29;
  --muted: #554b59;
  --accent: #4824bc;
  --line: #d8cec2;
  --serif: Georgia, 'Times New Roman', serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

:where(h1, h2, p) {
  margin: 0;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 1;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.frame {
  width: min(82rem, calc(100% - 2 * clamp(1rem, 4.5vw, 4rem)));
  margin-inline: auto;
}

.site-header,
.site-footer {
  border-color: var(--line);
  border-style: solid;
  border-width: 0;
}

.site-header {
  border-bottom-width: 1px;
}

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

.header-content {
  min-height: 4.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  font-size: 1.0625rem;
  font-weight: 680;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 1.625rem;
  aspect-ratio: 1;
  border-radius: 0.1875rem;
  background: var(--accent);
}

.brand-mark::before {
  content: '';
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid var(--paper);
  transform: rotate(45deg);
}

.nav-link,
.footer-content a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
}

.nav-link:hover {
  text-decoration: underline;
}

main {
  flex: 1;
  padding-block: clamp(1.25rem, 3vw, 2.75rem) 0;
}

.hero {
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  border: 1px solid var(--line);
  background: var(--panel);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font: 0.875rem/1.5 var(--mono);
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  flex: 0 0 1.125rem;
  height: 1px;
  background: currentColor;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  margin-block: 1rem 1.2rem;
  font-size: clamp(3.25rem, 8vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.085em;
}

.accent {
  color: var(--accent);
}

.intro {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 1fr);
  align-items: start;
  gap: 1rem 2rem;
  padding: clamp(2.375rem, 4.5vw, 4.25rem) clamp(1rem, 4vw, 4rem);
  scroll-margin-top: 1rem;
}

.about h2 {
  font-size: clamp(2rem, 3vw, 2.625rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.about p {
  max-width: 42rem;
  font-size: clamp(1rem, 1.25vw, 1.1875rem);
  line-height: 1.7;
  color: var(--muted);
}

.site-footer {
  border-top-width: 1px;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-content {
  min-height: 4rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 1rem;
}

.content-page {
  max-width: 46rem;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.content-page h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -0.065em;
  margin-block: 0.75rem;
}

.policy-date {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.content-page section {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.content-page h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.content-page section p + p {
  margin-top: 0.75rem;
}

.content-page section a {
  color: var(--accent);
}

@media (max-width: 47rem) {
  .hero {
    padding-block: clamp(2.5rem, 9vw, 4.5rem);
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 6.75rem);
  }

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