:root {
  /* Light theme — white background, Ottu brand. Orange dominates; red/blue/pink/charcoal support. */
  --bg: #ffffff;
  --bg-2: #f4f6f9;
  --panel: #f7f8fb;
  --panel-2: #eef1f6;
  --line: #e7e9ef;
  --line-2: #d3d8e2;
  --text: #20222a;
  --text-dim: #4d525d;
  --text-faint: #878d9b;
  --accent: #f57e20;           /* Ottu orange — THE accent */
  --accent-2: #f9a253;         /* warm orange highlight (gradients) */
  --accent-soft: rgba(245, 126, 32, 0.10);
  --accent-glow: rgba(245, 126, 32, 0.22);
  --good: #1e9e6a;             /* positive */
  --bad: #ed292e;              /* negative — also Ottu red */

  /* Ottu brand palette — use deliberately in diagrams, charts, and the motif */
  --ott-orange: #f57e20;
  --ott-red: #ed292e;
  --ott-pink: #f393bd;
  --ott-blue: #1982bb;
  --ott-charcoal: #323139;
  --ink: #16181d;              /* dark text on accent fills */

  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(14px, 1.1vw + 10px, 17px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

#deck {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 6vh 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.slide.active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  animation: fade 280ms ease;
  z-index: 2;
}

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

.slide.tall { justify-content: flex-start; padding-top: 4vh; }

.eyebrow, .kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.kicker { color: var(--text-faint); }

h1 {
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem;
}

h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.6rem);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 1.4rem;
  color: var(--text);
  max-width: 28ch;
}

.title h2 {
  font-weight: 400;
  color: var(--text-dim);
  max-width: 58ch;
}

h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.meta {
  margin-top: 2.4rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-faint);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 0.05em 0.4em;
  border-radius: 4px;
  color: var(--accent);
}

/* ---------- Slide 2: hero thesis ---------- */
.hero-thesis {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.018em;
  max-width: 24ch;
  color: var(--text);
}
.hero-thesis em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}
.hero-thesis .small {
  display: block;
  margin-top: 1.4rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-faint);
  max-width: 60ch;
}

/* ---------- Slide 3: bullets ---------- */
ul.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 82ch;
}
ul.bullets li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
}
ul.bullets li:last-child { border-bottom: none; }
ul.bullets li::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 1.15rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
ul.bullets li b { color: var(--text); font-weight: 600; }
.aside {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: var(--text-faint);
  font-style: italic;
  max-width: 70ch;
}

/* ---------- Slide 4: stacked-bar chart ---------- */
.role-chart {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  max-width: 88ch;
  margin: 1rem 0 1.4rem;
}
.role-row { display: grid; grid-template-columns: 7rem 1fr 8rem; align-items: center; gap: 1rem; }
.role-name { font-weight: 600; color: var(--text); }
.role-bar {
  position: relative;
  height: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
}
.role-bar .seg { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 600; color: rgba(0,0,0,0.7); transition: width 400ms ease; }
.role-bar .producing { background: var(--accent); }
.role-bar .coord { background: linear-gradient(90deg, #c2c8d2, #aab1bf); color: var(--text-dim); }
.role-cap { font-family: var(--mono); font-size: 0.78rem; color: var(--text-faint); text-align: right; }
.chart-legend { display: flex; gap: 1.4rem; font-family: var(--mono); font-size: 0.78rem; color: var(--text-faint); margin-top: 0.5rem; }
.chart-legend .swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; margin-right: 0.35rem; }
.swatch-producing { background: var(--accent); }
.swatch-coord { background: linear-gradient(90deg, #c2c8d2, #aab1bf); }

/* ---------- Slide 5: before/after panels ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem;
  position: relative;
  min-height: 360px;
}
.panel.after { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--panel); }
.panel-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.4rem;
}
.panel.after .panel-tag { color: var(--accent); }
.panel h3 { margin-bottom: 1rem; }
.panel svg.relations { width: 100%; height: 280px; display: block; }
.panel svg.relations text { font-family: var(--sans); fill: var(--text-dim); font-size: 12px; }
.panel svg.relations .node circle { fill: var(--panel-2); stroke: var(--line-2); }
.panel svg.relations .hub circle { fill: var(--accent); stroke: var(--accent); }
.panel svg.relations .hub text { fill: #0f1115; font-weight: 700; }
.panel svg.relations line, .panel svg.relations path { stroke: var(--line-2); stroke-width: 1.2; fill: none; }
.panel.after svg.relations line, .panel.after svg.relations path { stroke: var(--accent); opacity: 0.85; }
.panel-caption { margin-top: 0.6rem; color: var(--text-faint); font-size: 0.9rem; font-style: italic; }

/* ---------- Slide 6: 3+1 cards ---------- */
.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.2rem;
  margin-top: 0.6rem;
}
.k-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.k-card .k-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.k-card h3 { margin-bottom: 0.6rem; }
.k-card p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
.k-card.plus-one { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--panel); }
.k-card.plus-one .k-num { color: var(--accent); font-weight: 700; }
.knowledge-tagline { margin-top: 1.4rem; color: var(--text-dim); font-size: 1rem; font-style: italic; max-width: 70ch; }

/* ---------- Slide 7: PM moment walkthrough ---------- */
.pm-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.6rem;
  margin-top: 0.6rem;
}
.pm-prompt {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1.2rem;
  font-family: var(--mono);
  font-size: 0.94rem;
  color: var(--text-dim);
}
.pm-prompt .pm-label { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-bottom: 0.6rem; display: block; }
.pm-prompt em { color: var(--text); font-style: italic; }
.pm-outputs {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
}
.pm-outputs .pm-label { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-faint); font-family: var(--mono); text-transform: uppercase; margin-bottom: 0.7rem; display: block; }
.pm-outputs ul { list-style: none; padding: 0; margin: 0; }
.pm-outputs li { padding: 0.5rem 0 0.5rem 1.5rem; position: relative; color: var(--text-dim); border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.pm-outputs li:last-child { border-bottom: none; }
.pm-outputs li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pm-outputs li b { color: var(--text); }

/* ---------- Slides 9, 10: pain/solution ---------- */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0.6rem;
}
.pair .panel { min-height: auto; }
.pair .panel.before { border-color: var(--line); }
.pair .panel.before .panel-tag { color: var(--text-faint); }
.pair .panel p { color: var(--text-dim); font-size: 0.96rem; margin: 0 0 0.6rem; }
.pair .panel .punchline { color: var(--text); font-weight: 600; font-size: 1.05rem; margin-top: 0.6rem; }
.pair .panel.after .punchline { color: var(--accent); }

