/* MuniPro Academy on DL2 (design hub g23, frame_a12; tokens 2.0.3).
   One palette for every MuniPro site; the Academy is told apart only by its lockup. Gold appears once per page: the
   48x3 rule over the H1. Self-hosted fonts (SIL OFL 1.1, see fonts/LICENSE.txt beside this file); the CSP allows no
   external fonts, no scripts and no inline styles. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/static/fonts/inter-latin.woff2?v=3100e775e861") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/static/fonts/source-serif-4-latin.woff2?v=f2ea9c12d2fe") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("/static/fonts/source-serif-4-latin-italic.woff2?v=96e639320972") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/static/fonts/jetbrains-mono-latin.woff2?v=83c005d49d8a") format("woff2"); }

/* DL2 tokens 2.0.3 (C:/tmp/design-hub/dl2/tokens.json) */
:root {
  --mp-ink: #0C2140; --mp-text: #1E293B; --mp-muted: #5B6B82; --mp-rule: #E2E8F0; --mp-rule-strong: #CBD5E1; --mp-control-border: #7D8CA2;
  --mp-surface: #FFFFFF; --mp-page: #F7F9FC; --mp-tint: #F1F5F9; --mp-sky: #F3F7FE;
  --mp-action: #0265D9; --mp-action-hover: #145EC1; --mp-action-pressed: #0A4BA0; --mp-action-soft: #E2ECFA; --mp-action-line: #C6D9F6;
  --mp-on-action: #FFFFFF; --mp-accent-large: #3D84EA; --mp-focus-ring: #3D84EA;
  --mp-sapphire: #012A63; --mp-on-sapphire: rgba(255, 255, 255, 0.88); --mp-chart-hero-soft: #A2C8F0; --mp-gold: #DCC184;
  --mp-on-sapphire-rule: rgba(255, 255, 255, 0.16);
  --mp-font-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --mp-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mp-font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  --mp-space-1: 0.25rem; --mp-space-2: 0.5rem; --mp-space-3: 0.75rem; --mp-space-4: 1rem; --mp-space-5: 1.25rem; --mp-space-6: 1.5rem;
  --mp-space-8: 2rem; --mp-space-10: 2.5rem; --mp-space-12: 3rem; --mp-space-16: 4rem; --mp-space-20: 5rem;
  --mp-max-width: 1200px;
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { color: var(--mp-text); background: var(--mp-surface); font-family: var(--mp-font-body); font-size: 100%; line-height: 1.625; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--mp-action); text-underline-offset: 3px; }
a:hover { color: var(--mp-action-pressed); }
:focus-visible { outline: 2px solid var(--mp-focus-ring); outline-offset: 2px; }
[id] { scroll-margin-top: 80px; }
h1, h2, h3 { margin: 0; color: var(--mp-ink); font-family: var(--mp-font-display); font-weight: 600; line-height: 1.15; }
h1 em, h2 em { color: var(--mp-accent-large); font-style: italic; }
/* the H1: www-hero 56/64, and the page's one gold moment, the 48x3 rule above it */
h1 { font-size: 56px; line-height: 64px; letter-spacing: -0.01em; }
h1::before { content: ""; display: block; width: 48px; height: 3px; margin-bottom: var(--mp-space-6); background: var(--mp-gold); }
p { margin: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--mp-space-3); top: -4rem; z-index: 200; padding: var(--mp-space-2) var(--mp-space-4); border-radius: 6px; background: var(--mp-sapphire); color: #fff; }
.skip-link:focus { top: var(--mp-space-3); color: #fff; }
.ico { flex: none; }
.lk { display: block; flex: none; width: auto; }

/* ---- buttons and links: sentence case, Inter 600, radius 6, 44 px ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--mp-space-2); min-height: 44px; padding: 10px 20px; border: 1px solid var(--mp-action); border-radius: 6px;
  font-family: var(--mp-font-body); font-size: 15px; font-weight: 600; line-height: 22px; letter-spacing: 0; text-transform: none; text-decoration: none; cursor: pointer;
  transition: background-color 120ms, border-color 120ms, color 120ms; }
.btn-accent { background: var(--mp-action); border-color: var(--mp-action); color: var(--mp-on-action); }
.btn-accent:hover { background: var(--mp-action-hover); border-color: var(--mp-action-hover); color: var(--mp-on-action); }
.btn-accent:active { background: var(--mp-action-pressed); border-color: var(--mp-action-pressed); }
.btn-outline { background: var(--mp-surface); border-color: var(--mp-action); color: var(--mp-action); }
.btn-outline:hover { background: var(--mp-action-soft); color: var(--mp-action-pressed); }
.go { display: inline-flex; align-items: center; gap: 6px; color: var(--mp-action); font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none; }
.go .ico { color: var(--mp-action); }
.go:hover { color: var(--mp-action-pressed); text-decoration: underline; text-underline-offset: 3px; }
.link { color: var(--mp-action); font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: underline; text-decoration-color: var(--mp-action-line); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { color: var(--mp-action-pressed); text-decoration-color: var(--mp-action); }
.quiet { color: var(--mp-text); font-size: 14px; }
/* t-meta: the one label style */
.k, .meta { display: block; margin: 0; color: var(--mp-muted); font-family: var(--mp-font-body); font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.here { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; background: var(--mp-action-soft); color: var(--mp-action-pressed);
  font-family: var(--mp-font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

/* ---- the DL2 header: 64 px, white, 1 px rule, sticky ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--mp-surface); box-shadow: 0 1px 0 var(--mp-rule); }
.site-header__in { display: flex; align-items: center; gap: 48px; max-width: 1200px; height: 64px; margin: 0 auto; padding: 0 24px; }
.site-brand { display: inline-flex; align-items: center; flex: none; padding: 4px 0; text-decoration: none; }
.site-brand .lk { height: 28px; }
.site-nav { flex: 1; align-self: stretch; }
.site-nav ul { display: flex; align-items: stretch; gap: 32px; height: 100%; margin: 0; padding: 0; list-style: none; }
.site-nav li { display: flex; }
.site-nav a { position: relative; display: inline-flex; align-items: center; color: var(--mp-text); font-size: 14px; font-weight: 500; line-height: 20px; text-decoration: none; }
.site-nav a:hover { color: var(--mp-ink); text-decoration: underline; text-underline-offset: 6px; }
.site-nav a[aria-current="page"] { color: var(--mp-ink); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; background: var(--mp-action); }
.site-header .site-cta { min-height: 36px; height: 36px; padding: 0 16px; font-size: 14px; line-height: 20px; }
/* the phone menu: details/summary, a full-height sheet (no script) */
.site-menu { display: none; margin-left: auto; }
.site-menu > summary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--mp-control-border);
  border-radius: 6px; background: var(--mp-surface); color: var(--mp-ink); font-size: 14px; font-weight: 600; line-height: 20px; list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary:hover, .site-menu[open] > summary { background: var(--mp-tint); color: var(--mp-ink); }
.site-menu .menu-x, .site-menu[open] .menu-o { display: none; }
.site-menu[open] .menu-x { display: block; }
.site-sheet { position: fixed; top: 56px; left: 0; right: 0; bottom: 0; z-index: 99; display: flex; flex-direction: column; padding: 8px 16px 16px; overflow-y: auto;
  overscroll-behavior: contain; background: var(--mp-surface); border-top: 1px solid var(--mp-rule); }
.site-sheet__list { margin: 0; padding: 0; list-style: none; }
.site-sheet__list a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid var(--mp-rule); color: var(--mp-text);
  font-size: 16px; font-weight: 500; line-height: 24px; text-decoration: none; }
.site-sheet__list a[aria-current="page"] { padding-left: 12px; box-shadow: inset 3px 0 0 var(--mp-action); color: var(--mp-ink); font-weight: 600; }
.site-sheet__list .ico { color: var(--mp-muted); }
.site-sheet__fam { margin-top: 24px; }
.site-sheet__fam ul { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.site-sheet__fam li { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.site-sheet__fam a { display: inline-flex; align-items: center; min-height: 44px; }
.site-sheet__fam .lk { height: 24px; }
.site-sheet__acts { margin-top: auto; padding-top: 24px; }
.site-sheet__acts .btn { display: flex; width: 100%; min-height: 48px; }

/* ---- bands and heads ---- */
.band { border-top: 1px solid var(--mp-rule); background: var(--mp-surface); }
.band--paper { background: var(--mp-page); }
.band__in { max-width: var(--mp-max-width); margin: 0 auto; padding: var(--mp-space-20) var(--mp-space-6); }
.head { margin-bottom: var(--mp-space-10); }
.head h2 { margin-top: var(--mp-space-3); font-size: 36px; line-height: 44px; }
.head__line { margin-top: var(--mp-space-3); max-width: 64ch; color: var(--mp-text); font-size: 16px; line-height: 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--mp-space-3); color: var(--mp-muted); font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--mp-rule-strong); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mp-space-6); }
.tile { display: inline-grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--mp-action-soft); color: var(--mp-action); }

