/* =========================================================================
   TTM SITE NEXT — design system
   Traditional-website redesign of totaltalentmindset.com (sandbox build).

   Conventions every page follows (set here, copied everywhere):
   - Tokens live on :root; themes switch on html[data-theme="dark"|"light"].
   - Layout: .wrap (max 1180px, fluid gutters) inside .band sections.
   - Type: .display (H1), .h2, .eyebrow, .lede, .grad-text (brand signature).
   - Components: .btn / .btn-primary / .btn-ghost,
     .card (with --accent), .panel, .site-nav, .site-foot,
     .phase-arc, .stats-trio, .vs-table, .closing-scene, [data-reveal] motion.
   - Mona Sans only. Brand colors only. Dark first; light fully designed.
   ========================================================================= */

/* ------------------------------- tokens -------------------------------- */
:root {
  --blue: #2575FC;
  --green: #81F47B;
  --cyan: #0097CF;
  --grad: linear-gradient(90deg, #81F47B, #0097CF, #2575FC);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --band-gap: clamp(96px, 14vh, 160px);
  --radius-card: 14px;
  --radius-panel: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Mona Sans", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07080A;
  --surface: #0D1117;
  --surface-2: #11161D;
  --hair: rgba(255, 255, 255, .08);
  --hair-strong: rgba(255, 255, 255, .16);
  --ink: #F2F5F7;
  --muted: #9AA6B2;
  --faint: #7C8794;
  --on-grad: #04121F;
  --card-shadow: 0 18px 44px -22px rgba(0, 0, 0, .55);
  --btn-shadow: 0 10px 30px -10px rgba(0, 151, 207, .45);
  --band-tint: rgba(13, 17, 23, .66);
  --nav-bg: rgba(7, 8, 10, .78);
  /* brand-tinted ink for statement text (learn page), AA on --bg */
  --ink-green: #81F47B;
  --ink-cyan: #4FC6EF;
}

html[data-theme="light"] {
  color-scheme: light;
  /* brand-tinted ink, darkened for AA contrast on the light bg */
  --ink-green: #157A33;
  --ink-cyan: #0078A8;
  --bg: #F7F9FB;
  --surface: #FFFFFF;
  --surface-2: #EFF3F7;
  --hair: rgba(7, 8, 10, .10);
  --hair-strong: rgba(7, 8, 10, .18);
  --ink: #0B1220;
  --muted: #4A5568;
  --faint: #5B6673;
  --on-grad: #04121F;
  --card-shadow: 0 18px 44px -26px rgba(11, 18, 32, .28);
  --btn-shadow: 0 10px 26px -12px rgba(0, 151, 207, .5);
  --band-tint: rgba(247, 249, 251, .78);
  --nav-bg: rgba(247, 249, 251, .82);
}

/* ------------------------------- base ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a { color: inherit; }

::selection { background: rgba(0, 151, 207, .32); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; border-radius: 999px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--hair-strong);
  text-decoration: none; font-size: 14px; font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* The ambient canvas sits behind everything; content rides above it. */
#ambient {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.site-nav, .page, .site-foot { position: relative; z-index: 1; }

/* ------------------------------- layout -------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band-gap); }

/* translucent bands let the ambient field breathe through */
.band-tint { background: var(--band-tint); }
.band-line { border-top: 1px solid var(--hair); }

/* ---------------------------- typography ------------------------------- */
.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  font-weight: 200;
  letter-spacing: -.015em;
  margin: 0;
}

.h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 200;
  letter-spacing: -.01em;
  margin: 0;
}

.h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.3;
  font-weight: 600;
  margin: 0;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
  margin: 22px 0 0;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.body-copy { color: var(--muted); margin: 0; }
.body-copy strong { color: var(--ink); font-weight: 600; }

.caption {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--faint);
  margin: 0;
}

.band-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.band-head.center { margin-inline: auto; text-align: center; }
.band-head.center .lede { margin-inline: auto; }

/* inline link (body copy) */
.inline-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--cyan) 60%, transparent);
  text-underline-offset: 4px;
  transition: text-decoration-color .3s var(--ease), color .3s var(--ease);
}
.inline-link:hover { text-decoration-color: var(--cyan); }

