/* ============================================================
   Everborn — /start funnel (F1-01/02/03/10)
   Extends site.css tokens ONLY. No new colors. Mobile-first.
   Gold = signature accent (progress fill, tile check, thin rules).
   All motion inherits site.css's prefers-reduced-motion reset.
   ============================================================ */

.funnel { display: block; }

/* ---------- Persistent chrome bar (back · progress · escape) ---------- */
/* Unified dark strip flush under the sticky site header, so header + bar read
   as one piece of chrome on the dark hero AND as a toolbar on light screens. */
.funnel-escape-bar {
  position: sticky;
  top: 67px;
  z-index: 90;
  background: var(--evergreen-deep);
  border-bottom: 1px solid var(--dark-line);
}
.funnel-escape-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: 52px;
  padding: var(--s-2) var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.funnel-back {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  background: none;
  border: 0;
  color: var(--champagne);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  padding: var(--s-2) var(--s-2) var(--s-2) 0;
  min-height: 40px;
  border-radius: var(--radius-ctl);
}
.funnel-back svg { width: 18px; height: 18px; }
.funnel-back:hover { color: var(--gold-hi); }
.funnel-back[hidden] { display: none; }

.funnel-progress { display: flex; align-items: center; gap: var(--s-4); flex: 1; min-width: 0; }
.funnel-progress[hidden] { display: none; }
.progress-count {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sage);
  white-space: nowrap;
}
.progress-track { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.progress-track .seg { display: flex; align-items: center; gap: 6px; }
.progress-track .seg i {
  width: 22px; height: 4px;
  border-radius: 2px;
  background: rgba(233, 209, 140, 0.18);
  flex: none;
  transition: background var(--t-base) var(--ease);
}
.progress-track .seg b { display: none; }
.progress-track .seg.done i { background: var(--gold); }
.progress-track .seg.now i { background: var(--gold-hi); box-shadow: 0 0 0 3px rgba(235, 185, 59, 0.18); }

.funnel-escape {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-left: auto;
  color: var(--champagne);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  padding: var(--s-2);
  min-height: 40px;
  border-radius: var(--radius-ctl);
}
.funnel-escape svg { width: 17px; height: 17px; opacity: 0.85; }
.funnel-escape:hover { color: var(--gold-hi); text-decoration: none; }

/* ---------- Intro hero (door picker) ---------- */
.funnel-intro { position: relative; }
.funnel-intro.is-hidden { display: none; }
.funnel-intro-inner {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: var(--s-16) var(--s-6) var(--s-16);
}
.funnel-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, var(--fs-2xl));
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: var(--s-5);
}
.funnel-intro .lede { margin-bottom: var(--s-10); max-width: 54ch; }

/* Door cards — light cards on the dark hero for premium contrast + affordance */
.door-grid { display: grid; gap: var(--s-4); }
.door {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-4);
  text-align: left;
  width: 100%;
  background: var(--snow);
  border: 1px solid var(--stone);
  border-radius: var(--radius-card);
  padding: var(--s-5) var(--s-5);
  cursor: pointer;
  font-family: var(--font-ui);
  box-shadow: var(--sh-1);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.door:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
  border-color: var(--gold);
}
.door-no {
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--gold-ink);
  letter-spacing: 0.08em;
  width: 30px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.door-icon {
  grid-row: 1 / span 2;
  grid-column: 1;
  display: none; /* number carries the identity on mobile; icon shows on wider screens */
}
.door-label {
  grid-column: 2;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.door-offer {
  grid-column: 2;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-ink);
  margin-top: 3px;
}
.door-go {
  grid-row: 1 / span 2;
  grid-column: 3;
  color: var(--green);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--mist);
  transition: background var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.door-go svg { width: 20px; height: 20px; }
.door:hover .door-go { background: var(--green); color: var(--white); transform: translateX(2px); }

.funnel-reassure { margin-top: var(--s-10); font-size: var(--fs-sm); }
.funnel-noscript {
  margin-top: var(--s-6);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-ctl);
  color: var(--dark-body);
  font-size: var(--fs-sm);
}
.funnel-noscript a { color: var(--champagne); }

/* ---------- Working screens (questions / preview / form / done) ---------- */
.funnel-stage { display: block; background: var(--offwhite); }
.funnel-stage[hidden] { display: none; }
.fscreen {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--s-12) var(--s-6) var(--s-20);
}
.fscreen-head { margin-bottom: var(--s-8); }
.fscreen-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, var(--fs-xl));
  letter-spacing: 0.015em;
  max-width: 22ch;
}
.fscreen-head h2:focus-visible { outline: none; }
.fscreen-head .lede { font-size: var(--fs-base); max-width: 54ch; }
.fscreen-body { margin-bottom: var(--s-8); }
.fscreen-foot { display: block; }

/* ---------- Tiles (Q1–Q4) ---------- */
.tile-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
.tile {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: var(--s-4);
  text-align: left;
  background: var(--snow);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-ctl);
  padding: var(--s-4) var(--s-5);
  min-height: 56px;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.tile:hover { border-color: var(--sage); transform: translateY(-1px); box-shadow: var(--sh-1); }
.tile-check {
  grid-row: 1 / span 2;
  width: 24px; height: 24px;
  border-radius: 7px;
  border: 1.5px solid var(--stone);
  display: grid;
  place-items: center;
  color: transparent;
  background: var(--white);
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
  margin-top: 1px;
}
.tile-grid:not(.is-multi) .tile-check { border-radius: 50%; }
.tile-check svg { width: 15px; height: 15px; }
.tile-label { font-size: var(--fs-base); font-weight: 600; color: var(--ink); line-height: 1.3; }
.tile-hint { grid-column: 2; font-size: var(--fs-sm); color: var(--slate); margin-top: 2px; line-height: 1.35; }
.tile.is-on {
  border-color: var(--green);
  background: var(--mist);
  box-shadow: 0 0 0 1px var(--green);
}
.tile.is-on .tile-check { background: var(--green); border-color: var(--green); color: var(--white); }

/* Freetext + fields */
.freetext-wrap { margin-top: var(--s-5); }
.field-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.field-opt, .req-star { font-weight: 500; }
.field-opt { color: var(--slate); font-size: var(--fs-xs); letter-spacing: 0.02em; }
.req-star { color: var(--gold-ink); }
.field {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 16px; /* prevents iOS zoom */
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-ctl);
  padding: 12px var(--s-4);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