/* ---- hero (sky; copy left, the week right) ---- */
.hero { background: var(--mp-sky); border-bottom: 1px solid var(--mp-rule); }
.hero__in { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); align-items: center; gap: var(--mp-space-8); max-width: var(--mp-max-width); margin: 0 auto; padding: var(--mp-space-20) var(--mp-space-6); }
.lede { margin-top: var(--mp-space-6); max-width: 46ch; color: var(--mp-text); font-family: var(--mp-font-display); font-size: 20px; font-weight: 400; line-height: 28px; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--mp-space-4); margin-top: var(--mp-space-8); }

/* ---- the week: radius 8, 1 px rule, no shadow; live in sapphire, recordings in tint ---- */
.week { margin: 0; padding: var(--mp-space-6); border: 1px solid var(--mp-rule); border-radius: 8px; background: var(--mp-surface); box-shadow: none; }
.week__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--mp-space-3); margin-bottom: var(--mp-space-5); }
.week__t { color: var(--mp-ink); font-family: var(--mp-font-display); font-size: 20px; font-weight: 600; line-height: 28px; }
.week__grid { display: grid; grid-template-columns: 74px repeat(5, minmax(0, 1fr)); grid-template-rows: auto 76px 76px; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
.week__col { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.week__rl { display: flex; align-items: center; color: var(--mp-muted); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.week__dh { display: flex; flex-direction: column; align-items: center; padding: 6px 0 8px; border-bottom: 2px solid var(--mp-rule); }
.week__dh b { color: var(--mp-muted); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.week__dh span { color: var(--mp-ink); font-family: var(--mp-font-mono); font-size: 15px; }
.week__cell { display: flex; border: 1px dashed var(--mp-rule); border-radius: 4px; }
.week__cell:has(.ev) { border-color: transparent; }
.ev { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 100%; padding: 8px 10px; border-radius: 4px; font-size: 12px; line-height: 16px; }
.ev b { font-weight: 600; }
.ev--live { background: var(--mp-sapphire); color: var(--mp-on-action); }
.ev--live small { color: var(--mp-on-sapphire); font-size: 11px; }
.ev--rec { background: var(--mp-tint); color: var(--mp-text); }
.ev--rec small { display: inline-flex; align-items: center; gap: 4px; color: var(--mp-text); font-size: 11px; }
.week__legend { display: flex; flex-wrap: wrap; gap: var(--mp-space-2) var(--mp-space-5); margin-top: var(--mp-space-4); padding-top: var(--mp-space-4); border-top: 1px solid var(--mp-rule);
  color: var(--mp-muted); font-size: 12px; line-height: 16px; }
.week__legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 14px; height: 10px; border-radius: 2px; }
.sw--live { background: var(--mp-sapphire); }
.sw--rec { background: var(--mp-tint); box-shadow: inset 0 0 0 1px var(--mp-rule-strong); }
/* the day list on a phone (one row per day); hidden on a desktop */
.days { display: none; margin: 0; padding: 0; list-style: none; }
.day { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; border-top: 1px solid var(--mp-rule); }
.day:first-child { border-top: 0; }
.day__d { display: flex; flex-direction: column; align-items: flex-start; }
.day__d b { color: var(--mp-muted); font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.day__d span { color: var(--mp-ink); font-family: var(--mp-font-mono); font-size: 15px; line-height: 20px; }
.day__ev { display: flex; flex-direction: column; gap: 6px; }
.pill { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-height: 36px; padding: 6px 10px; border-radius: 4px; font-size: 13px; line-height: 18px; }
.pill b { font-weight: 600; }
.pill--live { background: var(--mp-sapphire); color: var(--mp-on-action); }
.pill--live span { color: var(--mp-on-sapphire); }
.pill--rec { background: var(--mp-tint); color: var(--mp-text); }

/* ---- three role tracks: equal cards on one subgrid ---- */
.tracks { grid-template-rows: repeat(4, auto); }
.track { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: var(--mp-space-4); padding: var(--mp-space-6) var(--mp-space-6) var(--mp-space-5);
  border: 1px solid var(--mp-rule); border-radius: 8px; background: var(--mp-surface); }
.track__top { display: flex; align-items: center; gap: var(--mp-space-4); }
.roman { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--mp-action-line); border-radius: 50%; color: var(--mp-action);
  font-family: var(--mp-font-display); font-size: 20px; font-style: italic; }
.track__t { font-size: 28px; line-height: 34px; }
.track__line { color: var(--mp-text); font-size: 16px; line-height: 26px; }
.when { display: flex; align-items: center; align-self: start; gap: var(--mp-space-3); padding: var(--mp-space-3) var(--mp-space-4); border-radius: 6px; background: var(--mp-tint);
  color: var(--mp-text); font-size: 14px; line-height: 21px; }
.when .ico { color: var(--mp-action); }
.when b { color: var(--mp-ink); font-weight: 600; }
.track__foot { padding-top: var(--mp-space-4); border-top: 1px solid var(--mp-rule); }

/* ---- live session cards: the date header stays sapphire ---- */
.sessions { grid-template-rows: repeat(5, auto); }
.ses { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: var(--mp-space-4); padding: var(--mp-space-5); border: 1px solid var(--mp-rule); border-radius: 8px; background: var(--mp-surface); }
.ses__band { display: flex; align-items: center; gap: var(--mp-space-4); padding: var(--mp-space-4); border-radius: 6px; background: var(--mp-sapphire); color: var(--mp-on-action); }
.cal { display: flex; flex: none; flex-direction: column; align-items: center; width: 64px; overflow: hidden; border-radius: 4px; background: var(--mp-surface); }
.cal__d { width: 100%; padding: 2px 0; background: var(--mp-action); color: var(--mp-on-action); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; }
.cal__n { padding: 3px 0 4px; color: var(--mp-ink); font-family: var(--mp-font-mono); font-size: 15px; font-weight: 500; }
.ses__when { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ses__when b { font-size: 18px; font-weight: 600; line-height: 24px; }
.ses__when span { color: var(--mp-on-sapphire); font-size: 13px; line-height: 18px; }
.ses__t { font-size: 24px; line-height: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: var(--mp-space-2) var(--mp-space-5); margin: 0; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 6px; color: var(--mp-text); font-size: 14px; line-height: 20px; }
.facts .ico { color: var(--mp-action); }
.ses__rec { display: flex; align-items: center; gap: 8px; color: var(--mp-text); font-size: 14px; line-height: 20px; }
.ses__rec .ico { color: var(--mp-action); }
.split { display: flex; height: 26px; overflow: hidden; border-radius: 4px; }
.split span { display: flex; align-items: center; padding: 0 8px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.split__demo { flex: 20; background: var(--mp-action); color: var(--mp-on-action); }
.split__qa { flex: 10; background: var(--mp-action-soft); color: var(--mp-ink); }
.ses__foot .quiet { font-size: 13px; }
.ses__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--mp-space-3); padding-top: var(--mp-space-4); border-top: 1px solid var(--mp-rule); }
.recline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--mp-space-3) var(--mp-space-6); margin-top: var(--mp-space-6);
  padding: var(--mp-space-4) var(--mp-space-5); border: 1px dashed var(--mp-rule-strong); border-radius: 8px; background: var(--mp-surface); }
.recline p { display: flex; flex: 1 1 40ch; align-items: flex-start; gap: var(--mp-space-3); max-width: 84ch; color: var(--mp-text); font-size: 14px; line-height: 21px; }
.recline .ico { margin-top: 2px; color: var(--mp-action); }
.recline .empty-state { max-width: none; color: inherit; font-size: inherit; line-height: inherit; }

/* ---- the teach-in band: a 1 px rule card, no gold edge, no shadow ---- */
.teach { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: var(--mp-space-10); padding: var(--mp-space-8) var(--mp-space-10);
  border: 1px solid var(--mp-rule); border-radius: 8px; background: var(--mp-surface); box-shadow: none; }
.teach h2 { margin-top: var(--mp-space-2); font-size: 28px; line-height: 34px; }
.teach__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--mp-space-4); margin-top: var(--mp-space-6); }
.teach__meta { color: var(--mp-muted); font-size: 12px; line-height: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mp-space-4); margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: var(--mp-space-3); padding: var(--mp-space-5) var(--mp-space-3); border: 1px solid var(--mp-rule); border-radius: 8px;
  background: var(--mp-surface); color: var(--mp-ink); font-size: 14px; font-weight: 600; line-height: 20px; text-align: center; }