/* ------------------------------- buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease), background-color .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  color: var(--on-grad);
}
.btn-primary:hover { box-shadow: var(--btn-shadow); }

.btn-ghost {
  border-color: var(--hair-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: color-mix(in srgb, var(--cyan) 55%, transparent); }

.btn .arr { font-weight: 400; }

/* -------------------------------- nav ---------------------------------- */
.progress-line {
  position: fixed; top: 0; left: 0; right: 0;
  height: 1px; z-index: 120;
  pointer-events: none;
}
.progress-line span {
  display: block; height: 100%;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 110;
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease);
}
.site-nav.scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hair);
}

.nav-inner {
  display: flex; align-items: center; gap: 22px;
  min-height: 72px;
}

.nav-brand {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: .01em;
  color: var(--ink);
}
.nav-brand img { width: 30px; height: 29px; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14.5px;
  color: var(--muted);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { min-height: 44px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
.nav-brand span { white-space: nowrap; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.theme-toggle:hover { border-color: var(--hair-strong); transform: rotate(15deg); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* mobile drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 105;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: calc(72px + 24px) var(--gutter) 40px;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              visibility 0s linear .35s;
}
.nav-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.nav-drawer a {
  display: flex; align-items: center;
  min-height: 52px;
  padding: 0 6px;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}
.nav-drawer a[aria-current="page"] { font-weight: 700; }
.nav-drawer .drawer-actions {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 26px;
  border: 0;
}
.nav-drawer .drawer-actions a { border: 0; }
/* ------------------------------- hero ---------------------------------- */
/* Announcement strip (home only); collapses into the fixed navigation once
   the page is scrolled. */
.announce {
  overflow: hidden;
  max-height: 48px;
  border-bottom: 1px solid var(--hair);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  transition: max-height .45s var(--ease), opacity .35s var(--ease),
              border-color .35s var(--ease);
}
.site-nav.scrolled .announce { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.announce-inner { padding-block: 9px; }
.announce-inner p {
  margin: 0; text-align: center;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.announce-inner a {
  color: var(--ink-cyan); font-weight: 600; margin-left: 12px;
  text-decoration: none; white-space: nowrap;
}
.announce-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .announce { display: none; } }

.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: clamp(150px, 20vh, 190px);
  padding-bottom: clamp(64px, 10vh, 110px);
  overflow: clip;
}
.hero-inner {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  will-change: transform, opacity;
}
.hero-sub {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
  margin: 26px auto 0;
}
.hero-doors {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 40px;
  justify-content: center;
}

/* floating product card: real Mindset HQ capture framed in workspace chrome */
.hero-card { margin: clamp(44px, 7vh, 72px) auto 0; max-width: 660px; }
.hero-card-parallax { will-change: transform; }
.browser-card {
  border-radius: 18px;
  border: 1px solid var(--hair);
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 90px rgba(37, 117, 252, .16);
  overflow: hidden;
  animation: card-float 7.5s var(--ease) infinite alternate;
}
html[data-theme="light"] .browser-card {
  box-shadow: 0 30px 70px rgba(8, 30, 40, .22), 0 0 70px rgba(37, 117, 252, .14);
}
@keyframes card-float {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}
.browser-card img { width: 100%; }

/* shared workspace chrome bar (hero card + phase card): dots, title, live */
.chrome-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--hair);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
}
.chrome-bar .bd { flex: none; width: 10px; height: 10px; border-radius: 999px; background: var(--hair-strong); }
.chrome-bar .bd.b1 { background: rgba(37, 117, 252, .55); }
.chrome-bar .bd.b2 { background: rgba(0, 151, 207, .55); }
.chrome-bar .bd.b3 { background: rgba(129, 244, 123, .55); }
.chrome-title {
  margin: 0 0 0 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.live-dot {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-green);
}
.live-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(129, 244, 123, .8);
}

/* ------------------------------- cards --------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  --accent: var(--cyan);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform .4s var(--ease), border-color .4s var(--ease),
              box-shadow .4s var(--ease);
}
.card:hover, .card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 18px 44px -22px color-mix(in srgb, var(--accent) 35%, transparent);
}
.card .h3 { margin-bottom: 8px; }
.card-kicker {
  display: block;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}
.card .body-copy { font-size: 15.5px; }
.card-sub {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  margin: 0 0 14px;
}

/* tick list (ported detail-panel lists) */
.tick-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.tick-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.tick-list li::before {
  content: "";
  position: absolute; left: 2px; top: 8px;
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--grad);
}

.panel {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--hair);
  border-radius: var(--radius-panel);
  padding: clamp(28px, 4vw, 48px);
}

