:root {
  --dr-navy: #141b2d;
  --dr-navy-2: #1e2a45;
  --dr-ink: #ffffff;
  --dr-muted: rgba(255, 255, 255, 0.66);
  --dr-faint: rgba(255, 255, 255, 0.38);
  --dr-line: rgba(255, 255, 255, 0.12);
  --dr-teal: #10b981;
  --dr-blue: #3b82f6;
  --dr-amber: #f2a55e;
  --dr-purple: #8b5cf6;
  --slide-size: min(1080px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  background: #0d1322;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dr-ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.14), transparent 30rem),
    #0d1322;
  -webkit-font-smoothing: antialiased;
}

.deck-shell {
  width: 100%;
}

.deck-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 16px 28px;
  background: rgba(13, 19, 34, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.deck-toolbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.deck-toolbar-title img {
  width: 116px;
  height: auto;
  display: block;
}

.deck-toolbar-title span {
  overflow: hidden;
  color: var(--dr-muted);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deck-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deck-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font: 700 13px/1 "DM Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.deck-button.primary {
  border-color: rgba(16, 185, 129, 0.55);
  background: #10b981;
  color: #071321;
}

.deck-stage {
  display: grid;
  gap: 28px;
  justify-content: center;
  padding: 32px 24px 72px;
}

.deck-slide {
  position: relative;
  width: var(--slide-size);
  height: var(--slide-size);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(30, 42, 69, 0.98), rgba(14, 20, 36, 0.98)),
    var(--dr-navy);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.deck-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, rgba(16, 185, 129, 0.17), transparent 25%),
    radial-gradient(circle at 88% 0%, rgba(59, 130, 246, 0.13), transparent 31%),
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.035) 100%);
}

.slide-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  padding: 72px 76px 54px;
}

.slide-kicker {
  color: var(--dr-amber);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.slide-title {
  max-width: 850px;
  margin: 18px 0 0;
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
}

.slide-subtitle {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--dr-muted);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.34;
}

.slide-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--dr-faint);
  font-size: 14px;
  font-weight: 600;
}

.slide-footer img {
  width: 132px;
  height: auto;
  display: block;
}

.cover .slide-inner {
  padding-top: 84px;
}

.cover .slide-title {
  max-width: 900px;
  font-size: 112px;
  line-height: 0.9;
}

.cover .slide-body {
  justify-content: end;
  padding-bottom: 22px;
}

.cover-art {
  width: 760px;
  height: 330px;
  opacity: 0.76;
}

.cover-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cover-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.cover-curve {
  fill: none;
  stroke: var(--dr-amber);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.cover-dot {
  fill: var(--dr-amber);
}

.cover-dot.muted {
  fill: var(--dr-teal);
  opacity: 0.58;
}

.cover-bar {
  opacity: 0.62;
}

.cover-bar.amber {
  fill: var(--dr-amber);
}

.cover-bar.blue {
  fill: #5e8fd8;
}

.cover-bar.green {
  fill: #6ee7b7;
}

.cover-bar.purple {
  fill: #a78bfa;
}

.cover-bubble {
  fill: rgba(110, 231, 183, 0.18);
  stroke: rgba(110, 231, 183, 0.58);
  stroke-width: 3;
}

.cover-bubble.small {
  fill: rgba(242, 165, 94, 0.18);
  stroke: rgba(242, 165, 94, 0.58);
}

.text-slide .slide-body {
  justify-content: center;
}

.narrative-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.narrative-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  color: var(--dr-ink);
  font-size: 28px;
  font-weight: 650;
  line-height: 1.18;
}

.narrative-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  font-size: 18px;
  font-weight: 900;
}

.narrative-footnote {
  max-width: 850px;
  margin: 34px 0 0 60px;
  color: var(--dr-faint);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
}

.product-slide .slide-body {
  justify-content: end;
  padding-bottom: 18px;
}

.product-slide-layout {
  display: grid;
  gap: 34px;
}

.product-lede {
  max-width: 830px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 28px;
  font-weight: 650;
  line-height: 1.22;
}

.product-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.product-audience {
  min-height: 118px;
  padding: 22px 24px 20px;
  border-left: 3px solid rgba(110, 231, 183, 0.62);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.audience-name {
  color: var(--dr-amber);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.audience-copy {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.2;
}

.chart-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  height: 660px;
  margin-top: 34px;
  padding: 26px 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 15, 29, 0.44);
}

.chart-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 24px;
  color: var(--dr-muted);
  font-size: 14px;
  font-weight: 700;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.chart-slot {
  min-height: 0;
}

.chart-slot svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.image-slide .slide-body {
  justify-content: center;
}

.deck-image-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 660px;
  margin-top: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 15, 29, 0.44);
  overflow: hidden;
}

.deck-image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.axis-label,
.tick-label {
  fill: rgba(255, 255, 255, 0.58);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 650;
}

.grid-line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.series-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-line {
  stroke: rgba(255, 255, 255, 0.42);
  stroke-dasharray: 5 5;
  stroke-linecap: round;
  stroke-width: 1.3;
}

.label-leader {
  stroke: rgba(255, 255, 255, 0.34);
  stroke-width: 1;
}

.bar-label {
  fill: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.bar-name {
  fill: rgba(255, 255, 255, 0.74);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.investor-label {
  fill: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 600;
}

.column-label {
  fill: rgba(255, 255, 255, 0.62);
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.scatter-label {
  fill: rgba(255, 255, 255, 0.72);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.placeholder .slide-body {
  justify-content: center;
}

.placeholder-copy {
  max-width: 760px;
  color: var(--dr-muted);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.28;
}

@media (max-width: 760px) {
  :root {
    --slide-size: min(1080px, calc(100vw - 24px));
  }

  .deck-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 16px;
  }

  .deck-stage {
    padding: 16px 12px 48px;
  }

  .deck-slide {
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
  }
}

@page {
  size: 1080px 1080px;
  margin: 0;
}

.is-print-export,
.is-print-export body {
  width: 1080px;
  background: #141b2d;
}

.is-print-export .deck-toolbar {
  display: none;
}

.is-print-export .deck-stage {
  display: block;
  padding: 0;
}

.is-print-export .deck-slide {
  width: 1080px;
  height: 1080px;
  border: 0;
  box-shadow: none;
}

@media print {
  html,
  body {
    width: 1080px;
    background: #141b2d;
  }

  .deck-toolbar {
    display: none;
  }

  .deck-stage {
    display: block;
    padding: 0;
  }

  .deck-slide {
    width: 1080px;
    height: 1080px;
    border: 0;
    box-shadow: none;
    page-break-after: always;
    break-after: page;
  }
}