.steps .tile { width: 48px; height: 48px; }
.steps__n { color: var(--mp-muted); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; }

/* ---- page heads (track, sessions, the rest): sky, crumbs, the H1, a side card ---- */
.phead { background: var(--mp-sky); border-bottom: 1px solid var(--mp-rule); }
.phead__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: var(--mp-space-12); max-width: var(--mp-max-width); margin: 0 auto; padding: var(--mp-space-16) var(--mp-space-6); }
.phead__in--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.phead__in--solo, .hero__in--solo { grid-template-columns: minmax(0, 1fr); }
.crumbs { margin-bottom: var(--mp-space-6); color: var(--mp-muted); font-size: 12px; line-height: 16px; }
.crumbs a { color: var(--mp-muted); text-decoration: underline; text-decoration-color: var(--mp-rule-strong); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--mp-action); }
.phead .btn-group { margin-top: var(--mp-space-6); }

/* ---- cards (start here, lessons, desk) ---- */
.card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--mp-rule); border-radius: 8px; background: var(--mp-surface); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: var(--mp-space-4); padding: var(--mp-space-6); }
.card__h { font-size: 24px; line-height: 30px; }
.start__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--mp-space-5); margin-top: auto; padding-top: var(--mp-space-4); border-top: 1px solid var(--mp-rule); }
.covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mp-space-6); margin: 0; padding: 0; list-style: none; }
.covers li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--mp-space-4); padding: var(--mp-space-6); border: 1px solid var(--mp-rule); border-radius: 8px; background: var(--mp-surface);
  color: var(--mp-ink); font-family: var(--mp-font-display); font-size: 20px; font-weight: 600; line-height: 28px; }
