:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --ink: #172033;
  --muted: #526070;
  --line: #dbe3ec;
  --brand: #1f6feb;
  --brand-strong: #174ea6;
  --accent: #0f4c81;
  --soft: #eff6ff;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.08), transparent 32%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 48%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 236, 0.9);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.hero,
.section {
  padding: 18px 0;
}

.hero {
  padding-top: 36px;
}

.hero-shell,
.section-shell {
  display: grid;
  gap: 18px;
}

.hero-shell {
  grid-template-columns: 1.6fr 0.9fr;
}

.section-shell {
  grid-template-columns: 1.1fr 0.9fr;
}

.panel,
.card {
  background: var(--surface);
  border: 1px solid rgba(219, 227, 236, 0.95);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 28px;
}

.card {
  padding: 22px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.02;
  margin: 14px 0 16px;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin-bottom: 10px;
}

h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

p {
  line-height: 1.7;
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  color: #334155;
  max-width: 68ch;
}

.mini {
  font-size: 0.95rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack {
  display: grid;
  gap: 16px;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.list li + li {
  margin-top: 6px;
}

.note {
  border-left: 4px solid var(--brand);
  padding: 16px 18px;
  background: var(--soft);
  border-radius: 16px;
  color: #1e3a8a;
}

.footer {
  margin-top: 38px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.meta-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.meta-box {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.meta-box strong {
  display: block;
  margin-bottom: 6px;
}

.muted-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

@media (max-width: 860px) {
  .hero-shell,
  .section-shell,
  .card-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
  }
}
