/* Swahili for Life — homepage (mockup replica) */
:root {
  --sfl-navy: #0b1f4d;
  --sfl-blue: #1f4fd8;
  --sfl-blue-bright: #2f6bff;
  --sfl-ink: #14213d;
  --sfl-muted: #5b6b86;
  --sfl-line: #e6ebf5;
  --sfl-bg: #ffffff;
  --sfl-soft: #f5f7fc;
  --sfl-gold: #f5c542;
  --sfl-radius: 18px;
  --sfl-shadow: 0 14px 40px rgba(11, 31, 77, 0.10);
}

.sfl-home, .sfl-get-started {
  color: var(--sfl-ink);
  background: var(--sfl-bg);
  overflow-x: hidden;
  width: 100%;
  max-width: none;
}

.sfl-home > section,
.sfl-home > header,
.sfl-home > footer {
  width: 100%;
}

.sfl-container {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.sfl-hero .sfl-container {
  width: min(1200px, calc(100% - 2.5rem));
}

.sfl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 0;
  border-radius: 12px;
  padding: .9rem 1.35rem;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.sfl-btn:hover,
.sfl-btn:focus,
.sfl-btn:visited,
.sfl-btn:active {
  text-decoration: none !important;
}
.sfl-btn:hover { transform: translateY(-1px); }
.sfl-btn-primary {
  background: var(--sfl-blue-bright);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(47, 107, 255, .28);
  text-decoration: none !important;
}
.sfl-btn-dark {
  background: var(--sfl-navy);
  color: #fff !important;
  width: 100%;
}
.sfl-btn-block { width: 100%; }

/* NAV styles live in site-header.css (shared guest + auth header) */

/* HERO */
.sfl-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  /* Natural height from content — do not force full viewport */
  min-height: 0;
}

.sfl-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  /* Keep photo sharp — no filters */
  filter: none;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.sfl-hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.sfl-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Pure color fade only — no backdrop-filter (that was blurring the photo) */
  /* Very slightly lighter blue haze than prior */
  background:
    linear-gradient(
      90deg,
      rgba(12, 32, 86, 0.90) 0%,
      rgba(14, 40, 104, 0.80) 30%,
      rgba(22, 54, 128, 0.43) 55%,
      rgba(24, 60, 138, 0.11) 75%,
      rgba(24, 60, 138, 0) 100%
    );
}

.sfl-hero-grid {
  position: relative;
  z-index: 2;
  display: block;
  padding: 5rem 0 4.25rem;
  width: min(1200px, calc(100% - 2.5rem));
}

.sfl-hero-copy {
  max-width: min(760px, 100%);
  padding-right: 1rem;
}

.sfl-hero-copy h1 {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 1.35rem;
  font-weight: 700;
  max-width: 18ch;
  text-wrap: balance;
}

.sfl-hero-copy p {
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  max-width: 42rem;
  margin: 0 0 1.6rem;
}

.sfl-hero .sfl-btn-primary {
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: #2f6bff;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.28);
  text-decoration: none !important;
}

.sfl-btn-arrow {
  font-weight: 400;
  margin-left: 0.15rem;
}

.sfl-hero-divider {
  width: min(100%, 520px);
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin: 1.65rem 0 1.35rem;
}

.sfl-hero-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  font-weight: 500;
}

.sfl-hero-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sfl-perk-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #1f4fd8;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.sfl-perk-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

/* STATS — overlapping bridge card */
.sfl-stats-wrap {
  position: relative;
  z-index: 6;
  margin-top: -2.75rem;
  margin-bottom: -2.75rem;
  padding: 0 1.25rem;
}

.sfl-stats-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8eef8;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(11, 31, 77, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 1.05rem 0.5rem;
}

.sfl-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.4rem 1rem;
  border-right: 1px solid #e6ebf5;
}

.sfl-stat:last-child {
  border-right: 0;
}

