:root {
  --bg: #f4f8ff;
  --surface: #fff;
  --ink: #0b1f3a;
  --muted: #61758d;
  --line: #d7e3f4;
  --accent: #0b63f6;
  --gold: #e8b84a;
  --gold-ink: #1a1408;
  --navy: #0b1f33;
  --footer: #0b1f3a;
  --max: 1180px;
  font-family: 'Noto Sans SC', 'Noto Sans', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
.container { width: min(var(--max), calc(100% - 2.3rem)); margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  text-decoration: none; border-radius: 0.65rem; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary {
  color: #fff; background: linear-gradient(#2b7bff, #0b63f6);
  box-shadow: 0 10px 24px #0b63f642; min-height: 2.55rem;
  padding: 0.55rem 1.15rem; font-size: 1rem;
}
.btn-primary:hover { background: linear-gradient(#3a85ff, #0a57e0); }
.btn-ghost {
  color: var(--ink); background: #fff; border-color: var(--line);
  min-height: 2.55rem; padding: 0.5rem 0.95rem; font-size: 0.95rem; font-weight: 700;
}
.btn-ghost:hover { background: #f8fbff; border-color: #9fbae0; }
.promo-trust-bar { background: #0b1f33; color: #fff; border-bottom: 1px solid #ffffff14; }
.promo-trust-inner { display: flex; align-items: center; gap: 0.85rem; padding: 0.38rem 0; min-height: 2.85rem; }
.promo-trust-slogan {
  flex: 0 24%; margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-size: 0.8rem; font-weight: 650; color: #e8eef5;
}
.promo-trust-row { display: flex; align-items: center; gap: 0.65rem; flex: auto; min-width: 0; }
.promo-trust-chips {
  display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0;
  overflow-x: auto; flex: auto; min-width: 0; scrollbar-width: none;
}
.promo-trust-chips a {
  color: #d7e4f2; white-space: nowrap; border: 1px solid #ffffff38; border-radius: 999px;
  padding: 0.34rem 0.7rem; font-size: 0.82rem; text-decoration: none; min-height: 2.15rem;
  display: inline-flex; align-items: center;
}
.promo-trust-chips a:hover { color: #fff; background: #ffffff14; }
.promo-trust-cta {
  color: var(--gold-ink); background: var(--gold); border-radius: 6px; margin-left: auto;
  padding: 0.5rem 0.85rem; font-size: 0.92rem; font-weight: 700; text-decoration: none;
  flex: none; min-height: 2.4rem; display: inline-flex; align-items: center;
}
.promo-trust-cta:hover { background: #f0c45a; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #d7e3f4e6; }
.site-header-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.85rem; min-height: 5.5rem; }
.site-logo-img { height: 3.15rem; width: auto; max-width: min(210px, 56vw); object-fit: contain; }
.site-header-actions { display: flex; align-items: center; gap: 0.55rem; }
.lang-switch {
  border: 1px solid var(--line); background: #fff; border-radius: 0.75rem; min-height: 2.55rem;
  padding: 0.5rem 0.95rem; font-size: 0.95rem; font-weight: 750; display: inline-flex;
  align-items: center; gap: 0.25rem; cursor: pointer;
}
.locale-menu {
  position: absolute; right: 0; top: calc(100% + 0.35rem); background: #fff;
  border: 1px solid var(--line); border-radius: 0.75rem; min-width: 10rem;
  box-shadow: 0 12px 32px #0b1f331f; padding: 0.35rem; z-index: 80;
}
.locale-menu a { display: block; padding: 0.55rem 0.7rem; border-radius: 0.5rem; text-decoration: none; font-weight: 650; }
.locale-menu a:hover, .locale-menu a.is-active { background: #eaf2ff; color: var(--accent); }
.locale-switch { position: relative; }
.site-header-quote-short { display: none; }
.site-subnav { background: linear-gradient(#f5f8ff, #eef3fb); border-top: 1px solid #d7e3f4f2; }
.site-subnav-track { display: flex; flex-wrap: wrap; gap: 0.38rem 0.45rem; padding: 0.55rem 0; }
.site-subnav-link {
  color: #1a2f4a; background: #e4edf9; border-radius: 999px; min-height: 2.2rem;
  padding: 0.38rem 0.78rem; display: inline-flex; align-items: center;
  text-decoration: none; font-weight: 650; font-size: 0.92rem;
}
.site-subnav-link:hover, .site-subnav-link.is-current {
  color: #0b4fd6; background: #d7e6fb; box-shadow: inset 0 0 0 1px #0b63f62e;
}
.page-hero { padding: 2.1rem 0 0.4rem; }
.crumb, .eyebrow { margin: 0 0 0.65rem; color: var(--muted); font-size: 0.86rem; font-weight: 650; }
.crumb a { color: var(--accent); text-decoration: none; }
h1 { margin: 0; font-size: clamp(1.65rem, 1.2rem + 1.6vw, 2.35rem); line-height: 1.28; font-weight: 800; }
.lead { margin: 0.85rem 0 0; font-size: 1.05rem; color: #24364d; max-width: 46rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.15rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; padding: 1.4rem 0 3.5rem; }
.article {
  background: #fff; border: 1px solid var(--line); border-radius: 1.1rem;
  padding: 1.4rem 1.5rem 1.8rem; box-shadow: 0 10px 30px #0b1f330c;
}
.hero-figure { margin: 0 0 1.4rem; border-radius: 0.9rem; overflow: hidden; border: 1px solid var(--line); }
.hero-figure img { width: 100%; height: 280px; object-fit: cover; }
.hero-figure figcaption { padding: 0.7rem 0.9rem 0.85rem; font-size: 0.82rem; color: var(--muted); background: #f7faff; }
.article h2 { margin: 1.55rem 0 0.7rem; font-size: 1.22rem; }
.article p { margin: 0 0 0.85rem; color: #1c3148; font-size: 1.02rem; }
.article ul { margin: 0.2rem 0 1rem; padding-left: 1.15rem; color: #1c3148; }
.article li { margin: 0.35rem 0; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin: 0.9rem 0 1.2rem; }
.stat-card { background: #f4f8ff; border: 1px solid var(--line); border-radius: 0.85rem; padding: 0.75rem 0.85rem; }
.stat-card span { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.stat-card strong { display: block; margin-top: 0.2rem; font-size: 0.95rem; }
.related { display: grid; gap: 0.55rem; margin-top: 0.4rem; }
.related a {
  display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 0.8rem;
  padding: 0.8rem 0.95rem; background: #f7faff; font-weight: 700;
}
.related a:hover { border-color: #9fbae0; background: #eaf2ff; }
.related a small { display: block; font-weight: 500; color: var(--muted); margin-top: 0.2rem; }
.cta-band { margin-top: 1.6rem; background: linear-gradient(135deg, #0b1f33, #163a5c); color: #fff; border-radius: 1rem; padding: 1.2rem 1.25rem; }
.cta-band h2 { margin: 0 0 0.45rem; color: #fff; }
.cta-band p { color: #d7e4f2; margin-bottom: 0.9rem; }
.quote-rail {
  position: sticky; top: 7.5rem; background: #fff; border: 1px solid var(--line);
  border-radius: 1.05rem; padding: 1.1rem 1.05rem 1.2rem; box-shadow: 0 12px 28px #0b1f3310;
}
.quote-rail .kicker { color: #b45309; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.04em; margin: 0 0 0.35rem; }
.quote-rail h2 { margin: 0 0 0.45rem; font-size: 1.12rem; }
.quote-rail p { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.92rem; }
.quote-rail .btn { width: 100%; margin-top: 0.35rem; }
.quote-rail .gold { background: var(--gold); color: var(--gold-ink); box-shadow: none; border: none; }
.qc-thumb { margin-top: 0.9rem; border-radius: 0.7rem; overflow: hidden; border: 1px solid var(--line); }
.qc-thumb img { height: 120px; width: 100%; object-fit: cover; }
.qc-thumb p { margin: 0.45rem 0.6rem 0.6rem; font-size: 0.78rem; }
.byline {
  display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: 0.9rem;
  color: var(--muted); font-size: 0.88rem;
}
.qa-index-grid { display: grid; gap: 0.7rem; }
.qa-card {
  display: block; text-decoration: none; background: #fff; border: 1px solid var(--line);
  border-radius: 0.95rem; padding: 1rem 1.1rem;
}
.qa-card:hover { border-color: #9fbae0; box-shadow: 0 8px 20px #0b1f330c; }
.qa-card .group { color: var(--accent); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; }
.qa-card h2 { margin: 0.25rem 0 0.35rem; font-size: 1.08rem; }
.qa-card p {
  margin: 0; color: var(--muted); font-size: 0.92rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.group-label { margin: 1.4rem 0 0.55rem; font-size: 0.82rem; font-weight: 800; color: #3b5470; letter-spacing: 0.06em; }
.note-banner {
  background: #fff7e6; border: 1px solid #e8b84a66; color: #5c4310;
  border-radius: 0.8rem; padding: 0.75rem 0.9rem; font-size: 0.88rem; margin: 1rem 0 0;
}
.site-footer { background: var(--footer); color: #ffffffc7; }
.site-footer-main {
  display: grid; grid-template-columns: minmax(240px, 1.15fr) 2.2fr;
  gap: 2.5rem 3rem; padding: 3.25rem 0 2.5rem;
}
.site-footer-logo-img { height: 2.6rem; width: auto; }
.site-footer-tagline { color: #ffffffb8; max-width: 22rem; margin: 0.75rem 0 0; font-size: 0.9rem; }
.site-footer-contact { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer-contact span { display: block; font-size: 0.75rem; color: #ffffff8c; }
.site-footer-contact a, .site-footer-contact strong { color: #e8eef8; text-decoration: none; }
.site-footer-cta-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.site-footer .btn-ghost { color: #fff; background: transparent; border-color: #ffffff8c; }
.site-footer .btn-ghost:hover { background: #ffffff1a; }
.site-footer-badge {
  background: #143c2840; border: 1px solid #48c78e8c; border-radius: 0.85rem;
  display: flex; gap: 0.75rem; margin-top: 1.35rem; padding: 0.85rem 0.95rem;
}
.site-footer-badge-title { color: #e8c35a; font-weight: 750; }
.site-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.site-footer-col h3 { margin: 0 0 0.7rem; color: #fff; font-size: 0.92rem; }
.site-footer-col ul { list-style: none; margin: 0; padding: 0; }
.site-footer-col a { color: #ffffffc7; text-decoration: none; display: inline-block; padding: 0.22rem 0; font-size: 0.9rem; }
.site-footer-bottom { border-top: 1px solid #ffffff1a; padding: 0.9rem 0 1.2rem; }
.site-footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; }
.site-footer-bottom a { color: #fff; }
.site-footer-certs { display: flex; flex-wrap: wrap; gap: 0.55rem 0.9rem; list-style: none; margin: 0; padding: 0; }
.missing { padding: 4rem 0; }
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .quote-rail { position: static; }
  .site-footer-main { grid-template-columns: 1fr; }
  .promo-trust-slogan { display: none; }
}
@media (max-width: 760px) {
  .container { width: min(1200px, calc(100% - 1.05rem)); }
  .promo-trust-inner { flex-direction: column; align-items: stretch; gap: 0.45rem; padding: 0.45rem 0 0.55rem; }
  .promo-trust-row { flex-direction: column; align-items: stretch; width: 100%; gap: 0.4rem; }
  .promo-trust-cta {
    order: -1; width: 100%; justify-content: center; margin-left: 0;
    min-height: 2.7rem; font-size: 1rem; border-radius: 8px;
  }
  .promo-trust-chips {
    display: grid; grid-template-columns: 1fr 1fr; overflow: visible;
    gap: 0.35rem; width: 100%; flex: none;
  }
  .promo-trust-chips a {
    width: 100%; justify-content: center; white-space: nowrap;
    text-align: center; min-height: 2.35rem;
  }
  .site-header-bar { flex-wrap: wrap; min-height: 0; padding: 0.45rem 0 0.55rem; gap: 0.4rem; }
  .site-logo-img { height: 2.4rem; max-width: min(176px, 52vw); }
  .site-header-home, .site-header-upload, .site-header-register { display: none; }
  .site-header-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; gap: 0.32rem; }
  .site-header-quote { flex: 1 1 100%; width: 100%; }
  .site-header-quote-short { display: none; }
  .site-header-quote .site-header-quote-full { display: inline; }
  .site-subnav-track { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .site-subnav-link { flex: 0 0 auto; white-space: nowrap; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero-figure img { height: 190px; }
  .article { padding: 1rem 0.9rem 1.3rem; }
  .site-footer-cols { grid-template-columns: 1fr; }
  h1 { font-size: 1.55rem; }
  .site-header-actions .btn-primary { min-height: 2.7rem; font-size: 1.02rem; width: 100%; }
}
