:root {
  --ink: #172235;
  --text: #354355;
  --muted: #64748b;
  --line: #e7ecf2;
  --paper: #f8fafc;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.85;
}

a {
  color: inherit;
  text-decoration: none;
}

.article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.article-header img {
  width: 150px;
  height: auto;
}

.article-header a:last-child {
  color: var(--muted);
  font-size: 14px;
}

.article-main {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) 0 68px;
}

.article-shell {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.article-category {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.article-shell h1 {
  max-width: 760px;
  margin: 0 0 30px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

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

.article-body p {
  margin: 0 0 18px;
  color: #4d5b6d;
  font-size: 15px;
}

.article-answer {
  margin-bottom: 26px !important;
  padding: 20px 22px;
  border-left: 4px solid #172235;
  border-radius: 0 7px 7px 0;
  background: #f2f5f8;
  color: #263548 !important;
  font-size: 16px !important;
  line-height: 1.8;
}

.article-answer strong {
  color: var(--ink);
}

.article-copy-section {
  margin-top: 28px;
}

.article-body h2 {
  margin: 34px 0 14px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.article-body ul {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.article-body li {
  position: relative;
  padding-left: 20px;
  color: #4d5b6d;
  font-size: 15px;
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a9aab;
}

.article-module {
  margin: 28px 0 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfd;
}

.article-module > h2 {
  margin: 0 0 18px;
  font-size: 17px;
}

.article-table-wrap {
  overflow-x: auto;
}

.article-module table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
  line-height: 1.65;
}

.article-module th,
.article-module td {
  padding: 12px 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

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

.article-flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-flow li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.article-flow li::before {
  display: none;
}

.article-flow li:first-child {
  padding-top: 0;
  border-top: 0;
}

.article-flow-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #172235;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.article-flow strong,
.article-flow p {
  display: block;
}

.article-flow p {
  margin: 3px 0 0;
  font-size: 13px;
}

.article-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
}

.article-checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 9px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
}

.article-checklist li::before {
  display: none;
}

.article-check-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f3ed;
  color: #28704a;
  font-size: 12px;
  font-weight: 800;
}

.article-scope-grid,
.article-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-scope-grid article,
.article-example-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.article-scope-grid h3,
.article-example-grid h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 14px;
}

.article-scope-grid p,
.article-example-grid p {
  margin: 0;
  font-size: 13px;
}

.article-example-label {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.article-faq {
  display: grid;
  gap: 9px;
}

.article-faq details {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.article-faq summary {
  padding: 14px 16px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.article-faq details p {
  margin: 0;
  padding: 0 16px 15px;
  font-size: 13px;
}

.article-takeaway {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid #d9e2eb;
  border-radius: 8px;
  background: #f7f9fb;
}

.article-takeaway strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 13px;
}

.article-takeaway p {
  margin: 0;
  font-size: 13px;
}

.article-disclaimer {
  max-width: 760px;
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

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

.article-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #111;
  border-radius: 5px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: #cbd5e1;
}

.article-button:not(.secondary):hover {
  border-color: #252525;
  background: #252525;
  box-shadow: 0 4px 12px rgb(17 17 17 / 9%);
}

.article-button.secondary:hover {
  border-color: #b7c2cf;
  background: #f5f7f8;
  box-shadow: 0 3px 10px rgb(23 34 49 / 6%);
}

.article-pagination {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.article-pagination a {
  color: #344150;
}

.article-pagination a:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-pagination span {
  color: #9aa5b1;
}

@media (max-width: 620px) {
  .article-header {
    width: calc(100% - 32px);
    gap: 12px;
    padding: 18px 0;
  }

  .article-header img {
    width: 120px;
  }

  .article-header a:last-child {
    flex: 0 0 auto;
    font-size: 13px;
  }

  .article-main {
    width: calc(100% - 32px);
    padding: 24px 0 44px;
  }

  .article-shell {
    padding: 22px 18px;
  }

  .article-shell h1 {
    font-size: 24px;
    line-height: 1.35;
  }

  .article-actions,
  .article-pagination {
    flex-direction: column;
  }

  .article-button {
    width: 100%;
  }

  .article-checklist,
  .article-scope-grid,
  .article-example-grid {
    grid-template-columns: 1fr;
  }
}
