:root {
  --bg: #eef2ff;
  --bg-alt: #f8fafc;
  --surface: rgba(255,255,255,0.88);
  --text: #111827;
  --muted: #5b6474;
  --line: rgba(15, 23, 42, 0.10);
  --accent: #2563eb;
  --accent-2: #f97316;
  --accent-3: #0f172a;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  --radius: 26px;
  --radius-sm: 18px;
  --wrap: min(1120px, calc(100% - 32px));
  --display: "Arial Black", "Segoe UI", sans-serif;
  --body: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 16%, transparent), transparent 26%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
}

body.page-alt {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 26%),
    linear-gradient(180deg, var(--bg-alt) 0%, #ffffff 100%);
}

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

.wrap { width: var(--wrap); margin: 0 auto; }

.site-header { padding: 28px 0 34px; }
.site-header.compact { padding-bottom: 28px; }

.topbar, .footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav, .footer-links, .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}

.hero, .panel, .article-card, .checklist, .card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  margin-top: 28px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface);
}

.compact-hero { margin-top: 22px; }

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.08;
}

h1 { font-size: clamp(2.3rem, 6vw, 4.7rem); max-width: 11ch; }
h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); margin-bottom: 12px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }

p { margin: 0; }
.lead, .section-head p, .card p, .panel p, .article-card p, .check, .site-footer p { color: var(--muted); }

.button {
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: transparent;
}

.section { padding: 18px 0 36px; }
.section-head { max-width: 760px; margin-bottom: 22px; }

.card-grid, .split, .article-grid, .checklist-layout {
  display: grid;
  gap: 18px;
}

.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checklist-layout { grid-template-columns: 0.8fr 1.2fr; align-items: start; }

.card, .panel, .article-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
}

.highlight {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, #ffffff), #ffffff);
}

.checklist {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  gap: 12px;
}

.check {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #ffffff;
}

.site-footer { padding: 18px 0 34px; }
.footer-layout { border-top: 1px solid var(--line); padding-top: 16px; }

@media (max-width: 960px) {
  .card-grid, .split, .article-grid, .checklist-layout, .footer-layout {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 680px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .hero, .card, .panel, .article-card, .checklist { padding: 20px; }
  .nav a, .button { width: 100%; text-align: center; }
}