/* ---------- Slide 11: meetings disappear ---------- */
.cycle-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 0.4rem;
}
.cycle {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}
.cycle.now .panel-tag { color: var(--text-faint); }
.cycle.next { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--panel); }
.cycle.next .panel-tag { color: var(--accent); }
.cycle ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0.6rem 0 0;
}
.cycle ol li {
  counter-increment: step;
  position: relative;
  padding: 0.55rem 0 0.55rem 2.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.96rem;
}
.cycle ol li:last-child { border-bottom: none; }
.cycle ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  display: grid;
  place-items: center;
}
.cycle ol li.gone {
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-color: var(--bad);
  text-decoration-thickness: 1.5px;
}
.cycle.next ol li::before { color: var(--accent); border-color: var(--accent); }
.cycle ol li b { color: var(--text); }

/* ---------- Slide 13: metric tiles ---------- */
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1rem;
}
.metric-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.4rem 1.4rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.metric-tile.hero { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--panel); }
.metric-num {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.metric-label { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.7rem; }
.metric-body { color: var(--text-dim); font-size: 0.92rem; margin-top: auto; }
.metric-body b { color: var(--text); }

.investor-reframe {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--panel-2);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  font-size: 1.05rem;
  color: var(--text);
  max-width: 70ch;
}
.investor-reframe em { color: var(--accent); font-style: normal; font-weight: 600; }

/* ---------- Slide 14: competitive picture ---------- */
.outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.4rem;
  margin-top: 0.4rem;
}
.outcome {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.outcome .o-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-bottom: 0.35rem; }
.outcome p { margin: 0; color: var(--text-dim); font-size: 0.96rem; }
.outcome p b { color: var(--text); }
.moat-line {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: var(--text);
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  max-width: 70ch;
}

/* ---------- Slide 15: status + proof ---------- */
.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
  margin-top: 0.4rem;
}
.status-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}
.status-col.live { border-top: 3px solid var(--good); }
.status-col.flight { border-top: 3px solid var(--accent); }
.status-col.next { border-top: 3px solid var(--line-2); }
.status-col h3 { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.status-col .pulse { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-col.live .pulse { background: var(--good); box-shadow: 0 0 0 4px rgba(108,199,138,0.18); }
.status-col.flight .pulse { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.status-col.next .pulse { background: var(--line-2); }
.status-col ul { list-style: none; padding: 0; margin: 0; }
.status-col li { padding: 0.45rem 0; border-bottom: 1px dashed var(--line); color: var(--text-dim); font-size: 0.92rem; }
.status-col li:last-child { border-bottom: none; }
.status-col li b { color: var(--text); }

.proof {
  margin-top: 1.4rem;
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--panel);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.proof-text { color: var(--text-dim); }
.proof-text .proof-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.4rem; }
.proof-text h3 { color: var(--text); margin-bottom: 0.3rem; }
.proof-text p { margin: 0.2rem 0; font-size: 0.95rem; }
.proof-text b { color: var(--text); }
.proof-stats { display: flex; gap: 1.2rem; }
.proof-stats .ps { text-align: center; }
.proof-stats .ps-num { font-size: 1.8rem; font-weight: 700; color: var(--accent); line-height: 1; }
.proof-stats .ps-lbl { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-top: 0.3rem; }

/* ---------- Slide 16: closing ---------- */
.closing { justify-content: center; text-align: left; }
.closing .big {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 1.4rem;
  max-width: 22ch;
}
.closing .big em { color: var(--accent); font-style: normal; }
.closing .sub { font-size: 1.15rem; color: var(--text-dim); max-width: 60ch; padding-left: 1rem; border-left: 3px solid var(--accent); }

/* ---------- Mermaid container ---------- */
.mermaid {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0.6rem 0;
  overflow-x: auto;
}
.mermaid svg {
  max-width: 100% !important;
  max-height: 56vh !important;
  height: auto !important;
}

/* ---------- HUD ---------- */
#hud {
  position: fixed;
  bottom: 1.2rem;
  right: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
  padding: 0.3rem 0.6rem;
  z-index: 10;
}
#hud button {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}
#hud button:hover { background: var(--panel); color: var(--accent); }
#counter { min-width: 4.4rem; text-align: center; }

/* ---------- Day in the life columns ---------- */
.day-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.1rem; margin-top: 0.6rem; }
.day-col { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1rem 1.1rem; }
.day-col .day-role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem; display: block; }
.day-col ul { list-style: none; padding: 0; margin: 0; }
.day-col li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
  align-items: baseline;
}
.day-col li:last-child { border-bottom: none; }
.day-col li .t { font-family: var(--mono); font-size: 0.74rem; color: var(--text-faint); }
.day-col li.flow { color: var(--good); }
.day-col li.flow .t { color: var(--good); }
.day-col li.flow span:last-child { font-weight: 600; }

