.formation-page .trading-banner {
  width: min(1120px, calc(100% - 48px));
  height: clamp(220px, 25vw, 340px);
  margin-top: 14px;
  overflow: hidden;
  background: #0b0d0f;
  border-radius: 2px;
}

.formation-page .trading-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.formation-hero h1 {
  max-width: 920px;
}

.formation-hero h1 em {
  color: var(--teal);
  font-style: italic;
}

.formation-format {
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.format-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.format-details article {
  min-height: 220px;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
}

.format-details article:nth-child(2) {
  background: var(--mint);
}

.format-details article:nth-child(3) {
  background: var(--sand);
}

.format-details span,
.fit-grid > article > span {
  color: var(--teal);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.format-details h3 {
  margin: 1.7rem 0 .65rem;
  font-size: 1.35rem;
}

.format-details p,
.curriculum-practice p,
.pilot-offer p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.curriculum-practice {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: var(--navy);
}

.curriculum-practice > div {
  max-width: 920px;
}

.curriculum-practice .eyebrow {
  color: #b9d0cb;
}

.curriculum-practice h3 {
  margin: 0 0 .8rem;
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.curriculum-practice p:not(.eyebrow) {
  color: #ffffffbd;
}

.curriculum-practice p + p {
  margin-top: 1rem;
}

.curriculum-practice .button {
  margin-top: 1.4rem;
}

#selection {
  scroll-margin-top: 88px;
}

#selection > .button {
  align-self: start;
}

.formation-fit {
  background: var(--paper);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fit-grid article {
  padding: clamp(1.3rem, 3vw, 2rem);
  background: #fff;
  border-top: 4px solid var(--teal);
}

.fit-grid .fit-negative {
  background: var(--sand);
  border-color: var(--coral);
}

.fit-grid ul,
.pilot-terms ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.fit-grid li,
.pilot-terms li {
  position: relative;
  padding: .35rem 0 .35rem 1.15rem;
  color: var(--muted);
  font-size: .86rem;
}

.fit-grid li::before,
.pilot-terms li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "→";
}

.fit-negative li::before {
  color: var(--coral);
}

.pilot-offer {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  color: #fff;
  background: var(--navy);
}

.pilot-offer .eyebrow {
  color: #b9d0cb;
}

.pilot-offer h2 {
  margin-bottom: 1.2rem;
}

.pilot-copy > p + p {
  margin-top: 1rem;
}

.pilot-copy > p,
.pilot-terms p {
  color: #ffffffbd;
}

.pilot-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.7rem;
  padding: 1rem 1.1rem;
  background: #2a4652;
  border-left: 4px solid var(--gold);
}

.pilot-price strong {
  color: var(--lime);
  font: 600 1.35rem "IBM Plex Serif", Georgia, serif;
}

.pilot-price span {
  color: #ffffffb8;
  font-size: .78rem;
  text-align: right;
}

.pilot-terms {
  align-self: start;
  padding: 1.5rem;
  color: var(--ink);
  background: #fff;
}

.pilot-terms h3 {
  margin-bottom: .8rem;
  font-size: 1.35rem;
}

.pilot-terms p {
  margin-top: 1rem;
  padding-top: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .76rem;
}

nav a[aria-current="page"] {
  color: var(--teal);
}

@media (max-width: 960px) {
  .format-details,
  .curriculum-practice,
  .fit-grid,
  .pilot-offer {
    grid-template-columns: 1fr;
  }

  .format-details article {
    min-height: 0;
  }

}

@media (max-width: 600px) {
  .formation-page .trading-banner {
    width: auto;
    height: 190px;
    margin: 10px 1.1rem 0;
  }

  .formation-page .trading-banner > img {
    object-position: center 60%;
  }

  .price-detail,
  .pilot-price {
    align-items: flex-start;
    flex-direction: column;
  }

  .pilot-price span {
    text-align: left;
  }

  .curriculum-practice { margin-inline: -1.1rem; }
}
