:root {
  --navy: #123b5d;
  --navy-deep: #08283f;
  --teal: #087f78;
  --teal-soft: #e4f5f2;
  --amber: #e58a25;
  --amber-soft: #fff3df;
  --red: #b74736;
  --ink: #162531;
  --muted: #5f6e78;
  --line: #d8e1e6;
  --paper: #ffffff;
  --wash: #f3f7f9;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(11, 45, 67, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.7; }
button, input { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .75rem clamp(1.2rem, 5vw, 5rem); background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(18,59,93,.1); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; line-height: 1.25; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--navy); color: #fff; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { color: var(--navy-deep); font-size: 1rem; }
.brand small { margin-top: .15rem; color: var(--muted); font-size: .72rem; }
nav { display: flex; gap: 1.5rem; }
nav a { color: #334c5d; text-decoration: none; font-size: .92rem; font-weight: 700; }
nav a:hover, nav a:focus { color: var(--teal); }

.hero { min-height: 620px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr); align-items: stretch; background: linear-gradient(135deg, #eef8fb 0%, #fff 58%); overflow: hidden; }
.hero-copy { align-self: center; padding: 5rem 2rem 5rem max(1.4rem, calc((100vw - 1280px) / 2)); position: relative; z-index: 2; }
.eyebrow { margin: 0 0 .7rem; color: var(--teal); font-weight: 800; letter-spacing: .08em; font-size: .84rem; }
h1 { max-width: 680px; margin: 0; color: var(--navy-deep); font-size: clamp(2.35rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -.04em; }
.hero-lede { max-width: 630px; margin: 1.5rem 0 0; color: #48616f; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.25rem; border-radius: 12px; font-weight: 800; text-decoration: none; }
.button.primary { color: #fff; background: var(--navy); box-shadow: 0 10px 24px rgba(18,59,93,.2); }
.button.secondary { color: var(--navy); background: #fff; border: 1px solid #b9cad4; }
.hero-facts { display: flex; gap: 2rem; margin: 2.4rem 0 0; padding: 0; list-style: none; }
.hero-facts li { display: grid; }
.hero-facts strong { color: var(--navy); font-size: 1.65rem; line-height: 1.1; }
.hero-facts span { color: var(--muted); font-size: .8rem; }
.hero-visual { min-width: 0; }
.hero-visual img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; object-position: 58% center; display: block; }

.quick-alert { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #d8e4e9; border-bottom: 1px solid #d8e4e9; }
.quick-alert div { display: flex; gap: 1rem; align-items: flex-start; padding: 1.6rem clamp(1.2rem, 3vw, 3rem); background: #fff; }
.quick-alert span { color: var(--amber); font-weight: 900; font-size: 1.15rem; }
.quick-alert p { margin: 0; color: #4f616d; font-size: .92rem; }
.quick-alert strong { color: var(--ink); }

.section { padding: 6rem max(1.4rem, calc((100vw - 1180px) / 2)); }
.section-heading { max-width: 820px; margin-bottom: 2.4rem; }
.section-heading.narrow { max-width: 720px; }
.section-heading h2, .about-section h2, .check-intro h2 { margin: 0; color: var(--navy-deep); font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.2; letter-spacing: -.025em; }
.section-heading > p:last-child, .check-intro > p { color: var(--muted); }

.service-guide { background: var(--wash); }
.service-tabs { display: flex; gap: .65rem; overflow-x: auto; padding: .2rem .1rem 1rem; scrollbar-width: thin; }
.service-tab { flex: 0 0 auto; min-width: 118px; padding: .8rem 1rem; border: 1px solid #cbd9e0; border-radius: 14px; background: #fff; color: #345063; cursor: pointer; font-weight: 800; }
.service-tab[aria-selected="true"] { color: #fff; background: var(--navy); border-color: var(--navy); box-shadow: 0 8px 20px rgba(18,59,93,.16); }
.service-tab:focus-visible { outline: 3px solid rgba(229,138,37,.45); outline-offset: 2px; }
.service-panel { margin-top: 1rem; padding: clamp(1.3rem, 4vw, 3rem); border: 1px solid #d5e0e5; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.service-summary { display: grid; grid-template-columns: 1fr 260px; gap: 2rem; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.service-kicker { margin: 0 0 .35rem; color: var(--amber); font-size: .82rem; font-weight: 900; }
.service-summary h3 { margin: 0; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.45rem); }
.service-summary p:last-child { margin-bottom: 0; color: var(--muted); }
.risk-meter { padding: 1.2rem; border-radius: 16px; background: var(--amber-soft); }
.risk-meter span, .risk-meter strong { display: block; }
.risk-meter span { color: #8a5a1f; font-size: .78rem; font-weight: 800; }
.risk-meter strong { margin-top: .2rem; color: #7f4311; font-size: 1.1rem; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.guide-grid section { padding: 1.5rem; border-radius: 16px; background: #f7fafb; border: 1px solid #e2e9ed; }
.guide-grid h4 { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; color: var(--navy-deep); font-size: 1rem; }
.guide-grid h4 span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--teal); }
.guide-grid ul { margin: 0; padding-left: 1.2rem; }
.guide-grid li { margin: .6rem 0; color: #455965; }
.guide-grid .warning-card { background: #fff6f3; border-color: #f0c9c1; }
.guide-grid .warning-card h4 span { background: var(--red); }

.platform-section { background: var(--navy-deep); color: #e6eff4; }
.platform-section .eyebrow { color: #6ed5cb; }
.platform-section h2 { color: #fff; }
.platform-section .section-heading p:last-child { color: #b9cbd5; }
.platform-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.platform-ladder article { position: relative; padding: 1.6rem; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.06); }
.platform-ladder span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: #1a2c35; font-weight: 900; }
.platform-ladder h3 { margin: 1rem 0 .2rem; color: #fff; }
.platform-ladder p { color: #b9cbd5; }
.platform-ladder strong { color: #f6d8aa; font-size: .93rem; }
.plain-note { margin: 1.3rem 0 0; padding: 1rem 0; color: #d7e4ea; border-top: 1px solid rgba(255,255,255,.16); }

.check-section { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 6vw, 6rem); background: #fff; }
.check-intro { align-self: start; position: sticky; top: 110px; }
.score-box { margin-top: 2rem; padding: 1.5rem; border-radius: 18px; background: var(--teal-soft); }
.score-box span { color: #39736e; font-weight: 800; }
.score-box strong { display: block; color: var(--teal); font-size: 2.4rem; line-height: 1.2; }
.score-box p { margin: .3rem 0 0; color: #3e625f; }
.checklist { display: grid; gap: .75rem; }
.checklist label { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: .2s ease; }
.checklist label:has(input:checked) { border-color: #63aaa3; background: #f0faf8; }
.checklist input { width: 1.2rem; height: 1.2rem; margin-top: .22rem; accent-color: var(--teal); }
.checklist strong { display: block; color: var(--navy-deep); }
.text-button { justify-self: start; border: 0; background: none; color: var(--teal); cursor: pointer; font-weight: 800; padding: .6rem 0; }

.red-flags { background: #fff7f4; }
.flag-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.flag-list article { padding: 1.5rem; border-radius: 16px; background: #fff; border: 1px solid #ecd5cf; }
.flag-list blockquote { margin: 0; color: var(--red); font-weight: 900; font-size: 1.05rem; }
.flag-list p { margin-bottom: 0; color: var(--muted); }

.emergency-section { background: var(--wash); }
.emergency-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.emergency-steps li { padding: 1.4rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.emergency-steps li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; }
.emergency-steps h3 { margin: 1rem 0 .3rem; color: var(--navy-deep); }
.emergency-steps p { margin: 0; color: var(--muted); font-size: .92rem; }
.evidence-strip { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-top: 1.2rem; padding: 1.1rem; border: 1px solid #cfdae0; border-radius: 14px; background: #fff; }
.evidence-strip span { padding: .3rem .65rem; border-radius: 999px; background: var(--teal-soft); color: #286d67; font-size: .85rem; font-weight: 700; }

.about-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; }
.about-copy p { margin-top: 0; color: var(--muted); }
.about-copy strong { color: var(--ink); }
.updated { padding-top: 1rem; border-top: 1px solid var(--line); font-size: .86rem; }
footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; padding: 3rem max(1.4rem, calc((100vw - 1180px) / 2)); background: #071f31; color: #bdccd5; }
footer strong { color: #fff; }
footer p { margin: .3rem 0 0; max-width: 620px; font-size: .84rem; }

@media (max-width: 980px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 4rem 1.4rem 2.5rem; }
  .hero-visual img { min-height: 390px; max-height: 500px; object-position: 62% center; }
  .quick-alert { grid-template-columns: 1fr; }
  .service-summary, .check-section, .about-section { grid-template-columns: 1fr; }
  .check-intro { position: static; }
  .platform-ladder, .emergency-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { min-height: 66px; padding: .65rem 1rem; }
  .brand small { display: none; }
  .hero { min-height: 0; }
  .hero-copy { padding-top: 3rem; }
  h1 { font-size: 2.45rem; }
  .hero-lede { font-size: 1rem; }
  .hero-facts { gap: 1.3rem; }
  .hero-visual img { min-height: 280px; }
  .section { padding: 4.5rem 1.1rem; }
  .guide-grid, .platform-ladder, .flag-list, .emergency-steps { grid-template-columns: 1fr; }
  .service-summary { gap: 1rem; }
  .risk-meter { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
