/* TSP site chrome, prototype only: the live theme's header and footer reproduced (header.liquid, nav-categories.liquid,
   footer.liquid; tsp-nav -> tsp-chrome-nav, tsp-nav__mobile* -> tsp-chrome-menu*, tsp-footer -> tsp-chrome-footer), in
   Kajabi's page context, in the live order and specificity. Sources, the reproduced context and every deliberate
   difference (marked "differs:") are in README.md. The port keeps the theme's sections; only the last block (the
   homepage's chapter bar and back to top) ships. */

/* --- skip link (differs: not on the live site) */
.tsp-chrome-skip { position: fixed; top: 10px; left: 10px; z-index: 1002; padding: 9px 14px; border-radius: 8px; background: var(--text); color: var(--bg); font: 500 14px/1.2 var(--f-body); text-decoration: none; }
.tsp-chrome-skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* --- header bar */
.tsp-chrome-nav {
  /* fixed, not sticky: Kajabi's overflow on html/body disables sticky (as on the live site) */
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 11, 18, .95);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-family: var(--f-body); color: var(--text);
  font-size: 18px; line-height: 1.6;   /* Kajabi's body context (see the header comment) */
}
/* Over a dark hero the live bar drops to 55% so the hero shows through the glass (live: body:has(.tsp-hero)). The
   prototype's hero is .th-hero. */
body:has(.th-hero, .tsp-hero) .tsp-chrome-nav { background: rgba(10, 11, 18, .55); }
.tsp-chrome-nav * { box-sizing: border-box; font-weight: 400; }
.tsp-chrome-nav a { text-decoration: none; color: inherit; }

/* height: the live bar measures 74px + its 1px border; set here so it never depends on font metrics */
.tsp-chrome-nav__inner { max-width: 1340px; height: 74px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.tsp-chrome-nav__brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.tsp-chrome-nav__logo { height: 38px; width: auto; display: block; transition: filter .25s ease, transform .25s ease; }
.tsp-chrome-nav__brand:hover .tsp-chrome-nav__logo { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .85)) drop-shadow(0 0 14px rgba(0, 212, 255, .5)); }

.tsp-chrome-nav__menu { display: block; }
.tsp-chrome-nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tsp-chrome-nav__item { position: relative; margin-bottom: .2em; }   /* Kajabi's li rule: 3.6px, so the bar's row is 46px tall */
.tsp-chrome-nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; margin: 0; border-radius: 10px;
  font-size: 14px; color: rgba(240, 244, 255, .78); transition: color .18s ease, background .18s ease; cursor: pointer;
  background: transparent; border: none; font-family: inherit; -webkit-appearance: none; appearance: none;
  white-space: nowrap;   /* differs: live lets "Case Studies" wrap between 901 and ~1020px */
  font-weight: 300;      /* live asks for 200 !important; Outfit 200 isn't loaded there, so it renders as 300 */
}
button.tsp-chrome-nav__link { line-height: normal; }   /* a <button> resets line-height (38px tall); the <a>s inherit 1.6 (42.4px), as live */
.tsp-chrome-nav__link:hover,
.tsp-chrome-nav__link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .05); }
.tsp-chrome-nav__caret { width: 10px; height: 10px; transition: transform .2s ease; opacity: .6; }
.tsp-chrome-nav__link[aria-expanded="true"] .tsp-chrome-nav__caret { transform: rotate(180deg); }

