.tl-home-hero {
  --art-banner-content-max-width: 52rem;
  --art-banner-content-offset-y: clamp(1.25rem, 2.5vw, 2.75rem);
  --art-banner-media-min-width: 110rem;
  --art-banner-lens-bg: rgba(255, 255, 255, 0.13);
  --art-banner-lens-blur: 9px;
  --art-banner-lens-inset: -18% -14%;
  --surface-intro-card-max-width: 52rem;
  --surface-intro-card-padding-y: clamp(1.25rem, 2.5vw, 2rem);
  --surface-intro-card-padding-x: clamp(1.15rem, 3vw, 2.5rem);
  --surface-intro-card-title-size: clamp(2.45rem, 4vw, 3.8rem);
  --surface-intro-card-title-weight: 500;
  --surface-intro-card-gap: 0.7rem;
}

.tl-home-hero > figure :is(img, svg) {
  filter: saturate(0.96) contrast(0.94) brightness(1.03);
}

main .tl-home-hero .actions.special a.button {
  align-items: center;
  justify-content: center;
  height: 3.4rem;
  min-height: 3.4rem;
  line-height: 1.2;
}

.tl-home-banner > figcaption,
.tl-home-platform-graphic > figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tl-home-eyebrow {
  margin: 0 auto 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.tl-hero-equations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.9rem auto 0.2rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

.tl-hero-equations span {
  padding: 0.32rem 0.62rem;
  border: 1px solid rgba(13, 43, 68, 0.16);
  border-radius: 999px;
  background: rgba(246, 252, 255, 0.78);
  color: #0c304b;
  box-shadow: 0 5px 18px rgba(5, 34, 55, 0.07);
}

.tl-home-hero > .content > h1:first-of-type {
  max-width: min(22ch, calc(100vw - 2rem));
  margin: 0 auto 0.6rem;
  letter-spacing: -0.035em;
  line-height: 1.02;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  text-align: center;
}

.tl-home-hero > .content > h1:first-of-type + p {
  max-width: 62ch;
  margin: 0.5rem auto 0;
  opacity: 0.86;
  text-wrap: balance;
  text-align: center;
}

.tl-hero-classroom {
  position: relative;
  width: min(42rem, calc(100vw - 3rem));
  margin: 1.15rem auto 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(12, 48, 75, 0.24);
  border-radius: 1.2rem;
  background: #eaf4f6;
  box-shadow: 0 20px 48px rgba(5, 34, 55, 0.2);
}

.tl-hero-classroom img {
  display: block;
  width: 100%;
  height: clamp(12rem, 22vw, 16rem);
  object-fit: cover;
  object-position: center 48%;
}

.tl-hero-classroom figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.7rem 0.9rem 0.65rem;
  background: linear-gradient(transparent, rgba(3, 21, 32, 0.86));
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.tl-ribbon {
  display: block;
  width: max-content;
  max-width: calc(100vw - 2rem);
  margin: 1.15rem auto 0;
}

.tl-ribbon .ql-link-group__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl-ribbon a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.tl-pathways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin-top: 1.5rem;
}

.tl-pathways .tl-pathway {
  display: block;
  width: 100%;
  min-height: 0;
  max-width: none;
  box-sizing: border-box;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 245, 245, 0.88));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.tl-pathways .tl-pathway h2,
.tl-pathways .tl-pathway h3 {
  margin: 0 0 1.2rem;
  font-size: 2em;
  line-height: 1.32;
}

.tl-pathway-label,
.tl-pathways .ql-card-grid-eyebrow {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.65;
  text-transform: uppercase;
}

.tl-pathways .ql-card-grid-eyebrow span {
  display: inline;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.tl-pathways .ql-card-grid-body > p {
  margin: 0 0 2.16em;
}

.tl-pathways .ql-card-grid-actions {
  gap: 0.85rem;
  margin: 0;
  padding-top: 0;
}

.tl-pathways .ql-card-grid-actions .button {
  flex: 1 1 100%;
}

.tl-platform-band {
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(121, 214, 249, 0.2), transparent 45%),
    radial-gradient(circle at 90% 100%, rgba(169, 244, 180, 0.22), transparent 46%),
    rgba(255, 255, 255, 0.82);
  text-align: center;
}

.tl-platform-band h2 {
  margin-top: 0;
}

.tl-home-subscribe {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 10% 10%, rgba(121, 214, 249, 0.12), transparent 38%),
    radial-gradient(circle at 85% 0%, rgba(169, 244, 180, 0.14), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 245, 245, 0.88));
}

.tl-home-subscribe h2 {
  margin: 0;
}

.tl-home-subscribe p {
  margin: 0;
  opacity: 0.86;
}

#tl-journey-heading {
  margin: 0;
  line-height: 0.98;
}

.tl-journey-steps {
  display: grid;
  gap: 0.9rem;
  margin: 0.75rem 0;
  padding: 0;
  list-style: none;
}

.tl-journey-steps .ql-step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 0 0, rgba(121, 214, 249, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 245, 245, 0.92));
}

.tl-journey-steps .ql-step-no {
  display: inline-flex;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.tl-journey-steps .ql-step-card h3 {
  grid-column: 2;
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.tl-journey-steps .ql-step-body {
  grid-column: 2;
  margin: 0;
  opacity: 0.8;
}

.tl-journey-steps .ql-step-body p {
  margin: 0;
}

@media (max-width: 920px) {
  .tl-pathways {
    grid-template-columns: 1fr;
  }

  main section:has(> .content > .tl-pathways) > .content {
    align-items: stretch;
    width: min(100%, calc(100vw - 2rem));
    max-width: none;
  }
}

@media (max-width: 640px) {
  .tl-home-hero {
    --art-banner-small-min-height: 39rem;
    --art-banner-small-media-min-width: 125rem;
    --surface-intro-card-mobile-max-width: 100%;
    --surface-intro-card-title-size: clamp(2.15rem, 10vw, 2.65rem);
  }

  .tl-home-hero .actions li,
  .tl-home-hero .actions a {
    width: 100%;
  }
}
