:root {
  --bg: #0B0D0C;
  --surface: #121614;
  --surface-elevated: #171D19;
  --surface-soft: rgba(244, 245, 240, 0.04);
  --hairline: rgba(244, 245, 240, 0.12);
  --hairline-strong: rgba(244, 245, 240, 0.22);

  --ink: #F4F5F0;
  --ink-muted: #B6BFB9;
  --ink-dim: #88928B;

  --lime: #C6F04D;
  --lime-soft: rgba(198, 240, 77, 0.14);
  --lime-border: rgba(198, 240, 77, 0.45);

  --amber: #F3BA4E;
  --amber-soft: rgba(243, 186, 78, 0.14);
  --amber-border: rgba(243, 186, 78, 0.48);

  --sky: #7DD3FC;
  --sky-soft: rgba(125, 211, 252, 0.14);
  --sky-border: rgba(125, 211, 252, 0.45);

  --coral: #F27462;
  --coral-soft: rgba(242, 116, 98, 0.13);
  --coral-border: rgba(242, 116, 98, 0.48);

  --ivory-bg: #FAF6EE;
  --ivory-surface: #FFFFFF;
  --ivory-tinted: #F3EDE0;
  --ivory-ink: #1C1F1D;
  --ivory-muted: #525954;
  --ivory-hairline: rgba(28, 31, 29, 0.14);
  --ivory-accent: #275832;
  --ivory-accent-soft: rgba(39, 88, 50, 0.1);

  --radius-card: 18px;
  --radius-pill: 999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.48;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}

body.is-reader-open {
  background: var(--ivory-bg);
  color: var(--ivory-ink);
}

[hidden] {
  display: none !important;
}

button,
a {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

body.is-reader-open :focus-visible {
  outline: 2px solid var(--ivory-accent);
  outline-offset: 2px;
}

/* =========================================================
   STICKY TOP BAR & INTRO STRIP
   ========================================================= */
.story-shell {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 82% 4%, rgba(198, 240, 77, 0.08), transparent 36%),
    radial-gradient(circle at 12% 45%, rgba(243, 186, 78, 0.05), transparent 38%),
    radial-gradient(circle at 88% 72%, rgba(125, 211, 252, 0.05), transparent 36%),
    var(--bg);
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 13, 12, 0.92);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.top-bar__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 3px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(198, 240, 77, 0.65);
  flex-shrink: 0;
}

.brand-mark__text {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.nav-pill {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-pill:hover {
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.nav-pill.is-active {
  background: var(--lime-soft);
  border-color: var(--lime-border);
  color: var(--lime);
}

.nav-pill--reader {
  padding: 0 12px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-weight: 800;
}

.nav-pill--reader:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
}

.intro-strip {
  border-bottom: 1px solid var(--hairline);
  background: rgba(244, 245, 240, 0.02);
}

.intro-strip__text {
  max-width: 720px;
  margin: 0 auto;
  padding: 9px 14px;
  font-size: 12.5px;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* =========================================================
   MAIN VERTICAL STORY FLOW
   ========================================================= */
.story-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 12px 72px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.chapter {
  scroll-margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sub-chapter {
  scroll-margin-top: 70px;
}

html.reveal-ready [data-reveal] {
  opacity: 0.85;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

html.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.chapter__head {
  margin: 0;
  padding: 0 2px;
}

.kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lime);
}

.kicker--amber {
  color: var(--amber);
}

.kicker--sky {
  color: var(--sky);
}

.kicker--coral {
  color: var(--coral);
}

.chapter__title {
  margin: 0;
  font-size: clamp(22px, 6vw, 29px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.chapter__lead {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--ink-muted);
}

.sub-chapter__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-chapter__title {
  margin: 0;
  font-size: clamp(18px, 4.8vw, 22px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
}

.sub-chapter__lead {
  margin: 2px 0 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--ink-muted);
}

.card {
  background: linear-gradient(180deg, var(--surface-elevated), var(--surface));
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card--track-lime {
  border-color: rgba(198, 240, 77, 0.3);
}

.card--track-amber,
.card--fb {
  border-color: rgba(243, 186, 78, 0.34);
}

.card--track-sky,
.card--yt {
  border-color: rgba(125, 211, 252, 0.32);
}


.card--hub,
.card--interns {
  border-color: rgba(198, 240, 77, 0.24);
}

.card--limit {
  border-color: rgba(242, 116, 98, 0.28);
}

/* =========================================================
   SEGMENTED TOGGLES (>= 48px MIN HEIGHT)
   ========================================================= */
.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--hairline);
}

.segmented__btn {
  min-height: 48px;
  padding: 8px 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.segmented__btn:hover {
  color: var(--ink);
}

.segmented__btn.is-active {
  background: var(--lime-soft);
  border-color: var(--lime-border);
  color: var(--lime);
}

.segmented__btn.is-active[data-s2-mode="before"] {
  background: var(--amber-soft);
  border-color: var(--amber-border);
  color: var(--amber);
}

/* =========================================================
   CHAPTER 1: RATE HERO + PIPELINE SVG
   ========================================================= */
.rate-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hairline);
}

.rate-hero__metric {
  display: flex;
  flex-wrap: baseline;
  align-items: baseline;
  gap: 8px;
}

.rate-hero__num {
  font-size: clamp(28px, 7.6vw, 36px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--lime);
  transition: color 240ms ease;
}

.rate-hero__num.is-before {
  color: var(--amber);
}

.rate-hero__unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.state-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.state-chip--lime {
  background: var(--lime-soft);
  color: var(--lime);
  border: 1px solid var(--lime-border);
}

.state-chip--amber {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid var(--amber-border);
}

.svg-stage {
  width: 100%;
  border-radius: 14px;
  background: rgba(8, 10, 9, 0.72);
  border: 1px solid var(--hairline);
  padding: 8px 4px;
  overflow: hidden;
}

.story-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Pipeline SVG typography & state animations */
.human-box {
  fill: #171D19;
  stroke: rgba(244, 245, 240, 0.22);
  stroke-width: 1.25;
}

.human-avatar {
  fill: rgba(244, 245, 240, 0.08);
  stroke: rgba(244, 245, 240, 0.25);
  stroke-width: 1;
}

.human-avatar__glyph,
.human-check {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.human-title {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.human-sub {
  fill: var(--ink-muted);
  font-size: 10.5px;
  font-weight: 500;
}

.human-tag-bg {
  fill: rgba(244, 245, 240, 0.08);
  stroke: rgba(244, 245, 240, 0.16);
}

.human-tag-txt {
  fill: var(--ink-muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.jagged-path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-dasharray: 4 3;
}

.jagged-arrow {
  fill: var(--amber);
}

.manual-chip-bg {
  fill: #231C10;
  stroke: rgba(243, 186, 78, 0.55);
  stroke-width: 1;
}

.manual-chip-txt {
  fill: var(--amber);
  font-size: 9.5px;
  font-weight: 700;
}

.spine-base {
  stroke: url(#limeSpineGrad);
  stroke-width: 4;
  stroke-linecap: round;
}

.spine-pulse {
  stroke: #E9FF9E;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 16 26;
  opacity: 0.9;
}

@keyframes pipelineFlow {
  from {
    stroke-dashoffset: 42;
  }
  to {
    stroke-dashoffset: 0;
  }
}

#svg-pipeline.is-after .spine-pulse {
  animation: pipelineFlow 1.4s linear infinite;
}

.spine-arrow {
  fill: var(--lime);
}

.pipeline-layer {
  transition: opacity 360ms ease;
}

.stage-node {
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stage-box {
  fill: #131E16;
  stroke: rgba(198, 240, 77, 0.65);
  stroke-width: 1.3;
  transition: fill 320ms ease, stroke 320ms ease;
}

.stage-num-bg {
  fill: var(--lime);
  transition: fill 320ms ease;
}

.stage-num-txt {
  fill: #0B0D0C;
  font-size: 11px;
  font-weight: 850;
  transition: fill 320ms ease;
}

.stage-name-txt {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.stage-status-dot {
  fill: var(--lime);
  transition: fill 320ms ease;
}

#svg-pipeline.is-before .pipeline-layer--before {
  opacity: 1;
}

#svg-pipeline.is-before .pipeline-layer--after {
  opacity: 0;
}

#svg-pipeline.is-after .pipeline-layer--before {
  opacity: 0;
}

#svg-pipeline.is-after .pipeline-layer--after {
  opacity: 1;
}

#svg-pipeline.is-before .stage-node--1 {
  transform: translateX(-62px);
}

#svg-pipeline.is-before .stage-node--2 {
  transform: translateX(62px);
}

#svg-pipeline.is-before .stage-node--3 {
  transform: translateX(-60px);
}