/* dropdown panel */
.tsp-chrome-nav__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: rgba(12, 18, 37, .96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 10;
  /* differs: scrolls on a short screen (live runs off the bottom). Its scroll chains on to the page: no
     overscroll-behavior: contain here, it trapped the page (README.md, "Review", 1) */
  max-height: calc(100vh - 74px); max-height: calc(100dvh - 74px); overflow-y: auto;
}
/* differs: a bridge over the 8px gap under each dropdown button, so a pointer moving down to the panel never leaves the item */
.tsp-chrome-nav__item[data-dropdown]::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.tsp-chrome-nav__item--open > .tsp-chrome-nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s;   /* visible at once on open, so focus can move in */
}
.tsp-chrome-nav__group + .tsp-chrome-nav__group { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .06); }
.tsp-chrome-nav__group-label {
  display: block; padding: 4px 12px 8px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(148, 163, 196, .78);   /* differs: live .6 is 3.4:1 on the panel; .78 is 4.9:1 */
}
.tsp-chrome-nav__group-list { list-style: none; margin: 0; padding: 0; }
.tsp-chrome-nav__dropdown-link { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: rgba(240, 244, 255, .82); transition: background .15s ease, color .15s ease; }
.tsp-chrome-nav__dropdown-link:hover { background: rgba(0, 212, 255, .08); color: var(--cyan); }
.tsp-chrome-nav__dropdown-link small {
  display: block; margin-top: 2px; font-size: 11px; font-weight: 400;
  color: rgba(148, 163, 196, .78);   /* differs: live .7 is 4.2:1; .78 is 4.9:1 */
}
.tsp-chrome-nav__dropdown-divider { height: 1px; background: rgba(255, 255, 255, .06); margin: 8px 0; }
.tsp-chrome-nav__dropdown-footer { display: block; padding: 9px 12px; border-radius: 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); transition: background .15s ease; }
.tsp-chrome-nav__dropdown-footer:hover { background: rgba(0, 212, 255, .08); }

/* CTA */
.tsp-chrome-nav__cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 100px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, text-shadow .25s ease; flex: 0 0 auto;
}
.tsp-chrome-nav__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 212, 255, .28); color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, .8), 0 0 24px rgba(0, 212, 255, .5); }

/* phone menu toggle: the <button> chrome.js makes, or the two no-JS links. differs: 44px, a whole touch target (mobile
   plan F2; live 42px); the bar stays 71px */
