.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.course-hero .hero-stage { height: auto; }
.course-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: 5%;
  padding-block: clamp(36px, 4.7vw, 75px) clamp(56px, 6.2vw, 96px);
}
.back-link, .inline-link {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-weight: 500;
  text-underline-offset: .22em;
}
.back-link { color: var(--wine); font-size: 1.05rem; }
.back-link span { transition: transform .28s var(--ease); }
.back-link:hover span { transform: translateX(-4px); }
.inline-link { text-decoration: underline; }
.course-hero h1 {
  margin: clamp(24px, 2.7vw, 42px) 0;
  text-align: left;
  font-size: clamp(62px, 7.4vw, 116px);
  line-height: .94;
  letter-spacing: -.065em;
}
.intro-actions .button { background: var(--wine); color: white; }
.intro-actions .button:hover { background: var(--wine2); }
.intro-copy > p {
  max-width: 610px;
  font-size: clamp(21px, 1.85vw, 29px);
  letter-spacing: -.025em;
  line-height: 1.21;
}
.intro-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 19px 28px;
  margin-top: clamp(28px, 3.2vw, 50px);
}
.course-mascot {
  display: grid;
  justify-items: center;
  align-self: end;
}
.course-mascot speaking-mascot { width: min(91%, 355px); }
.promo-brief { color: var(--wine); background: var(--mint); }
.promo-brief .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
  padding-block: clamp(30px, 3.7vw, 56px);
}
.promo-brief .eyebrow { margin: 0 0 10px; }
.promo-brief h2 {
  font-size: clamp(36px, 4.25vw, 65px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.offer-copy {
  max-width: 580px;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.25;
}
.offer-copy a { margin-top: 12px; font-size: 1rem; }
.price-section .heading { margin-bottom: clamp(24px, 3.4vw, 48px); }
.rate-block {
  --card-tint: var(--mist);
  --card-edge: var(--mist);
}
.rate-block + .rate-block { margin-top: clamp(38px, 5vw, 72px); }
.promo-rates { --card-tint: var(--mint); --card-edge: var(--mist); }
.rate-block h3 { margin: 0; font-size: clamp(24px, 2.4vw, 35px); }
.rate-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.rate-controls { display: flex; gap: 5px; flex: none; }
.rate-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-tint);
  color: var(--wine);
  font-size: 21px;
}
.rate-controls button:not(:disabled):hover { background: var(--mint-accent); }
.rate-controls button:disabled { opacity: .4; cursor: default; }
.tariff-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 39%;
  align-items: start;
  gap: clamp(12px, 1.6vw, 24px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.tariff-grid::-webkit-scrollbar { display: none; }
.tariff-grid:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.duration-card {
  scroll-snap-align: start;
  color: var(--wine);
  background: white;
  border: 1px solid var(--card-edge);
  border-radius: 20px;
  overflow: hidden;
}
.duration-card:last-child { scroll-snap-align: end; }
.duration-card h4 {
  margin: 0;
  padding: 18px clamp(16px, 1.6vw, 24px);
  font-size: clamp(38px, 3.5vw, 54px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1;
  background: var(--card-tint);
}
.promo-rates .duration-card h4 { background: var(--wine); color: white; }
.duration-card h4 span { font-size: .48em; letter-spacing: -.03em; }
.tariff-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 10px clamp(12px, 1.3vw, 20px);
  border-top: 1px solid var(--card-edge);
  background: white;
  color: var(--wine);
  text-align: left;
}
.tariff-row:hover, .tariff-row:focus-visible { background: var(--pale); }
.tariff-row:focus-visible { outline-offset: -3px; }
.rate-name { font-weight: 500; font-size: clamp(16px, 1.25vw, 20px); }
.rate-amount { text-align: right; }
.rate-amount strong, .rate-amount small { display: block; white-space: nowrap; }
.rate-amount strong { font-size: clamp(18px, 1.45vw, 23px); font-weight: 600; font-variant-numeric: tabular-nums; }
.rate-amount small { font-size: 13px; color: var(--muted); }
.rate-info { width: 20px; height: 20px; border: 1px solid var(--silver); border-radius: 50%; text-align: center; font: italic 500 14px/18px Norms, sans-serif; }
.tariff-row:hover .rate-info, .tariff-row:focus-visible .rate-info { background: var(--wine); color: white; border-color: var(--wine); }
.plan-dialog { max-height: 88dvh; overscroll-behavior: contain; }
html:has(.plan-dialog[open]) { overflow: hidden; }
.plan-panel { padding: clamp(24px, 4vw, 38px); }
.plan-panel h2 { margin: 0 36px 8px 0; font-size: clamp(29px, 3vw, 42px); line-height: 1.06; letter-spacing: -.045em; color: var(--wine); }
.plan-context { color: var(--muted); margin: 0 0 22px; }
.plan-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--pale); color: var(--wine); font-size: 23px; }
.terms-table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: .94rem; }
.terms-table caption { text-align: left; font-weight: 600; padding-bottom: 8px; }
.terms-table td, .terms-table th { text-align: left; padding: 8px 4px 8px 0; border-bottom: 1px solid var(--mist); }
.terms-table th { font-weight: 500; }
.course-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.course-field { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; }
.course-field select, .choice-trigger {
  width: 100%;
  min-height: 48px;
  font: inherit;
  border: 1px solid var(--mist);
  border-radius: 12px;
  color: var(--wine);
  background: var(--soft);
  padding: 10px 12px;
}
.choice-trigger { display: flex; align-items: center; justify-content: space-between; gap: 4px; text-align: left; }
.choice-trigger::after {
  content: '';
  width: 8px;
  height: 8px;
  flex: none;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.choice-trigger[aria-expanded="true"] { border-color: var(--focus); background: var(--pale); }
.choice-trigger[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.choice-box { position: relative; }
.choice-menu {
  position: absolute;
  z-index: 5;
  inset: calc(100% + 5px) 0 auto;
  padding: 5px;
  border-radius: 15px;
  border: 1px solid var(--mist);
  box-shadow: 0 8px 24px #4c283d1c;
  background: white;
  max-height: min(240px, 45dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.choice-menu.above { inset: auto 0 calc(100% + 5px); }
.choice-option { display: flex; justify-content: space-between; align-items: center; gap: 3px; min-height: 44px; padding: 7px 9px; border-radius: 9px; cursor: pointer; }
.choice-option.active, .choice-option:hover { background: var(--pale); }
.choice-option[aria-selected="true"] { background: var(--mint-accent); color: var(--wine); }
.choice-option[aria-selected="true"]::after {
  content: '';
  width: 6px;
  height: 11px;
  flex: none;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .choice-menu:not([hidden]), .plan-dialog[open] { animation: choice-in .18s var(--ease); }
  .choice-trigger::after { transition: transform .2s var(--ease); }
  @keyframes choice-in { from { opacity: 0; transform: translateY(3px); } }
}
#trial .split { align-items: start; }
#trial .trial-copy { padding-block: 12px; }
#trial .trial-copy .lead { max-width: 580px; margin-bottom: 0; }
@media (max-width: 800px) {
  .course-intro { grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: 22px; }
  .course-mascot speaking-mascot { width: 100%; }
  .tariff-grid { grid-auto-columns: 78%; }
}
@media (max-width: 600px) {
  .course-intro { display: block; position: relative; padding-top: 22px; }
  .course-hero h1 { margin: 28px 0 24px; font-size: clamp(47px, 12.7vw, 74px); }
  .course-mascot { position: absolute; top: 24px; right: var(--pad); width: 23%; max-width: 122px; }
  .intro-copy { position: relative; z-index: 1; pointer-events: none; }
  .intro-copy a { pointer-events: auto; }
  .intro-copy > p { font-size: 19px; }
  .intro-actions { gap: 16px; }
  .promo-brief .wrap { grid-template-columns: 1fr; gap: 17px; }
  .tariff-grid { grid-auto-columns: 89%; }
  .course-options { gap: 12px; }
  #trial .trial-copy { padding-block: 0; }
}
@media (max-width: 370px) {
  .price-section .wrap { padding-inline: 13px; }
  .course-options { grid-template-columns: 1fr; }
}

.direction-hero .course-intro { grid-template-columns: minmax(0, 1.85fr) minmax(0, .85fr); }
.direction-hero h1 { font-size: clamp(43px, 6vw, 96px); }
.direction-rates { --card-tint: var(--mint); }
.direction-rates .rate-heading { margin-bottom: clamp(22px, 3vw, 42px); }
@media (max-width: 600px) {
  .direction-hero h1 { font-size: clamp(33px, 9.2vw, 55px); }
  .direction-hero .course-mascot { top: 5px; width: 48px; }
}
