.lesson-one-intro {
  position: relative;
  display: block;
  height: auto;
  min-height: 245px;
  padding-bottom: 12px;
}

.lesson-one-intro .lower-story-hero__copy {
  position: relative;
  top: 4px;
  left: 4%;
  width: 59%;
  min-height: auto;
  margin: 0;
  padding: 44px 30px 34px;
}

.lesson-one-intro .lower-story-hero__visuals {
  position: absolute;
  inset: 0;
}

.lesson-one-intro__boy {
  position: absolute;
  z-index: 2;
  top: -48px;
  right: 11%;
  width: clamp(190px, 15vw, 265px);
  height: auto;
}

.lesson-one-intro__phone {
  position: absolute;
  z-index: 2;
  top: 2px;
  right: 0;
  width: clamp(145px, 11vw, 200px);
  height: auto;
}

.lesson-one-intro__phone--left {
  display: none;
}

.lesson-one-intro__message {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 26%;
  width: clamp(165px, 14vw, 230px);
  height: auto;
}

.lesson-one-topic-heading {
  position: relative;
  z-index: 3;
  width: fit-content;
  margin: -34px auto 12px;
  padding: 8px 40px;
  color: #fff;
  background: var(--lesson-one-navy);
  border-radius: 0;
  isolation: isolate;
  max-width: calc(100% - 64px);
  text-align: center;
  text-wrap: balance;
  box-shadow: 0 3px 0 rgb(255 255 255 / 60%);
  font-size: clamp(1.0625rem, var(--font-fluid-vw-1-45, 1.45vw), 1.5rem);
  letter-spacing: 0.04em;
}

.lesson-one-topic-heading strong {
  margin-inline: 8px;
  color: #ffe024;
  font-size: 1.45em;
}

.lesson-one-topic-heading > span {
  display: inline-block;
  max-width: 100%;
}

.lesson-one-topic-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.lesson-topic-card {
  min-width: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  font: inherit;
  perspective: 1200px;
  text-align: left;
}

.lesson-topic-card[aria-disabled="true"] {
  cursor: default;
}

.lesson-topic-card__inner {
  position: relative;
  display: block;
  min-height: 310px;
  transition: transform 0.75s cubic-bezier(0.2, 0.75, 0.25, 1.2);
  transform-style: preserve-3d;
}

.lesson-topic-card.is-flipped .lesson-topic-card__inner {
  transform: rotateY(180deg);
}

.lesson-topic-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  background: rgb(255 255 255 / 92%);
  border: 3px solid var(--lesson-one-line);
  border-radius: 20px;
  box-shadow: 0 6px 14px rgb(23 112 210 / 14%);
  backface-visibility: hidden;
}

.lesson-topic-card__back {
  transform: rotateY(180deg);
}

.lesson-topic-card__title {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  align-items: center;
  gap: 9px;
  color: var(--lesson-one-blue);
  font-size: clamp(0.875rem, var(--font-fluid-vw-1, 1vw), 1.0625rem);
  font-weight: 800;
  line-height: 1.3;
}

.lesson-topic-card__title b {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--lesson-one-blue);
  border-radius: 50%;
  font-size: 1.25rem;
}

.lesson-topic-card__stamp-space {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 43px;
  height: 43px;
  border: 2px dashed #8bc7f1;
  border-radius: 50%;
}

.lesson-topic-card__image {
  display: block;
  width: 88%;
  height: 180px;
  margin: auto;
  object-fit: contain;
}

.lesson-topic-card__action {
  display: flex;
  width: calc(100% - 20px);
  min-height: 48px;
  margin: 0 10px 12px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--lesson-one-blue);
  background: #fff;
  border: 2px dashed var(--lesson-one-line);
  border-radius: 14px;
  font-size: clamp(0.875rem, var(--font-fluid-vw-0-9, 0.9vw), 0.9375rem);
  font-weight: 800;
  white-space: nowrap;
}

.lesson-topic-card__touch-icon {
  display: block;
  width: clamp(20px, 2vw, 22px);
  height: clamp(20px, 2vw, 22px);
  flex: none;
  object-fit: contain;
}

.lesson-topic-card[data-open-lesson-modal]:hover .lesson-topic-card__face,
.lesson-topic-card[data-open-lesson-modal]:focus-visible .lesson-topic-card__face {
  box-shadow: 0 0 0 5px rgb(23 112 210 / 20%), 0 10px 20px rgb(23 112 210 / 20%);
}

.lesson-topic-card[data-open-lesson-modal]:not(.is-flipped):hover .lesson-topic-card__inner,
.lesson-topic-card[data-open-lesson-modal]:not(.is-flipped):focus-visible .lesson-topic-card__inner {
  transform: translateY(-4px);
}

.lesson-topic-card.is-flipped:hover .lesson-topic-card__face,
.lesson-topic-card.is-flipped:focus-visible .lesson-topic-card__face {
  transform: none;
}

.lesson-topic-card.is-flipped:hover .lesson-topic-card__back,
.lesson-topic-card.is-flipped:focus-visible .lesson-topic-card__back {
  transform: rotateY(180deg);
}

.lesson-topic-card__complete {
  width: 88%;
  height: auto;
  margin: auto 0 14px;
}

.lesson-topic-card__seen-stamp {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0;
  transform: scale(2.4) rotate(-22deg);
}

.lesson-topic-card.is-stamped .lesson-topic-card__seen-stamp {
  animation: lesson-stamp-in 0.55s cubic-bezier(0.18, 0.9, 0.28, 1.35) forwards;
}

.lesson-one-summary {
  position: relative;
  display: grid;
  min-height: 148px;
  margin-top: 14px;
  grid-template-columns: 1.1fr 1.2fr 0.8fr 1.1fr;
  align-items: center;
  gap: 22px;
}

.lesson-one-summary__phone,
.lesson-one-summary__girl {
  position: relative;
  display: flex;
  height: 145px;
  align-items: center;
}

.lesson-one-summary__phone > img {
  width: 92px;
  max-height: 140px;
  object-fit: contain;
}

.lesson-one-summary__phone p {
  margin: 0;
  padding: 18px 24px;
  background: rgb(255 255 255 / 92%);
  border-radius: 48% 52% 46% 54%;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.6;
}

.lesson-one-summary__phone strong {
  color: #e62539;
  font-size: 1.5rem;
}

.lesson-one-seen-tracker {
  text-align: center;
}

.lesson-one-seen-tracker ol {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  list-style: none;
}

.lesson-one-seen-tracker li {
  display: grid;
}

.lesson-one-seen-tracker li > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin: auto;
  place-items: center;
  overflow: hidden;
  border: 3px dotted #adb8c3;
  border-radius: 50%;
}

.lesson-one-seen-tracker li > span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.45) rotate(-14deg);
}

.lesson-one-seen-tracker li.is-complete > span {
  border-color: transparent;
  animation: lesson-marker-pop 0.45s ease both;
}

.lesson-one-seen-tracker li.is-complete > span img {
  opacity: 1;
  transform: scale(1) rotate(0);
  transition: opacity .2s ease, transform .45s cubic-bezier(.18, .9, .28, 1.35);
}

.lesson-one-summary__count {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.8;
  text-align: center;
}

.lesson-one-summary__girl {
  justify-content: flex-end;
}

.lesson-one-summary__girl img:first-child {
  width: 105px;
  max-height: 145px;
  object-fit: contain;
}

.lesson-one-summary__girl img:last-child {
  width: 175px;
  height: auto;
}

.lesson-one-next {
  position: absolute;
  right: 0;
  bottom: -2px;}

.lesson-one-summary.is-all-seen .lesson-one-summary__girl img:first-child {
  transform-origin: 50% 100%;
  animation: lesson-next-girl 1.15s ease-in-out infinite;
}

