/* ==========================================================================
   ROOM — the prospect's experience.
   Tokens only. If you want a different look, edit theme.css.
   ========================================================================== */

/* ------------------------------------------------------------------ gate -- */

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}

.gate-card {
  width: min(440px, 100%);
  padding: 40px 36px 32px;
  border-radius: var(--r-card);
  background: linear-gradient(158deg, rgba(32, 34, 48, 0.5), rgba(11, 12, 19, 0.72));
  border: 1px solid var(--hair-2);
  box-shadow: var(--shadow-float);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  text-align: center;
  animation: flyIn 0.8s var(--ease-cine) both;
}

.gate-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
}
.gate-marks .milo-mark { --mark: 62px; }
.gate-marks .cross { color: var(--faint); font-size: 15px; font-weight: 300; }
.gate-marks .cust { max-height: 46px; max-width: 130px; object-fit: contain; }

.gate-card h1 { font-size: 27px; font-weight: 400; letter-spacing: -0.03em; margin-bottom: 8px; }
.gate-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.gate-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.gate-form .btn { width: 100%; }

.gate-or {
  display: flex; align-items: center; gap: 12px; margin: 20px 0 16px;
  color: var(--faint); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.12em;
}
.gate-or::before, .gate-or::after { content: ""; flex: 1; height: 1px; background: var(--divider); }

.gate-err {
  font-size: 13px; color: var(--neg); text-align: left;
  padding: 10px 13px; border-radius: var(--r-ctl);
  background: color-mix(in srgb, var(--neg) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--neg) 34%, transparent);
}

.gate-foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--divider); }
.gate-foot .who { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 12.5px; color: var(--muted); }

/* ----------------------------------------------------------------- shell -- */

.shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }

/* ------------------------------------------------------------------ rail -- */

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 18px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid var(--divider);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 40%);
}

.rail-brand { display: flex; align-items: center; gap: 11px; }
.rail-brand .milo-mark { --mark: 30px; }
.rail-brand .name { font-size: 12px; font-weight: 700; letter-spacing: var(--track-word); }

.rail-cust {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 12px; border-radius: 14px;
  border: 1px solid var(--hair);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}
.rail-cust img { max-height: 26px; max-width: 78px; object-fit: contain; }
.rail-cust .initials {
  width: 30px; height: 30px; border-radius: var(--r-tiny); flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 22%, transparent);
}
.rail-cust .nm { font-size: 12.5px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }

/* min-height:0 for the same reason as .adm-list — a long page map must scroll
   inside the rail rather than pushing the owner card off the bottom. */
.rail-nav {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  margin: 0 -8px; padding: 0 8px;
}
.rail-nav::-webkit-scrollbar { width: 0; }
.rail-brand, .rail-cust, .rail-owner { flex: none; }

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: var(--r-pill);
  font-size: 13px; color: var(--muted); cursor: pointer;
  background: transparent; border: 1px solid transparent; text-align: left;
  transition: color var(--t-micro) ease, background var(--t-micro) ease;
}
.nav-item:hover { color: var(--text); }
.nav-item .tick {
  width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: transparent; transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-item.seen .tick { background: color-mix(in srgb, var(--pos) 70%, transparent); }
.nav-item.on {
  color: var(--text-hi);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--hair);
}
.nav-item.on .tick { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.rail-owner { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--divider); }
.rail-owner .av {
  width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  overflow: hidden;
}
.rail-owner .av img { width: 100%; height: 100%; object-fit: cover; }
.rail-owner .nm { font-size: 12.5px; font-weight: 600; line-height: 1.3; }

/* ------------------------------------------------------------------ main -- */

