:root {
  /* OmniTek 80s Style Palette */
  --bg: #f8fafc;
  --bg-deep: #f1f5f9;
  --paper: rgba(255, 255, 255, 0.88);
  --paper-strong: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: rgba(15, 23, 42, 0.12);

  --brand: #0891b2;
  --brand-soft: #38bdf8;
  --accent: #db2777;
  --accent-soft: #f472b6;
  --warm: #1e1e2f;
  --pink: #db2777;
  --risk: #94a3b8;
  --value: #64748b;

  --shadow-lg: 0 18px 38px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 18px rgba(15, 23, 42, 0.05);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1420px;
  --rail-width: 206px;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Outfit", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(8, 145, 178, 0.3), transparent 24%), transparent 26%), transparent 22%),
    linear-gradient(180deg, #fff8ef 0%, var(--bg) 58%, var(--bg-deep) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 20%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 38%, transparent 62%, rgba(255, 255, 255, 0.22));
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--brand);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.story-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 50;
  backdrop-filter: blur(14px);
}

.story-progress__fill {
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--brand), var(--brand-soft), var(--accent), var(--warm));
  box-shadow: 0 0 24px rgba(219, 39, 119, 0.26);
}

.story-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.story-background__mesh {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.75;
  will-change: transform;
}

.mesh-a {
  width: 420px;
  height: 420px;
  top: 9%;
  left: -8%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.34), rgba(8, 145, 178, 0));
}

.mesh-b {
  width: 420px;
  height: 420px;
  top: -2%;
  right: -8%;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.25), rgba(219, 39, 119, 0));
}

.mesh-c {
  width: 520px;
  height: 520px;
  right: 6%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0));
}

.story-background__grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(8, 145, 178, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 39, 119, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: var(--paper-strong);
}

.story-rail {
  position: fixed;
  top: 28px;
  right: 22px;
  z-index: 45;
  width: var(--rail-width);
  padding: 14px 12px 12px;
  border-radius: 24px;
  background:
    var(--paper-strong),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  overflow: auto;
  max-height: calc(100vh - 56px);
}

.story-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(219, 39, 119, 0.1), transparent 34%), transparent 34%);
  pointer-events: none;
}

.story-rail__brand,
.story-rail__current {
  display: grid;
  gap: 6px;
}

.story-rail__brand {
  gap: 4px;
  margin-bottom: 12px;
}

.story-rail__label,
.story-rail__eyebrow,
.micro-label,
.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.story-rail__label,
.story-rail__eyebrow,
.micro-label {
  color: var(--ink-soft);
}

.story-rail__nav {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-left: 12px;
}

.story-rail__nav::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0.3;
}

.story-dot {
  position: relative;
  width: 100%;
  min-height: 32px;
  border: 0;
  padding: 6px 8px 6px 14px;
  border-radius: 14px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.28);
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  text-align: left;
  transition:
    transform 180ms var(--ease-out-quart),
    background 180ms var(--ease-out-quart),
    opacity 180ms var(--ease-out-quart),
    box-shadow 180ms var(--ease-out-quart);
}

.story-dot:hover,
.story-dot.is-active {
  transform: translateX(-2px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.06),
    0 10px 18px rgba(15, 23, 42, 0.06);
}

.story-dot::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 7px;
  bottom: 7px;
  width: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.story-dot.is-active::after,
.story-dot:hover::after {
  background: var(--brand);
}

.story-dot__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.story-dot.is-active .story-dot__num,
.story-dot:hover .story-dot__num {
  color: #fff;
  background: var(--brand);
}

.story-dot__label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 140px;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
  transition: color 160ms var(--ease-out-quart);
}

.story-dot:hover .story-dot__label,
.story-dot.is-active .story-dot__label {
  max-width: 140px;
  opacity: 1;
}

.story-dot.is-active .story-dot__label {
  color: var(--ink);
}

/* Brand stays full-opacity for the entire deck — no fade after chapter 1. */
.story-rail.is-condensed .story-rail__brand {
  opacity: 1;
}

.story {
  position: relative;
  z-index: 1;
}

.chapter {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6vh 28px;
}

.chapter__inner {
  position: relative;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-xl);
  background:
    var(--paper-strong), transparent 24%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-lg);
  overflow: clip;
  isolation: isolate;
}

.chapter__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(8, 145, 178, 0.14), transparent 24%), transparent 18%), transparent 20%);
  z-index: 0;
  pointer-events: none;
}

.chapter__inner::after {
  content: "";
  position: absolute;
  inset: 22px auto auto 22px;
  width: min(34vw, 460px);
  height: 1px;
  background: linear-gradient(90deg, rgba(8, 145, 178, 0.46), rgba(219, 39, 119, 0.3), transparent 82%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.chapter__inner--short {
  min-height: 72vh;
}

.chapter__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  min-height: 100%;
  align-content: center;
}

.chapter__decor {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.65;
  pointer-events: none;
  will-change: transform;
}

.deco-orb {
  width: 240px;
  height: 240px;
  top: -80px;
  right: -40px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.18), transparent 72%);
}

.deco-ribbon {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.16), transparent 72%);
}

.hero-layout,
.two-col,
.split-layout,
.split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.stack-layout {
  align-content: start;
}

.appendix-layout {
  align-content: start;
}

.hero-layout {
  gap: 26px;
}

.stack,
.reveal-sequence,
.section-heading,
.panel,
.metric-panel,
.problem-card,
.flow-card,
.signal-card,
.model-card,
.principle-card,
.roadmap-card,
.package-card,
.appendix-card {
  display: grid;
  gap: 14px;
}

.section-heading {
  max-width: min(100%, 760px);
}

.wordmark,
.wordmark-mini {
  display: inline-flex;
  gap: 2px;
  font-family: var(--font-display);
  letter-spacing: -0.06em;
  line-height: 1;
}

.wordmark {
  font-size: clamp(34px, 5vw, 70px);
}

.wordmark-mini {
  font-size: 24px;
}

.wordmark-omni {
  color: transparent;
  background: linear-gradient(135deg, #0891b2 0%, #8b5cf6 50%, #db2777 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.wordmark-tek {
  color: transparent;
  background: linear-gradient(135deg, #db2777 0%, #8b5cf6 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
}

h1,
h2,
h3,
strong,
blockquote {
  margin: 0;
  font-family: var(--font-display);
}

h1,
h2 {
  letter-spacing: -0.05em;
  line-height: 0.96;
}

h1 {
  max-width: 9.4ch;
  font-size: clamp(46px, 6vw, 94px);
}

h2 {
  max-width: 12ch;
  font-size: clamp(34px, 4.4vw, 66px);
}

h3 {
  font-size: clamp(19px, 1.5vw, 24px);
  letter-spacing: -0.03em;
}

p,
li,
text {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.48;
}

.lead {
  max-width: 52ch;
  font-size: clamp(18px, 1.35vw, 21px);
  color: #41545c;
}

.section-copy {
  max-width: 54ch;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.chip--brand {
  color: #7e215e;
  background: linear-gradient(90deg, rgba(219, 39, 119, 0.14), rgba(59, 130, 246, 0.12));
  border-color: rgba(219, 39, 119, 0.14);
}

.chip--value {
  color: #0a7a5a;
  background: rgba(100, 116, 139, 0.12);
  border-color: rgba(100, 116, 139, 0.16);
}

.chip--risk {
  color: #334155;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(200, 108, 56, 0.16);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-head h3 {
  font-size: inherit;
}

.icon {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand);
  background: rgba(8, 145, 178, 0.1);
  border: 1px solid rgba(8, 145, 178, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.icon-badge--brand {
  color: var(--brand);
  background: rgba(8, 145, 178, 0.1);
  border-color: rgba(8, 145, 178, 0.14);
}

.icon-badge--accent {
  color: var(--accent);
  background: rgba(219, 39, 119, 0.1);
  border-color: rgba(219, 39, 119, 0.14);
}

.icon-badge--value {
  color: var(--value);
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.14);
}

.icon-badge--warm {
  color: var(--warm);
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.14);
}

.panel,
.metric-panel,
.problem-card,
.flow-card,
.model-card,
.principle-card,
.roadmap-card,
.appendix-card,
.package-card,
.signal-card {
  position: relative;
  padding: 20px;
  border-radius: 28px;
  background:
    var(--paper-strong), transparent 30%), transparent 32%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 44px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  isolation: isolate;
}

.panel::before,
.metric-panel::before,
.problem-card::before,
.flow-card::before,
.model-card::before,
.principle-card::before,
.roadmap-card::before,
.appendix-card::before,
.package-card::before,
.signal-card::before,
.decision-item::before,
.loop-list__item::before,
.ladder-step::before,
.board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 30%), transparent 22%);
  z-index: 0;
}

.panel > *,
.metric-panel > *,
.problem-card > *,
.flow-card > *,
.model-card > *,
.principle-card > *,
.roadmap-card > *,
.appendix-card > *,
.package-card > *,
.signal-card > *,
.decision-item > *,
.loop-list__item > *,
.ladder-step > *,
.board > * {
  position: relative;
  z-index: 1;
}

.panel {
  align-content: start;
}

.panel__intro {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.panel__intro h2 {
  max-width: 10.5ch;
  font-size: clamp(28px, 3.15vw, 50px);
}

.panel--scene {
  grid-template-rows: auto minmax(320px, 1fr) auto;
}

.orbital-stage {
  position: relative;
  min-height: 360px;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 50% 50%, rgba(219, 39, 119, 0.12), transparent 18%), transparent 3.8%), transparent 3.8%), transparent 3.4%), transparent 3.8%), transparent 48%), transparent 48%),
    var(--paper-strong);
  overflow: hidden;
}

.orbital-stage::before,
.orbital-stage::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  pointer-events: none;
}