.lesson-one-summary.is-all-seen .lesson-one-next {
  animation: lesson-next-button 1.15s ease-in-out infinite;}

.lesson-topic-modal__dialog.lesson-all-seen-modal__dialog {
  display: grid;
  width: min(520px, calc(100vw - 32px));
  min-height: 0;
  padding: 42px 42px 36px;
  place-items: center;
  overflow: visible;
  border: 5px solid var(--lesson-one-blue);
  text-align: center;
}

.lesson-all-seen-modal__stamp {
  width: 108px;
  height: 108px;
  object-fit: contain;
  animation: lesson-all-seen-stamp .7s cubic-bezier(.18, 1.35, .35, 1) both;
}

.lesson-all-seen-modal h2 {
  margin: 12px 0 24px;
  color: var(--lesson-one-blue);
  font-size: clamp(1.5rem, var(--font-fluid-vw-4, 4vw), 2.375rem);
  line-height: 1.45;
}

.lesson-all-seen-modal h2 span {
  color: #079b68;
  font-size: .72em;
}

.lesson-all-seen-modal__next {
  display: flex;
  width: min(360px, 100%);
  min-height: 58px;
  padding: 10px 24px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  background: var(--lesson-one-blue);
  border-radius: 999px;
  box-shadow: 0 5px 0 #0a53a5;
  font-size: 1.125rem;
  font-weight: 800;
  text-decoration: none;
}

.lesson-all-seen-modal__next span {
  font-size: 1.875rem;
  line-height: 1;
}

.lesson-topic-modal[hidden] {
  display: none;
}

.lesson-topic-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  padding: 30px;
  place-items: center;
}

.lesson-topic-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(13 36 54 / 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lesson-topic-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100vw - 50px));
  max-height: calc(100svh - 50px);
  padding: 30px 38px 26px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  color: #222;
  background: #fffdf8;
  border: 3px solid var(--lesson-one-blue);
  border-radius: 34px;
  box-shadow: 0 24px 70px rgb(0 0 0 / 30%);
  opacity: 0;
  transform: translateY(24px) scale(0.94);
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1.15);
}

.lesson-topic-modal.is-open .lesson-topic-modal__backdrop,
.lesson-topic-modal.is-open .lesson-topic-modal__dialog {
  opacity: 1;
}

.lesson-topic-modal.is-open .lesson-topic-modal__dialog {
  transform: none;
}

.lesson-topic-modal.is-closing .lesson-topic-modal__dialog {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
}

.lesson-topic-modal__close {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  width: 54px;
  height: 54px;
  padding: 0;
  background: #fff;
  border: 3px solid var(--lesson-one-blue);
  border-radius: 50%;
  cursor: pointer;
}

.lesson-topic-modal__close span::before,
.lesson-topic-modal__close span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 31px;
  height: 4px;
  background: var(--lesson-one-blue);
  border-radius: 3px;
  transform-origin: center;
  content: "";
}

.lesson-topic-modal__close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lesson-topic-modal__close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lesson-topic-modal__header {
  display: grid;
  padding-right: 10px;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 22px;
}

.lesson-topic-modal__header > img {
  width: 105px;
  height: 135px;
  object-fit: contain;
}

.lesson-topic-modal__header h2 {
  display: flex;
  margin: 0 0 10px;
  align-items: center;
  gap: 16px;
  color: var(--lesson-one-blue);
  font-size: clamp(1.875rem, var(--font-fluid-vw-3-3, 3.3vw), 2.875rem);
}

.lesson-topic-modal__header h2 b {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  line-height: 1;
  color: #fff;
  background: var(--lesson-one-blue);
  border-radius: 50%;
}

.lesson-topic-modal__header p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.7;
}

.lesson-topic-modal__header p span,
.lesson-topic-modal__point em {
  color: var(--lesson-one-blue);
  font-style: normal;
}

.lesson-topic-modal__body {
  display: grid;
  margin-top: 16px;
  grid-template-columns: minmax(0, 1.65fr) minmax(190px, 0.7fr);
  gap: 18px 24px;
}

.lesson-topic-modal__movie {
  position: relative;
}

.lesson-topic-modal__movie video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 528 / 349;
  object-fit: contain;
  background: #172716;
  border-radius: 12px;
}

.lesson-topic-modal__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  height: 86px;
  padding: 0;
  background: #ef5662;
  border: 4px solid rgb(255 255 255 / 88%);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgb(78 20 27 / 25%);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.lesson-topic-modal__play::before {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 25px solid #fff;
  content: "";
  transform: translate(-42%, -50%);
}

.lesson-topic-modal__play:hover {
  filter: brightness(1.07);
  transform: translate(-50%, -50%) scale(1.06);
}

.lesson-topic-modal__play:focus-visible {
  outline: 5px solid #fff;
  outline-offset: 4px;
}

.lesson-topic-modal__play.is-played {
  display: none;
}

@media (min-width: 768px) and (max-height: 840px) {
  .lesson-topic-modal__dialog {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .lesson-topic-modal__close {
    top: 8px;
    right: 8px;
  }
}

.lesson-topic-modal__examples {
  position: relative;
  min-height: 290px;
  padding: 20px 18px 0;
  background: #fffaf0;
  border: 2px solid #f1dca9;
  border-radius: 20px;
}

.lesson-topic-modal__examples > strong {
  display: block;
  width: fit-content;
  margin: -28px auto 9px;
  padding: 5px 20px;
  color: #fff;
  background: var(--lesson-one-blue);
  border-radius: 999px;
}

.lesson-topic-modal__examples ul {
  margin: 0;
  padding-left: 22px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.75;
}

.lesson-topic-modal__examples img {
  position: absolute;
  right: 28px;
  bottom: -6px;
  width: 110px;
  height: 130px;
  object-fit: contain;
}

.lesson-topic-modal__point {
  position: relative;
  padding: 20px 24px;
  background: #fffdf7;
  border: 2px solid #b8daf2;
  border-radius: 14px;
}

.lesson-topic-modal__point > strong {
  position: absolute;
  top: -15px;
  left: 30px;
  padding: 5px 22px;
  color: #fff;
  background: var(--lesson-one-blue);
  border-radius: 4px;
}

.lesson-topic-modal__point p {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.8;
}

.lesson-topic-modal__point p > span {
  color: #ffd22e;
  font-size: 1.625rem;
}

.lesson-topic-modal__friend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
}

.lesson-topic-modal__friend img {
  width: 95px;
  height: 115px;
  object-fit: contain;
}

.lesson-topic-modal__friend p {
  padding: 10px;
  font-size: 0.875rem;
  background: #fff;
  border: 2px solid #b8daf2;
  border-radius: 20px;
  font-weight: 800;
}

.lesson-topic-modal__understood {
  display: flex;
  min-width: 320px;
  min-height: 70px;
  margin: 20px auto 0;
  padding: 12px 42px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: var(--lesson-one-blue);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 0 #0a53a5;
  cursor: pointer;
  font-size: 1.75rem;
  font-weight: 800;
}

.lesson-topic-modal__understood span {
  color: #ffd72e;
  font-size: 2.375rem;
  filter: drop-shadow(0 2px 0 rgb(170 112 0 / 25%));
}

.lesson-topic-modal__header--with-mascot {
  grid-template-columns: 140px minmax(0, 1fr) 130px;
  gap: 18px;
}

.lesson-topic-modal__header--with-mascot > img:first-child {
  width: 135px;
}

.lesson-topic-modal__header-mascot {
  width: 120px !important;
}