.tsp-chrome-nav__toggle {
  display: none; flex: 0 0 auto; width: 44px; height: 44px; align-items: center; justify-content: center; margin: 0; padding: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; cursor: pointer; color: inherit;
}
.tsp-chrome-nav__toggle span { display: block; position: relative; width: 18px; height: 2px; background: #f0f4ff; border-radius: 1px; }
.tsp-chrome-nav__toggle span::before,
.tsp-chrome-nav__toggle span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: #f0f4ff; border-radius: 1px; transition: transform .25s ease; }
.tsp-chrome-nav__toggle span::before { top: -6px; }
.tsp-chrome-nav__toggle span::after { top: 6px; }
.tsp-chrome-nav[data-mobile-open="true"] .tsp-chrome-nav__toggle span,
.tsp-chrome-nav__toggle[data-nojs="close"] span { background: transparent; }
.tsp-chrome-nav[data-mobile-open="true"] .tsp-chrome-nav__toggle span::before,
.tsp-chrome-nav__toggle[data-nojs="close"] span::before { transform: translateY(6px) rotate(45deg); }
.tsp-chrome-nav[data-mobile-open="true"] .tsp-chrome-nav__toggle span::after,
.tsp-chrome-nav__toggle[data-nojs="close"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- phone menu (a sibling of the header) */
.tsp-chrome-menu {
  position: fixed; inset: 71px 0 0 0;   /* under the 71px bar (live: 62px, then synced to the bar's height by script) */
  background: rgba(6, 11, 24, .97); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
  padding: 0 24px 40px; overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .32s ease, opacity .25s ease, visibility .32s; z-index: 999;
  font-family: var(--f-body); color: var(--text); font-size: 16px; line-height: 1.6;
  /* differs: Tab and Shift+Tab keep the focused link clear of the sticky title and the bottom edge, ring included */
  scroll-padding: 64px 0 8px;
  /* differs: no scrollbar (mobile plan S6; the page's 14px one narrowed the menu and moved the carets) */
  scrollbar-width: none;
}
.tsp-chrome-menu::-webkit-scrollbar { display: none; }
.tsp-chrome-menu * { box-sizing: border-box; }
.tsp-chrome-menu a { text-decoration: none; }
.tsp-chrome-nav[data-mobile-open="true"] ~ .tsp-chrome-menu { transform: translateY(0); opacity: 1; visibility: visible; transition: transform .32s ease, opacity .25s ease, visibility 0s; }
.tsp-chrome-menu__section { margin-bottom: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tsp-chrome-menu__section:last-of-type { border-bottom: none; }
/* differs: reaches 8px into the menu's side padding and pads it back: text and caret where live has them, room for
   its ring (drawn inside; the menu clips above the first title) */
.tsp-chrome-menu__title {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: calc(100% + 16px);
  background: rgba(6, 11, 24, .92); -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2);
  border: none; padding: 20px 8px 18px; margin: 0 -8px; font-family: var(--f-mono); font-size: 14px; font-weight: 700; line-height: normal;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(148, 163, 196, .9); cursor: pointer; text-align: left;
  transition: color .2s ease; -webkit-appearance: none; appearance: none; border-radius: 0;
}
.tsp-chrome-menu__section[data-open="true"] .tsp-chrome-menu__title { color: #fff; }
.tsp-chrome-menu__caret { width: 16px; height: 16px; transition: transform .25s ease; opacity: .7; flex: 0 0 auto; }
.tsp-chrome-menu__section[data-open="true"] .tsp-chrome-menu__caret { transform: rotate(180deg); opacity: 1; }
/* differs: a collapsed section is also visibility:hidden (out of the Tab order); the body reaches 6px into the side
   padding so its links' rings aren't cut by its clipping */
.tsp-chrome-menu__body { max-height: 0; overflow: hidden; visibility: hidden; margin: 0 -6px; padding: 0 6px; transition: max-height .3s ease, visibility 0s linear .3s; }
.tsp-chrome-menu__section[data-open="true"] .tsp-chrome-menu__body { max-height: 2000px; visibility: visible; transition: max-height .3s ease, visibility 0s; }
.tsp-chrome-menu__body-inner { padding: 4px 0 16px; }
.tsp-chrome-menu__group-label {
  display: block; padding: 10px 0 4px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(148, 163, 196, .78);   /* differs: live .6 is 3.4:1; .78 is 5.1:1 */
}
.tsp-chrome-menu__group-label:first-child { padding-top: 2px; }
.tsp-chrome-menu__link { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; color: #f0f4ff; }
.tsp-chrome-menu__link--all { color: var(--cyan); }
.tsp-chrome-menu__section--static { border-bottom: none; margin-top: 8px; }
.tsp-chrome-menu__section--static .tsp-chrome-menu__link { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tsp-chrome-menu__section--static .tsp-chrome-menu__link:last-child { border-bottom: none; }
.tsp-chrome-menu__cta {
  display: block; margin-top: 20px; padding: 16px; background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  color: #fff; font-size: 14px; font-weight: 700; text-align: center; border-radius: 100px; transition: transform .2s ease, box-shadow .25s ease;
}
.tsp-chrome-menu__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0, 212, 255, .28); color: #fff; }

/* --- breakpoints (live: 900px) */
@media (max-width: 900px) {
  .tsp-chrome-nav__menu,
  .tsp-chrome-nav__cta { display: none; }
  .tsp-chrome-nav__toggle { display: inline-flex; }
  .tsp-chrome-nav__logo { height: 30px; }
  .tsp-chrome-nav__inner { height: 70px; padding-top: 13px; padding-bottom: 13px; }   /* 13 + the 44px toggle + 13, + 1px border = 71px (live 14 + 42 + 14) */
}
@media (min-width: 901px) {
  .tsp-chrome-menu { display: none; }
}
@media (max-width: 767px) {
  .tsp-chrome-nav { font-size: 16px; }   /* Kajabi's body is 16px under 768px */
}
/* differs: one line while the bar is 1020px or narrower (live wraps "Case Studies"), keyed to the bar's own width so
   the page's 14px scrollbar counts; inline-size containment only, so the dropdowns still paint below the bar */
.tsp-chrome-nav { container: tsp-chrome-bar / inline-size; }
@media (min-width: 901px) {
  @container tsp-chrome-bar (max-width: 1020px) {
    .tsp-chrome-nav__inner { gap: 16px; padding-left: 24px; padding-right: 24px; }
    .tsp-chrome-nav__logo { height: 34px; }
    .tsp-chrome-nav__links { gap: 0; }
    .tsp-chrome-nav__link { padding-left: 10px; padding-right: 10px; }
  }
}

/* --- no JavaScript (chrome.js sets data-js="on") */
/* desktop: a dropdown opens while hovered or while focus is inside it, so every link stays reachable */
.tsp-chrome-nav:not([data-js]) .tsp-chrome-nav__item:is(:hover, :focus-within) > .tsp-chrome-nav__dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease, visibility 0s; }
.tsp-chrome-nav:not([data-js]) .tsp-chrome-nav__item:is(:hover, :focus-within) > .tsp-chrome-nav__link { color: #fff; background: rgba(255, 255, 255, .05); }
.tsp-chrome-nav:not([data-js]) .tsp-chrome-nav__item:is(:hover, :focus-within) .tsp-chrome-nav__caret { transform: rotate(180deg); }
/* while one item is hovered, another opened by focus steps back, so two panels never overlap */
.tsp-chrome-nav:not([data-js]) .tsp-chrome-nav__links:has(> .tsp-chrome-nav__item:hover) > .tsp-chrome-nav__item:not(:hover) > .tsp-chrome-nav__dropdown { opacity: 0; visibility: hidden; }
/* phones: the toggle is a link to #tsp-chrome-menu; the menu opens as the :target, every section expanded */
.tsp-chrome-nav__toggle[data-nojs="close"] { display: none; }
@media (max-width: 900px) {
  .tsp-chrome-nav:has(~ .tsp-chrome-menu:not([data-js]):target) .tsp-chrome-nav__toggle[data-nojs="open"] { display: none; }
  .tsp-chrome-nav:has(~ .tsp-chrome-menu:not([data-js]):target) .tsp-chrome-nav__toggle[data-nojs="close"] { display: inline-flex; }
}
.tsp-chrome-menu:not([data-js]):target { transform: none; opacity: 1; visibility: visible; transition: transform .32s ease, opacity .25s ease, visibility 0s; }
.tsp-chrome-menu:not([data-js]) .tsp-chrome-menu__body { max-height: none; visibility: visible; }
.tsp-chrome-menu:not([data-js]) .tsp-chrome-menu__title { position: static; cursor: default; }
.tsp-chrome-menu:not([data-js]) .tsp-chrome-menu__caret { display: none; }

/* --- the prototype marker (not on the live site) */
/* Under the header in page coordinates, taking no layout space. Above 960px it sits over the globe; at 960px and under
   it would sit on the stacked headline, so it closes the footer instead (README.md, "The prototype marker") */
.tsp-chrome-proto { position: absolute; top: 75px; left: 0; right: 0; z-index: 45; margin: 0; pointer-events: none; font: 400 12px/1.5 var(--f-body); letter-spacing: .01em; color: var(--text-3); }
.tsp-chrome-proto__in { display: flex; align-items: center; justify-content: flex-end; gap: 7px; max-width: 1340px; margin: 0 auto; padding: 7px 32px 0; }
.tsp-chrome-proto__dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--draft); }
@media (max-width: 960px) { .tsp-chrome-proto { display: none; } }

/* --- footer */
.tsp-chrome-footer {
  background: var(--bg); color: var(--text); padding: 4rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--f-display); font-size: 18px; line-height: 1.6;   /* Kajabi's body context */
}
.tsp-chrome-footer * { box-sizing: border-box; }
.tsp-chrome-footer a { color: inherit; text-decoration: none; }
.tsp-chrome-footer__container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3rem); }
.tsp-chrome-footer__grid { display: grid; grid-template-columns: 1.8fr 1.2fr 1fr .8fr 1fr; gap: 2.25rem; margin-bottom: 3rem; }

