@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --content-canvas: oklch(0.975 0.005 95);
  --content-surface: oklch(1 0 0);
  --content-ink: oklch(0.2 0.006 90);
  --content-ink-soft: oklch(0.47 0.008 90);
  --content-line: oklch(0.86 0.008 90);
  --content-line-strong: oklch(0.72 0.01 90);
  --content-accent: oklch(0.45 0.15 358);
  --content-accent-strong: oklch(0.36 0.13 358);
  --content-selection: oklch(0.58 0.17 357 / 0.2);
}

@media (prefers-color-scheme: dark) {
  :root {
    --content-canvas: oklch(0.17 0.005 90);
    --content-surface: oklch(0.22 0.005 90);
    --content-ink: oklch(0.94 0.004 90);
    --content-ink-soft: oklch(0.78 0.008 90);
    --content-line: oklch(0.33 0.008 90);
    --content-line-strong: oklch(0.45 0.01 90);
    --content-accent: oklch(0.62 0.19 358);
    --content-accent-strong: oklch(0.74 0.18 358);
    --content-selection: oklch(0.7 0.18 357 / 0.34);
  }
}

.content-body,
.seo-home,
.site-footer {
  font-family: "Archivo Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.content-body *,
.seo-home *,
.site-footer * {
  box-sizing: border-box;
}

.content-body ::selection,
.seo-home ::selection,
.site-footer ::selection {
  background: var(--content-selection);
  color: var(--content-ink);
}

.content-body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--content-canvas);
  color: var(--content-ink);
  font-synthesis: none;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.content-body a,
.seo-home a,
.site-footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.content-body a:hover,
.seo-home a:hover,
.site-footer a:hover {
  text-decoration-thickness: 2px;
}

.content-body a:focus-visible,
.seo-home a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--content-ink);
  outline-offset: 3px;
}

.content-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-right: 28px;
  padding-left: 28px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--content-ink);
  color: var(--content-surface);
  transform: translateY(-160%);
}

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

.content-header {
  border-bottom: 1px solid var(--content-line);
  background: var(--content-surface);
}

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

.content-wordmark {
  color: var(--content-ink);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.content-wordmark span {
  color: var(--content-accent);
  font-size: 17px;
  font-weight: 650;
}

.content-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.content-main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 80px 28px 112px;
}

.content-article {
  max-width: 760px;
}

.article-header {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--content-line-strong);
}

