/* ======================================================
   ZapAI Fiscal — Pitch Deck
   Dark theme · ZapAI green + Radar amber
   ====================================================== */

:root {
  --bg: #07100c;
  --bg-2: #0d1a14;
  --bg-3: #132520;
  --panel: #0f1c17;
  --panel-2: #142821;
  --line: #1f3a30;
  --line-soft: #19332a;
  --fg: #eaf4ee;
  --fg-2: #b8c9c0;
  --fg-3: #7b8e84;
  --muted: #5c6f65;

  /* brand */
  --green: #22c55e;
  --green-2: #16a34a;
  --green-soft: #064e31;
  --green-glow: rgba(34, 197, 94, 0.22);

  /* radar / secondary */
  --amber: #f59e0b;
  --amber-2: #fbbf24;
  --amber-soft: #3a2605;

  /* severity */
  --red: #ef4444;
  --red-soft: #3a1010;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px rgba(0, 0, 0, 0.45);

  --font-sans:
    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:
    ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(34, 197, 94, 0.06), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(245, 158, 11, 0.04), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  line-height: 1.55;
  color: var(--fg-2);
}

.accent {
  color: var(--green);
}
.accent-radar {
  color: var(--amber-2);
}
.muted {
  color: var(--fg-3);
}

/* ======================================================
   Layout · deck · scroll-snap
   ====================================================== */
.deck {
  scroll-snap-type: y mandatory;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 56px 64px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}

.slide-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.slide-head {
  margin-bottom: 32px;
}

.slide-kicker {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid var(--green-soft);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.06);
}

.slide-foot {
  margin-top: 32px;
  color: var(--fg-2);
  font-size: 1rem;
}

/* ======================================================
   Side nav + progress + controls
   ====================================================== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
  z-index: 30;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--amber));
  transition: width 0.25s ease;
}

.side-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}
.side-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-nav button {
  background: transparent;
  border: 0;
  padding: 6px 0;
  width: 120px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  color: var(--fg-3);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.side-nav .sn-label {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.side-nav button:hover .sn-label,
.side-nav button.active .sn-label {
  opacity: 1;
}
.side-nav .sn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}
.side-nav button.active .sn-dot {
  background: var(--green);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px var(--green-glow);
}
.side-nav button.active {
  color: var(--fg);
}

.brand {
  position: fixed;
  top: 22px;
  left: 28px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.98rem;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
}
.brand-dot.inline {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.brand-text em {
  color: var(--fg-3);
  font-style: normal;
  font-weight: 500;
}

.controls {
  position: fixed;
  bottom: 22px;
  right: 28px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px 6px 14px;
  backdrop-filter: blur(10px);
}
.counter {
  color: var(--fg-2);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}
.ctrl-btn {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--fg);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.ctrl-btn:hover {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--fg);
}

/* ======================================================
   Slide 1 · Capa
   ====================================================== */
.slide-cover {
  background:
    radial-gradient(600px 300px at 85% 30%, rgba(34, 197, 94, 0.08), transparent 70%),
    var(--bg);
}
.cover-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid var(--green-soft);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.cover-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 18px;
}
.cover-sub {
  color: var(--fg);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.3;
}
.cover-copy {
  color: var(--fg-2);
  font-size: 1.02rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--fg-2);
  font-size: 0.85rem;
  font-weight: 500;
}
.chip-radar {
  border-color: var(--amber-soft);
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.06);
}

/* Cover visual · mockup */
.cover-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.mock-phone {
  width: 100%;
  max-width: 360px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-1);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.mock-phone-bar {
  width: 60px;
  height: 5px;
  margin: 0 auto 14px;
  background: var(--line);
  border-radius: 999px;
}
.mock-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 85%;
}
.bubble b {
  font-size: 0.72rem;
  color: var(--fg-3);
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}
.bubble p {
  margin: 0;
  color: var(--fg);
}
.bubble-in {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-top-left-radius: 4px;
  align-self: flex-start;
}
.bubble-out {
  background: var(--green);
  color: #0a1d12;
  font-weight: 500;
  border-top-right-radius: 4px;
  align-self: flex-end;
}
.bubble.alert {
  border-color: var(--amber-soft);
  background: rgba(245, 158, 11, 0.06);
}
.bubble.alert b {
  color: var(--amber-2);
}
.bubble.warn {
  border-color: var(--green-soft);
  background: rgba(34, 197, 94, 0.05);
}

