:root {
  --hg-blue: #00599c;
  --hg-blue-dark: #003f73;
  --hg-blue-soft: #eaf4fb;
  --hg-cyan: #00a3e0;
  --ink: #18202f;
  --muted: #6d7890;
  --surface: #ffffff;
  --page: #f5f9fc;
  --hg-brand-text: #00599c;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(circle at top right, rgba(0, 163, 224, .35), transparent 32rem),
    linear-gradient(135deg, var(--hg-blue-dark), var(--hg-blue));
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  box-shadow: 0 1rem 3rem rgba(0, 63, 115, .22);
}

.text-white-75 {
  color: rgba(255,255,255,.78);
}

.hg-brand-text {
  color: var(--hg-brand-text);
}

/* ── Cards ──────────────────────────────────────────────── */
.brand-card,
.form-card,
.progress-shell,
.thankyou-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0, 89, 156, .09);
  border-radius: 1.25rem;
  box-shadow: 0 .75rem 2rem rgba(0, 63, 115, .08);
}

.brand-card {
  padding: 1.25rem 1.5rem;
}

.form-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--hg-blue-soft);
  color: var(--hg-blue-dark);
  font-weight: 750;
}

/* ── Form elements ──────────────────────────────────────── */
.form-label {
  font-weight: 650;
  color: #2b3548;
}

.form-control,
.form-select {
  border-radius: .85rem;
  border-color: #d7e5ef;
  padding: .75rem .95rem;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--hg-cyan);
  box-shadow: 0 0 0 .25rem rgba(0, 163, 224, .16);
}

/* ── Progress ───────────────────────────────────────────── */
.progress-shell {
  padding: 1rem 1.25rem;
}

.progress {
  height: .7rem;
  border-radius: 999px;
  background: #dcebf4;
}

.progress-bar {
  background: linear-gradient(90deg, var(--hg-blue), var(--hg-cyan));
}

/* ── Checkboxes ─────────────────────────────────────────── */
.feature-check,
.consent-box {
  background: var(--hg-blue-soft);
  border-radius: 1rem;
  border: 1px solid rgba(0, 89, 156, .12);
}

.feature-check,
.consent-box {
  padding: .9rem 1rem .9rem 2.75rem;
}

.form-check-input:checked {
  background-color: var(--hg-blue);
  border-color: var(--hg-blue);
}

/* ── Button ─────────────────────────────────────────────── */
.btn-primary {
  --bs-btn-bg: var(--hg-blue);
  --bs-btn-border-color: var(--hg-blue);
  --bs-btn-hover-bg: var(--hg-blue-dark);
  --bs-btn-hover-border-color: var(--hg-blue-dark);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 .75rem 1.5rem rgba(0, 89, 156, .22);
}

/* ── Thank-you page ─────────────────────────────────────── */
.thankyou-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thankyou-card {
  max-width: 620px;
  text-align: center;
  padding: 3rem;
}

.checkmark {
  width: 4rem;
  height: 4rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hg-blue-soft);
  color: var(--hg-blue);
  font-size: 2.2rem;
  font-weight: 800;
}

/* ── Welcome page ───────────────────────────────────────── */
.welcome-icon {
  font-size: 2.5rem;
  line-height: 1;
}

/* Public form – mobile */
@media (max-width: 576px) {
  .hero {
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
  }

  .form-card {
    padding: 1.15rem;
  }
}
