/* Integrated screen 10: video lesson. */

html:has(body.screen-10-preview) {
  scroll-behavior: auto;
}

.screen-10-preview,
.screen-10-landing {
  background: var(--color-bg-soft);
}

.lesson-screen {
  --lesson-ink: #0b1425;
  --lesson-text: rgba(45, 62, 82, 0.86);
  --lesson-muted: rgba(72, 88, 112, 0.78);
  --lesson-green: #008747;
  --lesson-green-dark: #005f42;
  --lesson-line: rgba(197, 210, 208, 0.74);
  --lesson-panel-line: rgba(207, 217, 226, 0.82);
  --lesson-soft: rgba(226, 246, 237, 0.88);
  --lesson-available-height: calc(100vh - var(--np-anchor-offset));
  position: relative;
  display: grid;
  place-items: center;
  min-height: var(--lesson-available-height);
  scroll-margin-top: var(--np-anchor-offset);
  overflow: hidden;
  color: var(--lesson-ink);
  background:
    radial-gradient(ellipse 49% 60% at 71% 47%, rgba(224, 246, 234, 0.42), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 246, 241, 0.96)),
    var(--color-bg-soft);
  font-family: var(--font-body);
  letter-spacing: 0;
}

.screen-10-preview .lesson-screen {
  --np-anchor-offset: 0px;
}

@supports (height: 100svh) {
  .lesson-screen {
    --lesson-available-height: calc(100svh - var(--np-anchor-offset));
  }
}

@supports (overflow: clip) {
  .lesson-screen {
    overflow: clip;
  }
}

.lesson-screen::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 17% -14% -13% 42%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 61% 36%, rgba(255, 255, 255, 0.88), transparent 29%),
    linear-gradient(135deg, rgba(221, 247, 234, 0.62), rgba(238, 251, 244, 0.25));
  filter: blur(1px);
  transform: rotate(-6deg);
}

.lesson-screen::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto -11% -19% 30%;
  height: 33%;
  border-radius: 50% 50% 0 0;
  background: rgba(218, 246, 232, 0.36);
  filter: blur(10px);
}

.lesson-molecule {
  position: absolute;
  z-index: 1;
  fill: none;
  stroke: #79cdb9;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.5;
  pointer-events: none;
}

.lesson-molecule circle {
  fill: rgba(247, 250, 248, 0.95);
}

.lesson-molecule--br {
  right: -22px;
  top: 18px;
  width: min(17vw, 292px);
  transform: rotate(6deg);
}

.lesson-molecule--tl {
  left: -14px;
  bottom: 24px;
  width: min(14vw, 238px);
  transform: rotate(180deg);
}

.lesson-screen__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1672px);
  max-width: 1672px;
  aspect-ratio: 1672 / 941;
  min-height: 0;
  container-type: inline-size;
}

.lesson-screen__copy,
.lesson-lead,
.lesson-features,
.lesson-feature,
.lesson-feature > div,
.lesson-video,
.lesson-player,
.lesson-player__stage,
.lesson-sidebar,
.lesson-dashboard,
.lesson-metrics,
.lesson-dashboard__bottom,
.metric-card,
.deviation-card,
.interpretation-card,
.recommendation-card {
  min-width: 0;
}

@supports not (height: 100svh) {
  .lesson-screen__inner {
    width: min(100%, 1672px);
  }
}

.lesson-screen__copy {
  position: absolute;
  left: 4.05%;
  top: 7.2%;
  width: 37%;
  max-width: none;
}

.lesson-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.35cqw;
  margin: 0 0 2.75cqw;
  color: var(--lesson-green);
  font-size: 1.04cqw;
  font-weight: 840;
  line-height: 1.2;
  text-transform: uppercase;
}

.lesson-eyebrow::before {
  content: "";
  flex: 0 0 2.55cqw;
  width: 2.55cqw;
  height: 0.18cqw;
  min-height: 2px;
  background: currentColor;
}

.lesson-screen h2 {
  width: 113%;
  margin: 0;
  color: var(--lesson-ink);
  font-family: var(--font-body);
  font-size: 3.63cqw;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  white-space: nowrap;
  transform: scaleX(0.88);
  transform-origin: left top;
}

.lesson-screen h2 span {
  color: var(--lesson-green);
}