.mock-panel {
  width: 100%;
  max-width: 360px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) translateX(30px);
}
.mock-panel.mock-large {
  max-width: 440px;
  transform: none;
}
.mock-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-2);
  font-size: 0.82rem;
  margin-bottom: 14px;
  font-weight: 500;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-green {
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}
.score {
  display: grid;
  gap: 8px;
}
.score-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
}
.score-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.score-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--amber));
}
.score-meta {
  font-size: 0.82rem;
  color: var(--fg-3);
}

/* ======================================================
   Stat cards · Slide 2
   ====================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.align-center {
  align-items: center;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 100px at 100% 0%, var(--green-glow), transparent 70%);
  pointer-events: none;
}
.stat-card.stat-warn::before {
  background: radial-gradient(300px 100px at 100% 0%, rgba(245, 158, 11, 0.2), transparent 70%);
}
.stat-num {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-card.stat-warn .stat-num {
  color: var(--amber-2);
}
.stat-label {
  color: var(--fg);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 12px;
  max-width: 360px;
}
.stat-foot {
  color: var(--fg-3);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.why-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.why {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.why-num {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}
.why p {
  color: var(--fg);
  font-size: 0.92rem;
}
.banner {
  margin-top: 28px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.08), rgba(245, 158, 11, 0.08));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ======================================================
   Problem cards · Slide 3
   ====================================================== */
.problem-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.problem-card h3 {
  color: var(--green);
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.problem-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.problem-card li {
  color: var(--fg);
  font-size: 0.98rem;
  line-height: 1.4;
  padding-left: 18px;
  position: relative;
}
.problem-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--green);
}

/* ======================================================
   Gap table · Slide 4
   ====================================================== */
.gap-table {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gap-row {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1fr;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.gap-row:last-child {
  border-bottom: 0;
}
.gap-head {
  background: var(--bg-2);
  color: var(--fg-3);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gap-name {
  color: var(--fg);
  font-weight: 600;
}
.gap-highlight {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.06), transparent);
  border-top: 1px solid var(--green-soft);
}
.gap-highlight .gap-name {
  color: var(--green);
  font-size: 1.05rem;
}

/* ======================================================
   Ladder · Slide 5
   ====================================================== */
.ladder {
  display: grid;
  gap: 16px;
}
.rung {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  position: relative;
}
.rung-1 {
  margin-right: 15%;
}
.rung-2 {
  margin-left: 7%;
  margin-right: 8%;
}
.rung-3 {
  margin-left: 15%;
  border-color: var(--amber-soft);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.05), var(--panel));
}
.rung-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.04em;
}
.rung-3 .rung-num {
  color: var(--amber-2);
}
.rung h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.rung p {
  color: var(--fg-2);
  font-size: 0.95rem;
}
.tag {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--green-soft);
  color: var(--green);
  background: rgba(34, 197, 94, 0.06);
}
.tag-radar {
  border-color: var(--amber-soft);
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.06);
}
.tag-red {
  border-color: var(--red);
  color: var(--red);
  background: rgba(239, 68, 68, 0.06);
}
.tag-amber {
  border-color: var(--amber-soft);
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.06);
}
.tag-green {
  border-color: var(--green-soft);
  color: var(--green);
  background: rgba(34, 197, 94, 0.06);
}

/* ======================================================
   Check / X lists · before/after · Slide 6
   ====================================================== */
.check-list,
.x-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.check-list li,
.x-list li {
  padding-left: 28px;
  position: relative;
  color: var(--fg);
  font-size: 0.98rem;
  line-height: 1.4;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--green);
  font-weight: 700;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  font-size: 0.72rem;
}
.x-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--red);
  font-weight: 700;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 50%;
  font-size: 0.9rem;
  line-height: 1;
}

