@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400; font-size: 17px; line-height: 1.65;
  color: #101828; background: #ffffff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; display: flex; flex-direction: column;
}

.site-header {
  background: linear-gradient(180deg, #0d9488 0%, #6d28d9 100%);
  color: #ffffff;
}
.site-header__inner {
  max-width: 64rem; margin: 0 auto;
  padding: 1.4rem 1.75rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2.25rem;
}
.site-brand {
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.015em;
  color: #ffffff; text-decoration: none; border: none;
}
.site-brand strong { color: #0d9488; font-weight: 700; }
.site-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.94rem; margin-left: auto; }
.site-nav a {
  color: rgba(255,255,255,0.85); text-decoration: none; border: none;
  font-weight: 500; transition: color 0.15s ease;
}
.site-nav a:hover, .site-nav a.active { color: #ffffff; }

main {
  flex: 1; max-width: 44rem; width: 100%;
  margin: 0 auto; padding: clamp(2.5rem, 6vh, 4rem) 1.75rem 4rem;
}
main.hub { max-width: 46rem; }

h1 {
  font-weight: 700; font-size: clamp(2rem, 4.8vw, 2.8rem);
  letter-spacing: -0.022em; line-height: 1.12;
  color: #101828; margin: 0 0 1.1rem;
}
.lead { font-size: 1.13rem; color: #52606d; margin: 0 0 3rem; line-height: 1.6; }
h2 {
  font-weight: 600; font-size: 1.4rem; letter-spacing: -0.012em;
  line-height: 1.3; color: #101828; margin: 3rem 0 1rem; scroll-margin-top: 2rem;
}
h3 { font-weight: 600; font-size: 1.08rem; color: #101828; margin: 2rem 0 0.5rem; }
p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }
li::marker { color: #0d9488; }
strong { font-weight: 600; color: #101828; }
em { font-style: italic; }

a {
  color: #0d9488; text-decoration: none;
  border-bottom: 1px solid #b6e1da; font-weight: 500;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a:hover { color: #0a6b62; border-bottom-color: #0d9488; }

.topic-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.topic-list li { margin: 0; border-top: 1px solid #dde2e6; }
.topic-list li:last-child { border-bottom: 1px solid #dde2e6; }
.topic-list a { display: block; padding: 1.3rem 0; border: none; }
.topic-list a:hover .topic-title { color: #0d9488; }
.topic-title {
  display: block; font-size: 1.08rem; font-weight: 600;
  color: #101828; margin-bottom: 0.2rem; transition: color 0.15s ease;
}
.topic-desc { display: block; font-size: 0.95rem; color: #52606d; line-height: 1.5; font-weight: 400; }

.toc {
  margin: 0 0 2.5rem; padding: 1.1rem 1.4rem;
  background: #ebf6f4; border-left: 3px solid #0d9488;
  font-size: 0.95rem; border-radius: 8px;
}
.toc__title {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #52606d; margin: 0 0 0.5rem; font-weight: 600;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0.15rem 0; }
.toc li::before { content: counter(toc) "."; display: inline-block; width: 1.6rem; color: #0d9488; }
.toc a { color: #101828; border: none; font-weight: 400; }
.toc a:hover { color: #0d9488; }

.note {
  margin: 2.5rem 0; padding: 1.2rem 1.4rem;
  border-left: 3px solid #0d9488; background: #ebf6f4;
  font-size: 0.95rem; color: #101828; border-radius: 8px;
}
.note p:last-child { margin-bottom: 0; }

.data-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 2rem; font-size: 0.94rem; }
.data-table th, .data-table td {
  padding: 0.7rem 0.9rem; text-align: left;
  border-bottom: 1px solid #dde2e6; vertical-align: top;
}
.data-table th {
  font-weight: 600; color: #101828;
  border-bottom: 2px solid #0d9488;
  font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase;
}

.related { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid #dde2e6; }
.related__title {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #52606d; font-weight: 600; margin: 0 0 1rem;
}
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 0.5rem; padding-left: 0; }
.related li::before { content: "•"; display: inline-block; width: 1.4rem; color: #0d9488; }

.resources {
  margin: 3rem 0 2.5rem; padding: 1.4rem 1.6rem;
  background: #ebf6f4; border-left: 3px solid #0d9488;
  font-size: 0.94rem; border-radius: 8px;
}
.resources h2 { font-size: 1.05rem; font-weight: 600; margin: 0 0 1rem; }
.resources ul { margin: 0; padding-left: 1.25rem; }
.resources li { margin-bottom: 0.8rem; line-height: 1.5; }
.resources li:last-child { margin-bottom: 0; }
.resources .source {
  display: block; font-size: 0.85rem; color: #52606d;
  font-style: italic; margin-top: 0.15rem; border: none;
}

.faq { margin: 1.5rem 0 0; padding: 0; }
.faq dt { font-weight: 600; color: #101828; font-size: 1.05rem; line-height: 1.4; margin: 0 0 0.55rem; }
.faq dd { margin: 0 0 1.7rem; padding: 0; color: #101828; }
.faq dd p { margin: 0 0 0.7rem; }
.faq dd p:last-child { margin-bottom: 0; }
.faq dd + dt { border-top: 1px solid #dde2e6; padding-top: 1.7rem; }

.glossary dt { font-weight: 600; color: #101828; margin: 1.4rem 0 0.3rem; }
.glossary dd { margin: 0 0 0.5rem; padding: 0; color: #52606d; }

.site-footer {
  border-top: 1px solid #dde2e6; background: #f1f5f6;
  font-size: 0.92rem; color: #52606d;
  padding: 2.5rem 1.75rem 1.75rem; margin-top: auto;
}
.site-footer__inner {
  max-width: 64rem; margin: 0 auto;
  display: grid; gap: 1.75rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.site-footer h3 {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #0d9488; margin: 0 0 0.75rem; font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: #52606d; border: none; font-weight: 400; }
.site-footer a:hover { color: #101828; }
.site-footer__bottom {
  max-width: 64rem; margin: 2.25rem auto 0;
  padding-top: 1.3rem; border-top: 1px solid #dde2e6;
  font-size: 0.8rem; color: #52606d;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
}

@media (max-width: 640px) {
  .site-header__inner { gap: 0.6rem 1.25rem; }
  .site-nav { margin-left: 0; gap: 1rem; font-size: 0.9rem; }
  main { padding: 2.25rem 1.4rem 3rem; }
  h2 { margin-top: 2.5rem; }
  .site-footer { padding: 2.25rem 1.4rem 1.5rem; }
}

.page-figure { margin: 2rem 0 2.5rem; padding: 0; text-align: center; }
.page-figure img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.page-figure figcaption { margin-top: 0.7rem; font-size: 0.85rem; color: #52606d; font-style: italic; }
