.sms-home-sections .sms-feature-overview {
  padding: 45px 0 30px;
  border-bottom: 0;
  background: #fffefa;
}

.sms-home-sections .sms-feature-overview .sms-wrap {
  width: min(1460px, calc(100% - 40px));
}

.sms-home-sections .sms-feature-overview__intro {
  margin: 0 0 20px;
}

.sms-home-sections .sms-feature-overview__intro .sms-eyebrow {
  margin-bottom: 7px;
  color: #0758d8;
}

.sms-home-sections .sms-feature-overview__intro h2 {
  font-size: clamp(36px, 4.1vw, 56px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.sms-home-sections .sms-feature-overview__intro > p:last-child {
  max-width: 700px;
  margin-top: 10px;
  color: #354966;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.45;
}

.sms-home-sections .sms-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sms-home-sections .sms-feature-tile {
  --tile-ink: #fff;
  display: flex;
  min-width: 0;
  min-height: 364px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(5 20 44 / 8%);
  border-radius: 15px;
  background: var(--tile-color);
  color: var(--tile-ink);
  box-shadow: 0 5px 11px rgb(18 32 53 / 13%), 0 1px 2px rgb(18 32 53 / 12%);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.sms-home-sections .sms-feature-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgb(18 32 53 / 17%), 0 2px 4px rgb(18 32 53 / 12%);
}

.sms-home-sections .sms-feature-tile:focus-visible {
  outline: 3px solid #075ff0;
  outline-offset: 3px;
}

.sms-home-sections .sms-feature-tile--gaps { --tile-color: #ffc629; --tile-ink: #10203b; }
.sms-home-sections .sms-feature-tile--practice { --tile-color: #075fd4; }
.sms-home-sections .sms-feature-tile--vocabulary { --tile-color: #e65a46; }
.sms-home-sections .sms-feature-tile--grammar { --tile-color: #078e84; }
.sms-home-sections .sms-feature-tile--phonics { --tile-color: #7645c2; }
.sms-home-sections .sms-feature-tile--flashcards { --tile-color: #ba3a70; }
.sms-home-sections .sms-feature-tile--challenge { --tile-color: #b7dcf7; --tile-ink: #10203b; }
.sms-home-sections .sms-feature-tile--exam { --tile-color: #4032a4; }

.sms-home-sections .sms-feature-tile__art {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  height: 177px;
  flex: 0 0 auto;
  place-items: center;
  padding: 8px 12px 16px;
}

.sms-home-sections .sms-feature-tile__art img {
  display: block;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sms-home-sections .sms-feature-tile__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 17px 15px;
}

.sms-home-sections .sms-feature-tile__copy > strong {
  display: block;
  margin: 0 0 4px;
  color: var(--tile-ink);
  font-family: "SMS Sans", system-ui, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.sms-home-sections .sms-feature-tile__copy > span:not(.sms-feature-tile__link) {
  color: var(--tile-ink);
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.35;
}

.sms-home-sections .sms-feature-tile__copy .sms-feature-tile__link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 7px;
  color: var(--tile-ink);
  font-size: 14px;
  font-weight: 750;
}

.sms-home-sections .sms-feature-tile__link > span {
  font-size: 19px;
  line-height: 1;
  transition: transform .18s ease;
}

.sms-home-sections .sms-feature-tile:hover .sms-feature-tile__link > span {
  transform: translateX(3px);
}

.sms-home-sections .sms-feature-overview__foot {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 7px;
  color: #344967;
  font-size: 14px;
}

.sms-home-sections .sms-feature-overview__foot > p {
  margin: 0;
}

.sms-home-sections .sms-feature-overview__foot > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid #0b2754;
  border-radius: 11px;
  background: #0b2754;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

.sms-home-sections .sms-feature-overview__foot > a:hover {
  transform: translateY(-1px);
  background: #17417e;
}

.sms-home-sections .sms-feature-overview__foot > a:focus-visible {
  outline: 3px solid #075ff0;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .sms-home-sections .sms-feature-overview {
    padding-top: 36px;
  }

  .sms-home-sections .sms-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sms-home-sections .sms-feature-tile {
    min-height: 320px;
  }

  .sms-home-sections .sms-feature-tile__art {
    height: clamp(120px, 25vw, 177px);
  }
}

@media (max-width: 520px) {
  .sms-home-sections .sms-feature-overview .sms-wrap {
    width: calc(100% - 28px);
  }

  .sms-home-sections .sms-feature-overview__intro h2 {
    max-width: 520px;
    font-size: clamp(34px, 9vw, 43px);
  }

  .sms-home-sections .sms-feature-overview__intro > p:last-child {
    font-size: 16px;
  }

  .sms-home-sections .sms-feature-overview__desktop-break {
    display: none;
  }

  .sms-home-sections .sms-feature-grid {
    gap: 9px;
  }

  .sms-home-sections .sms-feature-tile {
    min-height: 286px;
    border-radius: 12px;
  }

  .sms-home-sections .sms-feature-tile__art {
    height: 118px;
    padding: 6px 6px 10px;
  }

  .sms-home-sections .sms-feature-tile__copy {
    padding: 7px 11px 11px;
  }

  .sms-home-sections .sms-feature-tile__copy > strong {
    font-size: clamp(18px, 5vw, 23px);
  }

  .sms-home-sections .sms-feature-tile__copy > span:not(.sms-feature-tile__link) {
    font-size: 13px;
    line-height: 1.35;
  }

  .sms-home-sections .sms-feature-tile__copy .sms-feature-tile__link {
    min-height: 36px;
    gap: 5px;
    font-size: 12px;
  }

  .sms-home-sections .sms-feature-overview__foot {
    min-height: 74px;
    flex-wrap: wrap;
    gap: 4px 12px;
    justify-content: space-between;
    font-size: 12px;
  }

  .sms-home-sections .sms-feature-overview__foot > a {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sms-home-sections .sms-feature-tile,
  .sms-home-sections .sms-feature-tile__link > span,
  .sms-home-sections .sms-feature-overview__foot > a {
    transition: none;
  }

  .sms-home-sections .sms-feature-tile:hover,
  .sms-home-sections .sms-feature-overview__foot > a:hover {
    transform: none;
  }
}