textarea.field { line-height: 1.5; resize: vertical; min-height: 64px; }
.field:focus { outline: none; border-color: var(--green); box-shadow: var(--focus-ring, 0 0 0 3px rgba(30,107,74,.18)); }

.pick-note { font-size: var(--fs-sm); margin-bottom: var(--s-5); }
.foot-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.foot-row .btn { flex: 1 1 auto; }
.fscreen-foot .btn-primary[disabled] { opacity: 0.45; cursor: not-allowed; }
.fscreen-foot .btn-primary[disabled]:hover { transform: none; background: var(--green); box-shadow: var(--sh-1); }

/* ============================================================
   Mock component library (roadmap §2) — every visual carries the
   "sample configuration — synthetic data" label.
   ============================================================ */
.bundle-frame { margin-bottom: var(--s-8); }
.bundle-frame p { max-width: 60ch; }
.mock {
  margin: 0;
  background: var(--snow);
  border: 1px solid var(--stone);
  border-radius: var(--radius-card);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.mock-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5) var(--s-3);
  border-bottom: 1px solid var(--stone);
  background: var(--white);
}
.mock-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--mist);
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
  margin-left: auto; /* always pin the synthetic-data tag to the right */
}
.mock-body { padding: var(--s-5); }

/* ============================================================
   THE RECOGNITION BEAT — "here's what I heard"
   ============================================================ */
.heard-list { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: var(--s-3); }
.heard-row {
  display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: var(--s-4);
  background: var(--snow); border: 1px solid var(--stone); border-left: 3px solid var(--gold);
  border-radius: var(--radius-ctl); padding: var(--s-4) var(--s-5);
  box-shadow: var(--sh-1);
  opacity: 0; transform: translateY(6px);
  animation: heardIn 0.42s var(--ease) forwards;
}
.heard-row:nth-child(2) { animation-delay: 0.07s; }
.heard-row:nth-child(3) { animation-delay: 0.14s; }
.heard-row:nth-child(4) { animation-delay: 0.21s; }
.heard-row:nth-child(5) { animation-delay: 0.28s; }
.heard-row:nth-child(n+6) { animation-delay: 0.34s; }
@keyframes heardIn { to { opacity: 1; transform: none; } }
.heard-ic { width: 40px; height: 40px; border-radius: var(--radius-ctl); background: var(--mist); color: var(--green); display: grid; place-items: center; }
.heard-ic svg { width: 22px; height: 22px; }
.heard-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.heard-t b { font-size: var(--fs-base); font-weight: 600; color: var(--ink); }
.heard-t em { font-style: normal; font-size: var(--fs-sm); color: var(--slate); margin-top: 1px; }
.heard-note { font-size: var(--fs-base); color: var(--slate); max-width: 52ch; }

/* ============================================================
   TOPIC CHAPTERS — one titled screen per friction
   ============================================================ */
