/* TutorLancers front page — nursing products primary model */
.tl-home {
  --tl-ink: #0f2747;
  --tl-muted: #5b6b7c;
  --tl-blue: #0b3d91;
  --tl-blue-2: #1557c0;
  --tl-teal: #0e8f7a;
  --tl-warm: #c45c26;
  --tl-line: #d7e2ef;
  --tl-paper: #f4f7fb;
  --tl-font: "Sora", "Lato", sans-serif;
  --tl-display: "Fraunces", Georgia, serif;
  color: var(--tl-ink);
  font-family: var(--tl-font);
  background: var(--tl-paper);
}

.tl-home h1,
.tl-home h2,
.tl-home h3 {
  font-family: var(--tl-display);
  letter-spacing: -0.02em;
  color: var(--tl-ink);
}

.tl-wrap {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.tl-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(11, 61, 145, 0.92) 0%, rgba(14, 143, 122, 0.78) 55%, rgba(15, 39, 71, 0.88) 100%),
    radial-gradient(800px 420px at 85% 15%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #0b3d91, #0e8f7a);
}

.tl-hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12), transparent 35%),
    radial-gradient(circle at 70% 30%, rgba(196, 92, 38, 0.18), transparent 40%);
  pointer-events: none;
  animation: tl-drift 14s ease-in-out infinite alternate;
}

@keyframes tl-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
}

.tl-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
  max-width: 42rem;
}

.tl-hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--tl-font);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tl-hero__title {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(1.85rem, 4.6vw, 3.15rem);
  line-height: 1.12;
  font-weight: 700;
}

.tl-hero__lede {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34rem;
}

.tl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--tl-font);
  font-weight: 700;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.tl-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.tl-btn--primary {
  background: #fff;
  color: var(--tl-blue);
  border-color: #fff;
}

.tl-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.tl-btn--block {
  width: 100%;
}

.tl-section {
  padding: 3.5rem 0;
}

.tl-section__head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.tl-section__head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.tl-section__head p {
  margin: 0;
  color: var(--tl-muted);
}

.tl-tracks {
  background: #fff;
}

.tl-tracks__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tl-track {
  padding: 1.1rem 0;
  border-top: 2px solid var(--tl-teal);
}

.tl-track h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.tl-track p {
  margin: 0;
  color: var(--tl-muted);
  font-size: 0.95rem;
}

.tl-products {
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(11, 61, 145, 0.08), transparent 55%),
    var(--tl-paper);
}

.tl-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.tl-product {
  position: relative;
  background: #fff;
  border: 1px solid var(--tl-line);
  padding: 1.2rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  animation: tl-rise 0.6s ease both;
}

.tl-product:nth-child(2) { animation-delay: 0.06s; }
.tl-product:nth-child(3) { animation-delay: 0.12s; }
.tl-product:nth-child(4) { animation-delay: 0.18s; }

@keyframes tl-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tl-product.is-featured {
  border-color: var(--tl-blue);
  box-shadow: 0 16px 36px rgba(15, 39, 71, 0.08);
}

.tl-product__badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--tl-warm);
  padding: 0.22rem 0.4rem;
}

.tl-product h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.tl-product__tag {
  margin: 0 0 0.85rem;
  color: var(--tl-muted);
  font-size: 0.9rem;
}

.tl-product__price {
  margin: 0 0 1rem;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tl-product__price span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tl-muted);
}

.tl-product .tl-btn--primary {
  margin-top: auto;
  background: var(--tl-blue);
  color: #fff;
  border-color: var(--tl-blue);
}

.tl-products__all {
  margin: 1.25rem 0 0;
}

.tl-products__all a {
  color: var(--tl-teal);
  font-weight: 700;
  text-decoration: none;
}

.tl-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tl-steps__list li {
  background: #fff;
  border: 1px solid var(--tl-line);
  padding: 1.1rem;
}

.tl-steps__list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: rgba(14, 143, 122, 0.12);
  color: var(--tl-teal);
  font-weight: 800;
  font-size: 0.85rem;
}

.tl-steps__list strong {
  display: block;
  font-family: var(--tl-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.tl-steps__list em {
  color: var(--tl-muted);
  font-style: normal;
  font-size: 0.92rem;
}

.tl-secondary {
  padding-top: 0;
}

.tl-secondary__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid var(--tl-line);
}

.tl-secondary h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.tl-secondary p {
  margin: 0;
  color: var(--tl-muted);
}

.tl-secondary .tl-btn--ghost {
  color: var(--tl-ink);
  border-color: var(--tl-line);
}

@media (max-width: 980px) {
  .tl-tracks__grid,
  .tl-products__grid,
  .tl-steps__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .tl-hero {
    min-height: 78vh;
    align-items: center;
  }

  .tl-tracks__grid,
  .tl-products__grid,
  .tl-steps__list {
    grid-template-columns: 1fr;
  }
}
