:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #edf2fb;
  --text: #1c2430;
  --muted: #647084;
  --border: #d8e0ee;
  --brand: #2256c7;
  --brand-dark: #173d8e;
  --ok: #128a43;
  --shadow: 0 14px 34px rgba(20, 31, 50, .08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration: none;
}

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

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

.site-header {
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 22px;
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover {
  color: var(--brand);
}

.hero {
  padding: 72px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
  margin: 0 0 18px;
}

h2 {
  font-size: 28px;
  line-height: 1.2;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 760px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  border: 1px solid var(--brand);
}

.button:hover {
  color: #fff;
  background: var(--brand-dark);
  text-decoration: none;
}

.button.secondary {
  color: var(--brand);
  background: transparent;
}

.button.secondary:hover {
  color: var(--brand-dark);
  background: var(--surface-2);
}

.status-card,
.card,
.panel,
.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.status-card {
  padding: 24px;
}

.status-card h2 {
  margin-top: 0;
}

.ok {
  color: var(--ok);
  font-weight: 800;
}

.status-card dl {
  margin: 18px 0 0;
}

.status-card dl div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 10px 0;
}

.status-card dt {
  color: var(--muted);
}

.status-card dd {
  margin: 0;
  font-weight: 700;
}

.section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

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

.card {
  padding: 22px;
}

.card h3 {
  margin-top: 8px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 10px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  padding: 24px;
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 900;
}

pre {
  overflow-x: auto;
  background: #101827;
  color: #e8eefc;
  border-radius: 14px;
  padding: 18px;
  line-height: 1.55;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.page,
.article {
  padding: 52px 0;
}

.article {
  max-width: 860px;
}

.article h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.article h2 {
  margin-top: 34px;
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-list article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.note {
  padding: 20px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  background: var(--surface-2);
}

.not-found {
  text-align: center;
  min-height: 70vh;
  display: grid;
  place-content: center;
}

.site-footer {
  margin-top: 40px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
}

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

.footer-grid nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 840px) {
  .header-inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .split,
  .cards,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }
}