.sfl-stat i {
  /* Match combined height of strong + label; sized at 75% of prior */
  width: 2.14rem;
  height: 2.14rem;
  border-radius: 0;
  background: transparent;
  color: #0a2a7a;
  font-size: 2.14rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sfl-stat .fa-play {
  width: 2.14rem;
  height: 2.14rem;
  border-radius: 6px;
  border: 2px solid #0a2a7a;
  display: inline-grid;
  place-items: center;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.sfl-stat strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.15;
  color: #0a2a7a;
}

.sfl-stat span {
  display: block;
  color: #8b95a8;
  font-size: 0.71rem;
  font-weight: 400;
  margin-top: 0.08rem;
}

.sfl-stat .sfl-stat-emphasis {
  color: #0a2a7a;
  font-weight: 600;
  font-size: 0.86rem;
  margin-top: 0.04rem;
}

/* TEACHER */
.sfl-teacher {
  padding: 6.5rem 0 4.5rem;
  background: var(--sfl-soft);
}
.sfl-teacher-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}
.sfl-video-card {
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sfl-shadow);
  position: relative;
}
.sfl-video-card video { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
.sfl-video-meta {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(0,0,0,.65);
  color: #fff;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .82rem;
}
.sfl-script {
  font-size: 1.45rem;
  color: #8a6a3b;
  margin: 1rem 0 0;
}
.sfl-script-accent { color: #9a7340; }
.sfl-teacher-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 1rem;
  color: var(--sfl-navy);
}
.sfl-teacher-copy > p { color: var(--sfl-muted); line-height: 1.7; margin: 0 0 1.4rem; }
.sfl-mini-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
  margin-bottom: 1.5rem;
}
.sfl-mini-features div {
  background: #fff;
  border: 1px solid var(--sfl-line);
  border-radius: 14px;
  padding: .9rem;
}
.sfl-mini-features i { color: var(--sfl-blue); margin-bottom: .4rem; display: block; }
.sfl-mini-features strong { display: block; font-size: .92rem; margin-bottom: .2rem; }
.sfl-mini-features span { color: var(--sfl-muted); font-size: .8rem; }

/* EXPERIENCE */
.sfl-experience { padding: 4.5rem 0; }
.sfl-section-head { text-align: center; margin-bottom: 2rem; }
.sfl-section-head h2 {
  margin: 0;
  color: var(--sfl-navy);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.sfl-experience-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: center;
}
.sfl-feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.sfl-card {
  background: #fff;
  border: 1px solid var(--sfl-line);
  border-radius: var(--sfl-radius);
  padding: 1.2rem;
  box-shadow: var(--sfl-shadow);
}
.sfl-card i {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: #eef3ff; color: var(--sfl-blue); margin-bottom: .7rem;
}
.sfl-card h3 { margin: 0 0 .35rem; font-size: 1rem; color: var(--sfl-navy); }
.sfl-card p { margin: 0; color: var(--sfl-muted); font-size: .9rem; line-height: 1.5; }
.sfl-device-shot img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--sfl-shadow);
  display: block;
}

/* HOW */
.sfl-how {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0;
  color: #fff;
  text-align: center;
  background: transparent;
}

.sfl-how::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  /* Anchor lower on the photo so tree silhouettes sit in-frame */
  background: var(--sfl-how-image) center 78% / cover no-repeat;
}

.sfl-how::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Light blue haze — cool site theme, not purple */
  background: linear-gradient(
    180deg,
    rgba(120, 175, 230, 0.28) 0%,
    rgba(70, 130, 200, 0.34) 45%,
    rgba(30, 80, 160, 0.40) 100%
  );
}