.main { min-width: 0; padding-bottom: 120px; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 14px;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.topbar.stuck { border-bottom-color: var(--divider); }
.topbar .spacer { flex: 1; }

/* Deal progress — commercial progress should always be visible. */
.stagebar {
  display: flex; align-items: center; gap: 0;
  flex: 0 1 auto; min-width: 0;      /* must be allowed to shrink, or it widens the page */
  overflow-x: auto; scrollbar-width: none;
}
.stagebar::-webkit-scrollbar { height: 0; }
.stagebar .st { display: flex; align-items: center; gap: 8px; }
.stagebar .st .pip {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--track); border: 1px solid var(--hair);
  transition: all 0.3s var(--ease);
}
.stagebar .st.done .pip { background: color-mix(in srgb, var(--pos) 80%, transparent); border-color: transparent; }
.stagebar .st.now .pip {
  background: var(--accent); border-color: transparent;
  box-shadow: 0 0 10px var(--accent);
  animation: haloPulse 2.6s ease-in-out infinite;
}
.stagebar .st .lb { font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.stagebar .st.now .lb { color: var(--text); }
.stagebar .st.done .lb { color: var(--muted); }
.stagebar .link { width: 22px; height: 1px; background: var(--divider); margin: 0 9px; }
@media (max-width: 1100px) { .stagebar .st:not(.now) .lb { display: none; } .stagebar .link { width: 12px; margin: 0 6px; } }

/* ------------------------------------------------------------------ hero -- */

.hero {
  min-height: calc(100vh - 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vh var(--gutter) 8vh;
  max-width: var(--measure);
}

.hero-marks { display: flex; align-items: center; gap: 20px; margin-bottom: 34px; }
.hero-marks .milo-mark { --mark: 66px; }
.hero-marks .join { width: 1px; height: 34px; background: var(--divider); }
.hero-marks .cust { max-height: 50px; max-width: 170px; object-fit: contain; }
.hero-marks .cust-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }

.hero h1 { max-width: 15ch; margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-ink), color-mix(in srgb, var(--accent) 70%, var(--milo-cyan)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .promise { max-width: 56ch; font-size: clamp(16px, 1.6vw, 20px); color: var(--muted); font-weight: 350; line-height: 1.55; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0;
  margin: 40px 0 38px;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.hero-facts .f { padding: 18px 34px 18px 0; margin-right: 34px; border-right: 1px solid var(--divider); }
.hero-facts .f:last-child { border-right: 0; margin-right: 0; }
.hero-facts .f .v { font-size: 16px; font-weight: 600; margin-top: 5px; color: var(--text-hi); }

.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-welcome {
  margin-top: 42px; max-width: 620px; padding: 20px 22px;
  border-radius: var(--r-panel);
  border: 1px solid var(--hair);
  border-left: 2px solid color-mix(in srgb, var(--accent) 60%, transparent);
  background: var(--panel);
}

.scroll-hint {
  display: flex; align-items: center; gap: 9px;
  margin-top: 52px; font-size: var(--fs-micro); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint);
}
.scroll-hint .ln { width: 40px; height: 1px; background: linear-gradient(90deg, var(--faint), transparent); }

/* --------------------------------------------------------------- chapter -- */

.chapter {
  padding: 0 var(--gutter);
  margin-bottom: var(--chapter-gap);
  max-width: var(--measure);
  scroll-margin-top: 74px;
}

.chapter-head { margin-bottom: 38px; }
.chapter-head .eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.chapter-head .eyebrow .n {
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.1em;
  color: var(--accent-ink);
}
.chapter-head .eyebrow .ln { flex: 1; max-width: 90px; height: 1px; background: var(--divider); }
.chapter-head h2 { margin-bottom: 14px; }
.chapter-head .intro { max-width: 62ch; }

/* Reveal on scroll — one thing at a time, never a wall of movement.
   Fails open: content is visible until the script opts the document in, so a
   stalled observer can never leave a prospect staring at an empty page. */
html.reveals .reveal { opacity: 0; transform: translateY(18px); }
html.reveals .reveal.in { animation: riseIn 0.62s var(--ease) both; }
html.reveals .reveal.in.d1 { animation-delay: 0.07s; }
html.reveals .reveal.in.d2 { animation-delay: 0.14s; }
html.reveals .reveal.in.d3 { animation-delay: 0.21s; }

/* One primary action per screen. */
.next-action {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 34px; padding: 20px 22px;
  border-radius: var(--r-panel);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--hair));
  background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%);
}
.next-action .txt { flex: 1; min-width: 220px; }
.next-action .txt .t { font-size: 15px; font-weight: 600; color: var(--text-hi); }
.next-action .txt .d { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ---------------------------------------------------- section: what heard -- */

.priorities { display: grid; gap: 0; margin-bottom: 30px; }
.priority {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 4px;
  border-top: 1px solid var(--divider);
  font-size: 17px; font-weight: 350; line-height: 1.45; color: var(--text-hi);
  letter-spacing: -0.015em;
}
.priority:first-child { border-top: 0; }
.priority .n {
  flex: none; width: 26px; font-size: var(--fs-micro); font-weight: 700;
  color: color-mix(in srgb, var(--accent) 80%, var(--muted)); padding-top: 7px;
}

.challenge {
  padding: 26px 28px; border-radius: var(--r-card);
  background: linear-gradient(158deg, color-mix(in srgb, var(--accent) 10%, rgba(255, 255, 255, 0.03)), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--hair);
  font-size: 17px; line-height: 1.6; font-weight: 350; color: var(--text);
}

.confirm-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.confirm-row.done { color: var(--pos); }

/* --------------------------------------------------- section: before/after -- */

.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--hair); }
.ba-col { padding: 0; }
.ba-col.before { background: rgba(255, 255, 255, 0.012); border-right: 1px solid var(--divider); }
.ba-col.after { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%); }
.ba-head { padding: 20px 26px 16px; border-bottom: 1px solid var(--divider); display: flex; align-items: center; gap: 10px; }
.ba-head .t { font-size: 13px; font-weight: 650; letter-spacing: 0.02em; }
.ba-col.before .ba-head .t { color: var(--muted); }
.ba-col.after .ba-head .t { color: var(--accent-ink); }
.ba-row {
  padding: 17px 26px;
  border-top: 1px solid var(--divider);
  font-size: 14.5px; line-height: 1.45;
  min-height: 74px; display: flex; align-items: center; gap: 12px;
}
.ba-row:first-of-type { border-top: 0; }
.ba-col.before .ba-row { color: var(--muted); }
.ba-col.after .ba-row { color: var(--text-hi); }
.ba-row .ic { flex: none; opacity: 0.75; }
.ba-col.after .ba-row .ic { color: var(--pos); opacity: 1; }
@media (max-width: 860px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-col.before { border-right: 0; border-bottom: 1px solid var(--divider); }
}