.orbital-stage::before {
  width: 58%;
  height: 58%;
  left: 21%;
  top: 21%;
}

.orbital-stage::after {
  width: 36%;
  height: 36%;
  left: 32%;
  top: 32%;
  opacity: 0.7;
}

.orbital-stage canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.scene-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.scene-signals .signal-card strong {
  font-size: clamp(18px, 1.32vw, 21px);
}

.signal-card strong,
.metric-panel strong,
.problem-card h3,
.flow-card h3,
.principle-card h3,
.package-card h3 {
  color: var(--ink);
}

.problem-list,
.model-stack,
.decision-list,
.appendix-grid,
.plain-list,
.loop-list {
  display: grid;
  gap: 14px;
}

.model-stack,
.decision-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-card:last-child {
  grid-column: span 2;
}

.loop-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-card {
  grid-template-columns: auto 1fr;
  align-items: start;
  min-height: 168px;
}

.problem-card__index,
.flow-card__step {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.16), rgba(219, 39, 119, 0.14));
}

.wedge-scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wedge-score {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 33, 43, 0.12);
  background: var(--paper-strong);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wedge-score:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 106, 161, 0.2);
  box-shadow: var(--shadow-float);
}

.wedge-score__ring {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--paper-strong) 0 54%, transparent 55%),
    conic-gradient(from -90deg, var(--tone) 0 var(--pct), rgba(24, 33, 43, 0.08) var(--pct) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 8px 16px rgba(24, 33, 43, 0.04);
}

.wedge-score__ring span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.wedge-score strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.chart-panel {
  align-content: start;
}

.slope-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-axis {
  stroke: rgba(15, 23, 42, 0.12);
  stroke-width: 2;
}

.draw-line {
  fill: none;
  stroke: url(#slopeGradient);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-node {
  fill: #fff7f1;
  stroke: #db2777;
  stroke-width: 4;
}

.draw-line--brand {
  stroke: var(--brand);
}

.draw-line--warm {
  stroke: var(--warm);
}

.draw-line--value {
  stroke: var(--value);
}

.axis-label,
.slope-chart text {
  fill: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.caption-stack {
  display: grid;
  gap: 14px;
}

.bar-stack,
.revenue-bars {
  display: grid;
  gap: 14px;
}

.bar-row,
.revenue-row {
  display: grid;
  gap: 8px;
}

.bar-row {
  grid-template-columns: 112px 1fr;
  align-items: center;
}

.bar-row span:first-child,
.revenue-row__top,
.decision-item strong {
  font-family: var(--font-display);
  color: var(--ink);
}

.bar,
.story-dot,
.loop-list__item,
.task-chip,
.waterfall__layer {
  transform: translateZ(0);
}

.bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.08);
}

.bar > span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-soft));
}

.bar--brand > span,
.bar .is-brand {
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.bar--value > span {
  background: linear-gradient(90deg, #1bc28d, #38bdf8);
}

.bar--accent > span {
  background: linear-gradient(90deg, var(--accent), var(--warm));
}

.panel--board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.board {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.board__head {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.task-chip {
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(24, 33, 43, 0.12);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.task-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(24, 33, 43, 0.05);
}

.task-chip--risk {
  background: #f1f5f9;
  border-color: rgba(100, 116, 139, 0.2);
  color: #64748b;
}

.task-chip--value {
  background: #f0f9ff;
  border-color: rgba(8, 145, 178, 0.2);
  color: #0891b2;
}

.flow-grid,
.principle-grid,
.roadmap-grid,
.appendix-grid {
  display: grid;
  gap: 16px;
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principle-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.panel--rules-visual {
  display: grid;
  align-content: start;
  gap: 18px;
}

.rules-layout .principle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rules-compass {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 8px auto 0;
  border-radius: 50%;
  border: 1px dashed rgba(15, 23, 42, 0.12);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.54), transparent 48%),
    conic-gradient(from 160deg, rgba(8, 145, 178, 0.12), rgba(219, 39, 119, 0.08), rgba(59, 130, 246, 0.12), rgba(100, 116, 139, 0.12), rgba(8, 145, 178, 0.12));
}

.rules-compass::before,
.rules-compass::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(15, 23, 42, 0.08);
}

.rules-compass::before {
  inset: 16% 16%;
}

.rules-compass::after {
  inset: 32% 32%;
}

.rules-compass__core,
.rules-compass__node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  font-family: var(--font-display);
}

.rules-compass__core {
  width: 130px;
  height: 130px;
  inset: calc(50% - 65px);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.18), rgba(219, 39, 119, 0.16), rgba(59, 130, 246, 0.16));
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.rules-compass__node {
  width: 120px;
  min-height: 82px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-md);
  color: var(--ink-soft);
}

.rules-compass__node--a { top: 4%; left: calc(50% - 60px); }
.rules-compass__node--b { top: calc(50% - 42px); right: -2%; }
.rules-compass__node--c { bottom: 4%; left: calc(50% - 60px); }
.rules-compass__node--d { top: calc(50% - 42px); left: -2%; }

.roadmap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.roadmap-grid {
  position: relative;
  align-items: stretch;
}

.roadmap-grid::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8, 145, 178, 0.18), rgba(219, 39, 119, 0.24), rgba(59, 130, 246, 0.18));
  pointer-events: none;
}

.appendix-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-card {
  position: relative;
  min-height: 220px;
}

.flow-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.flow-card:last-child::after {
  display: none;
}

.panel--journey {
  gap: 22px;
}

.journey-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  padding: 16px 0;
}

.journey-stage__rail {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 46%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8, 145, 178, 0.18), rgba(219, 39, 119, 0.24), rgba(59, 130, 246, 0.2));
}

.journey-stage__pulse {
  position: absolute;
  top: calc(46% - 7px);
  left: 8%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent), var(--warm));
  box-shadow: 0 0 24px rgba(219, 39, 119, 0.34);
}

.journey-stop {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.journey-stop strong {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.4vw, 24px);
  color: var(--ink);
}

.journey-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.journey-metric {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    var(--paper-strong), transparent 30%);
}

.journey-metric strong {
  font-size: clamp(24px, 2vw, 34px);
  letter-spacing: -0.05em;
}

.waterfall {
  display: grid;
  gap: 12px;
}

.waterfall__layer {
  padding: 16px 18px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.waterfall__layer--hidden {
  background: rgba(15, 23, 42, 0.06);
  color: var(--ink-soft);
}

.waterfall__layer--shown {
  background: linear-gradient(90deg, rgba(8, 145, 178, 0.14), rgba(8, 145, 178, 0.14));
  color: var(--ink);
}

.surface-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.surface-stack__lane {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.surface-stack__lane--frontstage {
  background:
    var(--paper-strong),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.surface-stack__label {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.surface-stack__card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.surface-stack__card strong {
  font-size: clamp(17px, 1.2vw, 20px);
  color: var(--ink);
}

.surface-stack__card--muted {
  background: rgba(15, 23, 42, 0.05);
}

.surface-stack__card--bright {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.package-card + .package-card {
  margin-top: 6px;
}

.package-card p,
.appendix-card p,
.model-card strong,
.principle-card p,
.decision-item p {
  max-width: 30ch;
}

.ladder {
  display: grid;
  gap: 14px;
}

.ladder-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 24px;
  background:
    var(--paper-strong), transparent 28%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.ladder-step span:first-child {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.16), rgba(59, 130, 246, 0.18));
  font-family: var(--font-display);
  color: var(--ink);
}

.panel--market {
  align-content: center;
}

.market-map,
.revenue-orbit {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px dashed rgba(15, 23, 42, 0.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.52), transparent 44%),
    conic-gradient(from 180deg, rgba(8, 145, 178, 0.12), rgba(219, 39, 119, 0.08), rgba(59, 130, 246, 0.12), rgba(8, 145, 178, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.market-map::before,
.market-map::after,
.revenue-orbit::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(15, 23, 42, 0.08);
}

.market-map::before {
  inset: 18% 18%;
}

.market-map::after {
  inset: 34% 34%;
}

.revenue-orbit::before {
  inset: 20% 20%;
}

.market-map__core,
.market-map__node,
.revenue-orbit__core,
.revenue-orbit__node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  border-radius: 999px;
}

.market-map__core,
.revenue-orbit__core {
  width: 144px;
  height: 144px;
  inset: calc(50% - 72px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--ink);
}

.market-map__core {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.18), rgba(219, 39, 119, 0.16), rgba(59, 130, 246, 0.16));
}

.revenue-orbit__core {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(219, 39, 119, 0.12), rgba(8, 145, 178, 0.14));
}

.market-map__node,
.revenue-orbit__node {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-md);
  color: var(--ink-soft);
}

.market-map__node {
  width: 104px;
  height: 104px;
}

.revenue-orbit__node {
  width: 110px;
  height: 110px;
}

.market-map__node--a { top: 4px; left: calc(50% - 52px); }
.market-map__node--b { right: 0; top: calc(50% - 52px); }
.market-map__node--c { bottom: 6px; left: calc(50% - 52px); }

.revenue-orbit__node--a { top: 8px; left: calc(50% - 55px); }
.revenue-orbit__node--b { bottom: 12px; left: 6px; }
.revenue-orbit__node--c { bottom: 12px; right: 6px; }

.channel-bars {
  display: grid;
  gap: 10px;
  margin: 14px 0 10px;
}

.channel-bars__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
}

.channel-bars__row span {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 14px;
}

.channel-bars__track,
.decision-dashboard__track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.08);
}

.channel-bars__track i,
.decision-dashboard__track i {
  display: block;
  width: var(--pct);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tone), color-mix(in srgb, var(--tone) 46%, white));
}

.roadmap-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rollout-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  padding: 10px 0 4px;
}

