:root {
  --ink: #171c1b;
  --ink-soft: #242b29;
  --ink-panel: #2d3432;
  --paper: #f3f5f2;
  --card: #ffffff;
  --lime: #d2f36b;
  --lime-strong: #c4eb4c;
  --lime-soft: #eff9cc;
  --lavender: #c9b8ff;
  --lavender-soft: #eee9ff;
  --text: #171c1b;
  --muted: #59615d;
  --muted-dark: #c5cdc8;
  --line: #d8ded9;
  --line-strong: #bac3bd;
  --line-dark: #444c49;
  --focus: #155ad8;
  --green: #245c37;
  --green-soft: #e8f5e9;
  --red: #992a31;
  --red-soft: #fff0f0;
  --warning: #7b5316;
  --warning-soft: #fff5df;
  --warning-line: #e2c186;
  --selected-line: #78983c;
  --display: "Avenir Next", "Trebuchet MS", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 8px 22px rgba(23, 28, 27, 0.07);
  --shadow-md: 0 20px 48px rgba(23, 28, 27, 0.11);
  --shadow-dark: 0 28px 64px rgba(10, 14, 13, 0.22);
  --shadow-hover: 0 8px 20px rgba(23, 28, 27, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
a,
input,
summary {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(100%, 1168px);
  margin: 0 auto;
  padding: 24px 24px 32px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-copy small,
.brand > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-label {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.course-progress {
  margin: 24px 0 32px;
}

body[data-view="welcome"] .course-progress,
body[data-view="welcome"] .page-heading {
  display: none;
}

.progress-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

#step-label {
  color: var(--ink);
  font-weight: 750;
}

progress {
  display: block;
  width: 100%;
  height: 7px;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--line);
}

progress::-webkit-progress-bar {
  border-radius: var(--radius-pill);
  background: var(--line);
}

progress::-webkit-progress-value {
  border-radius: var(--radius-pill);
  background: var(--lime-strong);
}

progress::-moz-progress-bar {
  border-radius: var(--radius-pill);
  background: var(--lime-strong);
}

main:focus {
  outline: none;
}

.page-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.eyebrow,
.hero-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--display);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.018em;
  line-height: 1.3;
}

p {
  max-width: 72ch;
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

#screen > * {
  animation: enter 320ms var(--ease) both;
}

#screen > :nth-child(2) {
  animation-delay: 35ms;
}

#screen > :nth-child(3) {
  animation-delay: 70ms;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(280px, 0.82fr);
  gap: 20px;
  margin-top: 32px;
}

.welcome-hero {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 48px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-dark);
  color: var(--card);
}

.welcome-hero .hero-kicker {
  color: var(--lime);
}

.hero-title {
  max-width: 700px;
  color: var(--card);
  font-size: clamp(2.625rem, 5.2vw, 3.5rem);
}

.hero-title span {
  display: block;
  color: var(--lime);
}

.hero-copy {
  max-width: 58ch;
  margin-top: 22px;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.hero-duration {
  color: var(--muted-dark);
  font-size: 13px;
}

.welcome-video {
  display: block;
  width: 100%;
  margin-top: 32px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: var(--ink-soft);
  box-shadow: var(--shadow-md);
  object-fit: contain;
}

.hero-art {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(100%, 580px);
  margin-top: 40px;
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: var(--ink-soft);
}

.art-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--ink-panel);
}

.step-symbol {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 850;
}

.step-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.step-copy b {
  color: var(--card);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.3;
}

.step-copy small {
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.4;
}

.flow-connector {
  width: 1px;
  height: 9px;
  margin: -10px 0 -10px 34px;
  background: var(--lime);
}

.art-note {
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 11px;
  line-height: 1.4;
}

.welcome-side {
  display: grid;
  align-content: start;
  gap: 20px;
}

.outcome-card,
.assessment-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.outcome-card {
  background: var(--card);
}

.outcome-card ul {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.outcome-card li {
  position: relative;
  margin: 0;
  padding-left: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.outcome-card li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--lime-strong);
  content: "";
}

.assessment-card {
  background: var(--lavender-soft);
  border-color: var(--lavender);
}

.assessment-icon,
.result-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}

.assessment-icon svg,
.result-icon svg {
  width: 22px;
  height: 22px;
}

.assessment-card p {
  color: var(--muted);
  font-size: 14px;
}

.lesson-preview {
  margin-top: 56px;
}