/* ------------------------------------------------- section: MILO in action -- */

.clip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 16px; }

.clip {
  position: relative; overflow: hidden;
  border-radius: var(--r-panel);
  border: 1px solid var(--hair);
  background: var(--panel);
  cursor: pointer;
  transition: border-color var(--t-micro) ease, transform var(--t-micro) ease, box-shadow var(--t-micro) ease;
}
.clip:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.clip .shot {
  aspect-ratio: 16 / 10; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%),
              linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  border-bottom: 1px solid var(--divider);
  position: relative;
}
.clip .shot img, .clip .shot video { width: 100%; height: 100%; object-fit: cover; }
.clip .play {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-hi);
  background: color-mix(in srgb, var(--accent) 30%, rgba(0, 0, 0, 0.4));
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: transform var(--t-micro) var(--ease-spring);
}
.clip:hover .play { transform: scale(1.09); }
.clip .body { padding: 15px 17px 17px; }
.clip .body .t { font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.clip .body .d { font-size: 13px; color: var(--muted); line-height: 1.5; }
.clip .tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-pill);
  color: var(--text-hi); background: rgba(0, 0, 0, 0.5); border: 1px solid var(--hair-2);
  backdrop-filter: blur(8px);
}
.clip .dur { position: absolute; bottom: 12px; right: 12px; z-index: 2; font-size: 11px;
  padding: 3px 8px; border-radius: var(--r-pill); background: rgba(0, 0, 0, 0.55); color: var(--text); }