.rollout-strip::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(8, 145, 178, 0.18), rgba(219, 39, 119, 0.24), rgba(59, 130, 246, 0.2));
}

.rollout-strip span {
  position: relative;
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background:
    var(--paper-strong), transparent 30%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  z-index: 1;
}

.revenue-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.revenue-chart .draw-line {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    var(--paper-strong), transparent 28%);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.logo-pill--anthropic { color: #1b3c46; }
.logo-pill--openai { color: #0e7a61; }
.logo-pill--google { color: #2962ff; }
.logo-pill--supabase { color: #14865c; }
.logo-pill--github { color: #1f2328; }
.logo-pill--resend { color: #4c63ff; }
.logo-pill--vercel { color: #111111; }
.logo-pill--telegram { color: #1c9dea; }
.logo-pill--wispr { color: #c441ff; }
.logo-pill--nvidia { color: #5fb832; }
.logo-pill--gray { color: var(--ink-soft); }

.section-heading--compact h2 {
  max-width: 13ch;
}

.surface-story {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.78fr);
  gap: 18px;
  align-items: start;
}

.surface-story__side {
  display: grid;
  gap: 14px;
}

.media-card,
.surface-mini,
.hierarchy-stage {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    var(--paper-strong), transparent 28%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.media-card__head,
.surface-mini > strong,
.surface-note {
  position: relative;
  z-index: 1;
}

.media-card__head {
  display: grid;
  gap: 8px;
}

.media-card__head strong,
.surface-mini strong {
  color: var(--ink);
  font-size: clamp(22px, 1.9vw, 30px);
  letter-spacing: -0.04em;
}

.media-card__frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    var(--paper-strong), transparent 28%);
}

.media-card__frame--soft::before,
.media-card__frame--dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 34%), transparent 22%);
}

.media-card__frame--dashboard {
  background:
    radial-gradient(circle at top left, rgba(8, 145, 178, 0.08), transparent 24%),
    var(--paper-strong);
}

.media-card__image {
  display: block;
  width: 100%;
  height: auto;
}

.media-card__image--dashboard {
  filter: saturate(0.96) contrast(1.02);
}

.surface-mini {
  gap: 14px;
}

.surface-note {
  font-size: 14px;
  color: var(--ink-soft);
}

.task-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-wall--compact {
  gap: 8px;
}

.logo-wall--compact .logo-pill {
  min-height: 38px;
  padding-inline: 12px;
}

.hierarchy-stage {
  position: relative;
  gap: 12px;
  padding: 20px;
  max-width: min(100%, 1100px);
  margin: 0 auto;
}

.hierarchy-stage__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hierarchy-stage__label::before {
  content: "";
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.hierarchy-stage__label--up::before {
  background: linear-gradient(90deg, var(--value), var(--accent));
}

.hierarchy-stage__label--up {
  justify-self: end;
}

.hierarchy-diagram {
  width: 100%;
  height: auto;
  max-height: 500px;
}

.chapter--hierarchy .section-heading--compact h2 {
  max-width: 11.5ch;
  font-size: clamp(24px, 2.8vw, 46px);
}

.chapter--hierarchy .chapter__content {
  align-items: start;
}

.hierarchy-map {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 16px 18px 10px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.52);
  overflow: hidden;
}

.hierarchy-map__spine {
  position: absolute;
  top: 88px;
  bottom: 104px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(8, 145, 178, 0.3), rgba(219, 39, 119, 0.24), rgba(59, 130, 246, 0.18));
}

.hierarchy-map__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 240px));
  justify-content: center;
  gap: 12px;
  z-index: 1;
}

.hierarchy-map__row::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: -16px;
  height: 2px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
}

.hierarchy-map__row::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -32px;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
}

.hierarchy-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 15px 16px;
  min-height: 88px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.hierarchy-card strong {
  color: var(--ink);
  font-size: clamp(16px, 1.18vw, 22px);
  letter-spacing: -0.03em;
}

.hierarchy-card--core {
  justify-self: center;
  width: min(100%, 320px);
  text-align: center;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.94), rgba(219, 39, 119, 0.9), rgba(59, 130, 246, 0.92));
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.16);
}

.hierarchy-card--core .micro-label,
.hierarchy-card--core strong {
  color: #fffdf8;
}

.hierarchy-card--accent {
  box-shadow: inset 0 0 0 1px rgba(219, 39, 119, 0.14), 0 12px 34px rgba(15, 23, 42, 0.08);
}

.hierarchy-card--brand {
  box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0.16), 0 12px 34px rgba(15, 23, 42, 0.08);
}

.hierarchy-card--value {
  box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.16), 0 12px 34px rgba(15, 23, 42, 0.08);
}

.hierarchy-feedback {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-height: 60px;
}

.hierarchy-feedback__rail {
  position: relative;
  height: 100%;
}

.hierarchy-feedback__rail::before {
  content: "";
  position: absolute;
  inset: 14px 8% 0;
  border-top: 3px solid transparent;
  border-radius: 999px;
}

.hierarchy-feedback__rail--left::before {
  border-top-color: var(--accent);
  transform: rotate(12deg);
  transform-origin: top left;
}

.hierarchy-feedback__rail--right::before {
  border-top-color: var(--value);
  transform: rotate(-12deg);
  transform-origin: top right;
}

.hierarchy-node,
.hierarchy-stage__label {
  transform-box: fill-box;
  transform-origin: center;
}

.hierarchy-toolband {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hierarchy-tool {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(8, 145, 178, 0.1), rgba(219, 39, 119, 0.08), rgba(59, 130, 246, 0.12));
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.telemetry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.panel--telemetry-hero {
  gap: 18px;
}

.telemetry-head {
  display: grid;
  gap: 12px;
}

.telemetry-head h2 {
  max-width: 12.5ch;
  font-size: clamp(26px, 3vw, 46px);
}

.telemetry-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.state-key {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

.legend-dot--brand {
  background: var(--brand);
}

.legend-dot--value {
  background: var(--value);
}

.legend-dot--warm {
  background: var(--warm);
}

.panel--telemetry-side h3 {
  color: var(--ink);
}

.state-table {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.state-table__row {
  display: grid;
  grid-template-columns: 136px 1fr 76px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.state-table__row strong,
.state-status {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.state-status {
  justify-self: end;
  color: var(--ink-soft);
}

.state-timeline {
  display: grid;
  gap: 14px;
}

.state-row {
  display: grid;
  gap: 8px;
}

.state-row strong {
  font-family: var(--font-display);
  color: var(--ink);
}

.state-track {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.05);
}

.state-segment {
  width: var(--span);
  height: 18px;
  border-radius: 999px;
  transform-origin: left center;
}

.state-segment--done {
  background: linear-gradient(90deg, rgba(100, 116, 139, 0.8), rgba(124, 224, 194, 0.8));
}

.state-segment--active {
  background: linear-gradient(90deg, rgba(8, 145, 178, 0.8), rgba(219, 39, 119, 0.78));
}

.state-segment--queued {
  background: rgba(15, 23, 42, 0.12);
}

.big-quote {
  font-size: clamp(26px, 2.7vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.loop-list__item,
.decision-item {
  display: grid;
  gap: 6px;
  position: relative;
  min-height: 150px;
  padding: 18px 20px;
  border-radius: 22px;
  background:
    var(--paper-strong), transparent 26%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.panel--loop {
  display: grid;
  place-items: center;
}

.loop-ring {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(15, 23, 42, 0.12);
}

.loop-ring__core,
.loop-ring__node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  padding: 18px;
  font-family: var(--font-display);
}

.loop-ring__core {
  width: 146px;
  height: 146px;
  inset: calc(50% - 73px);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.18), rgba(219, 39, 119, 0.16), rgba(59, 130, 246, 0.16));
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.loop-ring__node {
  width: 126px;
  height: 126px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-md);
  color: var(--ink-soft);
}

.node-a { top: -10px; left: calc(50% - 63px); }
.node-b { top: calc(50% - 63px); right: -18px; }
.node-c { bottom: -10px; left: calc(50% - 63px); }
.node-d { top: calc(50% - 63px); left: -18px; }

.decision-list {
  margin-top: 10px;
}

.panel--closing {
  gap: 18px;
}

.decision-dashboard {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    var(--paper-strong), transparent 30%);
}

.decision-dashboard__core {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.16), rgba(219, 39, 119, 0.14), rgba(100, 116, 139, 0.16));
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.decision-dashboard__core strong {
  font-size: clamp(32px, 2.8vw, 46px);
  letter-spacing: -0.06em;
}

.decision-dashboard__lane {
  display: grid;
  gap: 8px;
}

.decision-dashboard__lane span {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
}

.appendix-card {
  min-height: 100%;
}

.roadmap-card {
  min-height: 224px;
  padding-top: 26px;
}

.roadmap-card::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent), var(--warm));
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.82), 0 0 22px rgba(219, 39, 119, 0.2);
  z-index: 1;
}

.appendix-card .logo-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plain-list {
  margin: 0;
  padding-left: 1.1em;
}

.appendix-card .plain-list {
  gap: 8px;
}

.is-animated-story .reveal {
  opacity: 0;
  transform: translateY(44px);
}

.is-animated-story .chapter.is-ready .reveal {
  opacity: 1;
  transform: none;
}

.is-animated-story .chapter--hero .reveal {
  opacity: 1;
  transform: none;
}