/* ------------------------------- overview ------------------------------ */
.what-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.what-mark {
  position: relative;
  width: 92px; height: 88px;
}
.what-mark img { width: 92px; height: 88px; position: relative; z-index: 1; }
.what-mark::before {
  content: "";
  position: absolute; inset: -40%;
  background: radial-gradient(closest-side, rgba(129, 244, 123, .22), transparent 70%);
}
.what-copy p { margin: 0 0 14px; font-size: 16.5px; color: var(--muted); }
.what-copy p:last-child { margin-bottom: 0; }
.what-copy strong { color: var(--ink); font-weight: 600; }

.result-line {
  margin-top: clamp(40px, 6vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--hair);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink);
  font-weight: 500;
  max-width: 62ch;
}

/* ------------------- phase arc (support pillars, S5) -------------------
   Scroll-advanced arc with the simulated agent chat card (home-phase-arc
   pass). site.js reacts to the band's position in the viewport (never
   hijacks scroll): the active .phase-item gets .is-active, the connector
   fills via --phase-p on [data-phase-arc], and [data-phase-card] swaps to
   the matching .chat-exchange[data-chat-for]. The .phase-arc-live class
   gates every JS-driven visual so no-JS, reduced-motion and small screens
   all render the same fully readable static list + phase 01 card.    */
.phase-arc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}
.phase-list { list-style: none; margin: 0; padding: 0; position: relative; }
.phase-list::before {
  content: "";
  position: absolute;
  left: 25px; top: 34px; bottom: 34px;
  border-left: 2px dotted color-mix(in srgb, var(--muted) 40%, transparent);
}
/* connector progress: solid brand-gradient overlay on the dotted track,
   height driven by --phase-p (0..1) set from site.js; 0 by default. */
.phase-list::after {
  content: "";
  position: absolute;
  left: 25px; top: 34px;
  width: 2px;
  height: calc((100% - 68px) * var(--phase-p, 0));
  background: linear-gradient(180deg, var(--green), var(--cyan), var(--blue));
  border-radius: 2px;
  transition: height .55s var(--ease);
}
.phase-item {
  position: relative;
  display: flex; gap: 22px; align-items: flex-start;
  padding: 18px 0;
}
.phase-num {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  background: var(--bg);
  font-size: 15px; font-weight: 700; letter-spacing: .06em;
  color: var(--muted);
  transition: border-color .3s var(--ease), color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.phase-item.is-active .phase-num {
  color: var(--ink);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 151, 207, .35);
}
/* scroll choreography state: inactive phases recede, active one leads.
   Only applied while JS enhancement is live, so static renders never dim. */
.phase-arc-live .phase-item { transition: opacity .45s var(--ease); }
.phase-arc-live .phase-item:not(.is-active) { opacity: .45; }
.phase-arc-live .phase-item.is-active .h3 { color: var(--ink); }
.phase-copy .h3 { margin-bottom: 6px; }
.phase-sub { margin: 0; color: var(--muted); font-size: 15px; max-width: 44ch; }

