/* GemIQ tokens (subset) */
:root {
  --teal: #20A9B9;
  --teal-2: #12B0AF;
  --teal-soft: #E6F5F6;
  --teal-soft-2: #d3edee;
  --midnight: #1C3248;
  --midnight-2: #2a4868;
  --midnight-soft: #f1f4f8;
  --onyx: #040707;
  --ink: #0f1722;
  --muted-ink: #5b6a7d;
  --line: #e6eaf0;
  --line-2: #eef1f6;
  --facet: #ffffff;
  --bg: #fafbfc;
  --bg-2: #f4f6f9;
  --warn: #f59e0b;
  --warn-soft: #fff7e6;
  --danger: #d64545;
  --danger-soft: #fde8e8;
  --success: #1f8a5b;
  --success-soft: #e7f5ee;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(15,23,34,.04), 0 1px 3px rgba(15,23,34,.06);
  --shadow-2: 0 2px 6px rgba(15,23,34,.05), 0 8px 24px rgba(15,23,34,.08);
  --shadow-focus: 0 0 0 3px rgba(32,169,185,.25);
  --sans: 'Inter', 'Source Sans 3', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: 'Fraunces', 'Inter', serif; /* used very sparingly for hero */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

::selection { background: var(--teal); color: white; }

/* layout */
.app {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

/* sidebar */
.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  background: var(--midnight);
  color: #c8d2dd;
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.sidebar .brand {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 4px 6px 14px;
}
.sidebar .brand-mark {
  width: 96px; height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.sidebar .brand-title {
  color: white; font-weight: 700; font-size: 15px; line-height: 1.2;
}
.sidebar .brand-sub {
  font-size: 11px; color: #8da0b6; letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 2px;
}

.nav-group-label {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #6f829b; padding: 14px 10px 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #c8d2dd;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  user-select: none;
  transition: background 120ms ease, color 120ms ease;
}
.nav-item:hover { background: rgba(255,255,255,.05); color: white; }
.nav-item.active {
  background: linear-gradient(90deg, rgba(32,169,185,.18), rgba(32,169,185,.05));
  color: white;
  box-shadow: inset 2px 0 0 var(--teal);
}
.nav-item .num {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: #6f829b;
  width: 16px;
  text-align: right;
}
.nav-item.active .num { color: var(--teal); }
.nav-item svg { flex-shrink: 0; opacity: .85; }
.nav-item.active svg { color: var(--teal); opacity: 1; }

.nav-item-lg {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
}
.nav-item-lg .ni-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,.05);
  display: grid; place-items: center;
  color: #c8d2dd;
  transition: all 140ms ease;
}
.nav-item-lg.active .ni-icon {
  background: var(--teal);
  color: white;
}
.nav-item-lg:hover:not(.active) .ni-icon {
  background: rgba(255,255,255,.1);
  color: white;
}
.nav-item-lg .ni-label {
  font-size: 13.5px; font-weight: 600; color: #c8d2dd; line-height: 1.2;
}
.nav-item-lg.active .ni-label { color: white; }
.nav-item-lg .ni-sub {
  font-size: 11px; color: #6f829b; margin-top: 2px; letter-spacing: 0;
  text-transform: none;
}
.nav-item-lg.active { background: linear-gradient(90deg, rgba(32,169,185,.18), rgba(32,169,185,.04)); }

.sidebar-footer {
  margin-top: auto;
  padding: 12px 10px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 11px;
  color: #8da0b6;
  line-height: 1.5;
}

/* main */
.main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.crumb { font-size: 12px; color: var(--muted-ink); letter-spacing: 0.04em; text-transform: uppercase; }
.crumb b { color: var(--ink); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 14px; }

.search {
  flex: 1; min-width: 240px; max-width: 460px; margin-left: auto;
  position: relative;
}
.search input {
  width: 100%; height: 38px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  padding: 0 12px 0 36px;
  font: inherit; font-size: 13.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.search input:focus { border-color: var(--teal); box-shadow: var(--shadow-focus); background: white; }
.search .search-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted-ink); }
.search .kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--bg-2); color: var(--muted-ink); border: 1px solid var(--line); font-family: inherit; }