.fscreen-topic .fscreen-head { margin-bottom: var(--s-7); }
.topic-id { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.topic-ic { width: 40px; height: 40px; border-radius: var(--radius-ctl); background: var(--evergreen); color: var(--champagne); display: grid; place-items: center; box-shadow: var(--sh-1); }
.topic-ic svg { width: 22px; height: 22px; }
.topic-eyebrow {
  font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; color: var(--ink);
  letter-spacing: 0.01em; outline: none;
}
.topic-chapter {
  margin-left: auto; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--sage-ink); white-space: nowrap;
}
.topic-empathy { font-size: var(--fs-md); color: #3A4038; max-width: 46ch; line-height: 1.5; }
.topic-qs { display: grid; gap: var(--s-7); }
.qblock-q { font-size: var(--fs-base); font-weight: 600; color: var(--ink); margin-bottom: var(--s-3); }
.qblock-sub { display: block; font-weight: 400; font-size: var(--fs-sm); color: var(--slate); margin-top: 2px; }

/* ============================================================
   THE COMMAND CENTER — one assembled product window
   ============================================================ */
.cc {
  border: 1px solid var(--stone); border-radius: var(--radius-card); overflow: hidden;
  background: var(--snow);
  /* layered shadow, single light source from above — reads as a real object */
  box-shadow: 0 1px 2px rgba(15,51,39,0.05), 0 10px 28px rgba(15,51,39,0.10), 0 34px 60px -18px rgba(15,51,39,0.16);
  animation: ccRise 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.cc-top {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: linear-gradient(180deg, #14563E 0%, var(--evergreen) 60%, var(--evergreen-deep) 100%);
  border-bottom: 2px solid var(--gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.cc-brand { display: inline-flex; align-items: center; gap: var(--s-3); white-space: nowrap; font-family: var(--font-display); font-size: var(--fs-base); font-weight: 600; color: var(--white); letter-spacing: 0.01em; }
.cc-logo { position: relative; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(140deg, var(--gold), var(--champagne)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 0 0 1px rgba(255,255,255,0.18), 0 1px 3px rgba(0,0,0,0.2); }
@keyframes ccRise { from { opacity: 0; transform: translateY(16px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes tabIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes panelRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cc-live { flex: none; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--champagne); background: rgba(233,209,140,0.14); border-radius: 100px; padding: 3px 9px; white-space: nowrap; }
.cc-main { display: block; }
.cc-nav {
  display: flex; gap: var(--s-1); overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: var(--s-2) var(--s-3) 0; background: var(--offwhite); border-bottom: 1px solid var(--stone);
}
.cc-tab {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; color: var(--slate);
  background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  padding: var(--s-2) var(--s-3) var(--s-3);
  transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.cc-tab-ic { display: grid; place-items: center; color: var(--sage); transition: color var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.cc-tab-ic svg { width: 17px; height: 17px; }
.cc-tab-bolt { display: grid; place-items: center; color: var(--gold-ink); }
.cc-tab-bolt svg { width: 12px; height: 12px; }
.cc-tab:hover { color: var(--ink); }
.cc-tab:hover .cc-tab-ic { transform: translateY(-1px); }
.cc-tab.is-on { color: var(--green); border-bottom-color: var(--gold); }
.cc-tab.is-on .cc-tab-ic { color: var(--green); }
/* staggered entrance for the nav (the Command Center "assembling") */
.cc-tab { animation: tabIn 0.45s var(--ease) both; }
.cc-tab:nth-child(1) { animation-delay: 0.18s; } .cc-tab:nth-child(2) { animation-delay: 0.24s; }
.cc-tab:nth-child(3) { animation-delay: 0.30s; } .cc-tab:nth-child(4) { animation-delay: 0.36s; }
.cc-tab:nth-child(5) { animation-delay: 0.42s; } .cc-tab:nth-child(6) { animation-delay: 0.48s; }
.cc-tab:nth-child(n+7) { animation-delay: 0.52s; }
.cc-stage { padding: var(--s-5); background: var(--snow); min-height: 300px; }
.cc-slot[hidden] { display: none; }
.cc-slot.cc-anim { animation: panelRise 0.3s var(--ease); } /* re-triggered on tab switch */

/* ---- module common ---- */
.ccm-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-bottom: var(--s-4); }
.ccm-title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.ccm-meta { display: inline-flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.ccm-src { font-size: var(--fs-xs); font-weight: 600; color: var(--sage-ink); text-transform: capitalize; }
.ccm-chip { font-size: var(--fs-xs); font-weight: 700; padding: 3px 9px; border-radius: 100px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ccm-chip b { font-weight: 800; }
.ccm-chip-calm { background: var(--mist); color: var(--sage-ink); }
.ccm-chip-attn { background: rgba(208,123,44,0.12); color: #9A5A1D; }
.ccm-autoflag { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em; color: var(--gold-ink); background: rgba(212,166,42,0.12); border: 1px solid rgba(212,166,42,0.3); border-radius: 100px; padding: 3px 9px; }
.ccm-autoflag svg { width: 13px; height: 13px; }
.ccm-act {
  margin-top: var(--s-4); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; color: var(--green);
  background: var(--white); border: 1.5px solid var(--green); border-radius: var(--radius-ctl);
  padding: 9px var(--s-5); min-height: 42px; cursor: pointer;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.ccm-act:hover { background: var(--green); color: var(--white); }
.ccm-act:disabled { border-color: var(--green); background: var(--mist); color: var(--sage-ink); cursor: default; }

/* plain-English "what it does for you" — closes a surface panel */
.ccm-value {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px dashed var(--stone);
  font-size: var(--fs-sm);
  color: #3A4038;
  line-height: 1.55;
  max-width: 60ch;
}
.ccm-value-k {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sage-ink);
  margin-bottom: 4px;
}

/* ---- The standard band — names the standard + how we earn belief (payoff) ---- */
.std-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: start;
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  background: linear-gradient(180deg, #14563E 0%, var(--evergreen) 55%, var(--evergreen-deep) 100%);
  border: 1px solid var(--dark-line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 28px rgba(15,51,39,0.12), 0 1px 0 rgba(255,255,255,0.05) inset;
}
.std-band-seal {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--gold), var(--champagne));
  color: var(--evergreen);
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 1px 3px rgba(0,0,0,0.2);
}
.std-band-seal svg { width: 24px; height: 24px; }
.std-band-body { min-width: 0; }
.std-band-name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.std-band-promise { font-size: var(--fs-base); font-weight: 600; color: var(--champagne); margin: 0 0 var(--s-2); line-height: 1.4; }
.std-band-cred { font-size: var(--fs-sm); color: var(--sage); line-height: 1.6; margin: 0; max-width: 64ch; }

/* progress ring (checklist) */
.ccm-ring { position: relative; width: 46px; height: 46px; margin-left: auto; }
.ccm-ring svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.ccm-ring .rg-bg { fill: none; stroke: var(--stone); stroke-width: 4; }
.ccm-ring .rg-fg { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset 0.4s var(--ease); }
.ccm-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.ccm.is-complete .ccm-ring b { color: var(--green); }

/* ---- BEFORE / AFTER automation ---- */
.ba { max-width: 460px; }
.ba-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--mist); border-radius: 100px; padding: 3px; margin-bottom: var(--s-4); }
.ba-tab { position: relative; z-index: 1; font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; color: var(--slate); background: none; border: 0; border-radius: 100px; padding: 6px 20px; cursor: pointer; transition: color var(--t-base) var(--ease); }
.ba-tab.is-on { color: var(--evergreen); }
.ba-thumb { position: absolute; z-index: 0; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px); background: var(--white); border-radius: 100px; box-shadow: var(--sh-1); transition: transform 0.24s var(--ease); }
.ba[data-ba="after"] .ba-thumb { transform: translateX(100%); }
.ba-stage { position: relative; }
.ba-face { display: none; animation: baFade 0.32s var(--ease); }
.ba[data-ba="before"] .ba-before { display: block; }
.ba[data-ba="after"] .ba-after { display: block; }
@keyframes baFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ba-art { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-ctl); padding: var(--s-4); min-height: 118px; }
.ba-before .ba-art { border-color: rgba(178,58,43,0.22); background: rgba(178,58,43,0.03); }
.ba-after .ba-art { border-color: rgba(30,107,74,0.28); background: rgba(30,107,74,0.03); }
.ba-cap { margin: var(--s-3) 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.ba-impact { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); background: linear-gradient(90deg, rgba(212,166,42,0.14), rgba(212,166,42,0.05)); border-left: 3px solid var(--gold); border-radius: 8px; }
.ba-impact span { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; color: var(--gold-ink); }

/* before: chaotic inbox / notes / report */
.ib-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.ib-raw { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); font-size: var(--fs-xs); color: var(--slate); padding: 4px 0; border-bottom: 1px solid rgba(178,58,43,0.12); }
.ib-raw:last-child { border-bottom: 0; }
.ib-raw em { font-style: normal; font-size: 10px; font-weight: 700; color: #8F2E22; white-space: nowrap; }
.ib-clean { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1px var(--s-2); padding: 7px 0; border-bottom: 1px solid var(--stone); }
.ib-clean:last-child { border-bottom: 0; }
.ib-clean b { grid-column: 1; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.ib-clean em { grid-column: 1; font-style: normal; font-size: var(--fs-xs); color: var(--slate); }
.ib-flag { grid-column: 2; grid-row: 1 / span 2; font-size: 10px; font-weight: 700; color: var(--white); background: var(--green); border-radius: 100px; padding: 3px 9px; white-space: nowrap; }
.ib-tick { grid-column: 2; grid-row: 1 / span 2; color: var(--sage); display: grid; place-items: center; }
.ib-tick svg { width: 16px; height: 16px; }
.ib-done b, .ib-done em { color: var(--slate); }

.na-raw { position: relative; display: grid; gap: 7px; }
.na-line { height: 7px; border-radius: 4px; background: rgba(178,58,43,0.18); }
.na-line.short { width: 55%; }
.na-cursor { position: absolute; right: 30%; bottom: 0; width: 2px; height: 12px; background: #8F2E22; animation: naBlink 1s steps(2) infinite; }
@keyframes naBlink { 50% { opacity: 0; } }
.na-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.na-item { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-sm); color: var(--ink); }
.na-box { width: 20px; height: 20px; border-radius: 6px; background: var(--green); color: var(--white); display: grid; place-items: center; flex: none; }
.na-box svg { width: 13px; height: 13px; }

.rp-raw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.rp-tab { height: 10px; border-radius: 3px; background: rgba(178,58,43,0.2); }
.rp-cell { height: 14px; border-radius: 3px; background: rgba(178,58,43,0.08); }
.rp-cell.w { background: rgba(178,58,43,0.16); }
.rp-mail { border: 1px solid var(--stone); border-radius: 8px; overflow: hidden; background: var(--white); }
.rp-mail-h { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); padding: 8px 12px; background: var(--offwhite); border-bottom: 1px solid var(--stone); }
.rp-mail-h b { font-size: var(--fs-sm); color: var(--ink); }
.rp-mail-h span { font-size: 10px; color: var(--slate); font-variant-numeric: tabular-nums; }
.rp-mail-b { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s-3); padding: 10px 12px; }
.rp-mail-k { font-size: var(--fs-xs); color: var(--slate); }
.rp-mail-v { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

/* ---- inbox worklist (surface) ---- */
.wk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.wk-row { display: grid; grid-template-columns: 1fr auto 32px; align-items: center; gap: var(--s-3); background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-ctl); padding: 10px var(--s-4); transition: opacity var(--t-base) var(--ease), background var(--t-base) var(--ease); }
.wk-main { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.wk-main b { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.wk-main em { font-style: normal; font-size: var(--fs-xs); color: var(--slate); }
.wk-due { font-size: var(--fs-xs); font-weight: 600; padding: 3px 9px; border-radius: 100px; white-space: nowrap; }
.wk-due.is-due { background: rgba(178,58,43,0.10); color: #8F2E22; }
.wk-due.is-soon { background: rgba(208,123,44,0.12); color: #9A5A1D; }
.wk-due.is-ok { background: var(--mist); color: var(--sage-ink); }
.wk-done { width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--stone); background: var(--white); color: transparent; display: grid; place-items: center; cursor: pointer; transition: all var(--t-base) var(--ease); }
.wk-done svg { width: 15px; height: 15px; }
.wk-done:hover { border-color: var(--green); }
.wk-row.is-cleared { opacity: 0.5; }
.wk-row.is-cleared .wk-main b { text-decoration: line-through; text-decoration-color: var(--sage); color: var(--slate); }
.wk-row.is-cleared .wk-done { background: var(--green); border-color: var(--green); color: var(--white); }
.wk-row.is-cleared .wk-due { visibility: hidden; }
.wk-zero { margin-top: var(--s-4); display: flex; align-items: center; gap: var(--s-2); font-weight: 600; color: var(--green); }
.wk-zero svg { width: 18px; height: 18px; }

/* ---- calendar (surface) ---- */
.cs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cs-col { background: var(--white); border: 1px solid var(--stone); border-radius: 10px; padding: 6px; min-height: 104px; }
.cs-day { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: 5px; }
.cs-evt { display: block; font-size: 10px; line-height: 1.2; padding: 4px 5px; border-radius: 6px; margin-bottom: 4px; color: var(--ink); position: relative; }
.cs-evt b { display: block; font-size: 9px; opacity: 0.72; font-variant-numeric: tabular-nums; }
.cs-a { background: rgba(30,107,74,0.12); border-left: 2px solid var(--green); }
.cs-b { background: rgba(127,160,143,0.18); border-left: 2px solid var(--sage); }
.cs-c { background: rgba(212,166,42,0.16); border-left: 2px solid var(--gold); }
.cs-d { background: rgba(47,110,158,0.14); border-left: 2px solid #2f6e9e; }
.cs-e { background: rgba(140,92,168,0.14); border-left: 2px solid #8c5ca8; }
.cs-clash { background: rgba(178,58,43,0.1); border-left: 2px solid #B23A2B; color: #8F2E22; font-weight: 600; }
.cs-clash i { position: absolute; top: 3px; right: 3px; color: #B23A2B; }
.cs-clash i svg { width: 11px; height: 11px; }
.cs-free { background: transparent; border: 1.5px dashed var(--green); color: var(--green); font-weight: 600; }
.cs-free.is-lit { animation: freePulse 0.7s var(--ease) 2; }
@keyframes freePulse { 50% { background: rgba(30,107,74,0.14); } }
.cs-legend { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); font-size: 11px; color: var(--slate); }
.cs-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cs-legend span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; }
.cs-legend .cs-a::before { background: var(--green); }
.cs-legend .cs-b::before { background: var(--sage); }
.cs-legend .cs-c::before { background: var(--gold); }
.cs-legend .cs-d::before { background: #2f6e9e; }
.cs-legend .cs-e::before { background: #8c5ca8; }

/* ---- follow-ups (surface) ---- */
.fu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.fu-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--s-3); background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-ctl); padding: 10px var(--s-4); transition: opacity var(--t-base) var(--ease); }
.fu-main { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.fu-main b { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.fu-main em { font-style: normal; font-size: var(--fs-xs); color: var(--slate); }
.fu-due { font-size: var(--fs-xs); font-weight: 600; padding: 3px 9px; border-radius: 100px; white-space: nowrap; }
.fu-due.is-due { background: rgba(178,58,43,0.10); color: #8F2E22; }
.fu-due.is-soon { background: rgba(208,123,44,0.12); color: #9A5A1D; }
.fu-due.is-ok { background: var(--mist); color: var(--sage-ink); }
.fu-act { font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 600; color: var(--green); background: var(--white); border: 1.5px solid var(--green); border-radius: 100px; padding: 5px 12px; cursor: pointer; white-space: nowrap; transition: all var(--t-base) var(--ease); }
.fu-act:hover { background: var(--green); color: var(--white); }
.fu-row.is-done { opacity: 0.55; }
.fu-row.is-done .fu-act { background: var(--mist); border-color: transparent; color: var(--sage-ink); cursor: default; }
.fu-row.is-done .fu-due { visibility: hidden; }
.fu-zero { margin-top: var(--s-4); display: flex; align-items: center; gap: var(--s-2); font-weight: 600; color: var(--green); }
.fu-zero svg { width: 18px; height: 18px; }

/* ---- checkable action / routine lists (surface) ---- */
.ck2-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.ck2-row { display: flex; align-items: center; gap: var(--s-3); background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-ctl); padding: 10px var(--s-4); font-size: var(--fs-sm); color: var(--ink); cursor: pointer; transition: border-color var(--t-base) var(--ease); }
.ck2-row:hover { border-color: var(--sage); }
.ck2-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--stone); background: var(--white); color: transparent; display: grid; place-items: center; flex: none; transition: all var(--t-base) var(--ease); }
.ck2-box svg { width: 13px; height: 13px; }
.ck2-row.is-done .ck2-box { background: var(--green); border-color: var(--green); color: var(--white); }
.ck2-row.is-done span:last-child { color: var(--slate); text-decoration: line-through; text-decoration-color: var(--sage); }

/* ---- reports dashboard (surface) ---- */
.rp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.rp-tile { position: relative; background: var(--white); border: 1px solid var(--stone); border-radius: 12px; padding: var(--s-4); overflow: hidden; }
.rp-k { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); }
.rp-v { display: block; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--ink); font-variant-numeric: tabular-nums; margin: 3px 0 2px; }
.rp-spark { width: 100%; height: 18px; }
.rp-spark polyline { fill: none; stroke: var(--sage); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.rp-d { position: absolute; top: var(--s-4); right: var(--s-4); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rp-d.up { color: #2F8558; }
.rp-d.dn { color: var(--slate); }
.ccm.is-refreshing .rp-v { animation: rpPulse 0.6s var(--ease); }
@keyframes rpPulse { 50% { opacity: 0.35; transform: translateY(-2px); } }

/* ---- website + event page (surface) ---- */
.ws-frame { position: relative; border: 1px solid var(--stone); border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--sh-2); max-width: 380px; }
.ws-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: var(--offwhite); border-bottom: 1px solid var(--stone); }
.ws-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--stone); }
.ws-url { margin-left: 8px; font-size: 10px; color: var(--slate); background: var(--white); border: 1px solid var(--stone); border-radius: 100px; padding: 2px 10px; }
.ws-hero { background: linear-gradient(165deg, var(--evergreen), var(--evergreen-deep)); padding: var(--s-7) var(--s-5) var(--s-6); text-align: center; }
.ws-logo { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(140deg, var(--gold), var(--champagne)); margin: 0 auto var(--s-4); }
.ws-h1 { font-family: var(--font-display); font-size: var(--fs-md); color: var(--white); line-height: 1.2; margin-bottom: 6px; }
.ws-h2 { font-size: var(--fs-xs); color: var(--sage); margin-bottom: var(--s-4); }
.ws-cta { font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; color: var(--evergreen); background: var(--champagne); border: 0; border-radius: 100px; padding: 8px 20px; cursor: pointer; transition: transform var(--t-fast) var(--ease), background var(--t-base) var(--ease); }
.ws-cta:hover { transform: translateY(-1px); background: var(--gold-hi); }
.ws-cta:active { transform: translateY(0); }
.ws-strip { display: grid; gap: 7px; padding: var(--s-4) var(--s-5) var(--s-5); }
.ws-strip span { height: 7px; border-radius: 4px; background: var(--stone); }
.ws-strip span:nth-child(2) { width: 80%; }
.ws-strip span:nth-child(3) { width: 58%; }
.ev-page { padding: var(--s-6) var(--s-5); text-align: center; }
.ev-date { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-ink); background: rgba(212,166,42,0.14); border-radius: 100px; padding: 3px 12px; margin-bottom: var(--s-3); }
.ev-title { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--ink); margin-bottom: 5px; }
.ev-sub { font-size: var(--fs-sm); color: var(--slate); margin-bottom: var(--s-4); }
.ev-seats { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--slate); }
.ev-seats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.ws-toast { position: absolute; left: 50%; bottom: var(--s-4); transform: translate(-50%, 8px); display: flex; align-items: center; gap: 7px; font-size: var(--fs-xs); font-weight: 600; color: var(--white); background: var(--green); border-radius: 100px; padding: 7px 14px; box-shadow: var(--sh-2); opacity: 0; transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease); pointer-events: none; }
.ws-toast svg { width: 14px; height: 14px; }
.ws-toast.is-lit { opacity: 1; transform: translate(-50%, 0); }
.ws-note { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--slate); }

/* ---- custom (other) module ---- */
.cu-body p { font-size: var(--fs-base); color: #3A4038; max-width: 60ch; }
.cu-body p:last-child { margin-bottom: 0; }
.cu-note { border-left: 3px solid var(--gold); padding-left: var(--s-4); margin-top: var(--s-4); }

/* ============================================================
   OFFER 2 — Custom Team Systems modules (reuse ps-* board cards,
   fu-list, ck2, rp-grid, ba; these are the net-new bits).
   ============================================================ */
/* pipeline board (reuses .ps-col/.ps-card/.ps-colhead/.ps-ava/.ps-meta) */
.cc-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(122px, 1fr); gap: var(--s-3); overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }

/* team workload roster with load bars */
.wl2-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.wl2-row { display: grid; grid-template-columns: 28px 1fr 88px; align-items: center; gap: var(--s-3); background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-ctl); padding: 9px var(--s-4); }
.wl2-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.wl2-meta b { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.wl2-meta em { font-style: normal; font-size: var(--fs-xs); color: var(--slate); }
.wl2-bar { height: 8px; border-radius: 100px; background: var(--mist); overflow: hidden; }
.wl2-bar i { display: block; height: 100%; border-radius: 100px; transition: width 0.5s var(--ease); }
.wl2-hot i { background: #B23A2B; }
.wl2-warm i { background: var(--gold); }
.wl2-cool i { background: var(--green); }

/* handoff before/after nodes */
.hf-gap { display: flex; align-items: center; justify-content: center; gap: var(--s-3); padding: var(--s-5) 0; }
.hf-node { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); background: var(--white); border: 1.5px solid var(--stone); border-radius: 100px; padding: 8px 16px; white-space: nowrap; }
.hf-x { color: #B23A2B; font-weight: 700; font-size: var(--fs-md); }
.hf-arrow { color: var(--green); font-weight: 700; font-size: var(--fs-lg); }
.hf-dim { opacity: 0.5; border-style: dashed; }
.hf-live { border-color: var(--green); color: var(--green); }

/* ============================================================
   OFFER 4 — the Operational Read (diagnosis + health + roadmap)
   ============================================================ */
/* diagnosis */
.dx-lead { font-family: var(--font-display); font-size: var(--fs-md); color: var(--ink); line-height: 1.42; margin-bottom: var(--s-3); }
.dx-where { font-size: var(--fs-base); color: #3A4038; margin-bottom: var(--s-4); }
.dx-bottleneck { display: flex; align-items: center; gap: var(--s-3); background: rgba(178,58,43,0.06); border-left: 3px solid #B23A2B; border-radius: 8px; padding: var(--s-3) var(--s-4); margin-bottom: var(--s-4); }
.dx-bk-k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8F2E22; white-space: nowrap; }
.dx-bk-v { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; color: var(--ink); }
.dx-goal { font-size: var(--fs-base); color: var(--ink); }
/* health scorecard — reuses .wl2-row / .wl2-bar; widen col 1 for the score badge */
.ccm[data-cc-mod="health"] .wl2-row { grid-template-columns: 36px 1fr 78px; }
.oh-score { height: 28px; display: grid; place-items: center; border-radius: 8px; font-size: var(--fs-sm); font-weight: 800; font-variant-numeric: tabular-nums; }
.oh-hot { background: rgba(178,58,43,0.12); color: #8F2E22; }
.oh-warm { background: rgba(212,166,42,0.16); color: var(--gold-ink); }
.oh-cool { background: rgba(30,107,74,0.12); color: var(--green); }
.oh-note { margin-top: var(--s-4); font-size: var(--fs-xs); }
/* roadmap — reuses .wl-row + .wl-coach reveal; 2-col (no avatar), tap to expand */
.rmap-row { grid-template-columns: 30px 1fr; cursor: pointer; }

/* ---------- Request form ---------- */
.req-form { display: block; }
.field-row { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.field-group { margin-bottom: var(--s-4); }
.field-row .field-group { margin-bottom: 0; }
.field-row { margin-bottom: var(--s-4); }

/* Honeypot — visually gone, still in the DOM + submitted (bots fill it) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.cf-turnstile[hidden] { display: none; }

.req-privacy { font-size: var(--fs-xs); margin: var(--s-2) 0 var(--s-5); }
.req-error {
  background: rgba(178, 58, 43, 0.08);
  border: 1px solid rgba(178, 58, 43, 0.3);
  color: #8F2E22;
  border-radius: var(--radius-ctl);
  padding: var(--s-3) var(--s-4);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-4);
}
.req-error[hidden] { display: none; }
.req-error a { color: #8F2E22; font-weight: 600; text-decoration: underline; }
.req-submit { width: 100%; }
.req-submit.is-loading { opacity: 0.8; cursor: progress; }

/* ---------- Confirmation + printable summary ---------- */
.done-badge {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-6);
}
.done-badge svg { width: 30px; height: 30px; }
.summary-card {
  background: var(--snow);
  border: 1px solid var(--stone);
  border-radius: var(--radius-card);
  box-shadow: var(--sh-2);
  padding: var(--s-8);
  margin-bottom: var(--s-6);
}
.summary-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-6); padding-bottom: var(--s-5); border-bottom: 1px solid var(--stone); }
.summary-head .mark { width: 30px; height: 30px; }
.summary-head .wordmark { color: var(--ink); font-size: 1.05rem; letter-spacing: 0.24em; transform: none; }
.summary-head .wordmark .om { color: var(--gold-ink); }
.summary-card h3 { font-size: var(--fs-md); margin-bottom: var(--s-4); }
.summary-dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.summary-dl dt { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-ink); margin-top: var(--s-4); }
.summary-dl dt:first-child { margin-top: 0; }
.summary-dl dd { margin: 3px 0 0; font-size: var(--fs-base); color: var(--ink); }
.summary-note { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--stone); font-size: var(--fs-sm); color: var(--slate); }
.done-actions { margin-top: var(--s-2); }

/* ---------- Interim panel (doors 2/4) ---------- */
.interim-card {
  background: var(--snow);
  border: 1px solid var(--stone);
  border-radius: var(--radius-card);
  box-shadow: var(--sh-1);
  padding: var(--s-8);
}
.interim-card p { font-size: var(--fs-base); max-width: 60ch; }
.interim-card .foot-row { margin-top: var(--s-6); }

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  .door { padding: var(--s-6) var(--s-6); grid-template-columns: auto auto 1fr auto; }
  .door-icon {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: var(--radius-ctl);
    background: var(--mist);
    color: var(--green);
    grid-column: 2;
  }
  .door-icon svg { width: 24px; height: 24px; }
  .door-label { grid-column: 3; font-size: var(--fs-md); }
  .door-offer { grid-column: 3; }
  .door-go { grid-column: 4; }
  .tile-grid.is-multi { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .foot-row .btn { flex: 0 0 auto; }
  .foot-row { justify-content: flex-end; }
  .fscreen-foot .btn-primary:only-child { min-width: 220px; }
  .progress-track .seg b {
    display: inline;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--sage);
    text-transform: uppercase;
  }
  .progress-track .seg.now b { color: var(--champagne); }
  .progress-track .seg.done b { color: var(--sage); }
  /* Command Center: a real left rail once there's room */
  .cc-main { display: grid; grid-template-columns: 178px 1fr; }
  .cc-nav { flex-direction: column; gap: 2px; overflow-x: visible; padding: var(--s-3) var(--s-2); border-bottom: 0; border-right: 1px solid var(--stone); }
  .cc-tab { width: 100%; border-bottom: 0; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; padding: var(--s-3); }
  .cc-tab.is-on { border-bottom-color: transparent; border-left-color: var(--gold); background: var(--mist); }
  .cc-tab-bolt { margin-left: auto; }
}

@media (min-width: 900px) {
  .tile-grid.is-multi { grid-template-columns: 1fr 1fr 1fr; }
  .funnel-intro-inner { padding-top: var(--s-20); padding-bottom: var(--s-20); }
}

/* Tight phones: the dots ARE the progress affordance, so drop the redundant
   "Step X of N" text to give the escape link room. */
@media (max-width: 560px) {
  .progress-count { display: none; }
  .funnel-escape-inner { gap: var(--s-3); }
  .funnel-escape span { font-size: var(--fs-xs); }
}

/* ---------- Reduced motion (belt-and-suspenders atop site.css reset) ---------- */
@media (prefers-reduced-motion: reduce) {
  .door, .tile, .door-go, .tile-check { transition: none !important; }
  .heard-row, .ba-face, .cs-free, .na-cursor, .ccm.is-refreshing .rp-v,
  .cc, .cc-tab, .cc-slot.cc-anim {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .ba-thumb, .rg-fg, .ws-cta, .ws-toast, .cc-tab-ic { transition: none !important; }
}

/* ---------- Print (the confirmation summary) ---------- */
@media print {
  .site-header, .site-footer, .funnel-escape-bar, .done-badge, .done-actions,
  .fscreen-head .lede, .funnel-intro { display: none !important; }
  body { background: #fff; }
  .fscreen { padding: 0; }
  .summary-card { box-shadow: none; border-color: #ccc; }
}

/* ============================================================
   DOOR 3 — The Platform (F2-01/02/03/04)
   White-label preview shell · guided demos · student quiz taste.
   Token-only, mobile-first, gold = signature accent on deep grounds.
   ============================================================ */

/* ---- Small button variant (used inside demos) ---- */
.btn-sm { padding: 9px var(--s-4); font-size: var(--fs-sm); min-height: 42px; }

/* ---- Field question free-text input ---- */
input.field { min-height: 48px; }

/* ---- "Put your name on it" — the white-label live namer ---- */
.org-namer {
  margin-bottom: var(--s-6);
  padding: var(--s-4) var(--s-5);
  background: var(--mist);
  border: 1px solid var(--stone);
  border-radius: var(--radius-card);
}
.org-namer .field-label { margin-bottom: var(--s-2); }
.org-namer-row { display: grid; gap: var(--s-2); }
.org-namer-hint { font-size: var(--fs-xs); }

/* ---- F2-02 — white-label platform shell ---- */
.ps-shell { box-shadow: var(--sh-2); }
.ps-cap {
  background: var(--evergreen);
  border-bottom: 2px solid var(--gold);
  align-items: center;
  padding: var(--s-4) var(--s-5);
}
.ps-brand { display: inline-flex; align-items: center; gap: var(--s-3); min-width: 0; }
.ps-logo {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--champagne);
  color: var(--evergreen);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.ps-brandtext { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ps-brandtext b { color: var(--white); font-size: var(--fs-base); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.ps-brandtext em { color: var(--sage); font-style: normal; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.ps-cap .mock-tag { background: rgba(233,209,140,0.14); color: var(--champagne); }

.ps-body { padding: 0; }
.ps-nav {
  display: flex;
  gap: var(--s-1);
  padding: var(--s-3) var(--s-4) 0;
  background: var(--offwhite);
  border-bottom: 1px solid var(--stone);
  overflow-x: auto;
}
.ps-navitem {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--slate);
  padding: var(--s-2) var(--s-3) var(--s-3);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.ps-navitem i { width: 7px; height: 7px; border-radius: 50%; background: var(--stone); }
.ps-navitem.is-on { color: var(--green); border-bottom-color: var(--gold); }
.ps-navitem.is-on i { background: var(--green); }

.ps-main { padding: var(--s-5); }
.ps-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-bottom: var(--s-5); }
.ps-stat { background: var(--white); border: 1px solid var(--stone); border-radius: 12px; padding: var(--s-3) var(--s-4); }
.ps-k { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); }
.ps-v { display: block; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 2px; }
.ps-stat-attn { border-color: rgba(208,123,44,0.4); background: rgba(208,123,44,0.06); }
.ps-stat-attn .ps-v { color: #9A5A1D; }

.ps-boardhead { display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-3); }
.ps-boardhead span:first-child { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.ps-boardsub { font-size: var(--fs-xs); color: var(--sage-ink); text-transform: capitalize; }

.ps-board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: var(--s-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--s-2);
  -webkit-overflow-scrolling: touch;
}
.ps-col {
  scroll-snap-align: start;
  background: var(--offwhite);
  border: 1px solid var(--stone);
  border-radius: 12px;
  padding: var(--s-3);
  min-height: 120px;
}
.ps-col-final { background: var(--mist); border-color: rgba(30,107,74,0.28); }
.ps-colhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-2); }
.ps-stage { font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--sage-ink); }
.ps-count { font-size: 11px; font-weight: 700; color: var(--slate); background: var(--white); border: 1px solid var(--stone); border-radius: 100px; min-width: 20px; text-align: center; padding: 1px 6px; font-variant-numeric: tabular-nums; }
.ps-card { display: flex; align-items: center; gap: var(--s-2); background: var(--white); border: 1px solid var(--stone); border-radius: 10px; padding: 8px 10px; margin-bottom: var(--s-2); box-shadow: var(--sh-1); }
.ps-card:last-child { margin-bottom: 0; }
.ps-ava, .wl-ava {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--mist); color: var(--sage-ink);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
}
.ps-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ps-meta b { font-size: var(--fs-xs); font-weight: 600; color: var(--ink); }
.ps-meta em { font-style: normal; font-size: 11px; color: var(--slate); }
.ps-empty { height: 34px; border: 1px dashed var(--stone); border-radius: 8px; opacity: 0.5; }

/* ---- Demo launch tiles (on the preview) ---- */
.demo-cta { margin-top: var(--s-8); }
.demo-cta-lead { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-bottom: var(--s-3); }
.demo-cta-row { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
.demo-tile {
  display: flex; align-items: flex-start; gap: var(--s-3);
  text-align: left;
  background: var(--snow);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-card);
  padding: var(--s-4) var(--s-5);
  cursor: pointer;
  font-family: var(--font-ui);
  transition: border-color var(--t-base) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease);
}
.demo-tile:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--sh-2); }
.demo-tile-ic { flex: none; width: 40px; height: 40px; border-radius: var(--radius-ctl); background: var(--mist); color: var(--green); display: grid; place-items: center; }
.demo-tile-ic svg { width: 22px; height: 22px; }
.demo-tile-t { display: flex; flex-direction: column; gap: 2px; }
.demo-tile-t b { font-size: var(--fs-base); font-weight: 600; color: var(--ink); }
.demo-tile-t em { font-style: normal; font-size: var(--fs-sm); color: var(--slate); line-height: 1.4; }