.phase-card {
  border: 1px solid var(--hair);
  border-radius: var(--radius-panel);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.phase-card-body { padding: 26px 28px 30px; }
.phase-card-kicker {
  margin: 0 0 18px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.phase-card .cadence-rail { margin-bottom: 18px; }
.phase-card-note { margin: 0; color: var(--muted); font-size: 15px; }
.phase-chat .phase-card-note { margin-top: 20px; font-size: 13.5px; }

/* simulated chat tag in the chrome bar (honest label, no fake "live") */
.chrome-dots { display: inline-flex; gap: 10px; }
.sim-tag {
  margin-left: auto;
  padding: 4px 11px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}

/* chat thread: one .chat-exchange per phase; JS toggles [hidden] + .chat-enter */
.chat-thread { display: grid; }
.chat-exchange { display: grid; gap: 12px; }
.chat-exchange[hidden] { display: none; }
.chat-msg {
  margin: 0;
  max-width: 92%;
  padding: 12px 16px 13px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.55;
}
.chat-who {
  display: block;
  margin-bottom: 5px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.chat-user {
  justify-self: end;
  background: color-mix(in srgb, var(--blue) 16%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--blue) 38%, transparent);
  color: var(--ink);
}
.chat-user .chat-who { color: var(--ink-cyan); }
.chat-agent {
  justify-self: start;
  background: color-mix(in srgb, var(--surface-2) 88%, transparent);
  border: 1px solid var(--hair);
  color: var(--ink);
}
.chat-agent .chat-who { color: var(--ink-green); }

/* swap transition: transform/opacity only, no layout shift (fixed thread
   height comes from the grid, bubbles never resize the card mid-swap). */
@keyframes chat-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.chat-enter { animation: chat-in .45s var(--ease) both; }

/* --------------------- stats trio (outcomes, S6) -----------------------
   Sherpa-style: small-caps metric label, big display word, one supporting
   line. Words and lines are sourced from the outcomes inventory.      */
.stats-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--hair);
}
.stat { padding: clamp(34px, 5vh, 56px) clamp(20px, 3vw, 44px); text-align: center; }
.stat + .stat { border-left: 1px solid var(--hair); }
.stat::before {
  content: "";
  display: block;
  width: 26px; height: 3px;
  margin: 0 auto 20px;
  border-radius: 2px;
  background: var(--grad);
}
.stat-label {
  display: block;
  font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.stat-word {
  display: block;
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  font-weight: 200; letter-spacing: -.02em; line-height: 1.05;
  margin-bottom: 14px;
}
.stat-line { margin: 0 auto; color: var(--muted); font-size: 15px; max-width: 30ch; }

/* ------------------- platform glass cards (S7) -------------------------
   The five workspace capabilities as dark glass over the dot field.    */
.card.glass {
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.card.glass .glass-line { margin: 0; color: var(--muted); font-size: 15px; }

/* band-level path to depth (D28): one obvious click onward per band */
.card-wide { grid-column: 1 / -1; }
.band-link-row { margin-top: 34px; }
.band-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  text-decoration: none;
}
.band-link .arr { color: var(--ink-cyan); transition: transform .25s var(--ease); }
.band-link:hover { color: var(--ink-cyan); }
.band-link:hover .arr { transform: translateX(4px); }
.beats {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 18px 0 0;
}
.beats li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  font-size: 13px; font-weight: 600;
  color: var(--ink);
}

/* ------------------------------ partners ------------------------------- */
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.badge-pill::before {
  content: "";
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 22%, transparent);
}

.lane {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(14px, 2.5vw, 26px);
  align-items: center;
  margin: clamp(36px, 5vw, 56px) 0;
}
.lane-mid {
  align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(12px, 2vw, 24px);
  border-inline: 1px solid var(--hair);
}
.lane-mid span {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
  writing-mode: vertical-rl;
}
.lane-end {
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 30px);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
}
.lane-end .h3 { font-size: 1.05rem; margin-bottom: 6px; }
.lane-end p { margin: 0; color: var(--muted); font-size: 14.5px; }
.lane-end img { width: 44px; height: 42px; margin-bottom: 14px; }

/* ------------------- comparison table (S8) -----------------------------
   Tool-only platforms vs Mindset HQ + TTM managed service. Alternating
   tinted rows; the "us" column header carries brand green. On narrow
   screens the table stacks into per-row cards with data-col labels.   */
