:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f3f5f8;
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 6vw;
  background: #10182b;
  color: #fff;
}
.brand { font-weight: 750; text-decoration: none; letter-spacing: -.02em; }
nav { display: flex; gap: 20px; }
nav a { color: #dce5ff; text-decoration: none; }
main { width: min(1100px, 88vw); margin: 0 auto; padding: 72px 0; }
.hero { max-width: 760px; padding: 72px 0; }
.hero.compact { padding: 20px 0 42px; }
h1 { margin: 0 0 16px; font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1.04; letter-spacing: -.045em; }
h2 { margin-top: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: #4667b5; }
.button {
  display: inline-block;
  margin-top: 20px;
  padding: 13px 19px;
  border-radius: 10px;
  color: #fff;
  background: #315bc6;
  text-decoration: none;
  font-weight: 750;
}
.secondary { display: inline-block; margin-top: 14px; }
.card { padding: 28px; border: 1px solid #dfe3ec; border-radius: 16px; background: #fff; box-shadow: 0 14px 42px rgba(20, 31, 57, .06); }
.narrow { max-width: 620px; margin: 32px auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.notice { max-width: 760px; margin: 0 auto 24px; padding: 12px 16px; border-radius: 8px; background: #fff4d6; }
.article-list { display: grid; border: 1px solid #dfe3ec; border-radius: 14px; overflow: hidden; background: #fff; }
.article-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid #e8ebf1; text-decoration: none; }
.article-row:last-child { border-bottom: 0; }
.article-row:hover { background: #f8faff; }
.article-row small, .document-meta { color: #677187; }
.document { max-width: 820px; }
.document h1 { font-size: clamp(2.1rem, 5vw, 4rem); }
.document-body { margin-top: 42px; font-family: Georgia, serif; font-size: 1.08rem; }
.document-body pre { overflow-x: auto; padding: 16px; border-radius: 10px; background: #10182b; color: #f4f7ff; }
.document-body table { width: 100%; border-collapse: collapse; }
.document-body th, .document-body td { padding: 9px; border: 1px solid #dfe3ec; text-align: left; }
.search-form label { display: block; margin: 14px 0 6px; font-weight: 700; }
.search-form div { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid #b9c1d2; border-radius: 8px; }
.search-form button { padding: 11px 16px; border: 0; border-radius: 8px; color: #fff; background: #315bc6; font-weight: 700; }
@media (max-width: 620px) {
  .site-header { align-items: flex-start; flex-direction: column; padding-top: 18px; padding-bottom: 18px; }
  main { padding-top: 38px; }
}