/* ---- Guided demo shell (coordinator morning + quiz) ---- */
.demo-shell { background: var(--snow); border: 1px solid var(--stone); border-radius: var(--radius-card); box-shadow: var(--sh-1); overflow: hidden; }
.demo-shellhead { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); background: var(--evergreen); border-bottom: 2px solid var(--gold); }
.demo-shelltitle { min-width: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--white); }
.demo-shellhead .mock-tag { flex: none; background: rgba(233,209,140,0.14); color: var(--champagne); }
.demo-intro { padding: var(--s-5) var(--s-5) 0; font-size: var(--fs-sm); color: var(--slate); max-width: 62ch; }

/* Ranked worklist */
.wl-list { list-style: none; margin: 0; padding: var(--s-4) var(--s-4) 0; }
.wl-row {
  display: grid;
  grid-template-columns: 26px 32px 1fr;
  gap: var(--s-3);
  align-items: start;
  padding: var(--s-4);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-ctl);
  margin-bottom: var(--s-3);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.wl-row:hover { border-color: var(--sage); }
.wl-row.is-past { opacity: 0.62; }
.wl-row.is-active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), var(--sh-2); opacity: 1; transform: none; }
.wl-rank { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; color: var(--gold-ink); text-align: center; font-variant-numeric: tabular-nums; }
.wl-main { min-width: 0; }
.wl-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-3); }
.wl-top b { font-size: var(--fs-base); font-weight: 600; color: var(--ink); }
.wl-stage { font-size: 11px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--sage-ink); }
.wl-why { display: inline-block; margin-top: 6px; font-size: var(--fs-sm); font-weight: 600; padding: 4px 10px; border-radius: 100px; }
.wl-attn { background: rgba(178,58,43,0.10); color: #8F2E22; }
.wl-ready { background: rgba(47,133,88,0.12); color: #226644; }
.wl-watch { background: rgba(208,123,44,0.12); color: #9A5A1D; }
.wl-coach, .wl-action { display: none; }
.wl-row.is-active .wl-coach {
  display: block; margin-top: var(--s-3);
  font-size: var(--fs-sm); color: #3A4038; line-height: 1.5;
  border-left: 3px solid var(--gold); padding-left: var(--s-3);
}
.wl-coach-ic { color: var(--gold-ink); margin-right: 6px; }
.wl-row.is-active .wl-action { display: block; margin-top: var(--s-3); }
.wl-action-btn {
  display: inline-flex; align-items: center;
  font-size: var(--fs-sm); font-weight: 600; color: var(--white);
  background: var(--green); border-radius: var(--radius-ctl);
  padding: 8px 16px;
}

/* Demo stepper */
.demo-stepbar { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-4) var(--s-5) var(--s-5); border-top: 1px solid var(--stone); margin-top: var(--s-2); }
.demo-count { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.03em; color: var(--slate); white-space: nowrap; }
.demo-dots { display: flex; gap: 6px; flex: 1; }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stone); transition: background var(--t-base) var(--ease); }
.demo-dot.is-on { background: var(--gold); }
.demo-stepbtns { display: flex; gap: var(--s-2); margin-left: auto; }