.vs-wrap {
  border: 1px solid var(--hair);
  border-radius: var(--radius-panel);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  overflow: hidden;
}
.vs-table { width: 100%; border-collapse: collapse; }
.vs-table th, .vs-table td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
}
.vs-table thead th {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding-block: 18px;
  border-bottom: 1px solid var(--hair);
}
.vs-table thead .vs-them { color: var(--muted); }
.vs-table thead .vs-us { color: var(--ink-green); }
.vs-table tbody th[scope="row"] {
  width: 150px;
  padding-top: 24px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.vs-table tbody tr:nth-child(odd) { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.vs-table td.vs-them { width: 37%; color: var(--muted); }
.vs-table td.vs-us { width: 41%; }
.vs-mark {
  display: inline-block;
  width: 16px; height: 16px;
  margin-right: 9px;
  vertical-align: -3px;
}
.vs-them .vs-mark { color: var(--faint); }
.vs-us .vs-mark { color: var(--ink-green); }
@media (max-width: 760px) {
  .vs-table thead { display: none; }
  .vs-table, .vs-table tbody, .vs-table tr, .vs-table th, .vs-table td { display: block; width: 100%; }
  .vs-table tbody tr { padding: 20px 22px; }
  .vs-table tbody tr + tr { border-top: 1px solid var(--hair); }
  .vs-table tbody th[scope="row"] { width: 100%; padding: 0 0 12px; }
  .vs-table td { padding: 8px 0; }
  .vs-table td::before {
    content: attr(data-col);
    display: block;
    font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .vs-table td.vs-us::before { color: var(--ink-green); }
}

/* ------------------- closing scene (S9) --------------------------------
   Full-bleed constellation scene: the fixed ambient canvas shows through
   (no band background) under a brand-gradient glow. No photography.    */
.closing-scene {
  position: relative;
  overflow: clip;
  padding-block: clamp(120px, 20vh, 200px);
  text-align: center;
}
.closing-scene::before {
  content: "";
  position: absolute; inset: -10% -20%;
  background:
    radial-gradient(ellipse 52% 46% at 50% 62%, rgba(37, 117, 252, .22), transparent 65%),
    radial-gradient(ellipse 34% 30% at 30% 40%, rgba(0, 151, 207, .16), transparent 70%),
    radial-gradient(ellipse 34% 30% at 70% 44%, rgba(129, 244, 123, .13), transparent 70%);
  pointer-events: none;
}
html[data-theme="light"] .closing-scene::before {
  background:
    radial-gradient(ellipse 52% 46% at 50% 62%, rgba(37, 117, 252, .16), transparent 65%),
    radial-gradient(ellipse 34% 30% at 30% 40%, rgba(0, 151, 207, .12), transparent 70%),
    radial-gradient(ellipse 34% 30% at 70% 44%, rgba(129, 244, 123, .14), transparent 70%);
}
.closing-inner { position: relative; max-width: 780px; margin-inline: auto; }
.closing-inner .lede { margin: 22px auto 34px; }
.closing-core { position: relative; width: 96px; height: 92px; margin: 0 auto 30px; }
.closing-core::before {
  content: "";
  position: absolute; inset: -46%;
  background: radial-gradient(closest-side, rgba(0, 151, 207, .30), transparent 72%);
  filter: blur(6px);
}
.closing-core img { position: relative; z-index: 1; width: 96px; height: 92px; }

/* --------------------------- alternative band -------------------------- */
.alt-band .panel {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  background:
    radial-gradient(120% 160% at 50% -40%, rgba(0, 151, 207, .10), transparent 60%),
    color-mix(in srgb, var(--surface) 88%, transparent);
}
.alt-band .h2 { margin-bottom: 18px; }
.alt-band .body-copy { max-width: 46ch; margin: 0 auto 30px; font-size: 16.5px; }

/* ------------------------------ CTA band ------------------------------- */
.cta-band .panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(130% 170% at 50% -50%, rgba(37, 117, 252, .14), transparent 62%),
    color-mix(in srgb, var(--surface) 90%, transparent);
}
.cta-band .h2 { max-width: 16ch; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; }
.assurances {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 34px;
  padding: 0; margin: 34px auto 40px;
  max-width: 760px;
}
.assurances li {
  display: flex; align-items: baseline; gap: 10px;
  color: var(--muted);
  font-size: 15px;
  text-align: left;
}
.assurances li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 20%, transparent);
  transform: translateY(-1px);
}

/* -------------------- platform page components -------------------------
   Added for platform.html (workspace surface, pillars, agent org board,
   security crest). All colors come from theme tokens; nothing hardcoded.
   ---------------------------------------------------------------------- */

/* shorter hero for interior pages (page H1, no 100svh stage) */
.page-hero {
  padding-top: clamp(150px, 22vh, 210px);
  padding-bottom: clamp(48px, 8vh, 88px);
}
.page-hero .hero-sub { max-width: 52ch; }

/* card icon chip: inherits the card --accent through currentColor */
.ci {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--hair));
  color: var(--accent);
  margin-bottom: 18px;
}
.ci svg { width: 24px; height: 24px; }

/* workspace surface decorative tiles */
.beats { margin-top: 0; margin-bottom: 18px; }
.run-rows {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: grid; gap: 8px;
}
.run-rows li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink);
}
.run-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.run-tag.running { color: var(--green); }
.run-tag.queued { color: var(--muted); }

.mini-bars {
  display: flex; align-items: flex-end; gap: 7px;
  height: 56px;
  margin-bottom: 12px;
}
.mini-bars span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: var(--grad);
  opacity: .75;
}
.mini-cap { margin: 0 0 18px; }