.covers .tile { width: 48px; height: 48px; }
.duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--mp-space-6); }
.empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: var(--mp-space-3); min-height: 200px; padding: var(--mp-space-8);
  border: 1px dashed var(--mp-rule-strong); border-radius: 8px; background: var(--mp-surface); color: var(--mp-action); text-align: center; }
.empty p, .empty-state { max-width: 40ch; color: var(--mp-text); font-size: 16px; line-height: 26px; }
.pub { margin: 0; padding: 0; list-style: none; }
.pub li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: var(--mp-space-4); padding: var(--mp-space-4) 0; border-bottom: 1px solid var(--mp-rule); }
.pub li:first-child { border-top: 1px solid var(--mp-rule); }
.pub a { color: var(--mp-ink); font-weight: 600; text-decoration: none; }
.pub a:hover { color: var(--mp-action); text-decoration: underline; }
.pub__m { color: var(--mp-muted); font-family: var(--mp-font-mono); font-size: 12px; white-space: nowrap; }
.desk { display: flex; flex: 1; flex-direction: column; gap: var(--mp-space-3); margin: 0; padding: 0; list-style: none; }
.desk li { display: flex; align-items: center; gap: var(--mp-space-4); padding: var(--mp-space-4); border: 1px solid var(--mp-rule); border-radius: 8px; background: var(--mp-surface); }
.desk li > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.desk b { color: var(--mp-ink); font-size: 16px; font-weight: 600; line-height: 22px; }

