:root {
  --navy: #082b55;
  --navy-900: #041c38;
  --navy-2: #0b2d52;
  --blue-soft: #eef5fa;
  --gold: #f5b800;
  --gold-2: #f6b817;
  --gold-soft: #fff6d8;
  --bg: #eef5fa;
  --surface: #ffffff;
  --ink: #142033;
  --muted: #5f6d7f;
  --line: #d9e3ee;
  --success: #1f8a70;
  --danger: #b33939;
  --shadow: 0 16px 42px rgba(8, 43, 85, 0.1);
  --shadow-strong: 0 18px 46px rgba(8, 43, 85, 0.12);
  --shadow-soft: 0 10px 28px rgba(8, 43, 85, 0.07);
  --radius: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 460px),
    var(--bg);
  color: var(--ink);
  font-family: "Heebo", "Assistant", "Rubik", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(220, 228, 238, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(9, 38, 74, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-logo,
.hero-logo {
  display: block;
  object-fit: contain;
}

.brand-logo {
  width: 54px;
  height: 42px;
}

.brand-logo.missing,
.hero-logo.missing {
  display: none;
}

.brand-fallback {
  display: none;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #ffe18a);
  font-weight: 800;
}

.brand-logo.missing + .brand-fallback {
  display: grid;
}

.top-nav {
  display: none;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.top-nav a {
  padding: 8px 0;
}

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

.top-nav a,
.header-cta {
  text-decoration: none;
}

.header-cta {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 10px 24px rgba(9, 38, 74, 0.18);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero {
  display: grid;
  gap: 18px;
  padding: 22px 14px 30px;
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 182, 50, 0.28), transparent 26%),
    radial-gradient(circle at 12% 18%, rgba(18, 58, 103, 0.12), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, #eef5fc 58%, #e8f0f8 100%);
}

.hero > * {
  min-width: 0;
}

.hero-copy,
.lead-card,
.content-card,
.highlight-box,
.portal-visual,
.final-cta,
details,
.process-grid article {
  border: 1px solid rgba(220, 228, 238, 0.9);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy,
.lead-card {
  border-color: rgba(8, 43, 85, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(251, 253, 255, 0.98) 100%),
    linear-gradient(135deg, rgba(245, 184, 0, 0.1), rgba(8, 43, 85, 0.035));
  box-shadow: var(--shadow-strong);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 24px 22px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 120px;
  height: 120px;
  border-radius: 0 0 120px 0;
  background: linear-gradient(135deg, rgba(242, 182, 50, 0.32), rgba(242, 182, 50, 0));
  pointer-events: none;
}

.hero-copy::after,
.lead-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
}

.hero-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-logo {
  width: min(176px, 48vw);
  max-height: 70px;
  filter: drop-shadow(0 8px 16px rgba(8, 43, 85, 0.1));
}

.hero-logo-fallback {
  display: none;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-logo.missing + .hero-logo-fallback {
  display: inline;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--navy-2);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(32px, 10vw, 44px);
  line-height: 1.12;
  font-weight: 800;
}

h2 {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 700;
}

h3 {
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 700;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: #26384f;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.72;
}

.hero-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.hero-points span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(242, 182, 50, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 245, 216, 0.82);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(9, 38, 74, 0.06);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-2));
  box-shadow: 0 12px 26px rgba(8, 43, 85, 0.2);
}

.button.primary:hover,
.header-cta:hover {
  background: #061a34;
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--navy);
  border-color: rgba(9, 38, 74, 0.35);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(9, 38, 74, 0.08);
}

.button.ghost {
  color: var(--navy);
  border-color: transparent;
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(245, 184, 0, 0.3);
}

.button.ghost:hover {
  background: #ffefbd;
  transform: translateY(-1px);
}

.button.secondary:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.small-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.lead-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
}

.form-head {
  position: relative;
  z-index: 1;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.form-head h2 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: clamp(24px, 4vw, 32px);
}

.form-head p {
  margin-bottom: 8px;
  color: var(--muted);
}

.form-trust {
  padding: 10px 12px;
  border: 1px solid rgba(245, 184, 0, 0.3);
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
}

.step-indicator {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.step-indicator span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-weight: 700;
}