.lesson-preview > h2 {
  margin-bottom: 24px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

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

.lesson-tile {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 2px 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tile-number {
  color: var(--ink);
}

.tile-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: var(--ink-soft);
}

.tile-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transform: translate(-50%, -50%);
}

.tile-play svg {
  width: 17px;
  height: 17px;
}

.lesson-tile h3 {
  margin: 16px 2px 6px;
}

.tile-caption {
  margin: 0 2px 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.card {
  margin-bottom: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.intro {
  font-size: 17px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.badge {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lesson-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.lesson-list li:first-child {
  padding-top: 0;
}

.lesson-list li:last-child {
  padding-bottom: 0;
  border: 0;
}

.lesson-list b {
  color: var(--muted);
  font-size: 13px;
}

.lesson-list span {
  flex: 1;
}

.lesson-list small {
  color: var(--muted);
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--lime);
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.button:hover:not(:disabled) {
  border-color: var(--lime-strong);
  background: var(--lime-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.button:active:not(:disabled) {
  box-shadow: none;
  transform: translateY(0);
}

.button.secondary {
  border-color: var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
}

.button.secondary:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--card);
}

.button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 0;
}

.actions.start {
  justify-content: flex-start;
  margin: 0;
}

.video-card {
  padding: 32px;
}

.lesson-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-card h2 {
  margin-bottom: 24px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.media-shell {
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: var(--ink-soft);
  object-fit: contain;
}

.video-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.media-error {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--warning-line);
  border-left: 4px solid var(--warning);
  border-radius: var(--radius-sm);
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 14px;
}

.media-error p {
  margin-bottom: 8px;
}

details {
  margin-top: 16px;
}

summary {
  width: fit-content;
  min-height: 44px;
  padding: 9px 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

details p {
  margin-top: 10px;
}

.takeaway {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--lime-strong);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--lime-soft);
  color: var(--ink);
  font-size: 15px;
}

.check {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.question {
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.question:last-child {
  margin: 0;
}

.question legend {
  width: 100%;
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.45;
}

.question-number {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  margin-bottom: 9px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.option:last-child {
  margin-bottom: 0;
}

.option:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.option:has(input:checked) {
  border-color: var(--selected-line);
  background: var(--lime-soft);
  box-shadow: inset 4px 0 0 var(--lime-strong);
}

.option:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.feedback {
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  color: var(--green);
  font-size: 14px;
}

.feedback.error {
  background: var(--red-soft);
  color: var(--red);
}

.case-facts {
  margin-top: 0;
  font-size: 15px;
}

.case-facts li {
  margin-top: 6px;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.result-layout .card {
  height: 100%;
  margin: 0;
}

.score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
  border-color: var(--lime-strong);
  background: var(--ink);
  color: var(--card);
  text-align: center;
}

.score-card .small,
.score-card .score-status,
.score-card .score {
  color: var(--card);
}

.score-card.retry {
  border-color: var(--warning-line);
  background: var(--ink-soft);
}

.score-orbit {
  position: relative;
  display: grid;
  width: 176px;
  height: 176px;
  margin: 8px 0 20px;
  place-items: center;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(var(--lime) calc(var(--score-percent, 0) * 1%), var(--line-dark) 0);
}

.score-orbit::before {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--ink-soft);
  content: "";
}

.score {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 56px;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
}

.score-orbit .score {
  position: relative;
  z-index: 1;
  margin: 0;
}

.score-status {
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 750;
}

.next-steps-card,
.nextsteps-card,
.next-step-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.next-steps-card .result-icon,
.nextsteps-card .result-icon,
.next-step-card .result-icon {
  background: var(--lavender-soft);
  color: var(--ink);
}

.next-steps-card a,
.nextsteps-card a,
.next-step-card a {
  color: var(--ink);
  font-weight: 750;
}

.review-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.review-row:first-child {
  padding-top: 8px;
  border: 0;
}

.review-row:last-child {
  padding-bottom: 0;
}

.review-row h3 {
  margin-top: 4px;
  font-size: 15px;
}

.review-row p {
  margin: 7px 0 0;
  font-size: 14px;
}

.result-tag {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.result-tag.wrong {
  color: var(--red);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: -80px;
  left: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--card);
}

.skip-link:focus {
  top: 12px;
}

.no-script {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
}

.inline-alert {
  margin-top: 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 650;
}

@media (min-width: 701px) {
  .hero-art {
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
    align-items: center;
    width: 100%;
  }

  .art-top,
  .art-note {
    grid-column: 1 / -1;
  }

  .flow-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    height: 100%;
    padding: 12px;
  }

  .step-symbol {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .flow-connector {
    width: 18px;
    height: 1px;
    margin: 0;
  }
}

@media (max-width: 900px) {
  .welcome-grid {
    grid-template-columns: 1fr;
  }

  .welcome-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .welcome-hero {
    padding: 40px;
  }

  .lesson-tiles {
    gap: 14px;
  }
}

@media (max-width: 700px) {
  .wrap {
    padding-inline: 18px;
  }

  .welcome-grid {
    margin-top: 24px;
  }

  .welcome-side,
  .lesson-tiles,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .lesson-tile {
    display: grid;
    grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
    column-gap: 16px;
  }

  .tile-top {
    grid-column: 1 / -1;
  }

  .tile-visual {
    grid-row: 2 / span 2;
  }

  .lesson-tile h3 {
    align-self: end;
    margin-top: 8px;
  }

  .tile-caption {
    align-self: start;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 16px 14px 24px;
  }

  .brand-row {
    gap: 12px;
    min-height: 64px;
    padding-top: 4px;
  }

  .brand-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small,
  .brand > span {
    font-size: 9px;
  }

  .demo-label {
    padding-inline: 9px;
    font-size: 9px;
  }

  .course-progress {
    margin: 20px 0 28px;
  }

  .progress-caption {
    gap: 8px;
    font-size: 10px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .welcome-hero {
    padding: 28px 22px 22px;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 2.625rem;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-duration {
    text-align: center;
  }

  .hero-art {
    margin-top: 28px;
    padding: 14px;
  }

  .welcome-video {
    margin-top: 28px;
    border-radius: var(--radius-sm);
  }

  .flow-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 11px;
  }

  .step-symbol {
    width: 36px;
    height: 36px;
  }

  .flow-connector {
    margin-left: 29px;
  }

  .outcome-card,
  .assessment-card,
  .card {
    padding: 22px;
    border-radius: var(--radius-md);
  }

  .lesson-preview {
    margin-top: 40px;
  }

  .lesson-tile {
    display: block;
  }

  .lesson-tile h3 {
    margin-top: 16px;
  }

  .video-card {
    padding: 18px;
  }

  .media-shell {
    padding: 7px;
    border-radius: var(--radius-sm);
  }

  .video-card h2 {
    font-size: 1.5rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .actions .button {
    width: 100%;
  }

  .actions.start {
    flex-direction: column;
  }

  .lesson-list small {
    font-size: 11px;
  }

  .score-orbit {
    width: 156px;
    height: 156px;
  }

  .score {
    font-size: 48px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Video-led course welcome. */
.welcome-hero { padding: 34px; }
.welcome-hero .hero-title { font-size: clamp(2.2rem, 4.2vw, 3rem); }
.welcome-hero .hero-copy { margin-top: 16px; margin-bottom: 0; font-size: 16px; }
.welcome-video { margin-top: 26px; border-radius: 16px; }
.welcome-transcript { margin-top: 6px; color: var(--muted-dark); font-size: 14px; }
.welcome-transcript summary { color: var(--muted-dark); font-weight: 500; }
.hero-duration strong,.hero-duration span { display: block; }
.brand-copy strong { color: var(--ink); text-transform: none; }
.score span { font-size: .52em; margin-left: 3px; }
@media(max-width:600px) { .welcome-hero { padding: 24px 20px; } .welcome-video { margin-top: 20px; border-radius: 10px; } }

/* Final typography and hierarchy refinements after browser review. */
:root { --display: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1 { font-weight: 650; letter-spacing: -.045em; }
h2,h3 { font-weight: 650; }
.brand-copy strong { font-weight: 750; letter-spacing: -.025em; }
.outcome-card li strong,.outcome-card li span { display: block; }
.outcome-card li strong { color: var(--ink); margin-bottom: 3px; font-weight: 650; }
.outcome-card > .small { margin-top: 20px; }
.assessment-icon { padding: 9px; }
.button { gap: 10px; font-weight: 650; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 0; }
@media(max-width:600px) { .section-heading { display: block; } .section-heading > span { display: block; margin-top: 8px; } }

/* BK-20260911-LEARNING-12 · Responsive lesson studio and low-data media */
.wrap { width:min(100%,1288px); }
body[data-view="lesson"] .page-heading h1 { font-size:clamp(1.8rem,3vw,2.5rem); }
body[data-view="lesson"] .page-heading { margin-bottom:24px; }
.course-progress { margin-bottom:26px; }
.page-heading { max-width:100%; }
.page-heading h1 { font-size:clamp(2rem,3.8vw,3rem); }
.lesson-stage-grid { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(260px,.9fr); gap:24px; align-items:start; }
.lesson-theatre { min-width:0; padding:30px; border:1px solid var(--ink); border-radius:28px; background:var(--ink); color:white; box-shadow:0 20px 40px rgba(20,30,24,.13); }
.lesson-stage-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }
.lesson-stage-heading .hero-kicker { color:var(--lime); margin:0; }
.duration-pill { border:1px solid #4c5650; border-radius:30px; padding:3px 10px; color:#c7d0ca; font-size:12px; font-variant-numeric:tabular-nums; }
.lesson-theatre h2 { color:white; max-width:22ch; font-size:clamp(1.5rem,2.5vw,2rem); line-height:1.15; margin-bottom:26px; letter-spacing:-.035em; }
.lesson-notes { display:grid; gap:18px; }
.method-card { padding:28px; background:white; border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow-sm); }
.method-card h2 { font-size:24px; line-height:1.18; margin-top:12px; }
.method-steps { padding:0; margin:28px 0 0; list-style:none; }
.method-steps li { display:grid; grid-template-columns:30px minmax(0,1fr); gap:12px; margin:0; position:relative; padding:0 0 22px; }
.method-steps li:last-child { padding-bottom:0; }
.method-steps li:not(:last-child):before { content:''; position:absolute; left:14px; top:30px; bottom:0; width:1px; background:var(--line); }
.method-index { display:grid; width:30px; height:30px; place-items:center; border-radius:50%; background:#f0f3ed; border:1px solid #e0e6da; font-size:10px; font-weight:700; color:#495542; }
.method-steps strong { display:block; font-size:16px; font-weight:650; line-height:1.5; }
.method-steps p { color:var(--muted); font-size:13px; line-height:1.5; margin:3px 0 0; }
.insight-card { padding:24px 28px; background:var(--lavender-soft); border:1px solid #d9cef9; border-radius:24px; }
.insight-label { display:block; font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.1em; color:#51446a; margin-bottom:10px; }
.insight-card p { font-size:15px; line-height:1.6; color:#362e45; }
.media-component { min-width:0; }
.welcome-hero .media-component { margin-top:28px; }
.media-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
.mode-switch { display:flex; padding:4px; border:1px solid #48514b; border-radius:32px; background:#252d28; }
.mode-switch button { display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:8px 13px; min-height:40px; border:0; border-radius:25px; background:transparent; color:#ced6d0; font-size:12px; font-weight:650; cursor:pointer; transition:background .18s,color .18s; }
.mode-switch button[aria-pressed="true"] { background:var(--lime); color:var(--ink); }
.mode-switch button:hover:not([aria-pressed="true"]) { background:#3b463f; color:white; }
.mode-switch svg,.audio-emblem svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.media-size { color:#bdc8c0; font-size:11px; }
#media-slot { border:1px solid #414a44; border-radius:16px; overflow:hidden; background:#232c26; }
#media-slot video { border-radius:0; }
.media-hint { color:#bbc7be; font-size:12px; margin:12px 0 0; }
.audio-stage { min-height:290px; display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center; padding:28px; background:#242e27; }
.audio-emblem { display:grid; width:64px; height:64px; place-items:center; border-radius:22px; color:var(--lime); background:#34422e; border:1px solid #4b5d3e; margin-bottom:18px; }
.audio-emblem svg { width:31px; height:31px; }
.audio-stage .eyebrow { color:#bfcbbf; font-size:10px; margin-bottom:7px; }
.audio-stage h3 { color:white; margin:0 0 8px; font-size:20px; max-width:28ch; }
.audio-stage p:not(.eyebrow) { font-size:13px; color:#bdc9be; }
.audio-stage audio { display:block; width:100%; max-width:520px; height:44px; margin-top:16px; }
.lesson-transcript { margin-top:8px; color:#d1d8d3; }
.lesson-transcript summary { color:#d1d8d3; font-weight:500; }
.lesson-transcript p { font-size:14px; line-height:1.8; }
.lesson-transcript .button { margin-bottom:6px; }
.practice-section { margin-top:42px; }
.practice-section .section-heading { align-items:center; margin-bottom:20px; }
.practice-section .section-heading p.small { margin-top:8px; }
.practice-progress { white-space:nowrap; padding:8px 13px; border:1px solid #ccd6c7; border-radius:25px; color:#40533a; font-size:12px; background:#f8faf5; }
.practice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.practice-card { min-width:0; padding:26px; background:#fff; border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow-sm); transition:border-color .18s; }
.practice-card.is-mastered { border-color:#a1b87b; }
.practice-card-top { display:flex; justify-content:space-between; gap:12px; font-size:10px; text-transform:uppercase; letter-spacing:.09em; color:var(--muted); font-weight:700; margin-bottom:17px; }
.practice-state { color:#4c6930; }
.practice-card .question { margin:0; }
.practice-card .question legend { font-size:18px; font-weight:650; line-height:1.45; min-height:53px; }
.practice-card .option { font-size:14px; padding:12px 14px; }
.practice-bottom { padding-top:20px; }
.practice-card.is-mastered .check-answer { opacity:1; background:#f0f7e3; border-color:#d0ddb8; color:#3d562c; }
.practice-card .option:has(input:disabled) { cursor:default; }
.practice-card .option:has(input:disabled):not(:has(input:checked)) { color:#6a716a; background:#fbfcf9; box-shadow:none; }
.practice-card .option input:disabled { opacity:1; }
.practice-card .feedback { margin-bottom:0; font-size:13px; }
.lesson-navigation { margin-top:28px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 0 4px; border-top:1px solid var(--line); }
.lesson-navigation p { margin:0; font-size:14px; }
.lesson-navigation > div:first-child > p:first-child { font-weight:600; }
.lesson-navigation .actions { flex-shrink:0; margin:0; }
.quiz-intro-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,.85fr); gap:24px; margin-bottom:40px; }
.case-card { background:var(--ink); color:white; padding:30px; border-radius:26px; box-shadow:var(--shadow-md); }
.case-card .hero-kicker { color:var(--lime); }
.case-card h2 { color:white; font-size:28px; letter-spacing:-.03em; }
.case-lead { color:#d0d8d2; font-size:15px; }
.fact-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid #455048; border-radius:14px; margin:22px 0 16px; }
.fact-strip div { padding:16px 18px; }
.fact-strip div+div { border-left:1px solid #455048; }
.fact-strip span { display:block; color:#c4cdc6; font-size:11px; }
.fact-strip strong { display:block; font-size:25px; font-weight:600; letter-spacing:-.025em; margin-top:4px; }
.case-rule { font-size:13px; color:#c4cdc6; }
.ai-draft { border-radius:12px; background:#303b33; border:1px solid #4c5d4d; padding:14px 18px; }
.ai-draft span { display:block; font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--lime); }
.ai-draft strong { font-weight:500; font-size:17px; }
.quiz-guide { background:var(--lavender-soft); border:1px solid #d9cef9; border-radius:26px; padding:28px; }
.quiz-guide p { font-size:14px; color:#554c64; }
.quiz-guide .pass-target { font-size:64px; line-height:1.2; letter-spacing:-.06em; margin:15px 0 10px; font-weight:650; color:#30283f; }
.pass-target span { font-size:30px; padding-left:5px; }
.quiz-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.quiz-section-heading h2 { margin:0; }
.quiz-question-card { display:flex; align-items:flex-start; gap:24px; margin-bottom:16px; background:white; border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow-sm); padding:28px; }
.question-marker { display:grid; flex-shrink:0; place-items:center; width:42px; height:42px; border-radius:13px; background:#edf2e6; color:#486033; font-size:13px; font-weight:650; }
.quiz-question-card .question { flex:1; margin:0; }
.quiz-question-card legend { margin-bottom:18px; }
.quiz-question-card .option { max-width:900px; }
.result-intro { font-size:17px; color:var(--muted); margin-bottom:28px; }
.result-layout { grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr); gap:24px; }
.result-layout .card { border-radius:26px; padding:34px; }
.next-step-card { display:flex; flex-direction:column; justify-content:center; background:#f0f4e8; border-color:#d4dfc5; }
.next-step-card h2 { font-size:clamp(1.6rem,2.8vw,2rem); max-width:18ch; }
.next-step-card p:not(.eyebrow) { max-width:43ch; }
.result-review { margin-top:28px; padding:30px; border-radius:24px; }
.skill-results { margin:24px 0 20px; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.skill-results > div { padding:16px; border:1px solid #e0e5dc; border-radius:13px; display:flex; flex-direction:column; justify-content:space-between; gap:12px; background:#fbfcf9; font-size:13px; }
.skill-results strong { font-size:12px; font-weight:600; }
.skill-correct { color:#356331; }
.skill-review { color:#94511b; }
.result-review details { border-top:1px solid var(--line); padding-top:10px; }
@media(max-width:1000px) {
 .lesson-stage-grid { grid-template-columns:minmax(0,1.85fr) minmax(230px,.85fr); gap:18px; }
 .lesson-theatre { padding:24px; }
 .method-card,.insight-card { padding:22px; }
 .lesson-navigation { align-items:flex-start; flex-direction:column; gap:16px; }
 .lesson-navigation .actions { width:100%; }
 .skill-results { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .lesson-stage-grid,.quiz-intro-grid { grid-template-columns:1fr; }
 .lesson-notes { grid-template-columns:1.2fr 1fr; align-items:start; }
 .practice-grid { grid-template-columns:1fr; }
 .practice-card .question legend { min-height:0; }
 .skill-results { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .quiz-guide { display:block; }
 .quiz-guide .pass-target { font-size:48px; }
 .quiz-question-card { padding:24px; gap:16px; }
}
@media(max-width:520px) {
 .lesson-theatre { padding:22px 16px 16px; border-radius:22px; }
 .lesson-theatre h2 { font-size:25px; margin-bottom:22px; }
 .lesson-notes { grid-template-columns:1fr; gap:14px; }
 .method-card { padding:22px; }
 .method-steps { margin-top:20px; }
 .method-steps li { padding-bottom:15px; }
 .insight-card { padding:20px 22px; }
 .media-toolbar { gap:7px; }
 .media-size { font-size:10px; }
 .mode-switch { padding:3px; }
 .mode-switch button { padding:8px 10px; font-size:11px; }
 #media-slot { border-radius:11px; }
 .audio-stage { min-height:260px; padding:24px 14px; }
 .audio-stage h3 { font-size:18px; }
 .audio-stage p { font-size:12px; }
 .practice-section { margin-top:30px; }
 .practice-progress { display:inline-block; margin-top:10px; }
 .practice-card { padding:22px 18px; border-radius:20px; }
 .lesson-navigation { margin-top:22px; padding-top:22px; }
 .lesson-navigation .actions { flex-direction:column-reverse; align-items:stretch; }
 .lesson-navigation .button { width:100%; }
 .case-card { padding:24px 20px; }
 .fact-strip div { padding:12px 10px; }
 .fact-strip strong { font-size:22px; }
 .case-card h2 { font-size:25px; }
 .quiz-guide { padding:24px; }
 .quiz-section-heading { align-items:flex-start; flex-direction:column; }
 .quiz-question-card { display:block; padding:22px 18px; }
 .question-marker { margin-bottom:15px; width:34px; height:34px; }
 .result-layout .card { padding:28px 22px; }
 .result-review { padding:24px 20px; }
 .skill-results { gap:10px; }
 .skill-results > div { padding:12px; }
}

.mode-switch button { min-height:44px; }
.score-card.retry .score-orbit { background:conic-gradient(#e2c186 calc(var(--score-percent, 0) * 1%),var(--line-dark) 0); }
.result-layout > * { min-width:0; }
@media(max-width:700px) { .result-layout { grid-template-columns:minmax(0,1fr); } }
@media(min-width:761px) and (max-width:900px) {
 .lesson-stage-grid { grid-template-columns:minmax(0,1fr); }
 .lesson-notes { grid-template-columns:1.2fr 1fr; align-items:start; }
 .practice-grid { grid-template-columns:1fr; }
 .practice-card .question legend { min-height:0; }
}

.video-cover { position:relative; aspect-ratio:16/9; overflow:hidden; }
.video-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.video-cover::after { content:''; position:absolute; inset:50% 0 0; background:linear-gradient(transparent,rgba(12,20,16,.55)); pointer-events:none; }
.play-video { position:absolute; z-index:1; bottom:20px; left:20px; display:flex; align-items:center; gap:10px; min-height:48px; padding:10px 18px 10px 12px; border:1px solid #e2f998; border-radius:30px; background:var(--lime); color:var(--ink); font-size:13px; font-weight:650; cursor:pointer; box-shadow:0 4px 20px #0002; transition:background .18s; }
.play-video svg { width:23px; height:23px; }
.play-video:hover { background:#e3ff93; }
@media(max-width:520px) { .play-video { left:12px; bottom:12px; min-height:44px; padding:8px 14px 8px 9px; font-size:12px; } }

/* Final demo presentation: a complete first screen on laptops, natural mobile flow. */
.header-actions { display:flex; align-items:center; gap:18px; }
.home-link { display:inline-flex; align-items:center; min-height:44px; font-size:13px; font-weight:600; }
@media(min-width:960px) {
 .wrap { width:min(100%,1360px); padding-top:12px; }
 .brand-row { min-height:64px; padding-bottom:12px; }
 .welcome-grid { grid-template-columns:minmax(0,1fr); gap:22px; margin-top:24px; }
 .welcome-hero { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); column-gap:36px; padding:28px; align-content:start; }
 .welcome-hero .hero-kicker { grid-column:1; grid-row:1; align-self:end; margin:12px 0; }
 .welcome-hero .hero-title { grid-column:1; grid-row:2; font-size:clamp(2.2rem,3.4vw,3rem); margin:0; align-self:start; }
 .welcome-hero .hero-copy { grid-column:1; grid-row:3; margin:16px 0; max-width:40ch; }
 .welcome-hero .hero-actions { grid-column:1; grid-row:4 / 6; align-self:start; margin-top:12px; flex-wrap:wrap; gap:16px; }
 .welcome-hero .media-component { grid-column:2; grid-row:1 / 5; margin:0; }
 .welcome-hero .welcome-transcript { grid-column:2; grid-row:5; margin:0; }
 .welcome-side { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:22px; }
 .outcome-card { padding:24px; }
 .outcome-card h2 { font-size:22px; margin:8px 0 18px; }
 .outcome-card h2 br { display:none; }
 .outcome-card ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:0; }
 .outcome-card li { margin:0; font-size:14px; }
 .outcome-card > .small { margin:16px 0 0; font-size:12px; }
 .assessment-card { padding:24px; }
 .assessment-card .assessment-icon { margin-bottom:12px; }
 .assessment-card h3 { margin:10px 0; }
 .assessment-card p { font-size:14px; }
 .course-progress { margin:18px 0; }
 body[data-view="lesson"] .page-heading { margin-bottom:16px; }
 body[data-view="lesson"] .page-heading h1 { font-size:28px; }
 .page-heading .eyebrow { margin-bottom:6px; }
 .lesson-theatre { padding:24px; }
 .lesson-theatre h2 { max-width:none; font-size:26px; margin-bottom:18px; }
 .lesson-stage-heading { margin-bottom:8px; }
 .method-card,.insight-card { padding:22px; }
 .method-steps { margin-top:20px; }
}
@media(max-width:600px) {
 .header-actions { gap:10px; }
 .home-link { font-size:12px; }
 .header-actions .demo-label { display:none; }
 .welcome-grid { margin-top:20px; }
 .welcome-hero .hero-title { font-size:clamp(2rem,9vw,2.625rem); }
 .hero-actions { margin-top:22px; }
 .hero-duration { font-size:12px; }
}

/* Journey hierarchy and focused desktop screens. */
.journey-label { color:var(--lime); font-size:12px; font-weight:650; margin:0 0 10px; }
.practice-section { margin-top:12px; }
@media(min-width:960px) {
 .welcome-hero .media-component { grid-row:1 / 5; }
 .welcome-hero .welcome-transcript { grid-column:2; grid-row:5; }
 .welcome-hero .hero-actions { grid-column:2; grid-row:6; margin-top:16px; align-items:center; }
 .welcome-hero .hero-copy { align-self:start; }
 .welcome-hero .hero-kicker { align-self:end; }
 .welcome-hero .hero-duration { font-size:12px; }
 .welcome-hero .media-component .video-cover, .welcome-hero #media-slot video { max-height:36vh; width:100%; object-fit:contain; }
 .welcome-hero .video-cover img { object-fit:contain; }
 body[data-view="lesson"] .page-heading { display:none; }
 .lesson-stage-grid { grid-template-columns:minmax(0,1.85fr) minmax(250px,.85fr); }
 .lesson-theatre .video-cover,.lesson-theatre #media-slot video { max-height:38vh; width:100%; object-fit:contain; }
 .lesson-theatre .video-cover img { object-fit:contain; }
 .lesson-theatre h2 { margin-bottom:12px; font-size:24px; }
 .lesson-theatre { padding:20px; }
 .lesson-navigation { margin-top:16px; padding-top:16px; }
 .practice-card { padding:20px; }
 .practice-card .option { padding:10px 12px; }
 .practice-section .section-heading { margin-bottom:12px; }
 body[data-view="quiz"] .page-heading { display:none; }
 body[data-view="quiz"] #screen { display:grid; grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr); gap:24px; align-items:start; }
 .quiz-intro-grid { display:block; margin:0; }
 .case-card { padding:22px; }
 .case-card h2 { font-size:24px; }
 .quiz-guide { padding:16px 22px; margin-top:16px; }
 .quiz-guide .pass-target { font-size:30px; display:inline-block; margin:0 10px 0 0; }
 .quiz-guide h3 { display:inline; font-size:16px; }
 .quiz-guide .eyebrow { margin-bottom:8px; }
 .quiz-guide p { margin:8px 0 0; font-size:12px; }
 .quiz-question-card { padding:22px; gap:14px; }
 #quiz-form .lesson-navigation { flex-direction:column; align-items:stretch; gap:12px; }
 #quiz-form .lesson-navigation .actions { flex-wrap:wrap; justify-content:flex-end; }
 #quiz-form .lesson-navigation > div:first-child { display:none; }
 body[data-view="results"] .course-progress { margin:12px 0; }
 body[data-view="results"] .page-heading { margin-bottom:12px; }
 body[data-view="results"] .page-heading h1 { font-size:28px; }
 .result-intro { margin-bottom:16px; }
 .result-layout .card { padding:20px; }
 .score-orbit { width:120px; height:120px; }
 .score { font-size:40px; }
 .result-review { padding:20px; margin-top:16px; }
 .skill-results { margin:12px 0; }
 .result-review h2 { font-size:22px; margin-bottom:8px; }
 body[data-view="results"] .actions { margin-top:12px; }
}
@media(min-width:960px) and (max-height:850px) {
 .lesson-theatre .video-cover,.lesson-theatre #media-slot video { max-height:28vh; }
 .lesson-theatre .media-hint { margin-top:6px; }
 .method-steps li { padding-bottom:14px; }
 .method-card h2 { font-size:21px; }
 .insight-card { padding:16px 20px; }
 .lesson-notes { gap:12px; }
 .course-progress { margin:12px 0; }
 .practice-card .question legend { font-size:16px; }
 .practice-card .option { padding:8px 10px; }
 .practice-bottom { padding-top:10px; }
 .practice-section .section-heading h2 { font-size:24px; }
}

body[data-view="results"] #screen > .actions { justify-content:flex-start; gap:12px; margin:0 0 18px; flex-wrap:wrap; }
@media(min-width:960px) and (max-height:850px) {
 .result-layout .card { padding:16px 20px; }
 .result-layout .score-orbit { width:88px; height:88px; margin:8px auto; }
 .result-layout .score { font-size:32px; }
 .score-status { margin:8px 0; }
 .next-step-card .result-icon { display:none; }
 .next-step-card h2 { font-size:24px; max-width:none; margin:8px 0; }
 .result-review { padding:16px 20px; }
 .skill-results > div { padding:10px; gap:6px; }
}

/* Welcome context, within the existing composition. */
.welcome-expectations { margin-top:24px; padding-top:20px; border-top:1px solid var(--line-dark); color:var(--muted-dark); }
.welcome-expectations .welcome-topic { font-size:11px; letter-spacing:.04em; margin:0 0 8px; color:var(--lime); }
.welcome-expectations h2 { color:white; font-size:21px; margin:0 0 12px; }
.welcome-expectations p { font-size:14px; line-height:1.6; margin:0 0 14px; }
.welcome-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:20px 0; }
.welcome-facts div+div { border-left:1px solid var(--line-dark); padding-left:16px; }
.welcome-facts dt { color:var(--lime); font-size:26px; font-weight:650; line-height:1.2; }
.welcome-facts dd { margin:4px 0 0; font-size:12px; }
.welcome-expectations .welcome-pace { font-size:12px; margin-bottom:0; }
@media(min-width:960px) { .welcome-expectations { grid-column:1; grid-row:4 / 7; align-self:start; margin-top:8px; } }