#svg-pipeline.is-before .stage-node--4 {
  transform: translateX(60px);
}

#svg-pipeline.is-before .stage-node--5 {
  transform: translateX(-56px);
}

#svg-pipeline.is-before .stage-box {
  fill: #1B1711;
  stroke: rgba(243, 186, 78, 0.58);
}

#svg-pipeline.is-before .stage-num-bg {
  fill: rgba(243, 186, 78, 0.22);
}

#svg-pipeline.is-before .stage-num-txt {
  fill: var(--amber);
}

#svg-pipeline.is-before .stage-status-dot {
  fill: var(--amber);
}

/* =========================================================
   CHAPTER 2: MỤC II.2 DATA HUB & SPLIT IMPACT CARDS
   ========================================================= */
.hub-source-box,
.hub-cadence-box {
  fill: #151C18;
  stroke: rgba(244, 245, 240, 0.2);
  stroke-width: 1.2;
}

.hub-icon-stroke {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hub-icon-fill {
  fill: var(--lime);
}

.hub-source-txt {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.hub-flow-base {
  fill: none;
  stroke: rgba(198, 240, 77, 0.28);
  stroke-width: 2;
}

.hub-flow-pulse {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  stroke-dasharray: 10 20;
  stroke-linecap: round;
  animation: hubFlowDown 1.7s linear infinite;
}

.hub-out-base {
  fill: none;
  stroke: rgba(243, 186, 78, 0.28);
  stroke-width: 2;
}

.hub-out-pulse {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  stroke-dasharray: 10 20;
  stroke-linecap: round;
  animation: hubFlowDown 1.7s linear infinite;
}

@keyframes hubFlowDown {
  from {
    stroke-dashoffset: 30;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.hub-arrow-lime {
  fill: var(--lime);
}

.hub-arrow-amber {
  fill: var(--amber);
}

.hub-aura {
  fill: rgba(198, 240, 77, 0.08);
}

.hub-core-box {
  fill: #132117;
  stroke: rgba(198, 240, 77, 0.72);
  stroke-width: 1.6;
}

.hub-core-title {
  fill: var(--lime);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.hub-core-sub {
  fill: var(--ink-muted);
  font-size: 10.5px;
  font-weight: 600;
}

.hub-cadence-pill {
  fill: var(--amber-soft);
  stroke: var(--amber-border);
  stroke-width: 1;
}

.hub-cadence-tag {
  fill: var(--amber);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.hub-cadence-title {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.hub-cadence-title--sm {
  font-size: 11px;
}

.hub-cadence-sub {
  fill: var(--ink-muted);
  font-size: 9.5px;
  font-weight: 550;
}

/* Two separated impacts below II.2 hub */
.impact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

@media (min-width: 560px) {
  .impact-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.impact-card {
  border-radius: 13px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.025);
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.impact-card--staff {
  border-color: rgba(198, 240, 77, 0.34);
  background: rgba(198, 240, 77, 0.05);
}

.impact-card--manager {
  border-color: rgba(243, 186, 78, 0.38);
  background: rgba(243, 186, 78, 0.055);
}

.impact-card__tag {
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.impact-card--staff .impact-card__tag {
  color: var(--lime);
}

.impact-card--manager .impact-card__tag {
  color: var(--amber);
}

.impact-card__metric {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
}

.impact-card--staff .impact-card__metric {
  color: var(--lime);
}

.impact-card--manager .impact-card__metric {
  color: var(--amber);
}

.impact-card__detail {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
}

/* =========================================================
   CHAPTER 3: MỤC II.3 INTERNS HERO SVG
   ========================================================= */
.intern-tile-box {
  fill: #142018;
  stroke: rgba(198, 240, 77, 0.52);
  stroke-width: 1.2;
}

.intern-live-dot {
  fill: var(--lime);
}

.intern-tile-id {
  fill: var(--ink);
  font-size: 11.5px;
  font-weight: 850;
}

.intern-tile-role {
  fill: var(--lime);
  font-size: 9.5px;
  font-weight: 700;
}

.intern-status-pill {
  fill: rgba(198, 240, 77, 0.11);
  stroke: rgba(198, 240, 77, 0.42);
  stroke-width: 1;
}

.intern-status-txt {
  fill: var(--lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.intern-panel {
  fill: #141A17;
  stroke: rgba(244, 245, 240, 0.16);
  stroke-width: 1.2;
}

.intern-panel-tag {
  fill: var(--amber);
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.intern-hero-num {
  fill: var(--lime);
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.intern-hero-unit {
  fill: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}

.intern-track-label {
  fill: var(--ink-muted);
  font-size: 10.5px;
  font-weight: 600;
}

.intern-track-label--strong {
  fill: var(--ink);
  font-weight: 800;
}

.intern-track-ref {
  fill: var(--ink-dim);
  font-size: 10px;
  font-weight: 600;
}

.intern-bar-bench {
  fill: rgba(140, 181, 155, 0.24);
  stroke: rgba(140, 181, 155, 0.55);
  stroke-width: 1;
}

.intern-bar-track {
  fill: rgba(244, 245, 240, 0.05);
  stroke: rgba(244, 245, 240, 0.14);
  stroke-width: 1;
}

.intern-guide-line {
  stroke: rgba(243, 186, 78, 0.65);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}

.intern-pct-pill {
  fill: #241C10;
  stroke: var(--amber);
  stroke-width: 1.15;
}

.intern-pct-txt {
  fill: var(--amber);
  font-size: 10.5px;
  font-weight: 850;
}

.intern-loop-stem {
  stroke: rgba(198, 240, 77, 0.55);
  stroke-width: 1.6;
  stroke-dasharray: 3 3;
}

.intern-tool-panel {
  fill: #131E16;
  stroke: rgba(198, 240, 77, 0.45);
  stroke-width: 1.3;
}

.intern-tool-tag {
  fill: var(--amber);
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.intern-tool-title {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.intern-tool-proof {
  fill: var(--lime);
  font-size: 10px;
  font-weight: 700;
}

/* =========================================================
   CHAPTER 3: DUAL-UNIT VIEWS CHART
   ========================================================= */
.chart-unit-pill {
  fill: rgba(198, 240, 77, 0.13);
  stroke: rgba(198, 240, 77, 0.45);
  stroke-width: 1;
}

.chart-unit-txt {
  fill: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.chart-partial-pill {
  fill: rgba(243, 186, 78, 0.12);
  stroke: rgba(243, 186, 78, 0.45);
  stroke-width: 1;
}

.chart-partial-txt {
  fill: var(--amber);
  font-size: 10px;
  font-weight: 700;
}

.chart-grid {
  stroke: rgba(244, 245, 240, 0.08);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.chart-baseline {
  stroke: rgba(244, 245, 240, 0.24);
  stroke-width: 1.2;
}

.chart-dashed-cap {
  fill: rgba(243, 186, 78, 0.08);
  stroke: var(--amber);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
  transition: opacity 260ms ease;
}

.chart-cap-pill {
  fill: #241C10;
  stroke: rgba(243, 186, 78, 0.65);
  stroke-width: 1;
}

.chart-cap-txt {
  fill: var(--amber);
  font-size: 10px;
  font-weight: 800;
}

.chart-growth-arc {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2.3;
  stroke-linecap: round;
}

.chart-growth-pill {
  fill: #241C10;
  stroke: var(--amber);
  stroke-width: 1.25;
}

.chart-growth-txt {
  fill: var(--amber);
  font-size: 11px;
  font-weight: 850;
}

#chart-dashed-cap-group,
#chart-daily-growth-group {
  transition: opacity 280ms ease;
}

.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.chart-bar-group {
  cursor: pointer;
  outline: none;
}

.chart-bar-hit {
  fill: transparent;
}

.chart-bar-rect {
  transition: stroke 160ms ease, filter 160ms ease;
}

.chart-bar-group.is-selected .chart-bar-rect {
  stroke: #FFFFFF;
  stroke-width: 1.5;
}

.chart-bar-group:focus-visible .chart-bar-rect {
  stroke: var(--lime);
  stroke-width: 2;
}

.chart-val-txt {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.chart-val-txt--accent {
  fill: var(--lime);
}

.chart-val-txt--amber {
  fill: var(--amber);
}

.chart-x-label {
  fill: var(--ink-muted);
  font-size: 11.5px;
  font-weight: 700;
}

.chart-x-label.is-selected {
  fill: var(--ink);
  font-weight: 850;
}

.chart-day-sub {
  fill: var(--ink-dim);
  font-size: 10px;
  font-weight: 600;
}

.chart-day-sub--partial {
  fill: var(--amber);
}

.chart-active-underline {
  fill: var(--lime);
}

/* Single-line 5-period selector row */
.period-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.55fr;
  gap: 6px;
}

.period-btn {
  min-height: 44px;
  padding: 0 4px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.period-btn:hover {
  color: var(--ink);
  border-color: var(--hairline-strong);
}

.period-btn.is-active {
  background: var(--lime-soft);
  border-color: var(--lime-border);
  color: var(--lime);
  font-weight: 800;
}

.period-btn--partial.is-active {
  background: var(--amber-soft);
  border-color: var(--amber-border);
  color: var(--amber);
}

/* 2-column focal comparison card */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.compare-cell {
  border-radius: 13px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.025);
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.compare-cell--highlight {
  border-color: var(--amber-border);
  background: rgba(243, 186, 78, 0.08);
}

.compare-cell__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
}

.compare-cell__value-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.compare-cell__num {
  font-size: clamp(19px, 5.2vw, 24px);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.compare-cell__num--text {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.compare-cell--highlight .compare-cell__num {
  color: var(--amber);
}

.compare-cell__unit {
  font-size: 11.5px;
  color: var(--ink-muted);
  font-weight: 600;
}

.compare-cell__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--amber);
  color: #0B0D0C;
  font-size: 11px;
  font-weight: 850;
}

.compare-cell__sub {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-dim);
}

.compare-cell__milestone {
  margin-top: 4px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.28;
}

.compare-cell__milestone--lime {
  background: var(--lime-soft);
  border: 1px solid var(--lime-border);
  color: var(--lime);
}

.compare-cell__milestone--amber {
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  color: var(--amber);
}

/* =========================================================
   CHAPTER 5: MỤC III.2 FOUR BESPOKE LIMIT GRAPHIC CARDS
   ========================================================= */
.limit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.limit-card {
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.limit-card[data-limit-id="profit"] {
  border-color: rgba(242, 116, 98, 0.4);
  background: rgba(242, 116, 98, 0.04);
}

.limit-card__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.limit-card__num {
  min-width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--coral-soft);
  border: 1px solid var(--coral-border);
  color: #FFD1CA;
  font-size: 11.5px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.limit-card__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.svg-stage--mini {
  padding: 6px 4px;
}

.limit-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--ink-muted);
}

/* Bespoke mini SVG tokens */
.mini-pill-coral {
  fill: #2B1413;
  stroke: rgba(242, 116, 98, 0.62);
  stroke-width: 1;
}

.mini-pill-coral-txt {
  fill: #FFD1CA;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.mini-pill-amber {
  fill: #241C10;
  stroke: rgba(243, 186, 78, 0.62);
  stroke-width: 1;
}

.mini-pill-amber-txt {
  fill: var(--amber);
  font-size: 9px;
  font-weight: 800;
}

.mini-baseline {
  stroke: rgba(244, 245, 240, 0.16);
  stroke-width: 1;
}

.mini-dashed-guide {
  stroke: rgba(243, 186, 78, 0.48);
  stroke-width: 1.1;
  stroke-dasharray: 3 3;
}

.mini-ceiling-dashed {
  stroke: rgba(242, 116, 98, 0.65);
  stroke-width: 1.3;
  stroke-dasharray: 4 3;
}

.mini-tag-chip {
  fill: rgba(244, 245, 240, 0.06);
  stroke: rgba(244, 245, 240, 0.18);
  stroke-width: 1;
}

.mini-tag-chip-txt {
  fill: var(--ink-muted);
  font-size: 10px;
  font-weight: 700;
}

.mini-label-lime {
  fill: var(--lime);
  font-size: 10.5px;
  font-weight: 800;
}

.mini-label-ink {
  fill: var(--ink);
  font-size: 10.5px;
  font-weight: 750;
}

.mini-label-coral {
  fill: #FFD1CA;
  font-size: 10.5px;
  font-weight: 750;
}

.mini-sub-dim {
  fill: var(--ink-dim);
  font-size: 9.5px;
  font-weight: 600;
}

.mini-sub-coral {
  fill: var(--coral);
  font-size: 9.5px;
  font-weight: 750;
}

.mini-bar-lime {
  fill: rgba(198, 240, 77, 0.85);
}

.mini-gate-line {
  stroke: rgba(243, 186, 78, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
}

.mini-arrow-stem {
  fill: none;
  stroke: rgba(198, 240, 77, 0.72);
  stroke-width: 1.6;
}

.mini-arrow-broken {
  fill: none;
  stroke: rgba(243, 186, 78, 0.7);
  stroke-width: 1.6;
  stroke-dasharray: 4 3;
}

.mini-bar-outline-amber {
  fill: rgba(243, 186, 78, 0.07);
  stroke: rgba(243, 186, 78, 0.45);
  stroke-width: 1.1;
  stroke-dasharray: 4 3;
}

.mini-bar-amber-fill {
  fill: rgba(243, 186, 78, 0.75);
}

.mini-bar-outline-coral {
  fill: rgba(242, 116, 98, 0.07);
  stroke: rgba(242, 116, 98, 0.48);
  stroke-width: 1.1;
  stroke-dasharray: 4 3;
}

.mini-bar-coral-fill {
  fill: rgba(242, 116, 98, 0.78);
}

.mini-eyebrow-amber {
  fill: var(--amber);
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.mini-num-lime-lg {
  fill: var(--lime);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.mini-unit-muted {
  fill: var(--ink-muted);
  font-size: 11px;
  font-weight: 650;
}

.mini-cost-bar {
  fill: #2B3930;
  stroke: rgba(140, 181, 155, 0.55);
  stroke-width: 1.1;
}

.mini-profit-sliver {
  fill: rgba(242, 116, 98, 0.28);
  stroke: var(--coral);
  stroke-width: 1.4;
}

.mini-legend-ink {
  fill: var(--ink-muted);
  font-size: 10px;
  font-weight: 650;
}

.mini-divider {
  stroke: rgba(244, 245, 240, 0.1);
  stroke-width: 1;
}

.mini-horizon-solid {
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
}

.mini-horizon-tick {
  stroke: var(--amber);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.mini-horizon-dot {
  fill: var(--coral);
  stroke: #0B0D0C;
  stroke-width: 1.4;
}

.mini-horizon-dashed {
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-dasharray: 4 3;
}

.mini-horizon-arrow {
  fill: var(--amber);
}

.mini-scope-left {
  fill: var(--ink);
  font-size: 9.5px;
  font-weight: 700;
}

.mini-scope-right {
  fill: var(--amber);
  font-size: 9.5px;
  font-weight: 800;
}


.svg-stage {
  width: 100%;
  border-radius: 14px;
  background: rgba(8, 10, 9, 0.72);
  border: 1px solid var(--hairline);
  padding: 8px 4px;
  overflow: hidden;
}

.svg-stage--mini {
  padding: 6px 4px;
}

.story-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   MỤC IV: SPECTRUM + IV.1 + IV.2 + IV.3
   ========================================================= */
.spec-axis-txt {
  fill: var(--ink-dim);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.spec-lane {
  fill: #151B18;
  stroke: rgba(244, 245, 240, 0.16);
  stroke-width: 1.1;
}

.spec-lane--lime {
  stroke: rgba(198, 240, 77, 0.38);
}

.spec-lane--amber {
  stroke: rgba(243, 186, 78, 0.38);
}

.spec-lane--sky {
  stroke: rgba(125, 211, 252, 0.36);
}

.badge-rect {
  fill: rgba(255, 255, 255, 0.06);
}

.badge-rect--lime {
  fill: var(--lime-soft);
}

.badge-rect--amber {
  fill: var(--amber-soft);
}

.badge-rect--sky {
  fill: var(--sky-soft);
}

.badge-txt {
  font-size: 9.5px;
  font-weight: 850;
}

.badge-txt--lime { fill: var(--lime); }
.badge-txt--amber { fill: var(--amber); }
.badge-txt--sky { fill: var(--sky); }

.spec-title {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.spec-track-bg {
  fill: rgba(244, 245, 240, 0.08);
}

.spec-bar-lime { fill: var(--lime); }
.spec-bar-amber { fill: var(--amber); }
.spec-bar-sky { fill: var(--sky); }

.status-pill {
  stroke-width: 1;
}

.status-pill--lime {
  fill: rgba(198, 240, 77, 0.14);
  stroke: rgba(198, 240, 77, 0.45);
}

.status-pill--amber {
  fill: rgba(243, 186, 78, 0.14);
  stroke: rgba(243, 186, 78, 0.45);
}

.status-pill--sky {
  fill: rgba(125, 211, 252, 0.14);
  stroke: rgba(125, 211, 252, 0.45);
}

.status-txt {
  font-size: 8.5px;
  font-weight: 800;
}

.status-txt--lime { fill: var(--lime); }
.status-txt--amber { fill: var(--amber); }
.status-txt--sky { fill: var(--sky); }

.jump-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 6px;
}

.jump-btn {
  min-height: 44px;
  padding: 0 3px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.jump-btn--lime { border-color: rgba(198, 240, 77, 0.36); color: var(--lime); }
.jump-btn--amber { border-color: rgba(243, 186, 78, 0.36); color: var(--amber); }
.jump-btn--sky { border-color: rgba(125, 211, 252, 0.36); color: var(--sky); }

.jump-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* IV.1 SVG & Priorities */
.iv-box {
  fill: #151C18;
  stroke: rgba(244, 245, 240, 0.2);
  stroke-width: 1.2;
}

.iv-box--lime {
  fill: #152318;
  stroke: rgba(198, 240, 77, 0.72);
  stroke-width: 1.5;
}

.iv-box-tag {
  fill: var(--ink-dim);
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.iv-box-tag--lime {
  fill: var(--lime);
}

.iv-box-main {
  fill: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
}

.iv-box-hero {
  fill: var(--lime);
  font-size: 15.5px;
  font-weight: 850;
}

.iv-box-sub {
  fill: var(--ink-muted);
  font-size: 9.5px;
  font-weight: 600;
}

.iv-arrow-line {
  stroke-width: 1.8;
}

.iv-arrow-line--lime { stroke: var(--lime); }
.iv-arrow-head--lime { fill: var(--lime); }

.group-label {
  margin: 0;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.priority-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.priority-item {
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.025);
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.priority-item__num {
  min-width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--lime-soft);
  border: 1px solid var(--lime-border);
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.priority-list--sky .priority-item__num {
  background: var(--sky-soft);
  border-color: var(--sky-border);
  color: var(--sky);
}

.priority-item__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.priority-item__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.priority-item__detail {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.44;
}

/* IV.2 SVG & Reality Split */
.iv2-eyebrow {
  fill: var(--amber);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.step-box {
  fill: #1A1812;
  stroke: rgba(243, 186, 78, 0.45);
  stroke-width: 1.2;
}

.step-box--loop {
  stroke-dasharray: 4 3;
}

.step-num {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.step-sub {
  fill: var(--ink-muted);
  font-size: 9px;
  font-weight: 600;
}

.step-arrow-line {
  stroke: var(--amber);
  stroke-width: 1.5;
}

.step-loop-dashed {
  stroke: var(--amber);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
}

.step-arrow-head {
  fill: var(--amber);
}

.reality-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

@media (min-width: 520px) {
  .reality-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mini-panel {
  border-radius: 12px;
  border: 1px solid var(--hairline);
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-panel--amber {
  border-color: var(--amber-border);
  background: rgba(243, 186, 78, 0.06);
}

.mini-panel--coral {
  border-color: var(--coral-border);
  background: rgba(242, 116, 98, 0.06);
}

.mini-panel__tag {
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mini-panel--amber .mini-panel__tag { color: var(--amber); }
.mini-panel--coral .mini-panel__tag { color: var(--coral); }

.mini-panel__body {
  margin: 0;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.42;
}

.hypothesis-box {
  border-radius: 13px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hypothesis-box__tag {
  margin: 0;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.05em;
  color: var(--amber);
}

.hypothesis-box__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-muted);
}

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

.condition-chip {
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid rgba(243, 186, 78, 0.34);
  background: rgba(243, 186, 78, 0.06);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

/* IV.3 YouTube Roadmap & ~25 USD Caveat SVG */
.yt-phase-start {
  fill: #131E24;
  stroke: var(--sky-border);
  stroke-width: 1.4;
}

.yt-phase-goal {
  fill: rgba(125, 211, 252, 0.05);
  stroke: rgba(125, 211, 252, 0.45);
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
}

.yt-phase-tag {
  fill: var(--sky);
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.yt-phase-tag--dim {
  fill: var(--ink-muted);
}

.yt-phase-num {
  fill: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.yt-phase-num--sky {
  fill: var(--sky);
}

.yt-dash-arrow {
  stroke: var(--sky);
  stroke-width: 1.8;
  stroke-dasharray: 4 3;
}

.yt-arrow-head {
  fill: var(--sky);
}

.yt-step-note {
  fill: #D4DDD2;
  font-size: 8.5px;
  font-weight: 700;
}

.yt-cost-box {
  fill: #1F1514;
  stroke: rgba(242, 116, 98, 0.48);
  stroke-width: 1.2;
}

.yt-cost-eyebrow {
  fill: var(--coral);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.yt-cost-num {
  fill: var(--amber);
  font-size: 20px;
  font-weight: 850;
}

.yt-cost-unit {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.yt-cost-note {
  fill: var(--ink-muted);
  font-size: 9.8px;
  font-weight: 600;
}

/* =========================================================
   MỤC V: COMPETITION & SEPARATED PLATFORMS
   ========================================================= */
.v1-card-lime {
  fill: #131F16;
  stroke: rgba(198, 240, 77, 0.45);
  stroke-width: 1.2;
}

.v1-card-coral {
  fill: #201514;
  stroke: rgba(242, 116, 98, 0.45);
  stroke-width: 1.2;
}

.v1-tag-lime {
  fill: var(--lime);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.v1-tag-coral {
  fill: var(--coral);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.v1-title {
  fill: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
}

.v1-sub {
  fill: var(--ink-muted);
  font-size: 9.6px;
  font-weight: 550;
}

.v1-sub--coral {
  fill: #FFD1CA;
  font-weight: 700;
}

.v1-stem {
  fill: none;
  stroke: rgba(198, 240, 77, 0.48);
  stroke-width: 1.6;
}

.v1-stem--coral {
  stroke: rgba(242, 116, 98, 0.48);
}

.v1-moat-box {
  fill: #142217;
  stroke: rgba(198, 240, 77, 0.65);
  stroke-width: 1.4;
}

.v1-moat-line {
  fill: var(--ink);
  font-size: 10px;
  font-weight: 750;
}

.platform-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-tag {
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.platform-tag--amber { color: var(--amber); }
.platform-tag--sky { color: var(--sky); }

.platform-title {
  margin: -6px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.plat-warn-box {
  fill: #201514;
  stroke: rgba(242, 116, 98, 0.46);
  stroke-width: 1.1;
}

.plat-act-amber {
  fill: #1F1B12;
  stroke: rgba(243, 186, 78, 0.52);
  stroke-width: 1.2;
}

.plat-act-sky {
  fill: #121D23;
  stroke: rgba(125, 211, 252, 0.52);
  stroke-width: 1.2;
}

.plat-tag-coral { fill: var(--coral); font-size: 8.5px; font-weight: 850; }
.plat-tag-amber { fill: var(--amber); font-size: 8.5px; font-weight: 850; }
.plat-tag-sky { fill: var(--sky); font-size: 8.5px; font-weight: 850; }

.plat-head { fill: var(--ink); font-size: 10.5px; font-weight: 800; }
.plat-body { fill: var(--ink-muted); font-size: 9px; font-weight: 600; }
.plat-body--coral { fill: #FFD1CA; font-weight: 700; }
.plat-body--amber { fill: #FCE1A6; font-weight: 700; }
.plat-body--sky { fill: #BAE6FD; font-weight: 700; }

.plat-arrow-line { stroke: var(--amber); stroke-width: 1.8; }
.plat-arrow-line--sky { stroke: var(--sky); }
.plat-arrow-amber { fill: var(--amber); }
.plat-arrow-sky { fill: var(--sky); }

.plat-text-pair {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plat-text-pair__line {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.46;
  color: var(--ink-muted);
}

.plat-text-pair__imp {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.46;
  color: var(--ink);
}

.plat-text-pair__imp--amber {
  border-left: 3px solid var(--amber);
  background: rgba(243, 186, 78, 0.08);
}

.plat-text-pair__imp--sky {
  border-left: 3px solid var(--sky);
  background: rgba(125, 211, 252, 0.08);
}

/* =========================================================
   MỤC VI: 4-RUNG LADDER & FILTERABLE EVALUATION MATRIX
   ========================================================= */
.track-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.track-btn {
  min-height: 44px;
  padding: 0 4px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.track-btn.is-active {
  background: var(--lime-soft);
  border-color: var(--lime-border);
  color: var(--lime);
  font-weight: 850;
}

.track-btn[data-vi-track="fb"].is-active {
  background: var(--amber-soft);
  border-color: var(--amber-border);
  color: var(--amber);
}

.track-btn[data-vi-track="yt"].is-active {
  background: var(--sky-soft);
  border-color: var(--sky-border);
  color: var(--sky);
}

.col-hdr-txt {
  font-size: 9.5px;
  font-weight: 850;
}

.col-hdr-txt--lime { fill: var(--lime); }
.col-hdr-txt--amber { fill: var(--amber); }
.col-hdr-txt--sky { fill: var(--sky); }

.rung-box {
  fill: #151B18;
  stroke: rgba(244, 245, 240, 0.14);
  stroke-width: 1.1;
}

.rung-box--goal {
  fill: #1E1514;
  stroke: rgba(242, 116, 98, 0.42);
  stroke-dasharray: 4 3;
}

.rung-title {
  fill: var(--ink);
  font-size: 10.5px;
  font-weight: 800;
}

.rung-sub {
  fill: var(--ink-muted);
  font-size: 9px;
  font-weight: 550;
}

.col-spine-solid--lime {
  stroke: rgba(198, 240, 77, 0.65);
  stroke-width: 2.2;
}

.col-spine-dashed {
  stroke-width: 1.6;
  stroke-dasharray: 4 3;
}

.col-spine-dashed--lime { stroke: rgba(242, 116, 98, 0.45); }
.col-spine-dashed--amber { stroke: rgba(243, 186, 78, 0.55); }
.col-spine-dashed--sky { stroke: rgba(125, 211, 252, 0.55); }

.marker-solid--lime {
  fill: var(--lime);
  stroke: #0B0D0C;
  stroke-width: 1.5;
}

.marker-hollow {
  fill: #141917;
  stroke-width: 1.8;
  stroke-dasharray: 3 2;
}

.marker-hollow--coral { stroke: var(--coral); }
.marker-hollow--amber { stroke: var(--amber); }
.marker-hollow--sky { stroke: var(--sky); }
.marker-hollow--dim { stroke: rgba(244, 245, 240, 0.25); }

.marker-none {
  stroke: rgba(244, 245, 240, 0.24);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.legend-txt {
  fill: var(--ink-muted);
  font-size: 10px;
  font-weight: 650;
}

/* Interactive Track Highlighting on SVG */
#svg-vi-ladder[data-vi-filter="web"] [data-col]:not([data-col="web"]),
#svg-vi-ladder[data-vi-filter="fb"] [data-col]:not([data-col="fb"]),
#svg-vi-ladder[data-vi-filter="yt"] [data-col]:not([data-col="yt"]) {
  opacity: 0.22;
}

#svg-vi-ladder [data-col] {
  transition: opacity 200ms ease;
}

/* Matrix Evaluation Cards */
.matrix-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.matrix-card {
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.matrix-card--lime { border-color: rgba(198, 240, 77, 0.36); }
.matrix-card--amber { border-color: rgba(243, 186, 78, 0.36); }
.matrix-card--sky { border-color: rgba(125, 211, 252, 0.36); }

.matrix-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.matrix-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.matrix-card__pill {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
}

.matrix-card--lime .matrix-card__pill { background: var(--lime-soft); color: var(--lime); }
.matrix-card--amber .matrix-card__pill { background: var(--amber-soft); color: var(--amber); }
.matrix-card--sky .matrix-card__pill { background: var(--sky-soft); color: var(--sky); }

.matrix-kv {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.44;
  color: var(--ink-muted);
}

.matrix-kv__row {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.matrix-kv__row strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.matrix-kv__action {
  padding-top: 6px;
  border-top: 1px solid var(--hairline);
  color: var(--ink);
  font-weight: 700;
}



/* =========================================================
   UNIFIED I-VIII STICKY CHAPTER PICKER & PROGRESS BAR
   ========================================================= */
.chapter-picker-btn {
  min-height: 44px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--lime-border);
  background: var(--lime-soft);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.chapter-picker-btn:hover {
  background: rgba(198, 240, 77, 0.22);
}

.chapter-drawer {
  border-top: 1px solid var(--hairline);
  background: rgba(14, 17, 15, 0.98);
  padding: 10px 12px 12px;
}

.chapter-drawer__grid {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

@media (min-width: 640px) {
  .chapter-drawer__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.drawer-link {
  min-height: 44px;
  padding: 5px 4px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-muted);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.drawer-link:hover {
  border-color: var(--hairline-strong);
  color: var(--ink);
}

.drawer-link.is-active {
  background: var(--lime-soft);
  border-color: var(--lime-border);
  color: var(--lime);
}

.drawer-link__num {
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.1;
}

.drawer-link__name {
  font-size: 9.5px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.progress-track {
  width: 100%;
  height: 2px;
  background: rgba(244, 245, 240, 0.08);
  overflow: hidden;
}

.progress-track__fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--amber));
  transition: width 90ms linear;
}

/* =========================================================
   MỤC I: PILLARS & 3 KPIs + PARALLEL MISSIONS
   ========================================================= */
.card--overview { border-color: rgba(198, 240, 77, 0.28); }
.mini-panel--lime { border-color: var(--lime-border); background: rgba(198, 240, 77, 0.06); }
.mini-panel--lime .mini-panel__tag { color: var(--lime); }
.mini-panel--sky { border-color: var(--sky-border); background: rgba(125, 211, 252, 0.06); }
.mini-panel--sky .mini-panel__tag { color: var(--sky); }

.i-eyebrow {
  fill: var(--lime);
  font-size: 8.8px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.i-pillar-box {
  fill: #141E17;
  stroke: rgba(198, 240, 77, 0.42);
  stroke-width: 1.2;
}

.i-pillar-txt {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.i-stem {
  fill: none;
  stroke: rgba(198, 240, 77, 0.45);
  stroke-width: 1.6;
}

.i-band-box {
  fill: #132117;
  stroke: rgba(198, 240, 77, 0.7);
  stroke-width: 1.3;
}

.i-band-txt {
  fill: var(--lime);
  font-size: 10px;
  font-weight: 800;
}

.i-kpi-box {
  fill: #141A17;
  stroke: rgba(244, 245, 240, 0.16);
  stroke-width: 1.2;
}

.i-kpi-box--lime { stroke: rgba(198, 240, 77, 0.44); }
.i-kpi-box--amber { stroke: rgba(243, 186, 78, 0.44); }
.i-kpi-box--sky { stroke: rgba(125, 211, 252, 0.44); }

.i-kpi-num {
  font-size: 17.5px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.i-kpi-num--lime { fill: var(--lime); }
.i-kpi-num--amber { fill: var(--amber); }
.i-kpi-num--sky { fill: var(--sky); }

.i-kpi-main {
  fill: var(--ink);
  font-size: 9.2px;
  font-weight: 750;
}

.i-kpi-sub {
  fill: var(--ink-muted);
  font-size: 8.8px;
  font-weight: 600;
}

/* =========================================================
   MỤC VII & VIII SVGs, CAVEATS & DECISION GRAPHICS
   ========================================================= */
.card--vii { border-color: rgba(125, 211, 252, 0.28); }
.card--viii { border-color: rgba(198, 240, 77, 0.3); }

.vii-reuse-box {
  fill: #131F16;
  stroke: rgba(198, 240, 77, 0.5);
  stroke-width: 1.2;
}

.vii-new-box {
  fill: #1B1811;
  stroke: rgba(243, 186, 78, 0.55);
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
}

.vii-tag-lime { fill: var(--lime); font-size: 9px; font-weight: 850; letter-spacing: 0.04em; }
.vii-tag-amber { fill: var(--amber); font-size: 9px; font-weight: 850; letter-spacing: 0.04em; }
.vii-box-head { fill: var(--ink); font-size: 11px; font-weight: 800; }
.vii-item { fill: var(--ink-muted); font-size: 9.8px; font-weight: 600; }
.vii-item--amber { fill: #FCE1A6; font-weight: 650; }

.vii-eyebrow { fill: var(--sky); font-size: 9px; font-weight: 850; letter-spacing: 0.04em; }
.vii-step-box { fill: #121D23; stroke: rgba(125, 211, 252, 0.45); stroke-width: 1.2; }
.vii-step-box--loop { stroke-dasharray: 4 3; }
.vii-arrow-line { stroke: var(--sky); stroke-width: 1.5; }
.vii-loop-dashed { stroke: var(--sky); stroke-width: 1.5; stroke-dasharray: 4 3; }
.vii-arrow-head { fill: var(--sky); }

.rd-now-box { fill: #131F16; stroke: rgba(198, 240, 77, 0.55); stroke-width: 1.3; }
.rd-future-box { fill: #121D23; stroke: rgba(125, 211, 252, 0.55); stroke-width: 1.3; stroke-dasharray: 4 3; }
.rd-tag-lime { fill: var(--lime); font-size: 9px; font-weight: 850; letter-spacing: 0.05em; }
.rd-tag-sky { fill: var(--sky); font-size: 9px; font-weight: 850; letter-spacing: 0.05em; }
.rd-head { fill: var(--ink); font-size: 12.5px; font-weight: 800; }
.rd-head--sky { fill: var(--sky); }
.rd-sub { fill: var(--ink-muted); font-size: 10px; font-weight: 600; }
.rd-cond-pill { fill: rgba(125, 211, 252, 0.14); stroke: rgba(125, 211, 252, 0.55); stroke-width: 1; }
.rd-cond-txt { fill: #E6F6FF; font-size: 9.2px; font-weight: 750; }

.caveat-banner {
  border-radius: 12px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.caveat-banner--amber {
  border: 1px solid rgba(243, 186, 78, 0.42);
  background: rgba(243, 186, 78, 0.07);
}

.caveat-banner--coral {
  border: 1px solid rgba(242, 116, 98, 0.45);
  background: rgba(242, 116, 98, 0.08);
}

.caveat-banner__title {
  font-size: 13px;
  font-weight: 850;
  color: #FFD1CA;
}

.caveat-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.46;
  color: var(--ink);
}

.hypothesis-box--lime {
  border-color: rgba(198, 240, 77, 0.34);
  background: rgba(198, 240, 77, 0.04);
}

.hypothesis-box__tag--lime { color: var(--lime); }

.condition-grid--lime .condition-chip {
  border-color: rgba(198, 240, 77, 0.36);
  background: rgba(198, 240, 77, 0.06);
}

.viii-eyebrow { fill: var(--amber); font-size: 9px; font-weight: 850; letter-spacing: 0.04em; }
.viii-eyebrow--dim { fill: var(--ink-dim); }
.viii-gate-box { fill: #151B18; stroke: rgba(244, 245, 240, 0.2); stroke-width: 1.15; }
.viii-gate-title { fill: var(--ink); font-size: 11px; font-weight: 800; }
.viii-gate-sub { fill: var(--ink-muted); font-size: 9.2px; font-weight: 600; }
.viii-down-line { stroke: rgba(244, 245, 240, 0.35); stroke-width: 1.5; }
.viii-down-arrow { fill: var(--ink-muted); }

.dec-pill { stroke-width: 1.3; }
.dec-pill--lime { fill: rgba(198, 240, 77, 0.14); stroke: var(--lime); }
.dec-pill--amber { fill: rgba(243, 186, 78, 0.14); stroke: var(--amber); }
.dec-pill--coral { fill: rgba(242, 116, 98, 0.14); stroke: var(--coral); }

.dec-txt { font-size: 11.5px; font-weight: 850; }
.dec-txt--lime { fill: var(--lime); }
.dec-txt--amber { fill: var(--amber); }
.dec-txt--coral { fill: #FFD1CA; }

.closing-thesis {
  position: relative;
  overflow: hidden;
  margin: 2px 0 0;
  padding: 13px 15px 13px 18px;
  border-radius: 12px;
  border: 1px solid rgba(198, 240, 77, 0.24);
  background: rgba(198, 240, 77, 0.08);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.45;
}

.closing-thesis::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: var(--lime);
}

.closing-thesis--final {
  background: linear-gradient(90deg, rgba(198, 240, 77, 0.12), rgba(198, 240, 77, 0.03));
}

.closing-thesis--final::before {
  width: 4px;
}

/* =========================================================
   CTA BUTTONS (>= 44px / 48px)
   ========================================================= */
.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 560px) {
  .footer-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.action-btn {
  min-height: 48px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 13px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.action-btn:hover {
  border-color: var(--lime-border);
  background: rgba(198, 240, 77, 0.08);
}

.action-btn--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #0B0D0C;
  font-weight: 850;
}

.action-btn--primary:hover {
  background: #D5F673;
  border-color: #D5F673;
  color: #0B0D0C;
}

/* =========================================================
   WARM IVORY VERBATIM READER (#verbatim-reader)
   ========================================================= */
.reader-shell {
  min-height: 100dvh;
  background: var(--ivory-bg);
  color: var(--ivory-ink);
  padding-bottom: 72px;
}

.reader-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.95);
  border-bottom: 1px solid var(--ivory-hairline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.reader-topbar__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reader-topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.reader-back-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(28, 31, 29, 0.25);
  background: var(--ivory-surface);
  color: var(--ivory-ink);
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.reader-back-btn:hover {
  background: var(--ivory-tinted);
  border-color: var(--ivory-ink);
}

.reader-topbar__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  white-space: nowrap;
}

.reader-roman-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

@media (min-width: 640px) {
  .reader-roman-nav {
    display: flex;
    flex-wrap: nowrap;
  }
}

.reader-roman-btn {
  min-height: 44px;
  flex: 1;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid var(--ivory-hairline);
  background: var(--ivory-surface);
  color: var(--ivory-muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.reader-roman-btn:hover {
  color: var(--ivory-ink);
  border-color: rgba(28, 31, 29, 0.35);
}

.reader-roman-btn.is-active {
  background: var(--ivory-accent);
  border-color: var(--ivory-accent);
  color: #FFFFFF;
}

.reader-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 20px 14px 48px;
}

.reader-doc-head {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--ivory-ink);
}

.reader-doc-head__brand {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  color: var(--ivory-accent);
}

.reader-doc-head__audience {
  margin: 0;
  font-size: 14px;
  color: var(--ivory-muted);
  font-weight: 600;
}

.reader-preface {
  margin-bottom: 24px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ivory-tinted);
  border: 1px solid var(--ivory-hairline);
  font-size: 15px;
  line-height: 1.62;
}

.reader-preface p:first-child { margin-top: 0; }
.reader-preface p:last-child { margin-bottom: 0; }

.reader-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.reader-section {
  scroll-margin-top: 168px;
  padding-top: 18px;
  border-top: 1px solid var(--ivory-hairline);
}

@media (min-width: 640px) {
  .reader-section {
    scroll-margin-top: 122px;
  }
}

.reader-section__title {
  margin: 0 0 12px;
  font-size: clamp(19px, 5vw, 23px);
  line-height: 1.28;
  font-weight: 850;
  color: var(--ivory-ink);
}

.reader-section__content {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--ivory-ink);
}

.reader-section__content p { margin: 0 0 12px; }

.reader-section__content .report-subheading {
  margin: 18px 0 8px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ivory-accent);
}

.reader-section__content .report-list {
  margin: 0 0 14px;
  padding-left: 20px;
}

.reader-section__content .report-list li { margin-bottom: 6px; }

.reader-section__content .report-quote {
  margin: 12px 0;
  padding: 10px 14px;
  border-left: 3px solid var(--ivory-accent);
  background: var(--ivory-tinted);
  border-radius: 0 10px 10px 0;
}

.reader-section__content .report-divider {
  border: 0;
  border-top: 1px solid var(--ivory-hairline);
  margin: 16px 0;
}

.reader-table-wrap,
.report-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0;
  border-radius: 12px;
  border: 1px solid var(--ivory-hairline);
  background: var(--ivory-surface);
}

.report-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.45;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.report-table th,
.report-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ivory-hairline);
  vertical-align: top;
}

.report-table th {
  background: var(--ivory-tinted);
  color: var(--ivory-ink);
  font-weight: 800;
  font-size: 12.5px;
}

.report-table tbody tr:last-child td { border-bottom: 0; }

/* =========================================================
   REDUCED MOTION FALLBACK
   ========================================================= */
@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;
  }

  html.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}