:root {
  --brand: #12467f;
  --brand-dark: #0c335e;
  --brand-soft: #e8f1fb;
  --accent: #0f6e56;
  --accent-soft: #e3f4ee;
  --ink: #1f2933;
  --ink-soft: #4b5b68;
  --line: #dbe4ec;
  --surface: #ffffff;
  --page: #f6f9fc;
  --warn-soft: #fdf4e3;
  --warn-line: #e6c98a;
  --max: 1120px;
  --radius: 12px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; }

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand-lockup { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -1px;
  flex: none;
}

.brand-name { font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--brand-dark); }
.brand-name small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-soft); letter-spacing: .02em; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--brand-dark);
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-dark);
  text-decoration: none;
}

.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-dark);
  white-space: nowrap;
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 18px 0 0;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span { margin: 0 6px; color: #9aa9b6; }

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--brand-dark);
}
.hero .lede { font-size: 17px; color: var(--ink-soft); max-width: 780px; margin: 0 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.answer {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 0 0 28px;
  font-size: 16px;
  max-width: 900px;
}
.answer strong { color: var(--brand-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--brand);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.btn-ghost { background: var(--surface); color: var(--brand-dark); }
.btn-ghost:hover { background: var(--brand-soft); text-decoration: none; }

.section { padding: 44px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  color: var(--brand-dark);
  margin: 0 0 12px;
  line-height: 1.4;
}
.section h3 { font-size: 18px; color: var(--brand-dark); margin: 28px 0 8px; }
.section p { max-width: 850px; margin: 0 0 14px; color: var(--ink); }
.section .muted { color: var(--ink-soft); font-size: 14px; }
.section ul, .section ol { max-width: 850px; padding-left: 22px; }
.section li { margin-bottom: 8px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.card .num { font-size: 24px; font-weight: 700; color: var(--brand); display: block; margin-bottom: 4px; }

.tag {
  display: inline-block;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  margin: 0 6px 8px 0;
  color: var(--ink-soft);
  background: var(--surface);
}

.notice {
  background: var(--warn-soft);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  margin: 20px 0;
}
.notice strong { color: #7a5510; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; align-items: center; }
.filter-bar input, .filter-bar select {
  font: inherit;
  font-size: 14px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  min-width: 190px;
}
.filter-bar input:focus, .filter-bar select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.result-count { font-size: 13px; color: var(--ink-soft); }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--brand-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 20px 18px; font-size: 15px; color: var(--ink); }
.faq-item .faq-body p { margin: 0 0 10px; }

.timeline { list-style: none; padding: 0; margin: 20px 0 0; max-width: 850px; counter-reset: step; }
.timeline li {
  position: relative;
  padding: 0 0 24px 46px;
  border-left: 2px solid var(--line);
  margin-left: 14px;
  counter-increment: step;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: counter(step);
  position: absolute;
  left: -15px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}
.timeline strong { color: var(--brand-dark); }

.contact-block { display: grid; gap: 8px; }
.contact-block dt { font-size: 13px; color: var(--ink-soft); }
.contact-block dd { margin: 0 0 14px; font-size: 16px; font-weight: 600; color: var(--brand-dark); }

.cta-band {
  background: var(--brand-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 36px 0 0;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: 22px; }
.cta-band p { color: #d5e4f4; margin: 0 0 16px; max-width: 760px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--brand-soft); color: var(--brand-dark); }
.cta-band a:not(.btn) { color: #fff; text-decoration: underline; }

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-grid h3 { font-size: 14px; color: var(--brand-dark); margin: 0 0 10px; }
.footer-grid p { margin: 0 0 6px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 16px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 14px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 10px 12px; }
  .header-inner { flex-wrap: wrap; padding: 12px 0; min-height: 0; }
  .hero { padding: 38px 0 34px; }
  .section { padding: 34px 0; }
}

@media print {
  .site-header, .site-footer, .cta-band, .filter-bar, .nav-toggle, .btn-row { display: none; }
  body { background: #fff; }
  .card, .faq-item, .table-scroll { break-inside: avoid; }
  .faq-item .faq-body { display: block; }
}