.search-results {
  position: absolute; top: 44px; left: 0; right: 0;
  background: white; border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-2);
  max-height: 420px; overflow-y: auto;
  z-index: 40;
}
.search-result {
  padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--line-2);
}
.search-result:hover { background: var(--bg); }
.search-result:last-child { border-bottom: none; }
.search-result .sr-stage { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); font-weight: 600; }
.search-result .sr-snippet { font-size: 13px; color: var(--ink); margin-top: 3px; line-height: 1.45; }
.search-result mark { background: #fff5b8; color: inherit; padding: 0 1px; border-radius: 2px; }

/* content area */
.view { padding: 36px 48px 80px; max-width: 1280px; margin: 0 auto; width: 100%; }
.view-header { margin-bottom: 28px; }
.eyebrow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.h1 { font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 6px 0 8px; color: var(--ink); }
.h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.005em; margin: 0; }
.lead { font-size: 16px; color: var(--muted-ink); max-width: 720px; }

/* primitives */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.card.flush { padding: 0; }
.card-pad { padding: 22px 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border-radius: 8px; border: 1px solid var(--line);
  background: white; color: var(--ink);
  font: inherit; font-weight: 600; font-size: 13.5px;
  cursor: pointer; transition: all 120ms ease;
  white-space: nowrap;
}
.btn:hover { background: var(--bg); }
.btn-primary { background: var(--teal); border-color: var(--teal); color: white; }
.btn-primary:hover { background: #1a96a5; border-color: #1a96a5; }
.btn-dark { background: var(--midnight); border-color: var(--midnight); color: white; }
.btn-dark:hover { background: var(--midnight-2); border-color: var(--midnight-2); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted-ink); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em;
}
.pill-teal { background: var(--teal-soft); color: #0c6f7c; }
.pill-mid { background: var(--midnight-soft); color: var(--midnight); }
.pill-warn { background: var(--warn-soft); color: #8a5300; }
.pill-success { background: var(--success-soft); color: var(--success); }
.pill-danger { background: var(--danger-soft); color: var(--danger); }
.pill-outline { background: white; border: 1px solid var(--line); color: var(--muted-ink); }

/* OVERVIEW journey */
.journey {
  display: flex; flex-wrap: wrap; gap: 0;
  background: white; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 6px;
  overflow-x: auto;
}

/* MINDSET — unified single-row panel */
.mindset-panel {
  background: linear-gradient(135deg, #1C3248 0%, #0e1c2c 100%);
  border-radius: 16px;
  padding: 20px 28px 24px;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.mindset-panel::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,169,185,.22) 0%, transparent 70%);
  pointer-events: none;
}
.mindset-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
}
.mindset-panel-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  position: relative;
}
.mindset-trait {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 8px;
  min-width: 0;
}
.mindset-trait svg { color: var(--teal); flex-shrink: 0; }
.mindset-trait-text {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: white;
}
.mindset-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
  margin: 4px 0;
}
.mindset-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 6px 4px 0;
}
.mindset-note {
  display: flex; gap: 10px; align-items: center;
}