/* --- the interactive sample call --- */

.sc {
  margin-top: 30px;
  border-radius: var(--r-card);
  border: 1px solid var(--hair-2);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}
.sc-head { padding: 22px 26px; border-bottom: 1px solid var(--divider); }
.sc-picker { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.sc-pick {
  --c: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; cursor: pointer;
  color: var(--muted); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair);
  transition: all var(--t-micro) ease;
}
.sc-pick:hover { color: var(--text); border-color: var(--hair-2); }
.sc-pick.on {
  color: var(--text-hi);
  background: color-mix(in srgb, var(--c) 18%, transparent);
  border-color: color-mix(in srgb, var(--c) 52%, transparent);
}
.sc-pick .sw { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }

.sc-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
@media (max-width: 940px) { .sc-body { grid-template-columns: 1fr; } }

.sc-left { padding: 24px 26px; border-right: 1px solid var(--divider); }
@media (max-width: 940px) { .sc-left { border-right: 0; border-bottom: 1px solid var(--divider); } }
.sc-right { padding: 24px 26px; }

.sc-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }

.transcript { display: flex; flex-direction: column; gap: 11px; max-height: 380px; overflow-y: auto; padding-right: 6px; }
.tline { display: flex; gap: 11px; font-size: 13.5px; line-height: 1.5; }
.tline .who {
  flex: none; width: 84px; text-align: right;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint); padding-top: 4px;
}
.tline.rep .who { color: color-mix(in srgb, var(--c1) 90%, transparent); }
.tline .txt { color: var(--muted); flex: 1; }
.tline.rep .txt { color: var(--text); }
.tline.cited .txt {
  color: var(--text-hi);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: -6px 0 0 color-mix(in srgb, var(--accent) 16%, transparent),
               6px 0 0 color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: 3px;
}