.lesson-topic-modal__steps {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.lesson-modal-step {
  min-width: 0;
  padding: 10px;
  background: linear-gradient(180deg, #eff8ff, #fff 30%);
  border: 2px solid #c4def3;
  border-radius: 14px;
  text-align: center;
}

.lesson-modal-step h3 {
  display: flex;
  min-height: 28px;
  margin: -2px 0 8px;
  align-items: center;
  gap: 6px;
  color: var(--lesson-one-blue);
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: left;
}

.lesson-modal-step h3 b {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--lesson-one-blue);
  border-radius: 50%;
}

.lesson-modal-step > p {
  margin: 7px 0 0;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.55;
}

.lesson-modal-step__search {
  display: flex;
  margin-top: 32px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 2px solid #cdd7df;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 800;
  overflow: hidden;
}

.lesson-modal-step__search span {
  padding-left: 10px;
}

.lesson-modal-step__search b {
  padding: 7px 10px;
  color: #fff;
  background: var(--lesson-one-blue);
  font-size: 1.25rem;
}

.lesson-modal-step__demo-button {
  margin: 22px auto;
  padding: 8px 26px;
  color: #fff;
  background: var(--lesson-one-blue);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  pointer-events: none;
}

.lesson-modal-step__tip {
  padding: 10px !important;
  color: #4b4b42;
  background: #fffbea;
  border: 1px solid #ffd867;
  border-radius: 12px;
}

.lesson-modal-step__loading {
  margin-top: 25px;
  padding: 18px 8px;
  background: #fff;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 800;
}

.lesson-modal-step__loading span {
  display: block;
  margin-bottom: 10px;
}

.lesson-modal-step__loading i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 3px;
  background: var(--lesson-one-blue);
  border-radius: 50%;
}

.lesson-modal-step__search-picture {
  width: 100%;
  height: 112px;
  margin-top: 8px;
  object-fit: contain;
}

.lesson-modal-results {
  display: grid;
  gap: 5px;
}

.lesson-modal-results div {
  display: grid;
  min-height: 58px;
  padding: 5px;
  grid-template-columns: 55px 1fr;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #d2dde7;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 800;
  text-align: left;
}

.lesson-modal-results img {
  width: 55px;
  height: 45px;
  object-fit: cover;
  border-radius: 5px;
}

.lesson-modal-results small {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
}

.lesson-modal-step__result-picture {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 9px;
}

.lesson-modal-step h4 {
  margin: 7px 0 3px;
  color: var(--lesson-one-blue);
  font-size: 0.875rem;
}

.lesson-modal-step h4 + p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.lesson-modal-step__phone-screen {
  display: block;
  width: 100%;
  object-fit: contain;
}

.lesson-topic-modal__footer-row {
  display: grid;
  margin-top: 20px;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 16px;
}

.lesson-topic-modal__footer-row .lesson-topic-modal__point,
.lesson-topic-modal__footer-row .lesson-topic-modal__friend {
  min-height: 105px;
}

.lesson-topic-modal__footer-row--three {
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, 1fr);
}

.lesson-topic-modal__footer-row--study {
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.8fr);
}

.lesson-modal-kind-words,
.lesson-modal-study-rules {
  min-height: 105px;
  padding: 10px;
  gap: 7px;
  background: #eef7ff;
  border-radius: 12px;
}

.lesson-modal-kind-words { display: grid; grid-template-columns: 1fr 1fr; }

.lesson-modal-kind-words strong,
.lesson-modal-study-rules strong {
  grid-column: 1 / -1;
  color: var(--lesson-one-blue);
  text-align: center;
}

.lesson-modal-kind-words span {
  padding: 6px;
  background: #fff;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 800;
  text-align: center;
}

.lesson-modal-game-layout {
  display: grid;
  margin-top: 14px;
  grid-template-columns: 0.75fr 1.45fr;
  gap: 16px;
}

.lesson-modal-panel {
  padding: 14px;
  background: #fffaf2;
  border: 2px solid #c4def3;
  border-radius: 16px;
}

.lesson-modal-panel > h3 {
  margin: 0 0 12px;
  color: var(--lesson-one-blue);
  font-size: 1.0625rem;
  text-align: center;
}

.lesson-modal-game-benefit {
  display: grid;
  min-height: 72px;
  padding: 6px 8px;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
}

.lesson-modal-game-benefit + .lesson-modal-game-benefit {
  margin-top: 7px;
}

.lesson-modal-game-benefit img {
  width: 94px;
  height: 62px;
  object-fit: contain;
}

.lesson-modal-game-benefit p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.5;
}

.lesson-modal-game-benefit strong {
  color: var(--lesson-one-blue);
}

.lesson-modal-game-benefit--text > span {
  font-size: 3rem;
  text-align: center;
}

.lesson-modal-game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lesson-modal-game-grid figure {
  margin: 0;
  padding: 7px;
  background: #fff;
  border: 1px solid #d7dde3;
  border-radius: 10px;
}

.lesson-modal-game-grid img {
  width: 100%;
  height: 82px;
  object-fit: contain;
}

