:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --ink: #17202a;
  --muted: #5c6978;
  --line: #dbe2ea;
  --panel: #ffffff;
  --blue: #246bfe;
  --blue-dark: #174bc2;
  --mint: #25b78b;
  --amber: #f1a11f;
  --shadow: 0 18px 45px rgba(29, 45, 71, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 18px;
  z-index: 20;
  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;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(219, 226, 234, .86);
  background: rgba(246, 248, 251, .92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}

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

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

.nav-cta {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px) 32px;
}

.hero h1,
.section h2,
.band h2,
.cta h2,
.article h1 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 6vw, 76px);
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(36, 107, 254, .22);
}

.button.primary:hover {
  background: var(--blue-dark);
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 32px 0 0;
}

.trust-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .8);
}

.trust-strip dt {
  color: var(--muted);
  font-size: 13px;
}

.trust-strip dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(219, 226, 234, .85);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.notice,
.section,
.band,
.cta,
.article {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: #fff7e6;
  color: #59431a;
}

.section {
  padding: clamp(56px, 8vw, 92px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2,
.band h2,
.cta h2,
.article h1 {
  font-size: clamp(28px, 4vw, 46px);
}

.section-head p,
.band p,
.cta p {
  color: var(--muted);
}

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

.card,
.article-card,
.check-panel,
.steps,
.faq details,
.article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(29, 45, 71, .06);
}

.card {
  min-height: 250px;
  padding: 22px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eaf1ff;
  color: var(--blue);
  font-weight: 900;
}

.card h3,
.article-card h3,
.steps h2,
.check-panel h2 {
  margin: 18px 0 10px;
  line-height: 1.25;
}

.card p,
.article-card span,
.steps,
.checks,
.faq p,
.article p,
.article li {
  color: var(--muted);
}

.band {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: start;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 8px;
  background: #102033;
  color: #fff;
}

.band .eyebrow {
  color: #77d8b8;
}

.band p {
  margin: 0;
  color: #d3deea;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.check-panel,
.steps {
  padding: clamp(24px, 4vw, 36px);
}

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

.checks li,
.steps li,
.article li {
  margin: 10px 0;
}

.check-panel .button {
  margin-top: 16px;
}

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

.article-card {
  padding: 22px;
}

.article-card p {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.article-card h3 a:hover {
  color: var(--blue);
}

.faq {
  padding-top: 20px;
}

.faq details {
  margin-top: 12px;
  padding: 18px 20px;
}

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

.cta {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 54px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cta p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.redirect-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #f4f8ff 0%, #eefaf6 100%);
}

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

.redirect-card h1 {
  margin: 0 0 12px;
  font-size: 28px;
}

.redirect-card p {
  color: var(--muted);
}

.article {
  margin-top: 34px;
  margin-bottom: 54px;
  padding: clamp(24px, 5vw, 52px);
}

.article-meta {
  color: var(--muted);
}

.article h2 {
  margin-top: 36px;
  line-height: 1.25;
}

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

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

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

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

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding: 22px;
  border-radius: 8px;
  background: #eef5ff;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .two-col,
  .band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .hero {
    padding-top: 32px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .trust-strip,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button,
  .cta,
  .site-footer,
  .article-cta {
    width: 100%;
  }

  .button {
    min-height: 48px;
  }

  .site-footer,
  .article-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

  .card, .check-panel, .steps, .article-card, .article {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }
}
