/* UltraLooper Seed Pitch Deck — editorial investor experience */
:root {
  --ink: #0b0f14;
  --ink-2: #12181f;
  --ink-3: #1a232e;
  --paper: #f3f0ea;
  --paper-2: #ebe6dd;
  --teal: #0d9488;
  --teal-bright: #14b8a6;
  --teal-soft: rgba(13, 148, 136, 0.14);
  --teal-glow: rgba(20, 184, 166, 0.35);
  --muted: #8b97a8;
  --muted-2: #a8b3c2;
  --line: rgba(255, 255, 255, 0.08);
  --line-dark: rgba(11, 15, 20, 0.1);
  --text: #eef2f6;
  --text-soft: #c5ced9;
  --danger: #e05a45;
  --serif: "Fraunces", "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
  --rail-h: 4px;
}

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

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--ink);
  min-height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-scrolling {
  overflow: auto;
}

/* ── Chrome ── */
.deck-chrome {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  pointer-events: none;
}

.deck-chrome > * { pointer-events: auto; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 7px;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-mark em {
  font-style: italic;
  color: var(--teal-bright);
  font-weight: 400;
}

.brand-meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.chrome-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  min-width: 52px;
  text-align: right;
}

.chrome-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.chrome-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.chrome-btn:active { transform: scale(0.97); }

.progress-rail {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: var(--rail-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.04);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  box-shadow: 0 0 16px var(--teal-glow);
  transition: width 0.45s var(--ease);
}

/* ── Stage ── */
.deck-stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  padding-top: calc(var(--nav-h) + var(--rail-h));
}

.slide {
  position: absolute;
  inset: calc(var(--nav-h) + var(--rail-h)) 0 0 0;
  display: none;
  overflow: hidden;
  opacity: 0;
}

.slide.is-active {
  display: flex;
  opacity: 1;
  animation: slideEnter 0.55s var(--ease) both;
}

.slide-inner {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
  padding: 28px 0 72px;
  position: relative;
  z-index: 2;
}

.slide.is-active .reveal {
  animation: revealUp 0.7s var(--ease) both;
}

.slide.is-active .reveal-d1 { animation-delay: 0.08s; }
.slide.is-active .reveal-d2 { animation-delay: 0.16s; }
.slide.is-active .reveal-d3 { animation-delay: 0.24s; }
.slide.is-active .reveal-d4 { animation-delay: 0.32s; }
.slide.is-active .reveal-d5 { animation-delay: 0.4s; }

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

@keyframes revealUp {
  from { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes meshDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -2%) scale(1.05); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Atmosphere */
.atmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.atmos-mesh {
  position: absolute;
  width: 70%;
  height: 70%;
  top: -15%;
  right: -10%;
  background:
    radial-gradient(circle at 30% 40%, rgba(13, 148, 136, 0.28), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(56, 120, 200, 0.12), transparent 50%);
  filter: blur(40px);
  animation: meshDrift 18s ease-in-out infinite;
}

.atmos-mesh--ask {
  left: -10%;
  right: auto;
  background:
    radial-gradient(circle at 40% 50%, rgba(245, 166, 35, 0.16), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(13, 148, 136, 0.3), transparent 55%);
}

.atmos-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.spot {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.slide--dark { background: var(--ink); color: var(--text); }
.slide--panel { background: var(--ink-2); color: var(--text); }
.slide--paper {
  background: var(--paper);
  color: var(--ink);
}

.slide--paper .eyebrow { color: var(--teal); }
.slide--paper .eyebrow::before { background: var(--teal); }
.slide--paper .lede,
.slide--paper .muted { color: rgba(11, 15, 20, 0.55); }
.slide--paper .card {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line-dark);
  color: var(--ink);
}
.slide--paper .card h3 { color: var(--ink); }
.slide--paper .card p { color: rgba(11, 15, 20, 0.62); }
.slide--paper .stat-num { color: var(--ink); }
.slide--paper .stat-label { color: rgba(11, 15, 20, 0.5); }
.slide--paper .pill { background: var(--teal-soft); color: var(--teal); border-color: transparent; }

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--teal-bright);
  border-radius: 2px;
}

.display {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.display em {
  font-style: italic;
  color: var(--teal-bright);
}

.display--lg { max-width: 18ch; font-size: clamp(2.8rem, 6vw, 5rem); }

.lede {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 42ch;
  font-weight: 400;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 28px;
  max-width: 18ch;
}

.h2 em {
  font-style: italic;
  color: var(--teal-bright);
}

.slide--paper .h2 em { color: var(--teal); }

/* Layout helpers */
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 28px; align-items: flex-start; }
.row--split { justify-content: space-between; }
.grow { flex: 1; }