.chapter.is-active .chapter__inner {
  box-shadow:
    0 44px 120px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

body.is-static-preview .story-rail,
body.is-flat-story .story-rail {
  display: none;
}

body.is-static-preview .chapter,
body.is-flat-story .chapter {
  min-height: auto;
  padding-top: 28px;
  padding-bottom: 28px;
}

body.is-static-preview .chapter__inner,
body.is-flat-story .chapter__inner {
  position: relative;
  top: auto;
  min-height: auto;
}

body.is-static-preview .reveal,
body.is-flat-story .reveal {
  opacity: 1;
  transform: none;
}

body.is-static-preview .story-background__mesh,
body.is-flat-story .story-background__mesh {
  transform: none !important;
}

@media (max-width: 1180px) {
  .story-rail {
    width: 188px;
  }

  .principle-grid,
  .flow-grid,
  .package-grid,
  .surface-stack,
  .roadmap-grid,
  .journey-stage,
  .surface-gallery,
  .surface-story,
  .telemetry-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-stage__rail,
  .journey-stage__pulse {
    display: none;
  }
}

@media (max-width: 960px) {
  .story-rail {
    right: 14px;
    left: 14px;
    top: auto;
    bottom: 12px;
    width: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
  }

  .story-rail__current {
    min-width: 0;
    flex: 1;
  }

  .story-rail__nav {
    display: flex;
    gap: 8px;
    margin: 0;
    overflow-x: auto;
    padding-left: 0;
    padding-bottom: 2px;
  }

  .story-rail__nav::before {
    display: none;
  }

  .story-dot {
    width: auto;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 50%;
    display: block;
  }

  .story-dot::after {
    inset: 0;
    width: auto;
  }

  .story-dot__num,
  .story-dot__label {
    display: none;
  }

  .story-rail__brand {
    margin: 0;
  }

  .chapter {
    min-height: auto;
    padding: 22px 14px 94px;
  }

  .chapter__inner {
    position: relative;
    top: auto;
    min-height: auto;
    padding: 20px;
    overflow: visible;
  }

  .hero-layout,
  .two-col,
  .split-layout,
  .split-grid,
  .hero-proof,
  .scene-signals,
  .flow-grid,
  .principle-grid,
  .roadmap-grid,
  .appendix-grid,
  .problem-list,
  .model-stack,
  .decision-list,
  .wedge-scoreboard,
  .journey-metrics,
  .rules-layout,
  .loop-list,
  .panel--board,
  .surface-stack,
  .package-grid,
  .journey-stage,
  .surface-gallery,
  .surface-story,
  .telemetry-layout {
    grid-template-columns: 1fr;
  }

  .state-table__row {
    grid-template-columns: 1fr;
  }

  .state-status {
    justify-self: start;
  }

  .chapter--hierarchy .chapter__content {
    grid-template-columns: 1fr;
  }

  .hierarchy-map__row {
    grid-template-columns: 1fr;
  }

  .hierarchy-map__row::before,
  .hierarchy-map__row::after,
  .hierarchy-map__spine {
    display: none;
  }

  .roadmap-grid::before,
  .rollout-strip::before {
    display: none;
  }

  .appendix-card .logo-wall {
    grid-template-columns: 1fr;
  }

  .rules-layout .principle-grid {
    grid-template-columns: 1fr;
  }

  .problem-card:last-child {
    grid-column: auto;
  }

  .channel-bars__row {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 1fr;
  }

  .flow-card::after {
    display: none;
  }

  h1 {
    max-width: 8.5ch;
    font-size: clamp(38px, 10vw, 58px);
  }

  h2 {
    max-width: 11.5ch;
    font-size: clamp(28px, 8.5vw, 46px);
  }

  .orbital-stage {
    min-height: 280px;
  }

  .market-map,
  .revenue-orbit {
    width: min(100%, 300px);
  }

  .app-window__body {
    grid-template-columns: 1fr;
  }

  .app-kpis {
    grid-template-columns: 1fr;
  }

  .org-graph::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .story-background__mesh {
    transform: none !important;
  }
}

/* --- OmniTek Systems Review Additions --- */
/* Custom Cursor */
body { cursor: none; }
a, button, .chip, .diagram-wrapper, .modal-close, .story-dot { cursor: none; }
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--brand); border-radius: 50%; pointer-events: none;
  z-index: 9999; transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px;
  border: 2px solid rgba(8, 145, 178, 0.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.1s ease-out;
  will-change: transform;
}
.cursor-dot.hover { width: 0; height: 0; background: transparent; }
.cursor-ring.hover {
  width: 60px; height: 60px; border-color: var(--accent);
  background: rgba(219, 39, 119, 0.05); backdrop-filter: blur(2px);
}

/* Diagrams with Dynamic 3D */
.visual-side { perspective: 1200px; height: 100%; display: flex; align-items: center; }
.diagram-wrapper {
  position: relative; width: 100%; min-height: 400px;
  transform-style: preserve-3d; will-change: transform; display: flex;
}
.diagram-container {
  background: #ffffff; border: 1px solid rgba(255,255,255,1);
  border-radius: var(--radius-xl, 34px); padding: 2.5rem;
  display: flex; justify-content: center; align-items: center;
  box-shadow: inset 0 0 60px rgba(8, 145, 178, 0.02), 0 30px 60px rgba(17,34,41,0.06);
  transition: border-color 0.4s, background 0.4s;
  position: relative; z-index: 2; width: 100%;
  transform: translateZ(30px);
}
.diagram-wrapper::before {
  content: ''; position: absolute; inset: -10px;
  background: linear-gradient(45deg, var(--brand), var(--accent), var(--warm));
  border-radius: calc(var(--radius-xl, 34px) + 10px);
  filter: blur(30px); opacity: 0.15; transition: opacity 0.6s ease; z-index: 1; transform: translateZ(0);
}
.diagram-wrapper.hover-active::before { opacity: 0.5; }
.diagram-container.hover-active {
  border-color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.98);
}

/* Fix SVG rendering inside diagram wrapper */
.diagram-container svg {
  width: 100% !important;
  max-width: 850px !important;
  height: auto !important;
  filter: drop-shadow(0 20px 40px rgba(17,34,41,0.06));
}

.draw-line {
  stroke-dasharray: 8, 8;
  animation: flow 1.5s linear infinite;
  will-change: stroke-dashoffset;
}

.chart-node {
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.06));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.chart-node:hover {
  filter: drop-shadow(0 15px 30px rgba(10,164,207,0.3));
  transform: scale(1.05) translateY(-4px);
}

@keyframes flow {
  from { stroke-dashoffset: 16; }
  to { stroke-dashoffset: 0; }
}

/* =====================================================================
   Layout Alignment Pass — 2026-04-24
   Goal: full-height rail, balanced split-layouts, and diagrams that
   actually fill their right-column panels. Non-destructive overrides.
   ===================================================================== */

:root {
  --rail-width: 244px; /* bumped from 206 for easier reading */
  --rail-gap: 32px;
  --rail-track: calc(var(--rail-width) + var(--rail-gap));
}

/* Reserve a stable scrollbar gutter so the Windows scrollbar never
   overlaps the rail's left edge. */
html {
  scrollbar-gutter: stable;
}

/* Reserve a right-edge track so the fixed rail never sits on top of
   the visual-side column in split-layouts. */
body {
  padding-right: var(--rail-track);
}

/* Full-height rail flush to the right edge. Acts like a real sidebar
   instead of a floating pill. */
.story-rail {
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--rail-width);
  height: 100vh;
  max-height: 100vh;
  padding: 28px 18px 24px;
  border-radius: 0;
  border: 0;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  box-shadow: -16px 0 40px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

/* Kill the decorative corner orb that assumed a pill-shaped card. */
.story-rail::before {
  display: none;
}

.story-rail__brand {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.story-rail__current {
  padding: 0 2px;
}

/* Nav becomes the flex child that scrolls; rail header/footer stay put. */
.story-rail__nav {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 4px 4px 8px 4px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.18) transparent;
  display: grid;
  gap: 4px;
}

.story-rail__nav::-webkit-scrollbar {
  width: 5px;
}
.story-rail__nav::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.16);
  border-radius: 999px;
}
.story-rail__nav::-webkit-scrollbar-track {
  background: transparent;
}

/* Kill the pre-existing vertical guide line on the nav; dot-level markers
   are enough (a single, cleaner indicator). */
.story-rail__nav::before {
  display: none;
}

/* Bigger, easier-to-hit dots with a single clear active pill. */
.story-dot {
  min-height: 42px;
  padding: 9px 12px 9px 14px;
  gap: 12px;
  grid-template-columns: 28px 1fr;
  border-radius: 12px;
}

