:root {
  --bg: #eff6ff;
  --bg-alt: #ecfeff;
  --surface: rgba(255, 255, 255, 0.86);
  --text: #10233f;
  --muted: #526277;
  --line: rgba(29, 78, 216, 0.12);
  --accent: #1d4ed8;
  --accent-2: #0f766e;
  --shadow: 0 22px 55px rgba(29, 78, 216, 0.12);
  --radius: 26px;
  --radius-sm: 18px;
  --wrap: min(1120px, calc(100% - 32px));
  --display: "Segoe UI", Tahoma, sans-serif;
  --body: "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
}

body.alt-page {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 24%),
    linear-gradient(180deg, var(--bg-alt) 0%, #ffffff 100%);
}

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

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

.hero-area, .subhead { padding: 28px 0 34px; }

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

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

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

.nav a, .btn, .check, .card, .panel, .article {
  border-radius: var(--radius-sm);
}

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

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

.hero-card, .subhero { padding: 34px; border-radius: var(--radius); margin-top: 28px; }
.card, .panel, .article { padding: 24px; }
.checklist { padding: 20px; border-radius: var(--radius); display: grid; gap: 12px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  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.6rem); margin-bottom: 12px; }
h3 { font-size: 1.2rem; margin-bottom: 10px; }

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

.btn { padding: 14px 18px; font-weight: 700; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.btn-ghost { border: 1px solid var(--line); }

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

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

.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panels, .article-grid { 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; }

.panel-band, .checklist-band { padding-top: 8px; }
.accent { background: linear-gradient(180deg, rgba(29, 78, 216, 0.08), #fff); }

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

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

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

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