:root {
  --path-ink: #17263a;
  --path-navy: #071a2c;
  --path-blue: #1f67bf;
  --path-warm: #f4ad22;
  --path-paper: #f7f2e9;
  --path-line: #d8d0c4;
}

.pathway-page {
  overflow-x: hidden;
  color: var(--path-ink);
  background: var(--path-paper);
}

.path-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.path-hero {
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 140px 0 84px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(45, 119, 187, 0.38), transparent 28%),
    linear-gradient(140deg, #061525, #0b2b47 68%, #164d76);
}

.path-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.68fr);
  gap: 70px;
  align-items: center;
}

.path-eyebrow {
  margin: 0 0 15px;
  color: #f8c45d;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.path-eyebrow--dark {
  color: #9b5e00;
}

.path-hero h1,
.path-section h2,
.path-final h2 {
  letter-spacing: -0.055em;
}

.path-hero h1 {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: clamp(3.5rem, 7vw, 6.3rem);
  line-height: 0.93;
}

.path-hero__lead {
  max-width: 720px;
  color: #d7e4ee;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.path-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.path-button,
.path-text-link {
  font-weight: 900;
}

.path-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.path-button--warm {
  color: #231804;
  background: var(--path-warm);
}

.path-button--light {
  color: var(--path-navy);
  background: #fff;
}

.path-button--outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.path-map {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(4, 20, 35, 0.54);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.path-map article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.path-map span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #211704;
  background: var(--path-warm);
  font-weight: 900;
}

.path-map strong,
.path-map small {
  display: block;
}

.path-map small {
  margin-top: 3px;
  color: #b9cad8;
}

.path-section {
  padding: 96px 0;
}

.path-section--white {
  background: #fff;
}

.path-section--blue {
  background: #eaf2f8;
}

.path-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}

.path-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.path-heading > p {
  margin: 0;
  color: #5e6d7d;
  line-height: 1.7;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.offer-card {
  display: grid;
  min-height: 100%;
  align-content: start;
  padding: 30px;
  border: 1px solid var(--path-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(28, 40, 52, 0.08);
}

.offer-card--featured {
  color: #fff;
  background: linear-gradient(145deg, #09223a, #123e63);
}

.offer-card__label {
  margin: 0 0 24px;
  color: #a06408;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.offer-card--featured .offer-card__label {
  color: #f7c45b;
}

.offer-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.offer-card p {
  color: #5e6d7d;
  line-height: 1.68;
}

.offer-card--featured p {
  color: #cbd9e5;
}

.offer-card__price {
  margin: 12px 0 22px;
  color: inherit !important;
  font-size: 1.5rem;
  font-weight: 900;
}

.offer-card .path-button,
.offer-card .path-text-link {
  margin-top: auto;
  justify-self: start;
}

.offer-card .path-button {
  color: #fff;
  background: var(--path-blue);
}

.offer-card--featured .path-button {
  color: #231804;
  background: var(--path-warm);
}

.path-text-link {
  color: #175ba2;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-links a {
  display: grid;
  min-height: 220px;
  align-content: end;
  padding: 26px;
  border: 1px solid #cbd6e0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
}

.resource-links span {
  color: #9a5f06;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-links strong {
  margin-top: 13px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.resource-links small {
  margin-top: 11px;
  color: #627184;
  line-height: 1.55;
}

.path-final {
  padding: 86px 0;
  text-align: center;
  color: #fff;
  background: var(--path-navy);
}

.path-final h2 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.path-final p {
  max-width: 650px;
  margin: 0 auto;
  color: #cbd8e4;
  line-height: 1.7;
}

.path-final .path-actions {
  justify-content: center;
}

.path-footer {
  padding: 30px 0;
  color: #b9c8d5;
  background: #04111e;
}

.path-footer .path-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.path-footer a {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 850px) {
  .path-hero__grid,
  .path-heading {
    grid-template-columns: 1fr;
  }

  .path-map {
    max-width: 620px;
  }

  .resource-links {
    grid-template-columns: 1fr;
  }

  .resource-links a {
    min-height: 180px;
  }
}

@media (max-width: 650px) {
  .path-shell {
    width: calc(100% - 32px);
  }

  .path-hero {
    min-height: auto;
    padding: 126px 0 72px;
  }

  .path-hero h1 {
    font-size: clamp(3.15rem, 16vw, 4.25rem);
  }

  .path-actions,
  .path-actions .path-button {
    width: 100%;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .path-section {
    padding: 74px 0;
  }

  .path-footer .path-shell {
    flex-direction: column;
  }
}