.story-dot:hover,
.story-dot.is-active {
  transform: none; /* no horizontal jump — cleaner */
  background: linear-gradient(
    90deg,
    rgba(8, 145, 178, 0.08) 0%,
    rgba(255, 255, 255, 0.82) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.story-dot__num {
  width: 28px;
  height: 28px;
  font-size: 11px;
  font-weight: 600;
}

.story-dot__label {
  font-size: 13px;
  letter-spacing: 0.05em;
  max-width: 170px;
}

/* Active pill on the left edge — replaces the per-dot vertical stub. */
.story-dot::after {
  left: 4px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
  transition: background 160ms var(--ease-out-quart);
}

.story-dot.is-active::after {
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

.story-dot:hover::after {
  background: rgba(15, 23, 42, 0.15);
}

/* Progress bar and background stop where the rail begins. */
.story-progress {
  left: 0;
  right: var(--rail-track);
  width: auto;
}

.story-background {
  right: var(--rail-track);
}

/* ----- Diagrams fill their panels ---------------------------------- */

/* Kill the 850px cap so right-column diagrams scale to their panel. */
.diagram-container svg {
  max-width: 100% !important;
}

.diagram-container {
  padding: clamp(1.25rem, 1.8vw, 2.25rem);
  width: 100%;
}

.diagram-wrapper {
  width: 100%;
  min-height: 320px;
}

/* ----- Split-layout columns stay balanced & aligned ---------------- */

.chapter__content.split-layout {
  gap: clamp(22px, 2.4vw, 40px);
  align-items: stretch;
}

.split-layout > .content-side,
.split-layout > .visual-side {
  min-width: 0; /* prevent SVG intrinsic sizes from blowing out the grid */
}

/* Visual-side always centers its diagram within the column.
   Also covers chapters 8 (GTM) and 9 (Moat) where a bare .diagram-wrapper
   is a direct child of .split-layout. */
.split-layout > .visual-side,
.split-layout > .diagram-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.split-layout > .diagram-wrapper {
  min-width: 0;
}

/* When .panel and .visual-side are combined, use a clean frame instead
   of the ad-hoc inline "transparent + no border" overrides. */
.split-layout > .panel.visual-side {
  padding: clamp(18px, 1.6vw, 28px);
  background: var(--paper-strong);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Diagrams inside a .panel.visual-side keep a clean inner frame. */
.split-layout > .panel.visual-side .diagram-wrapper {
  width: 100%;
}
.split-layout > .panel.visual-side .diagram-container {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Content-side panels hug the top by default — center only when the
   column is visibly shorter than its sibling. */
.split-layout > .content-side {
  align-self: stretch;
}

/* Neutralise inline "display:flex;flex-direction:column;justify-content:center"
   on content-side panels by making the grid-based panel re-assert itself.
   (Inline styles still win, so we also clean the worst offenders in HTML.) */
.panel.content-side {
  align-content: start;
}

/* ----- Heading scale: panel H2s respect the design tokens ---------- */

.panel > h2,
.split-layout .panel h2 {
  max-width: 12ch;
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1.04;
}

/* ----- Chapter padding: keep left breathing room without the rail -- */

.chapter {
  padding-left: clamp(22px, 2vw, 44px);
  padding-right: clamp(22px, 2vw, 44px);
}

.chapter__inner {
  margin: 0 auto;
}

/* ----- Hero wordmark: stop flex-row collapsing the logo -------------*/
.hero-layout .wordmark {
  align-items: center;
  gap: 14px;
}

/* ----- Rules pillars: two-column grid scoped to chapter 6 ---------- */
.rules-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}

.rules-pillar h3 {
  font-size: clamp(18px, 1.35vw, 22px);
  margin: 0 0 6px;
}

.rules-pillar p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 34ch;
}

@media (max-width: 960px) {
  .rules-pillars {
    grid-template-columns: 1fr;
  }
}

/* ----- Package card "CORE TIER" badge sits square to the corner ---- */
.package-card {
  position: relative;
  overflow: visible;
}

.package-grid--stacked {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 6px;
}

.package-card--featured {
  border: 2px solid var(--brand);
  box-shadow: 0 10px 30px rgba(8, 145, 178, 0.12);
}

.package-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 800;
  border-radius: 0;
}

/* ----- Variant diagram containers --------------------------------- */
.diagram-container--column {
  flex-direction: column;
  width: 100%;
  background: var(--paper-strong);
  border-radius: var(--radius-xl);
}

.diagram-container--dark {
  background: #112229;
  border-color: #4a5d66;
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.diagram-container--dark svg {
  display: block;
  width: 100% !important;
  height: auto;
}

/* ----- Small tweak: scene signals below hero diagram ---------------- */
.scene-signals {
  margin-top: 20px;
}

/* =====================================================================
   Reusable editorial title — matches the Ecosystem chapter pattern.
   Apply to any <h2> by wrapping its text in two spans:
     <h2 class="slide-title">
       <span class="slide-title__line slide-title__line--mute">…</span>
       <span class="slide-title__line slide-title__line--bold">…</span>
     </h2>
   The parent h2's existing sizing/letter-spacing rules still win — this
   class only adds the dual-line + gradient-punchline treatment.
   ===================================================================== */

.slide-title {
  display: grid;
  gap: clamp(2px, 0.4vw, 8px);
  max-width: none;
}

.slide-title__line {
  display: block;
}

.slide-title__line--mute {
  color: var(--ink-soft);
  font-weight: 500;
}

.slide-title__line--bold {
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand) 0%, #8b5cf6 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================================================================
   Roadmap chapter — three.js milestone constellation + cards.
   ===================================================================== */

.roadmap-fx {
  position: relative;
  width: 100%;
  height: clamp(180px, 26vh, 260px);
  margin: 0 0 18px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(8, 145, 178, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.4), rgba(241, 245, 249, 0.7));
  border: 1px solid rgba(15, 23, 42, 0.05);
  isolation: isolate;
}

.roadmap-fx__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Glow lives BEHIND the WebGL canvas now — was on top with mix-blend-mode
   screen, which bleached out the wireframe milestones underneath. */
.roadmap-fx__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 50%, rgba(8, 145, 178, 0.14), transparent 35%),
    radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.12), transparent 30%),
    radial-gradient(ellipse at 78% 50%, rgba(219, 39, 119, 0.14), transparent 35%);
  z-index: 0;
}

.roadmap-fx__canvas {
  z-index: 2;
}

@media (max-width: 720px) {
  .roadmap-fx {
    height: clamp(140px, 22vh, 180px);
  }
}

/* =====================================================================
   Roadmap timeline — numbered gradient nodes connected by a track
   that lives BEHIND the nodes, not through any label text.
   ===================================================================== */

.rollout-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 30px 6% 10px;
  margin: 0 0 14px;
  align-items: start;
}

.rollout-timeline__track {
  position: absolute;
  top: 60px; /* aligns with the centre of the 56px node + 30px padding-top */
  left: calc(6% + 12.5%);
  right: calc(6% + 12.5%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--brand) 0%,
    #8b5cf6 38%,
    var(--pink) 70%,
    var(--value) 100%
  );
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.rollout-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.rollout-step__node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0 50%, transparent 51%),
    linear-gradient(135deg, var(--brand), var(--brand-soft));
  box-shadow:
    /* white halo blots out the track exactly behind the node */
    0 0 0 8px var(--paper-strong),
    0 12px 28px rgba(8, 145, 178, 0.22);
  position: relative;
}

.rollout-step__node[data-tone="accent"] {
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0 50%, transparent 51%),
    linear-gradient(135deg, #8b5cf6, var(--accent));
  box-shadow:
    0 0 0 8px var(--paper-strong),
    0 12px 28px rgba(139, 92, 246, 0.24);
}

.rollout-step__node[data-tone="pink"] {
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0 50%, transparent 51%),
    linear-gradient(135deg, var(--accent), var(--warm));
  box-shadow:
    0 0 0 8px var(--paper-strong),
    0 12px 28px rgba(219, 39, 119, 0.24);
}

.rollout-step__node[data-tone="value"] {
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0 50%, transparent 51%),
    linear-gradient(135deg, var(--value), #94a3b8);
  box-shadow:
    0 0 0 8px var(--paper-strong),
    0 12px 28px rgba(100, 116, 139, 0.22);
}

.rollout-step__node span {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.rollout-step__theme {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1;
}

@media (max-width: 720px) {
  .rollout-timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
    padding: 14px 4% 8px;
  }
  .rollout-timeline__track {
    display: none;
  }
}

/* =====================================================================
   Whitespace pass — chapters become content-driven, not viewport-forced.
   ===================================================================== */

.chapter {
  min-height: auto;
  padding-top: clamp(44px, 6vh, 96px);
  padding-bottom: clamp(44px, 6vh, 96px);
}

.chapter--hero {
  min-height: 92vh; /* opener still dominates */
}

.chapter__inner--short {
  min-height: auto;
}

.chapter__content {
  gap: clamp(18px, 1.8vw, 28px);
}

/* =====================================================================
   Roadmap redesign — real content per week + outcome metrics.
   ===================================================================== */

.chapter--roadmap .roadmap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.chapter--roadmap .roadmap-grid::before {
  display: none; /* old top-rail not needed with outcome-rich cards */
}

.roadmap-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 26px 22px 22px;
  min-height: 360px;
  background: var(--paper-strong);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 44px rgba(15, 23, 42, 0.07);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.roadmap-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.roadmap-card--brand::after {
  background: linear-gradient(90deg, var(--brand), var(--brand-soft));
}

.roadmap-card--accent::after {
  background: linear-gradient(90deg, #8b5cf6, var(--accent));
}

.roadmap-card--pink::after {
  background: linear-gradient(90deg, var(--accent), var(--warm));
}

.roadmap-card h3 {
  font-size: clamp(18px, 1.35vw, 22px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin: 2px 0 2px;
}

.roadmap-card .plain-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 6px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.roadmap-card .plain-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.48;
  color: var(--ink-soft);
}

.roadmap-card .plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.8;
}

.roadmap-card__gate {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 14px;
  /* SOLID neutral fill — was a cyan→pink gradient, but at 0.08/0.06 alpha
     and a 135deg angle on a wide-short box, the diagonal transition
     visually read as cyan/violet/pink stripes. */
  background: rgba(248, 250, 252, 1);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 4px;
}

.roadmap-card__gate strong {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.35;
}

/* By-day-30 summary panel */
.roadmap-summary {
  margin-top: 8px;
  padding: 28px 32px;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(8, 145, 178, 0.12),
    rgba(219, 39, 119, 0.1),
    rgba(59, 130, 246, 0.1)
  );
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 28px;
  align-items: center;
}

.roadmap-summary__head h3 {
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
  margin-top: 6px;
}

.roadmap-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-summary__metric {
  display: grid;
  gap: 4px;
}