/* ---- the recordings shelf ---- */
.recs { grid-template-rows: repeat(3, auto); }
.rec { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: var(--mp-space-4); padding: var(--mp-space-5); border: 1px dashed var(--mp-rule-strong); border-radius: 8px; background: var(--mp-surface); }
.rec__poster { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 6px; background: var(--mp-tint); color: var(--mp-text); text-decoration: none; }
.rec__wait { display: flex; flex-direction: column; align-items: center; gap: var(--mp-space-2); color: var(--mp-text); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.rec.is-in { border-style: solid; border-color: var(--mp-rule); }
.rec.is-in .rec__poster { background: var(--mp-sapphire); color: var(--mp-on-action); }
.rec__play { display: grid; place-items: center; width: 56px; height: 56px; border: 2px solid var(--mp-chart-hero-soft); border-radius: 50%; color: var(--mp-on-action); }
.rec__t { font-size: 20px; line-height: 28px; }
.rec__m { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--mp-space-3); color: var(--mp-muted); font-size: 14px; line-height: 20px; }
.rec__m b { color: var(--mp-ink); font-weight: 600; }

/* ---- lesson page ---- */
.clip h2 { margin-bottom: var(--mp-space-4); font-size: 24px; line-height: 30px; }
video { display: block; width: min(100%, 52rem); border-radius: 8px; background: var(--mp-sapphire); }