.article-header h1,
.not-found h1 {
  max-width: 18ch;
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.article-header .lede,
.not-found p {
  max-width: 65ch;
  margin: 0;
  color: var(--content-ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.article-meta {
  margin-top: 22px;
  color: var(--content-ink-soft);
  font-size: 14px;
}

.article-section {
  padding-top: 52px;
}

.article-section + .article-section {
  margin-top: 52px;
  border-top: 1px solid var(--content-line);
}

.article-section h2 {
  max-width: 26ch;
  margin: 0 0 18px;
  font-size: clamp(27px, 3.5vw, 38px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.article-section h3 {
  margin: 32px 0 9px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.article-section p,
.article-section li,
.article-section dd {
  max-width: 72ch;
  font-size: 17px;
}

.article-section p {
  margin: 0 0 18px;
}

.article-section ul,
.article-section ol {
  margin: 18px 0 0;
  padding-left: 24px;
}

.article-section li + li {
  margin-top: 10px;
}

.article-section strong {
  font-weight: 720;
}

.article-section code {
  font-size: 0.9em;
}

.definition-list {
  margin: 22px 0 0;
}

.definition-list > div {
  padding: 20px 0;
  border-top: 1px solid var(--content-line);
}

.definition-list > div:last-child {
  border-bottom: 1px solid var(--content-line);
}

.definition-list dt {
  font-size: 16px;
  font-weight: 720;
}

.definition-list dd {
  margin: 5px 0 0;
  color: var(--content-ink-soft);
}

.step-list {
  padding-left: 28px;
}

.step-list li {
  padding-left: 8px;
}

.plain-callout {
  margin: 34px 0;
  padding: 22px 0;
  border-top: 1px solid var(--content-line-strong);
  border-bottom: 1px solid var(--content-line-strong);
}

.plain-callout p:last-child {
  margin-bottom: 0;
}

.source-list {
  padding-left: 0 !important;
  list-style: none;
}

.source-list li {
  padding: 14px 0;
  border-top: 1px solid var(--content-line);
}

.source-list li:last-child {
  border-bottom: 1px solid var(--content-line);
}

.article-action {
  display: inline-block;
  margin-top: 12px;
  font-weight: 720;
}

.seo-home {
  border-top: 1px solid var(--content-line-strong);
  background: var(--content-surface);
  color: var(--content-ink);
}

.seo-home .content-shell {
  padding-top: 88px;
  padding-bottom: 88px;
}

.seo-home-lead {
  max-width: 820px;
}

.seo-home-lead h2 {
  max-width: 21ch;
  margin: 0 0 20px;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 740;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.seo-home-lead p {
  max-width: 68ch;
  margin: 0 0 20px;
  color: var(--content-ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.primary-text-link {
  font-size: 16px;
  font-weight: 720;
}

.seo-home-columns {
  margin-top: 64px;
  border-top: 1px solid var(--content-line);
  border-bottom: 1px solid var(--content-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-home-columns section {
  min-width: 0;
  padding: 32px 38px 36px 0;
}

.seo-home-columns section + section {
  padding-right: 0;
  padding-left: 38px;
  border-left: 1px solid var(--content-line);
}

.seo-home-columns h3 {
  margin: 0 0 13px;
  font-size: 20px;
  font-weight: 720;
}

.seo-home-columns p,
.seo-home-columns li {
  color: var(--content-ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.seo-home-columns p {
  margin: 0 0 12px;
}

.seo-home-columns p:last-child {
  margin-bottom: 0;
}

.seo-home-columns ul {
  margin: 0;
  padding-left: 20px;
}

.seo-home-columns li + li {
  margin-top: 8px;
}

.resource-links {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-size: 14px;
  font-weight: 650;
}

.site-footer {
  border-top: 1px solid var(--content-line);
  background: var(--content-canvas);
  color: var(--content-ink-soft);
}

.site-footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 13px;
}

.not-found {
  min-height: calc(100vh - 147px);
  padding-top: clamp(90px, 16vh, 170px);
}

.not-found h1 {
  max-width: 12ch;
}

.not-found a {
  display: inline-block;
  margin-top: 24px;
  font-weight: 720;
}

@media (max-width: 720px) {
  .content-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .content-header-inner {
    min-height: 58px;
  }

  .content-header nav a:not(:first-child) {
    display: none;
  }

  .content-main {
    padding: 54px 20px 80px;
  }

  .article-header {
    padding-bottom: 30px;
  }

  .article-header h1,
  .not-found h1 {
    font-size: clamp(37px, 12vw, 52px);
  }

  .article-section {
    padding-top: 40px;
  }

  .article-section + .article-section {
    margin-top: 40px;
  }

  .article-section p,
  .article-section li,
  .article-section dd {
    font-size: 16px;
  }

  .seo-home .content-shell {
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .seo-home-columns {
    margin-top: 46px;
    grid-template-columns: 1fr;
  }

  .seo-home-columns section,
  .seo-home-columns section + section {
    padding: 26px 0;
    border-left: 0;
  }

  .seo-home-columns section + section {
    border-top: 1px solid var(--content-line);
  }

  .site-footer-inner {
    padding-top: 22px;
    padding-bottom: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

@media print {
  .content-header nav,
  .site-footer,
  .resource-links {
    display: none;
  }

  .content-body,
  .seo-home {
    background: white;
    color: black;
  }
}