/* brand column */
.tsp-chrome-footer__brand-mark { width: 40px; height: 40px; margin-bottom: .9rem; }
.tsp-chrome-footer__brand-mark svg { width: 100%; height: 100%; display: block; }
.tsp-chrome-footer__brand-name { font-family: var(--f-body); font-size: 1.3rem; font-weight: 500; color: #fff; letter-spacing: -.01em; }
.tsp-chrome-footer__brand-desc {
  color: #6e7d9c;   /* differs: live #5b6b8a is 3.7:1 on --bg; #6e7d9c is 4.75:1 */
  font-size: .92rem; margin: 1rem 0; max-width: 300px; line-height: 1.7;   /* margin-bottom: Kajabi's p rule */
}
.tsp-chrome-footer__partners { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }
.tsp-chrome-footer__partner { display: inline-flex; align-items: center; opacity: .9; transition: opacity .18s ease; }
.tsp-chrome-footer__partner:hover { opacity: 1; }
.tsp-chrome-footer__partner-img { display: block; width: 90px; height: auto; filter: grayscale(100%) brightness(.7) contrast(1.8); }
.tsp-chrome-footer__partner-img--light { width: 78px; filter: none; opacity: .72; }   /* AWS's one-colour badge for dark grounds */
.tsp-chrome-footer__partner:hover .tsp-chrome-footer__partner-img--light { opacity: .95; }
.tsp-chrome-footer__partner--apple { flex-direction: column; gap: .35rem; align-items: center; }
.tsp-chrome-footer__partner-svg { display: block; width: 48px; height: auto; filter: grayscale(100%) brightness(.7) contrast(1.8); }
.tsp-chrome-footer__partner-caption {
  font-family: var(--f-body); font-size: .78rem; font-weight: 500; letter-spacing: .01em; line-height: 1;
  color: rgba(255, 255, 255, .5);   /* differs: live .45 is 4.5:1 exactly; .5 clears it */
}

/* link columns */
.tsp-chrome-footer__col-title {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #6e7d9c;   /* differs: live #5b6b8a, 3.7:1 */
  margin: 0 0 1.25rem; padding: 15px; line-height: 1.6;   /* padding: Kajabi's [class*=col-] rule, as live (10px under 768px) */
}
.tsp-chrome-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .7rem; }
.tsp-chrome-footer__links li { margin-bottom: .2em; }   /* Kajabi's li rule */
.tsp-chrome-footer__links a { color: var(--text-dim); font-size: .92rem; transition: color .18s ease; }
.tsp-chrome-footer__links a:hover { color: var(--text); }

