/* Course modes and the two-stream waiting list use the shared theme palette. */
.course-modes{display:flex;gap:4px;margin:20px 0 16px;padding:4px;border:1px solid var(--line);border-radius:14px;background:rgba(128,128,112,.06)}
.course-modes button{flex:1;min-width:0;min-height:44px;padding:10px 8px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:12px;line-height:1.4;cursor:pointer}
.course-modes button[aria-pressed="true"]{background:#d6ff3f;color:#1d1d1b;font-weight:600}
.course-modes button:hover{color:var(--text)}
.course-modes button[aria-pressed="true"]:hover{color:#1d1d1b}
.course-mode-panel{display:flex;flex:1;flex-direction:column;min-width:0}
.course-mode-panel[hidden]{display:none}
.course-mode-panel>.offer-lead{margin-top:0}
.course-mode-panel .offer-highlights strong{color:var(--text);font-weight:600}
.course-offers .course-mode-panel>.cta{width:100%;min-height:46px;padding:12px 14px;border-radius:10px;font-size:12px;line-height:1.5;font-weight:600;cursor:pointer}
.course-offers .offer.featured .course-mode-panel>.cta{min-height:52px;background:var(--accent-gradient);color:var(--ink);border-color:transparent}
.course-offers .offer:not(.featured) .course-mode-panel>.cta{background:rgba(128,128,112,.08);color:var(--text);border-color:var(--line)}
.course-offers .course-mode-panel>.cta:hover{background:#d6ff3f!important;color:#1d1d1b!important;border-color:transparent}
.group-saving{margin:-8px 0 20px;color:var(--muted);font-size:12px;line-height:1.65}
.group-start{margin-top:22px;color:var(--text);font-size:13px;line-height:1.7}
.waitlist-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:28px;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);overflow:auto}
.waitlist-dialog::backdrop{background:rgba(0,0,0,.7)}
.waitlist-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}
.waitlist-dialog h2{font-size:28px;line-height:1.2;letter-spacing:-.035em}
.waitlist-close{flex-shrink:0;min-width:44px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--text);font-size:24px;line-height:1;cursor:pointer}
.waitlist-intro{margin-bottom:20px;font-size:14px;line-height:1.7;color:var(--muted)}
.waitlist-course{display:block;margin-bottom:8px;color:var(--text);font-weight:600}
.waitlist-form{display:grid;gap:16px}
.waitlist-field{display:grid;gap:8px;font-size:13px;line-height:1.5}
.waitlist-field input{width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--canvas);color:var(--text);font:inherit;outline-offset:3px}
.waitlist-field input:focus-visible{outline:2px solid #a4d65e}
.waitlist-consent{display:flex;align-items:flex-start;gap:10px;color:var(--muted);font-size:12px;line-height:1.6}
.waitlist-consent input{width:18px;height:18px;flex-shrink:0;margin:2px 0 0;accent-color:#a4d65e}
.waitlist-form .cta{width:100%;cursor:pointer}
.waitlist-form .cta:disabled{opacity:.65;cursor:wait}
.waitlist-status{font-size:13px;line-height:1.7;color:var(--text)}
.waitlist-contact{margin-top:18px;color:var(--muted);font-size:12px;line-height:1.6}
.waitlist-contact a{text-decoration:none;text-underline-offset:3px}
.waitlist-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:699px){.waitlist-dialog{padding:24px}.waitlist-dialog h2{font-size:26px}.course-modes button{font-size:11px}}
/* Programs open outside the carousel; card widths and prices retain their scale. */
.course-offers{align-items:stretch}
html{scrollbar-gutter:stable}
html.course-program-active{overflow:hidden}
.course-program-open{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding-top:22px;margin-top:auto;color:var(--text);font-size:13px;font-weight:600;line-height:1.5}
.course-program-plus{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;color:var(--accent-text,var(--mint));font-size:26px;font-weight:400;line-height:1;transition:background .2s,color .2s}
.course-program-open:hover .course-program-plus{background:var(--mint);color:var(--ink);border-color:transparent}
.course-program-dialog{width:min(960px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:26px;background:var(--surface);color:var(--text);overflow:hidden}
.course-program-dialog[open]{display:flex;flex-direction:column}
.course-program-dialog::backdrop{background:rgba(0,0,0,.7)}
.course-program-header{display:flex;flex-shrink:0;align-items:flex-start;justify-content:space-between;gap:20px;padding:28px 32px;border-bottom:1px solid var(--line)}
.course-program-header h2{font-size:clamp(22px,2.2vw,32px);font-weight:600;line-height:1.25;letter-spacing:-.035em}
.course-program-header p{margin-top:10px;color:var(--accent-text,var(--mint));font-size:13px;line-height:1.5}
.course-program-close{flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--text);font-size:26px;line-height:1;cursor:pointer}
.course-program-close:hover{background:var(--mint);color:var(--ink)}
.course-program-body{min-height:0;padding:28px 18px 20px;overflow:auto;overscroll-behavior:contain}
.course-program-body>.program-route{margin:0;border:0;background:transparent}
.course-program-source{display:none}
.course-program-source:target{display:block!important;position:fixed;z-index:1000;inset:16px;margin:0;max-height:calc(100dvh - 32px);overflow:auto;background:var(--surface);border-color:var(--line)}
.program-fallback-close{position:sticky;z-index:3;top:0;display:block;min-height:44px;padding:12px 24px;background:var(--surface);color:var(--accent-text,var(--mint));font-size:14px;text-decoration:none}
.course-program-body [data-program-fallback-close]{display:none}
.course-program-body .program-route-intro{padding:0 14px 24px}
.course-program-body .timeline{align-items:stretch}
.course-program-body .module{background:var(--graphite);border-color:var(--line)}
.course-program-body .module-heading{font-size:22px}
.course-program-body .module>summary{min-height:0}
.program-mode-note{margin-top:14px}
.module .program-stage-result{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);color:var(--text);font-size:13px;line-height:1.65}
.program-scope-note{margin:6px 30px 26px;color:var(--muted);font-size:12px;line-height:1.7}
@media(min-width:1100px){.course-offers .offer-base,.course-offers .offer-production{min-height:756px}}
@media(max-width:699px){
 .course-program-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:22px}
 .course-program-header{gap:12px;padding:20px}
 .course-program-header h2{font-size:22px}
 .course-program-header p{font-size:12px}
 .course-program-body{padding:20px 10px 12px}
 .course-program-body .program-route-intro{padding:0 10px 20px}
 .course-program-body .timeline{grid-template-columns:1fr}
 .course-program-body .module-heading{font-size:20px}
 .program-scope-note{margin:6px 20px 22px}
}