@media (max-width: 880px) {
  .mindset-panel-row { flex-direction: column; gap: 4px; }
  .mindset-divider { display: none; }
  .mindset-trait { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .mindset-trait:last-child { border-bottom: none; }
  .mindset-trait-text { font-size: 17px; }
}

/* JOURNEY v3 — phase-grouped with arrows between */
.journey-rail-v3 {
  display: flex;
  align-items: stretch;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  overflow-x: auto;
}
.journey-phase {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}
.journey-phase > .journey-phase-steps {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 12px 6px;
  background: color-mix(in oklab, var(--phase-color) 7%, white);
  border-radius: 10px;
  position: relative;
}
.journey-phase-head {
  position: absolute;
  top: -8px; left: 18px;
  background: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--phase-color);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  border: 1px solid color-mix(in oklab, var(--phase-color) 20%, var(--line));
}
.journey-phase {
  position: relative;
  padding-top: 8px;
}
.journey-phase-arrow {
  display: flex;
  align-items: center;
  padding: 0 4px;
  color: var(--muted-ink);
  align-self: center;
}
.journey-step-v3 {
  background: transparent; border: none;
  padding: 6px 6px 4px;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  font: inherit;
  min-width: 76px;
  transition: transform 160ms ease;
}
.journey-step-v3:hover { transform: translateY(-2px); }
.journey-step-v3 .js-icon-v3 {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: white;
  border: 2px solid color-mix(in oklab, var(--phase-color) 25%, var(--line));
  display: grid; place-items: center;
  color: var(--phase-color);
  position: relative;
  transition: all 160ms ease;
}
.journey-step-v3:hover .js-icon-v3 {
  border-color: var(--phase-color);
}
.journey-step-v3.active .js-icon-v3 {
  background: var(--phase-color);
  border-color: var(--phase-color);
  color: white;
  box-shadow: 0 0 0 3px white, 0 0 0 5px var(--phase-color);
}
.journey-step-v3 .js-badge {
  position: absolute;
  top: -6px; right: -8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: white; color: var(--phase-color);
  display: grid; place-items: center;
  font-size: 9.5px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: 1.5px solid var(--phase-color);
}
.journey-step-v3.active .js-badge {
  background: white;
  color: var(--phase-color);
}
.journey-step-v3 .js-label-v3 {
  font-size: 11.5px; font-weight: 600;
  color: var(--ink); line-height: 1.2;
  text-align: center;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.journey-step-v3.active .js-label-v3 {
  color: var(--phase-color);
  font-weight: 700;
}
.journey-wrap { margin-bottom: 0; }
.journey-rail {
  position: relative;
  padding: 28px 8px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 4px;
  overflow-x: auto;
}
.journey-line {
  position: absolute;
  left: 4%; right: 4%; top: 56px;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0, var(--line) 6px, transparent 6px, transparent 12px);
  pointer-events: none;
  z-index: 0;
}
.journey-step-v2 {
  position: relative;
  background: transparent;
  border: none;
  padding: 8px 4px 12px;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  font: inherit;
  z-index: 1;
  transition: transform 160ms ease;
  min-width: 0;
}
.journey-step-v2:hover { transform: translateY(-2px); }
.journey-step-v2 .js-icon-v2 {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--line);
  display: grid; place-items: center;
  color: var(--muted-ink);
  position: relative;
  transition: all 160ms ease;
}
.journey-step-v2:hover .js-icon-v2 {
  border-color: var(--phase-color, var(--teal));
  color: var(--phase-color, var(--teal));
}
.journey-step-v2.active .js-icon-v2 {
  background: var(--phase-color, var(--teal));
  border-color: var(--phase-color, var(--teal));
  color: white;
  box-shadow: 0 0 0 4px white, 0 0 0 6px var(--phase-color, var(--teal));
}
.journey-step-v2 .js-badge {
  position: absolute;
  top: -6px; right: -8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--midnight); color: white;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: 2px solid white;
}
.journey-step-v2.active .js-badge {
  background: var(--phase-color, var(--teal));
}
.journey-step-v2 .js-label-v2 {
  font-size: 11.5px; font-weight: 600;
  color: var(--ink); line-height: 1.2;
  text-align: center;
  letter-spacing: -0.005em;
  max-width: 100%;
}
.journey-step-v2.active .js-label-v2 { color: var(--phase-color, var(--teal)); font-weight: 700; }
.journey-step-v2 .js-phase-tag {
  position: absolute;
  top: -14px; left: 0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--phase-color, var(--muted-ink));
}