/* Predict → reveal. The prospect commits before MILO answers. */
.predict { display: flex; flex-direction: column; gap: 9px; margin: 16px 0 18px; }
.predict-opt {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px; border-radius: 13px; cursor: pointer; text-align: left;
  font-size: 13.5px; color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--hair);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.09s ease, box-shadow 0.09s ease, background var(--t-micro) ease, border-color var(--t-micro) ease;
}
.predict-opt:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--hair-2); }
.predict-opt:active { transform: translateY(3px); box-shadow: 0 0 0 transparent; }
.predict-opt .box {
  width: 19px; height: 19px; border-radius: 6px; flex: none;
  border: 1.5px solid var(--hair-2); display: grid; place-items: center;
  transition: all var(--t-micro) ease;
}
.predict-opt.picked { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.predict-opt.picked .box { background: var(--accent); border-color: var(--accent); color: var(--text-hi); }
.predict-opt.right { border-color: color-mix(in srgb, var(--pos) 55%, transparent); background: color-mix(in srgb, var(--pos) 11%, transparent); }
.predict-opt.right .box { background: var(--pos); border-color: var(--pos); color: #06110d; }
.predict-opt.miss { opacity: 0.55; }

.sc-score { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.sc-score .n { font-size: 46px; font-weight: 200; letter-spacing: -0.045em; line-height: 0.9; color: var(--text-hi); }
.sc-score .n i { font-size: 17px; font-style: normal; font-weight: 300; color: var(--faint); }

.sc-ticks { display: flex; flex-direction: column; }
.sc-tick {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 0; border-top: 1px solid var(--divider);
}
.sc-tick:first-child { border-top: 0; }
.sc-tick .mk { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.sc-tick.pos .mk { background: color-mix(in srgb, var(--pos) 20%, transparent); color: var(--pos); }
.sc-tick.warn .mk { background: color-mix(in srgb, var(--warn) 20%, transparent); color: var(--warn); }
.sc-tick.neg .mk { background: color-mix(in srgb, var(--neg) 20%, transparent); color: var(--neg); }
.sc-tick.neu .mk { background: var(--track); color: var(--faint); }
.sc-tick .lb { font-size: 13.5px; font-weight: 550; }
.sc-tick .why { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

.coach {
  margin-top: 16px; padding: 16px 18px; border-radius: var(--r-panel);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  background: linear-gradient(158deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 75%);
}
.coach + .coach { margin-top: 11px; }
.coach .t { font-size: 14px; font-weight: 650; margin-bottom: 7px; display: flex; align-items: center; gap: 9px; }
.coach .d { font-size: 13.5px; line-height: 1.55; color: var(--text); }
.coach .q { margin-top: 11px; font-size: 12.5px; }

.reveal-btn { width: 100%; margin-top: 4px; }
.sc-locked { text-align: center; padding: 30px 20px; }

/* ------------------------------------------------ section: your business -- */

.cfg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; }
.cfg {
  --c: var(--accent);
  padding: 20px 22px; border-radius: var(--r-panel);
  border: 1px solid color-mix(in srgb, var(--c) 30%, var(--hair));
  background: linear-gradient(158deg, color-mix(in srgb, var(--c) 12%, rgba(255, 255, 255, 0.02)), rgba(255, 255, 255, 0.014));
}
.cfg .hd { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.cfg .hd .ic { width: 30px; height: 30px; border-radius: var(--r-tiny); display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); flex: none; }
.cfg ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.cfg li { padding: 9px 0; border-top: 1px solid var(--divider); font-size: 13.5px; display: flex; align-items: center; gap: 10px; }
.cfg li:first-child { border-top: 0; }
.cfg li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: color-mix(in srgb, var(--c) 75%, transparent); flex: none; }

/* -------------------------------------------------- section: outcomes/ROI -- */

.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 0 44px; }
.outcome { padding: 24px 0; border-top: 1px solid var(--divider); }
.outcome .t { font-size: 16px; font-weight: 600; margin-bottom: 7px; color: var(--text-hi); letter-spacing: -0.015em; }
.outcome .d { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.roi { margin-top: 40px; border-radius: var(--r-card); border: 1px solid var(--hair-2); overflow: hidden;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.012)); }
.roi-head { padding: 22px 26px; border-bottom: 1px solid var(--divider); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.roi-body { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
@media (max-width: 900px) { .roi-body { grid-template-columns: 1fr; } }
.roi-inputs { padding: 22px 26px; border-right: 1px solid var(--divider); display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .roi-inputs { border-right: 0; border-bottom: 1px solid var(--divider); } }
.roi-out { padding: 22px 26px; }

.roi-in { display: flex; flex-direction: column; gap: 7px; }
.roi-in .top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.roi-in .val { font-size: 14px; font-weight: 650; color: var(--text-hi); }
.roi-in input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 5px; margin: 0;
  border-radius: var(--r-pill); background: var(--track); outline: none; cursor: pointer;
}
.roi-in input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg-2);
  box-shadow: 0 0 9px var(--accent-soft); cursor: grab;
}
.roi-in input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px; border-radius: 50%; background: var(--accent);
  border: 2px solid var(--bg-2); box-shadow: 0 0 9px var(--accent-soft); cursor: grab;
}

.roi-hero { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 6px; }
.roi-hero .n { font-size: clamp(42px, 6vw, 68px); font-weight: 200; letter-spacing: -0.05em; line-height: 0.9; color: var(--text-hi); }
.roi-lines { margin-top: 24px; }
.roi-line { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--divider); }
.roi-line .lb { flex: 1; font-size: 13.5px; color: var(--muted); }
.roi-line .amt { font-size: 15px; font-weight: 650; color: var(--text-hi); }
.roi-line .bar { width: 84px; flex: none; }
.roi-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--divider); font-size: 12.5px; color: var(--faint); line-height: 1.55; }