/* ---- the to-come home (design hub g29, frames ACADEMY_SOON / _M): white hero, a status chip, audiences, MMA courses ---- */
.hero--soon { background: var(--mp-surface); }
.chip { display: inline-flex; align-items: center; height: 24px; margin-top: var(--mp-space-4); padding: 0 8px; border-radius: 4px; background: var(--mp-action-soft); color: var(--mp-ink);
  font-family: var(--mp-font-body); font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0; text-transform: none; }
.btn-group--soon { align-items: center; gap: var(--mp-space-6); }
.auds { grid-template-rows: repeat(4, auto); }
.aud { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: var(--mp-space-4); padding: var(--mp-space-6); border: 1px solid var(--mp-rule); border-radius: 8px; background: var(--mp-surface); }
.aud__top { display: flex; flex-direction: column; align-items: flex-start; gap: var(--mp-space-4); }
.fa { flex: none; color: var(--mp-ink); }
.aud__t { font-size: 24px; line-height: 30px; }
.aud__for { color: var(--mp-text); font-size: 16px; line-height: 26px; }
.aud__for .k { margin-bottom: var(--mp-space-1); }
.aud__topics { display: flex; flex-direction: column; gap: var(--mp-space-2); margin: 0; padding: 0; list-style: none; }
.aud__topics li { position: relative; padding-left: 16px; color: var(--mp-text); font-size: 15px; line-height: 22px; }
.aud__topics li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--mp-action); }
.aud__foot { padding-top: var(--mp-space-4); border-top: 1px solid var(--mp-rule); }
.aud__foot:empty { padding: 0; border-top: 0; }
.aud__foot ul { display: flex; flex-direction: column; gap: 6px; margin: var(--mp-space-2) 0 0; padding: 0; list-style: none; }
.aud__foot a { color: var(--mp-action); font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none; }
.aud__foot a:hover { color: var(--mp-action-pressed); text-decoration: underline; }
.courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); gap: var(--mp-space-6); }
.course { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: var(--mp-space-3); padding: var(--mp-space-6); border: 1px solid var(--mp-rule); border-radius: 8px; background: var(--mp-surface); }
.course__t { color: var(--mp-ink); font-family: var(--mp-font-body); font-size: 18px; font-weight: 600; line-height: 26px; }
.course__line { color: var(--mp-text); font-size: 14px; line-height: 21px; }
.course__soon { align-self: end; padding-top: var(--mp-space-3); border-top: 1px solid var(--mp-rule); color: var(--mp-muted); font-size: 12px; font-weight: 600; line-height: 16px;
  letter-spacing: 0; text-transform: none; }

/* ---- the MuniPro family header (feed 1dc93a): five family links and Sign in at t-cell 13/20, Book a demo ---- */
.site-header--fam .site-header__in { gap: 32px; }
.site-header--fam .site-nav ul { gap: 24px; }
.site-header--fam .site-nav a { font-size: 13px; line-height: 20px; white-space: nowrap; }
.site-header--fam .site-nav li:last-child { margin-left: auto; }
.site-header--fam .site-cta { white-space: nowrap; }