.roadmap-summary__metric strong {
  font-size: clamp(26px, 2.2vw, 40px);
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.roadmap-summary__metric span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .chapter--roadmap .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roadmap-summary {
    grid-template-columns: 1fr;
  }
  .roadmap-summary__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .chapter--roadmap .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   Scroll parallax — elements fade + scale as they enter/leave viewport.
   Three.js canvas sits in a fixed layer behind everything.
   ===================================================================== */

.parallax-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.story-background,
.story {
  position: relative;
  z-index: 1;
}

.chapter__inner {
  will-change: transform, opacity;
}

.is-animated-story .chapter.is-leaving .chapter__inner {
  opacity: 0.3;
  transform: translateY(-24px) scale(0.985);
  transition:
    opacity 500ms var(--ease-out-quart),
    transform 500ms var(--ease-out-quart);
}

.is-animated-story .chapter.is-active .chapter__inner {
  opacity: 1;
  transform: none;
  transition:
    opacity 500ms var(--ease-out-quart),
    transform 500ms var(--ease-out-quart);
}

/* =====================================================================
   Closing cliffhanger chapter (fin-stage) — cinematic dark outro
   with a real terminal typewriter, animated task completions,
   scarcity counter, and a gradient CTA. Drop-mic the deck.
   ===================================================================== */

.chapter--closing {
  padding: 0;
}

.chapter--closing .fin-stage {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: clamp(44px, 6vw, 96px);
  border-radius: clamp(28px, 3vw, 44px);
  background: linear-gradient(135deg, #050a18 0%, #0c1428 50%, #14152b 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 60px 140px rgba(15, 23, 42, 0.5);
  overflow: hidden;
  isolation: isolate;
  color: #f8fafc;
}

/* Background atmosphere ----------------------------------------- */
.fin-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fin-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 80%);
}

.fin-halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: finHalo 22s ease-in-out infinite alternate;
}

.fin-halo--cyan {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -140px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.6), transparent 70%);
}

.fin-halo--pink {
  width: 680px;
  height: 680px;
  bottom: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.5), transparent 70%);
  animation-delay: -8s;
}

.fin-halo--violet {
  width: 540px;
  height: 540px;
  top: 40%;
  left: 32%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.42), transparent 70%);
  animation-delay: -14s;
}

@keyframes finHalo {
  to { transform: translate(54px, -42px) scale(1.08); }
}

/* Content ------------------------------------------------------- */
.fin-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 3vw, 44px);
  width: 100%;
  max-width: 920px;
  text-align: left;
}

.fin-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #f4b8d6;
  margin: 0;
  opacity: 0;
  animation: finFadeUp 800ms cubic-bezier(0.2, 0.9, 0.25, 1) 200ms forwards;
}

/* Massive two-line title with gradient punchline. */
.fin-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 132px);
  letter-spacing: -0.06em;
  line-height: 0.92;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  display: grid;
  gap: 6px;
  max-width: none;
}

.fin-title__line {
  display: block;
  opacity: 0;
  animation: finFadeUp 900ms cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}

.fin-title__line--mute {
  color: rgba(248, 250, 252, 0.5);
  font-weight: 500;
  animation-delay: 400ms;
}

.fin-title__line--bold {
  animation-delay: 720ms;
  color: #ffffff;
}

.fin-title__line--bold em {
  font-style: normal;
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 50%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes finFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Terminal card (the cinematic moment) -------------------------- */
.fin-terminal {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(18px);
  animation: finFadeUp 900ms cubic-bezier(0.2, 0.9, 0.25, 1) 1100ms forwards;
}

.fin-terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fin-terminal__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fin-terminal__dot--red    { background: #ff5f57; }
.fin-terminal__dot--yellow { background: #febc2e; }
.fin-terminal__dot--green  { background: #28c840; }

.fin-terminal__name {
  margin-left: 14px;
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.fin-terminal__body {
  padding: 26px 30px 28px;
  display: grid;
  gap: 14px;
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 15px;
  line-height: 1.5;
  color: #e2e8f0;
}

.fin-terminal__line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fin-terminal__line span > strong {
  color: #ffffff;
  font-weight: 600;
  margin-right: 10px;
}

.fin-terminal__line span > em {
  font-style: normal;
  color: rgba(226, 232, 240, 0.5);
}

.fin-terminal__line--prompt {
  font-weight: 500;
}

.fin-terminal__chev {
  color: #38bdf8;
  font-weight: 700;
  font-size: 1.25em;
}

.fin-terminal__type {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #38bdf8;
  width: 0;
  animation:
    finType 2200ms steps(28, end) 1500ms forwards,
    finCaret 1.05s steps(2) 1500ms infinite;
}

@keyframes finType {
  to { width: 28ch; }
}

@keyframes finCaret {
  50% { border-color: transparent; }
}

.fin-terminal__line--task {
  opacity: 0;
  transform: translateY(8px);
  animation: finTaskIn 700ms cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}

.fin-terminal__line--task[data-delay="1"] { animation-delay: 4000ms; }
.fin-terminal__line--task[data-delay="2"] { animation-delay: 4500ms; }
.fin-terminal__line--task[data-delay="3"] { animation-delay: 5000ms; }

@keyframes finTaskIn {
  to { opacity: 1; transform: translateY(0); }
}

.fin-terminal__check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  flex-shrink: 0;
}

.fin-terminal__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f472b6;
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.18);
  flex-shrink: 0;
  margin-left: 6px;
  animation: finPulse 1.4s ease-in-out infinite;
}

@keyframes finPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.3); }
}

/* Scarcity CTA -------------------------------------------------- */
.fin-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  animation: finFadeUp 900ms cubic-bezier(0.2, 0.9, 0.25, 1) 1900ms forwards;
}

.fin-cta__copy {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.fin-cta__count {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
}

.fin-cta__count b {
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 50%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fin-cta__count i {
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.55);
  letter-spacing: 0.02em;
}

.fin-cta__label {
  font-family: var(--font-display);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.6);
  max-width: 280px;
  line-height: 1.4;
}

.fin-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0891b2, #8b5cf6, #db2777);
  background-size: 220% 220%;
  background-position: 0% 50%;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 28px 60px rgba(8, 145, 178, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition:
    background-position 700ms cubic-bezier(0.2, 0.9, 0.25, 1),
    transform 280ms cubic-bezier(0.2, 0.9, 0.25, 1),
    box-shadow 280ms cubic-bezier(0.2, 0.9, 0.25, 1);
}

.fin-cta__btn:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow:
    0 36px 80px rgba(219, 39, 119, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.fin-cta__btn svg {
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.25, 1);
}

.fin-cta__btn:hover svg {
  transform: translateX(6px);
}

/* Footer -------------------------------------------------------- */
.fin-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.42);
  opacity: 0;
  animation: finFadeUp 900ms cubic-bezier(0.2, 0.9, 0.25, 1) 2400ms forwards;
}

.fin-footer__sep {
  opacity: 0.5;
}

.fin-footer__mail {
  color: rgba(226, 232, 240, 0.7);
  text-decoration: none;
  transition: color 200ms ease;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 13px;
}

.fin-footer__mail:hover {
  color: #f472b6;
}

/* Responsive ---------------------------------------------------- */
@media (max-width: 720px) {
  .chapter--closing .fin-stage {
    min-height: 88vh;
    padding: 32px 24px;
  }
  .fin-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .fin-cta__btn {
    width: 100%;
    justify-content: center;
  }
  .fin-terminal__body {
    padding: 22px 18px 24px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fin-eyebrow,
  .fin-title__line,
  .fin-terminal,
  .fin-terminal__line--task,
  .fin-cta,
  .fin-footer,
  .fin-halo,
  .fin-terminal__pulse,
  .fin-terminal__type {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .fin-terminal__type {
    width: 28ch;
    border-right: none;
  }
}

/* =====================================================================
   Revenue chapter — give the chart more room; text column stays readable.
   ===================================================================== */

.chapter--revenue .chapter__content.split-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.chapter--revenue .visual-side .diagram-container {
  padding: clamp(1.25rem, 1.8vw, 2rem) clamp(1.25rem, 1.6vw, 1.75rem);
}

.chapter--revenue .revenue-chart {
  width: 100%;
}

@media (max-width: 960px) {
  .chapter--revenue .chapter__content.split-layout {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   Ecosystem chapter — full editorial overhaul (eco-stage)
   "Already deep / clear next" magazine spread:
     - asymmetric header with a gradient punch line
     - 8 / 2 / 8 maturity meter that fills on view
     - three differentiated zone cards (solid / outlined / ghost)
     - per-state pill treatment so maturity is visible at a glance
   ===================================================================== */

.eco-stage {
  position: relative;
  display: grid;
  gap: clamp(28px, 3vw, 48px);
  padding: clamp(36px, 4vw, 60px) clamp(28px, 3vw, 48px);
  overflow: hidden;
  isolation: isolate;
}

/* Aurora atmosphere — three slow-floating gradient orbs. */
.eco-aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.eco-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  will-change: transform;
}

.eco-aurora__a {
  width: 460px; height: 460px;
  top: -140px; left: -100px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.65), transparent 70%);
  animation: ecoFloat 18s ease-in-out infinite alternate;
}
.eco-aurora__b {
  width: 420px; height: 420px;
  top: 20%; right: -80px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 70%);
  animation: ecoFloat 22s -7s ease-in-out infinite alternate;
}
.eco-aurora__c {
  width: 540px; height: 540px;
  bottom: -200px; left: 28%;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.4), transparent 70%);
  animation: ecoFloat 26s -13s ease-in-out infinite alternate;
}

@keyframes ecoFloat {
  to { transform: translate(40px, -36px) scale(1.06); }
}

/* ----- Header (asymmetric: title left, lead + meter right) ------ */
.eco-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.9fr);
  column-gap: clamp(28px, 3.5vw, 64px);
  row-gap: 18px;
  align-items: end;
}

.eco-head__chapter {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0;
}

.eco-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 7.4vw, 116px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.92;
  color: var(--ink);
  display: grid;
  gap: 0;
  max-width: none;
}

.eco-head__line {
  display: block;
}

.eco-head__line--mute {
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 6px;
}