.demo-foot { margin-top: var(--s-4); }
.demo-done-note { background: var(--mist); border: 1px solid rgba(30,107,74,0.24); border-radius: var(--radius-card); padding: var(--s-5); font-size: var(--fs-base); color: var(--ink); }
.demo-navrow { margin-top: var(--s-6); }

/* ---- F2-04 — student quiz taste ---- */
.quiz-live { padding: var(--s-5); }
.quiz-progress { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.quiz-progress span:first-child { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--slate); }
.quiz-scoretag { font-size: var(--fs-xs); font-weight: 600; color: var(--sage-ink); background: var(--mist); border-radius: 100px; padding: 3px 10px; }
.quiz-q { font-size: var(--fs-md); font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: var(--s-5); max-width: 40ch; }
.quiz-opts { display: grid; gap: var(--s-3); }
.quiz-opt {
  display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: center;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-ctl);
  padding: var(--s-4) var(--s-4);
  min-height: 52px;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.quiz-opt:hover { border-color: var(--sage); }
.quiz-optmark { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--stone); display: grid; place-items: center; }
.quiz-opttext { font-size: var(--fs-base); font-weight: 500; color: var(--ink); }
.quiz-opt.is-locked { cursor: default; }
.quiz-opt.is-correct { border-color: var(--green); background: var(--mist); }
.quiz-opt.is-correct .quiz-optmark { background: var(--green); border-color: var(--green); }
.quiz-opt.is-correct .quiz-optmark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.quiz-opt.is-wrong { border-color: var(--error, #B23A2B); background: rgba(178,58,43,0.06); }
.quiz-opt.is-wrong .quiz-optmark { border-color: var(--error, #B23A2B); }
.quiz-feedback { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--radius-ctl); font-size: var(--fs-sm); line-height: 1.5; }
.quiz-feedback[hidden] { display: none; }
.quiz-feedback.is-right { background: rgba(47,133,88,0.10); color: #226644; }
.quiz-feedback.is-wrong { background: rgba(208,123,44,0.10); color: #9A5A1D; }
.quiz-feedback b { color: inherit; }
.quiz-advance { margin-top: var(--s-4); }
.quiz-advance[hidden] { display: none; }
.quiz-summary p { font-size: var(--fs-base); color: var(--ink); max-width: 58ch; margin: 0; }

/* ---- Door-3 responsive enhancements ---- */
@media (min-width: 720px) {
  .demo-cta-row { grid-template-columns: 1fr 1fr; }
  .ps-board { grid-auto-columns: 1fr; overflow-x: visible; grid-template-columns: repeat(5, 1fr); }
  .ps-col { min-height: 150px; }
  .wl-row { grid-template-columns: 30px 34px 1fr; }
}

/* Narrow phones: stack the demo header so the org name AND the required
   sample-data label both stay fully readable (never clip the label). */
@media (max-width: 560px) {
  .demo-shellhead { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
}

/* ---- Reduced motion (belt-and-suspenders) ---- */
@media (prefers-reduced-motion: reduce) {
  .demo-tile, .demo-dot, .wl-row, .quiz-opt { transition: none !important; }
}