.mini-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.mini-head {
  color: var(--red);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.mini-head-good {
  color: var(--green);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ba {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.ba-head {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--fg-3);
}
.ba-before {
  border-color: var(--red-soft);
}
.ba-before .ba-head {
  color: var(--red);
}
.ba-after {
  border-color: var(--green-soft);
}
.ba-after .ba-head {
  color: var(--green);
}
.ba ul {
  margin: 0;
  padding-left: 16px;
  color: var(--fg);
  font-size: 0.9rem;
  display: grid;
  gap: 6px;
}

/* ======================================================
   Cockpit · Slide 7
   ====================================================== */
.cockpit-panel {
  margin-top: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.cockpit-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
  font-weight: 500;
  color: var(--fg-2);
}
.cockpit-meta {
  color: var(--fg-3);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}
.cockpit-row {
  display: grid;
  gap: 10px;
}
.cli {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
}
.cli-score {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: #0a1d12;
}
.sev-high {
  background: var(--red);
}
.sev-mid {
  background: var(--amber);
}
.sev-ok {
  background: var(--green);
}
.cli b {
  color: var(--fg);
  font-size: 0.98rem;
}
.cli small {
  display: block;
  color: var(--fg-3);
  font-size: 0.8rem;
  margin-top: 3px;
}

/* ======================================================
   Case cards · Slide 8
   ====================================================== */
.case-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.case-card:hover {
  border-color: var(--amber-soft);
  transform: translateY(-2px);
}
.case-card h3 {
  color: var(--amber-2);
  margin-bottom: 10px;
  font-size: 1rem;
}
.case-card p {
  color: var(--fg-2);
  font-size: 0.92rem;
}

/* ======================================================
   Radial · Slide 9
   ====================================================== */
.radial {
  position: relative;
  margin: 32px auto;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
}
.radial-core {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--green), var(--green-2));
  display: grid;
  place-items: center;
  text-align: center;
  color: #0a1d12;
  z-index: 2;
  box-shadow: 0 0 0 12px rgba(34, 197, 94, 0.12), 0 0 60px rgba(34, 197, 94, 0.3);
}
.radial-core-label {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.radial-core small {
  display: block;
  color: rgba(10, 29, 18, 0.7);
  font-size: 0.72rem;
  margin-top: 4px;
}
.radial-node {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--fg);
  font-size: 0.82rem;
  font-weight: 500;
  max-width: 220px;
  line-height: 1.35;
}
.radial-node::before {
  content: "";
  position: absolute;
  background: var(--line);
  z-index: -1;
}
.n1 { top: 6%; left: 18%; }
.n2 { top: 6%; right: 18%; }
.n3 { top: 40%; left: 2%; }
.n4 { top: 40%; right: 2%; }
.n5 { bottom: 14%; left: 18%; }
.n6 { bottom: 14%; right: 18%; }
.n7 { bottom: 0; left: 50%; transform: translateX(-50%); max-width: 320px; text-align: center; border-color: var(--amber-soft); color: var(--amber-2); background: rgba(245, 158, 11, 0.04); }

/* ======================================================
   Funnel TAM/SAM/SOM · Slide 10
   ====================================================== */
.funnel-grid {
  align-items: center;
}
.funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.funnel-ring {
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--fg);
}
.funnel-ring.tam {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08), transparent 70%);
  border: 1px dashed var(--green-soft);
}
.funnel-ring.sam {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12), transparent 70%);
  border: 1px dashed var(--green);
}
.funnel-ring.som {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28), rgba(245, 158, 11, 0.12));
  border: 1px solid var(--amber);
  color: #1a1103;
}
.fn-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-2);
  font-weight: 700;
}
.fn-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}
.funnel-legend {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--fg-2);
}
.funnel-legend b {
  color: var(--fg);
}
.lg {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.lg-tam {
  background: rgba(34, 197, 94, 0.15);
  border: 1px dashed var(--green-soft);
}
.lg-sam {
  background: rgba(34, 197, 94, 0.3);
  border: 1px dashed var(--green);
}
.lg-som {
  background: var(--amber);
}

.market-col {
  display: grid;
  gap: 14px;
}
.market-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.market-card h4 {
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-pair b {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-pair span {
  font-size: 0.82rem;
  color: var(--fg-3);
}
.dot-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.dot-list li {
  padding-left: 20px;
  position: relative;
  color: var(--fg);
  font-size: 0.92rem;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.dot-list b {
  color: var(--green);
  font-family: var(--font-mono);
}
.disclaimer {
  margin-top: 12px;
  color: var(--fg-3);
  font-size: 0.78rem;
  font-style: italic;
}
.formula code {
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  display: block;
}

/* ======================================================
   GTM flow · Slide 11
   ====================================================== */
.gtm-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 40px;
}
.gtm-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: grid;
  gap: 10px;
}
.gtm-step-3 {
  border-color: var(--amber-soft);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04), var(--panel));
}
.gtm-num {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--green);
  letter-spacing: 0.05em;
}
.gtm-step-3 .gtm-num {
  color: var(--amber-2);
}
.gtm-step h3 {
  font-size: 1.2rem;
}
.gtm-step p {
  color: var(--fg-2);
  font-size: 0.92rem;
}
.gtm-arrow {
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 1.6rem;
}

