:root {
  --navy: #173f5f;
  --navy-2: #245b77;
  --teal: #129590;
  --teal-dark: #0b706c;
  --mint: #dff4f1;
  --ink: #15324d;
  --muted: #61798c;
  --line: #d3e1e8;
  --surface: #ffffff;
  --soft: #f2f6f8;
  --amber-bg: #fff3d8;
  --amber: #9d5700;
  --red-bg: #ffe9e7;
  --red: #bf3a31;
  --green-bg: #e5f6ed;
  --green: #16764a;
  --shadow: 0 18px 50px rgb(19 53 79 / 9%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #edf2f5;
  font: 16px/1.7 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: var(--teal-dark); text-underline-offset: 3px; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
code { padding: .12em .42em; border-radius: .35em; background: #e9f0f4; font-family: Consolas, monospace; }
p { margin: 0; }
h3 { margin: 0 0 7px; font-size: 20px; line-height: 1.35; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; border-radius: 8px; background: #fff; }
.skip-link:focus { top: 12px; }

.hero { color: #fff; background: linear-gradient(128deg, var(--navy) 0 68%, #168b87 100%); }
.hero__inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0 50px; }
.brand { display: inline-flex; gap: .65em; align-items: baseline; color: #fff; font-size: 20px; font-weight: 800; text-decoration: none; }
.brand span { color: #9fe5df; font-size: 15px; }
.eyebrow, .kicker { margin: 0; color: #79d8d1; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { margin-top: 40px; }
.hero h1 { margin: 8px 0 14px; font-size: clamp(40px, 4vw, 58px); line-height: 1.12; letter-spacing: -.035em; white-space: nowrap; }
.hero__summary { max-width: 980px; color: #d6e9f1; font-size: 18px; }
.hero__facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero__facts span { padding: 7px 13px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; background: rgb(255 255 255 / 8%); font-size: 14px; }

.step-nav { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 94%); backdrop-filter: blur(12px); }
.step-nav__inner { display: flex; gap: 4px; width: min(1180px, calc(100% - 24px)); margin: 0 auto; padding: 9px 0; overflow-x: auto; scrollbar-width: thin; }
.step-nav a { flex: 0 0 auto; padding: 8px 11px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.step-nav a:hover, .step-nav a:focus-visible { color: #fff; background: var(--teal-dark); }

.page-shell { width: min(1180px, calc(100% - 40px)); margin: 34px auto 70px; }
.section { scroll-margin-top: 78px; margin-top: 24px; padding: clamp(24px, 4vw, 46px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.section-heading { display: flex; gap: 16px; align-items: center; margin-bottom: 26px; }
.section-number { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-size: 21px; font-weight: 800; }
.section-heading h2 { margin: 2px 0 0; font-size: clamp(27px, 3.5vw, 38px); line-height: 1.25; }
.kicker { color: var(--teal-dark); font-size: 13px; }

.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.route-card { position: relative; display: flex; padding: 27px; flex-direction: column; border: 1px solid var(--line); border-radius: 17px; background: var(--soft); }
.route-card--recommended { border: 2px solid #76c9c1; background: var(--mint); }
.route-card--partner { background: #f8fafb; }
.route-card--partner .route-tag { background: var(--navy-2); }
.route-card h3 { margin-top: 20px; font-size: 27px; }
.route-card p { color: var(--muted); }
.route-card strong { display: inline-block; margin-top: auto; padding-top: 18px; color: var(--teal-dark); }
.route-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--teal); font-size: 13px; font-weight: 800; }

.plain-steps { margin: 0; padding-left: 24px; color: var(--muted); }
.plain-steps li { padding: 5px 0 5px 5px; }
.plain-steps li::marker { color: var(--teal-dark); font-weight: 800; }
.plain-steps--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; padding: 0; list-style: none; counter-reset: local-step; }
.plain-steps--cards li { position: relative; min-height: 92px; padding: 18px 18px 18px 60px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); counter-increment: local-step; }
.plain-steps--cards li::before { content: counter(local-step); position: absolute; left: 17px; top: 17px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 800; }
.local-config-steps { grid-template-columns: repeat(2, 1fr); }

.address-box { display: grid; gap: 4px; margin-top: 22px; padding: 17px 20px; border-left: 5px solid var(--navy-2); border-radius: 12px; background: var(--soft); }
.address-box--accent { border-left-color: var(--teal); background: var(--mint); }
.address-box a { width: fit-content; font-family: Consolas, ui-monospace, monospace; }
.address-box__url { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.copy-official-url { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #8cc7c1; border-radius: 8px; color: var(--teal-dark); background: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.copy-official-url:hover, .copy-official-url:focus-visible { color: #fff; border-color: var(--teal-dark); background: var(--teal-dark); }

.guide-image { margin: 24px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #f8fafb; }
.guide-image img { width: 100%; object-fit: contain; }
.guide-image--compact { max-width: 980px; }
.guide-image--flow img { aspect-ratio: 1180 / 354; }
.guide-image--web-settings { margin-bottom: 22px; }
.image-pair { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: start; }
.image-pair--balanced { grid-template-columns: 1fr 1fr; }
figcaption { padding: 11px 15px; border-top: 1px solid var(--line); color: var(--muted); background: #fff; font-size: 13px; }

.callout { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 18px; margin-top: 22px; padding: 18px 20px; border: 1px solid #edc56e; border-radius: 14px; background: var(--amber-bg); }
.callout strong, .callout p { color: var(--amber); }
.callout--plain { border-color: #b9ded8; background: var(--mint); }
.callout--plain strong, .callout--plain p { color: var(--ink); }
.callout--danger { border-color: #ffaaa4; background: var(--red-bg); }
.callout--danger strong, .callout--danger p { color: var(--red); }
.callout--safe { border-color: #a6dcc0; background: var(--green-bg); }
.callout--safe strong, .callout--safe p { color: var(--green); }

.template-box { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.template-box summary { cursor: pointer; font-weight: 800; }
.template-box p { margin-top: 12px; padding: 15px; border-radius: 10px; color: var(--muted); background: #fff; }
.template-box small { display: block; margin-top: 8px; color: var(--amber); }

.approval-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; }
.approval-flow > div { min-width: 0; padding: 18px 10px; border: 1px solid var(--line); border-radius: 14px; text-align: center; background: var(--soft); }
.approval-flow span, .credential-chain span { display: grid; width: 34px; height: 34px; margin: 0 auto 7px; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 800; }
.approval-flow strong, .approval-flow small { display: block; }
.approval-flow small { color: var(--muted); }
.approval-flow i { color: var(--teal); font-size: 24px; font-style: normal; }
.flow-caption { margin-top: 14px; color: var(--muted); text-align: center; }

.timeline { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.timeline--five { grid-template-columns: repeat(5, 1fr); }
.timeline li { display: flex; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.timeline li > span { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 800; }
.timeline strong { display: block; margin: 2px 0 5px; }
.timeline p { color: var(--muted); font-size: 14px; }

.handoff-card { margin-bottom: 22px; padding: 24px; border: 2px solid #8fd1ca; border-radius: 17px; background: linear-gradient(135deg, #e4f7f4, #f8fcfc); }
.handoff-card__title { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.handoff-card__title span { padding: 5px 10px; border-radius: 999px; color: #fff; background: var(--teal); font-size: 13px; font-weight: 800; }
.handoff-card__title h3 { margin: 0; font-size: 23px; }
.handoff-card > p { color: var(--muted); }
.screen-check { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }
.screen-check span { padding: 7px 11px; border: 1px solid #b8ddd8; border-radius: 9px; color: var(--teal-dark); background: #fff; font-weight: 700; }
.support-steps { grid-template-columns: repeat(3, 1fr); }
.support-service { margin-top: 20px; padding: 24px; border: 1px solid #edc56e; border-radius: 15px; background: var(--amber-bg); }
.support-service__tag { display: inline-block; margin-bottom: 12px; padding: 4px 9px; border-radius: 999px; color: #fff; background: var(--amber); font-size: 12px; font-weight: 800; }
.support-service > div p, .support-service > p { color: #805016; }
.completion-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.completion-options article { padding: 18px; border: 1px solid #edc56e; border-radius: 12px; background: #fffaf0; }
.completion-options article > span { display: inline-block; margin-bottom: 8px; color: var(--amber); font-size: 13px; font-weight: 800; }
.completion-options h3 { margin-bottom: 6px; }
.completion-options article p { color: #805016; }
.completion-option--service { display: flex; flex-direction: column; }
.service-safety-rule { margin-top: 14px; padding: 13px 14px; border: 1px solid #e8a09a; border-left: 4px solid #b42318; border-radius: 10px; background: #fff2f0; }
.service-safety-rule strong { display: block; margin-bottom: 5px; color: #9f1f17; font-size: 14px; }
.support-service .service-safety-rule p { margin: 0; color: #7d2923; font-size: 13px; line-height: 1.7; }
.service-qr { display: flex; gap: 16px; align-items: center; margin-top: auto; padding-top: 18px; }
.service-qr img { width: 132px; border: 1px solid #edc56e; border-radius: 10px; background: #fff; }
.service-qr strong { color: #805016; line-height: 1.55; }

.explain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.explain-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.explain-grid p { color: var(--muted); }

.help-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.help-choice { padding: 22px; border: 1px solid #b8ddd8; border-radius: 15px; background: var(--mint); }
.help-choice--paid { border-color: #edc56e; background: var(--amber-bg); }
.help-choice__tag { display: inline-block; margin-bottom: 12px; padding: 4px 9px; border-radius: 999px; color: #fff; background: var(--teal); font-size: 12px; font-weight: 800; }
.help-choice--paid .help-choice__tag { background: var(--amber); }
.help-choice > p { color: var(--muted); }
.help-choice--paid > p { color: #805016; }
.ai-prompt { margin-top: 15px; padding: 14px; border: 1px dashed #87c9c3; border-radius: 11px; background: #fff; }
.ai-prompt p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.service-boundary { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.58); line-height: 1.7; }
.support-address { margin-top: 16px; padding: 12px 14px; border: 1px solid #edc56e; border-radius: 10px; background: #fffaf0; color: #805016; font-weight: 700; }

.region-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.region-summary-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.region-summary-grid span, .region-summary-grid strong { display: block; }
.region-summary-grid span { margin-bottom: 7px; color: var(--teal-dark); font-weight: 800; }

.region-table-wrap { margin-top: 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; }
.region-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.region-table th, .region-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.region-table thead th { color: #fff; background: var(--navy); }
.region-table tbody tr:nth-child(odd) { background: var(--mint); }
.region-table tbody tr:last-child th, .region-table tbody tr:last-child td { border-bottom: 0; }
.region-table td:nth-child(2) { font-family: Consolas, ui-monospace, monospace; }

.credential-chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.credential-chain > div { padding: 16px 10px; border: 1px solid var(--line); border-radius: 14px; text-align: center; background: var(--soft); }
.credential-chain strong, .credential-chain small { display: block; }
.credential-chain small { color: var(--muted); }

.do-not-fill { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.do-not-fill > strong { margin-right: 4px; }
.do-not-fill span { padding: 5px 10px; border-radius: 999px; color: var(--teal-dark); background: var(--mint); font-weight: 700; }
.do-not-fill p { flex: 1 0 100%; color: var(--muted); }

.finish { color: #fff; background: var(--navy); }
.finish .kicker { color: #83ddd6; }
.finish-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.finish-grid > div { padding: 20px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 14px; background: rgb(255 255 255 / 8%); }
.finish-grid strong { color: #8ce0da; font-size: 19px; }
.finish-grid p { margin-top: 8px; color: #dceaf1; }
.sources { box-shadow: none; }
.sources h2 { margin-top: 0; }
.sources p, .sources li { color: var(--muted); }
.sources ul { margin-bottom: 0; }
.sources li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.copy-protected-guide { -webkit-user-select: none; user-select: none; }
.copy-protected-guide img { -webkit-user-drag: none; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px max(24px, calc((100% - 1180px) / 2)); color: #cfe0e8; background: #102f49; }
.site-footer div { display: flex; gap: 12px; }
.site-footer p { color: #9db4c3; }

@media (max-width: 980px) {
  .timeline--five { grid-template-columns: 1fr 1fr; }
  .credential-chain { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 850px) {
  .hero h1 { white-space: normal; }
  .route-grid, .explain-grid, .help-choice-grid, .support-steps, .region-summary-grid, .completion-options, .image-pair, .image-pair--balanced { grid-template-columns: 1fr; }
  .route-card p { min-height: 0; }
  .approval-flow { grid-template-columns: 1fr; }
  .approval-flow i { transform: rotate(90deg); text-align: center; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .hero__inner, .page-shell { width: min(100% - 22px, 1180px); }
  .hero__inner { padding: 38px 0 34px; }
  .eyebrow { margin-top: 28px; }
  .brand { display: block; }
  .brand span { display: block; margin-top: 2px; }
  .hero h1 { font-size: 40px; }
  .hero__summary { font-size: 16px; }
  .section { padding: 22px 17px; border-radius: 16px; }
  .section-heading { align-items: flex-start; }
  .section-number { flex-basis: 42px; width: 42px; height: 42px; font-size: 18px; }
  .plain-steps--cards, .timeline--five, .credential-chain, .finish-grid { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; gap: 4px; }
  .service-qr { align-items: flex-start; }
  .service-qr img { width: 116px; }
  .site-footer { display: block; }
  .site-footer p { margin-top: 8px; }
}

@media print {
  body { background: #fff; }
  .step-nav, .skip-link { display: none; }
  .hero { color: #000; background: #fff; }
  .hero__inner { padding: 20px 0; }
  .brand, .hero h1 { color: #173f5f; }
  .hero__summary, .hero__facts span { color: #334; }
  .page-shell { width: 100%; margin: 0; }
  .section { break-inside: avoid; box-shadow: none; }
  .finish { color: #173f5f; background: #fff; }
  .finish-grid p { color: #334; }
}
