:root {
  --bg: #0b0d10;
  --panel: #111418;
  --panel-2: #0f1216;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #a3abb6;
  --dim: #6f7783;
  --tint-lime: #63d98d;
  --tint-violet: #8a7bff;
  --tint-cyan: #5cd0d6;
  --tint-amber: #d89a52;
  --tint-rose: #e06c75;
  --tint-lime-muted: rgba(99, 217, 141, 0.72);
  --tint-violet-muted: rgba(138, 123, 255, 0.72);
  --tint-cyan-muted: rgba(92, 208, 214, 0.72);
  --tint-amber-muted: rgba(216, 154, 82, 0.72);
  --tint-rose-muted: rgba(224, 108, 117, 0.72);
  --glow-cyan: rgba(92, 208, 214, 0.22);
  --glow-lime: rgba(99, 217, 141, 0.18);
  --panel-glow: inset 0 0 0 1px rgba(92, 208, 214, 0.03), 0 0 12px rgba(92, 208, 214, 0.03);
  --danger: #ff4d4f;
  --warn: #f5a524;
  --up: var(--tint-lime);
  --down: #ff4d4f;
  --neutral: #8a92a0;

  --font-sans: "Manrope", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-accent: "Space Grotesk", "Manrope", sans-serif;

  --h1: 72px;
  --h2: 48px;
  --h3: 32px;
  --body: 22px;
  --small: 18px;
  --mono: 20px;
  --tiny: 16px;

  --safe-x: 96px;
  --safe-y: 80px;
  --grid-gap: 24px;
  --radius-lg: 20px;
  --radius-md: 16px;

  --thumb-scale: 0.2;
  --thumb-width: 384px;
  --thumb-height: 216px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.45;
  letter-spacing: 0.2px;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y proximity;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.3;
  pointer-events: none;
  transform: translateY(var(--scroll-y, 0));
  will-change: transform;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.16;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.06;
  pointer-events: none;
  transform: translateY(calc(var(--scroll-y, 0) * 0.7));
  will-change: transform;
}

#viewport {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
}


.deck {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  transform-origin: top center;
}

.slides {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.slide-wrap {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  width: 100%;
  min-height: 100vh;
  display: flex;
  scroll-snap-align: start;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
  will-change: transform, opacity;
}

.slide-wrap.is-active {
  z-index: 2;
}

.slide {
  width: 100%;
  min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(120% 120% at 10% 0%, rgba(92, 208, 214, 0.08) 0%, transparent 55%),
    radial-gradient(120% 120% at 90% 10%, rgba(99, 217, 141, 0.06) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
}

.slide-inner {
  min-height: 100vh;
  padding: var(--safe-y) var(--safe-x);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  flex: 1;
}

.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.title-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slide-title {
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.05;
  text-shadow: 0 0 18px rgba(92, 208, 214, 0.12);
}

.subtitle {
  font-size: var(--h3);
  font-weight: 600;
  color: var(--muted);
  line-height: 1.2;
}

.tag-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.slide-body {
  min-height: 0;
}

.hero-header {
  justify-content: flex-start;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 24px;
  height: 100%;
}

.hero-content {
  grid-column: 1 / span 7;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 880px;
}

.hero-headline {
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.05;
}

.hero-subheadline {
  font-size: var(--h3);
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
}

.hero-punchline {
  white-space: nowrap;
}

.hero-micro {
  grid-column: 1 / span 7;
  grid-row: 2;
  align-self: end;
  font-size: var(--tiny);
  letter-spacing: 0.3px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 24px;
  height: 100%;
}

.problem-left {
  grid-column: 1 / span 6;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 880px;
}

.problem-headline {
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1.12;
}

.problem-subhead {
  font-size: var(--body);
  font-weight: 500;
  line-height: 1.35;
}

.strip-line {
  font-family: var(--font-mono);
  font-size: var(--small);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
  position: relative;
  padding-left: 16px;
}

.problem-grid .strip-line {
  white-space: normal;
  max-width: 640px;
  line-height: 1.5;
}

.strip-line::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--tint-cyan);
  text-shadow: 0 0 10px var(--glow-cyan);
}

.strip-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--small);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.strip-stack .strip-item {
  position: relative;
  padding-left: 16px;
  line-height: 1.4;
}

.strip-stack .strip-item::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--tint-cyan);
  text-shadow: 0 0 10px var(--glow-cyan);
}