/* ---------- Asset (appreciation) pair ---------- */
.asset-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 0.6rem; }
.asset-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; }
.asset-panel.tomorrow { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--panel); }
.asset-panel .asset-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.4rem; }
.asset-panel.tomorrow .asset-tag { color: var(--accent); }
.asset-panel h3 { margin-bottom: 1rem; }
.asset-panel ul { list-style: none; padding: 0; margin: 0; }
.asset-panel li { padding: 0.55rem 0 0.55rem 1.5rem; position: relative; color: var(--text-dim); border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.asset-panel li:last-child { border-bottom: none; }
.asset-panel li::before { content: '−'; position: absolute; left: 0.2rem; color: var(--text-faint); font-weight: 700; }
.asset-panel.tomorrow li::before { content: '+'; color: var(--accent); }
.asset-panel li b { color: var(--text); }

/* ---------- Agent for every role ---------- */
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 0.4rem; }
.agent-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; }
.agent-card .a-role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.3rem; display: block; }
.agent-card h4 { font-size: 1rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--text); }
.agent-card p { font-size: 0.86rem; color: var(--text-dim); margin: 0; }
.hub-line {
  margin: 1rem 0 1.2rem;
  padding: 0.85rem 1.2rem;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 0.98rem;
  color: var(--text);
  max-width: 90ch;
}
.hub-line b { color: var(--accent); }

/* ---------- Role day before/after ---------- */
.role-day-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 0.6rem; }
.role-day-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem; }
.role-day-panel.after { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--panel); }
.role-day-panel .rd-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.4rem; }
.role-day-panel.after .rd-tag { color: var(--accent); }
.role-day-panel h3 { margin-bottom: 0.8rem; }
.role-day-panel ul { list-style: none; padding: 0; margin: 0; }
.role-day-panel li { padding: 0.45rem 0 0.45rem 1.4rem; position: relative; color: var(--text-dim); font-size: 0.93rem; border-bottom: 1px dashed var(--line); }
.role-day-panel li:last-child { border-bottom: none; }
.role-day-panel li::before { content: '•'; position: absolute; left: 0.3rem; color: var(--text-faint); }
.role-day-panel.after li::before { color: var(--accent); }
.role-day-panel li b { color: var(--text); }
.role-day-punch { margin-top: 1.2rem; padding-left: 1rem; border-left: 3px solid var(--accent); font-size: 1.08rem; color: var(--text); max-width: 80ch; }
.role-day-punch b { color: var(--accent); }

/* ---------- Flywheel ---------- */
.flywheel-wrap { display: grid; grid-template-columns: 460px 1fr; gap: 2.4rem; margin-top: 0.6rem; align-items: center; }
.flywheel-svg { width: 100%; max-width: 460px; height: auto; }
.flywheel-svg .ring { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 6; }
.flywheel-svg .stage-circle { fill: var(--panel); stroke: var(--accent); stroke-width: 2; }
.flywheel-svg .stage-num { font-family: var(--sans); font-weight: 700; fill: var(--accent); font-size: 14px; text-anchor: middle; }
.flywheel-svg .stage-label { font-family: var(--sans); font-size: 11px; fill: var(--text-dim); text-anchor: middle; }
.flywheel-svg .arrow { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: 0.75; }
.flywheel-svg .arrowhead { fill: var(--accent); }
.flywheel-svg .center-circle { fill: var(--accent); stroke: var(--accent); }
.flywheel-svg .center-text { fill: #0f1115; font-weight: 700; font-size: 13px; text-anchor: middle; font-family: var(--sans); }
.flywheel-stages { list-style: none; padding: 0; margin: 0; }
.flywheel-stages li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.flywheel-stages li:last-child { border-bottom: none; }
.flywheel-stages .fw-num { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); font-weight: 700; }
.flywheel-stages .fw-text { color: var(--text-dim); font-size: 0.96rem; }
.flywheel-stages .fw-text b { color: var(--text); }