/* -------------------------------------------------------- section: scope -- */

.scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(184px, 1fr)); gap: 1px;
  background: var(--divider); border: 1px solid var(--hair); border-radius: var(--r-panel); overflow: hidden; }
.scope-cell { padding: 18px 20px; background: var(--bg-2); }
.scope-cell .v { font-size: 17px; font-weight: 600; margin-top: 6px; color: var(--text-hi); letter-spacing: -0.02em; }

.timeline { margin-top: 34px; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 12px; width: 1px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 60%, transparent), var(--divider)); }
.tl-step { position: relative; padding: 0 0 26px; }
.tl-step::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid color-mix(in srgb, var(--accent) 65%, transparent);
}
.tl-step.done::before { background: var(--pos); border-color: var(--pos); }
.tl-step .hd { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tl-step .t { font-size: 15.5px; font-weight: 600; color: var(--text-hi); }
.tl-step .d { font-size: 13.5px; color: var(--muted); margin-top: 5px; max-width: 62ch; }

/* --------------------------------------------------------- section: trust -- */

.trust-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.trust-group { border-radius: var(--r-panel); border: 1px solid var(--hair); background: var(--panel); overflow: hidden; }
.trust-group .gh { padding: 16px 20px; border-bottom: 1px solid var(--divider); display: flex; align-items: center; gap: 10px; }
.trust-group .gh .t { font-size: 13.5px; font-weight: 650; }

.qa { border-top: 1px solid var(--divider); }
.qa:first-of-type { border-top: 0; }
.qa summary {
  padding: 14px 20px; cursor: pointer; list-style: none;
  font-size: 13.5px; font-weight: 500; display: flex; align-items: center; gap: 12px;
  transition: background var(--t-micro) ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: rgba(255, 255, 255, 0.028); }
.qa summary .ch { margin-left: auto; color: var(--faint); transition: transform 0.2s var(--ease); flex: none; }
.qa[open] summary .ch { transform: rotate(90deg); }
.qa .a { padding: 0 20px 16px 44px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 12px; margin-top: 22px; }
.doc {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: var(--r-ctl); border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.03); cursor: pointer; text-decoration: none; color: inherit;
  transition: border-color var(--t-micro) ease, background var(--t-micro) ease, transform var(--t-micro) ease;
}
.doc:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 9%, transparent); transform: translateY(-1px); }
.doc .ic {
  width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center;
  color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 18%, transparent);
}
.doc .t { font-size: 13.5px; font-weight: 600; }
.doc .s { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* --------------------------------------------------------- section: proof -- */

.proof-note {
  padding: 22px 24px; border-radius: var(--r-panel);
  border: 1px solid var(--hair); border-left: 2px solid color-mix(in srgb, var(--milo-cyan) 60%, transparent);
  background: var(--panel); font-size: 15px; line-height: 1.65; color: var(--text);
}
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 22px; }
.testimonial { padding: 22px 24px; border-radius: var(--r-panel); border: 1px solid var(--hair); background: var(--panel); }
.testimonial .body { font-size: 15px; line-height: 1.6; font-style: italic; color: var(--text); }
.testimonial .who { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--divider); font-size: 12.5px; color: var(--muted); }