.channel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.channel h4 {
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--fg);
  font-size: 0.88rem;
}

/* ======================================================
   Waterfall · Slide 12
   ====================================================== */
.waterfall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
}
.wf {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wf h4 {
  color: var(--green);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wf ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  flex: 1;
}
.wf li {
  color: var(--fg);
  font-size: 0.88rem;
  padding-left: 14px;
  position: relative;
}
.wf li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 2px;
  background: var(--green);
}
.wf-arpa {
  color: var(--fg-3);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.wf-1 { min-height: 240px; }
.wf-2 { min-height: 280px; }
.wf-3 { min-height: 320px; border-color: var(--amber-soft); background: linear-gradient(180deg, rgba(245, 158, 11, 0.04), var(--panel)); }
.wf-3 h4 { color: var(--amber-2); }
.wf-3 li::before { background: var(--amber); }
.wf-4 { min-height: 260px; }

/* ======================================================
   Use cases · Slide 13
   ====================================================== */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.uc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.uc h4 {
  color: var(--green);
  margin-bottom: 14px;
  font-size: 1rem;
}
.uc-io {
  font-size: 0.88rem;
  color: var(--fg);
  line-height: 1.8;
}
.uc-io span {
  display: inline-block;
  width: 70px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ======================================================
   Capture · Slide 14
   ====================================================== */
.capture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.cap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: grid;
  gap: 14px;
}
.cap-num {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.cap h3 {
  color: var(--fg);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cap ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.cap li {
  color: var(--fg-2);
  padding-left: 14px;
  position: relative;
  font-size: 0.94rem;
}
.cap li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 2px;
  background: var(--green);
}
.cap-channel {
  border-color: var(--green-soft);
}
.cap-expansion {
  border-color: var(--amber-soft);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04), var(--panel));
}
.cap-expansion .cap-num {
  color: var(--amber-2);
  font-size: 1.6rem;
  letter-spacing: 0;
  text-transform: uppercase;
}
.cap-expansion li::before {
  background: var(--amber);
}
.capture-line {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.06), rgba(245, 158, 11, 0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 28px;
  color: var(--fg);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* ======================================================
   Closing · Slide 15
   ====================================================== */
.slide-closing {
  background:
    radial-gradient(500px 300px at 85% 70%, rgba(245, 158, 11, 0.06), transparent 70%),
    radial-gradient(500px 300px at 15% 30%, rgba(34, 197, 94, 0.08), transparent 70%),
    var(--bg);
}
.close-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.close-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 18px 0 24px;
}
.close-copy {
  color: var(--fg-2);
  font-size: 1.05rem;
  margin-bottom: 18px;
  max-width: 540px;
  line-height: 1.55;
}
.cta-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.cta-head {
  color: var(--green);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.cta-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.cta-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  transition: all 0.2s ease;
}
.cta-item:hover {
  border-color: var(--green);
  background: rgba(34, 197, 94, 0.04);
  transform: translateX(4px);
}
.cta-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--green);
  background: rgba(34, 197, 94, 0.08);
  border-radius: 10px;
  font-size: 0.88rem;
}
.cta-item b {
  color: var(--fg);
  font-size: 0.98rem;
}
.cta-item small {
  display: block;
  color: var(--fg-3);
  font-size: 0.82rem;
  margin-top: 3px;
}
.recap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.slide-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--fg-3);
  font-size: 0.78rem;
  text-align: center;
}

/* ======================================================
   Responsive
   ====================================================== */