/* ---------- Skills as multipliers ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 0.4rem; }
.skill-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; }
.skill-card .s-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 0.3rem; }
.skill-card h4 { font-size: 1rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--text); }
.skill-card p { font-size: 0.87rem; color: var(--text-dim); margin: 0; }
.skill-card.extensible { border: 1px dashed var(--accent); background: rgba(245, 126, 32, 0.06); grid-column: 1 / -1; text-align: center; }
.skill-card.extensible h4 { color: var(--accent); }
.skill-card.extensible p { max-width: 70ch; margin: 0 auto; }

/* ---------- Timeline (grid-based, line behind dots, labels strictly below) ---------- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  position: relative;
  padding: 1.5rem 1rem 1rem;
}
.timeline-grid::before {
  content: '';
  position: absolute;
  left: calc(100% / 12 + 1rem);
  right: calc(100% / 12 + 1rem);
  top: calc(1.5rem + 7px);
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  z-index: 0;
}
.timeline-grid::after {
  content: '';
  position: absolute;
  left: calc(100% / 12 + 1rem);
  width: calc((100% - 2rem - (100% / 6)) * var(--progress, 0.66));
  top: calc(1.5rem + 7px);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  z-index: 0;
}
.tl-point {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.3rem;
}
.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--line-2);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.tl-point.done .tl-dot { background: var(--accent); border-color: var(--accent); }
.tl-point.now .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-glow); }
.tl-when {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.35rem;
}
.tl-point.done .tl-when, .tl-point.now .tl-when { color: var(--accent); }
.tl-point.now .tl-when { font-weight: 700; }
.tl-label { font-size: 0.84rem; color: var(--text-dim); line-height: 1.4; }
.tl-point.now .tl-label, .tl-label b { color: var(--text); }
.tl-caption { margin-top: 2rem; color: var(--text-faint); font-style: italic; font-size: 0.95rem; max-width: 70ch; }

/* ---------- Sales & marketing asset grid ---------- */
.sm-asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 0.4rem;
}
.sm-asset {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
}
.sm-asset .sm-aud {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.sm-asset h4 { font-size: 0.94rem; font-weight: 600; margin: 0 0 0.3rem; color: var(--text); }
.sm-asset p { font-size: 0.83rem; color: var(--text-dim); margin: 0; }
.sm-academy-strip {
  margin-top: 1.2rem;
  padding: 0.9rem 1.2rem;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 0.98rem;
  color: var(--text);
  max-width: 100ch;
}
.sm-academy-strip b { color: var(--accent); }

#toc {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  z-index: 10;
  max-width: 16rem;
  text-align: right;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Brand name keeps its case even inside uppercase-styled containers */
.brand { text-transform: none; letter-spacing: normal; }

/* ============================================================
   RESPONSIVE — tablet portrait / narrow windows (<= 900px)
   ============================================================ */
@media (max-width: 900px) {
  .slide { padding: 4vh 5vw; }

  /* 4-col -> 2-col */
  .knowledge-grid,
  .sm-asset-grid { grid-template-columns: repeat(2, 1fr); }

  /* 3-col -> 2-col */
  .metrics,
  .skills-grid,
  .agents-grid,
  .status-grid { grid-template-columns: repeat(2, 1fr); }

  /* 2-col pairs -> stacked */
  .split,
  .pair,
  .cycle-compare,
  .outcomes,
  .asset-pair,
  .role-day-pair,
  .pm-card { grid-template-columns: 1fr; }

  /* day-in-life 3-col -> 2-col */
  .day-grid { grid-template-columns: repeat(2, 1fr); }

  /* flywheel: stack diagram over list, center the SVG */
  .flywheel-wrap { grid-template-columns: 1fr; gap: 1.4rem; }
  .flywheel-svg { max-width: 360px; margin: 0 auto; }

  /* proof: stack text over stats */
  .proof { grid-template-columns: 1fr; gap: 1rem; }
  .proof-stats { justify-content: flex-start; }

  /* drop tall min-heights so stacked cards aren't over-tall */
  .panel { min-height: 0; }
  .metric-tile { min-height: 0; }

  /* larger, thumb-reachable HUD */
  #hud {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    font-size: 0.9rem;
    padding: 0.45rem 0.9rem;
  }
  #hud button { padding: 0.5rem 0.8rem; min-width: 44px; min-height: 44px; }
}

/* ============================================================
   RESPONSIVE — phone portrait (<= 600px)
   ============================================================ */
@media (max-width: 600px) {
  .slide {
    justify-content: flex-start;
    padding: 4vh 6vw;
    -webkit-overflow-scrolling: touch;
  }

  /* everything to a single column */
  .knowledge-grid,
  .sm-asset-grid,
  .metrics,
  .skills-grid,
  .agents-grid,
  .status-grid,
  .day-grid { grid-template-columns: 1fr; }

  /* bar chart: drop the trailing caption column, caption sits under the bar */
  .role-row { grid-template-columns: 5rem 1fr; }
  .role-cap { grid-column: 1 / -1; text-align: left; margin-top: -0.6rem; }

  /* hide decorative corner label to free space */
  #toc { display: none; }

  /* ---- timeline becomes vertical ---- */
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.5rem 0 0.5rem 0.5rem;
  }
  .timeline-grid::before {
    left: 7px;
    right: auto;
    top: 1.2rem;
    bottom: 1.2rem;
    width: 3px;
    height: auto;
  }
  .timeline-grid::after {
    left: 7px;
    top: 1.2rem;
    width: 3px;
    height: calc((100% - 2.4rem) * var(--progress, 0.66));
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
  }
  .tl-point {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 0.9rem;
    padding: 0.7rem 0;
  }
  .tl-dot { margin-bottom: 0; margin-top: 0.15rem; }
  .tl-when { margin-bottom: 0.15rem; }
  .tl-caption { margin-top: 1.2rem; }
}

/* ---------- Chart + diagram containers (deck skill) ---------- */
.chart-box { margin: 0.6rem 0; }
.diagram-wrap { display: flex; justify-content: center; margin: 0.6rem 0; }
.hub-svg { width: 100%; max-width: 560px; height: auto; }
.hub-svg .hub-edges line { stroke: var(--line-2); stroke-width: 1.4; opacity: 0.7; }
.hub-svg .hub-node circle { fill: var(--panel); stroke: var(--line-2); stroke-width: 1.5; }
.hub-svg .hub-node text { fill: var(--text-dim); font-family: var(--sans); font-size: 13px; text-anchor: middle; }
.hub-svg .hub-center circle { fill: var(--accent); stroke: var(--accent); }
.hub-svg .hub-center text { fill: #0f1115; font-family: var(--sans); font-size: 13px; font-weight: 700; text-anchor: middle; }

/* ---------- Diagram archetypes (deck skill) ---------- */
/* Pipeline / flow — horizontal stages with arrow connectors */
.pipeline { display: flex; align-items: stretch; gap: 1.6rem; margin: 0.6rem 0; flex-wrap: wrap; }
.pipeline .stage { flex: 1 1 0; min-width: 130px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; position: relative; }
.pipeline .stage:not(:first-child)::before { content: '→'; position: absolute; left: -1.25rem; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.1rem; }
.pipeline .stage .s-num { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); letter-spacing: 0.1em; }
.pipeline .stage h4 { margin: 0.3rem 0; font-size: 0.98rem; color: var(--text); }
.pipeline .stage p { margin: 0; font-size: 0.85rem; color: var(--text-dim); }