/* bottom row */
.tsp-chrome-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .08); flex-wrap: wrap; gap: 1rem; }
.tsp-chrome-footer__copyright { font-size: .82rem; color: #6e7d9c; }   /* differs: live #5b6b8a, 3.7:1 */
.tsp-chrome-footer__social { display: flex; flex-wrap: wrap; gap: .75rem; }
.tsp-chrome-footer__social a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); color: var(--text-dim);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.tsp-chrome-footer__social a:hover { background: rgba(255, 255, 255, .06); color: var(--cyan); border-color: rgba(0, 212, 255, .3); }
/* not on the live site: the prototype marker's place at 960px and under (see "the prototype marker"), on its own line */
.tsp-chrome-footer__proto { display: none; align-items: center; gap: 7px; margin: 0; font: 400 12px/1.5 var(--f-body); letter-spacing: .01em; color: var(--text-3); }

@media (max-width: 960px) {
  .tsp-chrome-footer__proto { display: flex; width: 100%; }
}
@media (max-width: 900px) {
  .tsp-chrome-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .tsp-chrome-footer { font-size: 16px; }
  .tsp-chrome-footer__col-title { padding: 0; }   /* differs: titles line up with their links (live: Kajabi's 10px) */
}
/* differs: phones get two columns of 44px rows (mobile plan F1; live one column, 1,501px tall at 390) and the phone
   spacing scale's top padding (S2; live 4rem) */
@media (max-width: 640px) {
  .tsp-chrome-footer { padding-top: 3rem; }
  .tsp-chrome-footer__container { padding: 0 var(--gutter); }
  .tsp-chrome-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 12px; }
  .tsp-chrome-footer__brand { grid-column: 1 / -1; }
  .tsp-chrome-footer__col-title { margin-bottom: .25rem; }
  .tsp-chrome-footer__links { gap: 0; }
  .tsp-chrome-footer__links li { margin: 0; }
  .tsp-chrome-footer__links a { display: flex; align-items: center; min-height: 44px; font-size: .875rem; }
  .tsp-chrome-footer__social a { width: 44px; height: 44px; }
  .tsp-chrome-footer__bottom { flex-direction: column; text-align: center; gap: 1.25rem; }
  .tsp-chrome-footer__bottom .tsp-chrome-footer__social { justify-content: center; }
  .tsp-chrome-footer__proto { justify-content: center; }
}

/* Kajabi's global a:hover, which the live chrome picks up */
.tsp-chrome-nav a:hover, .tsp-chrome-menu a:hover, .tsp-chrome-footer a:hover { filter: brightness(115%); }