/* anchors strip for pricing */
.anchors {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 0 0 28px;
  margin-bottom: 0;
}
.anchor {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 140ms ease;
}
.anchor:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}
.anchor svg { color: var(--teal); }

.path-divider {
  margin: 28px 0;
  display: flex; align-items: center; gap: 14px;
}
.path-divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.journey-step {
  flex: 1; min-width: 130px;
  padding: 14px 12px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
  font: inherit;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  color: var(--ink);
  transition: background 140ms ease;
}
.journey-step:hover { background: var(--bg); }
.journey-step .js-num {
  font-size: 11px; color: var(--muted-ink); font-variant-numeric: tabular-nums;
}
.journey-step .js-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid; place-items: center;
}
.journey-step .js-label {
  font-size: 13px; font-weight: 600; line-height: 1.25;
}
.journey-step:not(:last-child)::after {
  content: ''; position: absolute; right: -6px; top: 50%;
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--line);
  border-top: 1.5px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  opacity: 0.5;
}

/* card grid */
.card-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.shortcut-card {
  display: block; padding: 22px 22px 18px; cursor: pointer; transition: all 140ms ease;
  text-align: left; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.shortcut-card:hover { box-shadow: 0 4px 12px rgba(15,23,34,0.08); border-color: #d6dbe3; transform: translateY(-1px); }
.shortcut-card .sc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal);
  margin-bottom: 14px;
}
.shortcut-card.dark .sc-icon { background: var(--midnight-soft); color: var(--midnight); }
.shortcut-card.warn .sc-icon { background: var(--warn-soft); color: #8a5300; }
.shortcut-card.danger .sc-icon { background: var(--danger-soft); color: var(--danger); }
.shortcut-card .sc-title { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.shortcut-card .sc-desc { font-size: 13px; color: var(--muted-ink); line-height: 1.45; margin: 0; }
.shortcut-card .sc-arrow { margin-top: 14px; font-size: 12px; color: var(--teal); font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* mindset bar */
.mindset {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mindset-pill {
  background: var(--midnight); color: white;
  padding: 14px 18px; border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
}
.mindset-pill .mp-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(32,169,185,.25); color: var(--teal);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.mindset-pill .mp-text { font-weight: 600; font-size: 14px; }

/* compare table */
.compare-grid {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 280px;
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-grid > .ch {
  padding: 14px 18px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-ink); font-weight: 600;
  position: sticky; top: 64px; z-index: 5;
}
.compare-grid > .ch.new { color: var(--teal); }
.compare-grid > .ch.exist { color: var(--midnight); }
.compare-row {
  display: contents;
}
.compare-row > div {
  padding: 18px 18px;
  border-bottom: 1px solid var(--line-2);
  font-size: 13.5px;
  vertical-align: top;
}
.compare-row:last-child > div { border-bottom: none; }
.compare-row > .stage-cell {
  background: var(--bg);
  border-right: 1px solid var(--line);
}
.compare-row > .stage-cell .stage-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: white; border: 1px solid var(--line);
  color: var(--teal);
  display: grid; place-items: center;
  margin-bottom: 8px;
}
.compare-row > .stage-cell .stage-name {
  font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.compare-row > .stage-cell .stage-meta {
  font-size: 11px; color: var(--muted-ink); margin-top: 4px;
}
.compare-row > .new-cell { background: white; border-right: 1px solid var(--line-2); border-left: 3px solid var(--teal); }
.compare-row > .new-cell.empty { background: repeating-linear-gradient(45deg, transparent, transparent 8px, var(--bg) 8px, var(--bg) 12px); border-left-color: var(--line); }
.compare-row > .exist-cell { background: white; border-right: 1px solid var(--line-2); border-left: 3px solid var(--midnight); }
.compare-row > .exist-cell.empty { background: repeating-linear-gradient(45deg, transparent, transparent 8px, var(--bg) 8px, var(--bg) 12px); border-left-color: var(--line); }
.compare-row > .notes-cell { background: var(--bg); font-size: 12.5px; color: var(--muted-ink); }

/* script blocks */
.script-block { display: flex; flex-direction: column; gap: 14px; }
.bullet-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bullet-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.5;
}
.bullet-list li::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); margin-top: 8px;
}
.exist-cell .bullet-list li::before { background: var(--midnight); }

.say {
  background: white; border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink);
  position: relative;
}
.exist-cell .say { border-left-color: var(--midnight); }
.say .say-label {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); font-weight: 700;
  margin-bottom: 6px;
}
.exist-cell .say .say-label { color: var(--midnight); }

