:root {
  --navy-950: #071a2d;
  --navy-900: #102a43;
  --navy-850: #153653;
  --navy-800: #1a4162;
  --navy-700: #275574;
  --teal-700: #116b68;
  --teal-600: #16847e;
  --teal-500: #21a097;
  --teal-100: #dff4f1;
  --teal-50: #effaf8;
  --amber-600: #bd7a16;
  --amber-500: #db9b2b;
  --amber-300: #f3c96b;
  --amber-100: #fff2cf;
  --ink: #172b3a;
  --muted: #5d6f7d;
  --line: #d9e2e8;
  --line-dark: #c4d1da;
  --surface: #ffffff;
  --surface-soft: #f5f8fa;
  --surface-warm: #fbf9f5;
  --success: #197249;
  --success-soft: #e8f7ef;
  --danger: #b33a3a;
  --danger-soft: #fff0f0;
  --focus: #0e73c9;
  --shadow-sm: 0 2px 8px rgba(9, 33, 52, .08);
  --shadow-md: 0 12px 34px rgba(9, 33, 52, .12);
  --shadow-lg: 0 24px 60px rgba(5, 24, 41, .2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --header-height: 72px;
  --max-width: 1240px;
  --font: Inter, Avenir Next, Avenir, Segoe UI, Helvetica Neue, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--focus);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 58px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #fff;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 50;
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; text-decoration: none; }
.brand-mark { position: relative; display: block; width: 34px; height: 34px; transform: rotate(-2deg); }
.brand-mark span { position: absolute; display: block; width: 17px; height: 17px; border: 2px solid var(--amber-300); border-radius: 50% 50% 50% 8px; }
.brand-mark span:nth-child(1) { left: 1px; top: 1px; transform: rotate(22deg); }
.brand-mark span:nth-child(2) { right: 1px; top: 4px; border-color: #55c1b7; transform: rotate(112deg); }
.brand-mark span:nth-child(3) { left: 9px; bottom: 0; border-color: #fff; transform: rotate(202deg); }
.brand-mark.small { width: 28px; height: 28px; transform: scale(.8); transform-origin: left center; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 17px; letter-spacing: .01em; }
.brand-copy small { margin-top: 5px; color: #9eb5c6; font-size: 9px; font-weight: 800; letter-spacing: .24em; }
.header-course-title { display: flex; align-items: center; gap: 18px; color: #b8c7d3; }
.header-course-title span { width: 1px; height: 28px; background: rgba(255,255,255,.22); }
.header-course-title p { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; color: #d5e0e8; background: transparent; border: 0; border-radius: 8px; font-size: 13px; font-weight: 700; }
.icon-button:hover { color: #fff; background: rgba(255,255,255,.08); }
.icon-button svg { width: 19px; height: 19px; }

.compliance-ribbon { min-height: 42px; padding: 9px clamp(20px, 4vw, 58px); display: flex; align-items: center; justify-content: center; gap: 10px; color: #35556b; background: #e9f5f3; border-bottom: 1px solid #cde5e2; font-size: 12px; position: relative; z-index: 20; }
.compliance-ribbon svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--teal-700); }
.compliance-ribbon p { margin: 0; }

.view { min-height: 60vh; }
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-900); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, var(--amber-500) 0 35%, var(--teal-500) 35% 67%, #78a7c4 67%); }
.hero-inner { width: min(var(--max-width), calc(100% - 48px)); min-height: 590px; margin: 0 auto; padding: 76px 0 82px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; position: relative; z-index: 3; }
.hero-grid { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, transparent 5%, #000 55%, #000); }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(1px); opacity: .35; }
.hero-glow-one { width: 650px; height: 650px; right: -180px; top: -230px; background: radial-gradient(circle, rgba(34,160,151,.5), transparent 68%); }
.hero-glow-two { width: 500px; height: 500px; left: -310px; bottom: -280px; background: radial-gradient(circle, rgba(219,155,43,.32), transparent 67%); }
.course-label { display: flex; align-items: center; gap: 10px; color: #b8d1dc; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.label-dot { width: 4px; height: 4px; background: var(--amber-300); border-radius: 50%; }
.hero h1 { margin: 22px 0 24px; max-width: 650px; font-size: clamp(52px, 6.2vw, 82px); line-height: .98; letter-spacing: -.055em; font-weight: 720; }
.hero h1 em { color: var(--amber-300); font-style: normal; font-weight: 480; }
.hero-lede { max-width: 610px; margin: 0; color: #c6d6e0; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 35px; }
.button { min-height: 44px; padding: 11px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 7px; font-weight: 750; line-height: 1.25; text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); }
.button svg { width: 19px; height: 19px; }
.button-large { min-height: 52px; padding: 14px 23px; }
.button-primary { color: #fff; background: var(--teal-700); border-color: var(--teal-700); box-shadow: 0 5px 16px rgba(12,75,72,.18); }
.button-primary:hover { background: #0d5c59; border-color: #0d5c59; }
.hero .button-primary { color: var(--navy-950); background: var(--amber-300); border-color: var(--amber-300); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.hero .button-primary:hover { background: #ffda7d; border-color: #ffda7d; }
.button-ghost-light { color: #fff; background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.35); }
.button-ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }
.button-secondary { color: var(--navy-900); background: #fff; border-color: var(--line-dark); }
.button-secondary:hover { background: var(--surface-soft); }
.button-danger { color: #fff; background: var(--danger); border-color: var(--danger); }
.button:disabled { cursor: not-allowed; transform: none; opacity: .48; box-shadow: none; }
.hero-meta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 0; }
.hero-meta div { min-width: 140px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.17); display: flex; flex-direction: column; }
.hero-meta div:first-child { padding-left: 0; border-left: 0; }
.hero-meta strong { color: #fff; font-size: 22px; line-height: 1; }
.hero-meta span { margin-top: 7px; color: #91aabd; font-size: 11px; }

.hero-visual { width: min(100%, 500px); aspect-ratio: 1; position: relative; justify-self: end; }
.orbit { position: absolute; border-radius: 50%; }
.orbit-outer { inset: 3%; border: 1px solid rgba(255,255,255,.18); }
.orbit-outer::before, .orbit-outer::after { content: ""; position: absolute; width: 8px; height: 8px; border: 2px solid var(--amber-300); border-radius: 50%; background: var(--navy-900); }
.orbit-outer::before { left: 13%; top: 14%; }
.orbit-outer::after { right: 3%; bottom: 25%; border-color: #5fc1b9; }
.orbit-inner { inset: 20%; border: 1px dashed rgba(255,255,255,.2); }
.visual-center { position: absolute; inset: 30%; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(8,30,49,.76); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 70px rgba(22,132,126,.25); backdrop-filter: blur(10px); }
.visual-center svg { width: 58px; height: 58px; color: var(--amber-300); }
.visual-center svg path:first-child { fill: rgba(243,201,107,.08); }
.visual-center strong { margin-top: 7px; font-size: 17px; line-height: 1.2; }
.visual-kicker { position: absolute; top: 22px; color: #77aaa8; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.orbit-chip { position: absolute; min-width: 126px; padding: 12px 15px; display: flex; align-items: center; gap: 10px; background: rgba(15,44,67,.94); border: 1px solid rgba(255,255,255,.16); border-radius: 9px; box-shadow: 0 10px 24px rgba(0,0,0,.19); font-size: 13px; }
.orbit-chip span { color: var(--amber-300); font-size: 9px; font-weight: 800; }
.orbit-chip strong { font-size: 12px; }
.chip-one { left: -2%; top: 20%; }
.chip-two { right: -1%; top: 12%; }
.chip-three { right: -4%; bottom: 20%; }
.chip-four { left: 1%; bottom: 10%; }

.trust-strip { max-width: var(--max-width); margin: 0 auto; padding: 29px 24px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.trust-strip > div { padding: 0 40px; display: flex; align-items: center; justify-content: center; gap: 16px; border-left: 1px solid var(--line); }
.trust-strip > div:first-child { border-left: 0; }
.trust-strip svg { width: 31px; height: 31px; flex: 0 0 auto; color: var(--teal-700); }
.trust-strip p { margin: 0; display: flex; flex-direction: column; }
.trust-strip strong { color: var(--navy-900); font-size: 13px; }
.trust-strip span { color: var(--muted); font-size: 11px; }

.journey-section { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; padding: 92px 0 100px; }
.section-heading { margin-bottom: 48px; display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 70px; }
.eyebrow { margin: 0 0 12px; color: #668091; font-size: 10px; font-weight: 850; letter-spacing: .2em; }
.eyebrow.teal { color: var(--teal-700); }
.eyebrow.amber { color: var(--amber-600); }
.section-heading h2, .promise-copy h2, .notice-section h2 { margin: 0; color: var(--navy-900); font-size: clamp(30px, 3.5vw, 43px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.journey-list { border-top: 1px solid var(--line-dark); }
.journey-item { display: grid; grid-template-columns: 100px 1fr 120px 48px; align-items: center; gap: 24px; min-height: 124px; padding: 18px 10px; border-bottom: 1px solid var(--line); transition: background .2s ease, padding .2s ease; }
.journey-item:hover { padding-left: 20px; padding-right: 20px; background: var(--surface-soft); }
.journey-number { color: #9aabb7; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.journey-title { display: flex; align-items: center; gap: 18px; }
.journey-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-50); border-radius: 50%; }
.journey-icon svg { width: 22px; height: 22px; }
.journey-title h3 { margin: 0; color: var(--navy-900); font-size: 18px; }
.journey-title p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.journey-time { color: var(--muted); font-size: 12px; }
.journey-button { width: 42px; height: 42px; display: grid; place-items: center; color: var(--navy-900); background: #fff; border: 1px solid var(--line-dark); border-radius: 50%; }
.journey-button:hover { color: #fff; background: var(--teal-700); border-color: var(--teal-700); }
.journey-button svg { width: 18px; height: 18px; }
.journey-item.is-complete .journey-number { color: var(--success); }
.journey-item.is-complete .journey-icon { color: var(--success); background: var(--success-soft); }

.course-promise { width: min(1120px, calc(100% - 48px)); margin: 0 auto 100px; padding: 70px clamp(38px, 6vw, 80px); display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 82px; background: var(--surface-warm); border-radius: var(--radius-lg); overflow: hidden; }
.promise-art { min-height: 300px; position: relative; display: grid; place-items: center; }
.promise-ring { position: absolute; border: 1px solid #d9d7ca; border-radius: 50%; }
.ring-a { inset: 4%; }
.ring-b { inset: 20%; border-style: dashed; }
.ring-c { inset: 35%; background: var(--amber-100); border-color: #edcc78; }
.promise-art div { z-index: 2; width: 82px; height: 82px; display: grid; place-items: center; color: #fff; background: var(--teal-700); border-radius: 50%; box-shadow: var(--shadow-md); }
.promise-art svg { width: 36px; height: 36px; stroke-width: 2.2; }
.promise-copy > p:not(.eyebrow) { color: var(--muted); }
.promise-quote { margin-top: 28px; padding-top: 25px; display: grid; grid-template-columns: 35px 1fr; border-top: 1px solid #dedbd0; }
.promise-quote > span { color: var(--amber-500); font-family: Georgia, serif; font-size: 49px; line-height: .8; }
.promise-quote blockquote { margin: 0; color: var(--navy-900); font-family: Georgia, serif; font-size: 17px; font-style: italic; line-height: 1.55; }
.notice-section { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto 100px; padding: 35px 42px; display: grid; grid-template-columns: 56px 1fr; gap: 27px; align-items: start; background: #fffaf0; border: 1px solid #edd9a8; border-left: 5px solid var(--amber-500); border-radius: var(--radius-md); }
.notice-icon { width: 52px; height: 52px; display: grid; place-items: center; color: #996112; background: var(--amber-100); border-radius: 50%; }
.notice-icon svg { width: 26px; height: 26px; }
.notice-section h2 { font-size: 24px; }
.notice-section p:last-child { margin: 10px 0 0; color: #66583f; font-size: 14px; }

.course-shell { width: 100%; min-height: calc(100vh - 114px); display: grid; grid-template-columns: 290px minmax(0, 1fr); }
.desktop-rail { padding: 34px 25px; color: #d7e2e9; background: var(--navy-900); }
.rail-progress { padding: 0 8px 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.rail-progress .eyebrow { color: #809dae; }
.rail-progress-value { display: flex; align-items: baseline; gap: 8px; }
.rail-progress-value strong { color: #fff; font-size: 28px; line-height: 1; }
.rail-progress-value span { color: #91a9b9; font-size: 11px; }
.progress-track { width: 100%; height: 6px; margin-top: 14px; overflow: hidden; background: rgba(144,166,181,.25); border-radius: 99px; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--amber-300); border-radius: inherit; transition: width .4s ease; }
.desktop-rail nav { margin-top: 23px; }
.course-nav-link { width: 100%; min-height: 59px; padding: 10px 8px; display: grid; grid-template-columns: 31px 1fr 20px; align-items: center; gap: 9px; color: #9eb2c0; background: transparent; border: 0; border-radius: 8px; text-align: left; }
.course-nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.course-nav-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.095); }
.course-nav-link[aria-current="page"] .nav-index { color: var(--navy-950); background: var(--amber-300); border-color: var(--amber-300); }
.nav-index { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #567387; border-radius: 50%; font-size: 10px; font-weight: 800; }
.course-nav-link.is-complete .nav-index { color: #fff; background: var(--success); border-color: #55ab7e; }
.course-nav-link strong { display: block; font-size: 12px; line-height: 1.25; }
.course-nav-link small { display: block; margin-top: 3px; color: #7692a4; font-size: 9px; }
.course-nav-link svg { width: 15px; height: 15px; opacity: .7; }
.rail-reminder { margin: 30px 7px 0; padding: 16px; display: flex; gap: 12px; color: #a9c1cd; background: rgba(5,23,38,.3); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.rail-reminder svg { width: 21px; height: 21px; flex: 0 0 auto; color: var(--amber-300); }
.rail-reminder p { margin: 0; display: flex; flex-direction: column; }
.rail-reminder strong { color: #e6edf2; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.rail-reminder span { margin-top: 3px; font-size: 10px; }

.lesson { min-width: 0; background: #fff; }
.lesson-hero { padding: 60px clamp(32px, 7vw, 105px) 48px; color: #fff; background: linear-gradient(135deg, var(--navy-850), var(--navy-900)); position: relative; overflow: hidden; }
.lesson-hero::after { content: ""; position: absolute; width: 330px; height: 330px; right: -120px; top: -180px; border: 70px solid rgba(34,160,151,.1); border-radius: 50%; }
.lesson-hero .module-breadcrumb { display: flex; align-items: center; gap: 9px; color: #a9c1d0; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.lesson-hero .module-breadcrumb span { width: 22px; height: 1px; background: var(--amber-300); }
.lesson-hero h1 { max-width: 760px; margin: 18px 0 16px; font-size: clamp(36px, 4vw, 54px); line-height: 1.08; letter-spacing: -.04em; }
.lesson-hero > p { max-width: 720px; margin: 0; color: #bfd0da; font-size: 17px; }
.lesson-meta { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 22px; color: #a8bdc9; font-size: 11px; }
.lesson-meta span { display: inline-flex; align-items: center; gap: 7px; }
.lesson-meta svg { width: 16px; height: 16px; color: var(--amber-300); }
.lesson-body { width: min(840px, calc(100% - 64px)); margin: 0 auto; padding: 58px 0 72px; }
.objective-card { margin-bottom: 50px; padding: 27px 30px; background: var(--teal-50); border-left: 4px solid var(--teal-600); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.objective-card h2 { margin: 0 0 12px; color: var(--navy-900); font-size: 17px; }
.objective-card ul { margin: 0; padding-left: 21px; color: #3f5c6b; font-size: 14px; }
.objective-card li + li { margin-top: 5px; }
.content-section { margin-top: 54px; scroll-margin-top: 20px; }
.content-section:first-of-type { margin-top: 0; }
.section-number { display: flex; align-items: center; gap: 12px; color: var(--teal-700); font-size: 10px; font-weight: 850; letter-spacing: .18em; }
.section-number::after { content: ""; width: 35px; height: 1px; background: var(--teal-500); }
.content-section h2 { margin: 11px 0 16px; color: var(--navy-900); font-size: 29px; line-height: 1.22; letter-spacing: -.025em; }
.content-section > p { margin: 0 0 16px; color: #496171; }
.lead-copy { font-size: 18px; line-height: 1.7; }
.parts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 27px 0; }
.part-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.part-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--part-color, var(--teal-600)); }
.part-head { display: flex; align-items: center; gap: 13px; }
.part-letter { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--part-color, var(--teal-600)); border-radius: 9px; font-weight: 850; }
.part-head h3 { margin: 0; color: var(--navy-900); font-size: 16px; }
.part-head span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.part-card p { margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.part-card ul { margin: 12px 0 0; padding-left: 18px; color: #435b69; font-size: 12px; }
.part-a { --part-color: #3978a5; }
.part-b { --part-color: #16847e; }
.part-c { --part-color: #8565a8; }
.part-d { --part-color: #b87527; }

.callout { margin: 28px 0; padding: 22px 24px; display: grid; grid-template-columns: 30px 1fr; gap: 14px; border-radius: var(--radius-sm); }
.callout svg { width: 25px; height: 25px; }
.callout h3 { margin: 0 0 4px; font-size: 14px; }
.callout p { margin: 0; font-size: 13px; }
.callout-info { color: #2e566d; background: #edf6fa; border: 1px solid #cae3ee; }
.callout-info svg { color: #257399; }
.callout-warning { color: #66512c; background: #fff8e8; border: 1px solid #eed9a7; }
.callout-warning svg { color: #aa731d; }
.callout-success { color: #285940; background: var(--success-soft); border: 1px solid #bfe3cf; }
.callout-success svg { color: var(--success); }

.fact-list { margin: 24px 0; display: grid; gap: 12px; }
.fact-item { padding: 18px 20px; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; background: var(--surface-soft); border: 1px solid #e4eaee; border-radius: var(--radius-sm); }
.fact-item > span { width: 32px; height: 32px; display: grid; place-items: center; color: var(--teal-700); background: #fff; border: 1px solid #cbdde2; border-radius: 50%; font-size: 11px; font-weight: 850; }
.fact-item h3 { margin: 0 0 3px; color: var(--navy-900); font-size: 14px; }
.fact-item p { margin: 0; color: var(--muted); font-size: 13px; }

.compare-table-wrap { margin: 25px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 630px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 12px; }
.compare-table th { color: #fff; background: var(--navy-850); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--navy-900); font-weight: 750; }

.conversation-flow { margin: 28px 0; display: grid; gap: 0; }
.flow-step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; min-height: 100px; position: relative; }
.flow-step:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 46px; bottom: 0; width: 2px; background: #cfe1e4; }
.flow-marker { width: 50px; height: 50px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-50); border: 1px solid #b9ded9; border-radius: 50%; font-size: 12px; font-weight: 850; position: relative; z-index: 2; }
.flow-step h3 { margin: 2px 0 4px; color: var(--navy-900); font-size: 15px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 13px; }
.sample-language { margin-top: 10px; padding: 11px 14px; color: #385b67; background: #f4f9f9; border-left: 2px solid var(--teal-500); font-size: 12px; font-style: italic; }

.source-snapshot { margin: 27px 0; overflow: hidden; background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius-md); }
.snapshot-label { padding: 11px 18px; color: #fff; background: var(--navy-850); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.snapshot-grid { display: grid; grid-template-columns: 1fr 1fr; }
.snapshot-grid > div { padding: 19px 21px; border-top: 1px solid var(--line); }
.snapshot-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.snapshot-grid > div:nth-child(-n+2) { border-top: 0; }
.snapshot-grid h3 { margin: 0 0 5px; color: var(--navy-900); font-size: 13px; }
.snapshot-grid p { margin: 0; color: var(--muted); font-size: 12px; }

.do-dont-grid { margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.practice-card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.practice-card h3 { margin: 0 0 14px; display: flex; align-items: center; gap: 9px; font-size: 14px; }
.practice-card h3 span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; }
.practice-card ul { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.practice-card li { padding: 8px 0 8px 22px; border-top: 1px solid #edf0f2; position: relative; }
.practice-card li:first-child { border-top: 0; }
.practice-card li::before { position: absolute; left: 0; font-weight: 850; }
.practice-card.do { background: #f8fcfa; }
.practice-card.do h3 { color: var(--success); }
.practice-card.do h3 span { color: #fff; background: var(--success); }
.practice-card.do li::before { content: "✓"; color: var(--success); }
.practice-card.dont { background: #fffafa; }
.practice-card.dont h3 { color: var(--danger); }
.practice-card.dont h3 span { color: #fff; background: var(--danger); }
.practice-card.dont li::before { content: "×"; color: var(--danger); }

.scenario-card { margin: 40px 0; overflow: hidden; border: 1px solid #c9d9e2; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.scenario-head { padding: 20px 24px; display: flex; align-items: center; gap: 15px; color: #fff; background: var(--navy-850); }
.scenario-badge { padding: 5px 9px; color: var(--navy-950); background: var(--amber-300); border-radius: 4px; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.scenario-head h2 { margin: 0; color: #fff; font-size: 17px; }
.scenario-body { padding: 26px; }
.scenario-person { margin-bottom: 22px; display: grid; grid-template-columns: 48px 1fr; gap: 15px; align-items: center; }
.person-avatar { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: var(--teal-700); border-radius: 50%; font-weight: 850; }
.scenario-person p { margin: 0; color: var(--navy-900); font-family: Georgia, serif; font-size: 17px; line-height: 1.45; }
.scenario-prompt { margin: 0 0 12px; font-size: 13px; font-weight: 800; }
.scenario-form fieldset { margin: 0; padding: 0; border: 0; }
.scenario-form legend { margin-bottom: 12px; color: var(--navy-900); font-size: 13px; font-weight: 800; }
.scenario-options { display: grid; gap: 10px; }
.scenario-option { width: 100%; padding: 15px 17px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: #3a5261; background: #fff; border: 1px solid var(--line-dark); border-radius: 8px; text-align: left; }
.scenario-option { position: relative; cursor: pointer; }
.scenario-option:hover { border-color: var(--teal-600); background: var(--teal-50); }
.scenario-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.scenario-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.scenario-option:has(input:checked) { border-color: var(--teal-600); box-shadow: 0 0 0 1px var(--teal-600); }
.scenario-option:has(input:checked) .option-letter { color: #fff; background: var(--teal-700); border-color: var(--teal-700); }
.scenario-option .option-letter { width: 27px; height: 27px; display: grid; place-items: center; color: var(--navy-700); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 50%; font-size: 10px; font-weight: 850; }
.scenario-option.is-selected { border-color: var(--teal-600); box-shadow: 0 0 0 1px var(--teal-600); }
.scenario-option.is-best { color: #23553c; background: var(--success-soft); border-color: #83c7a2; }
.scenario-option.is-best .option-letter { color: #fff; background: var(--success); border-color: var(--success); }
.scenario-option.is-risky { color: #7c3333; background: var(--danger-soft); border-color: #e1a5a5; }
.scenario-feedback { margin-top: 16px; padding: 18px; border-radius: 8px; }
.scenario-feedback.best { color: #23553c; background: var(--success-soft); border: 1px solid #b7dfc8; }
.scenario-feedback.risky { color: #753a36; background: #fff4f0; border: 1px solid #efd0c5; }
.scenario-feedback strong { display: block; margin-bottom: 4px; font-size: 13px; }
.scenario-feedback p { margin: 0; font-size: 12px; }
.scenario-submit-row { margin-top: 15px; display: flex; align-items: center; gap: 14px; }
.scenario-error { color: var(--danger); font-size: 12px; font-weight: 700; }

.knowledge-check { margin-top: 60px; padding-top: 46px; border-top: 1px solid var(--line); }
.knowledge-kicker { display: flex; align-items: center; gap: 10px; color: var(--teal-700); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.knowledge-kicker svg { width: 22px; height: 22px; }
.knowledge-check > h2 { margin: 11px 0 6px; color: var(--navy-900); font-size: 29px; }
.knowledge-intro { margin: 0 0 27px; color: var(--muted); font-size: 13px; }
.quiz-question { margin: 0 0 28px; padding: 0; border: 0; }
.quiz-question legend { width: 100%; margin-bottom: 12px; color: var(--navy-900); font-weight: 750; line-height: 1.45; }
.question-number { margin-right: 6px; color: var(--teal-700); font-size: 11px; font-weight: 850; }
.answer-list { display: grid; gap: 9px; }
.answer-option { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 14px 16px; color: #425968; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.answer-option:hover { background: var(--surface-soft); border-color: #a8bbc7; }
.answer-option input { width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--teal-700); }
.answer-option:has(input:checked) { background: var(--teal-50); border-color: var(--teal-600); box-shadow: 0 0 0 1px var(--teal-600); }
.quiz-question.is-correct .answer-option:has(input:checked) { background: var(--success-soft); border-color: var(--success); }
.quiz-question.is-incorrect .answer-option:has(input:checked) { background: var(--danger-soft); border-color: var(--danger); }
.answer-rationale { margin: 11px 0 0; padding: 12px 15px; border-radius: 7px; font-size: 12px; }
.answer-rationale.correct { color: #285940; background: var(--success-soft); }
.answer-rationale.incorrect { color: #753a36; background: var(--danger-soft); }
.quiz-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.quiz-score { color: var(--navy-900); font-size: 13px; font-weight: 750; }

.source-list { margin-top: 22px; padding: 19px 22px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.source-list h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 13px; }
.source-list ul { margin: 0; padding-left: 18px; font-size: 12px; }
.source-list a { color: #075f91; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.source-list a:hover { text-decoration-thickness: 2px; }
.source-list > p { margin: 12px 0 0; padding-top: 11px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }
.module-completion { margin-top: 48px; padding: 27px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.completion-status { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.completion-status-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #8499a7; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 50%; }
.completion-status-icon svg { width: 19px; height: 19px; }
.completion-status.ready .completion-status-icon { color: #fff; background: var(--success); border-color: var(--success); }
.completion-status strong { display: block; color: var(--navy-900); font-size: 12px; }

.final-view { padding: 70px 24px 100px; background: var(--surface-soft); }
.assessment-wrap { max-width: 880px; margin: 0 auto; }
.assessment-hero { margin-bottom: 28px; padding: 45px 50px; color: #fff; background: linear-gradient(135deg, var(--navy-900), #1b506a); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.assessment-hero::after { content: ""; position: absolute; width: 250px; height: 250px; right: -90px; top: -140px; border: 55px solid rgba(243,201,107,.12); border-radius: 50%; }
.assessment-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--navy-950); background: var(--amber-300); border-radius: 50%; }
.assessment-icon svg { width: 27px; height: 27px; }
.assessment-hero h1 { margin: 22px 0 10px; font-size: clamp(34px, 5vw, 48px); letter-spacing: -.04em; line-height: 1.1; }
.assessment-hero > p { max-width: 650px; margin: 0; color: #c3d5df; }
.assessment-facts { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 25px; color: #adc1cd; font-size: 11px; }
.assessment-facts span { display: inline-flex; gap: 7px; align-items: center; }
.assessment-facts svg { width: 16px; height: 16px; color: var(--amber-300); }
.assessment-gate { padding: 35px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.assessment-gate svg { width: 38px; height: 38px; margin: 0 auto 12px; color: var(--amber-600); }
.assessment-gate h2 { margin: 0 0 7px; color: var(--navy-900); }
.assessment-gate p { margin: 0 auto 20px; max-width: 530px; color: var(--muted); font-size: 13px; }
.gate-module-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.final-form { padding: 38px clamp(24px, 5vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.learner-details { margin: 0 0 34px; padding: 24px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; }
.learner-details legend { padding: 0 7px; color: var(--navy-900); font-size: 17px; font-weight: 800; }
.learner-details > p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.learner-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.learner-field { display: grid; gap: 7px; color: var(--navy-900); font-size: 12px; font-weight: 750; }
.learner-field input { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid var(--line-dark); border-radius: 7px; font: inherit; font-weight: 500; }
.learner-field input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--teal-700); }
.learner-field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.learner-field small { color: var(--muted); font-size: 10px; font-weight: 500; }
.reporting-consent { margin-top: 19px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: #425968; font-size: 12px; line-height: 1.5; cursor: pointer; }
.reporting-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--teal-700); }
.reporting-consent input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.reporting-consent input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }
.final-form .quiz-question { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.final-form .quiz-question:last-of-type { border-bottom: 0; }
.final-submit-row { padding-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.final-submit-row p { margin: 0; color: var(--muted); font-size: 12px; }
.form-error { margin: 0 0 20px; padding: 12px 15px; color: #7b3434; background: var(--danger-soft); border: 1px solid #ebc1c1; border-radius: 7px; font-size: 13px; }
.submission-status:not(:empty) { margin: 10px 0 16px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
.submission-status.is-pending { color: #664b12; background: var(--amber-100); border-color: #e6c46e; }

.results-view { min-height: calc(100vh - 150px); padding: 70px 24px 100px; background: var(--surface-soft); }
.results-card { max-width: 840px; margin: 0 auto; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.results-hero { padding: 54px 50px 46px; text-align: center; color: #fff; background: var(--navy-900); position: relative; overflow: hidden; }
.results-hero::after, .results-hero::before { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.results-hero::before { width: 380px; height: 380px; left: -230px; top: -200px; }
.results-hero::after { width: 320px; height: 320px; right: -180px; bottom: -230px; }
.result-badge { width: 76px; height: 76px; margin: 0 auto 17px; display: grid; place-items: center; color: var(--navy-950); background: var(--amber-300); border: 6px solid rgba(255,255,255,.14); border-radius: 50%; background-clip: padding-box; }
.result-badge svg { width: 36px; height: 36px; stroke-width: 2.2; }
.results-hero h1 { margin: 0; font-size: 38px; letter-spacing: -.035em; }
.results-hero p { max-width: 600px; margin: 10px auto 0; color: #bcd0db; }
.score-display { margin-top: 22px; }
.score-display strong { font-size: 54px; line-height: 1; }
.score-display span { display: block; margin-top: 3px; color: #8faaba; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.results-body { padding: 38px 48px 46px; }
.results-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 34px; border: 1px solid var(--line); border-radius: 10px; }
.results-summary div { padding: 17px; text-align: center; border-left: 1px solid var(--line); }
.results-summary div:first-child { border-left: 0; }
.results-summary strong { display: block; color: var(--navy-900); font-size: 18px; }
.results-summary span { color: var(--muted); font-size: 10px; }
.result-submission { margin-bottom: 24px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; }
.result-submission:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.result-submission h2 { margin: 0 0 7px; color: var(--navy-900); font-size: 17px; }
.result-submission p { margin: 0; color: #425968; font-size: 12px; line-height: 1.55; }
.result-submission .button { margin-top: 14px; }
.result-submission.is-success { background: var(--success-soft); border-color: #a9d7bd; }
.result-submission.is-warning, .result-submission.is-pending { background: var(--amber-100); border-color: #e6c46e; }
.review-panel { padding: 24px; background: var(--surface-soft); border-radius: 10px; }
.review-panel h2 { margin: 0 0 9px; color: var(--navy-900); font-size: 18px; }
.review-panel p { margin: 0; color: var(--muted); font-size: 13px; }
.review-panel ul { margin: 13px 0 0; padding-left: 20px; color: #3e5968; font-size: 13px; }
.review-panel li + li { margin-top: 6px; }
.results-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 11px; }
.completion-disclaimer { margin-top: 25px; padding-top: 20px; color: #6c7d88; border-top: 1px solid var(--line); font-size: 11px; }

.site-footer { min-height: 90px; padding: 22px clamp(24px, 4vw, 58px); display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #8ca3b2; background: var(--navy-950); font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand p { margin: 0; display: flex; flex-direction: column; }
.footer-brand strong { color: #d7e3e9; font-size: 11px; }

.course-drawer { position: fixed; z-index: 200; top: 0; right: 0; width: min(420px, 92vw); height: 100vh; padding: 30px; overflow-y: auto; color: var(--ink); background: #fff; box-shadow: var(--shadow-lg); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.course-drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-open { overflow: hidden; }
.drawer-scrim { position: fixed; z-index: 190; inset: 0; background: rgba(3,18,30,.62); backdrop-filter: blur(2px); }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.drawer-head h2 { margin: 0; color: var(--navy-900); font-size: 25px; }
.close-button { width: 39px; height: 39px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.close-button.dark { color: var(--navy-900); background: #fff; border-color: var(--line); }
.close-button svg { width: 18px; height: 18px; }
.drawer-head .close-button { color: var(--navy-900); background: var(--surface-soft); border-color: var(--line); }
.drawer-progress { margin: 28px 0; padding: 20px; background: var(--surface-soft); border-radius: 10px; }
.drawer-progress .progress-track { background: #dfe7eb; }
.drawer-progress .progress-track span { background: var(--teal-600); }
.progress-copy { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; }
.progress-copy span:first-child { color: var(--navy-900); font-weight: 800; }
.course-drawer .course-nav-link { color: #4a6270; border-bottom: 1px solid var(--line); border-radius: 0; }
.course-drawer .course-nav-link:hover { color: var(--navy-900); background: var(--surface-soft); }
.course-drawer .course-nav-link[aria-current="page"] { color: var(--navy-900); background: var(--teal-50); }
.course-drawer .course-nav-link small { color: #81929d; }
.course-drawer .nav-index { color: #557080; border-color: #b3c4ce; }
.drawer-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.text-button { padding: 5px 0; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.danger-text { color: var(--danger); font-size: 12px; }

dialog { max-width: none; padding: 0; border: 0; background: transparent; }
dialog::backdrop { background: rgba(4,20,33,.68); backdrop-filter: blur(3px); }
.notes-dialog { width: min(600px, calc(100% - 32px)); }
.confirm-dialog { width: min(500px, calc(100% - 32px)); }
.dialog-card { padding: 30px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.dialog-card.compact { text-align: center; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-head h2, .dialog-card.compact h2 { margin: 0; color: var(--navy-900); font-size: 25px; }
.dialog-help, .dialog-card.compact > p { color: var(--muted); font-size: 12px; }
.dialog-card label:not(.check-row) { display: block; margin: 18px 0 7px; color: var(--navy-900); font-size: 12px; font-weight: 800; }
.dialog-card textarea { width: 100%; min-height: 210px; padding: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line-dark); border-radius: 8px; resize: vertical; }
.dialog-actions { margin-top: 19px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dialog-actions.end { justify-content: flex-end; }
#notes-status { color: var(--success); font-size: 11px; }
.confirm-icon { width: 58px; height: 58px; margin: 0 auto 14px; display: grid; place-items: center; color: var(--danger); background: var(--danger-soft); border-radius: 50%; }
.confirm-icon svg { width: 27px; height: 27px; }
.check-row { width: max-content; margin: 18px auto 3px; display: flex; align-items: center; gap: 8px; color: #4d626f; font-size: 12px; }
.check-row input { width: 17px; height: 17px; accent-color: var(--danger); }
.toast-region { position: fixed; z-index: 400; right: 22px; bottom: 22px; display: grid; gap: 9px; pointer-events: none; }
.toast { max-width: 340px; padding: 13px 17px; color: #fff; background: var(--navy-900); border-left: 4px solid var(--amber-300); border-radius: 7px; box-shadow: var(--shadow-md); font-size: 12px; animation: toast-in .25s ease; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 62px; }
  .hero-copy { max-width: 740px; }
  .hero-visual { display: none; }
  .course-shell { grid-template-columns: 240px minmax(0,1fr); }
  .desktop-rail { padding-left: 15px; padding-right: 15px; }
  .lesson-hero { padding-left: 55px; padding-right: 55px; }
  .lesson-body { width: min(800px, calc(100% - 64px)); }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .site-header { padding: 0 18px; grid-template-columns: 1fr auto; }
  .header-course-title { display: none; }
  .brand-copy strong { font-size: 15px; }
  .icon-button span { display: none; }
  .compliance-ribbon { justify-content: flex-start; padding: 9px 18px; }
  .compliance-ribbon p { line-height: 1.35; }
  .hero-inner { width: min(100% - 36px, 620px); padding: 56px 0 68px; }
  .hero h1 { font-size: clamp(48px, 13vw, 67px); }
  .hero-meta div { min-width: 120px; padding: 0 14px; }
  .trust-strip { grid-template-columns: 1fr; padding: 9px 24px; }
  .trust-strip > div { padding: 18px 0; justify-content: flex-start; border-left: 0; border-top: 1px solid var(--line); }
  .trust-strip > div:first-child { border-top: 0; }
  .journey-section { width: calc(100% - 36px); padding: 68px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .journey-item { grid-template-columns: 44px 1fr 42px; gap: 12px; }
  .journey-number { font-size: 11px; }
  .journey-time { display: none; }
  .journey-title { gap: 12px; }
  .journey-icon { width: 40px; height: 40px; }
  .course-promise { width: calc(100% - 36px); padding: 45px 30px; grid-template-columns: 1fr; gap: 35px; }
  .promise-art { min-height: 250px; }
  .notice-section { width: calc(100% - 36px); margin-bottom: 70px; padding: 27px 25px; grid-template-columns: 1fr; }
  .desktop-rail { display: none; }
  .course-shell { grid-template-columns: 1fr; }
  .lesson-hero { padding: 45px 24px 38px; }
  .lesson-body { width: calc(100% - 40px); padding: 40px 0 58px; }
  .parts-grid, .do-dont-grid { grid-template-columns: 1fr; }
  .snapshot-grid { grid-template-columns: 1fr; }
  .snapshot-grid > div, .snapshot-grid > div:nth-child(odd), .snapshot-grid > div:nth-child(-n+2) { border-right: 0; border-top: 1px solid var(--line); }
  .snapshot-grid > div:first-child { border-top: 0; }
  .module-completion { align-items: flex-start; flex-direction: column; }
  .module-completion .button { width: 100%; }
  .final-view, .results-view { padding: 40px 16px 70px; }
  .assessment-hero { padding: 34px 25px; }
  .final-form { padding: 28px 20px; }
  .learner-field-grid { grid-template-columns: 1fr; }
  .final-submit-row { align-items: stretch; flex-direction: column; }
  .results-hero { padding: 42px 25px 37px; }
  .results-body { padding: 28px 22px 35px; }
  .results-summary { grid-template-columns: 1fr; }
  .results-summary div { border-left: 0; border-top: 1px solid var(--line); }
  .results-summary div:first-child { border-top: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 440px) {
  .hero-actions .button { width: 100%; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-meta div { min-width: 0; padding: 0 8px; }
  .hero-meta strong { font-size: 18px; }
  .hero-meta span { font-size: 9px; line-height: 1.3; }
  .journey-item { grid-template-columns: 34px 1fr 38px; }
  .journey-icon { display: none; }
  .scenario-head { align-items: flex-start; flex-direction: column; }
  .scenario-body { padding: 20px; }
  .scenario-person { grid-template-columns: 1fr; }
  .scenario-option { grid-template-columns: 24px 1fr; padding: 13px; }
  .dialog-actions { align-items: stretch; flex-direction: column; }
  .dialog-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .button, .icon-button, .course-nav-link, .journey-button, .answer-option,
  .scenario-option, .part-card, .practice-card, .callout, .source-snapshot,
  .learner-details, .learner-field input, .result-submission {
    border: 1px solid CanvasText;
  }
  .progress-track span { background: Highlight; }
}

@media print {
  .site-header, .compliance-ribbon, .desktop-rail, .site-footer, .module-completion, .quiz-actions, .course-drawer, .drawer-scrim { display: none !important; }
  .course-shell { display: block; }
  .lesson-hero { color: #000; background: #fff; padding: 20px 0; }
  .lesson-hero > p, .lesson-meta { color: #333; }
  .lesson-body { width: 100%; padding: 0; }
  .scenario-card, .part-card, .callout { break-inside: avoid; }
}