@media (max-width: 1024px) {
  .slide {
    padding: 80px 32px 48px;
  }
  .cover-grid,
  .close-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cover-visual {
    display: none;
  }
  .grid-3,
  .uc-grid,
  .capture-grid,
  .waterfall,
  .why-blocks {
    grid-template-columns: 1fr 1fr;
  }
  .gtm-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gtm-arrow {
    transform: rotate(90deg);
  }
  .funnel-grid {
    grid-template-columns: 1fr;
  }
  .side-nav {
    display: none;
  }
  .brand {
    top: 16px;
    left: 16px;
  }
  .controls {
    right: 16px;
    bottom: 16px;
  }
  .radial {
    aspect-ratio: unset;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .radial-core,
  .radial-node {
    position: static;
    transform: none;
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .slide {
    padding: 72px 20px 40px;
    min-height: auto;
    scroll-snap-align: none;
  }
  .deck {
    scroll-snap-type: none;
    height: auto;
  }
  .grid-2,
  .grid-3,
  .uc-grid,
  .capture-grid,
  .waterfall,
  .why-blocks,
  .before-after {
    grid-template-columns: 1fr;
  }
  .rung-1,
  .rung-2,
  .rung-3 {
    margin: 0;
  }
  .rung {
    grid-template-columns: 50px 1fr;
  }
  .rung .tag {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .funnel-ring.tam { width: 260px; height: 260px; }
  .funnel-ring.sam { width: 180px; height: 180px; }
  .funnel-ring.som { width: 110px; height: 110px; }
  .gap-row { grid-template-columns: 1fr; gap: 6px; }
  .cli { grid-template-columns: 44px 1fr; }
  .cli .tag { grid-column: 1 / -1; }
}

/* ======================================================
   Print (PDF export)
   ====================================================== */
@media print {
  .side-nav,
  .controls,
  .progress-bar,
  .brand {
    display: none !important;
  }
  .deck {
    scroll-snap-type: none;
    height: auto;
    overflow: visible;
  }
  .slide {
    page-break-after: always;
    min-height: auto;
    padding: 40px;
    border: 0;
  }
}

/* ======================================================
   Slide 4 · 4 legs frame
   ====================================================== */
.legs {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.legs-head {
  margin-bottom: 18px;
}
.legs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.leg {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.leg-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}
.leg h4 {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.3;
}
.leg small {
  color: var(--fg-3);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* ======================================================
   Slide 9 · Malha de dados (layered)
   ====================================================== */
.mesh {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.mesh-cols {
  display: grid;
  margin-bottom: 6px;
}
.mesh-head-col {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--fg-3);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.mesh-head-kicker.accent {
  color: var(--green);
}
.mesh-head-arrow {
  color: var(--fg-3);
  font-size: 1rem;
}

.mesh-layer {
  display: grid;
  grid-template-columns: 44px 240px 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.2s ease;
}
.mesh-layer::before {
  content: "";
  position: absolute;
  left: 32px;
  top: -10px;
  bottom: -10px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--green-soft), transparent);
  pointer-events: none;
}
.mesh-layer:first-of-type::before {
  top: 50%;
}
.mesh-layer:last-of-type::before {
  bottom: 50%;
}
.layer-label {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}
.layer-title {
  color: var(--fg);
  font-weight: 600;
  font-size: 1rem;
}
.layer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.layer-items span {
  padding: 5px 11px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--fg-2);
}
.mesh-layer.layer-radar {
  border-color: var(--amber-soft);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.04), var(--panel));
}
.layer-radar .layer-label {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-2);
  font-size: 1.2rem;
}
.layer-radar .layer-items span {
  border-color: var(--amber-soft);
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.04);
}

/* ======================================================
   Slide 10 · Market hero + ramp
   ====================================================== */