.step-indicator span.active,
.step-indicator span.complete {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.step-indicator span.complete {
  border-color: rgba(245, 184, 0, 0.75);
  background: var(--gold);
  color: var(--navy);
}

label,
fieldset {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
}

fieldset {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

legend {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cad7e6;
  border-radius: var(--radius-sm);
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

input:focus,
select:focus {
  outline: 3px solid rgba(245, 184, 0, 0.24);
  border-color: var(--navy);
  box-shadow: 0 0 0 1px rgba(8, 43, 85, 0.05);
}

.check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-weight: 700;
}

.check input {
  width: 18px;
  min-height: 18px;
}

.form-step,
.conditional-group,
.hidden {
  display: none;
}

.form-step.active,
.conditional-group.active {
  display: block;
}

.form-error {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--danger);
  font-weight: 600;
}

.thank-you {
  padding: 14px;
  border: 1px solid rgba(31, 138, 112, 0.28);
  border-radius: var(--radius);
  background: rgba(31, 138, 112, 0.08);
}

.section {
  padding: 44px 14px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.audience-grid,
.process-grid {
  display: grid;
  gap: 12px;
}

.content-card,
.highlight-box {
  padding: 22px;
}

.content-card {
  box-shadow: var(--shadow-soft);
}

.content-card,
.highlight-box,
details,
.process-grid article {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.content-card:hover,
.highlight-box:hover,
.process-grid article:hover {
  border-color: rgba(242, 182, 50, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.split {
  display: grid;
  gap: 18px;
  background: #fff;
}

.highlight-box {
  border-color: rgba(242, 182, 50, 0.55);
  background: linear-gradient(180deg, #fff, var(--gold-soft));
}

.process-grid article {
  position: relative;
  padding: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.process-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(242, 182, 50, 0));
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 10px 20px rgba(242, 182, 50, 0.28);
  font-weight: 700;
}

.portal-section {
  display: grid;
  gap: 20px;
  background:
    radial-gradient(circle at 14% 18%, rgba(242, 182, 50, 0.22), transparent 28%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 48%, #0e335e 100%);
  color: #fff;
}

.portal-section h2,
.portal-section h3,
.portal-section .eyebrow {
  color: #fff;
}

.portal-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.check-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.check-list li {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 3px 0 0 rgba(242, 182, 50, 0.7);
}

.portal-visual {
  position: relative;
  overflow: hidden;
  padding: 0 0 18px;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96)),
    var(--blue-soft);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.portal-visual::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
}

.portal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 18px 16px;
  color: #fff;
  border-bottom: 4px solid var(--gold);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-2));
}

.portal-top strong,
.portal-top small {
  display: block;
}

.portal-top small {
  color: rgba(255, 255, 255, 0.78);
}

.portal-top img {
  width: 78px;
  max-height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.portal-top img.missing {
  display: none;
}

.portal-alert {
  margin: 16px 18px 0;
  padding: 12px;
  border: 1px solid rgba(31, 138, 112, 0.25);
  border-radius: var(--radius);
  background: #e8f6ee;
  color: #1c5a4a;
  text-align: center;
}

.portal-alert strong,
.portal-alert span {
  display: block;
}

.portal-alert span {
  font-size: 0.88rem;
}

.portal-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 18px;
}

.portal-summary div {
  padding: 12px;
  border: 1px solid rgba(220, 228, 238, 0.9);
  border-radius: var(--radius);
  background: #fff;
}

.portal-summary small,
.portal-summary strong {
  display: block;
}

.portal-summary small {
  color: var(--muted);
}

.portal-summary strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.portal-rings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 18px 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.ring {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 0 auto;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
}

.ring.gold {
  color: var(--navy);
  background:
    radial-gradient(circle closest-side, #fff 67%, transparent 68%),
    conic-gradient(var(--gold) 0 90%, #e7edf5 90% 100%);
}

.ring.blue {
  color: var(--navy);
  background:
    radial-gradient(circle closest-side, #fff 67%, transparent 68%),
    conic-gradient(var(--navy-2) 0 86%, #e7edf5 86% 100%);
}

.status-grid {
  display: grid;
  gap: 10px;
  margin: 0 18px;
}

.status-grid div {
  position: relative;
  padding: 13px 13px 13px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.status-grid div::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.status-grid b,
.status-grid em {
  display: block;
}

.status-grid em {
  color: var(--muted);
  font-style: normal;
}

.portal-activity {
  display: flex;
  gap: 10px;
  align-items: start;
  margin: 12px 18px 0;
  padding: 12px;
  border: 1px solid rgba(242, 182, 50, 0.36);
  border-radius: var(--radius);
  background: var(--gold-soft);
}

.portal-activity span {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(242, 182, 50, 0.18);
}

.portal-activity p {
  margin: 0;
  color: #35455b;
  font-size: 0.92rem;
}

.portal-note {
  margin: 14px 18px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.faq {
  background: #fff;
}

details {
  padding: 16px 18px;
  margin-bottom: 10px;
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.final-cta {
  margin: 28px 16px;
  padding: 26px 22px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 182, 50, 0.28), transparent 34%),
    linear-gradient(135deg, #fff, var(--gold-soft));
  box-shadow: var(--shadow-strong);
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 22px 16px;
  color: #fff;
  background: var(--navy);
}

.site-footer a {
  color: #fff;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    align-items: stretch;
    gap: 20px;
    padding: 48px 28px 42px;
  }

  .hero-points,
  .audience-grid,
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section,
  .split,
  .portal-section {
    padding: 62px 28px;
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .process-grid article:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    top: 34px;
    left: -16px;
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, rgba(242, 182, 50, 0.4), rgba(9, 38, 74, 0.14));
  }

  .split,
  .portal-section {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    align-items: center;
  }
}

@media (min-width: 980px) {
  .top-nav {
    display: flex;
  }

  .section,
  .split,
  .portal-section,
  .hero {
    padding-right: max(28px, calc((100vw - 1180px) / 2));
    padding-left: max(28px, calc((100vw - 1180px) / 2));
  }

  .hero-copy {
    padding: 38px;
    min-height: 100%;
  }

  .lead-card {
    padding: 28px;
    min-height: 100%;
  }

  h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.1;
  }
}

@media (max-width: 759px) {
  .brand span:last-child {
    display: none;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 12px;
  }

  .brand-logo {
    width: 48px;
    height: 38px;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  .hero-actions .button,
  .form-actions .button,
  .final-actions .button {
    width: 100%;
  }

  .hero-copy,
  .lead-card,
  .final-cta {
    border-radius: var(--radius);
  }

  .hero-logo {
    width: min(148px, 44vw);
  }
}