.stage-direction {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-2);
  color: var(--midnight);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 7px;
  font-style: italic;
}
.stage-direction svg { color: var(--teal); flex-shrink: 0; }

.tonality {
  background: linear-gradient(135deg, #fff3cd, #ffe2a8);
  border: 1px solid #f0d171;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.tonality-label {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 800; color: #8a5300;
  margin-bottom: 4px;
}
.tonality-text {
  font-size: 14px; font-weight: 700; color: #6b3f00;
  line-height: 1.4;
}

/* demo mode */
.demo-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}
.demo-stages {
  background: white; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 12px;
  position: sticky; top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.demo-stages h4 { margin: 6px 8px 8px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-ink); }
.demo-stage-item {
  padding: 10px 12px;
  border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.demo-stage-item:hover { background: var(--bg); }
.demo-stage-item.active { background: var(--teal-soft); color: #0c6f7c; font-weight: 600; }
.demo-stage-item.done { color: var(--muted-ink); }
.demo-stage-item .num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-2); color: var(--muted-ink);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.demo-stage-item.active .num { background: var(--teal); color: white; }
.demo-stage-item.done .num { background: var(--success-soft); color: var(--success); }

.demo-main { min-width: 0; }
.demo-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.demo-header .step-num {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--midnight); color: var(--teal);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700;
}
.demo-header .step-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.demo-header .step-meta { font-size: 13px; color: var(--muted-ink); margin-top: 2px; }

.demo-mode-toggle {
  display: flex; align-items: center; gap: 0;
  background: var(--bg-2); border-radius: 8px; padding: 3px;
  border: 1px solid var(--line);
}
.demo-mode-toggle button {
  border: none; background: transparent; font: inherit;
  padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--muted-ink);
  border-radius: 6px; cursor: pointer;
}
.demo-mode-toggle button.active { background: white; color: var(--ink); box-shadow: var(--shadow-1); }

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
}
.demo-grid.full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1320px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
}
.demo-card-large {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  min-height: 200px;
}
.demo-side { display: flex; flex-direction: column; gap: 14px; }
.demo-side-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.demo-side-card h5 {
  margin: 0 0 10px; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-ink); font-weight: 700;
  display: flex; align-items: center; gap: 7px;
}
.demo-side-card .checks { display: flex; flex-direction: column; gap: 8px; }
.demo-side-card .check-row {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; line-height: 1.4;
  cursor: pointer;
  padding: 3px 0;
}
.check-box {
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--line);
  flex-shrink: 0; margin-top: 1px;
  display: grid; place-items: center;
  background: white;
  transition: all 120ms;
}
.check-row.checked .check-box {
  background: var(--teal); border-color: var(--teal); color: white;
}
.check-row.checked .check-label { color: var(--muted-ink); text-decoration: line-through; }
.check-label { font-size: 13px; color: var(--ink); }

.demo-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.demo-progress {
  height: 6px; background: var(--bg-2); border-radius: 6px;
  margin-top: 18px; overflow: hidden;
}
.demo-progress-bar { height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-2)); border-radius: 6px; transition: width 300ms; }