.avatars {
  list-style: none; margin: 0 0 12px; padding: 0;
  display: flex;
}
.avatars li {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 2px solid var(--bg);
  background: color-mix(in srgb, var(--accent) 20%, var(--surface-2));
  color: var(--ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
}
.avatars li + li { margin-left: -10px; }

.spines {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.spines li {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--hair-strong);
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--surface-2) 70%, transparent);
  font-size: 13px; font-weight: 600;
  color: var(--ink);
}

/* hub intro panel: points sit under the mark+copy grid */
.what-points { grid-column: 1 / -1; margin-top: 8px; }

/* monthly cadence rail (support pillars) */
.cadence {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 14px 22px;
  padding: 22px 26px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}
.cadence-rail {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.cadence-rail li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  font-size: 13px; font-weight: 600;
  color: var(--ink);
}
.cadence-rail li + li::before {
  content: "";
  display: inline-block;
  width: 16px; height: 1px;
  background: var(--grad);
  margin-right: 8px;
  vertical-align: middle;
}
.cadence .caption { margin-left: auto; }

/* agent org board */
.org-apex {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
  max-width: 880px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  border-color: color-mix(in srgb, var(--cyan) 34%, var(--hair));
}
.org-apex img { width: 60px; height: 57px; }
.org-apex .h3 { margin-bottom: 8px; }
.org-apex .body-copy { margin-bottom: 14px; }
.org-flag {
  position: absolute; top: 22px; right: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--green) 45%, transparent);
  color: var(--green);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
}

.org-lanes { display: grid; gap: clamp(28px, 4vw, 44px); }
.org-lane {
  border: 1px solid var(--hair);
  border-radius: var(--radius-panel);
  padding: clamp(24px, 3.5vw, 40px);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}
.org-lane-head {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 14px;
}
.org-role { color: var(--muted); font-size: 14px; }
.org-lane > .body-copy { font-size: 15.5px; margin-bottom: 6px; }

.org-agents {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.agent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}
.agent-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--on-grad);
  font-size: 15px; font-weight: 700;
}
.agent-name {
  margin: 0 0 2px;
  font-size: 16px; font-weight: 700;
}
.agent-fn {
  margin: 0 0 10px;
  font-size: 13.5px; font-weight: 600;
  color: var(--cyan);
}
.agent-meta {
  margin: 0 0 10px;
  font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}
.agent-desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}
.agent-handoff {
  margin: 14px 0 0;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--faint);
}
/* security crest */
.sec-crest {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.sec-crest-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, var(--hair));
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--cyan);
  margin-bottom: 18px;
  box-shadow: 0 18px 44px -22px rgba(0, 151, 207, .4);
}
.sec-crest-icon svg { width: 44px; height: 44px; }
.sec-crest-tag {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
}

/* ---------------------- about page components --------------------------
   Added for about.html (text-led prose bands, mission/vision cards,
   founder panel with portrait, closing statement). All colors come from
   theme tokens; nothing hardcoded.
   ---------------------------------------------------------------------- */

/* prose paragraphs for text-led sections (Where we started, How we work,
   founder bio) */
.prose p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 68ch;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

/* founder: bio copy and portrait side by side, stacks on mobile */
.founder-panel {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.founder-role {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
}
.founder-portrait { margin: 0; }
.founder-portrait img {
  width: 100%;
  border-radius: var(--radius-panel);
  border: 1px solid var(--hair-strong);
  box-shadow: var(--card-shadow);
}
.founder-portrait figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--faint);
}

/* closing statement: the page's last word, centered and quiet */
.closing-belief {
  max-width: 58ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.5;
  font-weight: 300;
  color: var(--ink);
}

/* ----------------------- learn page components -------------------------
   Added for learn.html (self-guided primer: table of contents, key
   statements, chip lists, anatomy boxes, equation rows, callout).
   All colors come from theme tokens; nothing hardcoded. The #ef4444 red
   on the source's "Poor results" equation term is replaced with muted ink,
   styled italic (D19) - no new color enters the palette.
   ---------------------------------------------------------------------- */

/* anchored sections clear the sticky nav when jumped to from the TOC */
.band[id] { scroll-margin-top: 96px; }

/* tinted text utilities (theme-aware tokens, AA in both themes) */
.ink-green { color: var(--ink-green); }
.ink-cyan { color: var(--ink-cyan); }

/* the primer's recurring green key statement */
.learn-statement {
  color: var(--ink-green);
  font-weight: 700;
  font-size: 17.5px;
  margin: 0 0 24px;
}
.learn-statement:last-child { margin-bottom: 0; }

