
:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #14263d;
  --muted: #52657e;
  --line: #d5e1ee;
  --primary: #0077cc;
  --soft: #e8f4ff;
  --nav: rgba(255, 255, 255, 0.92);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--nav);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.wrap { width: min(1120px, calc(100% - 28px)); margin: 0 auto; min-width: 0; }
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 8px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; text-decoration: none; min-width: 0; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; }
.menu { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: flex-end; }
.menu a { color: var(--muted); font-size: 14px; text-decoration: none; }
.menu a:hover { color: var(--primary); }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  padding: 28px 0 72px;
}
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.crumb a { color: var(--muted); }
h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); line-height: 1.25; letter-spacing: -0.4px; }
.lead { margin: 0 0 18px; font-size: clamp(16px, 2vw, 18px); color: #24384f; }
article h2 { margin: 1.5em 0 0.4em; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.35; }
article h3 { margin: 1.2em 0 0.3em; font-size: 18px; }
article p { margin: 0.7em 0; }
article ul, article ol { margin: 0.4em 0 0.8em; padding-left: 1.2em; }
article li { margin: 0.25em 0; }
.panel, .side, .faq, figure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
figure { margin: 18px 0; overflow: hidden; }
figure img { width: 100%; }
figcaption { padding: 8px 12px 12px; color: var(--muted); font-size: 13px; }
.facts {
  display: grid;
  grid-template-columns: minmax(88px, 132px) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 16px 0;
  padding: 16px;
}
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 20px; }
.links a, .side a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
}
.links a:hover, .side a:hover { border-color: var(--primary); background: var(--soft); }
.links small, .side small { display: block; color: var(--muted); font-size: 12px; }
.side { padding: 16px; align-self: start; }
.side h2 { margin: 0 0 10px; font-size: 16px; }
.side a { margin-bottom: 8px; }
.faq { margin-top: 12px; padding: 4px 16px 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0 16px; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 650; line-height: 1.45; }
.faq details p { margin: 0.7em 0 0; color: #24384f; }
.faq details p:first-of-type { margin-top: 10px; }
.note { color: var(--muted); font-size: 13px; }
footer.site {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}
footer.site .foot { display: flex; flex-direction: column; gap: 12px; }
footer.site .phones { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
footer.site .phones strong { color: var(--text); font-weight: 650; margin-right: 2px; }
footer.site .phones a { color: var(--text); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: #f4f8fc; }
footer.site .phones a:hover { color: var(--primary); border-color: var(--primary); }
.facts dd { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.facts dd a { color: var(--text); text-decoration: none; font-weight: 650; }
.facts dd a:hover { color: var(--primary); }
footer.site .foot-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .bar { align-items: flex-start; flex-direction: column; }
  .menu { justify-content: flex-start; }
}