.eco-head__line--bold {
  background: linear-gradient(135deg, var(--brand) 0%, #8b5cf6 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eco-head__lead {
  font-size: clamp(15px, 1.05vw, 17px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 44ch;
  margin: 0;
}

/* The 8 / 2 / 8 meter visualization. */
.eco-meter {
  grid-column: 2;
  display: grid;
  gap: 12px;
  align-self: end;
}

.eco-meter__bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

.eco-meter__seg {
  display: block;
  height: 100%;
  width: var(--w);
  transform: scaleX(0);
  transform-origin: left center;
  animation: ecoMeterFill 1.2s cubic-bezier(0.2, 0.9, 0.25, 1) 0.3s forwards;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
}

.eco-meter__seg:last-child { border-right: 0; }

.eco-meter__seg--live {
  background: linear-gradient(90deg, var(--brand), #38bdf8);
}
.eco-meter__seg--build {
  background: linear-gradient(90deg, #8b5cf6, var(--accent));
  animation-delay: 0.5s;
}
.eco-meter__seg--horizon {
  background: linear-gradient(90deg, var(--ink-soft), #94a3b8);
  opacity: 0.55;
  animation-delay: 0.7s;
}

@keyframes ecoMeterFill {
  to { transform: scaleX(1); }
}

.eco-meter__keys {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eco-meter__key {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.eco-meter__key b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.eco-meter__key em {
  font-style: normal;
}

.eco-meter__key--live b {
  background: linear-gradient(135deg, var(--brand), #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eco-meter__key--build b {
  background: linear-gradient(135deg, #8b5cf6, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eco-meter__key--horizon b {
  color: var(--ink-soft);
}

/* ----- Three zones grid ----------------------------------------- */
.eco-zones {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}

.eco-zone {
  position: relative;
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 34px 28px 28px;
  border-radius: 26px;
  isolation: isolate;
  min-height: 100%;
  transition: transform 360ms cubic-bezier(0.2, 0.9, 0.25, 1);
}

.eco-zone:hover {
  transform: translateY(-3px);
}

/* Big watermark numeral, stroked for an editorial feel. */
.eco-zone__num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-display);
  font-size: clamp(56px, 4.6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
  opacity: 0.32;
  pointer-events: none;
  user-select: none;
}

.eco-zone__head h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  color: var(--ink);
}

.eco-zone__sub {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

/* Per-state treatment ------------------------------------------- */
.eco-zone--live {
  background: linear-gradient(180deg, rgba(8, 145, 178, 0.1), rgba(8, 145, 178, 0.02));
  border: 1px solid rgba(8, 145, 178, 0.22);
  box-shadow:
    0 30px 64px -28px rgba(8, 145, 178, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--brand);
}

.eco-zone--build {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(219, 39, 119, 0.04));
  border: 1px solid rgba(139, 92, 246, 0.28);
  box-shadow:
    0 26px 60px -28px rgba(139, 92, 246, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #8b5cf6;
}

.eco-zone--build::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 22px;
  border: 1px dashed rgba(139, 92, 246, 0.32);
  pointer-events: none;
}

.eco-zone--horizon {
  background: linear-gradient(180deg, rgba(100, 116, 139, 0.06), rgba(100, 116, 139, 0.01));
  border: 1px dashed rgba(100, 116, 139, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
}

/* ----- Groups inside a zone ------------------------------------- */
.eco-group {
  display: grid;
  gap: 10px;
  position: relative;
  padding-top: 16px;
}

.eco-group + .eco-group {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.eco-zone--build .eco-group + .eco-group,
.eco-zone--horizon .eco-group + .eco-group {
  border-top-style: dashed;
  border-top-color: rgba(15, 23, 42, 0.08);
}

.eco-group:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.eco-group__label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eco-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ----- Pills, three distinct treatments ------------------------ */
.eco-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition:
    transform 240ms cubic-bezier(0.2, 0.9, 0.25, 1),
    box-shadow 240ms cubic-bezier(0.2, 0.9, 0.25, 1),
    background 240ms cubic-bezier(0.2, 0.9, 0.25, 1);
  cursor: default;
}

.eco-pill:hover {
  transform: translateY(-2px);
}

/* Live: solid with cyan tint, soft shadow — anchored, present. */
.eco-pill--live {
  color: #074e6c;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(8, 145, 178, 0.1));
  border: 1px solid rgba(8, 145, 178, 0.28);
  box-shadow:
    0 8px 18px -8px rgba(8, 145, 178, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.eco-pill--live:hover {
  box-shadow:
    0 16px 30px -10px rgba(8, 145, 178, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Build: outlined + leading pulse dot — actively in motion. */
.eco-pill--build {
  position: relative;
  padding-left: 28px;
  color: #4c1d95;
  background: rgba(139, 92, 246, 0.06);
  border: 1.5px solid rgba(139, 92, 246, 0.42);
}
.eco-pill--build::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
  animation: ecoPulse 1.6s ease-in-out infinite;
}
@keyframes ecoPulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50%      { opacity: 0.45; transform: translateY(-50%) scale(1.35); }
}

/* Horizon: dashed ghost — wispy, distant, earned later. */
.eco-pill--horizon {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(100, 116, 139, 0.42);
  box-shadow: none;
}
.eco-pill--horizon:hover {
  border-color: rgba(15, 23, 42, 0.42);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
}

/* ----- Build-zone caption (replaces the long paragraph) -------- */
.eco-zone__quote {
  margin-top: 6px;
  padding: 14px 16px 14px 18px;
  border-left: 3px solid rgba(139, 92, 246, 0.5);
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.06), transparent);
  border-radius: 4px 12px 12px 4px;
}

.eco-zone__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  letter-spacing: 0.005em;
}

/* ----- Responsive --------------------------------------------- */
@media (max-width: 1180px) {
  .eco-zones {
    grid-template-columns: 1fr 1fr;
  }
  .eco-zone--horizon {
    grid-column: 1 / -1;
  }
  .eco-head {
    grid-template-columns: 1fr;
  }
  .eco-meter {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .eco-zones {
    grid-template-columns: 1fr;
  }
  .eco-zone--horizon {
    grid-column: auto;
  }
  .eco-zone {
    padding: 28px 22px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eco-aurora span,
  .eco-meter__seg,
  .eco-pill--build::before,
  .eco-zone {
    animation: none;
    transition: none;
  }
  .eco-meter__seg {
    transform: scaleX(1);
  }
}

/* =====================================================================
   Telemetry chapter — KPI row above the dashboard mock + trust callout.
   ===================================================================== */

.telemetry-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 18px;
}

.telemetry-kpi {
  display: grid;
  gap: 6px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(135deg, rgba(8, 145, 178, 0.06), rgba(219, 39, 119, 0.04)),
    var(--paper-strong);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.telemetry-kpi strong {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.telemetry-kpi__note {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .telemetry-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* "Why this matters" callout under rollout table. */
.telemetry-trust {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(8, 145, 178, 0.08),
    rgba(219, 39, 119, 0.06)
  );
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 6px;
}

.telemetry-trust p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
}

.telemetry-trust em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

/* =====================================================================
   Canonical app logo — matches public/omnitek-mark.svg.
   Colour of the inner triangle comes from `color:` on the parent SVG,
   so the same symbol can sit on light or dark backgrounds.
   ===================================================================== */

.omnitek-brand-mark {
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.12));
}

.omnitek-brand-mark--light {
  color: #475569; /* inner triangle on light bg — dark slate, not black */
}

.omnitek-brand-mark--dark {
  color: #ffffff; /* inner triangle on dark bg */
}

/* Hero wordmark — mark + "OmniTek" sit on one row, vertically centred. */
.wordmark--hero {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- Layered tri-mark with continuous hover spin (inline SVGs only) --- */

@keyframes bmSpinDown {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes bmSpinUp {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes bmSpinCore {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

.brand-mark {
  overflow: visible;
  position: relative;
  flex-shrink: 0;
}

.brand-mark__tri {
  transform-origin: 50% 50%;
  transform-box: view-box;
  will-change: transform;
}

.brand-mark--hero {
  cursor: pointer;
  filter: drop-shadow(0 14px 32px rgba(219, 39, 119, 0.22));
}

/* Continuous spin while hovered — three speeds, alternating directions. */
.brand-mark--hero:hover .brand-mark__tri--down,
.brand-mark--rail:hover .brand-mark__tri--down {
  animation: bmSpinDown 8s linear infinite;
}

.brand-mark--hero:hover .brand-mark__tri--up,
.brand-mark--rail:hover .brand-mark__tri--up {
  animation: bmSpinUp 6s linear infinite;
}

.brand-mark--hero:hover .brand-mark__tri--core,
.brand-mark--rail:hover .brand-mark__tri--core {
  animation: bmSpinCore 4s linear infinite;
}

/* Soft halo behind the hero mark on hover. */
.brand-mark--hero::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(219, 39, 119, 0.32), transparent 65%),
    radial-gradient(circle, rgba(8, 145, 178, 0.24), transparent 70%);
  filter: blur(24px);
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.2, 0.9, 0.25, 1);
  z-index: -1;
  pointer-events: none;
}

.brand-mark--hero:hover::after {
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark--hero:hover .brand-mark__tri,
  .brand-mark--rail:hover .brand-mark__tri {
    animation: none;
  }
}

/* Rail brand — mark + wordmark on a single tight row. */
.story-rail__brand .wordmark-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* =====================================================================
   Hierarchy chapter (v2) — animated SVG org-chart.
   Card-based agents anchor an SVG with curved gradient connectors,
   bidirectional particle flow (intent ↓ / memory ↑), and a shared
   tool layer at the bottom.
   ===================================================================== */

.chapter--hierarchy .chapter__content {
  align-items: stretch;
}

.hx {
  position: relative;
  width: 100%;
  margin: 6px 0 0;
  padding: 24px clamp(20px, 2.4vw, 36px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(8, 145, 178, 0.06), transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(219, 39, 119, 0.06), transparent 55%),
    var(--paper-strong);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 28px 72px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.hx__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
}

@media (max-width: 720px) {
  .hx {
    padding: 16px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hx__svg circle,
  .hx__svg animate,
  .hx__svg animateMotion {
    animation: none !important;
  }
}

/* =====================================================================
   Legacy hierarchy CSS — preserved but unused since chapter 14 was
   rebuilt as the .hx SVG. Kept only to avoid touching unrelated rules.
   ===================================================================== */

/* =====================================================================
   Hierarchy chapter — remove floating diagonal rails, realign connectors.
   ===================================================================== */

.chapter--hierarchy .hierarchy-map {
  padding: 26px 28px 22px;
  gap: 28px;
  background: var(--paper-strong);
  border-radius: 28px;
  overflow: visible;
}

/* Hide legacy spine + row pseudo-connectors; we draw fresh, aligned ones. */
.chapter--hierarchy .hierarchy-map__spine,
.chapter--hierarchy .hierarchy-map__row::before,
.chapter--hierarchy .hierarchy-map__row::after {
  display: none !important;
}

/* CEO sits on its own row; give it real breathing room. */
.chapter--hierarchy .hierarchy-card--core {
  margin-bottom: 10px;
}

/* Column-aligned VP + agent rows with a dashed tree connector
   drawn from row to row. */
.chapter--hierarchy .hierarchy-map__row {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  justify-content: stretch;
}

/* Connector: a dashed tree from CEO card down to each VP, and from
   each VP down to its agent. Rendered as a single stripe under each row. */
.chapter--hierarchy .hierarchy-map__row--vp {
  padding-top: 28px;
}

.chapter--hierarchy .hierarchy-map__row--vp::before {
  content: "";
  display: block !important;
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.14);
  border-radius: 999px;
}

.chapter--hierarchy .hierarchy-map__row--vp::after {
  content: "";
  display: block !important;
  position: absolute;
  left: calc((100% / 6) + 4px);
  right: calc((100% / 6) + 4px);
  top: 16px;
  height: 2px;
  background: rgba(15, 23, 42, 0.14);
  border-radius: 999px;
}

.chapter--hierarchy .hierarchy-map__row--agents {
  padding-top: 28px;
}

.chapter--hierarchy .hierarchy-map__row--agents::before {
  content: "";
  display: block !important;
  position: absolute;
  left: calc((100% / 6) + 4px);
  right: calc((100% / 6) + 4px);
  top: 0;
  height: 2px;
  background: rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background-image: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.14) 50%,
    transparent 50%
  );
  background-size: 8px 2px;
  background-repeat: repeat-x;
  background-color: transparent;
}

/* Vertical drops from VP→agent (one per column) */
.chapter--hierarchy .hierarchy-map__row--agents .hierarchy-card::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  width: 2px;
  height: 28px;
  transform: translateX(-50%);
  background-image: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.14) 50%,
    transparent 50%
  );
  background-size: 2px 8px;
  background-repeat: repeat-y;
  background-color: transparent;
  border-radius: 999px;
}

.chapter--hierarchy .hierarchy-card {
  position: relative;
  text-align: left;
}

/* Toolband sits cleanly below the map, no orphan label line. */
.chapter--hierarchy .hierarchy-toolband {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* "Memory, outcomes…" label becomes a clean tag, not a rogue line. */
.chapter--hierarchy .hierarchy-stage__label--up {
  justify-self: center;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(100, 116, 139, 0.12),
    rgba(219, 39, 119, 0.1)
  );
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.chapter--hierarchy .hierarchy-stage__label--up::before {
  display: none; /* remove the floating gradient stub */
}

.chapter--hierarchy .hierarchy-stage__label--down {
  align-self: start;
  justify-self: start;
}

/* Responsive: collapse to single column cleanly. */
@media (max-width: 960px) {
  .chapter--hierarchy .hierarchy-map__row {
    grid-template-columns: 1fr;
    padding-top: 0;
  }
  .chapter--hierarchy .hierarchy-map__row--vp::before,
  .chapter--hierarchy .hierarchy-map__row--vp::after,
  .chapter--hierarchy .hierarchy-map__row--agents::before,
  .chapter--hierarchy .hierarchy-map__row--agents .hierarchy-card::before {
    display: none !important;
  }
}

/* Cards default to fully solid so the page's gradient mesh never bleeds
   through them. The IntersectionObserver still toggles .in-view for any
   downstream effects, but no opacity/transform animation is applied —
   the deck's GSAP `.reveal` handles entrance choreography on its own. */
.roadmap-card,
.journey-stop,
.model-card,
.principle-card,
.problem-card,
.flow-card,
.package-card,
.appendix-card {
  opacity: 1;
  transform: none;
}

.roadmap-card.in-view,
.journey-stop.in-view,
.model-card.in-view,
.principle-card.in-view,
.problem-card.in-view,
.flow-card.in-view,
.package-card.in-view,
.appendix-card.in-view {
  opacity: 1;
  transform: none;
}

/* Once a reading-card has been seen, keep it fully solid — the previous
   `opacity: 0.4` fade-back was letting the page's background grid bleed
   through, creating illegible streaks under outcome gates. */
.roadmap-card.out-of-view,
.journey-stop.out-of-view,
.model-card.out-of-view,
.principle-card.out-of-view,
.problem-card.out-of-view,
.flow-card.out-of-view,
.package-card.out-of-view,
.appendix-card.out-of-view {
  opacity: 1;
  transform: none;
}

/* Respect reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .parallax-canvas {
    display: none;
  }
  .roadmap-card,
  .journey-stop,
  .model-card,
  .principle-card,
  .problem-card,
  .flow-card,
  .package-card,
  .appendix-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Disable the custom cursor overlay — the ring+backdrop-filter hover
   effect was obscuring clickable elements. Restore the native cursor. */
body,
a,
button,
.chip,
.diagram-wrapper,
.modal-close,
.story-dot {
  cursor: auto;
}

a,
button,
.chip,
.story-dot {
  cursor: pointer;
}

.cursor-dot,
.cursor-ring {
  display: none !important;
}

/* =====================================================================
   Responsive — restore bottom-pill rail on narrow screens
   ===================================================================== */

@media (max-width: 1180px) {
  :root {
    --rail-gap: 28px;
  }
}

/* =====================================================================
   Mobile: hide the rail entirely, reset body padding, let the deck scroll
   naturally. The top progress bar still shows scroll position.
   ===================================================================== */

@media (max-width: 1024px) {
  body {
    padding-right: 0 !important;
  }

  .story-rail {
    display: none !important;
  }

  .story-progress {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .story-background {
    right: 0 !important;
  }

  /* Tighter chapter padding on mobile so content fills the viewport. */
  .chapter {
    padding-left: clamp(14px, 4vw, 24px) !important;
    padding-right: clamp(14px, 4vw, 24px) !important;
    padding-top: clamp(32px, 5vh, 56px);
    padding-bottom: clamp(32px, 5vh, 56px);
  }

  .chapter__inner {
    padding: clamp(18px, 4vw, 28px);
  }

  /* All split-layouts collapse to single column. */
  .chapter__content.split-layout,
  .chapter__content.hero-layout,
  .chapter__content.two-col,
  .chapter__content.split-grid,
  .telemetry-layout,
  .surface-story,
  .rules-layout {
    grid-template-columns: 1fr !important;
  }

  .split-layout > .visual-side,
  .split-layout > .panel.visual-side {
    padding: 16px;
  }

  /* Hero wordmark stacks the mark above the wordmark text. */
  .wordmark--hero {
    flex-wrap: wrap;
    gap: 12px;
  }

  .wordmark {
    font-size: clamp(40px, 9vw, 60px);
  }

  /* Headlines: keep them legible without overflowing. */
  h1 {
    font-size: clamp(38px, 9vw, 64px);
    max-width: 100%;
  }

  h2 {
    font-size: clamp(28px, 7vw, 46px);
    max-width: 100%;
  }

  /* Roadmap: 4-up cards become 1-up. */
  .chapter--roadmap .roadmap-grid {
    grid-template-columns: 1fr !important;
  }

  /* Ecosystem zones stack. */
  .eco-zones {
    grid-template-columns: 1fr !important;
  }
  .eco-zone--horizon {
    grid-column: auto !important;
  }
  .eco-head {
    grid-template-columns: 1fr !important;
  }

  /* Telemetry KPI row: 2 across instead of 4. */
  .telemetry-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Closing chapter: tighter padding, full-width CTA. */
  .chapter--closing .fin-stage {
    padding: clamp(28px, 5vw, 40px) !important;
  }
  .fin-cta {
    flex-direction: column;
    align-items: stretch !important;
  }
  .fin-cta__btn {
    width: 100%;
    justify-content: center;
  }

  /* Hierarchy v2 stays as SVG; aspect-ratio compresses gracefully. */
  .hx__svg {
    max-height: 56vh;
  }

  /* App-concepts dashboard mockup in chapter 13: don't let it dwarf the page. */
  .surface-story .media-card__image,
  .surface-story svg {
    max-height: 64vh;
  }
}

/* Phone-portrait specific: even tighter spacing, smaller body type. */
@media (max-width: 540px) {
  .chapter__inner {
    padding: 14px;
    border-radius: 18px;
  }

  .chapter {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .scene-signals,
  .principle-grid,
  .flow-grid,
  .package-grid,
  .telemetry-kpis {
    grid-template-columns: 1fr !important;
  }

  .fin-title {
    font-size: clamp(40px, 11vw, 64px);
  }
}