/* table of contents: plain anchor list, dashed hairlines like the source */
.toc {
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 640px;
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; }
.toc a {
  display: flex; align-items: center;
  min-height: 44px;
  padding: 8px 2px;
  border-bottom: 1px dashed var(--hair);
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.toc li:last-child a { border-bottom: 0; }
.toc a:hover { color: var(--ink); padding-left: 8px; }

/* chip list: short item sets (the new-hire needs) */
.chip-list {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.chip-list li {
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 18px;
}

/* anatomy boxes: component name over its one-line role */
.anatomy-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 0 0 18px;
}
.abox {
  flex: 1 1 150px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  padding: 18px;
  text-align: center;
}
.abox strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.abox span { font-size: 13px; color: var(--muted); }

/* context bar: the dashed pill that sits under the anatomy boxes */
.ctxbar {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-cyan);
  border: 1px dashed var(--hair-strong);
  border-radius: 999px;
  padding: 10px 18px;
}

/* equation rows ("Poor context + Great AI = Poor results", "Agent =") */
.learn-eq {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 4px 12px;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 600;
  margin: 26px 0;
  text-align: center;
}
.learn-eq .eq-op { color: var(--faint); font-weight: 400; }
/* D19: the source's out-of-palette red becomes muted ink, italic */
.learn-eq .eq-bad { color: var(--muted); font-style: italic; }
.learn-eq-label {
  color: var(--ink-cyan);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 22px);
  margin: 0 0 16px;
}

/* callout: the takeaway panel with a gradient leading edge */
.learn-callout { position: relative; margin: 0 0 24px; }
.learn-callout::before {
  content: "";
  position: absolute; left: -1px; top: 26px; bottom: 26px;
  width: 3px; border-radius: 3px;
  background: var(--grad);
}
.learn-callout p { margin: 0; font-size: 17px; color: var(--ink); font-weight: 500; }

/* closing action row */
.learn-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------------------- contact page components -------------------------
   Added for contact.html (two-path cards, the mailto-only booking slot
   picker, the contact form). The picker ports the lab booking.js slot math
   verbatim (ET windows 7-10am / 3-6pm, 5 business days, 2h lead); form
   submissions POST to the production contact endpoint and no inbox address
   is exposed anywhere on the page. All colors come from theme tokens;
   nothing hardcoded.
   ---------------------------------------------------------------------- */

/* the two paths (book / message), side by side, equal height */
.path-card { display: flex; flex-direction: column; }
.path-card .h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 300; letter-spacing: -.01em; }
.path-card .body-copy { flex: 1; font-size: 16px; }
.path-card .btn { margin-top: 26px; align-self: flex-start; }

/* shared form fields (booking request + contact message) */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field-span { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 8px;
}
.field .opt { font-weight: 400; color: var(--faint); }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font); font-size: 15.5px; line-height: 1.5;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  border: 1px solid var(--hair-strong);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 22%, transparent);
}
.form-actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
}
.form-status { margin: 0; font-size: 14.5px; color: var(--muted); }
.form-status[data-state="ok"] { color: var(--ink-green); }
.form-status[data-state="err"] { color: var(--ink); font-weight: 600; }
.form-note { margin: 18px 0 0; font-size: 14px; color: var(--faint); max-width: 62ch; }

/* booking steps: numbered heads, day chips, slot grid */
.book-steps { display: grid; gap: 30px; margin-bottom: 6px; }
.step-head {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--grad);
  color: var(--on-grad);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0;
}
.tz-note { font-weight: 400; text-transform: none; letter-spacing: .02em; color: var(--faint); }