/* --- focus, forced colours, reduced motion */
/* differs: live shows the browser's default ring; this is the page's (home.css) cyan ring */
.tsp-chrome-nav :is(a, button):focus-visible,
.tsp-chrome-menu :is(a, button):focus-visible,
.tsp-chrome-footer a:focus-visible,
.tsp-chrome-skip:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
/* differs: menu titles take the ring inside (the menu clips above the first; z-index: above the next sticky title);
   a section's links take it 2px out, as a 3px ring would pass under the sticky title */
.tsp-chrome-menu .tsp-chrome-menu__title:focus-visible { outline-offset: -2px; z-index: 3; }
.tsp-chrome-menu .tsp-chrome-menu__body .tsp-chrome-menu__link:focus-visible { outline-offset: 2px; }
@media (forced-colors: active) {
  .tsp-chrome-nav__toggle span, .tsp-chrome-nav__toggle span::before, .tsp-chrome-nav__toggle span::after { background: CanvasText; }
  .tsp-chrome-nav[data-mobile-open="true"] .tsp-chrome-nav__toggle span, .tsp-chrome-nav__toggle[data-nojs="close"] span { background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .tsp-chrome-skip, .tsp-chrome-nav *, .tsp-chrome-nav *::before, .tsp-chrome-nav *::after,
  .tsp-chrome-menu, .tsp-chrome-menu *, .tsp-chrome-footer * { transition: none !important; }
  .tsp-chrome-nav__dropdown, .tsp-chrome-nav__item--open > .tsp-chrome-nav__dropdown { transform: none; }
  .tsp-chrome-nav__cta:hover, .tsp-chrome-menu__cta:hover { transform: none; }
}

/* --- chapter bar and back to top (these ship) */
/* The owner, 2026-11-27 14:22: homepage parts, not the theme's; port them with the homepage (README.md, "Chapter bar
   and back to top"). Over the hero the bar waits behind the header; focus inside brings it out. */
.th-chap {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 998; height: var(--bar-h);
  background: rgba(6, 11, 24, .9); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 1px 0 var(--line); opacity: 0; transform: translateY(-100%); pointer-events: none;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.th-chap.is-on, .th-chap:focus-within { opacity: 1; transform: none; pointer-events: auto; }
.th-chap__row { box-sizing: border-box; display: flex; height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 calc(var(--gutter) - 12px); overflow: auto hidden; scrollbar-width: none; }
.th-chap__row::-webkit-scrollbar { display: none; }
.th-chap a { flex: none; display: flex; align-items: center; padding: 0 12px; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); text-decoration: none; transition: color .2s, box-shadow .2s; }
.th-chap a:hover, .th-chap a[aria-current] { color: var(--text); }
.th-chap a[aria-current] { box-shadow: inset 0 -2px var(--cyan); }
.th-chap a:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
/* the page's progress: the thread's gradient, uncovered from the left (--p, 0 to 1) */
.th-chap__line { position: absolute; left: 0; right: 0; top: 100%; height: 2px; background: var(--grad); clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); }
#tiers { scroll-margin-top: 32px; }   /* the Engage chapter lands with room above its heading */
/* back to top: in a zero-height sticky dock, the last child of <main>, so it stops above the footer */
.th-top-dock { position: sticky; bottom: 0; z-index: 990; height: 0; }
.th-top {
  position: absolute; right: max(16px, calc(env(safe-area-inset-right, 0px) + 8px)); bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  box-sizing: border-box; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text);
  background: rgba(10, 17, 36, .92); border: 1px solid var(--line-2);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility 0s .2s, border-color .2s;
}
.th-top.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, border-color .2s; }
.th-top:hover { border-color: var(--text-3); }
.th-top:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.th-hero__h1[tabindex="-1"]:focus { outline: none; }   /* where back to top leaves focus: a heading, not a control */
.th-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* touch screens: higher, clear of a home indicator even where the browser reports no inset */
@media (pointer: coarse) { .th-top { bottom: max(28px, calc(env(safe-area-inset-bottom, 0px) + 12px)); } }
@media (prefers-reduced-motion: reduce) { .th-chap, .th-chap a, .th-top, .th-top.is-on { transition: none; } .th-top { transform: none; } }
@media (forced-colors: active) { .th-chap__line { background: CanvasText; } .th-chap a[aria-current] { text-decoration: underline; } }
