:root {
  --ink: #16323d;
  --muted: #60767f;
  --paper: #f7fcfd;
  --soft: #eaf7fa;
  --line: #d6e7ed;
  --brand: #0d8ea0;
  --brand-dark: #0a6472;
  --deep: #093a4f;
  --accent: #f0a24a;
  --shadow: 0 18px 40px rgba(9, 58, 79, .11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 252, 253, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 850; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 13px; color: white; background: linear-gradient(145deg, var(--brand), var(--deep));
}
.nav-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
.hero {
  position: relative; overflow: hidden; padding: 82px 0 64px;
  background: linear-gradient(135deg, #e5f7fa, #f7fcfd 55%, #fff7e8);
}
.hero::after {
  content: ""; position: absolute; right: -90px; top: -100px; width: 360px; height: 360px;
  border-radius: 50%; border: 52px solid rgba(13, 142, 160, .07);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 800; letter-spacing: .08em; font-size: 13px; }
h1, h2, h3 { line-height: 1.2; }
h1 { margin: 12px 0 20px; font-size: clamp(38px, 6vw, 68px); letter-spacing: -.045em; }
h2 { margin: 0 0 20px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; }
.lead { max-width: 720px; color: var(--muted); font-size: 18px; }
.hero-card {
  position: relative; z-index: 1; padding: 24px; border: 1px solid rgba(13, 142, 160, .16);
  border-radius: 28px; background: rgba(255,255,255,.82); box-shadow: var(--shadow);
}
.hero-card img { width: 100%; border-radius: 20px; aspect-ratio: 16/10; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 0 20px; border-radius: 13px; border: 1px solid var(--brand); font-weight: 750;
}
.button.primary { color: white; background: var(--brand); }
.button:hover { transform: translateY(-1px); }
.section { padding: 70px 0; }
.section.soft { background: var(--soft); }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px;
}
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  overflow: hidden; border: 1px solid var(--line); border-radius: 20px;
  background: white; box-shadow: 0 8px 25px rgba(9, 58, 79, .06);
}
.card-media { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #dfeef2; }
.card-body { padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.tag {
  padding: 4px 10px; border-radius: 999px; color: var(--brand-dark);
  background: #dff1f4; font-size: 12px; font-weight: 750;
}
.filters {
  display: grid; grid-template-columns: 1fr 210px 210px;
  gap: 12px; margin: 24px 0 30px;
}
.input, .select {
  width: 100%; min-height: 48px; padding: 0 15px;
  color: var(--ink); background: white; border: 1px solid var(--line);
  border-radius: 12px; font: inherit;
}
.result-meta { margin: -12px 0 24px; color: var(--muted); font-size: 14px; }
.empty {
  display: none; padding: 34px; text-align: center; border: 1px dashed var(--line);
  border-radius: 18px; color: var(--muted);
}
.breadcrumb { padding-top: 30px; color: var(--muted); font-size: 14px; }
.detail { display: grid; grid-template-columns: .92fr 1.08fr; gap: 42px; align-items: start; padding: 34px 0 70px; }
.detail-image {
  position: sticky; top: 100px; overflow: hidden; border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow);
}
.detail-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-panel {
  padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white;
}
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0;
}
.fact { padding: 15px; border-radius: 14px; background: var(--soft); }
.fact small { display: block; color: var(--muted); }
.prose { max-width: 850px; }
.prose h2 { margin-top: 42px; font-size: 28px; }
.notice {
  padding: 16px 18px; border-left: 4px solid var(--accent);
  border-radius: 8px; background: #fff7e9;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eff8fa; }
.footer { padding: 34px 0; color: var(--muted); border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found .code { font-size: clamp(80px, 20vw, 180px); line-height: .8; font-weight: 900; color: var(--brand); }
@media (max-width: 900px) {
  .hero-grid, .detail { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: 1fr; }
  .detail-image { position: static; }
}
@media (max-width: 560px) {
  .nav { align-items: flex-start; padding: 14px 0; }
  .nav-links { justify-content: flex-end; gap: 10px 14px; }
  .grid, .facts { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
}