/* ---- the DL2 footer (sapphire): lead, columns, the MuniPro family, legal ---- */
.site-footer { background: var(--mp-sapphire); color: var(--mp-on-sapphire); }
/* www's footer layout (hub g33 check-1 P3-A1): a 12-column lead (lockup 3, promise 6, button 3), a rule between every row. */
.site-footer__in { max-width: 1200px; margin: 0 auto; padding: 48px 24px 32px; }
.site-footer :focus-visible { outline-color: var(--mp-chart-hero-soft); }
.site-footer__in > * + * { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--mp-on-sapphire-rule); }
.ftr__lead, .ftr__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; }
.ftr__lead { align-items: center; }
.ftr__home { grid-column: 1 / span 3; justify-self: start; display: flex; align-items: center; }
.ftr__home .lk { height: 28px; }
.ftr__promise { grid-column: 4 / span 6; margin: 0; color: var(--mp-on-sapphire); font-size: 16px; line-height: 24px; }
.ftr__lead .ftr__btn { grid-column: 10 / span 3; justify-self: end; }
.ftr__talk ul { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.ftr__col span, .ftr__m span { color: var(--mp-on-sapphire); font-size: 14px; line-height: 20px; }
.ftr__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--mp-on-sapphire); color: var(--mp-on-sapphire); font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none; }
.ftr__btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--mp-surface); }
.ftr__col { grid-column: span 3; min-width: 0; }
.ftr__h, .ftr__m > summary { display: block; margin: 0 0 12px; color: var(--mp-chart-hero-soft); font-family: var(--mp-font-body); font-size: 11px; font-weight: 600; line-height: 16px;
  letter-spacing: 0.06em; text-transform: uppercase; }
