:root {
  --ink: #17202a;
  --muted: #5c6a78;
  --line: #dde6ee;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --blue: #1d6fe8;
  --blue-dark: #134fb0;
  --green: #0b9b78;
  --amber: #d98618;
  --coral: #df5d4f;
  --shadow: 0 18px 48px rgba(29, 48, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 18px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: 0 0 6px 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links .button {
  min-height: 38px;
  padding: 0 14px;
}

.nav-links a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(19, 79, 176, 0.18);
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue-dark);
  background: #fff;
  border-color: #b9cff4;
}

.button.dark {
  color: #fff;
  background: var(--ink);
}

.hero {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 78%);
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: min(760px, calc(100vh - 68px));
  padding: 52px 0 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.98fr);
  gap: 34px;
  align-items: center;
}

.hero-inner > *,
.container > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 640px;
  font-size: clamp(34px, 5vw, 58px);
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
  overflow-wrap: anywhere;
}

.lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.hero .lead {
  max-width: 620px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.proof-item {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-item strong {
  display: block;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.2;
}

.proof-item span {
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(300px, calc(100% - 36px));
  padding: 14px 16px;
  color: #123;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(29, 48, 74, 0.14);
  backdrop-filter: blur(10px);
}

.media-caption b {
  display: block;
  margin-bottom: 4px;
}

.media-caption span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 76px 0;
}

.section.soft {
  background: var(--soft);
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 580px;
  color: var(--muted);
}

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

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

.card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.article-card p,
.check-list li,
.steps li {
  color: var(--muted);
}

.icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.icon.green {
  background: var(--green);
}

.icon.amber {
  background: var(--amber);
}

.icon.coral {
  background: var(--coral);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 40px;
  align-items: start;
}

.panel {
  padding: 28px;
  color: #fff;
  background: #17202a;
  border-radius: 8px;
}

.panel p {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 12px;
}

.panel .button {
  margin-top: 20px;
}

.check-list,
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.steps li {
  position: relative;
  padding: 16px 0 16px 36px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before,
.steps li::before {
  position: absolute;
  left: 0;
  top: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.check-list li::before {
  content: "✓";
}

.steps {
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  background: var(--blue);
}

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

.article-card {
  display: flex;
  min-height: 248px;
  padding: 24px;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-card h3 {
  margin-bottom: 12px;
}

.article-card a {
  margin-top: 20px;
  color: var(--blue-dark);
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin-top: 12px;
  color: var(--muted);
}

.cta-band {
  color: #fff;
  background: linear-gradient(135deg, #17202a, #144d89 58%, #0b8068);
}

.cta-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 34px 0;
  color: var(--muted);
  background: #0f1720;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer a,
.site-footer strong {
  color: #fff;
}

.article-hero {
  padding: 66px 0 42px;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.article-wrap {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--blue-dark);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
  color: var(--line);
}

.article-wrap .lead {
  font-size: 17px;
}

.meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.article-content {
  padding: 34px 0 76px;
}

.article-content h2 {
  margin: 38px 0 14px;
  font-size: 30px;
}

.article-content h3 {
  margin: 28px 0 10px;
}

.article-content p,
.article-content li {
  color: #465566;
}

.article-content p {
  margin: 0 0 16px;
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
}

.note {
  margin: 26px 0;
  padding: 18px 20px;
  color: #57400f;
  background: #fff7df;
  border: 1px solid #f0d58f;
  border-radius: 8px;
}

.go-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(145deg, #f7fbff, #eef6f2);
}

.go-box {
  width: min(520px, 100%);
  padding: 34px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border: 5px solid #d8e8fb;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 880px) {
  .nav {
    height: auto;
    padding: 14px 0;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-links {
    flex: 1 1 100%;
    width: auto;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-inner,
  .split,
  .cta-band .container {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    min-height: auto;
    padding-top: 36px;
    gap: 28px;
  }

  .hero-inner > div,
  .hero-media {
    width: 100%;
    max-width: 100%;
  }

  .hero h1,
  .hero .lead {
    word-break: break-all;
  }

  .grid-3,
  .grid-2,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }
}

@media (max-width: 560px) {
  .hero,
  .hero-inner,
  .hero-inner > div,
  .hero-media {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  h1 {
    font-size: 30px;
    line-height: 1.22;
    word-break: break-all;
  }

  .lead {
    font-size: 16px;
    line-height: 1.75;
    word-break: break-all;
  }

  .hero-actions,
  .cta-band .button {
    width: 100%;
  }

  .hero-actions .button,
  .cta-band .button,
  .article-content .button,
  .go-box .button {
    width: 100%;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links .button {
    flex: 0 0 auto;
    width: auto;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .proof-item {
    padding: 10px 8px;
    text-align: center;
  }

  .proof-item strong {
    font-size: 18px;
  }

  .proof-item span {
    font-size: 12px;
    line-height: 1.35;
  }

  .media-caption {
    position: static;
    width: 100%;
    margin-top: 12px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .hero-actions,
  .cta-band,
  .button,
  .breadcrumb,
  .nav {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 13px;
    line-height: 1.5;
  }

  .card,
  .article-card,
  .faq details,
  .step-item,
  .check-panel,
  .hero-media img,
  .proof-item,
  .note {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }

  .section {
    padding: 24px 0;
  }

  .hero-inner {
    min-height: auto;
    padding: 24px 0;
  }

  a {
    color: #000;
  }
}