.lesson-lead {
  width: 34.9cqw;
  margin: 1.55cqw 0 0;
  color: var(--lesson-text);
  font-size: 1.27cqw;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.lesson-features {
  position: absolute;
  left: 4.05%;
  top: 60.45%;
  display: grid;
  gap: 1.62cqw;
  width: 30.8cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-feature {
  display: grid;
  grid-template-columns: 4.25cqw minmax(0, 1fr);
  gap: 1.32cqw;
  align-items: start;
  min-height: 5.95cqw;
}

.lesson-feature:not(:last-child) > div {
  padding-bottom: 1.44cqw;
  border-bottom: 1px solid var(--lesson-line);
}

.lesson-icon {
  width: 3.6cqw;
  height: 3.6cqw;
  border: 1px solid rgba(7, 84, 61, 0.12);
  border-radius: 0.9cqw;
  color: var(--lesson-green);
  background: var(--lesson-soft);
}

.lesson-icon svg {
  width: 2.05cqw;
  height: 2.05cqw;
  stroke-width: 1.9;
}

.lesson-feature h3 {
  margin: 0;
  color: var(--lesson-ink);
  font-family: var(--font-body);
  font-size: 1.25cqw;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
}

.lesson-feature p {
  margin: 0.62cqw 0 0;
  color: var(--lesson-muted);
  font-size: 1.02cqw;
  line-height: 1.42;
  overflow-wrap: break-word;
}

.lesson-video {
  position: absolute;
  top: 8.15%;
  right: 3.72%;
  width: 52.65%;
  height: 82.7%;
  margin: 0;
  padding: 2.38cqw;
  border: 1px solid rgba(219, 226, 231, 0.86);
  border-radius: 1.25cqw;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 31px 78px rgba(27, 75, 60, 0.1);
}

.lesson-video__caption {
  display: grid;
  gap: 0.66cqw;
  margin: 0 0 1.65cqw;
}

.lesson-video__caption strong {
  color: var(--lesson-ink);
  font-size: 1.64cqw;
  font-weight: 830;
  line-height: 1.18;
}

.lesson-video__caption span {
  color: rgba(54, 72, 98, 0.84);
  font-size: 1.1cqw;
  line-height: 1.28;
}

.lesson-player {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--lesson-panel-line);
  border-radius: 0.72cqw;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.lesson-player--embed {
  border-radius: 20px;
  background: #000;
}

.lesson-video__iframe {
  width: 100%;
  height: clamp(300px, 32.3cqw, 540px);
  border: 0;
}

.lesson-player__stage {
  display: grid;
  grid-template-columns: 19.1% 1fr;
  height: 29.65cqw;
  min-height: 0;
  color: #121a2a;
}

.lesson-sidebar {
  display: grid;
  grid-auto-rows: max-content;
  gap: 1.25cqw;
  padding: 1.85cqw 0.75cqw 1cqw 1.08cqw;
  border-right: 1px solid rgba(215, 224, 231, 0.86);
  background: linear-gradient(180deg, rgba(250, 252, 251, 0.88), rgba(246, 249, 248, 0.96));
  font-size: 0.72cqw;
  font-weight: 760;
}

.lesson-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.64cqw;
  margin-bottom: 0.7cqw;
  color: var(--lesson-ink);
  font-size: 0.88cqw;
  font-weight: 830;
}

.lesson-sidebar svg {
  width: 1.05cqw;
  height: 1.05cqw;
  fill: none;
  stroke: var(--lesson-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lesson-sidebar > span {
  display: flex;
  align-items: center;
  min-height: 2.05cqw;
  padding: 0 0.7cqw;
  color: #2d3d55;
  border-radius: 0.46cqw;
}

.lesson-sidebar > span::before {
  content: "";
  width: 0.64cqw;
  height: 0.64cqw;
  margin-right: 0.58cqw;
  border: 1px solid rgba(91, 107, 132, 0.72);
  border-radius: 0.16cqw;
}

.lesson-sidebar > .is-active {
  color: var(--lesson-green);
  background: rgba(226, 246, 237, 0.92);
}

.lesson-sidebar > .is-active::before {
  border-color: var(--lesson-green);
  box-shadow: inset 0 0 0 0.16cqw rgba(0, 135, 71, 0.12);
}

.lesson-dashboard {
  padding: 1.72cqw 1.55cqw 1.42cqw;
  background:
    linear-gradient(180deg, rgba(252, 253, 253, 0.96), rgba(255, 255, 255, 0.94)),
    #fff;
}

.lesson-dashboard h3 {
  margin: 0;
  color: var(--lesson-ink);
  font-size: 1.08cqw;
  font-weight: 830;
  line-height: 1.2;
}

.lesson-dashboard > p {
  margin: 0.72cqw 0 1.2cqw;
  color: rgba(94, 111, 138, 0.86);
  font-size: 0.72cqw;
  line-height: 1.35;
}

.lesson-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr;
  gap: 0.72cqw;
}

.metric-card,
.deviation-card,
.interpretation-card,
.recommendation-card {
  min-width: 0;
  border: 1px solid rgba(213, 222, 229, 0.86);
  border-radius: 0.48cqw;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 13px 30px rgba(32, 57, 74, 0.035);
}

.metric-card {
  position: relative;
  min-height: 9.3cqw;
  padding: 1.12cqw 0.84cqw 0.72cqw;
  overflow: hidden;
}

.metric-card span {
  display: block;
  color: rgba(75, 91, 118, 0.86);
  font-size: 0.72cqw;
  line-height: 1.48;
}

.metric-card strong {
  display: inline-block;
  margin-top: 1.15cqw;
  color: var(--lesson-ink);
  font-size: 1.48cqw;
  font-weight: 830;
  line-height: 1;
}

.metric-card small {
  position: absolute;
  top: 4.66cqw;
  right: 0.88cqw;
  color: var(--lesson-green);
  font-size: 0.68cqw;
  font-weight: 820;
}

.metric-card svg {
  position: absolute;
  left: 0.76cqw;
  right: 0.76cqw;
  bottom: 1.08cqw;
  width: calc(100% - 1.52cqw);
  height: 3.2cqw;
  fill: none;
  stroke: var(--lesson-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-card--green i {
  position: absolute;
  left: 50%;
  bottom: -1.2cqw;
  width: 6.7cqw;
  height: 6.7cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 46% 40%, #11885a 0 54%, #006342 55% 100%);
  transform: translateX(-50%);
}

.metric-card--green i::before {
  content: "";
  position: absolute;
  left: 51%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 1.1cqw solid transparent;
  border-bottom: 1.1cqw solid transparent;
  border-left: 1.55cqw solid rgba(255, 255, 255, 0.94);
  transform: translate(-38%, -50%);
}

.metric-card--red small {
  color: #5f6d82;
}

.metric-card--red svg {
  stroke: #ff332f;
}

.deviation-card {
  padding: 1.1cqw 1cqw 0.8cqw;
}

.deviation-card h4,
.interpretation-card h4,
.recommendation-card h4 {
  margin: 0;
  color: var(--lesson-ink);
  font-size: 0.82cqw;
  font-weight: 830;
  line-height: 1.2;
}

.deviation-card p {
  position: relative;
  margin: 0.78cqw 0 0;
  padding-left: 1.05cqw;
  color: #172033;
  font-size: 0.72cqw;
  line-height: 1.34;
}

.deviation-card b {
  display: block;
  font-weight: 830;
}

.deviation-card span {
  display: block;
  margin-top: 0.18cqw;
  color: rgba(75, 91, 118, 0.86);
}

.dot {
  position: absolute;
  left: 0;
  top: 0.2cqw;
  width: 0.56cqw;
  height: 0.56cqw;
  border-radius: 50%;
}

.dot--red {
  background: #f5222d;
}

.dot--amber {
  background: #f59e0b;
}

.dot--coral {
  background: #ff4d3f;
}

.lesson-dashboard__bottom {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 0.72cqw;
  margin-top: 1.2cqw;
}

.interpretation-card,
.recommendation-card {
  min-height: 7.55cqw;
  padding: 1.12cqw 1cqw;
}

.interpretation-card p,
.recommendation-card p {
  margin: 1.05cqw 0 0;
  color: rgba(75, 91, 118, 0.86);
  font-size: 0.68cqw;
  line-height: 1.46;
}

.interpretation-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42cqw;
  margin-top: 1.15cqw;
}

.interpretation-card span {
  display: inline-flex;
  align-items: center;
  min-height: 1.58cqw;
  padding: 0 0.62cqw;
  border-radius: 0.32cqw;
  color: #314155;
  background: rgba(243, 246, 247, 0.96);
  font-size: 0.58cqw;
  font-weight: 780;
}

.interpretation-card span:first-child {
  color: var(--lesson-green);
  background: rgba(226, 246, 237, 0.92);
}

.recommendation-card a {
  display: inline-block;
  margin-top: 1.3cqw;
  color: var(--lesson-green);
  font-size: 0.68cqw;
  font-weight: 830;
}

.lesson-play-button {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 49%;
  display: grid;
  place-items: center;
  width: 6.65cqw;
  height: 6.65cqw;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 35%, rgba(16, 136, 86, 0.94), rgba(0, 95, 66, 0.98));
  box-shadow: 0 18px 34px rgba(0, 95, 66, 0.24);
  transform: translate(-50%, -50%);
}

.lesson-play-button svg {
  width: 2.75cqw;
  height: 2.75cqw;
  fill: rgba(255, 255, 255, 0.95);
}

.lesson-controls {
  display: grid;
  grid-template-columns: 2.2cqw minmax(0, 1fr) auto 1.65cqw 1.65cqw;
  align-items: center;
  gap: 1.3cqw;
  height: 3.1cqw;
  padding: 0 1.35cqw;
  color: #fff;
  background: linear-gradient(180deg, #006849, #00563e);
}

.lesson-controls svg {
  width: 1.42cqw;
  height: 1.42cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lesson-controls__play {
  fill: currentColor !important;
  stroke: none !important;
}

.lesson-progress {
  position: relative;
  height: 0.34cqw;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.lesson-progress::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 64%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.95);
}

.lesson-progress span {
  position: absolute;
  left: 64%;
  top: 50%;
  width: 1cqw;
  height: 1cqw;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.lesson-controls time {
  font-size: 0.92cqw;
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 1241px) and (max-height: 860px) {
  .lesson-screen__inner {
    width: min(100vw, calc(var(--lesson-available-height) * 1672 / 941));
  }
}

@media (min-width: 741px) and (max-width: 1240px) {
  .lesson-screen {
    place-items: start center;
  }

  .lesson-screen__inner {
    display: grid;
    grid-template-columns: minmax(300px, 0.7fr) minmax(410px, 1.3fr);
    grid-template-areas:
      "copy video"
      "features video";
    align-items: start;
    gap: clamp(18px, 2.4vw, 28px) clamp(28px, 4vw, 50px);
    width: 100%;
    max-width: 1180px;
    min-height: var(--lesson-available-height);
    aspect-ratio: auto;
    padding: clamp(44px, 5.8vh, 58px) clamp(24px, 3.8vw, 44px) clamp(34px, 4vw, 48px);
    container-type: normal;
  }

  .lesson-screen__copy,
  .lesson-features,
  .lesson-video {
    position: static;
  }

  .lesson-screen__copy {
    grid-area: copy;
    width: 100%;
  }

  .lesson-eyebrow {
    gap: 13px;
    margin-bottom: clamp(18px, 2.2vw, 28px);
    font-size: clamp(12px, 1.35vw, 15px);
  }

  .lesson-eyebrow::before {
    flex-basis: clamp(38px, 4.6vw, 52px);
    width: clamp(38px, 4.6vw, 52px);
    height: 2px;
  }

  .lesson-screen h2 {
    width: 112%;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
  }

  .lesson-lead {
    width: auto;
    max-width: 390px;
    margin-top: clamp(16px, 2.2vw, 24px);
    font-size: clamp(15px, 1.8vw, 19px);
    line-height: 1.48;
  }

  .lesson-features {
    grid-area: features;
    gap: clamp(10px, 1.6vw, 16px);
    width: 100%;
    max-width: 390px;
  }

  .lesson-feature {
    grid-template-columns: clamp(44px, 4.8vw, 54px) minmax(0, 1fr);
    gap: clamp(11px, 1.3vw, 16px);
    min-height: 0;
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: clamp(10px, 1.5vw, 15px);
  }

  .lesson-icon {
    width: clamp(44px, 4.8vw, 54px);
    height: clamp(44px, 4.8vw, 54px);
    border-radius: 8px;
  }

  .lesson-icon svg {
    width: clamp(23px, 2.45vw, 28px);
    height: clamp(23px, 2.45vw, 28px);
  }

  .lesson-feature h3 {
    font-size: clamp(17px, 1.9vw, 22px);
    line-height: 1.18;
  }

  .lesson-feature p {
    margin-top: 4px;
    font-size: clamp(13px, 1.45vw, 16px);
    line-height: 1.34;
  }

  .lesson-video {
    grid-area: video;
    width: 100%;
    height: auto;
    align-self: center;
    padding: clamp(20px, 2.4vw, 28px);
    border-radius: 18px;
  }

  .lesson-video__caption {
    gap: 8px;
    margin-bottom: clamp(16px, 2vw, 24px);
  }

  .lesson-video__caption strong {
    font-size: clamp(22px, 2.7vw, 30px);
  }

  .lesson-video__caption span {
    font-size: clamp(15px, 1.75vw, 19px);
  }

  .lesson-player {
    border-radius: 10px;
  }

  .lesson-player--embed {
    border-radius: 16px;
  }

  .lesson-video__iframe {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .lesson-player__stage {
    height: auto;
    aspect-ratio: 812 / 496;
  }

  .lesson-sidebar {
    gap: 1.35vw;
    padding: 2vw 0.85vw 1vw 1.2vw;
    font-size: clamp(6px, 0.85vw, 8.8px);
  }

  .lesson-sidebar__brand {
    gap: 0.75vw;
    font-size: clamp(7px, 1vw, 10px);
  }

  .lesson-sidebar svg {
    width: 1.2vw;
    height: 1.2vw;
  }

  .lesson-sidebar > span {
    min-height: 2.3vw;
    padding: 0 0.8vw;
    border-radius: 6px;
  }

  .lesson-sidebar > span::before {
    width: 0.72vw;
    height: 0.72vw;
    margin-right: 0.7vw;
    border-radius: 2px;
  }

  .lesson-dashboard {
    padding: 1.9vw 1.75vw 1.55vw;
  }

  .lesson-dashboard h3 {
    font-size: clamp(9px, 1.28vw, 13px);
  }

  .lesson-dashboard > p,
  .metric-card span,
  .deviation-card p {
    font-size: clamp(5.6px, 0.84vw, 8.4px);
  }

  .lesson-metrics,
  .lesson-dashboard__bottom {
    gap: 0.82vw;
  }

  .metric-card {
    min-height: 10.3vw;
    padding: 1.2vw 0.9vw 0.8vw;
    border-radius: 7px;
  }

  .metric-card strong {
    margin-top: 1.25vw;
    font-size: clamp(14px, 1.75vw, 19px);
  }

  .metric-card small {
    top: 5.2vw;
    right: 0.9vw;
    font-size: clamp(5.5px, 0.8vw, 8px);
  }

  .metric-card svg {
    left: 0.86vw;
    right: 0.86vw;
    bottom: 1.18vw;
    width: calc(100% - 1.72vw);
    height: 3.35vw;
  }

  .metric-card--green i {
    width: 7.3vw;
    height: 7.3vw;
  }

  .metric-card--green i::before {
    border-top-width: 1.15vw;
    border-bottom-width: 1.15vw;
    border-left-width: 1.65vw;
  }

  .deviation-card,
  .interpretation-card,
  .recommendation-card {
    border-radius: 7px;
  }

  .deviation-card {
    padding: 1.18vw 1.1vw 0.9vw;
  }

  .deviation-card h4,
  .interpretation-card h4,
  .recommendation-card h4 {
    font-size: clamp(6.5px, 0.96vw, 9.5px);
  }

  .deviation-card p {
    margin-top: 0.86vw;
    padding-left: 1.14vw;
  }

  .dot {
    top: 0.25vw;
    width: 0.62vw;
    height: 0.62vw;
  }

  .interpretation-card,
  .recommendation-card {
    min-height: 8.2vw;
    padding: 1.18vw 1.1vw;
  }

  .interpretation-card p,
  .recommendation-card p {
    margin-top: 1vw;
    font-size: clamp(5.5px, 0.78vw, 8px);
  }

  .interpretation-card div {
    gap: 0.46vw;
    margin-top: 1.2vw;
  }

  .interpretation-card span {
    min-height: 1.74vw;
    padding: 0 0.65vw;
    border-radius: 4px;
    font-size: clamp(4.9px, 0.68vw, 7px);
  }

  .recommendation-card a {
    margin-top: 1.25vw;
    font-size: clamp(5.4px, 0.78vw, 8px);
  }

  .lesson-play-button {
    width: 7.35vw;
    height: 7.35vw;
  }

  .lesson-play-button svg {
    width: 3vw;
    height: 3vw;
  }

  .lesson-controls {
    grid-template-columns: 2.4vw minmax(0, 1fr) auto 1.8vw 1.8vw;
    gap: 1.35vw;
    height: 3.55vw;
    padding: 0 1.45vw;
  }

  .lesson-controls svg {
    width: 1.56vw;
    height: 1.56vw;
  }

  .lesson-progress {
    height: 0.4vw;
  }

  .lesson-progress span {
    width: 1.1vw;
    height: 1.1vw;
  }

  .lesson-controls time {
    font-size: clamp(7px, 1vw, 10px);
  }
}

@media (min-width: 741px) and (max-width: 920px) {
  .lesson-screen__inner {
    grid-template-columns: minmax(250px, 0.78fr) minmax(360px, 1.22fr);
    gap: 18px 26px;
    padding-inline: clamp(22px, 3.2vw, 32px);
  }

  .lesson-screen h2 {
    font-size: clamp(32px, 4.7vw, 42px);
  }

  .lesson-lead,
  .lesson-features {
    max-width: 330px;
  }

  .lesson-lead {
    font-size: clamp(14px, 1.9vw, 16px);
  }
}

@media (max-width: 740px) {
  .lesson-screen {
    display: block;
    min-height: auto;
  }

  .lesson-screen::before {
    inset: 24% -40% 18% 14%;
    opacity: 0.62;
  }

  .lesson-screen::after,
  .lesson-molecule--tl {
    display: none;
  }

  .lesson-molecule--br {
    top: 42px;
    right: -102px;
    width: 260px;
    opacity: 0.18;
  }

  .lesson-screen__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "video"
      "features";
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    aspect-ratio: auto;
    padding: 54px 20px 58px;
    container-type: normal;
    overflow: hidden;
  }

  .lesson-screen__copy,
  .lesson-features,
  .lesson-video {
    position: static;
    width: 100%;
  }

  .lesson-screen__copy {
    grid-area: copy;
  }

  .lesson-eyebrow {
    gap: 12px;
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.16;
  }

  .lesson-eyebrow::before {
    flex: 0 0 40px;
    width: 40px;
    height: 2px;
  }

  .lesson-screen h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(32px, 8.7vw, 38px);
    line-height: 1.09;
    white-space: normal;
    transform: none;
    overflow-wrap: break-word;
  }

  .lesson-lead {
    width: 100%;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.52;
  }

  .lesson-video {
    grid-area: video;
    justify-self: center;
    width: min(100%, 460px);
    max-width: 100%;
    height: auto;
    padding: 18px;
    border-radius: 16px;
  }

  .lesson-video__caption {
    gap: 8px;
    margin-bottom: 16px;
  }

  .lesson-video__caption strong {
    font-size: 22px;
    line-height: 1.18;
  }

  .lesson-video__caption span {
    font-size: 15.5px;
    line-height: 1.35;
  }

  .lesson-player {
    border-radius: 10px;
  }

  .lesson-player--embed {
    border-radius: 14px;
  }

  .lesson-video__iframe {
    border-radius: 14px;
  }

  .lesson-player__stage {
    grid-template-columns: 22% 78%;
    height: auto;
    aspect-ratio: 812 / 496;
  }

  .lesson-sidebar {
    gap: 6px;
    padding: 12px 5px 8px 7px;
    font-size: clamp(4.8px, 1.25vw, 6px);
  }

  .lesson-sidebar__brand {
    gap: 4px;
    margin-bottom: 3px;
    font-size: clamp(5.8px, 1.45vw, 7px);
  }

  .lesson-sidebar svg {
    width: 9px;
    height: 9px;
  }

  .lesson-sidebar > span {
    min-height: 14px;
    padding: 0 4px;
    border-radius: 4px;
  }

  .lesson-sidebar > span::before {
    width: 5px;
    height: 5px;
    margin-right: 4px;
    border-radius: 1px;
  }

  .lesson-dashboard {
    padding: 12px 10px 9px;
  }

  .lesson-dashboard h3 {
    font-size: clamp(8px, 2.05vw, 10px);
  }

  .lesson-dashboard > p {
    margin: 5px 0 8px;
    font-size: clamp(5px, 1.28vw, 6px);
  }

  .lesson-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .metric-card,
  .deviation-card,
  .interpretation-card,
  .recommendation-card {
    border-radius: 6px;
  }

  .metric-card {
    min-height: 64px;
    padding: 7px 5px 5px;
  }

  .metric-card span {
    font-size: clamp(4.9px, 1.26vw, 5.8px);
    line-height: 1.4;
  }

  .metric-card strong {
    margin-top: 8px;
    font-size: clamp(12px, 3vw, 16px);
  }

  .metric-card small {
    top: 33px;
    right: 6px;
    font-size: clamp(4.8px, 1.2vw, 5.8px);
  }

  .metric-card svg {
    left: 5px;
    right: 5px;
    bottom: 7px;
    width: calc(100% - 10px);
    height: 22px;
  }

  .metric-card--green i {
    width: 45px;
    height: 45px;
    bottom: -8px;
  }

  .metric-card--green i::before {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 10px;
  }

  .deviation-card {
    display: none;
  }

  .lesson-dashboard__bottom {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 6px;
  }

  .interpretation-card,
  .recommendation-card {
    min-height: auto;
    padding: 8px;
  }

  .deviation-card h4,
  .interpretation-card h4,
  .recommendation-card h4 {
    font-size: clamp(6.4px, 1.62vw, 8px);
  }

  .interpretation-card p,
  .recommendation-card p {
    margin-top: 6px;
    font-size: clamp(5.1px, 1.32vw, 6.4px);
    line-height: 1.45;
  }

  .interpretation-card div {
    gap: 4px;
    margin-top: 7px;
  }

  .interpretation-card span {
    min-height: 13px;
    padding: 0 5px;
    border-radius: 4px;
    font-size: clamp(4.5px, 1.12vw, 5.4px);
  }

  .recommendation-card a {
    margin-top: 7px;
    font-size: clamp(5.1px, 1.32vw, 6.4px);
  }

  .lesson-play-button {
    width: clamp(52px, 15vw, 64px);
    height: clamp(52px, 15vw, 64px);
  }

  .lesson-play-button svg {
    width: clamp(22px, 6vw, 28px);
    height: clamp(22px, 6vw, 28px);
  }

  .lesson-controls {
    grid-template-columns: 18px minmax(0, 1fr) auto 16px 16px;
    gap: 9px;
    height: 32px;
    padding: 0 10px;
  }

  .lesson-controls svg {
    width: 15px;
    height: 15px;
  }

  .lesson-progress {
    height: 3px;
  }

  .lesson-progress span {
    width: 9px;
    height: 9px;
  }

  .lesson-controls time {
    font-size: 9px;
  }

  .lesson-features {
    grid-area: features;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 440px;
    justify-self: center;
  }

  .lesson-feature {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    column-gap: 12px;
    min-height: 0;
    padding: 12px 14px;
    border: 1px solid rgba(7, 84, 61, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 13px 26px rgba(27, 75, 60, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    overflow: hidden;
  }

  .lesson-feature::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(0, 121, 67, 0.76), rgba(117, 196, 157, 0.12));
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .lesson-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .lesson-icon svg {
    width: 21px;
    height: 21px;
  }

  .lesson-feature h3 {
    margin: 0;
    color: var(--lesson-green);
    font-size: 18px;
    line-height: 1.22;
  }

  .lesson-feature p {
    margin: 5px 0 0;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.36;
    overflow-wrap: break-word;
  }
}

@media (max-width: 390px) {
  .lesson-screen__inner {
    padding-inline: 18px;
  }

  .lesson-video {
    padding: 14px;
  }

  .lesson-sidebar > span:nth-of-type(n+5) {
    display: none;
  }

  .lesson-controls {
    gap: 7px;
  }

  .lesson-controls time {
    font-size: 8px;
  }
}

/* Responsive hardening across in-between viewport shapes. */

@media (min-width: 1241px) {
  .lesson-screen {
    min-height: var(--lesson-available-height);
  }

  .lesson-screen__inner {
    width: min(100vw, calc(var(--lesson-available-height) * 1672 / 941), 1672px);
  }
}

@media (min-width: 1241px) and (max-width: 1480px) {
  .lesson-screen h2 {
    font-size: clamp(42px, 3.35cqw, 54px);
  }

  .lesson-lead {
    width: 35.6cqw;
    font-size: clamp(16px, 1.2cqw, 19px);
  }

  .lesson-features {
    top: 57.8%;
    width: 34cqw;
    gap: 1.28cqw;
  }

  .lesson-feature h3 {
    font-size: clamp(18px, 1.2cqw, 20px);
  }

  .lesson-feature p {
    font-size: clamp(15.5px, 1cqw, 17px);
    line-height: 1.34;
  }
}

@media (min-width: 1241px) and (max-height: 760px) {
  .lesson-screen {
    place-items: start center;
  }

  .lesson-screen__inner {
    width: min(100vw, 1460px);
  }

  .lesson-screen__copy {
    top: 6.1%;
  }

  .lesson-eyebrow {
    margin-bottom: 2.25cqw;
  }

  .lesson-screen h2 {
    font-size: clamp(43px, 3.35cqw, 54px);
    line-height: 1.03;
  }

  .lesson-lead {
    margin-top: 1.25cqw;
    font-size: clamp(16px, 1.13cqw, 19px);
    line-height: 1.43;
  }

  .lesson-features {
    top: 57.6%;
    gap: 1.18cqw;
  }

  .lesson-feature {
    min-height: 5.3cqw;
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: 1.08cqw;
  }

  .lesson-video {
    top: 6.5%;
    height: 85.5%;
    padding: 2.05cqw;
  }
}

@media (min-width: 921px) and (max-width: 1240px) and (max-height: 760px) {
  .lesson-screen__inner {
    align-content: start;
    padding-top: clamp(30px, 5vh, 42px);
    padding-bottom: clamp(28px, 4vh, 38px);
  }

  .lesson-screen h2 {
    font-size: clamp(34px, 4.3vw, 46px);
    line-height: 1.04;
  }

  .lesson-lead {
    margin-top: 14px;
    font-size: clamp(14px, 1.55vw, 17px);
    line-height: 1.42;
  }

  .lesson-features {
    gap: 10px;
  }

  .lesson-feature h3 {
    font-size: clamp(16px, 1.8vw, 19px);
  }

  .lesson-feature p {
    font-size: clamp(12.5px, 1.35vw, 15px);
  }
}

@media (min-width: 741px) and (max-width: 920px) and (orientation: portrait) {
  .lesson-screen {
    min-height: auto;
  }

  .lesson-screen__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "video"
      "features";
    gap: 28px;
    max-width: 820px;
    min-height: auto;
    padding: clamp(52px, 6.2vw, 66px) clamp(30px, 5vw, 46px) clamp(56px, 7vw, 72px);
  }

  .lesson-screen__copy {
    max-width: 690px;
  }

  .lesson-eyebrow {
    margin-bottom: 18px;
  }

  .lesson-screen h2 {
    width: 100%;
    max-width: 690px;
    font-size: clamp(42px, 7vw, 56px);
    line-height: 1.07;
    white-space: normal;
    transform: none;
  }

  .lesson-lead {
    max-width: 620px;
    font-size: clamp(17px, 2.1vw, 19px);
  }

  .lesson-video {
    width: min(100%, 720px);
    justify-self: center;
    align-self: start;
  }

  .lesson-player__stage {
    aspect-ratio: 812 / 496;
  }

  .lesson-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: none;
  }

  .lesson-feature {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(7, 84, 61, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 13px 26px rgba(27, 75, 60, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  }

  .lesson-feature::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(0, 121, 67, 0.76), rgba(117, 196, 157, 0.12));
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .lesson-icon {
    width: 48px;
    height: 48px;
  }

  .lesson-icon svg {
    width: 25px;
    height: 25px;
  }

  .lesson-feature h3 {
    color: var(--lesson-green);
    font-size: clamp(16px, 2.2vw, 19px);
  }

  .lesson-feature p {
    font-size: clamp(13px, 1.7vw, 15px);
  }
}

@media (min-width: 741px) and (max-width: 920px) and (orientation: landscape) {
  .lesson-screen__inner {
    grid-template-columns: minmax(280px, 0.74fr) minmax(400px, 1.26fr);
    gap: 18px 24px;
    padding: clamp(28px, 6vh, 42px) clamp(22px, 3.4vw, 32px) clamp(28px, 5vh, 42px);
  }

  .lesson-screen h2 {
    width: 100%;
    font-size: clamp(31px, 4.2vw, 40px);
    line-height: 1.05;
    white-space: normal;
    transform: none;
  }

  .lesson-lead {
    max-width: 330px;
    margin-top: 14px;
    font-size: clamp(13.5px, 1.8vw, 15px);
    line-height: 1.4;
  }

  .lesson-feature h3 {
    font-size: clamp(15px, 1.9vw, 17px);
  }

  .lesson-feature p {
    font-size: clamp(12px, 1.55vw, 13.5px);
  }
}

@media (max-width: 740px) {
  .lesson-player__stage {
    grid-template-columns: minmax(0, 1fr);
    aspect-ratio: auto;
  }

  .lesson-sidebar {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 7px 8px;
    overflow: hidden;
    border-right: 0;
    border-bottom: 1px solid rgba(215, 224, 231, 0.86);
    font-size: 10px;
  }

  .lesson-sidebar__brand {
    flex: 0 0 auto;
    gap: 5px;
    margin: 0 4px 0 0;
    font-size: 10.5px;
  }

  .lesson-sidebar svg {
    width: 14px;
    height: 14px;
  }

  .lesson-sidebar > span {
    flex: 0 0 auto;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 6px;
  }

  .lesson-sidebar > span::before {
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 2px;
  }

  .lesson-sidebar > span:nth-of-type(n+4) {
    display: none;
  }

  .lesson-dashboard {
    padding: 12px;
  }

  .lesson-dashboard h3 {
    font-size: 14px;
  }

  .lesson-dashboard > p {
    margin: 4px 0 10px;
    font-size: 11px;
    line-height: 1.35;
  }

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

  .metric-card {
    min-height: 94px;
    padding: 10px;
  }

  .metric-card span {
    font-size: 10.5px;
    line-height: 1.36;
  }

  .metric-card strong {
    margin-top: 12px;
    font-size: 24px;
  }

  .metric-card small {
    top: 47px;
    right: 10px;
    font-size: 10px;
  }

  .metric-card svg {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    height: 30px;
  }

  .metric-card--green i {
    width: 58px;
    height: 58px;
    bottom: -10px;
  }

  .metric-card--green i::before {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 13px;
  }

  .deviation-card {
    display: block;
    grid-column: 1 / -1;
    padding: 10px;
  }

  .deviation-card h4,
  .interpretation-card h4,
  .recommendation-card h4 {
    font-size: 12px;
  }

  .deviation-card p {
    margin-top: 8px;
    padding-left: 14px;
    font-size: 10.5px;
    line-height: 1.34;
  }

  .dot {
    top: 3px;
    width: 7px;
    height: 7px;
  }

  .lesson-dashboard__bottom {
    gap: 8px;
    margin-top: 8px;
  }

  .interpretation-card,
  .recommendation-card {
    padding: 10px;
  }

  .interpretation-card p,
  .recommendation-card p {
    margin-top: 7px;
    font-size: 10.5px;
    line-height: 1.42;
  }

  .interpretation-card div {
    gap: 5px;
    margin-top: 8px;
  }

  .interpretation-card span {
    min-height: 18px;
    padding: 0 7px;
    border-radius: 5px;
    font-size: 9px;
  }

  .recommendation-card a {
    margin-top: 8px;
    font-size: 10px;
  }

  .lesson-play-button {
    top: 49%;
  }
}

@media (max-width: 520px) {
  .lesson-screen__inner {
    gap: 22px;
    padding-top: 48px;
  }

  .lesson-video__caption strong {
    font-size: clamp(20px, 5.8vw, 24px);
  }

  .lesson-video__caption span {
    font-size: 14.5px;
  }
}

@media (max-width: 360px) {
  .lesson-screen__inner {
    padding-inline: 16px;
  }

  .lesson-video {
    padding: 12px;
  }

  .lesson-sidebar__brand {
    font-size: 9.5px;
  }

  .lesson-sidebar > span {
    padding-inline: 6px;
  }

  .metric-card {
    min-height: 88px;
    padding: 9px;
  }

  .metric-card span,
  .deviation-card p,
  .interpretation-card p,
  .recommendation-card p {
    font-size: 10px;
  }

  .metric-card strong {
    font-size: 22px;
  }

  .lesson-controls {
    grid-template-columns: 16px minmax(0, 1fr) auto 14px 14px;
    padding-inline: 8px;
  }
}

@media (max-width: 740px) and (orientation: landscape) {
  .lesson-screen__inner {
    grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
    grid-template-areas:
      "copy video"
      "features video";
    align-items: start;
    gap: 18px 22px;
    padding: 30px 20px 36px;
  }

  .lesson-screen h2 {
    font-size: clamp(25px, 4.2vw, 30px);
    line-height: 1.05;
  }

  .lesson-lead {
    margin-top: 14px;
    font-size: 13.5px;
    line-height: 1.4;
  }

  .lesson-video {
    align-self: start;
  }

  .lesson-features {
    gap: 8px;
  }

  .lesson-feature {
    padding: 10px 12px;
  }

  .lesson-feature h3 {
    font-size: 16px;
  }

  .lesson-feature p {
    font-size: 12.5px;
  }
}

@media (min-width: 1241px) and (max-height: 760px) {
  .lesson-screen__inner {
    display: grid;
    grid-template-columns: minmax(430px, 0.72fr) minmax(640px, 1.28fr);
    grid-template-areas:
      "copy video"
      "features video";
    align-items: center;
    gap: 18px clamp(36px, 4vw, 58px);
    width: min(100vw, 1460px);
    min-height: var(--lesson-available-height);
    aspect-ratio: auto;
    padding: clamp(30px, 4.8vh, 42px) clamp(42px, 4.2vw, 62px);
    container-type: inline-size;
  }

  .lesson-screen__copy,
  .lesson-features,
  .lesson-video {
    position: static;
  }

  .lesson-screen__copy {
    grid-area: copy;
    width: 100%;
  }

  .lesson-eyebrow {
    gap: 14px;
    margin-bottom: clamp(16px, 2.4vh, 22px);
    font-size: clamp(13px, 1vw, 15px);
  }

  .lesson-eyebrow::before {
    flex-basis: 42px;
    width: 42px;
    height: 2px;
  }

  .lesson-screen h2 {
    width: 100%;
    font-size: clamp(40px, 3.3vw, 48px);
    line-height: 1.05;
    white-space: normal;
    transform: none;
  }

  .lesson-lead {
    width: auto;
    max-width: 540px;
    margin-top: clamp(14px, 2.2vh, 18px);
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.42;
  }

  .lesson-features {
    grid-area: features;
    width: 100%;
    max-width: 540px;
    gap: clamp(10px, 1.7vh, 14px);
  }

  .lesson-feature {
    grid-template-columns: clamp(46px, 4vw, 54px) minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: clamp(10px, 1.8vh, 14px);
  }

  .lesson-icon {
    width: clamp(44px, 3.8vw, 52px);
    height: clamp(44px, 3.8vw, 52px);
    border-radius: 8px;
  }

  .lesson-icon svg {
    width: clamp(23px, 2vw, 27px);
    height: clamp(23px, 2vw, 27px);
  }

  .lesson-feature h3 {
    font-size: clamp(17px, 1.45vw, 20px);
  }

  .lesson-feature p {
    margin-top: 5px;
    font-size: clamp(14px, 1.18vw, 16px);
  }

  .lesson-video {
    grid-area: video;
    width: 100%;
    height: auto;
    align-self: center;
    padding: clamp(20px, 2vw, 26px);
    border-radius: 18px;
  }

  .lesson-video__caption {
    gap: 8px;
    margin-bottom: clamp(14px, 2vh, 18px);
  }

  .lesson-video__caption strong {
    font-size: clamp(22px, 2.1vw, 30px);
  }

  .lesson-video__caption span {
    font-size: clamp(15px, 1.35vw, 18px);
  }

  .lesson-player {
    border-radius: 10px;
  }

  .lesson-player__stage {
    height: auto;
    aspect-ratio: 812 / 496;
  }
}

@media (min-width: 741px) and (max-width: 1120px) {
  .lesson-screen {
    display: block;
    min-height: auto;
  }

  .lesson-screen__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "video"
      "features";
    align-content: start;
    align-items: start;
    gap: clamp(22px, 2.4vw, 30px);
    width: min(100%, 900px);
    max-width: 900px;
    min-height: auto;
    margin: 0 auto;
    aspect-ratio: auto;
    padding: clamp(72px, 7.6vw, 86px) clamp(34px, 5.4vw, 56px) 58px;
    container-type: normal;
    overflow: visible;
  }

  .lesson-screen__copy,
  .lesson-features,
  .lesson-video {
    position: static;
  }

  .lesson-screen__copy {
    grid-area: copy;
    width: 100%;
    max-width: 720px;
  }

  .lesson-eyebrow {
    gap: 14px;
    margin-bottom: clamp(18px, 2.2vw, 24px);
    font-size: clamp(12.5px, 1.45vw, 14px);
  }

  .lesson-eyebrow::before {
    flex-basis: 42px;
    width: 42px;
    height: 2px;
  }

  .lesson-screen h2 {
    width: 100%;
    max-width: 720px;
    font-size: clamp(40px, 5.2vw, 52px);
    line-height: 1.08;
    white-space: normal;
    transform: none;
  }

  .lesson-lead {
    width: auto;
    max-width: 680px;
    margin-top: clamp(16px, 2vw, 22px);
    font-size: clamp(17.5px, 2vw, 20px);
    line-height: 1.5;
  }

  .lesson-video {
    grid-area: video;
    justify-self: center;
    width: min(100%, 760px);
    max-width: calc(100vw - 68px);
    height: auto;
    padding: clamp(22px, 3vw, 28px);
    border-radius: 18px;
  }

  .lesson-video__caption {
    gap: 8px;
    margin-bottom: clamp(16px, 2vw, 22px);
  }

  .lesson-video__caption strong {
    font-size: clamp(24px, 2.8vw, 30px);
  }

  .lesson-video__caption span {
    font-size: clamp(15px, 1.7vw, 18px);
  }

  .lesson-player {
    border-radius: 10px;
  }

  .lesson-player__stage {
    height: auto;
    aspect-ratio: 812 / 496;
  }

  .lesson-features {
    grid-area: features;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 760px;
    margin: 0;
  }

  .lesson-feature {
    position: relative;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    min-height: 0;
    padding: 14px 16px;
    border: 1px solid rgba(7, 84, 61, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 13px 26px rgba(27, 75, 60, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    overflow: hidden;
  }

  .lesson-feature::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(0, 121, 67, 0.76), rgba(117, 196, 157, 0.12));
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .lesson-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
  }

  .lesson-icon svg {
    width: 24px;
    height: 24px;
  }

  .lesson-feature h3 {
    color: var(--green);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.2;
  }

  .lesson-feature p {
    margin-top: 5px;
    color: var(--muted);
    font-size: clamp(13.5px, 1.6vw, 15.5px);
    line-height: 1.36;
  }
}

@media (min-width: 741px) and (max-width: 860px) {
  .lesson-features {
    grid-template-columns: 1fr;
  }
}

/* Screen 10: align feature rhythm with screen 4 on desktop/tablet. */
@media (min-width: 1121px) {
  .lesson-screen h2 {
    font-size: clamp(40px, min(3vw, 5.9vh), 48px);
    font-weight: 800;
    line-height: 1.11;
    transform: scaleX(0.88);
    transform-origin: left top;
  }

  .lesson-lead {
    max-width: 640px;
    margin-top: clamp(18px, 2.2vh, 24px);
    font-size: clamp(17px, 1.2vw, 22px);
    line-height: 1.48;
  }

  .lesson-features {
    width: min(100%, 500px);
    max-width: 500px;
    gap: clamp(18px, 2.2vh, 26px);
  }

  .lesson-feature {
    grid-template-columns: clamp(54px, 4.25vw, 68px) minmax(0, 1fr);
    gap: clamp(16px, 1.33vw, 22px);
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .lesson-feature::before {
    content: none;
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: clamp(18px, 2vh, 24px);
    border-bottom: 0;
  }

  .lesson-icon {
    width: clamp(54px, 4.25vw, 68px);
    height: clamp(54px, 4.25vw, 68px);
    border: 0;
    border-radius: 8px;
    background: rgba(226, 246, 237, 0.88);
  }

  .lesson-icon svg {
    width: clamp(27px, 2.18vw, 35px);
    height: clamp(27px, 2.18vw, 35px);
    stroke-width: 2.05;
  }

  .lesson-feature h3 {
    color: #071326;
    font-size: clamp(17px, 1.12vw, 20.5px);
    font-weight: 800;
    line-height: 1.34;
  }

  .lesson-feature p {
    margin-top: 6px;
    color: rgba(48, 65, 89, 0.86);
    font-size: clamp(16.5px, 1.08vw, 20px);
    line-height: 1.42;
  }
}

@media (min-width: 1121px) and (max-height: 860px) {
  .lesson-features {
    top: 59.5%;
    width: min(100%, 470px);
    max-width: 470px;
    gap: 14px;
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: 16px;
    border-bottom: 0;
  }
}

@media (min-width: 1500px) and (max-height: 900px) {
  .lesson-lead {
    width: min(100%, 640px);
    max-width: 640px;
  }

  .lesson-features {
    top: 58.8%;
    width: min(100%, 540px);
    max-width: 540px;
    gap: 10px;
  }

  .lesson-feature {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: 12px;
    border-bottom: 0;
  }

  .lesson-icon {
    width: 58px;
    height: 58px;
  }

  .lesson-icon svg {
    width: 29px;
    height: 29px;
  }

  .lesson-feature p {
    font-size: clamp(15.5px, 1vw, 18px);
    line-height: 1.34;
  }
}

@media (min-width: 861px) and (max-width: 1120px) {
  .lesson-screen h2 {
    max-width: 430px;
    font-size: clamp(36px, 4.45vw, 46px);
    line-height: 1.06;
    transform: none;
  }

  .lesson-lead {
    max-width: 520px;
    margin-top: 18px;
    font-size: clamp(17px, 1.8vw, 19px);
    line-height: 1.46;
  }

  .lesson-feature {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(7, 84, 61, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 13px 26px rgba(27, 75, 60, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .lesson-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
  }

  .lesson-icon svg {
    width: 24px;
    height: 24px;
  }

  .lesson-feature h3 {
    color: #071326;
    font-size: 18px;
    line-height: 1.22;
  }

  .lesson-feature p {
    margin-top: 5px;
    color: rgba(48, 65, 89, 0.86);
    font-size: 14.5px;
    line-height: 1.35;
  }
}

@media (min-width: 741px) and (max-width: 860px) {
  .lesson-screen h2 {
    max-width: 700px;
    font-size: clamp(40px, 5.7vw, 52px);
    line-height: 1.07;
    transform: none;
  }

  .lesson-lead {
    max-width: 700px;
    margin-top: 18px;
    font-size: clamp(18px, 2.2vw, 21px);
    line-height: 1.48;
  }

  .lesson-feature {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
  }

  .lesson-icon {
    width: 48px;
    height: 48px;
  }

  .lesson-icon svg {
    width: 25px;
    height: 25px;
  }

  .lesson-feature h3 {
    color: #071326;
    font-size: 18px;
    line-height: 1.22;
  }

  .lesson-feature p {
    margin-top: 6px;
    color: rgba(48, 65, 89, 0.86);
    font-size: 15px;
    line-height: 1.36;
  }
}

@media (min-width: 1241px) and (min-height: 761px) {
  .lesson-video {
    top: 10.7%;
    right: 4.7%;
    width: 49.2%;
    height: 77.2%;
    padding: 2cqw;
  }

  .lesson-player__stage {
    height: 27.35cqw;
  }
}

@media (min-width: 1241px) and (max-height: 760px) {
  .lesson-video {
    justify-self: end;
    width: 92.5%;
    padding: clamp(16px, 1.65vw, 22px);
  }

  .lesson-screen h2 {
    width: 123%;
    max-width: none;
    font-size: clamp(38px, 3vw, 43px);
    line-height: 1.08;
    white-space: nowrap;
    transform: scaleX(0.84);
    transform-origin: left top;
  }
}

@media (min-width: 741px) and (max-width: 1240px) {
  .lesson-screen {
    display: block;
    min-height: auto;
  }

  .lesson-screen__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "video"
      "features";
    gap: clamp(20px, 2.3vw, 28px);
    width: min(100%, 940px);
    max-width: 940px;
    min-height: auto;
    margin: 0 auto;
    aspect-ratio: auto;
    padding: clamp(64px, 7vw, 82px) clamp(34px, 5vw, 54px) 58px;
    container-type: normal;
    overflow: visible;
  }

  .lesson-screen__copy,
  .lesson-features,
  .lesson-video {
    position: static;
  }

  .lesson-screen__copy {
    grid-area: copy;
    width: 100%;
    max-width: 720px;
  }

  .lesson-screen h2 {
    width: 112%;
    max-width: none;
    font-size: clamp(38px, 5vw, 50px);
    line-height: 1.08;
    white-space: nowrap;
    transform: scaleX(0.88);
    transform-origin: left top;
  }

  .lesson-video {
    grid-area: video;
    justify-self: center;
    width: min(100%, 640px);
    max-width: calc(100vw - 68px);
    height: auto;
    padding: clamp(16px, 2vw, 22px);
    border-radius: 18px;
  }

  .lesson-video__caption {
    margin-bottom: clamp(12px, 1.55vw, 17px);
  }

  .lesson-video__caption strong {
    font-size: clamp(20px, 2.1vw, 25px);
  }

  .lesson-player__stage {
    height: auto;
    aspect-ratio: 812 / 496;
  }

  .lesson-features {
    grid-area: features;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 760px;
    margin: 0;
  }

  .lesson-feature {
    position: relative;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    min-height: 0;
    padding: 14px 16px;
    border: 1px solid rgba(7, 84, 61, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 13px 26px rgba(27, 75, 60, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    overflow: hidden;
  }

  .lesson-feature::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(0, 121, 67, 0.76), rgba(117, 196, 157, 0.12));
  }

  .lesson-feature:not(:last-child) > div {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .lesson-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
  }

  .lesson-icon svg {
    width: 24px;
    height: 24px;
  }

  .lesson-feature h3 {
    color: #071326;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.22;
  }

  .lesson-feature p {
    margin-top: 5px;
    color: rgba(48, 65, 89, 0.86);
    font-size: clamp(13.5px, 1.6vw, 15.5px);
    line-height: 1.36;
  }
}

@media (max-width: 740px) {
  .lesson-video {
    justify-self: center;
    width: min(100%, 620px);
    padding: 16px;
  }

  .lesson-player {
    overflow: hidden;
  }

  .lesson-player__stage {
    grid-template-columns: 19% minmax(0, 1fr);
    height: auto;
    aspect-ratio: 812 / 496;
    overflow: hidden;
  }

  .lesson-sidebar {
    display: grid;
    grid-auto-rows: max-content;
    gap: 7px;
    min-height: 0;
    padding: 12px 5px 8px 7px;
    overflow: hidden;
    border-right: 1px solid rgba(215, 224, 231, 0.86);
    border-bottom: 0;
    font-size: 6px;
  }

  .lesson-sidebar__brand {
    display: flex;
    flex: initial;
    gap: 4px;
    margin: 0 0 3px;
    font-size: 7px;
  }

  .lesson-sidebar svg {
    width: 9px;
    height: 9px;
  }

  .lesson-sidebar > span {
    display: flex;
    min-height: 16px;
    padding: 0 5px;
    border-radius: 5px;
  }

  .lesson-sidebar > span::before {
    width: 5px;
    height: 5px;
    margin-right: 4px;
    border-radius: 2px;
  }

  .lesson-sidebar > span:nth-of-type(n+4) {
    display: flex;
  }

  .lesson-dashboard {
    padding: 12px 11px 10px;
  }

  .lesson-dashboard h3 {
    font-size: 12px;
  }

  .lesson-dashboard > p {
    margin: 4px 0 8px;
    font-size: 8px;
  }

  .lesson-metrics {
    grid-template-columns: 1fr 1fr 1fr 1.45fr;
    gap: 7px;
  }

  .metric-card {
    min-height: 82px;
    padding: 9px 7px 7px;
  }

  .metric-card span {
    font-size: 7.5px;
  }

  .metric-card strong {
    margin-top: 10px;
    font-size: 18px;
  }

  .metric-card small {
    top: 42px;
    right: 7px;
    font-size: 7px;
  }

  .metric-card svg {
    left: 7px;
    right: 7px;
    bottom: 8px;
    width: calc(100% - 14px);
    height: 25px;
  }

  .metric-card--green i {
    width: 48px;
    height: 48px;
    bottom: -9px;
  }

  .metric-card--green i::before {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 10px;
  }

  .deviation-card {
    grid-column: auto;
    padding: 9px 8px;
  }

  .deviation-card h4,
  .interpretation-card h4,
  .recommendation-card h4 {
    font-size: 8px;
  }

  .deviation-card p {
    margin-top: 7px;
    padding-left: 10px;
    font-size: 7px;
  }

  .dot {
    top: 2px;
    width: 5px;
    height: 5px;
  }

  .lesson-dashboard__bottom {
    grid-template-columns: 1fr 0.62fr;
    gap: 7px;
    margin-top: 8px;
  }

  .interpretation-card,
  .recommendation-card {
    min-height: 62px;
    padding: 9px 8px;
  }

  .interpretation-card p,
  .recommendation-card p {
    margin-top: 6px;
    font-size: 7px;
  }

  .interpretation-card div {
    gap: 4px;
    margin-top: 7px;
  }

  .interpretation-card span {
    min-height: 14px;
    padding: 0 5px;
    font-size: 6px;
  }

  .recommendation-card a {
    margin-top: 7px;
    font-size: 7px;
  }

  .lesson-play-button {
    width: 52px;
    height: 52px;
  }

  .lesson-play-button svg {
    width: 22px;
    height: 22px;
  }
}

/* Alternating layout: screen 10 keeps the lesson/video block left on two-column layouts. */
@media (min-width: 1121px) {
  .lesson-screen::before {
    inset: 17% 42% -13% -14%;
    transform: rotate(6deg);
  }

  .lesson-screen::after {
    inset: auto 30% -19% -11%;
  }

  .lesson-molecule--br {
    left: -22px;
    right: auto;
    transform: scaleX(-1) rotate(-6deg);
  }

  .lesson-molecule--tl {
    left: auto;
    right: -14px;
    transform: scaleX(-1) rotate(4deg);
  }
}

@media (min-width: 1241px) and (min-height: 761px) {
  .lesson-screen__copy,
  .lesson-features {
    left: auto;
    right: 12.2%;
  }

  .lesson-screen__copy {
    width: 42.8%;
  }

  .lesson-lead {
    width: 39cqw;
  }

  .lesson-features {
    top: 54.8%;
    width: 36.2cqw;
  }

  .lesson-video {
    left: 5%;
    right: auto;
    top: 19%;
    width: 36.5%;
    height: auto;
    padding: 1.15cqw;
  }

  .lesson-video__iframe {
    height: clamp(240px, 19.8cqw, 330px);
  }
}

@media (min-width: 1121px) and (max-width: 1240px) {
  .lesson-screen__inner {
    grid-template-columns: minmax(405px, 1.06fr) minmax(470px, 0.98fr);
    grid-template-areas:
      "video copy"
      "video features";
    width: min(100%, 1160px);
    max-width: 1160px;
    row-gap: clamp(10px, 1.2vw, 16px);
    column-gap: clamp(18px, 2.2vw, 28px);
    padding-inline: clamp(28px, 3vw, 42px);
  }

  .lesson-screen h2 {
    width: 122%;
    max-width: none;
    font-size: clamp(35px, 3.15vw, 39px);
    line-height: 1.08;
    white-space: normal;
    transform: scaleX(0.84);
    transform-origin: left top;
  }

  .lesson-video {
    transform: translateX(clamp(-34px, -3vw, -22px));
  }
}

@media (min-width: 1121px) and (max-width: 1240px) and (max-height: 740px) {
  .lesson-screen__inner {
    row-gap: 8px;
  }

  .lesson-screen h2 {
    width: 126%;
    font-size: clamp(33px, 2.9vw, 36px);
    line-height: 1.06;
  }

  .lesson-lead {
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.4;
  }

  .lesson-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lesson-feature {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 12px;
  }

  .lesson-icon {
    width: 44px;
    height: 44px;
  }

  .lesson-icon svg {
    width: 23px;
    height: 23px;
  }

  .lesson-feature h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  .lesson-feature p {
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.32;
  }
}

@media (min-width: 1241px) and (max-height: 760px) {
  .lesson-screen__inner {
    grid-template-columns: minmax(680px, 1.36fr) minmax(470px, 0.82fr);
    grid-template-areas:
      "video copy"
      "video features";
    row-gap: clamp(8px, 1.4vh, 12px);
    column-gap: clamp(18px, 2vw, 32px);
    padding-left: clamp(24px, 2vw, 36px);
    padding-right: clamp(34px, 3vw, 50px);
  }

  .lesson-video {
    transform: translateX(clamp(-46px, -3vw, -28px));
  }
}

/* Approved embedded-video layout lock. Keep this block at the end of the file. */
.lesson-features.feature-list {
  list-style: none;
  width: min(100%, 500px);
  max-width: 500px;
  gap: clamp(18px, 2.2vh, 26px);
}

.lesson-feature.feature-row {
  position: relative;
  display: grid;
  grid-template-columns: clamp(54px, 4.25vw, 68px) minmax(0, 1fr);
  gap: clamp(16px, 1.33vw, 22px);
  align-items: start;
  min-width: 0;
  min-height: 0;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.lesson-feature.feature-row::before,
.lesson-feature.feature-row:not(:last-child)::after {
  content: none;
  display: none;
}

.lesson-feature.feature-row:not(:last-child) > div,
.lesson-feature.feature-row > div {
  min-width: 0;
  padding: 4px 0 clamp(18px, 2vh, 24px);
  border-bottom: 0;
}

.lesson-feature .lesson-icon.icon-card {
  width: clamp(54px, 4.25vw, 68px);
  height: clamp(54px, 4.25vw, 68px);
  border: 0;
  border-radius: 8px;
  background: rgba(226, 246, 237, 0.88);
  color: var(--green, #008747);
  box-shadow: none;
}

.lesson-feature .lesson-icon.icon-card svg {
  width: clamp(27px, 2.18vw, 35px);
  height: clamp(27px, 2.18vw, 35px);
  stroke-width: 2.05;
}

.lesson-feature.feature-row h3 {
  margin: 0;
  color: #071326;
  font-size: clamp(17px, 1.12vw, 20.5px);
  font-weight: 800;
  line-height: 1.34;
}

.lesson-feature.feature-row p {
  margin: 6px 0 0;
  color: rgba(48, 65, 89, 0.86);
  font-size: clamp(16.5px, 1.08vw, 20px);
  line-height: 1.42;
  overflow-wrap: break-word;
}

@media (min-width: 1241px) {
  .lesson-screen {
    --lesson-available-height: clamp(600px, 46.8vw, 785px);
    min-height: var(--lesson-available-height);
    height: var(--lesson-available-height);
    place-items: start center;
  }

  .lesson-screen__inner {
    display: block;
    width: min(100%, 1672px);
    max-width: 1672px;
    min-height: 0;
    padding: 0;
    aspect-ratio: 1672 / 941;
    container-type: inline-size;
  }

  .lesson-screen__copy,
  .lesson-features,
  .lesson-video {
    position: absolute;
  }

  .lesson-screen__copy {
    left: 55.8%;
    right: auto;
    top: var(--np-eyebrow-target-top, 5.55svh);
    width: 41.4%;
    max-width: none;
    grid-area: auto;
  }

  .lesson-eyebrow {
    gap: 1.08cqw;
    margin-bottom: 1.85cqw;
  }

  .lesson-screen h2 {
    width: 128%;
    max-width: none;
    font-size: clamp(42px, 3.05cqw, 54px);
    line-height: 1.06;
    white-space: nowrap;
    transform: scaleX(0.84);
    transform-origin: left top;
  }

  .lesson-lead {
    width: min(100%, 37.2cqw);
    margin-top: 1.35cqw;
    font-size: clamp(17px, 1.15cqw, 20px);
    line-height: 1.44;
  }

  .lesson-screen .lesson-features.feature-list {
    left: 55.8%;
    right: auto;
    top: 38.8%;
    display: grid;
    width: min(100%, 500px);
    max-width: 500px;
    margin: 0;
    padding: 0;
    grid-area: auto;
    gap: clamp(18px, 2.2vh, 26px);
  }

  .lesson-video {
    left: 2.2%;
    right: auto;
    top: 13.8%;
    width: 50.5%;
    max-width: none;
    height: auto;
    padding: 1.65cqw;
    grid-area: auto;
    justify-self: auto;
    transform: none;
  }

  .lesson-video__iframe {
    height: clamp(360px, 28cqw, 470px);
  }
}

@media (max-width: 740px) {
  .lesson-feature.feature-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(7, 84, 61, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 13px 26px rgba(27, 75, 60, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    overflow: hidden;
  }

  .lesson-feature.feature-row::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    width: 3px;
    background: linear-gradient(180deg, rgba(0, 121, 67, 0.76), rgba(117, 196, 157, 0.12));
  }

  .lesson-feature.feature-row > div {
    padding: 0;
  }

  .lesson-feature .lesson-icon.icon-card {
    width: 48px;
    height: 48px;
  }

  .lesson-feature .lesson-icon.icon-card svg {
    width: 25px;
    height: 25px;
  }

  .lesson-feature.feature-row h3 {
    font-size: 18px;
  }

  .lesson-feature.feature-row p {
    margin-top: 6px;
    font-size: 15px;
  }
}