/* Layered architecture — stacked horizontal bands */
.layers { display: flex; flex-direction: column; gap: 0.7rem; margin: 0.6rem 0; }
.layer { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 0.9rem 1.1rem; }
.layer .l-label { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.layer h4 { margin: 0.2rem 0; color: var(--text); font-size: 1rem; }
.layer p { margin: 0; color: var(--text-dim); font-size: 0.86rem; }
.layer.muted { border-left-color: var(--line-2); }
.layer.muted .l-label { color: var(--text-faint); }

/* Funnel — SVG trapezoid stack (see diagrams.md) */
.funnel-svg { width: 100%; max-width: 520px; height: auto; display: block; margin: 0 auto; }
.funnel-svg .seg { stroke: var(--bg); stroke-width: 2; }
.funnel-svg .seg-text { fill: #0f1115; font-family: var(--sans); font-weight: 700; font-size: 14px; text-anchor: middle; }
.funnel-svg .seg-note { fill: var(--text-faint); font-family: var(--mono); font-size: 11px; text-anchor: start; }

/* Comparison matrix — 2-axis grid of cells */
.matrix { display: grid; gap: 0.6rem; margin: 0.6rem 0; }
.matrix .cell { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem 0.9rem; color: var(--text-dim); font-size: 0.9rem; }
.matrix .cell.head { background: transparent; border: none; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); padding: 0.3rem 0.9rem; }
.matrix .cell.yes { border-color: var(--accent); }
.matrix .cell .m-mark { color: var(--accent); font-weight: 700; }

/* ============================================================
   OTTU BANKING DECK — light-theme additions
   ============================================================ */

/* Premium soft lift on cards (light mode reads flat without it) */
.panel, .k-card, .metric-tile, .status-col, .day-col, .agent-card,
.skill-card:not(.extensible), .cycle, .outcome, .sm-asset, .pipeline .stage,
.layer, .pm-prompt, .pm-outputs, .role-day-panel, .asset-panel {
  box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 8px 20px rgba(16,24,40,0.05);
}

/* Brand-tint modifiers — rescope the accent vars so a single card/diagram can
   carry blue / pink / red / charcoal while every component stays token-driven. */
.tint-blue     { --accent: var(--ott-blue);     --accent-2:#46a6d8; --accent-soft: rgba(25,130,187,0.10);  --accent-glow: rgba(25,130,187,0.22); }
.tint-pink     { --accent: var(--ott-pink);     --accent-2:#f7b3d2; --accent-soft: rgba(243,147,189,0.16); --accent-glow: rgba(243,147,189,0.30); }
.tint-red      { --accent: var(--ott-red);      --accent-2:#f2605f; --accent-soft: rgba(237,41,46,0.09);   --accent-glow: rgba(237,41,46,0.20); }
.tint-charcoal { --accent: var(--ott-charcoal); --accent-2:#56555e; --accent-soft: rgba(50,49,57,0.07);    --accent-glow: rgba(50,49,57,0.16); }
.tint-green    { --accent: var(--good);         --accent-2:#4cbf90; --accent-soft: rgba(30,158,106,0.10);  --accent-glow: rgba(30,158,106,0.22); }
.tint-orange   { --accent: var(--ott-orange);   --accent-2:#f9a253; --accent-soft: rgba(245,126,32,0.10);  --accent-glow: rgba(245,126,32,0.22); }

/* Tinted cards surface their brand color (top bar + label) for Bauhaus vibrancy */
.k-card[class*="tint-"] { border-top: 3px solid var(--accent); }
.k-card[class*="tint-"] .k-num { color: var(--accent); font-weight: 700; }

/* ---- Title hero (text left, animated motif right) ---- */
.slide.title { justify-content: center; }
.title-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4vw; align-items: center; width: 100%; }
.title-lead { min-width: 0; }
.brand-logo { height: clamp(2.1rem, 3vw, 2.9rem); width: auto; display: block; align-self: flex-start; margin-bottom: 2.2rem; }
.title-hero h1 { margin: 0 0 1.1rem; }
.title-hero .title-sub { font-size: clamp(1.05rem, 1.4vw, 1.32rem); color: var(--text-dim); max-width: 32ch; margin: 0 0 2.1rem; line-height: 1.45; }
.title-hero .title-sub b { color: var(--text); font-weight: 600; }
.title-hero .meta { margin-top: 0; }
.title-art { position: relative; }
.motif-svg { width: 100%; height: auto; max-width: 540px; margin-left: auto; display: block; border-radius: 16px; }

/* ---- Big stats row (credibility) ---- */
.stat-row { display: flex; flex-wrap: wrap; gap: 2.6rem 3.4rem; margin: 1.4rem 0 1.2rem; }
.stat .s-num { font-size: clamp(2.8rem, 5.5vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat .s-lbl { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.76rem; color: var(--text-faint); margin-top: 0.55rem; max-width: 22ch; }
.stat .s-lbl b { color: var(--text-dim); }

/* ---- Market chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; max-width: 64ch; }
.chip { font-size: 0.92rem; color: var(--text-dim); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 0.42rem 1rem; box-shadow: 0 1px 2px rgba(16,24,40,0.04); }
.chip b { color: var(--text); font-weight: 600; }
.chip .dot { display:inline-block; width:7px; height:7px; border-radius:50%; background: var(--accent); margin-right:0.5rem; vertical-align: middle; }

/* ---- Callout (key question / key finding) ---- */
.callout { margin: 1rem 0; padding: 1.15rem 1.35rem; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 12px; color: var(--text); font-size: clamp(1.05rem,1.5vw,1.28rem); line-height: 1.4; max-width: 84ch; }
.callout .c-tag { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.45rem; }
.callout b, .callout em { color: var(--accent); font-style: normal; font-weight: 700; }

/* ---- Illustrative tag for charts ---- */
.illus { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); border: 1px solid var(--line-2); border-radius: 999px; padding: 0.12rem 0.55rem; vertical-align: middle; white-space: nowrap; }

/* ---- Feature split (text + visual) ---- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; margin-top: 0.4rem; }
.feature-split.lean-visual { grid-template-columns: 1.15fr 0.85fr; }
.feature-visual { display: flex; justify-content: center; align-items: center; }

/* ---- Checkout mockup (unified onsite checkout) ---- */
.checkout-mock { width: 318px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 48px rgba(16,24,40,0.14); overflow: hidden; }
.checkout-mock .cm-head { background: var(--ott-charcoal); color: #fff; padding: 0.95rem 1.15rem; font-weight: 600; font-size: 0.96rem; display: flex; align-items: center; gap: 0.55rem; }
.checkout-mock .cm-head .cm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.checkout-mock .cm-body { padding: 1.15rem 1.15rem 1.25rem; }
.cm-field { margin-bottom: 0.85rem; }
.cm-lab { font-size: 0.66rem; color: var(--text-faint); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.32rem; display: flex; align-items: center; }
.cm-input { height: 2.25rem; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg-2); display: flex; align-items: center; padding: 0 0.75rem; color: var(--text-faint); font-size: 0.85rem; }
.cm-row { display: flex; gap: 0.7rem; }
.cm-row .cm-field { flex: 1; }
.cm-nets { display: flex; gap: 0.3rem; margin-left: auto; }
.cm-net { font-family: var(--mono); font-size: 0.5rem; font-weight: 700; color: #fff; padding: 0.12rem 0.3rem; border-radius: 3px; letter-spacing: 0.02em; }
.cm-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0.4rem 0 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.cm-total span { font-size: 0.82rem; color: var(--text-faint); }
.cm-total b { font-size: 1.4rem; color: var(--text); font-variant-numeric: tabular-nums; }
.cm-pay { background: var(--accent); color: var(--ink); text-align: center; padding: 0.72rem; border-radius: 11px; font-weight: 700; font-size: 0.95rem; display:flex; align-items:center; justify-content:center; gap:0.4rem; }

/* ---- Reconciliation / process pipeline accent on phone ---- */
.lock { width: 0.8em; height: 0.8em; display: inline-block; vertical-align: -1px; }

/* ============================================================
   RESPONSIVE — banking additions
   ============================================================ */
@media (max-width: 900px) {
  .title-hero { grid-template-columns: 1fr; gap: 2rem; }
  .title-art { order: -1; }
  .motif-svg { max-width: 360px; margin: 0 auto; }
  .feature-split, .feature-split.lean-visual { grid-template-columns: 1fr; gap: 1.6rem; }
  .stat-row { gap: 1.6rem 2.4rem; }
}
@media (max-width: 600px) {
  .title-art { display: none; }
  .stat-row { flex-direction: column; gap: 1.3rem; }
  .checkout-mock { width: 100%; max-width: 320px; }
}

/* ============================================================
   1:1 RESHAPE COMPONENTS
   ============================================================ */

/* Pillars (Seamless / Simple / Smart) */
.pillars { display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; margin-top:1rem; }
.pillar { background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:1.4rem; box-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 20px rgba(16,24,40,.05); border-top:3px solid var(--accent); }
.pillar.p2 { border-top-color:var(--ott-blue); } .pillar.p3 { border-top-color:var(--ott-pink); }
.pillar h3 { margin:.2rem 0 .4rem; } .pillar p { color:var(--text-dim); margin:0; font-size:.95rem; }

/* Region map */
.map-wrap { display:flex; flex-direction:column; align-items:flex-start; }
.map-svg { width:100%; height:auto; max-width:660px; }
.map-svg .land { fill:#e7e9ef; }
.map-svg .on { fill:var(--ott-orange); }
.map-svg .mk { fill:var(--ott-red); }
.map-svg .ml { fill:var(--ott-charcoal); font-family:var(--sans); font-size:13px; font-weight:600; }

/* Nested platform (slide 7) */
.platform { display:flex; flex-direction:column; align-items:stretch; gap:.55rem; width:100%; max-width:560px; }
.pf-band { border:1px dashed var(--line-2); border-radius:12px; padding:.7rem 1rem; text-align:center; color:var(--text-dim); font-weight:600; }
.pf-lab { font-family:var(--mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-faint); text-align:center; }
.pf-core { background:var(--ott-blue); color:#fff; border-radius:16px; padding:1.1rem; text-align:center; box-shadow:0 12px 28px rgba(25,130,187,.22); }
.pf-core h3 { color:#fff; margin:.1rem 0 .8rem; font-size:1.3rem; }
.pf-pills { display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap; margin-bottom:.8rem; }
.pf-pill { background:rgba(255,255,255,.18); color:#fff; border-radius:999px; padding:.3rem .8rem; font-size:.8rem; }
.pf-secure { background:#fff; border-radius:12px; padding:.85rem; }
.pf-secure .pf-tag { font-family:var(--mono); font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); }
.pf-secure h4 { color:var(--ott-charcoal); margin:.2rem 0; } .pf-secure p { margin:0; color:var(--text-dim); font-size:.85rem; }
.pf-gw { display:flex; gap:.6rem; justify-content:center; flex-wrap:wrap; }
.pf-gw span { background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:.35rem .7rem; font-size:.8rem; color:var(--text-dim); }

/* PCI secure-zone center (slide 9) */
.pci-grid { display:grid; grid-template-columns:1fr 0.95fr 1fr; gap:1.6rem; align-items:center; margin-top:.6rem; }
.feat-list { display:flex; flex-direction:column; gap:.7rem; }
.feat { background:var(--panel); border:1px solid var(--line); border-left:3px solid var(--accent); border-radius:10px; padding:.7rem .9rem; box-shadow:0 4px 12px rgba(16,24,40,.04); }
.feat b { display:block; color:var(--text); } .feat span { color:var(--text-dim); font-size:.86rem; }
.secure-zone { display:flex; flex-direction:column; align-items:center; text-align:center; }
.secure-zone .sz-pill { background:var(--ott-blue); color:#fff; border-radius:999px; padding:.35rem 1rem; font-weight:700; margin-bottom:1rem; }
.secure-zone .sz-circle { width:190px; height:190px; border-radius:50%; border:3px solid var(--ott-blue); display:grid; place-items:center; background:radial-gradient(circle, rgba(25,130,187,.08), transparent 70%); }
.secure-zone .sz-circle svg { width:52px; height:52px; color:var(--ott-charcoal); }
.secure-zone h4 { color:var(--ott-blue); margin:.8rem 0 .1rem; } .secure-zone .sz-sub { font-family:var(--mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-faint); }
.secure-zone .sz-cap { font-style:italic; color:var(--text-faint); font-size:.85rem; margin-top:.7rem; max-width:24ch; }
.impact-card { background:var(--panel); border-left:4px solid var(--accent); border-radius:10px; padding:.9rem 1.1rem; box-shadow:0 6px 16px rgba(16,24,40,.05); margin-bottom:1rem; }
.impact-card.bank { border-left-color:var(--ott-blue); } .impact-card:last-child { margin-bottom:0; }
.impact-card .ic-head { font-weight:700; margin-bottom:.4rem; }
.impact-card ul { list-style:none; padding:0; margin:0; } .impact-card li { padding:.25rem 0; color:var(--text-dim); font-size:.9rem; }

/* Reconciliation flow (slide 10) */
.recon { display:grid; grid-template-columns:1fr 1fr; gap:.9rem; align-items:center; max-width:560px; }
.recon .node { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:.75rem 1rem; box-shadow:0 4px 12px rgba(16,24,40,.05); font-weight:600; text-align:center; }
.recon .node.dark { background:var(--ott-charcoal); color:#fff; } .recon .node.blue { background:var(--ott-blue); color:#fff; }
.recon .node small { display:block; font-weight:400; opacity:.85; font-size:.78rem; }
.recon .arrow { text-align:center; color:var(--text-faint); }

/* KNET callout (slide 11) */
.knet-callout { background:var(--ott-blue); color:#fff; border-radius:12px; padding:.9rem 1.2rem; font-size:.98rem; margin-top:.4rem; }
.knet-callout b { color:#fff; }

/* Positioning cards */
.posrow { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1rem; }
.poscard { background:var(--panel); border:1px solid var(--line); border-top:3px solid var(--accent); border-radius:12px; padding:1rem 1.1rem; box-shadow:0 6px 16px rgba(16,24,40,.05); }
.poscard.p2 { border-top-color:var(--ott-blue); } .poscard.p3 { border-top-color:var(--ott-charcoal); }
.poscard .pc-tag { color:var(--accent); font-weight:700; margin-bottom:.3rem; }
.poscard.p2 .pc-tag { color:var(--ott-blue); } .poscard.p3 .pc-tag { color:var(--ott-charcoal); }
.poscard p { margin:0; color:var(--text-dim); font-size:.9rem; }

/* Department lanes (slide 12) */
.dept-lanes { display:flex; flex-direction:column; gap:.9rem; }
.lane { border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 6px 16px rgba(16,24,40,.05); }
.lane .lane-head { padding:.6rem 1.1rem; color:#fff; font-weight:700; font-size:.95rem; }
.lane.success .lane-head { background:var(--ott-orange); }
.lane.engage .lane-head { background:var(--ott-blue); }
.lane.support .lane-head { background:var(--ott-red); }
.lane .lane-body { display:flex; flex-wrap:wrap; gap:.4rem; padding:.7rem 1.1rem; }
.lane .act { background:var(--panel); border:1px solid var(--line); border-radius:999px; padding:.28rem .75rem; font-size:.8rem; color:var(--text-dim); }

/* Empowered-by (slide 13) */
.empower { display:flex; flex-direction:column; align-items:center; gap:.5rem; }
.empower .e-bank { border:2px solid var(--ott-blue); border-radius:14px; padding:1rem 2rem; text-align:center; background:var(--bg); }
.empower .e-bank h3 { margin:.3rem 0 0; } .empower .e-bank small { color:var(--text-faint); }
.empower .e-arrow { color:var(--text-faint); font-family:var(--mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; }
.empower .e-upl { background:var(--ott-blue); color:#fff; border-radius:14px; padding:1rem 2rem; text-align:center; box-shadow:0 12px 28px rgba(25,130,187,.22); }
.empower .e-upl h3 { color:#fff; margin:.3rem 0 0; } .empower .e-upl small { opacity:.85; }

/* System architecture flow (slide 14) */
.sysflow { display:grid; grid-template-columns:repeat(5,1fr); gap:.7rem; align-items:stretch; margin-top:.4rem; }
.sys-col { background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:.9rem .7rem 0; display:flex; flex-direction:column; align-items:center; box-shadow:0 6px 16px rgba(16,24,40,.05); }
.sys-col .sys-body { flex:1; display:flex; flex-direction:column; gap:.4rem; align-items:center; justify-content:center; padding:.7rem 0; color:var(--text-dim); font-size:.82rem; text-align:center; }
.sys-col .sys-ico { width:34px; height:34px; color:var(--ott-blue); }
.sys-col .sys-label { width:100%; background:var(--ott-charcoal); color:#fff; text-align:center; padding:.5rem; border-radius:0 0 13px 13px; font-weight:700; font-size:.85rem; }
.sys-col.upl .sys-label { background:var(--ott-blue); }
.sys-note { display:flex; align-items:center; gap:.6rem; justify-content:center; margin-top:1rem; color:var(--text-dim); font-size:.9rem; }
.sys-note .x { color:var(--ott-red); font-weight:800; font-size:1.1rem; }

/* Capability map (slide 15) */
.cap-map { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:.6rem; }
.cap { background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:1.1rem 1.2rem; box-shadow:0 6px 16px rgba(16,24,40,.05); border-top:3px solid var(--accent); }
.cap .cap-tag { font-family:var(--mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); }
.cap h4 { margin:.3rem 0; } .cap p { margin:0; color:var(--text-dim); font-size:.88rem; }
.cap.c2 { border-top-color:var(--ott-blue); } .cap.c2 .cap-tag { color:var(--ott-blue); }
.cap.c3 { border-top-color:var(--ott-pink); } .cap.c3 .cap-tag { color:var(--ott-pink); }
.cap.c4 { border-top-color:var(--ott-charcoal); } .cap.c4 .cap-tag { color:var(--ott-charcoal); }
.cap.c5 { border-top-color:var(--ott-red); } .cap.c5 .cap-tag { color:var(--ott-red); }
.cap.c6 { border-top-color:var(--good); } .cap.c6 .cap-tag { color:var(--good); }

/* contact CTA */
.contact-cta { display:inline-flex; align-items:center; gap:.55rem; background:var(--accent); color:var(--ink); font-weight:700; padding:.85rem 1.6rem; border-radius:12px; text-decoration:none; box-shadow:0 12px 26px rgba(245,126,32,.28); }

/* ---- reshape responsive ---- */
@media (max-width: 900px) {
  .pillars, .posrow, .cap-map { grid-template-columns:1fr; }
  .pci-grid, .recon { grid-template-columns:1fr; }
  .sysflow { grid-template-columns:repeat(5,1fr); }
}
@media (max-width: 600px) {
  .sysflow { grid-template-columns:1fr; }
}

/* ============================================================
   THEME TOGGLE — dark mode (default is light), nav clearance
   ============================================================ */
html[data-theme="dark"] {
  --bg:#0f1115; --bg-2:#0a0c10; --panel:#161a23; --panel-2:#1a1f2b;
  --line:#2a3140; --line-2:#3a4254;
  --text:#e9ebf1; --text-dim:#b8bdc9; --text-faint:#8a93a6;
  --accent-soft: rgba(245,126,32,0.16);
}
html[data-theme="dark"] body { background: var(--bg); }
html[data-theme="dark"] #hud,
html[data-theme="dark"] #toc,
html[data-theme="dark"] #themebtn { background: rgba(18,22,30,0.82); }
/* seat the (charcoal) logo on a white plate so it stays legible on dark */
html[data-theme="dark"] .brand-logo { background:#fff; padding:.4rem .55rem; border-radius:10px; }
/* the checkout mock + PCI box are intentionally white cards — keep their text dark in dark mode */
html[data-theme="dark"] .checkout-mock { color:#20222a; }
html[data-theme="dark"] .checkout-mock .cm-input { background:#eef1f6; border-color:#d3d8e2; color:#878d9b; }
html[data-theme="dark"] .checkout-mock .cm-total b { color:#20222a; }
html[data-theme="dark"] .checkout-mock .cm-lab,
html[data-theme="dark"] .checkout-mock .cm-total span { color:#878d9b; }
html[data-theme="dark"] .pf-secure p { color:#4d525d; }

/* Theme toggle button (always visible, incl. mobile) */
#themebtn {
  position: fixed; bottom: 1.2rem; left: 1.4rem; z-index: 11;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.82);
  backdrop-filter: blur(6px); color: var(--text-faint); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(16,24,40,0.06);
}
#themebtn:hover { color: var(--accent); }

/* Recap grid (slide 15) */
.recap-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:1rem; }

/* Clear the fixed bottom HUD on scrollable slides (tablet + phone) */
@media (max-width: 900px) {
  .slide { padding-bottom: 7rem; }
  .recap-grid { grid-template-columns:1fr; }
}
@media (max-width: 600px) {
  .slide { padding-bottom: 7rem; }
  #themebtn { bottom: 1rem; left: 1rem; width: 38px; height: 38px; }
}