.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 40px; margin-bottom: 26px; }
.stat { padding: 20px 0; border-top: 1px solid var(--divider); }
.stat .n { font-size: 38px; font-weight: 200; letter-spacing: -0.045em; line-height: 1; color: var(--text-hi); }
.stat .l { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* --------------------------------------------------------- section: recap -- */

.recap-block { padding: 22px 24px; border-radius: var(--r-panel); border: 1px solid var(--hair); background: var(--panel); margin-bottom: 16px; }

.actions-list { display: flex; flex-direction: column; }
.action-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 15px 2px; border-top: 1px solid var(--divider);
}
.action-row:first-child { border-top: 0; }
.action-row .box {
  width: 20px; height: 20px; border-radius: 6px; flex: none; margin-top: 1px;
  border: 1.5px solid var(--hair-2); display: grid; place-items: center; cursor: pointer;
  transition: all var(--t-micro) ease;
}
.action-row.done .box { background: var(--pos); border-color: var(--pos); color: #06110d; }
.action-row.done .t { color: var(--muted); text-decoration: line-through; }
.action-row.locked .box { cursor: default; opacity: 0.6; }
.action-row .t { font-size: 14px; font-weight: 500; }
.action-row .d { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ------------------------------------------------------ section: decision -- */

.pricing { border-radius: var(--r-card); border: 1px solid var(--hair-2); overflow: hidden;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)); }
.pricing-head { padding: 24px 28px; border-bottom: 1px solid var(--divider); }
.price-line { display: flex; align-items: center; gap: 16px; padding: 15px 28px; border-top: 1px solid var(--divider); }
.price-line:first-of-type { border-top: 0; }
.price-line .lb { flex: 1; font-size: 14px; }
.price-line .qty { font-size: 13px; color: var(--muted); }
.price-line .amt { font-size: 15px; font-weight: 650; color: var(--text-hi); min-width: 100px; text-align: right; }
.price-total { display: flex; align-items: center; gap: 16px; padding: 20px 28px;
  background: color-mix(in srgb, var(--accent) 10%, transparent); border-top: 1px solid var(--hair-2); }
.price-total .lb { flex: 1; font-size: 14px; font-weight: 600; }
.price-total .amt { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; color: var(--text-hi); }

/* ------------------------------------------------------------- questions -- */

.qa-thread { display: flex; flex-direction: column; gap: 14px; }
.qa-item { padding: 18px 20px; border-radius: var(--r-panel); border: 1px solid var(--hair); background: var(--panel); }
.qa-item .q { font-size: 14px; color: var(--text-hi); }
.qa-item .who { font-size: 12px; color: var(--faint); margin-top: 8px; }
.qa-item .ans { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--divider); font-size: 13.5px; line-height: 1.6; color: var(--text); }
.qa-item .ans .from { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.qa-item .pending { margin-top: 12px; font-size: 12.5px; color: var(--warn); display: flex; align-items: center; gap: 8px; }

/* ---------------------------------------------------------------- modals -- */

.veil {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(4, 5, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: var(--gutter);
  animation: veilIn 0.3s ease both;
}
@keyframes veilIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  width: min(560px, 100%); max-height: 86vh; overflow-y: auto;
  padding: 32px 34px;
  border-radius: var(--r-card);
  background: linear-gradient(158deg, rgba(32, 34, 48, 0.62), rgba(11, 12, 19, 0.8));
  border: 1px solid var(--hair-2);
  box-shadow: var(--shadow-float);
  animation: flyIn 0.62s var(--ease-cine) both;
}
.modal h3 { margin-bottom: 10px; }
.modal .sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.modal-foot { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.modal-foot .spacer { flex: 1; }

/* Persona chooser */
.persona-list { display: flex; flex-direction: column; gap: 10px; }
.persona {
  --c: var(--accent);
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 15px 17px; border-radius: 15px;
  color: var(--text);
  background: color-mix(in srgb, var(--c) 8%, rgba(255, 255, 255, 0.02));
  border: 1.5px solid color-mix(in srgb, var(--c) 26%, transparent);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--c) 22%, rgba(0, 0, 0, 0.5));
  transition: transform 0.09s ease, box-shadow 0.09s ease, background var(--t-micro) ease, border-color var(--t-micro) ease;
}
.persona:hover { background: color-mix(in srgb, var(--c) 16%, rgba(255, 255, 255, 0.02)); border-color: color-mix(in srgb, var(--c) 52%, transparent); }
.persona:active { transform: translateY(3px); box-shadow: 0 0 0 transparent; }
.persona .ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 17%, transparent); }
.persona .t { font-size: 14.5px; font-weight: 600; }
.persona .d { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* Media viewer — documents open inside the room. */
.viewer { width: min(1080px, 100%); height: 86vh; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.viewer-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--divider); }
.viewer-body { flex: 1; min-height: 0; position: relative; background: rgba(0, 0, 0, 0.35); }
.viewer-body iframe, .viewer-body video { width: 100%; height: 100%; border: 0; display: block; }
.viewer-body .watermark {
  position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center;
  font-size: 46px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.05); transform: rotate(-24deg);
}