.day-row { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-day, .bk-slot {
  font-family: var(--font); font-size: 14.5px; font-weight: 600;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s var(--ease),
              background-color .3s var(--ease);
}
.bk-day:hover, .bk-slot:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--cyan) 55%, transparent);
}
.bk-day.active, .bk-slot.active {
  background: var(--grad);
  border-color: transparent;
  color: var(--on-grad);
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
}
.bk-slot { padding: 0 12px; text-align: center; }
.bk-chosen { margin: 16px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.bk-chosen:empty { margin: 0; }
.bk-empty { margin: 0; font-size: 15px; color: var(--muted); }

/* booking request form reveals once a slot is picked */
.book-form { border-top: 1px solid var(--hair); padding-top: 28px; margin-top: 30px; }

/* ------------------------------- footer -------------------------------- */
.site-foot {
  border-top: 1px solid var(--hair);
  background: var(--band-tint);
  padding: clamp(48px, 7vw, 72px) 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.foot-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.foot-brand img { width: 34px; height: 33px; }
/* full logo lockup replaces icon+wordmark in the footer */
.foot-brand .foot-logo { width: 134px; height: auto; }
.foot-brand .foot-logo-light { display: none; }
html[data-theme="light"] .foot-brand .foot-logo-dark { display: none; }
html[data-theme="light"] .foot-brand .foot-logo-light { display: block; }
.foot-col .eyebrow { margin-bottom: 14px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-links a {
  display: inline-flex; align-items: center;
  min-height: 36px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  transition: color .3s var(--ease);
}
.foot-links a:hover { color: var(--ink); }
.foot-meta {
  border-top: 1px solid var(--hair);
  padding-top: 24px;
  color: var(--faint);
  font-size: 13.5px;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  justify-content: space-between;
}
.foot-meta a { color: var(--muted); text-decoration: none; }
.foot-meta a:hover { color: var(--ink); }

/* ------------------------------- motion -------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(.98);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ----------------------------- responsive ------------------------------ */
@media (max-width: 1020px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .phase-arc { grid-template-columns: 1fr; }
  .stats-trio { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--hair); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .org-agents { grid-template-columns: 1fr; }
}

/* small screens: no scroll choreography (JS stays off under 760px). The
   card becomes a static summary: every exchange shows, stacked, each
   carrying its own phase label from data-chat-title. */
@media (max-width: 759px) {
  .chat-exchange[hidden] { display: grid; }
  .chat-exchange + .chat-exchange {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--hair);
  }
  .chat-exchange::before {
    content: attr(data-chat-title);
    font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--muted);
  }
  .phase-chat .phase-card-kicker { display: none; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { min-height: 64px; }
  .hero { padding-top: 80px; }
}

@media (max-width: 760px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .lane { grid-template-columns: 1fr; }
  .lane-mid {
    border-inline: 0; border-block: 1px solid var(--hair);
    padding: 14px 0;
  }
  .lane-mid span { writing-mode: horizontal-tb; }
  .what-panel { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-doors .btn { width: 100%; }
  .org-apex { grid-template-columns: 1fr; }
  .org-flag { position: static; justify-self: start; margin-top: 16px; }
  .cadence { flex-direction: column; align-items: flex-start; }
  .cadence .caption { margin-left: 0; }
  .founder-panel { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 320px; margin-inline: auto; }
  .learn-actions .btn { width: 100%; }
  .abox { flex-basis: calc(50% - 12px); }
  .form-grid { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .form-actions .btn { width: 100%; }
  .path-card .btn { align-self: stretch; }
}

/* --------------------- privacy page components -------------------------
   Added for privacy.html: the nine legal sections live inside ONE band
   (per-section bands would stack ~2x --band-gap of padding between short
   paragraphs, which hurts the longest legal read on the site). Hairline
   separators give scannable rhythm instead. All colors from theme tokens.
   ---------------------------------------------------------------------- */

/* Interior page heroes read as one left-aligned block. The base .hero-sub
   centres itself for the full-bleed home hero (margin-inline: auto); inside
   .page-hero that leaves the lede floating away from the H1, eyebrow and
   date, so the inline auto margins are dropped here. .page-hero is used by
   privacy.html only. */
.page-hero .hero-sub { margin-inline: 0; }

/* "Last updated" line under the hero lede */
.policy-date { margin-top: 18px; }

/* legal sections: hairline-separated rhythm inside the single band */
.legal-section + .legal-section {
  margin-top: clamp(48px, 7vh, 72px);
  padding-top: clamp(32px, 5vh, 48px);
  border-top: 1px solid var(--hair);
}
.legal-section .h2 { margin-bottom: 22px; }
.legal-section .btn { margin-top: 26px; }

/* lists inside prose (Privacy section 3) */
.prose ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 66ch;
}
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--cyan); }

/* -------------------------- reduced motion ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-inner, .hero-card-parallax { transform: none !important; opacity: 1 !important; }
  .browser-card { animation: none; }
  /* S5: chat swap collapses to an instant static change; JS never starts
     the scroll choreography under reduced motion, so this is belt+braces. */
  .chat-enter { animation: none; }
  .phase-list::after { transition: none; }
}
