:root {
  color-scheme: light;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #111827;
  background: #ffffff;
  --blue: #0864f7;
  --blue-dark: #0055df;
  --navy: #071b42;
  --muted: #56647a;
  --line: #d8e4f2;
  --ice: #f4f9ff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #111827;
  background: #ffffff;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3 { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid rgba(8, 100, 247, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.guide-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  padding-inline: max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.guide-brand img {
  width: 25px;
  height: 41px;
}

.guide-brand strong {
  color: #121721;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.guide-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #28364b;
  font-size: 14px;
  font-weight: 700;
}

.guide-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.guide-header nav a:hover { color: var(--blue-dark); }

.guide-header .download-link {
  padding-inline: 20px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(8, 100, 247, 0.18);
}

.guide-header .download-link:hover {
  color: #ffffff;
  background: var(--blue-dark);
}

.guide-shell {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}

.breadcrumbs {
  min-height: 66px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #697990;
  font-size: 13px;
}

.breadcrumbs a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--blue-dark);
}

.article-hero {
  max-width: 900px;
  padding: 74px 0 62px;
}

.article-kicker,
.guide-index > .guide-shell > header > p:first-child {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-hero h1,
.guide-index h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.article-lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.85;
}

.article-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #66768c;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.article-layout {
  padding: 64px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 88px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.article-copy {
  max-width: 700px;
}

.article-summary {
  margin: 0;
  padding-left: 24px;
  color: #26364d;
  border-left: 4px solid var(--blue);
  font-size: 20px;
  line-height: 1.85;
  font-weight: 600;
}

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

.article-copy h2,
.related-guides h2,
.article-cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: 29px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.article-copy section > p {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.primary-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.primary-list li {
  position: relative;
  min-height: 66px;
  padding: 19px 20px 19px 62px;
  color: #34445b;
  background: var(--ice);
  border: 1px solid #dceaf9;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.75;
  counter-increment: item;
}

.primary-list li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 19px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.primary-list li + li { margin-top: 12px; }

.usage-note {
  margin-top: 52px;
  padding: 24px 26px;
  color: #34445b;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.usage-note strong {
  color: var(--navy);
  font-size: 16px;
}

.usage-note p {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.85;
}

.article-figure {
  position: sticky;
  top: 106px;
  margin: 0;
  padding: 28px 28px 24px;
  text-align: center;
  background: var(--ice);
  border: 1px solid #dceaf9;
  border-radius: 10px;
}

.article-figure > span {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 11px;
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid #d7e6f7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.article-figure img {
  width: 246px;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 20px 28px rgba(7, 27, 66, 0.17));
}

.article-figure figcaption {
  margin-top: 20px;
  color: #617188;
  font-size: 13px;
  line-height: 1.7;
}

.related-guides {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.related-guides > div {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.related-guides a {
  min-height: 134px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ice);
  border: 1px solid #dceaf9;
  border-radius: 8px;
}

.related-guides a:hover { border-color: #98bdf0; }

.related-guides span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.related-guides strong {
  margin-top: 9px;
  color: #1d2a3f;
  font-size: 17px;
  line-height: 1.55;
}

.article-cta {
  margin: 0 0 96px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  color: #ffffff;
  background: var(--navy);
  border-radius: 10px;
}

.article-cta img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
}

.article-cta p {
  margin: 0 0 6px;
  color: #8db9fa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.article-cta h2 { color: #ffffff; }

.article-cta span {
  display: block;
  margin-top: 7px;
  color: #b9c8df;
  font-size: 14px;
}

.article-cta > a {
  min-height: 50px;
  padding-inline: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  background: #ffffff;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
}

.guide-index {
  padding: 90px 0 110px;
  background: var(--ice);
}

.guide-index > .guide-shell > header {
  max-width: 820px;
}

.guide-index > .guide-shell > header > span {
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 24px;
  background: var(--blue);
  border-radius: 5px;
}

.guide-index > .guide-shell > header > p:not(:first-child) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.guide-index > .guide-shell > header > div {
  margin-top: 18px;
  color: #6b7b91;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.guide-card-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card-grid article {
  min-height: 330px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.guide-card-grid article > span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.guide-card-grid h2 {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.55;
}

.guide-card-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.guide-card-grid .card-link {
  min-height: 44px;
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.index-cta { margin: 72px 0 0; }

footer {
  color: #8fa0ba;
  background: #040f27;
}

footer > div {
  width: min(100% - 48px, 1120px);
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

footer a:hover { color: #ffffff; }

@media (max-width: 900px) {
  .guide-header { padding-inline: 18px; }
  .guide-header nav > a:not(.download-link) { display: none; }
  .guide-shell { width: min(100% - 36px, 680px); }
  .article-hero { padding: 52px 0 44px; }
  .article-hero h1, .guide-index h1 { font-size: clamp(36px, 8.8vw, 48px); }
  .article-lead { font-size: 17px; }
  .article-layout { grid-template-columns: 1fr; gap: 48px; padding-block: 48px 70px; }
  .article-copy { max-width: none; }
  .article-figure { position: static; grid-row: 1; width: min(100%, 390px); margin-inline: auto; }
  .article-figure img { width: min(230px, 66vw); }
  .guide-card-grid { grid-template-columns: 1fr; }
  .guide-card-grid article { min-height: 0; }
  .article-cta { grid-template-columns: auto 1fr; }
  .article-cta > a { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .guide-header { height: 68px; }
  .guide-brand strong { font-size: 18px; }
  .guide-header .download-link { min-height: 44px; padding-inline: 14px; font-size: 13px; }
  .breadcrumbs { font-size: 12px; }
  .article-hero h1, .guide-index h1 { font-size: 34px; line-height: 1.3; letter-spacing: -0.015em; }
  .article-lead { margin-top: 18px; font-size: 16px; line-height: 1.8; }
  .article-meta { display: grid; gap: 7px; }
  .article-summary { padding-left: 18px; font-size: 17px; }
  .article-copy section { margin-top: 44px; }
  .article-copy h2, .related-guides h2, .article-cta h2 { font-size: 25px; }
  .article-copy section > p, .primary-list li { font-size: 15px; }
  .primary-list li { padding: 17px 16px 17px 53px; }
  .primary-list li::before { left: 17px; top: 18px; }
  .article-figure { padding-inline: 18px; }
  .related-guides > div { grid-template-columns: 1fr; }
  .article-cta { margin-bottom: 70px; padding: 28px 24px; grid-template-columns: 1fr; text-align: center; }
  .article-cta img { margin-inline: auto; }
  .article-cta > a { grid-column: auto; }
  .guide-index { padding: 64px 0 80px; }
  .guide-card-grid { margin-top: 42px; }
  .index-cta { margin-top: 50px; }
  footer > div { width: calc(100% - 36px); min-height: 96px; padding-block: 18px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