.script-stream { display: flex; flex-direction: column; gap: 14px; }
.stream-row.say-row {
  background: white; border: 1px solid var(--line); border-left: 3px solid var(--teal);
  border-radius: 10px; padding: 14px 18px;
  font-size: 16px; line-height: 1.55;
}
.stream-row.do-row {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 9px;
  background: var(--midnight); color: white;
  padding: 9px 14px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; font-style: italic;
}
.stream-row.do-row svg { color: var(--teal); }
.stream-row.tone-row {
  background: linear-gradient(135deg, #fff3cd, #ffe2a8);
  border: 1px solid #f0d171;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.stream-row.tone-row .tonality-text { font-size: 15px; }
.stream-row.trial-row {
  background: var(--teal); color: white;
  border-radius: 10px; padding: 14px 18px;
  font-size: 15.5px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}

/* decision tree */
.tree {
  display: flex; flex-direction: column; gap: 24px; align-items: stretch;
}
.tree-node {
  background: white; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  position: relative;
}
.tree-node.q { background: var(--midnight); color: white; border-color: var(--midnight); }
.tree-node.q .tn-label { color: var(--teal); }
.tree-node.outcome { background: var(--teal-soft); border-color: var(--teal-soft-2); }
.tree-node .tn-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: white; color: var(--teal);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.tree-node.q .tn-icon { background: rgba(32,169,185,.2); color: white; }
.tree-node .tn-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-ink); font-weight: 700; }
.tree-node .tn-text { font-size: 15px; font-weight: 600; margin-top: 2px; }
.tree-branches {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  position: relative;
}
@media (max-width: 900px) {
  .tree-branches { grid-template-columns: 1fr; }
  .tree-branches::before { display: none; }
}
.tree-branches::before {
  content: ''; position: absolute;
  top: -16px; left: 25%; right: 25%; height: 2px;
  background: var(--line);
}
.tree-branch { position: relative; }
.tree-branch::before {
  content: ''; position: absolute;
  top: -16px; left: 50%;
  width: 2px; height: 16px;
  background: var(--line);
}
.tree-branch-label {
  position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
  background: white; border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: var(--muted-ink);
  letter-spacing: 0.06em;
}
.tree-branch-label.yes { color: var(--success); border-color: var(--success-soft); background: var(--success-soft); }
.tree-branch-label.no { color: var(--danger); border-color: var(--danger-soft); background: var(--danger-soft); }

