:root {
  --bg: #0b1020;
  --bg-alt: #151c30;
  --fg: #ffffff;
  --fg-dim: #b8c4d9;
  --accent: #ff8a5c;
  --accent-alt: #79b0ff;
  --ok: #5eead4;
  --warn: #fde047;
  --err: #fb7185;
  --border: #2e374c;
  --code-bg: #05080f;
}

html, body {
  background: var(--bg) !important;
  color: var(--fg);
}

.reveal-viewport,
.reveal,
.reveal .slides,
.reveal .slides > section,
.reveal .slides > section > section {
  background: var(--bg);
}

.reveal {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--fg);
  font-size: 34px;
}

.reveal .slides {
  text-align: left;
}

.reveal .slides > section,
.reveal .slides > section > section {
  padding: 24px 36px;
}

.reveal h1, .reveal h2, .reveal h3, .reveal h4 {
  font-family: "Inter", sans-serif;
  color: var(--fg);
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin-bottom: 0.4em;
}

.reveal h1 {
  font-size: 2.4em;
  line-height: 1.1;
}
.reveal h2 {
  font-size: 1.6em;
  line-height: 1.15;
}
.reveal h3 {
  font-size: 1.2em;
  color: var(--accent);
}
.reveal h4 {
  font-size: 1em;
  color: var(--fg-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reveal p { line-height: 1.5; }
.reveal strong { color: var(--accent); font-weight: 600; }
.reveal em { color: var(--accent-alt); font-style: normal; font-weight: 500; }

.reveal a { color: var(--accent-alt); text-decoration: none; border-bottom: 1px dashed var(--accent-alt); }

.reveal ul, .reveal ol { margin-left: 1.2em; }
.reveal li { margin: 0.4em 0; line-height: 1.45; }
.reveal li::marker { color: var(--accent); }

.reveal code {
  font-family: "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
  background: var(--code-bg);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent);
  border: 1px solid var(--border);
}

.reveal pre {
  box-shadow: none;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.reveal pre code {
  padding: 1em;
  background: transparent;
  border: none;
  color: var(--fg);
  font-size: 0.6em;
  line-height: 1.45;
}

/* title slide */
.reveal .slide-title {
  text-align: center;
  padding-top: 2em;
}
.reveal .slide-title h1 {
  font-size: 3em;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.2em;
}
.reveal .slide-title .subtitle {
  color: var(--fg-dim);
  font-size: 1.3em;
  font-weight: 400;
}
.reveal .slide-title .meta {
  color: var(--fg-dim);
  font-size: 0.7em;
  margin-top: 2em;
  letter-spacing: 0.05em;
}

/* section eyebrow */
.reveal .eyebrow {
  display: inline-block;
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  margin-bottom: 1em;
}

/* stat callout */
.stat-row {
  display: flex;
  gap: 28px;
  margin: 1em 0;
  flex-wrap: wrap;
}
.stat {
  flex: 1;
  min-width: 180px;
  padding: 18px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}
.stat .value {
  font-size: 2.2em;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 6px;
}
.stat .label {
  font-size: 0.7em;
  color: var(--fg-dim);
  line-height: 1.3;
}

/* screenshot placeholder */
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-alt),
    var(--bg-alt) 14px,
    #1c2336 14px,
    #1c2336 28px
  );
  border: 2px dashed var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--fg-dim);
  font-size: 0.7em;
  text-align: center;
  padding: 20px;
  margin: 0.5em 0;
}
.screenshot-placeholder .ph-title {
  font-size: 1.4em;
  color: var(--fg);
  margin-bottom: 8px;
  font-weight: 600;
}
.screenshot-placeholder .ph-hint {
  color: var(--fg-dim);
  font-size: 0.9em;
  max-width: 500px;
  line-height: 1.4;
}
.screenshot-placeholder::before {
  content: "📸";
  font-size: 2em;
  margin-bottom: 12px;
  opacity: 0.5;
}
.screenshot {
  display: block;
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  margin: 0.5em auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-alt);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* two-column */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 1em;
}
.cols.narrow { gap: 20px; }
.col h3 { margin-top: 0; }

/* comparison card */
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
}
.card.argo { border-top: 3px solid var(--accent); }
.card.flux { border-top: 3px solid var(--accent-alt); }
.card.kargo { border-top: 3px solid #a78bfa; }
.card h3 { margin-top: 0; }
.card ul { font-size: 0.85em; }

/* pill */
.pill {
  display: inline-block;
  font-size: 0.6em;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--fg-dim);
  margin-right: 6px;
  letter-spacing: 0.03em;
}

/* footer / slide number */
.reveal .slide-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.5em;
  background: transparent;
  color: var(--fg-dim);
}

.reveal .progress { color: var(--accent); }

.reveal .controls {
  color: var(--fg-dim);
}

/* note under a slide heading */
.lede {
  color: var(--fg-dim);
  font-size: 0.9em;
  margin-top: -0.4em;
  margin-bottom: 1em;
}

/* key points list with big numbers */
.numbered {
  list-style: none;
  margin-left: 0;
  counter-reset: num;
  padding-left: 0;
}
.numbered li {
  counter-increment: num;
  padding-left: 52px;
  position: relative;
  margin-bottom: 0.6em;
}
.numbered li::before {
  content: counter(num);
  position: absolute;
  left: 0;
  top: -6px;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75em;
}

/* source citation */
.source {
  color: var(--fg-dim);
  font-size: 0.5em;
  margin-top: 1.5em;
  font-style: italic;
}

.reveal .source a {
  color: var(--fg-dim);
  border-bottom: 1px solid rgba(184, 196, 217, 0.3);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.reveal .source a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