.sfl-how > .sfl-container {
  position: relative;
  z-index: 1;
}
.sfl-how h2 { margin: 0 0 .4rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.sfl-how .sfl-script { color: rgba(255,255,255,.88); }
.sfl-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.sfl-step {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 1.3rem 1.1rem;
  width: min(240px, 100%);
}
.sfl-step span {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto .7rem;
  background: var(--sfl-blue-bright);
  font-weight: 700;
}
.sfl-step h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.sfl-step p { margin: 0; color: rgba(255,255,255,.8); font-size: .9rem; }
.sfl-step-arrow { display: grid; place-items: center; color: rgba(255,255,255,.55); }

/* PLANS */
.sfl-plans { padding: 4.5rem 0; background: var(--sfl-soft); }
.sfl-plans .sfl-section-head p { color: var(--sfl-muted); margin: .7rem 0 0; }
.sfl-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.sfl-plan-card {
  background: #fff;
  border: 1px solid var(--sfl-line);
  border-radius: 22px;
  padding: 1.5rem 1.3rem 1.3rem;
  box-shadow: var(--sfl-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sfl-plan-card.is-popular {
  border: 2px solid var(--sfl-blue);
  transform: translateY(-6px);
}
.sfl-popular-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--sfl-gold);
  color: #3b2a00;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.sfl-plan-card h3 { margin: .4rem 0 0; color: var(--sfl-navy); font-size: 1.25rem; }
.sfl-plan-card ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.sfl-plan-card li {
  display: flex; gap: .55rem; align-items: flex-start;
  color: var(--sfl-muted); font-size: .92rem; margin-bottom: .55rem; line-height: 1.4;
}
.sfl-plan-card li i { color: #1f9d62; margin-top: .2rem; }
.sfl-plan-price strong { display: block; color: #1f9d62; margin-bottom: .25rem; }
.sfl-strike { color: #8a96ab; text-decoration: line-through; font-size: .86rem; }

/* TESTIMONIALS */
.sfl-testimonials { padding: 4rem 0; text-align: center; }
.sfl-testimonials h2 { color: var(--sfl-navy); margin: 0 0 1.5rem; }
.sfl-testimonials-empty {
  margin: 0;
  color: var(--sfl-muted);
  font-size: 1rem;
}
.sfl-testimonial-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
}
.sfl-testimonial-viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}
.sfl-testimonial-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  transition: transform 0.35s ease;
  will-change: transform;
}
.sfl-quote {
  margin: 0;
  background: linear-gradient(180deg, #eef4ff, #fff);
  border-radius: 18px;
  padding: 1.4rem 1rem;
  border: 1px solid var(--sfl-line);
  box-sizing: border-box;
  flex: 0 0 calc((100% - 2rem) / 3);
  max-width: calc((100% - 2rem) / 3);
}
.sfl-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto .8rem;
  background: var(--sfl-navy); color: #fff;
  display: grid; place-items: center; font-size: 1.2rem;
}
.sfl-quote blockquote {
  margin: 0 0 .7rem;
  font-style: italic;
  color: var(--sfl-ink);
  line-height: 1.5;
}
.sfl-quote figcaption { font-weight: 700; color: var(--sfl-navy); }
.sfl-slider-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--sfl-line);
  background: #fff; color: var(--sfl-navy); cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.sfl-slider-btn:hover:not(:disabled) {
  border-color: var(--sfl-blue);
  color: var(--sfl-blue);
}
.sfl-slider-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* FINAL CTA */
.sfl-final-cta {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8,18,48,.55), rgba(8,18,48,.72)),
    var(--sfl-cta-image) center/cover no-repeat;
  padding: 4rem 1rem;
}
.sfl-final-inner h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 1.2rem;
}
.sfl-final-inner .sfl-script { color: rgba(255,255,255,.9); margin-top: 1rem; }

/* FOOTER styles live in site-footer.css (shared sitewide) */

