:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #1a2332;
  --muted: #5c6b7f;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --border: #e2e8f0;
  --ok: #166534;
  --err: #b91c1c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef4ff 0%, var(--bg) 220px);
}

a { color: var(--accent); }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
}

.badge {
  font-size: 0.75rem;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}

.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.site-header nav a[aria-current="page"] {
  color: var(--accent);
}

main { padding: 28px 0 48px; }

.hero {
  margin-bottom: 20px;
}

.hero.compact h1 { font-size: 1.9rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0.4rem 0 0.8rem;
}

h2 {
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
  .site-header nav { width: 100%; margin-left: 0; }
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  margin-right: 8px;
  margin-top: 8px;
}

.btn-ghost {
  background: transparent;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.news-list li:last-child { border-bottom: 0; }

.news-list time {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.news-list a {
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}

.news-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.checklist {
  margin: 0;
  padding-left: 1.1rem;
}

.checklist li { margin-bottom: 8px; }

.muted { color: var(--muted); }

.contact-form label {
  display: block;
  margin-bottom: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.alert.ok {
  background: #ecfdf5;
  color: var(--ok);
}

.alert.err {
  background: #fef2f2;
  color: var(--err);
}

.article h1 { margin-top: 0; }
.article .meta { color: var(--muted); }

.article h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
  color: var(--text);
}

.article p {
  color: var(--muted);
  margin: 0 0 1em;
}

.article ul {
  margin: 0 0 1.25em;
  padding-left: 1.25rem;
  color: var(--muted);
}

.article li { margin-bottom: 0.45em; }

.article em { font-style: normal; font-weight: 600; color: var(--text); }

.article code {
  font-size: 0.9em;
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 24px 0;
  font-size: 0.92rem;
}

.site-footer p { margin: 6px 0; }

.footer-legal { font-size: 0.9rem; }

.footer-operator {
  font-size: 0.88rem;
  color: var(--muted);
}

.legal-doc h1 {
  margin-top: 0;
  font-size: 1.75rem;
}

.legal-doc h2 {
  font-size: 1.1rem;
  margin: 1.4rem 0 0.5rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
}

.legal-doc ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.legal-meta {
  font-size: 0.9rem;
  margin-bottom: 1.5rem !important;
}

.legal-contact {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

label.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--muted);
}

label.consent input {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
}

label.consent a {
  font-weight: 600;
}