.problem-panel {
  grid-column: 7 / span 6;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--panel-glow);
  width: 100%;
  max-width: 560px;
}

.panel-title {
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.symptom-list {
  display: flex;
  flex-direction: column;
}

.symptom-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.symptom-row:last-child {
  border-bottom: none;
}

.symptom-label {
  font-family: var(--font-mono);
  font-size: var(--small);
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.symptom-subtext {
  font-size: var(--tiny);
  line-height: 1.4;
}

.symptom-footer {
  font-size: var(--tiny);
  letter-spacing: 0.2px;
}

.problem-micro {
  grid-column: 1 / span 6;
  grid-row: 2;
  align-self: end;
  font-size: var(--tiny);
  letter-spacing: 0.2px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 32px;
  height: 100%;
}

.why-intro {
  grid-column: 1 / span 7;
  grid-row: 1;
  align-self: center;
  max-width: 880px;
}

.signals-grid {
  grid-column: 1 / span 12;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-self: stretch;
}

.signal-tile {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.2px;
}

.signal-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.signal-line {
  font-size: var(--small);
  color: var(--muted);
  line-height: 1.4;
}

.why-micro {
  grid-column: 1 / span 8;
  grid-row: 3;
  align-self: end;
  font-size: var(--tiny);
  letter-spacing: 0.2px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 28px;
  height: 100%;
}

.market-top {
  grid-column: 1 / span 12;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.market-kpi {
  grid-column: 1 / span 7;
  grid-row: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.market-label {
  font-size: var(--small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-value {
  font-family: var(--font-mono);
  font-size: 86px;
  font-weight: 700;
  line-height: 1;
}

.market-sub {
  font-size: var(--body);
  font-family: var(--font-mono);
  font-weight: 500;
  line-height: 1.4;
}

.market-tiles {
  grid-column: 8 / span 5;
  grid-row: 2;
  align-self: center;
  display: grid;
  gap: 16px;
}

.metric-tile {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--panel-glow);
}

.metric-title {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-line {
  font-size: var(--body);
  font-family: var(--font-accent);
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}

.market-tiles .metric-line {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: var(--h3);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.market-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.market-line {
  font-size: var(--small);
  line-height: 1.5;
}

.market-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--tiny);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 28px;
  height: 100%;
}

.wedge-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 28px;
  height: 100%;
}

.wedge-top {
  grid-column: 1 / span 12;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wedge-kpi {
  grid-column: 1 / span 7;
  grid-row: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.wedge-label {
  font-size: var(--small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wedge-value {
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
}

.wedge-sub {
  font-size: var(--body);
  line-height: 1.4;
}

.wedge-tiles {
  grid-column: 8 / span 5;
  grid-row: 2;
  align-self: center;
  display: grid;
  gap: 16px;
}

.wedge-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  font-size: var(--small);
  line-height: 1.5;
}

.raise-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.raise-line {
  font-size: var(--small);
  line-height: 1.5;
}

.raise-cta {
  font-size: var(--small);
  letter-spacing: 0.08em;
}


.trade-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 28px;
  height: 100%;
}

.trade-top {
  grid-column: 1 / span 12;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trade-ticket {
  grid-column: 1 / span 8;
  grid-row: 2;
  align-self: stretch;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 420px;
  box-shadow: var(--panel-glow);
}

.ticket-title {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticket-instrument {
  font-size: var(--h3);
  font-weight: 600;
  line-height: 1.2;
}

.ticket-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.ticket-primary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ticket-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.ticket-market {
  font-size: var(--small);
}

.ticket-size {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--body);
}

.ticket-row {
  font-weight: 500;
}

.ticket-risk {
  font-size: var(--small);
}

.ticket-foot {
  margin-top: auto;
  font-size: var(--tiny);
  letter-spacing: 0.04em;
}

.trade-panels {
  grid-column: 9 / span 4;
  grid-row: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.mini-panel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  box-shadow: var(--panel-glow);
}

.mini-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--small);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mini-row {
  line-height: 1.35;
}

.trade-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  font-size: var(--small);
  line-height: 1.5;
}

.log-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 28px;
  height: 100%;
}

.log-top {
  grid-column: 1 / span 12;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.log-panel {
  grid-column: 1 / span 12;
  grid-row: 2;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--panel-glow);
}

.log-title {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.log-rows {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-weight: 500;
}

.log-row {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.log-row:last-child {
  border-bottom: none;
}

.log-left {
  min-width: 220px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: var(--small);
}

.log-time {
  color: var(--dim);
}

.log-status {
  letter-spacing: 0.08em;
}

.log-action {
  font-size: var(--body);
  color: var(--text);
  line-height: 1.4;
}

.log-footer {
  font-size: var(--tiny);
  letter-spacing: 0.04em;
}

.log-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.earn-strip {
  font-size: var(--small);
  letter-spacing: 0.04em;
}

.log-payoff {
  font-size: var(--small);
  line-height: 1.5;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 28px;
  height: 100%;
}

.status-top {
  grid-column: 1 / span 12;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-tiles {
  grid-column: 1 / span 12;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.status-tile {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--panel-glow);
}

.status-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-value {
  font-size: var(--h3);
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-qualifier {
  font-size: var(--tiny);
  line-height: 1.4;
}

.status-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  font-size: var(--small);
  line-height: 1.5;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 28px;
  height: 100%;
}

.stack-top {
  grid-column: 1 / span 12;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stack-grid .problem-headline,
.stack-grid .band-main,
.stack-grid .band-sub {
  font-family: var(--font-accent);
}

.stack-row {
  grid-column: 1 / span 12;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 18px;
  align-items: start;
}

.stack-bands {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-self: center;
  max-width: 980px;
  width: 100%;
}

.stack-band {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 32px 18px 48px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.stack-band::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, rgba(92, 208, 214, 0.5), rgba(92, 208, 214, 0.08));
  opacity: 0.8;
}

.stack-band::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(92, 208, 214, 0.6);
  background: rgba(92, 208, 214, 0.12);
  box-shadow: 0 0 10px rgba(92, 208, 214, 0.16);
}

.stack-band:nth-child(2) {
  border-color: rgba(92, 208, 214, 0.35);
  box-shadow: var(--panel-glow);
}

.band-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.band-main {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.band-sub {
  font-size: var(--small);
  line-height: 1.4;
}

.stack-panel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--panel-glow);
  align-self: center;
  max-width: 320px;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--small);
  color: var(--text);
}

.stack-item {
  line-height: 1.4;
}

.stack-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  font-size: var(--small);
  line-height: 1.5;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 28px;
  height: 100%;
}

.flow-top {
  grid-column: 1 / span 12;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-diagram {
  grid-column: 1 / span 12;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 160px 1fr 120px 1fr 1fr;
  align-items: center;
  gap: 18px;
}

.flow-box {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  box-shadow: var(--panel-glow);
}

.flow-title {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-line {
  font-size: var(--small);
  line-height: 1.4;
}

.flow-tiny {
  font-size: var(--tiny);
  line-height: 1.4;
}

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.flow-arrow-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}

.flow-arrow-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border-left: 8px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.flow-arrow-text {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.flow-split {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.flow-split .split-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}

.flow-split .split-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border-left: 8px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.flow-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  font-size: var(--small);
  line-height: 1.5;
}

.sequence-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 28px;
  height: 100%;
}

.sequence-top {
  grid-column: 1 / span 12;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.sequence-panel {
  grid-column: 1 / span 12;
  grid-row: 2;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sequence-title {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sequence-footer {
  font-size: var(--tiny);
  letter-spacing: 0.04em;
}

.sequence-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sequence-line {
  font-size: var(--small);
  line-height: 1.5;
}

.sequence-cta {
  font-size: var(--small);
  letter-spacing: 0.08em;
}

.step-graph {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
  position: relative;
  width: 100%;
}

.step {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  box-shadow: var(--panel-glow);
}

.step-1 { transform: translateY(42px); }
.step-2 { transform: translateY(22px); }
.step-3 { transform: translateY(0); }
.step-4 { transform: translateY(-22px); }
.step-5 { transform: translateY(-42px); }

.step-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-main {
  font-family: var(--font-mono);
  font-size: var(--small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.step-sub {
  font-size: var(--tiny);
  line-height: 1.35;
}

.step-time {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.step-cap {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
}


.trust-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: var(--grid-gap);
  row-gap: 28px;
  height: 100%;
}

.trust-top {
  grid-column: 1 / span 12;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-panel {
  grid-column: 2 / span 10;
  grid-row: 2;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--panel-glow);
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--small);
}

.trust-row:last-child {
  border-bottom: none;
}

.trust-label {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-text {
  color: var(--text);
  line-height: 1.4;
}

.trust-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  font-size: var(--small);
  line-height: 1.5;
}

.who-top {
  grid-column: 1 / span 12;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.terminal-label{
  font-weight: 300;
}

.who-tiles {
  grid-column: 1 / span 12;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.persona-tile {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.persona-title {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.persona-line {
  font-size: var(--small);
  color: var(--text);
  line-height: 1.4;
}

.who-bottom {
  grid-column: 1 / span 12;
  grid-row: 3;
  font-size: var(--small);
  line-height: 1.5;
}

.status-panel {
  grid-column: 9 / span 4;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.status-title {
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.status-value {
  font-size: var(--small);
}

.slide-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: var(--small);
  color: var(--muted);
}

.brand {
  font-weight: 600;
  letter-spacing: 0.6px;
}

.counter {
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

h1 {
  font-size: var(--h1);
  font-weight: 800;
}

h2 {
  font-size: var(--h2);
  font-weight: 700;
}

h3 {
  font-size: var(--h3);
  font-weight: 600;
}

p {
  font-size: var(--body);
  line-height: 1.45;
}

small {
  font-size: var(--small);
}

.cols-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
}

.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }
.col-span-9 { grid-column: span 9; }
.col-span-10 { grid-column: span 10; }
.col-span-11 { grid-column: span 11; }
.col-span-12 { grid-column: span 12; }

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

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

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

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

.muted {
  color: var(--muted);
}

.dim {
  color: var(--dim);
}

.accent-violet {
  color: var(--tint-violet);
  text-shadow: 0 0 12px rgba(138, 123, 255, 0.16);
}

.accent-lime {
  color: var(--tint-lime);
  text-shadow: 0 0 12px rgba(99, 217, 141, 0.18);
}

.accent-cyan {
  color: var(--tint-cyan);
  text-shadow: 0 0 12px rgba(92, 208, 214, 0.18);
}

.accent-cyan-muted {
  color: var(--tint-cyan-muted);
}

.accent-amber {
  color: var(--tint-amber);
}

.accent-rose {
  color: var(--tint-rose);
}

.accent-sep {
  color: var(--tint-lime-muted);
}

.accent-sep-cyan {
  color: var(--tint-cyan-muted);
}

.mono-only {
  font-family: var(--font-mono);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--mono);
}

.mono-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mono-body {
  font-family: var(--font-mono);
  font-weight: 500;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-title {
  font-size: var(--h3);
  font-weight: 600;
  margin-bottom: 12px;
}

.card-body {
  font-size: var(--body);
  color: var(--muted);
}

.kpi {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kpi-value {
  font-size: var(--h2);
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1.1;
}

.kpi-label {
  font-size: var(--small);
  color: var(--muted);
  letter-spacing: 0.4px;
}

.kpi-delta {
  font-size: var(--small);
  font-weight: 700;
}

.kpi-delta.up { color: var(--up); }
.kpi-delta.down { color: var(--down); }
.kpi-delta.neutral { color: var(--neutral); }

ul.bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

ul.bullets li {
  position: relative;
  padding-left: 18px;
}

ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--tint-violet-muted);
  background: transparent;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--tint-violet-muted);
  color: var(--tint-violet);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: var(--small);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  box-shadow: 0 0 8px var(--glow-cyan);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(138, 123, 255, 0.12);
  color: var(--tint-violet);
  border-radius: 999px;
  padding: 4px 18px;
  font-size: var(--small);
  font-weight: 600;
  letter-spacing: 0.4px;
  font-family: var(--font-mono);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  box-shadow: 0 0 8px var(--glow-cyan);
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.divider-vert {
  width: 1px;
  height: 100%;
  background: var(--border);
}

body.overview {
  overflow: auto;
}

body.overview .deck {
  position: relative;
  width: 100%;
  height: auto;
  transform: none;
}

body.overview .slides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--thumb-width), 1fr));
  gap: 24px;
  padding: 24px 32px 48px;
}

body.overview .slide-wrap {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  width: var(--thumb-width);
  height: var(--thumb-height);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

body.overview .slide-wrap.is-current {
  outline: 2px solid var(--tint-violet);
  outline-offset: 4px;
}

body.overview .slide {
  transform: scale(var(--thumb-scale));
  transform-origin: top left;
}

body.overview .slide-inner {
  padding: 42px 50px;
  gap: 18px;
}

body.overview .slide-title {
  font-size: 32px;
}


body.overview .subtitle {
  font-size: 18px;
}

body.overview .slide-footer {
  font-size: 14px;
}

@media (max-width: 1200px) {
  body.overview .slides {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
