/* Shared Home/About learning cards. Base rules live in site.css. */
@media (min-width: 901px) {
  .simplicity { padding: 0 80px 80px; }
  .simplicity > h2 { width: 735px; margin: 0 auto 55px; font-family: Nunito, sans-serif; font-size: 48px; line-height: 1.06; font-weight: 700; }
  .cards { gap: 12px; }
  .cards article { height: 466px; padding: 40px 32px; border-radius: 40px; }
  .cards h3 { margin: 28px 0 12px; font: 500 28px/1.25 Manrope, sans-serif; }
  .cards p { font: 400 18px/1.5 Manrope, sans-serif; color: #7d8388; }
  .simplicity .cards article { flex-basis: min(55vw, 420px); height: auto; min-height: 416px; }
  .simplicity .cards article { flex-basis: 84vw; min-height: 390px; }
}

/* Simplicity cards */
@media(min-width:901px){.simplicity{max-width:1440px;margin-left:auto;margin-right:auto;padding-left:80px;padding-right:80px}.simplicity .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.simplicity .cards article{height:466px;padding:40px 32px}.simplicity .cards p.accent-copy{color:#31bd5f}.success{position:relative;min-height:110px;padding:25px 24px 22px 72px;display:flex;flex-direction:column;justify-content:center}.success:before,.success:after{content:"";position:absolute;z-index:-1;left:5%;right:5%;height:100%;top:-14px;border-radius:28px;background:rgba(217,243,223,.42)}.success:after{left:10%;right:10%;top:-26px;background:rgba(217,243,223,.25)}.success b,.success small{margin-left:0}.success-icon{position:absolute;left:28px;top:50%;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#39be67;color:#fff;transform:translateY(-50%);font-size:20px}.letter-row{min-height:70px;align-items:center;justify-content:center}.word-row{min-height:58px;align-items:center;justify-content:space-around;white-space:nowrap}}
@media(max-width:900px){.simplicity{padding-right:0;overflow:hidden}.simplicity>h2{width:auto;padding-right:32px}.simplicity .cards{display:flex;gap:16px;width:auto;margin:0;padding:0 32px 14px 0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:0;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}.simplicity .cards::-webkit-scrollbar{display:none}.simplicity .cards article{flex:0 0 min(73vw,560px);height:466px;padding:34px 30px;scroll-snap-align:start;scroll-snap-stop:always}.simplicity .cards p.accent-copy{color:#7d8388}.success-icon{display:inline-grid;width:28px;height:28px;margin-right:8px;border-radius:50%;place-items:center;background:#39be67;color:#fff}.success b,.success small{margin-left:36px}}
@media(max-width:520px){.simplicity{padding-left:16px;padding-bottom:65px}.simplicity>h2{padding-right:16px;font-size:30px;line-height:1.14;margin-bottom:32px}.simplicity .cards{gap:12px;padding-right:16px}.simplicity .cards article{flex-basis:84vw;height:390px;padding:24px;border-radius:28px}.simplicity .cards h3{font-size:22px;margin:24px 0 10px}.simplicity .cards p{font-size:14px;line-height:1.5}.success{padding:18px;font-size:12px}.letter-row,.word-row{padding:12px;min-height:52px}.letter-row i,.word-row i{font-size:12px;padding:7px}}
.success{z-index:0}
.grammar .letter-row i.is-selected{box-shadow:inset 0 0 0 2px #08a9f5;background:#fff}.tailored .word-row{width:calc(100% + 96px);margin-left:-48px;padding:0;gap:12px;background:transparent;overflow:visible;justify-content:center}.tailored .word-row i{min-width:150px;padding:14px 22px;border-radius:999px;background:#fff;text-align:center;font-size:16px;white-space:nowrap}.tailored .word-row i.is-active{background:#08a9f5;color:#fff}.simplicity .cards h3{font-weight:600}
@media(max-width:900px){.tailored .word-row{width:calc(100% + 72px);margin-left:-36px}.tailored .word-row i{min-width:140px}}
@media(max-width:520px){.tailored .word-row{width:calc(100% + 48px);margin-left:-24px;gap:8px}.tailored .word-row i{min-width:112px;padding:11px 14px;font-size:12px}}


@media (max-width: 900px) {
  .simplicity .cards article { flex-basis: min(55vw, 420px); height: auto; min-height: 416px; }
}
@media (max-width: 520px) {
  .simplicity .cards article { flex-basis: 84vw; min-height: 390px; }
}

/* Percent margins use the sheet's content width: 87.2% (desktop) / 92% (tablet).
   Recover its exact gutters without vw, which also includes the scrollbar. */
.about-learning { margin-inline: calc(-100% * 6.4 / 87.2); color: var(--ink); }
@media (max-width: 900px) { .about-learning { margin-inline: calc(-100% * 4 / 92); } }
@media (max-width: 560px) { .about-learning { margin-inline: -16px; } }