.mkt-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.mkt-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.mkt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 120px at 100% 0%, var(--green-glow), transparent 70%);
  pointer-events: none;
}
.mkt-card.mkt-sam::before {
  background: radial-gradient(400px 120px at 100% 0%, rgba(34, 197, 94, 0.16), transparent 70%);
}
.mkt-card.mkt-som {
  border-color: var(--amber-soft);
}
.mkt-card.mkt-som::before {
  background: radial-gradient(400px 120px at 100% 0%, rgba(245, 158, 11, 0.2), transparent 70%);
}
.mkt-kicker {
  color: var(--green);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.mkt-som .mkt-kicker {
  color: var(--amber-2);
}
.mkt-num {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mkt-som .mkt-num {
  color: var(--amber-2);
}
.mkt-sub {
  color: var(--fg-2);
  font-size: 0.98rem;
  font-weight: 500;
}
.mkt-rs {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 4px;
}
.mkt-rs b {
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}
.mkt-som .mkt-rs b {
  color: var(--amber-2);
}
.mkt-rs small {
  color: var(--fg-3);
  font-size: 0.78rem;
  line-height: 1.45;
}

.mkt-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}
.mkt-ramp,
.mkt-assumpt {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.mkt-ramp h4,
.mkt-assumpt h4 {
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ramp-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: end;
}
.ramp-col {
  display: grid;
  gap: 10px;
  text-align: center;
}
.ramp-year {
  color: var(--fg-3);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  order: -1;
}
.ramp-bar {
  height: 140px;
  display: flex;
  align-items: flex-end;
  background: var(--bg-2);
  border-radius: 10px;
  padding: 6px;
  border: 1px solid var(--line-soft);
}
.ramp-fill {
  width: 100%;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  border-radius: 6px;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 22px;
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.ramp-fill span {
  position: absolute;
  top: -22px;
  color: var(--fg);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-mono);
}
.ramp-fill.ramp-goal {
  background: linear-gradient(180deg, var(--amber-2) 0%, var(--amber) 100%);
}
.ramp-fill.ramp-goal span {
  color: var(--amber-2);
}
.ramp-meta {
  color: var(--fg-3);
  font-size: 0.76rem;
  line-height: 1.45;
}

.assumpt-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.assumpt-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-2);
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  font-size: 0.88rem;
}
.assumpt-list li b {
  color: var(--fg);
}
.assumpt-list li span {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  white-space: nowrap;
}
.mkt-formula {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--bg-2);
  border-radius: 10px;
  border: 1px solid var(--line-soft);
}
.mkt-formula code {
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ======================================================
   Slide 16 · Competitive matrix (extra)
   ====================================================== */
.slide-extra {
  background: var(--bg);
}
.counter-extra {
  color: var(--amber-2);
  font-size: 0.76rem;
  margin-left: 4px;
}
.matrix-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 1000px;
}
.matrix th,
.matrix td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.matrix th {
  color: var(--fg-3);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--bg-2);
  white-space: nowrap;
}
.matrix td {
  color: var(--fg);
  line-height: 1.45;
}
.matrix tbody tr:hover {
  background: rgba(34, 197, 94, 0.03);
}
.matrix-us td {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.06), transparent);
  border-bottom-color: var(--green-soft);
}
.matrix-us b {
  color: var(--green);
}
.matrix-watch td {
  background: rgba(245, 158, 11, 0.03);
}
.risk-hi {
  color: var(--red);
  font-weight: 600;
}
.risk-md {
  color: var(--amber-2);
  font-weight: 600;
}
.risk-lo {
  color: var(--fg-3);
  font-weight: 500;
}
.risk-watch {
  color: var(--amber-2);
  font-weight: 600;
}