/* GET STARTED */
.sfl-get-started {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
  background: linear-gradient(180deg, #eef3ff, #fff 40%);
}
.sfl-gs-card {
  width: min(920px, 100%);
  background: #fff;
  border: 1px solid var(--sfl-line);
  border-radius: 24px;
  box-shadow: var(--sfl-shadow);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.5rem;
}
.sfl-selected-plan {
  background: var(--sfl-soft);
  border-radius: 18px;
  padding: 1.2rem;
}
.sfl-selected-label { margin: 0; color: var(--sfl-muted); font-size: .9rem; }
.sfl-selected-plan h2 { margin: .2rem 0 .4rem; color: var(--sfl-navy); }
.sfl-selected-price { color: #1f9d62; font-weight: 700; margin: 0 0 .8rem; }
.sfl-selected-plan ul { list-style: none; padding: 0; margin: 0; }
.sfl-selected-plan li { display: flex; gap: .5rem; margin-bottom: .45rem; color: var(--sfl-muted); font-size: .92rem; }
.sfl-selected-plan li i { color: #1f9d62; }
.sfl-gs-forms h3 { margin: 0 0 1rem; color: var(--sfl-navy); }
.sfl-auth-form { display: grid; gap: .75rem; }
.sfl-auth-form label { display: grid; gap: .3rem; font-size: .88rem; color: var(--sfl-muted); font-weight: 500; }
.sfl-auth-form input {
  border: 1px solid var(--sfl-line);
  border-radius: 10px;
  padding: .75rem .85rem;
  font: inherit;
  color: var(--sfl-ink);
}
.sfl-switch { margin: 1rem 0 0; color: var(--sfl-muted); font-size: .92rem; }
.sfl-switch a { color: var(--sfl-blue); font-weight: 600; }
.sfl-alert { border-radius: 10px; padding: .7rem .85rem; margin: 0 0 .8rem; }
.sfl-alert-error { background: #ffe8e8; color: #9b1c1c; }

/* Responsive — tablet/phone hero + stats match mobile mockup; desktop unchanged above */
@media (max-width: 960px) {
  .sfl-teacher-grid,
  .sfl-experience-grid,
  .sfl-plan-grid,
  .sfl-gs-card {
    grid-template-columns: 1fr;
  }
  .sfl-quote {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Stats: 3 equal columns (mockup). Hide 4th worldwide item on small screens. */
  .sfl-stats-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1rem 0.25rem;
    border-radius: 14px;
  }
  .sfl-stat:nth-child(4) {
    display: none;
  }
  .sfl-stat {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.25rem;
    border-right: 1px solid #e6ebf5;
    border-bottom: 0;
  }
  .sfl-stat:nth-child(3) {
    border-right: 0;
  }
  .sfl-stat:nth-child(1),
  .sfl-stat:nth-child(2) {
    border-bottom: 0;
  }
  .sfl-stat i {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 1.55rem;
  }
  .sfl-stat .fa-play {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.7rem;
    border-width: 1.5px;
    border-radius: 5px;
  }
  .sfl-stat strong {
    font-size: 0.98rem;
  }
  .sfl-stat span {
    font-size: 0.68rem;
  }
  .sfl-stats-wrap {
    margin-top: -1.75rem;
    margin-bottom: -1.75rem;
    padding: 0 1rem;
  }
  .sfl-teacher {
    padding-top: 5.25rem;
  }

  /* Hero mobile: full photo + soft navy fade (mockup). No hard vertical edge. */
  .sfl-hero {
    background: #0b1f4d;
    min-height: min(72vh, 640px);
    align-items: flex-start;
  }
  .sfl-hero-bg {
    object-fit: cover;
    object-position: 78% 32%;
    width: 100%;
    height: 100%;
  }
  .sfl-hero-overlay {
    /* Soft continuous fade — no hard vertical cut */
    background: linear-gradient(
      90deg,
      rgba(11, 31, 77, 0.97) 0%,
      rgba(11, 31, 77, 0.94) 10%,
      rgba(11, 31, 77, 0.88) 20%,
      rgba(11, 31, 77, 0.78) 30%,
      rgba(11, 31, 77, 0.62) 40%,
      rgba(11, 31, 77, 0.42) 50%,
      rgba(11, 31, 77, 0.24) 60%,
      rgba(11, 31, 77, 0.10) 70%,
      rgba(11, 31, 77, 0.03) 80%,
      rgba(11, 31, 77, 0) 90%
    );
  }
  .sfl-hero-grid {
    padding: 2.15rem 0 3.5rem;
    width: min(1200px, calc(100% - 2rem));
  }
  .sfl-hero-copy {
    padding-right: 0;
    max-width: min(17.5rem, 58%);
  }
  .sfl-hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(1.65rem, 6.2vw, 2.05rem);
    line-height: 1.2;
    margin: 0 0 0.95rem;
  }
  .sfl-hero-copy p {
    max-width: 28ch;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.94);
  }
  .sfl-hero .sfl-btn-primary {
    width: auto;
    max-width: 100%;
    border-radius: 999px;
    padding: 0.9rem 1.35rem;
    font-size: 0.95rem;
  }
  .sfl-hero-divider {
    display: none;
  }
  .sfl-hero-perks {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.35rem;
    font-size: 0.9rem;
  }
  .sfl-perk-icon {
    width: 20px;
    height: 20px;
    background: #fff;
    color: #2f6bff;
  }
  .sfl-perk-icon svg {
    width: 11px;
    height: 11px;
  }
  .sfl-plan-card.is-popular { transform: none; }
  .sfl-mini-features { grid-template-columns: 1fr; }
  .sfl-step-arrow { display: none; }
  .sfl-experience,
  .sfl-plans,
  .sfl-teacher {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .sfl-stats-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.9rem 0.15rem;
  }
  .sfl-stat {
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.45rem 0.15rem;
    border-right: 1px solid #e6ebf5;
    border-bottom: 0 !important;
  }
  .sfl-stat:nth-child(3) {
    border-right: 0 !important;
  }
  .sfl-stat:last-child {
    border-bottom: 0;
  }
  .sfl-stat i {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 1.35rem;
  }
  .sfl-stat .fa-play {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.62rem;
  }
  .sfl-stat strong {
    font-size: 0.92rem;
  }
  .sfl-stat span {
    font-size: 0.62rem;
    line-height: 1.25;
  }
  .sfl-stats-wrap {
    padding: 0 0.85rem;
    margin-top: -1.5rem;
    margin-bottom: -1.5rem;
  }
  .sfl-hero {
    min-height: min(74vh, 620px);
  }
  .sfl-hero-bg {
    object-position: 78% 30%;
  }
  .sfl-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(11, 31, 77, 0.97) 0%,
      rgba(11, 31, 77, 0.94) 10%,
      rgba(11, 31, 77, 0.88) 20%,
      rgba(11, 31, 77, 0.78) 30%,
      rgba(11, 31, 77, 0.62) 40%,
      rgba(11, 31, 77, 0.42) 50%,
      rgba(11, 31, 77, 0.24) 60%,
      rgba(11, 31, 77, 0.10) 70%,
      rgba(11, 31, 77, 0.03) 80%,
      rgba(11, 31, 77, 0) 90%
    );
  }
  .sfl-hero-grid {
    padding: 1.65rem 0 3.25rem;
    width: min(1200px, calc(100% - 1.5rem));
  }
  .sfl-hero-copy {
    max-width: min(17rem, 58%);
  }
  .sfl-hero-copy h1 {
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
    max-width: 13ch;
  }
  .sfl-hero-copy p {
    font-size: 0.88rem;
    max-width: 28ch;
  }
  .sfl-hero .sfl-btn-primary {
    width: auto;
    display: inline-flex;
  }
  .sfl-plan-card .sfl-btn,
  .sfl-teacher-copy .sfl-btn,
  .sfl-cta-banner .sfl-btn,
  .sfl-gs-card .sfl-btn {
    width: 100%;
  }
  .sfl-plan-card,
  .sfl-teacher-card,
  .sfl-feature-card {
    max-width: 100%;
  }
}
