.article-page {
  padding-top: 78px;
}

.article-page .page-head {
  padding: 28px 0 8px;
  background: transparent;
}

.article-page .eyebrow {
  color: var(--blue-800);
  font-size: 14px;
  font-weight: 800;
}

.article-page h1 {
  max-width: 920px;
  margin: 12px 0 16px;
  color: var(--ink);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
  text-wrap: balance;
}

.article-page .lede {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
}

.article-page .content-meta {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.article-page .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 22px;
  padding-bottom: 0;
  color: #8b90ad;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.article-page .breadcrumb .crumb-sep {
  color: #c5c9dc;
  font-weight: 700;
}

.article-page .breadcrumb .crumb-here {
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.article-page .breadcrumb a {
  color: var(--blue-800);
  font-weight: 700;
  text-decoration: none;
}

.article-page .breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-page .content-meta a,
.article-page .article a,
.article-page .prose a,
.article-page .lede a {
  color: var(--blue-800);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-page .article .article-pager-link,
.article-page .article .article-pager-link:hover {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.article-page main .shell {
  width: min(100%, 1000px);
  padding-left: 24px;
  padding-right: 24px;
}

.article-page .article {
  width: 100%;
  max-width: none;
  margin: 18px 0 72px;
  padding: 28px 36px 40px;
  border: 1px solid rgba(195, 198, 213, .72);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(30, 33, 120, .08);
}

.article-page .article h2,
.article-page .band h2,
.article-page .prose h2 {
  margin: 28px 0 12px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
}

.article-page .article h3,
.article-page .fact h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.article-page .article p,
.article-page .prose p,
.article-page .fact p,
.article-page .article li,
.article-page .prose li {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.8;
}

.article-page .article strong,
.article-page .prose strong {
  color: var(--ink);
}

.article-page .article ul,
.article-page .article ol,
.article-page .prose ul,
.article-page .prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.article-page .article-toc {
  margin-bottom: 8px;
  padding: 20px 24px;
  border-radius: 8px;
  background: #f5f7ff;
}

.article-page .article-toc strong {
  color: var(--blue-800);
}

.article-page .article-toc ul {
  margin: 10px 0 0;
}

.article-page .anchor-section {
  scroll-margin-top: 110px;
}

.article-page .table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 16px 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-page table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.article-page caption,
.article-page td {
  color: var(--muted);
  font-weight: 600;
}

.article-page th,
.article-page td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-page th {
  background: #f5f7ff;
  color: var(--ink);
  font-weight: 800;
}

.article-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.article-page .article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(195, 198, 213, .9);
}

.article-page .article-pager-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid rgba(195, 198, 213, .9);
  border-radius: 8px;
  background: #f7f8ff;
}

.article-page .article-pager-link.is-next {
  grid-column: 2;
  align-items: flex-end;
  text-align: right;
}

.article-page .article-pager-link.is-prev {
  grid-column: 1;
}

.article-page .article-pager-link span {
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 800;
}

.article-page .article-pager-link strong {
  width: 100%;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.article-page .article-pager-link:hover {
  border-color: #4748f7;
  background: #fff;
}

.article-page .button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 900;
  text-decoration: none;
}

.article-page .button.primary {
  background: linear-gradient(135deg, var(--violet-2), var(--violet));
  color: #fff;
  box-shadow: 0 14px 30px rgba(91, 57, 231, .28);
}

.article-page .button:not(.primary) {
  background: #eef1ff;
  color: var(--blue-800);
}

.article-page .product-visual {
  margin: 8px auto 12px;
  text-align: center;
}

.article-page .product-visual img {
  width: auto;
  max-width: min(100%, 920px);
  height: auto;
  max-height: 460px;
  border-radius: 8px;
}

.article-page .band {
  padding: 12px 0 36px;
}

.article-page .prose {
  max-width: 920px;
}

.article-page .fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-page .fact {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(195, 198, 213, .72);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(30, 33, 120, .08);
}

.article-page .fact p:last-child,
.article-page .article p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .article-page .fact-grid {
    grid-template-columns: 1fr;
  }

  .article-page .article {
    padding: 22px 18px 32px;
  }
}

@media (max-width: 820px) {
  .article-page {
    padding-top: 78px;
  }

  .article-page .shell,
  .article-page .article,
  .article-page .page-head {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .article-page .shell,
  .article-page main .shell {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden;
  }

  .article-page .article {
    overflow-x: hidden;
  }

  .article-page .table-scroll {
    max-width: 100%;
    overflow-x: auto;
  }

  .article-page .menu-toggle {
    display: inline-grid !important;
    place-items: center;
    position: static !important;
    flex: 0 0 44px;
    margin-left: auto;
    width: 40px;
    height: 40px;
    background: #4748f7;
    color: #fff;
  }

  .article-page h1,
  .article-page .lede,
  .article-page .article h2,
  .article-page .band h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .article-page h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .article-page .article-pager {
    grid-template-columns: 1fr;
  }

  .article-page .article-pager-link.is-next,
  .article-page .article-pager-link.is-prev {
    grid-column: auto;
    align-items: flex-start;
    text-align: left;
  }
}