/* pricing */
.price-card {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 6px 20px rgba(32,169,185,.15);
}
.price-card.dark { background: var(--midnight); color: white; border-color: var(--midnight); }
.price-card.dark .pc-strike { color: #8da0b6; }
.price-card.dark .pc-show-price { color: white; }
.price-card.dark .pc-meta { color: #c8d2dd; }

.pc-tag {
  position: absolute; top: -10px; left: 22px;
  background: var(--teal); color: white;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
.pc-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.pc-meta { font-size: 12px; color: var(--muted-ink); }
.pc-prices { display: flex; align-items: baseline; gap: 8px; }
.pc-show-price { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pc-strike { font-size: 16px; text-decoration: line-through; color: var(--muted-ink); }
.pc-save { font-size: 12px; font-weight: 700; color: var(--success); background: var(--success-soft); padding: 3px 8px; border-radius: 6px; }
.pc-includes { font-size: 13px; color: var(--muted-ink); line-height: 1.55; border-top: 1px solid var(--line); padding-top: 14px; }
.price-card.dark .pc-includes { border-top-color: rgba(255,255,255,.1); }
.pc-script {
  background: var(--bg);
  border-left: 3px solid var(--teal);
  padding: 12px 14px;
  font-size: 13px; line-height: 1.55;
  border-radius: 6px;
  color: var(--ink);
  font-style: normal;
}
.price-card.dark .pc-script { background: rgba(255,255,255,.05); color: white; border-left-color: var(--teal); }

/* objection conversation */
.obj-thread { display: flex; flex-direction: column; gap: 12px; }
.bubble {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
}
.bubble.customer {
  background: var(--bg-2);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.bubble.sales {
  background: var(--teal);
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.bubble.action {
  align-self: flex-end;
  background: var(--midnight); color: white;
  border-bottom-right-radius: 4px;
  font-size: 13px;
  font-style: italic;
}
.bubble-label {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 4px;
  opacity: 0.7;
}
.offer-pill {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; padding: 4px 10px;
  background: rgba(255,255,255,.18); border-radius: 999px;
  font-size: 11px; font-weight: 700;
}

/* signals */
.signals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.signal-panel {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}
.signal-panel.warn { border-color: #f0d171; background: linear-gradient(180deg, #fff8e6 0%, #ffffff 50%); }
.signal-panel.good { border-color: #b5dbc6; background: linear-gradient(180deg, #effaf3 0%, #ffffff 50%); }
.signal-panel .sp-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.signal-panel .sp-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
}
.signal-panel.warn .sp-icon { background: var(--warn-soft); color: var(--warn); }
.signal-panel.good .sp-icon { background: var(--success-soft); color: var(--success); }
.signal-panel .sp-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.signal-panel .sp-sub { font-size: 12px; color: var(--muted-ink); }
.signal-list { display: flex; flex-direction: column; gap: 10px; }
.signal-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px;
  background: white; border: 1px solid var(--line-2);
  border-radius: 8px;
  font-size: 13.5px; line-height: 1.45;
}
.signal-item .si-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--warn); margin-top: 7px; flex-shrink: 0;
}
.signal-panel.good .signal-item .si-dot { background: var(--success); }

/* FAQ */
.faq-q { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.faq-a { font-size: 15px; color: var(--ink); line-height: 1.6; }
.faq-stage { background: var(--teal); color: white; display: inline-flex; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; margin-top: 12px; }

/* ===== Objection library ===== */
.obj-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 14px;
}
.obj-cat {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.obj-cat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.obj-cat-items { display: flex; flex-direction: column; gap: 8px; }
.obj-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fafbfc;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.obj-item.starred {
  background: var(--warn-soft);
  border-left: 3px solid #f0b830;
}
.obj-star { flex-shrink: 0; font-size: 12px; line-height: 1.5; }
.obj-item-text { flex: 1; }

/* Trial Close / Close lists */
.obj-list { display: flex; flex-direction: column; gap: 8px; }
.obj-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-soft-2);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.obj-list-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 8px;
  flex-shrink: 0;
}

/* Urgency / Scarcity pair */
.obj-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.obj-pair-card {
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.obj-pair-card.urgency {
  background: linear-gradient(180deg, #fff8e6 0%, #ffffff 60%);
  border-color: #f0d171;
}
.obj-pair-card.scarcity {
  background: linear-gradient(180deg, #fef1f2 0%, #ffffff 60%);
  border-color: #f5b5bc;
}
.obj-pair-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8a5300;
  margin-bottom: 8px;
}
.obj-pair-card.scarcity .obj-pair-label { color: #a02a3a; }
.obj-pair-text { font-size: 13.5px; line-height: 1.6; color: var(--ink); }

/* Inline quoted rebuttal */
.obj-quote {
  border-left: 3px solid var(--teal);
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
}

/* responsive */
@media (max-width: 1100px) {
  .compare-grid { grid-template-columns: 180px 1fr 1fr 220px; }
  .demo-shell { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .signals-grid { grid-template-columns: 1fr; }
  .obj-library { grid-template-columns: 1fr; }
  .obj-pair { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; }
  .view { padding: 24px 20px 60px; }
  .h1 { font-size: 28px; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-row > div { border-right: none !important; border-left: none !important; }
  .mindset { grid-template-columns: 1fr; }
}