.grid {
  display: grid;
  gap: 14px;
}

.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}

.card:hover {
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted-2);
}

.card-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--teal-bright);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.03);
}

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.stat {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num .unit {
  font-size: 0.45em;
  color: var(--teal-bright);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.list-clean {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-clean li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.list-clean li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px var(--teal-soft);
  flex-shrink: 0;
}

/* Title slide */
.title-wrap {
  min-height: calc(100vh - var(--nav-h) - var(--rail-h) - 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 24px;
}

.title-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
  max-width: 720px;
}

.title-metric {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
}

.title-metric strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 450;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.title-metric span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Competition matrix */
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 8px;
}

.matrix th,
.matrix td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.matrix th {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.matrix td { color: var(--text-soft); }
.matrix tr.hl td {
  color: var(--text);
  background: var(--teal-soft);
}
.matrix tr.hl td:first-child {
  color: var(--teal-bright);
  font-weight: 600;
}

.slide--paper .matrix th { color: rgba(11,15,20,0.45); }
.slide--paper .matrix td,
.slide--paper .matrix th { border-color: var(--line-dark); }
.slide--paper .matrix td { color: rgba(11,15,20,0.7); }
.slide--paper .matrix tr.hl td { background: rgba(13,148,136,0.12); color: var(--ink); }

/* Bars / financials */
.fin-bars {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  height: 220px;
  margin-top: 12px;
  padding-top: 24px;
}

.fin-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  justify-content: flex-end;
}

.fin-bar-fill {
  width: 100%;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, var(--teal-bright), var(--teal));
  transform-origin: bottom;
  animation: barGrow 0.9s var(--ease) both;
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.25);
  min-height: 8px;
}

.fin-bar:nth-child(2) .fin-bar-fill { animation-delay: 0.08s; }
.fin-bar:nth-child(3) .fin-bar-fill { animation-delay: 0.16s; }
.fin-bar:nth-child(4) .fin-bar-fill { animation-delay: 0.24s; }
.fin-bar:nth-child(5) .fin-bar-fill { animation-delay: 0.32s; }

@keyframes barGrow {
  from { transform: scaleY(0); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}

.fin-bar-val {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--teal-bright);
}

.fin-bar-label {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Funds */
.funds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.fund {
  position: relative;
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.fund::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: var(--w, 40%);
  background: var(--teal-bright);
}

.fund-pct {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.fund-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.fund-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Ask hero number */
.ask-number {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 12px 0 16px;
  background: linear-gradient(120deg, #fff 20%, var(--teal-bright) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ask-sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 40ch;
  line-height: 1.5;
}

.dilution-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
  max-width: 560px;
}

/* Footer hint */
.slide-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  padding: 0 max(24px, calc((100% - 1120px) / 2));
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  z-index: 3;
  pointer-events: none;
}

.slide--paper .slide-foot { color: rgba(11, 15, 20, 0.4); }

.hint-keys {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(11, 15, 20, 0.75);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  transition: opacity 0.4s ease;
}

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

.kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  margin: 0 2px;
}

/* Founder */
.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  max-width: 760px;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--teal-bright);
  background: var(--teal-soft);
  border: 1px solid rgba(20, 184, 166, 0.35);
  animation: floatSoft 6s ease-in-out infinite;
}