.matrix-take {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.take {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.take-num {
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  min-width: 18px;
  padding-top: 2px;
}
.take p {
  color: var(--fg);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ======================================================
   Responsive overrides for new sections
   ====================================================== */
@media (max-width: 1024px) {
  .legs-grid,
  .mkt-hero {
    grid-template-columns: 1fr 1fr;
  }
  .mkt-bottom {
    grid-template-columns: 1fr;
  }
  .matrix-take {
    grid-template-columns: 1fr;
  }
  .mesh-layer {
    grid-template-columns: 44px 1fr;
  }
  .mesh-layer .layer-items {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .legs-grid,
  .mkt-hero {
    grid-template-columns: 1fr;
  }
  .ramp-bars {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .ramp-bar {
    height: 100px;
  }
  .mesh-head-col {
    font-size: 0.62rem;
    padding: 8px 12px;
  }
}

/* ======================================================
   Slide 13 · PGFN
   ====================================================== */
.slide-pgfn {
  background:
    radial-gradient(600px 280px at 90% 10%, rgba(245, 158, 11, 0.05), transparent 70%),
    radial-gradient(500px 240px at 10% 90%, rgba(34, 197, 94, 0.05), transparent 70%),
    var(--bg);
}
.pgfn-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}
.pgfn-stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
}
.pgfn-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 100px at 100% 0%, var(--green-glow), transparent 70%);
  pointer-events: none;
}
.pgfn-stat-mid::before {
  background: radial-gradient(300px 100px at 100% 0%, rgba(34, 197, 94, 0.18), transparent 70%);
}
.pgfn-stat-warn {
  border-color: var(--red-soft);
}
.pgfn-stat-warn::before {
  background: radial-gradient(300px 100px at 100% 0%, rgba(239, 68, 68, 0.18), transparent 70%);
}
.pgfn-num {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.pgfn-stat-warn .pgfn-num {
  color: var(--red);
}
.pgfn-sub {
  color: var(--fg);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.pgfn-stat small {
  color: var(--fg-3);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.pgfn-plays {
  margin-bottom: 20px;
}
.pgfn-head {
  margin-bottom: 14px;
}
.pgfn-play-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pgfn-play {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.pgfn-play-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pgfn-play-head b {
  color: var(--fg);
  font-size: 0.98rem;
}
.pgfn-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}
.pgfn-play p {
  color: var(--fg-2);
  font-size: 0.9rem;
}
.pgfn-offer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pgfn-offer span {
  padding: 4px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--fg);
}
.pgfn-offer span b {
  color: var(--green);
  font-family: var(--font-mono);
}
.pgfn-rev {
  font-size: 0.82rem;
  color: var(--fg);
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  line-height: 1.45;
}
.pgfn-rev b {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.pgfn-play-radar {
  border-color: var(--amber-soft);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04), var(--panel));
}
.pgfn-play-radar .pgfn-icon {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber-2);
}
.pgfn-play-radar .pgfn-offer span b {
  color: var(--amber-2);
}
.pgfn-play-radar .pgfn-rev b {
  color: var(--amber-2);
}

.pgfn-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.06), rgba(245, 158, 11, 0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pgfn-foot > div {
  display: grid;
  gap: 4px;
  align-content: start;
}
.pgfn-foot b {
  color: var(--green);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.pgfn-foot-side b {
  color: var(--amber-2);
}
.pgfn-foot span {
  color: var(--fg);
  font-size: 0.9rem;
  line-height: 1.45;
}
.pgfn-foot span b {
  color: inherit;
  font-family: var(--font-mono);
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}

/* Waterfall highlight · slide 12 */
.wf-highlight {
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.06), var(--panel));
}
.wf-highlight h4 {
  color: var(--green);
}
.wf-highlight .wf-arpa {
  color: var(--green);
  font-weight: 700;
}

/* Use case highlight · slide 14 */
.uc-highlight {
  border-color: var(--amber-soft);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05), var(--panel));
}
.uc-highlight h4 {
  color: var(--amber-2);
}

@media (max-width: 1024px) {
  .pgfn-hero,
  .pgfn-play-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pgfn-foot {
    grid-template-columns: 1fr;
  }
  .windows {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .pgfn-hero,
  .pgfn-play-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   Slide 13 · Duas janelas
   ========================== */
.windows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.window {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: grid;
  gap: 12px;
  align-content: start;
  position: relative;
  overflow: hidden;
}
.win-prevention {
  border-color: var(--green-soft);
}
.win-prevention::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 120px at 0% 0%, var(--green-glow), transparent 70%);
  pointer-events: none;
}
.win-regularize {
  border-color: var(--amber-soft);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04), var(--panel));
}
.win-regularize::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 120px at 100% 0%, rgba(245, 158, 11, 0.14), transparent 70%);
  pointer-events: none;
}
.window-head {
  display: grid;
  gap: 6px;
  position: relative;
}
.window-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border: 1px solid var(--green-soft);
  color: var(--green);
  background: rgba(34, 197, 94, 0.06);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.window-tag-amber {
  border-color: var(--amber-soft);
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.06);
}
.window-head h3 {
  color: var(--fg);
  font-size: 1.1rem;
  line-height: 1.25;
}
.window-copy {
  color: var(--fg-2);
  font-size: 0.94rem;
  line-height: 1.5;
  position: relative;
}
.window-copy strong {
  color: var(--fg);
}
.window-apis {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
}
.api-chip {
  padding: 4px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg);
}
.api-chip b {
  color: var(--green);
}
.api-chip-warn {
  border-color: var(--amber-soft);
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.06);
  font-family: var(--font-sans);
}
.win-regularize .api-chip b {
  color: var(--amber-2);
}
.window-win {
  padding: 12px 14px;
  background: var(--bg-2);
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  color: var(--fg);
  font-size: 0.88rem;
  line-height: 1.45;
  position: relative;
}
.window-win b {
  color: var(--green);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}
.win-regularize .window-win b {
  color: var(--amber-2);
}

