:root {
  color-scheme: light;
  --ink-950: #061d33;
  --ink-900: #092844;
  --ink-800: #0e385d;
  --blue-700: #174f83;
  --blue-200: #c8ddef;
  --blue-100: #e9f3fa;
  --amber-600: #d98a08;
  --amber-500: #eea815;
  --amber-100: #fff1cc;
  --green-700: #177245;
  --green-100: #e3f5eb;
  --red-700: #a53c36;
  --red-100: #fce8e6;
  --paper: #ffffff;
  --cloud: #f4f7fa;
  --mist: #eef3f7;
  --line: #d7e0e8;
  --muted: #5d6d7e;
  --shadow-sm: 0 1px 3px rgba(6, 29, 51, 0.08);
  --shadow-md: 0 16px 42px rgba(6, 29, 51, 0.13);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body.drawer-open { overflow: hidden; }

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { color: inherit; }

a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img { display: block; max-width: 100%; }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; }

h1 { font-size: clamp(3.2rem, 5.7vw, 6rem); line-height: 0.98; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.02; }
h3 { font-size: 1.5rem; line-height: 1.15; }

:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink-950);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

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

.shell { min-height: 100vh; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 88px;
  background: rgba(6, 29, 51, 0.98);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.brand-lockup {
  display: block;
  width: 240px;
  height: 80px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}

.brand-mark {
  width: 11px;
  height: 22px;
  margin-right: 11px;
  border: 2px solid currentColor;
  border-width: 0 2px 2px 0;
  transform: skew(-17deg);
}

.primary-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }

.nav-link {
  position: relative;
  padding: 25px 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active { color: var(--paper); }

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  height: 2px;
  background: var(--amber-500);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-home-link { display: none; }

.icon-button,
.menu-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
}

.menu-button { display: none; }

.icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.bag-button { position: relative; }

.bag-count {
  position: absolute;
  min-width: 19px;
  height: 19px;
  right: 2px;
  top: 2px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--amber-500);
  color: var(--ink-950);
  font-size: 0.7rem;
  font-weight: 700;
}

.account-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 4px 0 10px;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
}

.avatar {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  font-size: 0.78rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--amber-500);
  color: var(--ink-950);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-1px); background: #f3b42e; }
.button:active { transform: translateY(0); }
.button.secondary { background: transparent; color: inherit; border-color: currentColor; }
.button.secondary:hover { background: rgba(255, 255, 255, 0.08); }
.button.ink { background: var(--ink-950); color: var(--paper); }
.button.full { width: 100%; }
.button.small { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }
.button[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.text-link { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; font-weight: 700; color: var(--blue-700); cursor: pointer; }
.text-link.light { color: var(--paper); }
.text-link.amber { color: var(--amber-500); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-950);
  color: var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  left: -300px;
  bottom: -470px;
  border: 1px solid rgba(120, 180, 226, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(120, 180, 226, 0.045), 0 0 0 76px rgba(120, 180, 226, 0.035), 0 0 0 114px rgba(120, 180, 226, 0.025);
  pointer-events: none;
}

.hero-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 660px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 56px;
  padding: 74px 0 80px;
}