/* ---------------------------------------------------------------- floats -- */

.ask-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--text-hi);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #ffffff 12%), color-mix(in srgb, var(--accent) 80%, #16171c));
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 38%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.28s var(--ease-spring), opacity 0.28s ease, box-shadow var(--t-micro) ease;
}
.ask-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 38px color-mix(in srgb, var(--accent) 48%, transparent); }
/* Asking a question is premature on the opening screen — and it would sit on the
   hero's own call to action. It arrives once the visitor starts reading. */
.ask-fab.tucked { opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 60;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px; border-radius: var(--r-pill);
  background: rgba(12, 13, 16, 0.94); border: 1px solid var(--hair-2);
  box-shadow: var(--shadow-lift);
  font-size: 13.5px;
  animation: riseIn 0.4s var(--ease) both;
}

.recap-banner {
  margin: 0 var(--gutter) 34px;
  max-width: var(--measure);
  padding: 16px 20px; border-radius: var(--r-panel);
  border: 1px solid color-mix(in srgb, var(--milo-cyan) 32%, transparent);
  background: linear-gradient(100deg, color-mix(in srgb, var(--milo-cyan) 12%, transparent), transparent 70%);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* Internal affordance only — bottom-left so it never sits over the stage rail. */
.preview-flag {
  position: fixed; left: 14px; bottom: 14px; z-index: 80;
  padding: 5px 14px; border-radius: var(--r-pill);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #1a1408; background: var(--gold); opacity: 0.9;
}
@media (max-width: 980px) { .preview-flag { bottom: 78px; } }

/* --------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .rail {
    position: fixed; bottom: 0; left: 0; right: 0; top: auto; z-index: 50;
    height: auto; flex-direction: row; align-items: center; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-right: 0; border-top: 1px solid var(--divider);
    background: rgba(8, 9, 14, 0.93);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
  }
  .rail-brand, .rail-cust, .rail-owner { display: none; }
  /* min-width:0 is load-bearing: without it the flex item refuses to shrink below
     its content, widening the layout viewport and scrolling the whole page. */
  .rail-nav { flex: 1 1 0; min-width: 0; flex-direction: row; overflow-x: auto; gap: 6px; margin: 0; padding: 0; }
  .nav-item { white-space: nowrap; flex: none; }
  .main { padding-bottom: 100px; }
  .ask-fab { bottom: 78px; }
  .hero-facts .f { padding-right: 20px; margin-right: 20px; }
}

@media (max-width: 720px) {
  .topbar { padding: 10px 16px; gap: 10px; }
  .topbar > .chip { display: none; }   /* the meeting date lives in the hero too */
  .stagebar .st .lb { display: none; }
  .stagebar .st.now .lb { display: inline; }
}

@media (max-width: 620px) {
  .hero-facts { flex-direction: column; }
  .hero-facts .f { border-right: 0; border-bottom: 1px solid var(--divider); margin-right: 0; padding-right: 0; width: 100%; }
  .hero-facts .f:last-child { border-bottom: 0; }
  .outcomes, .statrow { grid-template-columns: 1fr; }
  .modal { padding: 26px 22px; }
}
