* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #191d24;
  background: #faf9f6;
}
body {
  margin: 0;
}
a {
  color: #214db0;
  text-underline-offset: 0.18em;
}
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #2759c9;
  outline-offset: 5px;
}
img,
svg {
  max-width: 100%;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  padding: 12px;
  background: white;
  z-index: 5;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  max-width: 1240px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e5e4df;
}
.brand {
  display: flex;
  gap: 7px;
  align-items: center;
  text-decoration: none;
  color: #191d24;
  font-weight: 650;
  font-size: 20px;
  letter-spacing: -0.7px;
  white-space: nowrap;
}
.brand b {
  font-weight: 450;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: #303640;
}
.site-header nav a:hover,
footer a:hover {
  text-decoration: underline;
}
.site-header nav .download-link {
  padding: 0 17px;
  border-radius: 100px;
  background: #191d24;
  color: white;
  gap: 8px;
}
main {
  outline: none;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #5e655f;
}
.library-header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 40px 52px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 580;
  text-wrap: balance;
  margin-bottom: 24px;
}
.dek {
  font-size: 19px;
  line-height: 1.65;
  color: #5b616b;
  max-width: 720px;
}
.topics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.topics a {
  color: #303640;
  font-size: 14px;
  padding: 12px 17px;
  border: 1px solid #d8d9d3;
  border-radius: 100px;
  text-decoration: none;
}
.topics a:hover {
  background: white;
  border-color: #6b7790;
}
.library-section,
.related {
  max-width: 1160px;
  padding: 0 40px 64px;
  margin: auto;
  scroll-margin-top: 24px;
}
.library-section > h2,
.related > h2 {
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -0.6px;
  margin-bottom: 26px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  text-decoration: none;
  color: #191d24;
  background: white;
  border: 1px solid #e4e4df;
  border-radius: 16px;
}
.guide-card:hover {
  border-color: #96a68b;
  background: #fdfefa;
}
.guide-card h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  font-weight: 570;
  margin: 20px 0 15px;
}
.guide-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #606670;
}
.read-link {
  margin-top: auto;
  padding-top: 20px;
  font-size: 13px;
  color: #214db0;
  font-weight: 600;
}
.editorial-note {
  max-width: 1080px;
  margin: 0 auto 64px;
  border-top: 1px solid #dedfd8;
  padding: 38px 0 0;
}
.editorial-note h2 {
  font-size: 28px;
  font-weight: 550;
  letter-spacing: -0.6px;
}
.editorial-note p:not(.eyebrow) {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.75;
  color: #5b616b;
}
.article-header {
  max-width: 980px;
  padding: 32px 40px 44px;
  margin: auto;
}
.breadcrumbs {
  font-size: 12px;
  margin-bottom: 48px;
  color: #656b73;
}
.breadcrumbs a {
  color: inherit;
}
.article-header h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  max-width: 880px;
}
.article-header .dek {
  font-size: 18px;
}
.byline {
  font-size: 12px;
  color: #5f6570;
  line-height: 1.9;
  margin: 28px 0 0;
}
.byline a {
  color: inherit;
}
.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 720px);
  gap: 56px;
  max-width: 1080px;
  padding: 0 40px 76px;
  margin: auto;
  align-items: start;
}
.contents {
  position: sticky;
  top: 30px;
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid #d8d9d3;
  padding-top: 22px;
}
.contents ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contents li {
  margin: 0 0 13px;
}
.contents a {
  color: #5f6570;
  text-decoration: none;
  display: block;
  padding: 3px 0;
}
.contents a:hover {
  color: #214db0;
  text-decoration: underline;
}
.prose {
  font-size: 17px;
  line-height: 1.85;
  min-width: 0;
  overflow-wrap: anywhere;
}
.prose > p:first-child {
  font-size: 20px;
  line-height: 1.7;
  color: #303640;
}
.prose h2 {
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.65px;
  font-weight: 600;
  margin: 42px 0 17px;
  scroll-margin-top: 24px;
}
.prose h3 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  margin: 30px 0 12px;
}
.prose p {
  margin-bottom: 22px;
}
.prose li {
  margin-bottom: 10px;
}
.prose ul,
.prose ol {
  padding-left: 24px;
}
.prose blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  border-left: 3px solid #9bb58a;
  background: #f0f2eb;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  padding: 24px;
  background: #f0f2eb;
  border-radius: 12px;
}
.table-scroll {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #dedfd8;
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
  width: 100%;
  min-width: 510px;
  background: #fff;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid #e6e7e1;
}
th {
  background: #edf0e7;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: 0;
}
.download-panel {
  max-width: 1080px;
  margin: 0 auto 64px;
  padding: 42px;
  background: #eaf0e1;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.download-panel h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  font-weight: 550;
  margin-bottom: 14px;
}
.download-panel p:not(.eyebrow) {
  color: #53604d;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}
.download-action {
  flex-shrink: 0;
}
.download-action > a {
  display: inline-flex;
  padding: 15px;
  margin: -15px -15px 4px;
}
.download-action p {
  font-size: 11px !important;
}
footer {
  max-width: 1160px;
  margin: auto;
  border-top: 1px solid #dedfd8;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
}
footer a {
  color: #4b535c;
  text-decoration: none;
}
footer nav {
  display: flex;
  gap: 20px;
}
footer p {
  font-size: 11px;
  color: #737973;
  line-height: 1.8;
  width: 100%;
  margin-bottom: 0;
}
@media (max-width: 1100px) {
  .editorial-note,
  .download-panel {
    margin-left: 40px;
    margin-right: 40px;
  }
}
@media (max-width: 850px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: 760px;
  }
  .contents {
    position: static;
  }
  .contents ol {
    columns: 2;
    column-gap: 24px;
  }
  .contents li {
    break-inside: avoid;
  }
  .download-panel {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .site-header {
    padding: 14px 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 19px;
  }
  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }
  .library-header {
    padding: 44px 22px 38px;
  }
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .library-section,
  .related {
    padding: 0 22px 42px;
  }
  .guide-card {
    padding: 24px;
  }
  .guide-card h3 {
    font-size: 23px;
  }
  .editorial-note,
  .download-panel {
    margin: 0 22px 42px;
  }
  .editorial-note h2 {
    font-size: 26px;
  }
  .download-panel {
    padding: 28px;
  }
  .download-panel h2 {
    font-size: 28px;
  }
  .article-header {
    padding: 26px 22px 30px;
  }
  .breadcrumbs {
    margin-bottom: 32px;
  }
  .article-header .dek {
    font-size: 17px;
  }
  .article-layout {
    padding: 0 22px 46px;
  }
  .contents ol {
    columns: 1;
  }
  .contents li {
    margin-bottom: 8px;
  }
  .prose {
    font-size: 16px;
  }
  .prose > p:first-child {
    font-size: 18px;
  }
  .prose h2 {
    font-size: 25px;
  }
  footer {
    padding: 26px 22px;
  }
  footer nav {
    flex-wrap: wrap;
  }
}
