
:root {
  --ink: #172126;
  --muted: #58656c;
  --line: #d7dedf;
  --paper: #ffffff;
  --soft: #f4f7f7;
  --steel: #245f63;
  --blue: #2f527f;
  --amber: #a2612c;
  --green: #4b7a55;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.65;
  letter-spacing: 0;
}
a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: #1d4e53;
  font-size: 13px;
}
.main-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; font-size: 14px; }
.main-nav a { color: #2b3c43; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding: clamp(36px, 6vw, 82px) clamp(18px, 5vw, 76px);
  background: #e8eeee;
  border-bottom: 1px solid var(--line);
}
.hero h1, .article-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 70px); line-height: 1.04; letter-spacing: 0; }
.hero p, .lead { color: var(--muted); font-size: 18px; max-width: 760px; }
.hero-image { border-radius: 8px; border: 1px solid #c8d0d2; box-shadow: 0 24px 80px rgba(27, 42, 50, .16); }
.eyebrow { display: inline-block; margin: 0 0 10px; color: var(--amber); font-weight: 700; font-size: 13px; text-transform: uppercase; }
.search-panel {
  max-width: 980px;
  margin: -28px auto 36px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 50px rgba(24, 34, 40, .08);
}
.search-panel input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #bcc9cc;
  border-radius: 6px;
  color: var(--ink);
  font-size: 16px;
}
#search-results { display: grid; gap: 10px; margin-top: 12px; }
.search-result { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fbfcfc; }
.band { padding: 42px clamp(18px, 5vw, 76px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head h2, .article-shell h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.category-card h3 { margin: 0 0 8px; font-size: 21px; }
.category-card p { margin: 0; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.article-card img { width: 100%; aspect-ratio: 1.9 / 1; object-fit: cover; }
.card-body { padding: 18px; }
.card-body h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.22; letter-spacing: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.stat { padding: 14px; border: 1px solid #c8d3d5; border-radius: 8px; background: rgba(255,255,255,.6); }
.stat strong { display: block; font-size: 26px; line-height: 1.1; }
.article-hero {
  padding: 40px clamp(18px, 5vw, 76px) 24px;
  background: #e8eeee;
  border-bottom: 1px solid var(--line);
}
.article-hero.compact h1 { max-width: 960px; }
.breadcrumbs { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.article-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px 18px 60px;
  background: var(--soft);
}
.article-image { width: 100%; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.article-meta span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.article-shell p { font-size: 17px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: #fff; border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 220px; color: #21333a; background: #eef4f4; }
.related-box { margin-top: 34px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.related-box ul { margin: 12px 0 0; padding-left: 20px; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 76px);
  color: #dbe5e4;
  background: #172126;
}
.site-footer p { margin: 6px 0 0; color: #aab9ba; max-width: 640px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; align-content: start; justify-content: flex-end; }
.footer-links a { color: #dbe5e4; }
@media (max-width: 960px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .main-nav { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; }
  .category-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero h1, .article-hero h1 { font-size: 36px; }
  .category-grid, .article-grid, .stats { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .site-footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .spec-table th, .spec-table td { display: block; width: 100%; }
}