.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.hero-copy h1 { max-width: 780px; margin-bottom: 28px; }
.hero-copy p { max-width: 610px; margin-bottom: 32px; color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media { position: relative; min-height: 510px; }

.hero-dashboard {
  position: absolute;
  inset: 20px 0 40px 28px;
  display: grid;
  grid-template-columns: 90px 1fr;
  background: #0a243e;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-md);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hero-dash-rail { padding: 38px 14px; background: rgba(0, 0, 0, 0.13); border-right: 1px solid rgba(255, 255, 255, 0.1); }
.rail-line { height: 7px; margin-bottom: 20px; border-radius: 3px; background: rgba(255,255,255,.18); }
.rail-line:nth-child(2n) { width: 70%; }
.hero-dash-body { padding: 35px 32px; }
.hero-dash-label { color: var(--blue-200); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-dash-title { margin: 7px 0 26px; font-family: var(--serif); font-size: 2.1rem; }
.hero-dash-card { width: 55%; min-height: 126px; padding: 22px; background: var(--paper); color: var(--ink-950); border-radius: 8px; }
.hero-dash-card strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 1.27rem; }
.hero-dash-card span { font-size: .82rem; color: var(--muted); }
.hero-progress { height: 7px; margin-top: 22px; background: var(--line); border-radius: 4px; overflow: hidden; }
.hero-progress span { display: block; width: 63%; height: 100%; background: var(--green-700); }

.hero-paper {
  position: absolute;
  z-index: 3;
  top: 100px;
  right: 16px;
  width: 45%;
  min-height: 300px;
  padding: 26px;
  background: #fbfaf7;
  color: var(--ink-950);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transform: rotate(2.4deg);
}

.paper-title { margin-bottom: 20px; font-family: var(--serif); font-size: 1.35rem; }
.paper-line { height: 1px; margin: 17px 0; background: #cfd2d4; }
.paper-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #d4d4d4; }
.paper-grid span { min-height: 34px; border-right: 1px solid #d4d4d4; border-bottom: 1px solid #d4d4d4; }

.hero-product {
  position: absolute;
  z-index: 4;
  right: -44px;
  bottom: -30px;
  width: 58%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: 50% 0 0 0;
  box-shadow: -20px -20px 60px rgba(0, 0, 0, 0.32);
}

.section { padding: 92px 0; }
.section.compact { padding: 70px 0; }
.section.cloud { background: var(--cloud); }
.section.blue { background: var(--blue-100); }
.section.ink { background: var(--ink-950); color: var(--paper); }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading p { max-width: 650px; color: var(--muted); font-size: 1.05rem; }
.section.ink .section-heading p { color: rgba(255,255,255,.68); }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.path { padding: 42px 46px; border-right: 1px solid var(--line); }
.path:last-child { border-right: 0; }
.path-icon { width: 38px; height: 38px; margin-bottom: 26px; color: var(--blue-700); }
.path:nth-child(2) .path-icon { color: var(--amber-600); }
.path p { min-height: 78px; color: var(--muted); }

.feature-band { display: grid; grid-template-columns: .74fr 1.26fr; align-items: center; gap: 62px; }
.feature-copy h2 { margin-bottom: 24px; }
.feature-copy > p { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-dot { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; margin-top: 2px; border: 1px solid var(--blue-700); border-radius: 50%; color: var(--blue-700); font-size: .72rem; }
.business-band .check-dot { border-color: var(--amber-600); color: var(--amber-600); }

.ui-preview { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; }
.preview-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.preview-title { font-family: var(--serif); font-size: 1.14rem; }
.mini-progress { width: 140px; height: 7px; background: var(--line); border-radius: 5px; overflow: hidden; }
.mini-progress span { display: block; width: 64%; height: 100%; background: var(--blue-700); }
.business-band .mini-progress span { background: var(--amber-500); }
.preview-grid { display: grid; grid-template-columns: 150px 1fr 170px; min-height: 360px; }
.preview-nav { padding: 18px; border-right: 1px solid var(--line); background: #fafcfd; }
.preview-nav-row { height: 28px; margin-bottom: 11px; padding: 5px 7px; border-radius: 4px; background: transparent; color: var(--muted); font-size: .69rem; }
.preview-nav-row.active { background: var(--blue-100); color: var(--ink-950); }
.business-band .preview-nav-row.active { background: var(--amber-100); }
.preview-main { padding: 22px; }
.preview-module { margin-bottom: 22px; font-family: var(--serif); font-size: 1.4rem; }
.lesson-row { display: flex; justify-content: space-between; align-items: center; min-height: 37px; border-bottom: 1px solid var(--line); font-size: .72rem; }
.lesson-state { color: var(--green-700); }
.preview-side { padding: 18px; border-left: 1px solid var(--line); }
.side-card { margin-bottom: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; font-size: .67rem; }
.side-card strong { display: block; margin-top: 7px; font-family: var(--serif); font-size: 1.2rem; }

.shop-band { overflow: hidden; }
.shop-band-inner { display: grid; grid-template-columns: .52fr 1.48fr; align-items: center; gap: 42px; }
.shop-band .section-heading { margin-bottom: 0; }
.collection-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.collection-card { min-width: 0; }
.collection-card img { width: 100%; aspect-ratio: .75 / 1; object-fit: cover; border-radius: 8px; background: #102942; }
.collection-card span { display: block; margin-top: 12px; font-family: var(--serif); font-size: 1.02rem; }

.final-cta { position: relative; overflow: hidden; text-align: center; }
.final-cta::before,
.final-cta::after { content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(23,79,131,.13); border-radius: 50%; top: 20px; }
.final-cta::before { left: -190px; box-shadow: 0 0 0 30px rgba(23,79,131,.04), 0 0 0 60px rgba(23,79,131,.03); }
.final-cta::after { right: -190px; box-shadow: 0 0 0 30px rgba(217,138,8,.05), 0 0 0 60px rgba(217,138,8,.03); }
.final-cta h2 { margin-bottom: 12px; }
.final-cta p { color: var(--muted); }
.final-cta .hero-actions { justify-content: center; margin-top: 26px; }

.information-hero {
  padding: 96px 0 82px;
  background: var(--ink-950);
  color: var(--paper);
}
.information-hero .container { max-width: 920px; margin-left: max(24px, calc((100vw - var(--max)) / 2)); }
.information-hero .eyebrow { color: var(--amber-500); }
.information-hero h1 { max-width: 900px; margin: 20px 0 24px; }
.information-hero p { max-width: 760px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.information-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.information-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.information-card h2 { margin-bottom: 14px; font-size: 1.65rem; }
.information-card p { margin: 0; color: var(--muted); }
.information-card a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 58px 0 30px; background: var(--ink-950); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.footer-brand p { max-width: 270px; margin-top: 18px; color: rgba(255,255,255,.62); }
.footer-column strong { display: block; margin-bottom: 16px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a { display: block; margin: 9px 0; color: rgba(255,255,255,.68); font-size: .88rem; }
.footer-column a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .8rem; }

/* Course application */
.course-shell { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 280px minmax(0, 1fr); background: var(--cloud); }
.course-rail { position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; padding: 28px 16px 36px; background: var(--ink-950); color: var(--paper); }
.course-rail h1 { margin: 0 4px 10px; font-size: 2rem; line-height: 1.03; }
.rail-progress-copy { margin: 0 4px 9px; color: rgba(255,255,255,.76); font-size: .84rem; }
.rail-progress { height: 6px; margin: 0 4px 24px; background: rgba(255,255,255,.2); border-radius: 4px; overflow: hidden; }
.rail-progress span { display: block; height: 100%; background: var(--amber-500); }
.module-list { display: grid; gap: 3px; }
.module-row {
  width: 100%;
  min-height: 55px;
  display: grid;
  grid-template-columns: 28px 36px minmax(0,1fr) 18px;
  align-items: center;
  gap: 5px;
  padding: 8px 7px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: rgba(255,255,255,.8);
  text-align: left;
  cursor: pointer;
}
.module-row:hover { background: rgba(255,255,255,.06); color: var(--paper); }
.module-row.active { background: #0f3d67; color: var(--paper); border-left-color: var(--amber-500); }
.module-row .status { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .62rem; }
.module-row .code { font-size: .73rem; }
.module-row .title { font-size: .73rem; line-height: 1.25; }
.module-row .arrow { font-size: 1rem; }
.rail-summary { display: grid; gap: 12px; margin-top: 22px; padding: 18px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: rgba(255,255,255,.76); font-size: .74rem; }
.rail-summary div { display: flex; gap: 10px; }

.course-main { min-width: 0; padding: 30px clamp(22px, 3vw, 48px) 70px; }
.mobile-module-select { display: none; }
.course-kicker { margin-bottom: 8px; color: var(--muted); font-size: .85rem; }
.course-title { max-width: 920px; margin-bottom: 25px; font-size: clamp(2.3rem, 4vw, 4.1rem); }
.learning-grid { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 24px; align-items: start; }
.lesson-canvas { min-width: 0; }
.video-frame { overflow: hidden; border-radius: 8px; background: #06192b; color: var(--paper); box-shadow: var(--shadow-sm); }
.video-slide { min-height: 390px; display: grid; grid-template-columns: 1.55fr .75fr; }
.video-table { padding: clamp(22px, 3vw, 42px); background: var(--paper); color: var(--ink-950); }
.video-table h2 { margin-bottom: 22px; font-size: 2rem; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: .75rem; }
.comparison-table th,
.comparison-table td { padding: 10px 8px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { background: var(--cloud); }
.video-art { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 35%, #2f689a 0 13%, #0b3153 14% 36%, #06192b 68%); }
.video-art::before { content: ""; width: 100px; height: 100px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; box-shadow: 0 0 32px rgba(202,224,242,.5); }
.video-art::after { content: "STEADY BEFORE SPEED"; position: absolute; bottom: 30px; font-size: .62rem; letter-spacing: .18em; color: rgba(255,255,255,.72); }
.video-controls { min-height: 54px; display: grid; grid-template-columns: auto auto 1fr auto auto auto; align-items: center; gap: 16px; padding: 0 18px; background: #041522; }
.control-button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; background: transparent; color: var(--paper); cursor: pointer; }
.video-timeline { height: 6px; background: rgba(255,255,255,.22); border-radius: 4px; overflow: hidden; cursor: pointer; }
.video-timeline span { display: block; width: 41%; height: 100%; background: var(--amber-500); }
.timecode { font-size: .72rem; color: rgba(255,255,255,.75); }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tab { min-height: 52px; padding: 0 18px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.tab.active { color: var(--ink-950); border-bottom-color: var(--amber-500); }
.tab-panel { padding: 26px 0; }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.overview-grid h3 { margin-bottom: 13px; font-family: var(--sans); font-size: .91rem; letter-spacing: 0; font-weight: 700; }
.overview-grid p,
.overview-grid li { color: var(--muted); font-size: .88rem; }
.objective-list { margin: 0; padding-left: 20px; }
.safety-callout { display: flex; gap: 15px; margin-top: 22px; padding: 18px; border: 1px solid #adc7dc; background: #f5faff; border-radius: 7px; }
.safety-callout strong { display: block; margin-bottom: 3px; }
.safety-callout p { margin: 0; color: var(--muted); font-size: .84rem; }
.progress-rail { display: grid; gap: 14px; }
.progress-card { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow-sm); }
.progress-card h3 { font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: 0; }
.big-number { margin: 6px 0; font-family: var(--serif); font-size: 3rem; line-height: 1; }
.progress-bar { height: 7px; background: var(--line); border-radius: 5px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--amber-500); }
.lesson-checklist { margin: 15px 0 20px; border-top: 1px solid var(--line); }
.lesson-check { display: grid; grid-template-columns: 23px 1fr auto; gap: 10px; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); font-size: .8rem; }
.lesson-check.active { margin: 0 -9px; padding: 0 9px; border: 1px solid var(--blue-700); background: #f5f9fd; border-radius: 5px; }
.lesson-check small { display: block; color: var(--muted); }
.source-workspace { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow-sm); overflow: hidden; }
.source-workspace-top { align-items: center; display: flex; gap: 36px; justify-content: space-between; padding: 38px; }
.source-workspace-top h2 { font-size: clamp(2rem, 3vw, 3.4rem); margin: 8px 0 12px; }
.source-workspace-top p { color: var(--muted); margin: 0; max-width: 700px; }
.source-workspace-top .button { flex: 0 0 auto; }
.source-stage-grid { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.source-stage-grid article { min-height: 190px; padding: 28px; }
.source-stage-grid article + article { border-left: 1px solid var(--line); }
.source-stage-grid article > span { color: var(--amber-600); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.source-stage-grid h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.source-stage-grid p { color: var(--muted); font-size: .86rem; margin: 0; }
.source-workspace > .safety-callout { margin: 28px 38px 38px; }
.business-source-workspace .source-stage-grid article > span { color: var(--blue-700); }
.program-assessment-list { border-bottom: 1px solid rgba(255,255,255,.13); display: grid; gap: 5px; margin-bottom: 10px; padding: 16px 14px 18px; }
.program-assessment-list > span { color: #9eb2c6; font-size: .64rem; font-weight: 800; letter-spacing: .11em; margin-bottom: 4px; text-transform: uppercase; }
.program-assessment-link { align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 5px; color: #e8f0f7; cursor: pointer; display: flex; font: 650 .72rem/1.25 var(--sans); justify-content: space-between; padding: 10px 11px; text-align: left; }
.program-assessment-link.active { background: var(--amber-500); border-color: var(--amber-500); color: var(--ink-950); }
.account-course-actions { align-items: center; background: #edf3f8; border: 1px solid var(--line); border-radius: 8px; display: flex; gap: 18px; justify-content: space-between; margin: 18px 0 24px; padding: 14px 16px; }
.account-course-actions strong, .account-course-actions span { display: block; }
.account-course-actions span { color: var(--muted); font-size: .76rem; margin-top: 3px; }
.account-course-actions > div:last-child { display: flex; flex: 0 0 auto; gap: 8px; }

.module-content-tabs { background: #fff; border: 1px solid var(--line); border-radius: 10px; display: flex; gap: 4px; margin: 24px 0; overflow-x: auto; padding: 6px; position: sticky; top: 78px; z-index: 4; }
.module-content-tabs button { background: transparent; border: 0; border-radius: 7px; color: var(--muted); cursor: pointer; flex: 1 0 auto; font: 700 .76rem/1.2 var(--sans); letter-spacing: .07em; padding: 13px 18px; text-transform: uppercase; }
.module-content-tabs button.active { background: var(--ink-950); color: #fff; }
.module-material { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); overflow: hidden; padding: clamp(24px, 4vw, 54px); }
.material-heading { border-bottom: 1px solid var(--line); margin-bottom: 30px; padding-bottom: 24px; }
.material-heading h2 { font-size: clamp(2rem, 3vw, 3.15rem); margin: 8px 0; }
.material-heading p { color: var(--muted); margin: 0; max-width: 760px; }
.module-introduction { align-items: flex-start; background: var(--cloud); border-left: 4px solid var(--amber-500); display: flex; gap: 18px; margin-bottom: 28px; padding: 20px; }
.module-introduction > span { background: var(--ink-950); border-radius: 100px; color: #fff; font: 800 .72rem/1 var(--sans); letter-spacing: .08em; padding: 9px 10px; }
.module-introduction strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.module-introduction p { color: var(--muted); margin: 0; }
.release-preview { align-items: center; background: #fff5da; border: 1px solid #edcf7a; border-radius: 8px; color: #62490b; display: flex; gap: 16px; justify-content: space-between; margin: 0 0 18px; padding: 14px 18px; }
.release-preview strong { white-space: nowrap; }
.release-preview span { font-size: .88rem; }
.video-release-card, .interactive-banner { align-items: center; background: var(--ink-950); color: #fff; display: flex; gap: 30px; justify-content: space-between; margin: 0 -54px 34px; padding: 34px 54px; }
.video-release-card h2, .interactive-banner h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 7px 0 10px; }
.video-release-card p, .interactive-banner p { color: #c8d5e3; margin: 0; max-width: 760px; }
.video-release-card .button[disabled] { background: #526578; color: #dfe7ee; cursor: not-allowed; }
.protected-video video { aspect-ratio: 16/9; background: #000; display: block; width: 100%; }
.protected-video p { color: var(--muted); font-size: .8rem; }
.objective-panel { background: #f3f7fa; border-radius: 8px; margin: 0 0 34px; padding: 26px; }
.objective-panel h2 { font-size: 1.45rem; margin-top: 0; }
.rendered-markdown { color: #26394b; font-size: 1.02rem; line-height: 1.78; margin-inline: auto; max-width: 900px; }
.rendered-markdown h2 { border-top: 1px solid var(--line); font-size: clamp(1.7rem, 2.6vw, 2.45rem); margin: 46px 0 17px; padding-top: 34px; }
.rendered-markdown h3 { font-size: 1.35rem; margin: 32px 0 12px; }
.rendered-markdown h4, .rendered-markdown h5 { font-size: 1.08rem; margin: 25px 0 9px; }
.rendered-markdown p { margin: 0 0 17px; }
.rendered-markdown li { margin-bottom: 7px; }
.rendered-markdown blockquote { background: #f4f7fa; border-left: 4px solid var(--blue-700); margin: 22px 0; padding: 18px 22px; }
.rendered-markdown code { background: #eef2f5; border-radius: 4px; font-size: .9em; padding: 2px 5px; }
.rendered-markdown a { color: var(--blue-700); overflow-wrap: anywhere; }
.assessment-shell { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); overflow: hidden; }
.assessment-heading { align-items: end; background: var(--ink-950); color: #fff; display: flex; justify-content: space-between; padding: clamp(26px, 4vw, 48px); }
.assessment-heading h2 { color: #fff; font-size: clamp(2rem, 3vw, 3.2rem); margin: 7px 0; }
.assessment-heading p { color: #c5d3df; margin: 0; }
.assessment-heading > strong { background: var(--amber-500); border-radius: 100px; color: var(--ink-950); flex: 0 0 auto; padding: 11px 16px; }
.course-assessment-form { padding: clamp(20px, 4vw, 44px); }
.assessment-question { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 28px 0; }
.assessment-question legend { align-items: flex-start; color: var(--ink-950); display: flex; font: 700 1.06rem/1.5 var(--sans); gap: 13px; margin-bottom: 16px; width: 100%; }
.assessment-question legend > span { align-items: center; background: var(--cloud); border-radius: 50%; display: inline-flex; flex: 0 0 30px; height: 30px; justify-content: center; }
.assessment-question > label { align-items: flex-start; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; display: flex; gap: 12px; margin: 8px 0; padding: 13px 15px; }
.assessment-question > label:has(input:checked) { background: #eef6fd; border-color: var(--blue-700); }
.assessment-question input { margin-top: 3px; }
.item-feedback { border-left: 4px solid; margin-top: 14px; padding: 13px 16px; }
.item-feedback p { margin: 5px 0 0; }
.item-feedback.correct { background: #e9f7ef; border-color: #278250; }
.item-feedback.incorrect { background: #fff3e8; border-color: #c26522; }
.assessment-result { margin: 24px clamp(20px, 4vw, 44px) 0; padding: 18px 22px; }
.assessment-result.passed { background: #e9f7ef; }
.assessment-result.review { background: #fff3e8; }
.assessment-result p { margin: 5px 0 0; }
.assessment-submit, .module-completion { align-items: center; display: flex; gap: 20px; justify-content: space-between; padding-top: 26px; }
.assessment-submit span, .module-completion span { color: var(--muted); font-size: .88rem; }
.module-completion { background: var(--cloud); border: 1px solid var(--line); border-radius: 8px; margin-top: 22px; padding: 20px 22px; }
.module-completion div { display: grid; gap: 3px; }
.module-loading, .module-empty { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 58px; text-align: center; }
.module-loading > span { animation: module-pulse 1s infinite alternate; background: var(--amber-500); border-radius: 50%; display: inline-block; height: 18px; width: 18px; }
.module-loading h2, .module-empty h2 { margin-bottom: 7px; }
.module-loading p, .module-empty p { color: var(--muted); }
@keyframes module-pulse { to { opacity: .25; transform: scale(.75); } }
.module-error { color: #ffb5a4 !important; margin-top: 10px !important; }
.embedded-financial-lab { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 38px; }
.tool-accordion details, .references-details { border: 1px solid var(--line); border-radius: 8px; margin: 10px 0; }
.tool-accordion summary, .references-details summary { cursor: pointer; display: flex; font-weight: 750; justify-content: space-between; padding: 17px 19px; text-transform: capitalize; }
.tool-accordion summary span { color: var(--blue-700); font-size: .76rem; text-transform: uppercase; }
.tool-body, .references-details > .rendered-markdown { border-top: 1px solid var(--line); padding: 22px; }
.tool-table-wrap { overflow: auto; }
.tool-table { border-collapse: collapse; min-width: 700px; width: 100%; }
.tool-table th, .tool-table td { border: 1px solid var(--line); font-size: .83rem; padding: 9px; text-align: left; }
.tool-table th { background: var(--cloud); }
.tool-table input { border: 1px solid var(--line); min-width: 120px; padding: 7px; width: 100%; }
.resource-link-grid { display: grid; gap: 8px; }
.resource-link-grid a { align-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--blue-700); display: flex; justify-content: space-between; padding: 12px 14px; text-decoration: none; }

.rapid-recall { margin-top: 22px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.rapid-recall-header { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 20px; }
.rapid-recall h2 { margin-bottom: 2px; font-family: var(--sans); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; }
.rapid-recall p { margin-bottom: 0; color: var(--muted); font-size: .78rem; }
.quiz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quiz-card { padding: 16px; border: 1px solid var(--line); border-radius: 7px; }
.quiz-card h3 { min-height: 48px; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: 0; }
.option { display: flex; gap: 8px; align-items: start; margin: 8px 0; font-size: .78rem; cursor: pointer; }
.quiz-feedback { min-height: 28px; margin-top: 10px; font-size: .76rem; color: var(--green-700); }

/* Business lab */
.business-page .course-title { margin-bottom: 20px; }
.module-stepper { display: grid; grid-template-columns: 150px repeat(3, 1fr) 160px; align-items: center; gap: 14px; margin-bottom: 24px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.step { display: flex; gap: 10px; align-items: center; min-height: 56px; padding-left: 14px; border-left: 1px solid var(--line); }
.step strong { display: block; font-size: .85rem; }
.step small { color: var(--muted); font-size: .72rem; }
.lab-grid { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 24px; align-items: start; }
.calculator { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.calculator-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.calculator-top h2 { margin: 0; font-size: 2rem; }
.scenario-tabs { display: flex; align-items: center; gap: 2px; }
.scenario-tab { min-height: 42px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; }
.scenario-tab.active { color: var(--amber-600); border-bottom-color: var(--amber-500); }
.calculator-columns { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.calc-column { padding: 24px; }
.calc-column + .calc-column { border-left: 1px solid var(--line); background: #fcfdfe; }
.calc-column h3 { margin-bottom: 4px; font-family: var(--sans); font-size: .92rem; font-weight: 700; letter-spacing: 0; }
.calc-note { margin-bottom: 22px; color: var(--muted); font-size: .76rem; }
.field-row { display: grid; grid-template-columns: 1fr 140px; align-items: center; gap: 18px; min-height: 49px; }
.field-row label { font-size: .79rem; font-weight: 600; }
.money-input { position: relative; }
.money-input .prefix,
.money-input .suffix { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .78rem; pointer-events: none; }
.money-input .prefix { left: 10px; }
.money-input .suffix { right: 10px; }
.money-input input { width: 100%; height: 36px; padding: 0 28px; border: 1px solid #bbc8d2; border-radius: 4px; color: var(--ink-950); }
.result-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; min-height: 61px; border-bottom: 1px solid var(--line); }
.result-row span { font-size: .82rem; }
.result-row strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.decision-section { margin-top: 20px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.decision-section h2 { margin-bottom: 4px; font-size: 2rem; }
.decision-section > p { color: var(--muted); font-size: .82rem; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prompt-field { position: relative; }
.prompt-field label { display: block; min-height: 42px; margin-bottom: 8px; font-size: .78rem; font-weight: 700; }
.prompt-field textarea { width: 100%; min-height: 132px; resize: vertical; padding: 12px; border: 1px solid #bbc8d2; border-radius: 6px; }
.decision-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 16px; }
.save-status { color: var(--green-700); font-size: .78rem; }
.utility-link { display: flex; justify-content: space-between; gap: 12px; min-height: 68px; margin-bottom: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--blue-700); font-size: .78rem; font-weight: 700; }
.planning-notice { margin-top: 20px; color: var(--muted); font-size: .75rem; }

/* Store */
.storefront-section { scroll-margin-top: 88px; background: var(--paper); }
.storefront-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-top: 38px; padding-bottom: 24px; }
.storefront-heading h2 { margin-bottom: 6px; }
.storefront-heading p, .storefront-help p { color: var(--muted); }
.storefront-frame { display: block; width: 100%; height: max(900px, 100dvh); border: 0; background: white; }
.storefront-frame:focus-visible { outline: 3px solid var(--amber-500); outline-offset: -3px; }
.storefront-help { padding-top: 16px; padding-bottom: 20px; font-size: .85rem; }
.storefront-help a { text-decoration: underline; }
.shop-hero .hero-inner { min-height: 560px; padding: 56px 0; }
.shop-hero .hero-copy h1 { font-size: clamp(3.7rem, 6vw, 6.2rem); }
.shop-collage { position: relative; min-height: 480px; }
.shop-collage img { position: absolute; object-fit: cover; background: #0c2a46; border-radius: 10px; box-shadow: var(--shadow-md); }
.shop-collage .main { width: 58%; height: 90%; left: 4%; top: 4%; }
.shop-collage .second { width: 43%; height: 58%; right: 1%; top: 3%; }
.shop-collage .third { width: 47%; height: 45%; right: 0; bottom: 1%; }
.category-rail { position: sticky; top: 72px; z-index: 30; display: grid; grid-template-columns: repeat(7, 1fr); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.category-button { min-height: 62px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); cursor: pointer; }
.category-button.active { color: var(--ink-950); border-bottom-color: var(--amber-500); }
.store-title-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.store-title-row h2 { margin-bottom: 0; }
.filter-actions { display: flex; gap: 10px; }
.filter-select { min-height: 44px; padding: 0 38px 0 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink-950); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
.product-card { position: relative; min-width: 0; }
.product-image { position: relative; overflow: hidden; aspect-ratio: 1 / 1.1; background: var(--cloud); border-radius: 7px; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.quick-add { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink-950); box-shadow: var(--shadow-sm); cursor: pointer; }
.product-card h3 { margin: 13px 0 2px; font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.product-collection { color: var(--muted); font-size: .76rem; }
.product-price { display: block; margin-top: 5px; font-family: var(--serif); font-size: 1.3rem; }
.swatches { display: flex; gap: 6px; margin-top: 8px; }
.swatch { width: 12px; height: 12px; border: 1px solid rgba(6,29,51,.22); border-radius: 50%; }
.promise-band { background: var(--ink-950); color: var(--paper); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.promise { min-height: 120px; display: flex; justify-content: center; align-items: center; gap: 18px; border-right: 1px solid rgba(255,255,255,.16); }
.promise:last-child { border-right: 0; }
.promise .icon { width: 34px; height: 34px; }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.newsletter h2 { margin-bottom: 8px; font-size: 2.8rem; }
.newsletter p { color: var(--muted); }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; }
.newsletter-form input { min-height: 52px; padding: 0 15px; border: 1px solid var(--line); border-right: 0; border-radius: 6px 0 0 6px; }
.newsletter-form .button { border-radius: 0 6px 6px 0; }
.empty-state { grid-column: 1 / -1; padding: 70px 20px; text-align: center; color: var(--muted); }

/* Drawers and dialog */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(2, 15, 26, .56); animation: fade-in 160ms ease both; }
.drawer { position: fixed; z-index: 100; top: 0; right: 0; width: min(440px, 92vw); height: 100vh; display: flex; flex-direction: column; background: var(--paper); box-shadow: -24px 0 70px rgba(0,0,0,.25); animation: slide-in 200ms ease both; }
.drawer-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 0; font-size: 2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 84px; height: 92px; object-fit: cover; border-radius: 5px; background: var(--cloud); }
.cart-item h3 { margin: 0 0 3px; font-family: var(--sans); font-size: .86rem; font-weight: 700; letter-spacing: 0; }
.cart-item p { margin: 0; color: var(--muted); font-size: .75rem; }
.quantity-control { align-items: center; display: flex; gap: 8px; margin: 8px 0; }
.quantity-control button { align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; display: inline-flex; height: 26px; justify-content: center; width: 26px; }
.quantity-control span { font-size: .8rem; font-weight: 700; min-width: 16px; text-align: center; }
.remove-button { align-self: start; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.drawer-footer { padding: 22px; border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; margin-bottom: 16px; font-weight: 700; }
.checkout-note { margin: 12px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.modal { position: fixed; z-index: 100; left: 50%; top: 50%; width: min(500px, calc(100% - 32px)); transform: translate(-50%, -50%); background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-md); padding: 30px; animation: pop-in 180ms ease both; }
.modal h2 { margin-bottom: 10px; }
.modal p { color: var(--muted); }
.form-stack { display: grid; gap: 14px; }
.form-stack label { font-size: .78rem; font-weight: 700; }
.form-stack input { width: 100%; min-height: 46px; margin-top: 6px; padding: 0 12px; border: 1px solid #bbc8d2; border-radius: 5px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.modal-title-row { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
.modal-title-row h2 { margin-top: 0; }
.search-modal { max-width: 560px; }
.checkout-modal { max-height: min(90vh, 860px); max-width: 680px; overflow-y: auto; }
.checkout-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.checkout-grid label:nth-child(2) { grid-column: 1 / -1; }
.checkout-grid select { background: var(--paper); border: 1px solid #bbc8d2; border-radius: 5px; margin-top: 6px; min-height: 46px; padding: 0 12px; width: 100%; }
.square-card-wrap { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 16px; }
#square-card-container { background: var(--paper); min-height: 48px; margin-top: 8px; }
.checkout-status { background: var(--cloud); border-radius: 5px; font-size: .8rem; margin: 0; padding: 10px 12px; }
@media (max-width: 560px) { .checkout-grid { grid-template-columns: 1fr; } .checkout-grid label:nth-child(2) { grid-column: auto; } }
.course-menu-modal { max-height: min(82vh, 820px); max-width: 760px; overflow: hidden; padding: 0; }
.course-menu-modal .modal-title-row { border-bottom: 1px solid var(--line); padding: 28px 30px 20px; }
.module-picker { max-height: calc(min(82vh, 820px) - 112px); overflow-y: auto; padding: 10px 16px 18px; }
.module-picker-row { align-items: center; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink-950); cursor: pointer; display: grid; gap: 16px; grid-template-columns: 48px 1fr 20px; padding: 16px 12px; text-align: left; width: 100%; }
.module-picker-row:hover, .module-picker-row:focus-visible, .module-picker-row.active { background: var(--cloud); }
.module-picker-row > span:first-child { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.module-picker-row strong { font-size: 14px; line-height: 1.45; }
.search-summary { color: var(--muted); margin: 6px 0 0; }
.toast-region { position: fixed; z-index: 180; right: 22px; bottom: 22px; display: grid; gap: 10px; }
.toast { max-width: 360px; padding: 13px 16px; background: var(--ink-950); color: var(--paper); border-left: 4px solid var(--amber-500); border-radius: 6px; box-shadow: var(--shadow-md); animation: toast-in 200ms ease both; }

@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes pop-in { from { opacity: 0; transform: translate(-50%, -47%); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1120px) {
  .primary-nav { gap: 18px; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-media { transform: scale(.91); transform-origin: right center; }
  .preview-grid { grid-template-columns: 120px 1fr; }
  .preview-side { display: none; }
  .feature-band { gap: 35px; }
  .course-shell { grid-template-columns: 238px minmax(0,1fr); }
  .learning-grid,
  .lab-grid { grid-template-columns: minmax(0,1fr); }
  .progress-rail { grid-template-columns: 1fr 1fr; }
  .business-utilities { grid-template-columns: repeat(3, 1fr); }
  .quiz-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .header-inner { width: min(100% - 32px, var(--max)); }
  .menu-button { display: inline-grid; }
  .mobile-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: 10px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 6px;
    color: var(--paper);
    font-weight: 600;
  }
  .mobile-home-link:hover { background: rgba(255,255,255,.1); }
  .primary-nav {
    position: fixed;
    inset: 88px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 24px;
    background: var(--ink-950);
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow-md);
  }
  .primary-nav.open { display: flex; }
  .nav-link { padding: 15px 4px; }
  .nav-link.active::after { left: 4px; right: auto; width: 34px; bottom: 7px; }
  .account-label { display: none; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-top: 58px; }
  .hero-media { min-height: 470px; transform: none; }
  .path-grid { grid-template-columns: 1fr; }
  .path { border-right: 0; border-bottom: 1px solid var(--line); }
  .path:last-child { border-bottom: 0; }
  .feature-band,
  .shop-band-inner { grid-template-columns: 1fr; }
  .collection-rail { overflow-x: auto; grid-template-columns: repeat(5, minmax(170px, 1fr)); padding-bottom: 12px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .course-shell { grid-template-columns: 1fr; }
  .course-rail { display: none; }
  .mobile-module-select { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 24px; padding: 0 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
  .module-stepper { grid-template-columns: 120px repeat(3, 1fr); }
  .module-stepper > .button { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .site-header,
  .header-inner { min-height: 72px; }
  .primary-nav { inset: 72px 0 auto 0; }
  .site-header .brand-lockup { width: clamp(88px, calc(100vw - 248px), 180px); height: 60px; }
  .header-inner { gap: 8px; }
  .brand { font-size: .96rem; }
  .brand-mark { width: 9px; height: 18px; margin-right: 8px; }
  .header-actions { margin-left: auto; gap: 0; }
  .header-actions .button { display: none; }
  .hero-inner,
  .container { width: min(100% - 40px, var(--max)); }
  .hero-inner { padding: 48px 0 52px; }
  .hero-copy h1 { font-size: clamp(3.2rem, 14vw, 4.4rem); }
  .hero-copy p { font-size: .98rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-media { min-height: 405px; margin-top: 6px; }
  .hero-dashboard { inset: 5px 0 28px 0; grid-template-columns: 52px 1fr; }
  .hero-dash-rail { padding: 26px 10px; }
  .hero-dash-body { padding: 28px 18px; }
  .hero-dash-title { font-size: 1.5rem; }
  .hero-dash-card { width: 63%; min-height: 105px; padding: 15px; }
  .hero-paper { width: 48%; right: 4px; top: 76px; min-height: 242px; padding: 16px; }
  .paper-title { font-size: 1rem; }
  .hero-product { width: 68%; right: -52px; bottom: -20px; }
  .section { padding: 68px 0; }
  .section.compact { padding: 52px 0; }
  .path { padding: 34px 8px; }
  .path p { min-height: 0; }
  .preview-grid { grid-template-columns: 84px 1fr; min-height: 300px; }
  .preview-nav { padding: 10px; }
  .preview-main { padding: 14px; }
  .preview-module { font-size: 1rem; }
  .lesson-row { font-size: .62rem; }
  .collection-rail { margin-right: -20px; }
  .information-hero { padding: 68px 0 58px; }
  .information-hero .container { margin-left: auto; }
  .information-grid { grid-template-columns: 1fr; }
  .information-card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: grid; gap: 10px; }
  .course-main { padding: 20px 20px 60px; }
  .course-title { font-size: 2.35rem; line-height: 1.02; }
  .video-slide { min-height: 0; grid-template-columns: 1fr; }
  .video-table { padding: 18px; }
  .video-table h2 { font-size: 1.4rem; }
  .comparison-table { font-size: .58rem; }
  .comparison-table th,
  .comparison-table td { padding: 6px 4px; }
  .video-art { min-height: 120px; }
  .video-art::before { width: 70px; height: 70px; }
  .video-art::after { bottom: 12px; }
  .video-controls { grid-template-columns: auto 1fr auto auto; gap: 8px; padding: 0 10px; }
  .video-controls .skip-control,
  .video-controls .timecode { display: none; }
  .tabs { overflow-x: auto; }
  .tab { flex: 1; min-width: 100px; padding: 0 8px; }
  .overview-grid { grid-template-columns: 1fr; gap: 10px; }
  .source-workspace-top { align-items: stretch; flex-direction: column; padding: 24px; }
  .video-release-card, .interactive-banner { align-items: flex-start; flex-direction: column; margin: 0 -24px 28px; padding: 28px 24px; }
  .release-preview, .assessment-heading, .assessment-submit, .module-completion { align-items: flex-start; flex-direction: column; }
  .account-course-actions { align-items: stretch; flex-direction: column; }
  .account-course-actions > div:last-child { flex-direction: column; }
  .module-content-tabs { top: 64px; }
  .module-material { padding: 24px; }
  .source-stage-grid { grid-template-columns: 1fr 1fr; }
  .source-stage-grid article { min-height: 160px; padding: 20px; }
  .source-stage-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .source-stage-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .source-workspace > .safety-callout { margin: 20px; }
  .progress-rail { grid-template-columns: 1fr; }
  .rapid-recall { padding: 16px; }
  .rapid-recall-header { display: block; }
  .module-stepper { grid-template-columns: 1fr; padding: 14px; }
  .step { border-left: 0; border-top: 1px solid var(--line); padding: 10px 0 0; }
  .calculator { padding: 16px; }
  .calculator-top { display: block; }
  .scenario-tabs { overflow-x: auto; margin-top: 12px; }
  .calculator-columns { grid-template-columns: 1fr; }
  .calc-column { padding: 16px; }
  .calc-column + .calc-column { border-left: 0; border-top: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr 125px; gap: 8px; }
  .decision-section { padding: 16px; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-actions { align-items: stretch; flex-direction: column; }
  .shop-hero .hero-inner { padding: 44px 0 24px; }
  .shop-hero .hero-copy h1 { font-size: 3.65rem; }
  .shop-collage { min-height: 380px; }
  .category-rail { top: 64px; overflow-x: auto; grid-template-columns: repeat(7, minmax(90px, 1fr)); }
  .category-button { font-size: .78rem; }
  .store-title-row { align-items: stretch; flex-direction: column; }
  .filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-select { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .product-card h3 { font-size: .82rem; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise { min-height: 84px; justify-content: flex-start; padding: 0 30px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .newsletter { grid-template-columns: 1fr; gap: 20px; }
  .newsletter-form { grid-template-columns: 1fr; gap: 8px; }
  .newsletter-form input,
  .newsletter-form .button { border: 1px solid var(--line); border-radius: 6px; }
}

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

/* Paid program, account-claim, coupon, and question-support surfaces */
.program-sales { background: var(--paper); }
.program-hero { background: var(--ink-950); color: var(--paper); }
.program-hero-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr); gap:clamp(48px,7vw,110px); align-items:center; min-height:650px; padding-block:76px; }
.program-hero h1 { max-width:760px; margin:0; font-family:var(--serif); font-size:clamp(4rem,7vw,7.2rem); font-weight:500; letter-spacing:-.055em; line-height:.82; }
.business-sales .program-hero h1 { font-size:clamp(3.3rem,5.6vw,5.6rem); line-height:.86; }
.program-hero h2 { max-width:620px; margin:30px 0 14px; color:#58a2ff; font-family:var(--sans); font-size:clamp(1.25rem,2.2vw,2rem); letter-spacing:-.025em; }
.program-hero p { max-width:640px; color:#d8e5f1; font-size:1.05rem; }
.program-hero-actions { display:flex; align-items:center; gap:22px; margin-top:30px; }
.program-disclaimer { margin-top:28px!important; color:#9fb2c6!important; font-size:.76rem!important; }
.learning-path-visual { display:grid; gap:0; border-block:1px solid rgba(255,255,255,.24); }
.path-stop { position:relative; display:grid; grid-template-columns:48px 1fr; gap:16px; align-items:center; min-height:108px; padding:18px 10px; border-bottom:1px solid rgba(255,255,255,.17); }
.path-stop:last-child { border-bottom:0; }
.path-stop>span { display:grid; place-items:center; width:42px; height:42px; border:2px solid #2c7af0; border-radius:50%; color:#70adff; font-weight:800; }
.path-stop strong,.path-stop small { display:block; }.path-stop strong { font-size:1rem; }.path-stop small { margin-top:4px; color:#aebfd0; }
.program-proof { border-bottom:1px solid var(--line); background:var(--paper); }
.program-proof .container { display:grid; grid-template-columns:repeat(4,1fr); }
.program-proof .container>div { min-height:130px; padding:28px 24px; border-right:1px solid var(--line); }
.program-proof .container>div:last-child { border-right:0; }.program-proof strong,.program-proof span { display:block; }.program-proof strong { color:var(--blue-700); }.program-proof span { margin-top:9px; color:var(--muted); font-size:.78rem; line-height:1.55; }
.program-summary-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,440px); gap:clamp(50px,8vw,120px); align-items:start; }
.program-summary-grid h2,.access-choice h2 { margin-top:0; font-family:var(--serif); font-size:clamp(2.2rem,4vw,4rem); font-weight:500; letter-spacing:-.045em; line-height:.95; }
.program-fact-list { border-top:1px solid var(--line); }
.program-fact-list article { display:grid; grid-template-columns:26px 1fr; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.program-fact-list strong { font-size:.93rem; }.program-fact-list p { margin:4px 0 0; color:var(--muted); font-size:.8rem; }
.program-price { padding:30px; border:1px solid var(--line); box-shadow:var(--shadow-sm); }
.program-price h2 { font-family:var(--sans); font-size:1.25rem; line-height:1.2; letter-spacing:-.02em; }
.program-price-value { margin:22px 0 4px; font-size:2.3rem; font-weight:800; letter-spacing:-.045em; }
.program-price>p { color:var(--muted); font-size:.78rem; }.program-price>.button { margin-top:18px; }
.claim-instruction { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }.claim-instruction p { margin:6px 0 0; color:var(--muted); font-size:.78rem; }
.secure-checkout-kicker { display:inline-flex; align-items:center; gap:7px; margin-bottom:12px; color:var(--blue-700); font-size:.7rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.secure-checkout-kicker::before { content:""; width:7px; height:7px; border-radius:50%; background:#198754; box-shadow:0 0 0 4px #e5f6ee; }
.square-checkout-link { min-height:78px; display:grid; grid-template-columns:48px minmax(0,1fr) 34px; align-items:center; gap:14px; margin-top:18px; padding:13px 16px; border:1px solid #0756d8; border-radius:10px; background:linear-gradient(135deg,#0b6dff 0%,#0755da 58%,#073eb2 100%); color:#fff; box-shadow:0 12px 28px rgba(5,83,210,.25); text-align:left; transition:transform 180ms ease,box-shadow 180ms ease,filter 180ms ease; }
.square-checkout-link:hover { color:#fff; transform:translateY(-2px); box-shadow:0 16px 34px rgba(5,83,210,.32); filter:saturate(1.06); }
.square-checkout-link:focus-visible { outline:3px solid rgba(245,178,34,.58); outline-offset:3px; }
.square-checkout-link.full { width:100%; }
.square-checkout-link[disabled] { opacity:.5; cursor:not-allowed; box-shadow:none; }
.square-checkout-mark { position:relative; width:44px; height:44px; display:grid; place-items:center; border-radius:9px; background:#fff; box-shadow:inset 0 0 0 1px rgba(5,83,210,.12); }
.square-checkout-mark::before { content:""; width:22px; height:22px; border:4px solid #0b63ee; border-radius:6px; }
.square-checkout-mark span { position:absolute; width:8px; height:8px; border-radius:2px; background:#0b63ee; }
.square-checkout-copy { min-width:0; display:grid; gap:2px; }
.square-checkout-copy strong { font-size:.93rem; letter-spacing:-.01em; }
.square-checkout-copy small { color:rgba(255,255,255,.82); font-size:.7rem; }
.square-checkout-arrow { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.16); font-size:1.1rem; }
.payment-email-status { display:flex; align-items:flex-start; gap:10px; margin-top:15px; padding:12px; border-radius:7px; background:#f3f8fd; }
.payment-email-check { flex:0 0 auto; width:22px; height:22px; display:grid; place-items:center; border-radius:50%; background:#dff3e9; color:#087a4b; font-size:.72rem; font-weight:900; }
.payment-email-status span:last-child { display:grid; gap:2px; min-width:0; }
.payment-email-status strong { overflow-wrap:anywhere; font-size:.76rem; }
.payment-email-status small { color:var(--muted); font-size:.69rem; }
.square-trust-row { display:flex; justify-content:space-between; gap:14px; margin-top:18px; padding-top:14px; border-top:1px solid var(--line); color:var(--muted); font-size:.66rem; font-weight:700; }
.course-activation-form { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.course-activation-form input { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; letter-spacing:.04em; text-transform:uppercase; }
.activation-status { min-height:1.2em; margin:0; color:var(--ink-700); font-size:.76rem; }
.access-choice { display:grid; grid-template-columns:1.2fr repeat(3,1fr); gap:0; align-items:stretch; }
.access-choice>div,.access-choice>article { min-height:220px; padding:28px; border-right:1px solid var(--line); }.access-choice>article:last-child { border-right:0; }.access-choice h2 { font-size:2.6rem; }.access-choice p { color:var(--muted); font-size:.8rem; }
.checkout-product-summary { display:flex; justify-content:space-between; gap:20px; padding:14px; background:var(--cloud); border-left:3px solid var(--blue-700); }.checkout-product-summary span,.checkout-product-summary strong { display:block; }.checkout-product-summary span { margin-top:3px; color:var(--muted); font-size:.7rem; }
.form-stack label small { display:block; margin-top:4px; color:var(--muted); font-weight:400; }
.coupon-row { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:end; }.coupon-row .button { min-height:46px; }
.coupon-status { margin:-8px 0 0!important; color:var(--muted)!important; font-size:.72rem; }
.checkout-total { display:grid; grid-template-columns:1fr auto; gap:7px 20px; padding:14px 0; border-block:1px solid var(--line); }.checkout-total span { color:var(--muted); }.checkout-total strong { text-align:right; }
.confirmation-modal { max-width:520px; text-align:center; }.confirmation-mark { display:grid; place-items:center; width:58px; height:58px; margin:0 auto 18px; border-radius:50%; background:#e4f6ee; color:#087a4b; font-size:1.6rem; font-weight:800; }.confirmation-modal .claim-instruction { text-align:left; }.confirmation-modal .button { margin-top:20px; }
.topic-support { display:grid; grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr); gap:32px; margin-top:32px; padding:28px; border:1px solid var(--line); background:var(--paper); }.topic-support h2 { margin:0; font-family:var(--serif); font-size:2rem; }.topic-support p { color:var(--muted); font-size:.8rem; }.topic-support-form { display:grid; gap:8px; }.topic-support-form label { font-size:.75rem; font-weight:700; }.topic-support-form textarea { min-height:126px; resize:vertical; padding:12px; border:1px solid #bbc8d2; border-radius:4px; font:inherit; }.topic-support-form>div { display:flex; align-items:center; justify-content:space-between; gap:18px; }
@media(max-width:1000px){.program-hero-grid{grid-template-columns:1fr;}.program-proof .container{grid-template-columns:1fr 1fr}.program-proof .container>div:nth-child(2){border-right:0}.program-proof .container>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.program-summary-grid{grid-template-columns:1fr}.access-choice{grid-template-columns:1fr 1fr}.access-choice>div,.access-choice>article{border-bottom:1px solid var(--line)}.access-choice>article:nth-child(odd){border-right:0}}
@media(max-width:680px){.program-hero-grid{min-height:0;padding-block:54px}.program-hero h1{font-size:3.9rem}.program-hero-actions{align-items:stretch;flex-direction:column}.program-proof .container,.access-choice{grid-template-columns:1fr}.program-proof .container>div:nth-child(n),.access-choice>div,.access-choice>article{min-height:0;border-right:0;border-bottom:1px solid var(--line)}.program-summary-grid{gap:42px}.program-price{padding:22px}.coupon-row,.topic-support{grid-template-columns:1fr}.topic-support-form>div{align-items:stretch;flex-direction:column}.topic-support-form .button{width:100%}}