.ftr__m > summary h2 { margin: 0; color: inherit; font: inherit; }
.ftr__col ul, .ftr__m ul, .ftr__legal ul, .fam ul { margin: 0; padding: 0; list-style: none; }
.ftr__col ul, .ftr__m ul { display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.site-footer a.fl { color: var(--mp-on-sapphire); font-size: 14px; line-height: 20px; text-decoration: none; }
.site-footer a.fl:hover { color: var(--mp-surface); text-decoration: underline; text-underline-offset: 3px; }
.ftr__m { display: none; }
.fam ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.fam li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.fam a, .fam__lk { display: flex; align-items: center; height: 32px; }
.fam a { opacity: 0.88; }
.fam a:hover { opacity: 1; }
.fam .lk { height: 20px; width: auto; }
.site-footer .here { display: block; height: auto; padding: 0; border-radius: 0; background: none; color: var(--mp-on-sapphire); font-size: 11px; font-weight: 600;
  line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.ftr__legal { display: grid; gap: 8px; font-size: 12px; line-height: 16px; }
.ftr__legal p { margin: 0; max-width: 960px; color: var(--mp-on-sapphire); }
.ftr__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.ftr__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .ftr__legal a.fl { font-size: 12px; line-height: 16px; text-decoration: underline; text-underline-offset: 2px; }

/* ---- tablet and phone ---- */
@media (max-width: 880px) {
  .site-header__in { height: 56px; padding: 0 16px; gap: 12px; }
  .site-brand .lk { height: 24px; }
  .site-nav, .site-header .site-cta { display: none; }
  .site-menu { display: block; }
  html:has(.site-menu[open]) body { overflow: hidden; }
  [id] { scroll-margin-top: 72px; }
  .band__in { padding: var(--mp-space-12) var(--mp-space-4); }
  .hero__in, .phead__in, .phead__in--wide { grid-template-columns: minmax(0, 1fr); gap: var(--mp-space-8); padding: var(--mp-space-10) var(--mp-space-4) var(--mp-space-12); }
  h1 { font-size: 36px; line-height: 44px; }
  h1::before { margin-bottom: var(--mp-space-4); }
  .lede { margin-top: var(--mp-space-4); font-size: 18px; line-height: 26px; }
  .hero .btn-group { flex-direction: column; align-items: stretch; }
  .head { margin-bottom: var(--mp-space-6); }
  .head h2 { font-size: 28px; line-height: 34px; }
  .three, .covers, .duo { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: var(--mp-space-4); }
  .track, .ses, .rec { grid-row: auto; grid-template-rows: none; }
  .track__t { font-size: 24px; line-height: 30px; }
  .ses__t, .card__h { font-size: 20px; line-height: 28px; }
  .week { padding: var(--mp-space-4); }
  .week__grid, .week__legend { display: none; }
  .days { display: block; }
  .teach { grid-template-columns: minmax(0, 1fr); gap: var(--mp-space-6); padding: var(--mp-space-6) var(--mp-space-5); }
  .teach h2 { font-size: 24px; line-height: 30px; }
  .link, .go, .crumbs a, .pub a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin-bottom: var(--mp-space-2); }
}
@media (min-width: 881px) {
  .site-sheet { display: none; }
}
/* the family header keeps one row from 1024 px (the 10-26 header rule); below it, the lockup, Book a demo and the menu sheet */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header--fam .site-nav ul { gap: 16px; }
}
@media (max-width: 1023px) {
  .site-header--fam .site-header__in { gap: 12px; }
  .site-header--fam .site-nav { display: none; }
  .site-header--fam .site-cta { display: inline-flex; margin-left: auto; }
  .site-header--fam .site-menu { display: block; margin-left: 0; }
  /* DL2_HEADER: an unboxed "\2261 Menu" control; the word drops out at 320 */
  .site-header--fam .site-menu > summary { gap: 6px; padding: 0 4px; border: 0; background: transparent; }
  .site-header--fam .site-menu > summary:hover, .site-header--fam .site-menu[open] > summary { background: var(--mp-tint); }
  /* the sheet pins its own filled Book a demo, so the bar's copy steps aside while it is open */
  .site-header--fam:has(.site-menu[open]) .site-cta { display: none; }
  .site-header--fam:has(.site-menu[open]) .site-menu { margin-left: auto; }
}
@media (max-width: 1099px) {
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 881px) and (max-width: 1023px) {
  .site-header--fam .site-sheet { display: flex; top: 64px; }
}
@media (max-width: 880px) {
  .site-header--fam .site-cta { padding: 0 12px; }
  .aud { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 600px) {
  .courses { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: var(--mp-space-4); }
  .course { grid-row: auto; grid-template-rows: none; }
}
@media (max-width: 1099.98px) {
  .ftr__lead, .ftr__cols { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ftr__lead .ftr__btn { grid-column: 4 / span 3; }
  .ftr__promise { grid-row: 2; grid-column: 1 / -1; margin-top: 16px; }
  .ftr__col { grid-column: span 3; }
  .fam ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 639.98px) {
  .site-footer__in { padding: 32px 16px 24px; }
  .ftr__lead { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .ftr__home, .ftr__promise, .ftr__lead .ftr__btn { grid-row: auto; grid-column: 1; margin-top: 0; }
  .ftr__lead .ftr__btn { justify-self: stretch; min-height: 44px; }
  .ftr__cols { display: block; }
  .site-footer__in > .ftr__cols { padding-top: 16px; }
  .site-footer__in > .ftr__cols + * { border-top: 0; }
  .ftr__d { display: none; }
  .ftr__m { display: block; }
  .ftr__m > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin: 0; border-bottom: 1px solid var(--mp-on-sapphire-rule);
    list-style: none; cursor: pointer; }
  .ftr__m > summary::-webkit-details-marker { display: none; }
  .ftr__m[open] > summary .ico { transform: rotate(180deg); }
  .ftr__m ul { gap: 0; padding: 4px 0 12px; border-bottom: 1px solid var(--mp-on-sapphire-rule); }
  .ftr__m a.fl, .ftr__m span { display: flex; align-items: center; min-height: 44px; }
  .ftr__talk ul { flex-direction: column; gap: 0; }
  .ftr__talk a.fl { display: flex; align-items: center; min-height: 44px; }
  .fam ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fam a, .fam__lk { height: 44px; }
  .fam li.is-here .fam__lk { height: 28px; }
}
@media (max-width: 420px) {
  .site-header--fam .site-brand .lk { height: 24px; }
  .site-header--fam .site-header__in { gap: 8px; }
}
/* icon-only Menu below 406 px: the 24 px lockup (hub g33 spec) + Book a demo + "Menu" need 406 (was 391 at 22 px; hub g29 P3-1) */
@media (max-width: 405px) {
  .site-header--fam .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header--fam .site-menu > summary { width: 44px; padding: 0; }
}
@media (max-width: 388px) {
  .site-header--fam .site-cta { display: none; }
  .site-header--fam .site-menu { margin-left: auto; }
}
@media (max-width: 560px) {
  .steps { gap: var(--mp-space-2); }
  .steps li { padding: var(--mp-space-4) var(--mp-space-2); font-size: 13px; }
  .split span { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

@media print {
  .site-header, .skip-link, .site-menu { display: none; }
  .hero, .phead { border: 0; background: #fff; }
  .week, .card { box-shadow: none; }
  .site-footer, .site-footer a.fl, .ftr__legal p { background: #fff; color: #000; }
}