.lesson-modal-game-grid figcaption {
  min-height: 29px;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.lesson-modal-step__study-screen {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 10px;
  object-fit: contain;
}

.lesson-modal-study-rules {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 16px;
  align-content: center;
  height: auto;
  padding: 24px;
  gap: 18px;
}

.lesson-modal-study-rules strong { font-size: 1.125rem; line-height: 1.5; }

.lesson-modal-study-rules span {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

.has-lesson-modal {
  overflow: hidden;
}

.lesson-sticker-layer {
  position: fixed;
  z-index: 10020;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.lesson-sticker-flight {
  position: fixed;
  top: var(--sticker-from-y);
  left: var(--sticker-from-x);
  color: #ffd72e;
  font-size: 4.5rem;
  filter: drop-shadow(0 5px 0 #e7a818) drop-shadow(0 9px 12px rgb(0 0 0 / 22%));
  animation: lesson-sticker-fly 0.78s cubic-bezier(0.25, 0.8, 0.3, 1) forwards;
}

@keyframes lesson-sticker-fly {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.25) rotate(-35deg); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.25) rotate(8deg); }
  100% { opacity: 1; transform: translate(calc(var(--sticker-to-x) - var(--sticker-from-x) - 50%), calc(var(--sticker-to-y) - var(--sticker-from-y) - 50%)) scale(0.42) rotate(360deg); }
}

@keyframes lesson-stamp-in {
  0% { opacity: 0; transform: scale(2.4) rotate(-22deg); }
  65% { opacity: 1; transform: scale(0.85) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(-6deg); }
}

@keyframes lesson-marker-pop {
  0% { transform: scale(0.4); }
  70% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes lesson-next-girl {
  0%, 100% { transform: translateY(0) rotate(0); }
  35% { transform: translateY(-9px) rotate(-3deg); }
  65% { transform: translateY(-3px) rotate(3deg); }
}

@keyframes lesson-next-button {
  0%, 100% { box-shadow: 0 4px 0 #0a53a5, 0 0 0 0 rgb(23 112 210 / 0%); }
  50% { box-shadow: 0 4px 0 #0a53a5, 0 0 0 8px rgb(23 112 210 / 18%); }
}

@keyframes lesson-all-seen-stamp {
  0% { opacity: 0; transform: scale(2) rotate(-18deg); }
  70% { opacity: 1; transform: scale(.88) rotate(5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* Keep the complete lesson scene balanced on a Full HD desktop. */
@media (min-width: 1201px) {
  .lesson-one-intro {
    height: auto;
    min-height: 240px;
  }

  .lesson-one-intro .lower-story-hero__copy {
    top: 3px;
    left: 3.5%;
    width: min(54%, 760px);
  }

  .lesson-one-intro__boy {
    top: -38px;
    right: 9%;
    width: 225px;
  }

  .lesson-one-intro__phone {
    top: 4px;
    width: 165px;
  }

  .lesson-one-intro__message {
    top: 18px;
    right: 23%;
    width: 195px;
  }

  .lesson-one-topic-heading {
    margin: -30px auto 9px;
    padding: 6px 34px;
    font-size: 1.3125rem;
  }

  .lesson-one-topic-grid {
    gap: 12px;
  }

  .lesson-topic-card__inner {
    min-height: 284px;
  }

  .lesson-topic-card__title {
    min-height: 50px;
    padding: 7px 10px;
    font-size: 0.9375rem;
  }

  .lesson-topic-card__title b {
    width: 31px;
    height: 31px;
    font-size: 1.125rem;
  }

  .lesson-topic-card__stamp-space {
    width: 39px;
    height: 39px;
  }

  .lesson-topic-card__image {
    height: 160px;
  }

  .lesson-topic-card__action {
    min-height: 43px;
    margin-bottom: 10px;
  }

  .lesson-one-summary {
    min-height: 218px;
    margin-top: 18px;
    padding-bottom: 0;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 1fr) minmax(150px, .6fr) 335px;
    gap: 16px;
  }

  .lesson-one-summary__phone,
  .lesson-one-summary__girl {
    height: auto;
    min-height: 170px;
  }

  .lesson-one-summary__phone > img {
    width: 120px;
    max-width: 100%;
    height: auto;
    max-height: none;
    flex-shrink: 0;
  }

  .lesson-one-summary__girl img:first-child {
    width: 160px;
    max-width: 100%;
    height: auto;
    max-height: none;
    flex-shrink: 0;
  }
}

@media (max-width: 1200px) {
  .lesson-one-intro {
    height: auto;
    min-height: 245px;
  }

  .lesson-one-intro .lower-story-hero__copy {
    position: relative;
    left: 0;
    width: 55%;
  }

  .lesson-one-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lesson-one-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .lesson-one-intro {
    height: 300px;
  }

  .lesson-one-intro .lower-story-hero__copy {
    top: 28px;
    width: 100%;
  }

  .lesson-one-intro__boy {
    top: 160px;
    right: 22%;
    width: 115px;
  }

  .lesson-one-intro__phone {
    top: 175px;
    width: 88px;
  }

  .lesson-one-intro__message {
    top: 190px;
    right: 47%;
    width: 130px;
  }

  .lesson-one-topic-heading {
    padding: 8px 15px;
    font-size: 0.875rem;
    text-align: center;
  }

  .lesson-one-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .lesson-topic-card__inner {
    min-height: 260px;
  }

  .lesson-topic-card__title {
    min-height: 54px;
    padding: 8px;
    font-size: 1rem;
  }

  .lesson-topic-card__title b {
    width: 29px;
    height: 29px;
    font-size: 1rem;
  }

  .lesson-topic-card__stamp-space,
  .lesson-topic-card__seen-stamp {
    width: 35px;
    height: 35px;
  }

  .lesson-topic-card__image {
    height: 145px;
  }

  .lesson-topic-card__action {
    min-height: 42px;
    font-size: 0.875rem;
  }

  .lesson-one-summary {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lesson-one-summary__phone,
  .lesson-one-summary__girl {
    justify-content: center;
  }

  .lesson-one-next {
    right: 50%;
    bottom: -45px;
    transform: translateX(50%);
  }

  .lesson-topic-modal {
    padding: 12px;
  }

  .lesson-topic-modal__dialog {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
    padding: 24px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 22px;
  }

  .lesson-topic-modal__dialog.lesson-all-seen-modal__dialog {
    width: calc(100vw - 24px);
    padding: 36px 20px 30px;
  }

  .lesson-topic-modal__close {
    top: 8px;
    right: 8px;
    width: 48px;
    height: 48px;
  }

  .lesson-topic-modal__close span::before,
  .lesson-topic-modal__close span::after {
    width: 25px;
  }

  .lesson-topic-modal__header {
    padding-right: 10px;
    grid-template-columns: 76px 1fr;
    gap: 10px;
  }

  .lesson-topic-modal__header > img {
    width: 70px;
    height: 100px;
  }

  .lesson-topic-modal__header h2 {
    gap: 8px;
    font-size: 1.5rem;
  }

  .lesson-topic-modal__header h2 b {
    width: 42px;
    height: 42px;
  }

  .lesson-topic-modal__header p {
    font-size: 0.875rem;
  }

  .lesson-topic-modal__body {
    grid-template-columns: 1fr;
  }

  .lesson-topic-modal__examples {
    min-height: 245px;
  }

  .lesson-topic-modal__understood {
    min-width: min(100%, 270px);
    min-height: 58px;
    font-size: 1.375rem;
  }
}

@media (max-width: 420px) {
  .lesson-one-topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .lesson-topic-modal__header,
  .lesson-topic-modal__header--with-mascot {
    padding-right: 56px;
    grid-template-columns: minmax(0, 1fr);
  }

  .lesson-topic-modal__header > img:first-child,
  .lesson-topic-modal__header-mascot {
    display: none;
  }
}

@media (max-width: 767px) {
  .lesson-topic-modal__steps,
  .lesson-modal-game-layout,
  .lesson-topic-modal__footer-row,
  .lesson-topic-modal__footer-row--three {
    grid-template-columns: 1fr;
  }

.lesson-modal-step__result-picture{
  object-fit: contain;
}

  .lesson-modal-step__phone-screen {
    height: min(320px, 68vh);
  }

  .lesson-modal-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-topic-modal__footer-row .lesson-topic-modal__friend,
  .lesson-topic-modal__footer-row .lesson-topic-modal__point {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lesson-topic-card__inner,
  .lesson-topic-modal__backdrop,
  .lesson-topic-modal__dialog {
    transition: none;
  }

  .lesson-sticker-flight,
  .lesson-topic-card.is-stamped .lesson-topic-card__seen-stamp,
  .lesson-one-seen-tracker li.is-complete > span,
  .lesson-one-summary.is-all-seen .lesson-one-summary__girl img:first-child,
  .lesson-one-summary.is-all-seen .lesson-one-next,
  .lesson-all-seen-modal__stamp {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

/* Lesson 1 story pages (pages 2 and 3). */
.lower-story-visual {
  position: relative;
  z-index: 3;
  margin: -4px 20px 0;
  padding: 14px;
  background: rgb(255 255 255 / 96%);
  border-radius: 24px;
  box-shadow: 0 7px 18px rgb(7 90 158 / 12%);
}

.lower-story-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* Lesson 1 Page 1: each background keeps its own native aspect ratio. */
.lesson-one-connection__pc {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  background: url('../images/learning/lower/lesson1/lesson1-2/lesson1-2_bg.png') center / 100% 100% no-repeat;
}

.lesson-one-connection .lesson-one-connection__part {
  position: absolute;
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  transition: opacity .7s ease, transform .7s ease;
}

.lesson-one-connection.is-ready .lesson-one-connection__part {
  opacity: 0;
  transform: translateX(8px) scale(.96);
}

.lesson-one-connection.is-ready .lesson-one-connection__part:first-child,
.lesson-one-connection.is-ready .lesson-one-connection__part:nth-child(7) {
  transform: translateY(10px);
}

.lesson-one-connection.is-ready .lesson-one-connection__part:nth-child(6),
.lesson-one-connection.is-ready .lesson-one-connection__part:nth-child(12) {
  transform: scale(.9);
}

.lesson-one-connection.is-ready .lesson-one-connection__part.is-visible {
  opacity: 1;
  transform: none;
}

.lesson-one-connection .lesson-one-connection__cloud {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  transform-origin: center;
}

.lesson-one-connection__cloud.is-pulsing {
  animation: lesson-one-cloud-bloom 1.1s ease-in-out;
}

@keyframes lesson-one-cloud-bloom {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.055); filter: brightness(1.06); }
}

.lesson-one-connection__pc > .lesson-one-connection__cloud {
  left: 39.583%;
  top: 27%;
  width: 20.5%;
}

.lesson-one-connection__pc .lesson-one-connection__part:nth-child(1) { left: 0; top: 0; width: 25.83%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(2) { left: 20.5%; top: 21%; width: 6%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(3) { left: 31%; top: 23%; width: 6.96%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(4) { left: 61%; top: 22%; width: 7.3%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(5) { left: 73%; top: 19%; width: 5.88%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(6) { right: 0; top: 0; width: 21.04%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(7) { left: 0; bottom: 0; width: 20.46%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(8) { left: 20.5%; top: 63%; width: 6.08%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(9) { left: 31%; top: 65%; width: 6.58%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(10) { left: 61%; top: 64%; width: 7.71%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(11) { left: 73%; top: 62%; width: 6.25%; }
.lesson-one-connection__pc .lesson-one-connection__part:nth-child(12) { right: 0; bottom: 0; width: 19.58%; }

.lesson-one-connection__sp { display: none; }

@media (max-width: 767px) {
  .lesson-one-connection { overflow: hidden; }
  .lesson-one-connection__pc { display: none; }
  .lesson-one-connection__sp {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1154 / 1567;
    background: url('../images/learning/lower/lesson1/lesson1-2/lesson1-2_bgsp.png') center / 100% 100% no-repeat;
  }
  .lesson-one-connection__sp-parts { position: absolute; inset: 0; }
  .lesson-one-connection__sp-parts .lesson-one-connection__part:nth-child(1) { left: 0; top: 0; width: 53.7%; }
  .lesson-one-connection__sp-parts .lesson-one-connection__part:nth-child(2) { left: 14.6%; top: 31.8%; width: 14.5%; }
  .lesson-one-connection__sp-parts .lesson-one-connection__part:nth-child(3) { right: 16%; top: 31.8%; width: 15.2%; }
  .lesson-one-connection__sp-parts .lesson-one-connection__part:nth-child(4) { right: 0; top: 0; width: 43.8%; }
  .lesson-one-connection__sp-parts .lesson-one-connection__part:nth-child(5) { left: 0; bottom: 0; width: 42.5%; }
  .lesson-one-connection__sp-parts .lesson-one-connection__part:nth-child(6) { left: 11.5%; top: 63.7%; width: 13.7%; }
  .lesson-one-connection__sp-parts .lesson-one-connection__part:nth-child(7) { right: 11.7%; top: 63.7%; width: 16%; }
  .lesson-one-connection__sp-parts .lesson-one-connection__part:nth-child(8) { right: 0; bottom: 0; width: 40.7%; }
  .lesson-one-connection__sp > .lesson-one-connection__cloud { left: 30.5%; top: 37.33%; width: 38.37%; }
}

@media (prefers-reduced-motion: reduce) {
  .lesson-one-connection .lesson-one-connection__part { transition: none; }
  .lesson-one-connection.is-ready .lesson-one-connection__part { opacity: 1; transform: none; }
  .lesson-one-connection__cloud.is-pulsing { animation: none; }
}

.lower-story-footer {
  display: grid;
  margin: 12px 38px 0;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
  align-items: end;
  gap: 22px;
}

.lower-story-footer--promise {
  grid-template-columns: minmax(0, 2fr) minmax(280px, .7fr);
}

@media (max-width: 1000px) {
  .lower-story-footer { margin-inline: 10px; }
}

@media (max-width: 767px) {
  .lower-story-visual { margin: 0px 0 0; padding: 6px; border-radius: 14px; overflow-x: auto; }
  .lower-story-visual img { width: 780px; max-width: none; }
  .lower-story-footer,
  .lower-story-footer--promise { margin: 20px 0 0; grid-template-columns: 1fr; }
}

/* Lesson 1 page 4: how words spread. */
.lower-story-page--words .lower-story-hero__copy {
  padding-block: 25px 18px;
}

.lower-story-hero__guide .lower-words-hero__bubble {
  width: min(100%, 155px);
  height: auto;
  margin-bottom: -30px;
}

.lower-words-flow {
  position: relative;
  z-index: 3;
  display: grid;
  margin: -2px 18px 0;
  padding: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  background: rgb(255 255 255 / 96%);
  border-radius: 22px;
  box-shadow: 0 7px 18px rgb(7 90 158 / 12%);
  list-style: none;
}

.lower-words-card {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 10px 9px;
  grid-template-rows: auto 1fr auto;
  border: 2px solid #70b85b;
  border-radius: 14px;
  background: #fff;
}

.lower-words-card:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 46%;
  right: -13px;
  color: #43a63b;
  content: "▶";
  font-size: 1.25rem;
}

.lower-words-card--3 { border-color: #9380c0; }
.lower-words-card--4 { border-color: #f5a02b; }
.lower-words-card--5 { border-color: #ef6f78; }
.lower-words-card--3::after { color: #f5a02b; }
.lower-words-card--4::after { color: #ef6f78; }

.lower-words-card h2 {
  display: flex;
  min-height: 46px;
  margin: 0;
  align-items: flex-start;
  gap: 8px;
  font-size: clamp(0.875rem, var(--font-fluid-vw-1-05, 1.05vw), 1rem);
  line-height: 1.35;
}

.lower-words-card h2 span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: #48a33d;
  border-radius: 50%;
  font-size: 1rem;
}

.lower-words-card--3 h2 span { background: #7f66ac; }
.lower-words-card--4 h2 span { background: #f39418; }
.lower-words-card--5 h2 span { background: #ed5361; }

.lower-words-card img {
  display: block;
  width: 100%;
  height: 155px;
  margin-block: 2px 6px;
  object-fit: contain;
}

.lower-words-card p {
  margin: 0;
  font-size: clamp(0.875rem, var(--font-fluid-vw-0-8, 0.8vw), 0.875rem);
  font-weight: 700;
  line-height: 1.55;
}

.lower-words-footer {
  display: grid;
  margin: 14px 22px 0;
  grid-template-columns: 95px minmax(0, 1.7fr) minmax(270px, .9fr);
  align-items: end;
  gap: 12px;
}

.lower-words-footer__phone {
  width: 95px;
  max-height: 140px;
  object-fit: contain;
}

.lower-words-footer__promise {
  position: relative;
  display: grid;
  min-height: 115px;
  padding: 12px 12px 12px 100px;
  align-items: center;
  background: #fff1f1;
  border: 2px solid #f3a8aa;
  border-radius: 16px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.65;
}

.lower-words-footer__promise img {
  bottom: 0;
  left: 4px;
  width: 120px;
  max-height: 125px;
  object-fit: contain;
}

.lower-words-footer__promise p { margin: 0; }
@media (max-width: 1024px) {
  .lower-lesson-page .lower-words-footer { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lower-words-footer > :is(.lower-story-point, .lower-words-footer__promise) { grid-column: 1 / -1; width: 100%; min-width: 0; box-sizing: border-box; }
  .lower-words-footer__phone { justify-self: center; }
}
.lower-words-footer__promise strong { color: #e84b56; font-size: 0.875rem; }

@media (max-width: 1024px) {
  .lower-words-flow { margin-inline: 0; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lesson-one-page.lower-story-page--words .lower-words-flow > .lower-words-card { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; padding: 18px 20px; }
  .lesson-one-page.lower-story-page--words .lower-words-card > h2 { min-height: 0; max-width: 100%; text-align: left; }
  .lesson-one-page.lower-story-page--words .lower-words-card > img { width: min(100%, 320px); justify-self: center; }
  .lesson-one-page.lower-story-page--words .lower-words-card > p { width: fit-content; max-width: min(100%, 36rem); justify-self: center; text-align: left; }
  .lower-words-card:not(:last-child)::after { top: auto; right: auto; bottom: -24px; left: 50%; transform: translateX(-50%) rotate(90deg); }
}

@media (max-width: 1000px) {
  .lower-words-footer { grid-template-columns: 80px 1fr 250px; }
}

@media (max-width: 767px) {
  .lower-story-hero__guide .lower-words-hero__bubble { display: none; }
  .lower-words-flow { margin: 10px 0 0; padding: 8px; }
  .lower-words-card img { height: 145px; }
  .lower-words-footer { margin: 20px 0 0; }
  .lower-words-footer__phone { width: 65px; }
  .lower-words-footer__promise { grid-column: 1 / -1; padding-left: 86px; }
  .lower-story-next { grid-column: 1 / -1; margin-inline: auto;}

}

/* Lesson 1 overview: compact two-column layout for phones. */
@media (max-width: 767px) {
  .lesson-one-stage {
    background-image: url("../images/learning/lower/bgsp.png");
  }

  .lesson-one-page--overview .lesson-one-stage {
    padding: 76px 6px 36px;
    background-position: center top;
  }

  .lesson-one-page--overview .lesson-one-stage__inner {
    display: flex;
    width: 100%;
    max-width: 480px;
    padding: 0;
    flex-direction: column;
  }

  .lesson-one-page--overview .lesson-one-intro {
    order: 1;
    height: auto;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 215px;
  }

  .lesson-one-page--overview .lesson-one-intro .lower-story-hero__copy {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 0;
    padding: 10px 20px 28px;
  }
  .lesson-one-intro .lower-story-hero__visuals{
    position:relative;
  }

  .lesson-one-page--overview .lesson-one-intro__boy {
    top: 0px;
    right: 10px;
    width: 130px;
  }

  .lesson-one-page--overview .lesson-one-intro__phone {
    top: 72px;
    right: 130px;
    width: 82px;
  }

  .lesson-one-page--overview .lesson-one-intro__phone--left {
    top: 10px;
    right: auto;
    left: 2px;
    display: none;
    width: 82px;
  }

  .lesson-one-page--overview .lesson-one-intro__message {
    top: 18px;
    right: 130px;
    width: 130px;
  }

  .lesson-one-page--overview .lesson-one-topic-heading {
    order: 2;
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
    margin: -65px auto 12px;
    padding: 7px 8px;
    font-size: 0.9375rem;
    border-radius: 0;
  }

  .lesson-one-page--overview .lesson-one-topic-grid {
    order: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .lesson-one-page--overview .lesson-topic-card {
    border-radius: 16px;
  }

  .lesson-one-page--overview .lesson-topic-card__inner {
    min-height: 250px;
  }

  .lesson-one-page--overview .lesson-topic-card__face {
    border-width: 2px;
    border-radius: 16px;
  }

  .lesson-one-page--overview .lesson-topic-card__title {
    min-height: 50px;
    padding: 7px 6px;
    padding-right: 38px;
    gap: 6px;
    font-size: 1rem;
  }

  .lesson-one-page--overview .lesson-topic-card__title b {
    width: 31px;
    height: 31px;
    font-size: 1.0625rem;
  }

  .lesson-one-page--overview .lesson-topic-card__stamp-space,
  .lesson-one-page--overview .lesson-topic-card__seen-stamp {
    top: 7px;
    right: 5px;
    width: 34px;
    height: 34px;
  }

  .lesson-one-page--overview .lesson-topic-card__image {
    width: 94%;
    height: 142px;
  }

  .lesson-one-page--overview .lesson-topic-card__action {
    width: calc(100% - 12px);
    min-height: 40px;
    margin: 0 6px 7px;
    gap: 4px;
    border-radius: 8px;
    font-size: 0.875rem;
  }

  .lesson-one-page--overview .lesson-topic-card__complete {
    width: calc(100% - 12px);
    margin-bottom: 7px;
  }

  .lesson-one-page--overview .lesson-one-summary {
    position: relative;
    order: 5;
    display: grid;
    min-height: 155px;
    margin-top: 26px;
    padding-bottom: 0;
    grid-template-columns: 1.45fr .95fr;
    align-items: stretch;
    gap: 8px;
  }

  .lesson-one-page--overview .lesson-one-summary__phone {
    position: absolute;
    top: -300px;
    right: 0;
    display: grid;
    width: calc(50% - 4px);
    height: 260px;
    padding: 8px;
    grid-template-rows: auto 1fr;
    align-items: end;
    justify-items: center;
  }

  .lesson-one-page--overview .lesson-one-summary__phone p {
    grid-row: 1;
    padding: 10px 8px;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
  }

  .lesson-one-page--overview .lesson-one-summary__phone > img {
    grid-row: 2;
    width: 100px;
    max-height: 135px;
  }

  .lesson-one-page--overview .lesson-one-summary__phone strong {
    font-size: 1.5625rem;
  }

  .lesson-one-page--overview .lesson-one-seen-tracker {
    min-width: 0;
  }

  .lesson-one-page--overview .lesson-one-seen-tracker ol {
    gap: 3px;
  }

  .lesson-one-page--overview .lesson-one-seen-tracker li > span {
    width: 30px;
    height: 30px;
    border-width: 2px;
  }

  .lesson-one-page--overview .lesson-one-seen-tracker li > b {
    margin-top: 3px;
    font-size: 0.875rem;
  }

  .lesson-one-page--overview .lesson-one-summary__girl {
    display: none;
  }

  .lesson-one-page--overview .lesson-one-next {
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
  }

  .lesson-one-page--overview .related-content-list {
    padding: 28px 12px 44px;
    background: linear-gradient(135deg, #eafffb, #d9f7f3);
  }

  .lesson-one-page--overview .related-content-list .section-container {
    width: 100%;
  }

  .lesson-one-page--overview .related-content-list .section-heading {
    margin-bottom: 22px;
  }

  .lesson-one-page--overview .related-content-list .section-heading h2 {
    color: var(--lesson-one-navy);
    font-size: 1.5rem;
  }

  .lesson-one-page--overview .related-content-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lesson-one-page--overview .related-content-card,
  .lesson-one-page--overview .related-content-card:nth-child(5) {
    min-height: 112px;
    padding: 12px 14px;
    grid-column: auto;
    grid-template-columns: 66px minmax(0, 1fr) 34px;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    border-radius: 14px;
  }

  .lesson-one-page--overview .related-content-card__icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 62px;
    height: 62px;
  }

  .lesson-one-page--overview .related-content-card__icon img {
    width: 52px;
    height: 52px;
  }

  .lesson-one-page--overview .related-content-card__copy strong {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 1rem;
  }

  .lesson-one-page--overview .related-content-card__copy small {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .lesson-one-page--overview .related-content-card__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    width: 34px;
    height: 34px;
  }
}

.lesson-one-intro .lower-story-hero__copy h1 {
  font-size: clamp(1.625rem, 2.4vw, 2.4375rem);
}

.lesson-one-intro .lower-story-hero__copy p {
  text-wrap: balance;
}

.lesson-one-topic-heading::before,
.lesson-one-topic-heading::after {
  position: absolute;
  z-index: -1;
  top: 10px;
  width: 36px;
  height: 100%;
  background: linear-gradient(to bottom, #090f50 0 10px, #101d72 10px);
  box-shadow: inset 0 3px 3px rgb(0 0 0 / 18%);
  content: "";
}

.lesson-one-topic-heading::before {
  left: -28px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 24% 50%);
}

.lesson-one-topic-heading::after {
  right: -28px;
  clip-path: polygon(0 0, 100% 0, 76% 50%, 100% 100%, 0 100%);
}

@media (min-width: 768px) and (max-width: 1200px) {
  .lesson-one-summary { padding-bottom: 0; }
  .lesson-one-summary__phone,
  .lesson-one-summary__girl { height: auto; min-height: 170px; }
  .lesson-one-summary__phone > img { width: 120px; height: auto; max-height: none; flex-shrink: 0; }
  .lesson-one-summary__girl img:first-child { width: 160px; max-width: 100%; height: auto; max-height: none; flex-shrink: 0; }
}

@media (max-width: 767px) {
  .lesson-one-intro .lower-story-hero__copy h1 { font-size: 1.5rem; }
  .lesson-one-intro .lower-story-hero__copy p { font-size: .875rem; line-height: 1.7; }
  .lesson-one-intro .lower-story-hero__copy h1::before,
  .lesson-one-intro .lower-story-hero__copy h1::after { top: 42px; width: 8px; height: 12px; }
  .lesson-one-topic-heading::before,
  .lesson-one-topic-heading::after { top: 5px; width: 22px; }
  .lesson-one-topic-heading::before { left: -14px; }
  .lesson-one-topic-heading::after { right: -14px; }
}

/* Overview adjustments do not affect the other lesson story screens. */
.lesson-one-page--overview .lesson-one-intro .lower-story-hero__copy {
  padding-block: 10px 40px;
}

.lesson-one-page--overview .lesson-one-topic-heading > span {
  position: relative;
  z-index: 1;
}

.lesson-one-page--overview .lesson-one-topic-heading {
  background: transparent;
  box-shadow: none;
}

.lesson-one-page--overview .lesson-one-topic-heading > .lesson-one-topic-heading__band {
  /* Cover the tucked ends with a separate front face above the tails. */
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--lesson-one-navy);
  box-shadow: 0 3px 0 rgb(255 255 255 / 60%);
}

.lesson-one-page--overview .lesson-one-summary__phone p {
  min-width: 0;
  padding: 12px 14px;
  font-size: 1.25rem;
  line-height: 1.5;
  text-wrap: balance;
  text-align: center;
  white-space: pre-line;
}

@media (min-width: 1201px) {
  .lesson-one-page--overview .lesson-one-summary__phone p { flex: 1; }
  .lesson-one-page--overview .lesson-one-summary__girl img:last-child { transform: translateY(-32px); }
  .lesson-one-page--overview .lesson-one-next {
    bottom: 12px;}
}

@media (min-width: 768px) and (max-width: 1200px) {
  .lesson-one-page--overview .lesson-one-topic-grid { gap: 12px; }
  .lesson-one-page--overview .lesson-topic-card__inner { min-height: 280px; }
  .lesson-one-page--overview .lesson-topic-card__image { height: 150px; }
  .lesson-one-page--overview .lesson-one-summary { margin-top: 18px; gap: 12px 16px; padding-bottom: 0; }
  .lesson-one-page--overview .lesson-one-summary__phone > img { width: 100px; }
  .lesson-one-page--overview .lesson-one-summary__girl img:first-child { width: 130px; }
  .lesson-one-page--overview .lesson-one-summary__girl img:last-child { width: 150px; transform: translateY(-24px); }
  .lesson-one-page--overview .lesson-one-next { bottom: 0;}
  .lesson-one-page--overview .related-content-list { padding-top: 36px; }
}

@media (max-width: 1000px) {
  .lesson-one-page--overview .lesson-one-intro { min-height: 280px; }
  .lesson-one-page--overview .lesson-one-intro .lower-story-hero__copy {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
  }
  .lesson-one-page--overview .lower-story-hero__copy h1 { font-size: 1.5rem; }
  .lesson-one-page--overview .lower-story-hero__copy p { font-size: 1rem; }
  .lesson-one-page--overview .lesson-one-intro__boy { top: 0; right: 50px; width: 200px; }
  .lesson-one-page--overview .lesson-one-intro__phone { top: 140px; width: 120px; }
  .lesson-one-page--overview .lesson-one-intro__message { top: 110px; right: 145px; width: 120px; }
}

@media (max-width: 769px) {
  .lesson-one-page--overview .lower-story-hero__decoration { display: none; }
  .lesson-one-page--overview .lower-story-hero__description { padding-bottom: 0; }
  .lesson-one-page--overview .lower-story-hero__description > p { width: 100%; }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .lesson-one-page--overview .lesson-one-intro__message { display: none; }
  .lesson-one-page--overview .lesson-one-topic-heading { margin-top: -54px; }
}

@media (max-width: 767px) {
  .lesson-one-page--overview .lesson-one-intro { min-height: 0; }

  .lesson-one-page--overview .lesson-one-intro .lower-story-hero__copy { width: 100%; padding: 12px 20px; }
  .lesson-one-page--overview .lower-story-hero__copy h1 { font-size: 1.375rem; line-height: 1.3; margin-bottom: 8px; }
  .lesson-one-page--overview .lower-story-hero__copy p { font-size: 0.875rem; }
  .lesson-one-page--overview .lesson-one-intro__boy { top: 0px; right: 10px; width: 130px; }
  .lesson-one-page--overview .lesson-one-intro__phone { top: 80px; right: 130px; width: 82px; }
  .lesson-one-page--overview .lesson-one-intro__message { top: -2px; right: 130px; width: 130px; }
  .lesson-one-page--overview .lesson-one-summary__phone p { padding: 10px 4px; font-size: clamp(0.875rem, calc(9vw - 19.4px), 1rem); }
}

@media (max-width: 360px) {
  .lesson-one-page--overview .lesson-one-intro .lower-story-hero__copy { padding: 12px; }
  .lesson-one-page--overview .lower-story-hero__copy h1 { font-size: 1.125rem; margin-bottom: 5px; }
  .lesson-one-page--overview .lower-story-hero__copy p { font-size: 0.875rem; line-height: 1.55; letter-spacing: -.02em; }
  .lesson-one-page--overview .lesson-one-summary__phone p { padding-inline: 2px; font-size: 0.875rem; }
}

.lesson-one-page:is(.lower-story-page--connection, .lower-story-page--words) .lower-story-hero__guide,
.lesson-one-page .lower-review-hero > img {
  position: relative;
  z-index: 2;
}

/* STEP4 and STEP5 switch Hero rows together, without changing other Lessons. */
@media (min-width: 1025px) and (max-width: 1100px) {
  .lower-lesson-page.lesson-one-page .lower-lesson-stage .lower-story-hero.lower-words-hero.lower-story-hero--balanced {
    grid-template-columns: 130px minmax(0, 1fr) 320px;
    grid-template-areas: 'person copy guide';
  }
  .lower-lesson-page.lesson-one-page .lower-lesson-stage .lower-story-hero.lower-words-hero.lower-story-hero--balanced .lower-story-hero__copy { width: 94%; }
  .lower-lesson-page.lesson-one-page .lower-lesson-stage .lower-story-hero.lower-words-hero.lower-story-hero--balanced .lower-story-hero__guide { width: 100%; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lesson-one-page.lower-review-page .lower-review-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .lesson-one-page.lower-review-page .lower-review-hero > .lower-cloud-frame {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }
  .lesson-one-page.lower-review-page .lower-review-hero > img {
    width: min(100%, 170px);
    max-height: 230px;
  }
  .lesson-one-page.lower-review-page .lower-review-hero > img:first-child { justify-self: end; }
  .lesson-one-page.lower-review-page .lower-review-hero > img:last-child { justify-self: start; }
}

/* Match the visible figures, allowing for each asset's transparent margins. */
@media (max-width: 1024px) {
  .lesson-one-page:is(.lower-story-page--words, .lower-review-page) { --lesson-one-hero-figure-height: 160px; }
  .lower-lesson-page.lesson-one-page .lower-lesson-stage .lower-story-hero.lower-words-hero.lower-story-hero--balanced .lower-story-hero__person,
  .lower-lesson-page.lesson-one-page .lower-lesson-stage .lower-story-hero.lower-words-hero.lower-story-hero--balanced .lower-story-hero__guide > img:not(.lower-words-hero__bubble),
  .lesson-one-page.lower-review-page .lower-review-hero > img {
    width: auto;
    max-width: 100%;
    height: calc(var(--lesson-one-hero-figure-height) * 414 / 411);
    max-height: none;
    object-fit: contain;
    align-self: end;
  }
  .lower-lesson-page.lesson-one-page .lower-lesson-stage .lower-story-hero.lower-words-hero.lower-story-hero--balanced .lower-story-hero__guide > img:not(.lower-words-hero__bubble),
  .lesson-one-page.lower-review-page .lower-review-hero > img:last-child {
    height: calc(var(--lesson-one-hero-figure-height) * 556 / 519);
  }
  .lower-lesson-page.lesson-one-page .lower-lesson-stage .lower-story-hero.lower-words-hero.lower-story-hero--balanced .lower-story-hero__guide {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .lesson-one-page.lower-review-page .lower-review-hero { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .lesson-one-page.lower-story-page--words { --lesson-one-hero-figure-height: 140px; }
  .lesson-one-page.lower-review-page { --lesson-one-hero-figure-height: 120px; }
  .lesson-one-page.lower-review-page .lower-review-hero > img:last-child { --lesson-one-hero-figure-height: 110px; }
}

/* Lesson 1 page 3: a photo can spread beyond its original audience. */
.lower-story-page--spread :is(.lower-spread-panel, .lower-people-panel, .lower-spread-footer) {
  width: min(100%, 1100px);
  margin-inline: auto;
}

.lower-story-page--spread :is(.lower-spread-panel, .lower-people-panel) {
  min-width: 0;
  padding: 22px 20px 18px;
  background: #fff;
  border: 2px solid #83c792;
  border-radius: 18px;
}

.lower-story-page--spread .lower-spread-panel {
  margin-top: 22px;
}

.lower-story-page--spread .lower-spread-panel > h2 {
  width: fit-content;
  max-width: 100%;
  margin: -36px 0 14px;
  padding: 7px 24px;
  color: #fff;
  background: #248d40;
  border-radius: 999px;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.lower-story-page--spread .lower-spread-flow {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  list-style: none;
}

.lower-story-page--spread .lower-spread-step {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lower-story-page--spread .lower-spread-step:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 55%;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 13px solid #2b9a45;
  content: "";
}

.lower-story-page--spread .lower-spread-step h3 {
  display: flex;
  min-height: 62px;
  margin: 0;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  color: #242424;
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  font-weight: 800;
  line-height: 1.45;
}

.lower-story-page--spread .lower-spread-step__number {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: #fff;
  background: #248d40;
  border-radius: 50%;
  font-size: 1.125rem;
  line-height: 1;
}

.lower-story-page--spread :is(.lower-spread-step, .lower-people-card) img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.lower-story-page--spread .lower-spread-step img {
  max-height: 180px;
  margin-top: auto;
}

.lower-story-page--spread .lower-spread-warning {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 7px 15px;
  align-items: center;
  gap: 10px;
  color: #2b2b2b;
  background: #fff9dd;
  border: 1px solid #f2c832;
  border-radius: 6px;
  font-size: clamp(0.875rem, 1.35vw, 1.125rem);
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

.lower-story-page--spread .lower-spread-warning strong {
  color: #e72f2f;
}

.lower-story-page--spread .lower-spread-warning__icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  color: #352c00;
  background: #ffce18;
  border-radius: 50%;
  font-weight: 900;
}

.lower-story-page--spread .lower-people-panel {
  margin-top: 16px;
  border-color: #99d8df;
}

.lower-story-page--spread .lower-people-panel > h2 {
  margin: 0 0 8px;
  color: #12999b;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.4;
}

.lower-story-page--spread .lower-people-panel__lead {
  margin: 0 0 14px;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 700;
  line-height: 1.65;
}

.lower-story-page--spread .lower-people-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.lower-story-page--spread .lower-people-card {
  display: flex;
  min-width: 0;
  padding: 10px 8px 4px;
  flex-direction: column;
  align-items: center;
  background: #f8fcff;
  border: 2px solid #c9e3fc;
  border-radius: 12px;
}

.lower-story-page--spread .lower-people-card h3 {
  display: flex;
  min-height: 62px;
  width: 100%;
  margin: 0;
  align-items: flex-start;
  gap: 9px;
  color: #075bcc;
  font-size: clamp(0.875rem, 1.15vw, 1rem);
  font-weight: 800;
  line-height: 1.4;
}

.lower-story-page--spread .lower-people-card__number {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: #fff;
  background: #0874c9;
  border-radius: 50%;
  font-size: 1.125rem;
  line-height: 1;
}

.lower-story-page--spread .lower-people-card img {
  max-height: 175px;
  margin-top: auto;
}

.lower-story-page--spread .lower-people-message {
  margin: 12px 0 0;
  padding: 9px 16px;
  color: #075bcc;
  background: #e7f3ff;
  border-radius: 8px;
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

.lower-story-page--spread .lower-spread-footer {
  margin-top: 16px;
}

.lower-story-page--spread .lower-spread-next-guide img {
  display: block;
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .lower-story-page--spread .lower-spread-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .lower-story-page--spread .lower-spread-step::after {
    display: none;
  }
  .lower-story-page--spread .lower-people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .lower-story-page--spread :is(.lower-spread-panel, .lower-people-panel) {
    padding: 20px 14px 14px;
  }
  .lower-story-page--spread .lower-spread-panel > h2 {
    margin-top: -33px;
    padding-inline: 14px;
  }
  .lower-story-page--spread :is(.lower-spread-flow, .lower-people-grid) {
    grid-template-columns: 1fr;
  }
  .lower-story-page--spread .lower-spread-step {
    padding: 8px 0;
    border-bottom: 1px solid #d8ead9;
  }
  .lower-story-page--spread .lower-spread-step:last-child {
    border-bottom: 0;
  }
  .lower-story-page--spread .lower-spread-step h3 {
    min-height: 0;
    margin-bottom: 8px;
    align-self: flex-start;
    text-align: left;
  }
  .lower-story-page--spread .lower-spread-step img,
.lower-story-page--spread .lower-people-card img {
    width: min(100%, 240px);
    max-height: none;
  }
  .lower-story-page--spread .lower-people-card h3 {
    min-height: 0;
    margin-bottom: 8px;
  }
  .lower-story-page--spread .lower-people-panel__lead br,
  .lower-story-page--spread .lower-people-message br {
    display: none;
  }
  .lower-story-page--spread .lower-spread-warning {
    align-items: flex-start;
    text-align: left;
  }
  .lower-story-page--spread .lower-spread-footer {
    margin-top: 16px;
  }
}

/* Viewed-topic panels share the quiz skin, while retaining their own stamps/state. */
.lesson-one-progress-panels {
  display: grid;
  grid-column: 2 / 4;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  min-width: 0;
}
.lesson-one-summary__count > .lower-progress-panel__value { display: block; margin-bottom: 4px; }
@media (max-width: 1200px) {
  .lesson-one-progress-panels { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .lesson-one-page--overview .lesson-one-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lesson-one-summary__phone { grid-column: 1; grid-row: 1; }
  .lesson-one-summary__girl { grid-column: 2; grid-row: 1; }
  .lesson-one-progress-panels { grid-row: 2; }
}
@media (max-width: 767px) {
  .lesson-one-progress-panels { grid-template-columns: minmax(0, 1fr); }
}