.founder-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.founder-role {
  color: var(--teal-bright);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.contact-line {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.contact-link:hover { color: var(--teal-bright); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .atmos-mesh { animation: none; }
  .spot { display: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .funds { grid-template-columns: repeat(2, 1fr); }
  .title-metrics { grid-template-columns: 1fr; max-width: 360px; }
  .row { flex-direction: column; }
  .matrix { font-size: 0.78rem; }
  .matrix th, .matrix td { padding: 10px 8px; }
}

@media (max-width: 640px) {
  .deck-chrome { padding: 0 16px; }
  .brand-meta { display: none; }
  .chrome-btn--fs { display: none; }
  .slide-inner { width: calc(100% - 28px); padding-bottom: 88px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .funds { grid-template-columns: 1fr; }
  .dilution-row { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .avatar { margin: 0 auto; }
  .fin-bars { height: 180px; gap: 8px; }
  .hint-keys { display: none; }
}

/* Compact title */
.title-wrap--compact {
  min-height: calc(100vh - var(--nav-h) - var(--rail-h) - 120px);
  justify-content: center;
  align-items: flex-start;
}

.title-wrap--split {
  min-height: calc(100vh - var(--nav-h) - var(--rail-h) - 100px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1.05fr);
  gap: 32px 48px;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 56px;
}

.title-copy { max-width: 480px; }

.title-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.22);
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.title-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.title-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ai-mesh {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(13, 148, 136, 0.2));
}

.mesh-halo {
  animation: meshPulse 6s ease-in-out infinite;
}

.mesh-edges path {
  stroke-dasharray: 8 10;
  animation: meshDash 18s linear infinite;
}

.mesh-nodes .n {
  fill: #14b8a6;
  opacity: 0.85;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 3.2s ease-in-out infinite;
}

.mesh-nodes .n2 { animation-delay: 0.4s; fill: #5eead4; }
.mesh-nodes .n3 { animation-delay: 0.9s; fill: #99f6e4; r: 8; }

.mesh-caption {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes meshPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes meshDash {
  to { stroke-dashoffset: -240; }
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.12); }
}

.lede--short {
  margin-top: 20px;
  max-width: 36ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted-2);
}

.title-raise {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--teal-bright);
}

@media (max-width: 900px) {
  .title-wrap--split {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
    padding-top: 24px;
  }
  .title-visual { order: -1; }
  .ai-mesh { width: min(100%, 300px); }
}

.lede--ink { color: rgba(11, 15, 20, 0.55); }

.h2--wide { max-width: 22ch; }

.pain-grid { gap: 12px; }
.pain-card { padding: 16px 18px; }
.pain-card h3 { font-size: 0.92rem; margin-bottom: 6px; }
.pain-card p { font-size: 0.82rem; }

.sol-grid { gap: 14px; }
.sol-card h3 { font-size: 1.05rem; }

/* Market opportunity */
.market-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 8px;
}

.market-rings {
  position: relative;
  width: min(320px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}

.ring {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.ring-tam {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 45%, rgba(13, 148, 136, 0.18), rgba(13, 148, 136, 0.04) 55%, transparent 70%);
}

.ring-sam {
  width: 68%;
  height: 68%;
  background: radial-gradient(circle at 50% 45%, rgba(20, 184, 166, 0.28), rgba(20, 184, 166, 0.08) 60%, transparent 72%);
  border-color: rgba(20, 184, 166, 0.4);
}

.ring-som {
  width: 38%;
  height: 38%;
  background: linear-gradient(160deg, var(--teal-bright), var(--teal));
  border: none;
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.35);
  color: #041210;
}

.ring-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.ring-tam .ring-label,
.ring-tam .ring-val {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.ring-tam .ring-label { top: 8%; }
.ring-tam .ring-val { top: 14%; font-size: 0.95rem; }

.ring-sam .ring-label,
.ring-sam .ring-val {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.ring-sam .ring-label { top: 18%; color: var(--teal-bright); }
.ring-sam .ring-val { top: 28%; font-size: 1.05rem; color: #fff; }

.ring-som .ring-label { color: rgba(4, 18, 16, 0.7); margin-bottom: 2px; }
.ring-som .ring-val { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.02em; }

.market-bars { display: flex; flex-direction: column; gap: 22px; }

.mbar-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.mbar-top strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--teal-bright);
}

.mbar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mbar-fill {
  height: 100%;
  width: var(--p, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  transform-origin: left;
  animation: barGrowX 0.9s var(--ease) both;
}

.mbar-fill--mid { opacity: 0.85; }
.mbar-fill--sm { opacity: 0.7; background: linear-gradient(90deg, #0f766e, #5eead4); }

@keyframes barGrowX {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.mbar p {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.market-src { margin-top: 4px; font-size: 0.72rem !important; }

/* Pricing streams */
.stream-grid { gap: 16px; margin-top: 8px; }

.stream-card {
  padding: 28px 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.stream-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.stream-price {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--text);
}

.stream-price span {
  font-size: 0.4em;
  color: var(--muted);
  margin-left: 4px;
}

.stream-card--accent {
  background: linear-gradient(165deg, rgba(13, 148, 136, 0.18), rgba(255, 255, 255, 0.03));
  border-color: rgba(13, 148, 136, 0.4);
}

.stream-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.gtm-grid { margin-top: 4px; gap: 12px; }
.gtm-targets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.val-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.val-card { padding: 24px 22px; }
.val-card--base {
  background: linear-gradient(165deg, rgba(13, 148, 136, 0.2), rgba(255, 255, 255, 0.03));
  border-color: rgba(20, 184, 166, 0.4);
}

.val-stake {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 8px 0 18px;
  color: var(--teal-bright);
}

.val-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.val-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.val-rows div:last-child { border-bottom: 0; padding-bottom: 0; }
.val-rows span { color: var(--muted); }
.val-rows strong { color: var(--text); font-weight: 600; }

@media (max-width: 640px) {
  .gtm-targets,
  .val-grid { grid-template-columns: 1fr; }
}

.ue-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.ue-strip > div {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.ue-strip span {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.ue-strip strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 2px;
}

.ue-strip em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.score-hl {
  border-color: rgba(20, 184, 166, 0.35);
  background: linear-gradient(160deg, rgba(13, 148, 136, 0.16), rgba(255, 255, 255, 0.02));
}

.mile-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 8px 0 22px;
}

.mile {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.mile strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--teal-bright);
  margin-bottom: 6px;
}

.mile span {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .ue-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .score-grid,
  .mile-row,
  .ue-strip { grid-template-columns: 1fr; }
}

.ask-number--sm {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin: 8px 0 12px;
}

.funds--tight {
  margin-top: 28px;
  margin-bottom: 36px;
}

.funds--tight .fund {
  padding: 18px 14px;
  text-align: center;
}

.funds--tight .fund-desc { display: none; }

.close-founder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.close-founder strong {
  display: block;
  font-size: 1rem;
}

.close-founder span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.avatar--sm {
  width: 52px;
  height: 52px;
  font-size: 1.25rem;
  animation: none;
}

/* Projection chart */
.fin-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin: -8px 0 20px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.fin-legend .muted { font-size: 0.75rem; margin-left: auto; }

.lg {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: -1px;
}

.lg-rev { background: var(--teal-bright); }
.lg-spend { background: #64748b; }
.lg-ebitda { background: #f5a623; }

.proj-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: end;
  height: 260px;
  padding: 8px 4px 0;
  border-bottom: 1px solid var(--line);
}

.proj-year {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 10px;
}

.proj-cluster {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  width: 100%;
  max-width: 92px;
  height: 100%;
}

.proj-bar {
  flex: 1;
  height: var(--h, 10%);
  border-radius: 6px 6px 3px 3px;
  position: relative;
  transform-origin: bottom;
  animation: barGrow 0.85s var(--ease) both;
  min-height: 4px;
}

.proj-bar--rev {
  background: linear-gradient(180deg, #5eead4, var(--teal));
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.28);
}
.proj-bar--spend { background: linear-gradient(180deg, #94a3b8, #475569); }
.proj-bar--ebitda {
  background: linear-gradient(180deg, #fbbf24, #d97706);
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.22);
}

.proj-year:nth-child(2) .proj-bar { animation-delay: 0.06s; }
.proj-year:nth-child(3) .proj-bar { animation-delay: 0.12s; }
.proj-year:nth-child(4) .proj-bar { animation-delay: 0.18s; }
.proj-year:nth-child(5) .proj-bar { animation-delay: 0.24s; }

.proj-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted-2);
  white-space: nowrap;
  opacity: 0.9;
}

.proj-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.proj-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .proj-chart { height: 200px; gap: 8px; }
  .proj-tip { display: none; }
  .proj-kpis { grid-template-columns: 1fr; }
  .fin-legend .muted { margin-left: 0; width: 100%; }
}

@media (max-width: 960px) {
  .market-layout { grid-template-columns: 1fr; gap: 28px; }
  .pain-grid.g3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pain-grid.g3 { grid-template-columns: 1fr; }
  .stream-card { min-height: 0; }
}

/* Print */
@media print {
  body { overflow: visible; background: #fff; color: #000; }
  .deck-chrome, .progress-rail, .hint-keys, .spot, .atmos { display: none !important; }
  .deck-stage { height: auto; padding: 0; }
  .slide {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    opacity: 1 !important;
    page-break-after: always;
    min-height: 100vh;
    background: #fff !important;
    color: #111 !important;
    animation: none !important;
  }
  .slide-inner { padding: 40px 0; }
  .slide-foot { position: relative; bottom: auto; margin-top: 40px; color: #666; }
  .ask-number { color: #0d9488; background: none; -webkit-text-fill-color: initial; }
}
