.application-hero {
  min-height: 360px;
}

.application-shell {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(34px, 5vw, 62px) clamp(20px, 5vw, 64px);
  background:
    radial-gradient(circle at 88% 8%, rgba(220, 32, 39, 0.11), transparent 22rem),
    linear-gradient(180deg, #101111, #080909);
  border-bottom: 1px solid var(--line);
}

.application-progress,

.application-form {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(7, 8, 8, 0.72);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.application-progress {
  position: sticky;
  top: 140px;
  align-self: start;
  padding: 24px;
}

.stepper {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stepper li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-family: var(--condensed);
  font-size: 16px;
  text-transform: uppercase;
}

.stepper span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #101111;
  color: var(--white);
}

.stepper li.is-active {
  color: var(--white);
}

.stepper li.is-active span,

.stepper li.is-done span {
  border-color: rgba(220, 32, 39, 0.75);
  background: var(--red);
}

.application-form {
  min-height: 620px;
  padding: clamp(22px, 4vw, 44px);
}

.flow-step {
  display: none;
}

.flow-step.is-active {
  display: block;
}

.data-confirmation {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 8px 12px;
  margin-top: 24px;
  color: var(--white);
  font: 16px var(--sans);
}

.data-confirmation input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.data-confirmation .field-error {
  grid-column: 2;
  margin-top: 0;
}

.step-heading {
  margin-bottom: 28px;
}

.step-heading h2 {
  margin: 0 0 12px;
  font-family: var(--condensed);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  text-transform: uppercase;
}

.step-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.plan-grid,

.card-choice-grid,

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-grid.is-single-plan {
  grid-template-columns: minmax(280px, 520px);
}

.select-card,

.summary-card,

.confirmation-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid rgba(220, 32, 39, 0.72);
  border-radius: 5px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(220, 32, 39, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.35);
}

.select-card.is-selected {
  border-color: rgba(220, 32, 39, 0.86);
  box-shadow: 0 0 0 1px rgba(220, 32, 39, 0.42), 0 18px 38px rgba(220, 32, 39, 0.12);
}

.plan-card-image,

.summary-plan-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.select-card h3,

.summary-card h3 {
  margin: 0 0 12px;
  font-family: var(--condensed);
  font-size: 27px;
  text-transform: uppercase;
}

.select-card strong,

.cost-card strong {
  display: block;
  color: var(--white);
  font-family: var(--condensed);
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.select-card h4 {
  margin: 18px 0 8px;
  color: var(--white);
  font-family: var(--condensed);
  font-size: 18px;
  text-transform: uppercase;
}

.select-card p,

.summary-card p,

.confirmation-card p {
  color: rgba(245, 243, 239, 0.82);
  font-size: 16px;
  line-height: 1.55;
}

.select-card .plan-age-note {
  margin: 8px 0 0;
  color: rgba(245, 243, 239, 0.95);
  font-size: 14px;
  font-weight: 700;
}

.select-card ul {
  margin: 18px 0;
  padding-left: 18px;
  color: var(--white);
  line-height: 1.55;
}

.plan-full-benefits {
  margin: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 4px;
}

.plan-full-benefits ul {
  max-height: 260px;
  overflow: auto;
  margin-bottom: 0;
  padding-right: 8px;
}

.plan-summary-card strong {
  color: var(--white);
}

.plan-badge {
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid rgba(220, 32, 39, 0.72);
  border-radius: 4px;
  padding: 6px 10px;
  color: var(--white);
  font-family: var(--condensed);
  text-transform: uppercase;
}
