:root {
  --bg: #0a1530;
  --bg-2: #0e1a3a;
  --surface: #15234a;
  --surface-2: #1b2a55;
  --border: #2b3d6a;
  --border-soft: #1f2f5a;
  --text: #f4f7ff;
  --text-2: #b1bedf;
  --text-3: #7c8bb5;
  --aqua: #5eead4;
  --aqua-2: #38d9c2;
  --coral: #ff8a7a;
  --coral-2: #ff6b85;
  --peach: #ffc4a3;
  --gold: #f6c177;
  --violet: #a78bfa;
  --shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 30px 60px rgba(0,0,0,0.45);
  --radius: 18px;
  --radius-sm: 10px;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: 'Fraunces', ui-serif, Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "ss01","cv11","ss03";
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  height: 100%;
}

body {
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(94,234,212,0.10), transparent 60%),
    radial-gradient(1000px 600px at -10% 110%, rgba(255,138,122,0.10), transparent 60%),
    var(--bg);
}

#deck {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  padding: 60px 80px 80px;
  overflow: hidden;
  animation: fadeIn 380ms cubic-bezier(.2,.7,.2,1);
}

.slide.active { display: flex; flex-direction: column; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow-light { color: rgba(255,255,255,0.78); }

h1.display {
  font-size: 144px;
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--text);
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

h1.display.serif {
  font-family: var(--font-serif);
  font-weight: 800;
  font-variation-settings: "opsz" 120;
}

h2 {
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 26px;
  max-width: 1000px;
  color: var(--text);
}

h2.serif {
  font-family: var(--font-serif);
  font-weight: 600;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.accent {
  background: linear-gradient(110deg, var(--aqua) 0%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-3); font-weight: 600; }
.punct { color: var(--aqua); }

.lead {
  font-size: 26px;
  line-height: 1.45;
  color: var(--text-2);
  max-width: 760px;
  margin: 0 0 24px;
  font-weight: 400;
}

.lead-light { color: rgba(255,255,255,0.92); text-shadow: 0 1px 12px rgba(0,0,0,0.5); }

.lead-sm {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 0 28px;
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 2px 8px;
  background: rgba(94,234,212,0.10);
  border: 1px solid rgba(94,234,212,0.22);
  border-radius: 6px;
  color: var(--aqua);
}

strong { color: var(--text); font-weight: 600; }

.meta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.chip {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.chip-light {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
}

kbd {
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text);
}

/* Cover slides */
.cover { padding: 0; align-items: stretch; justify-content: center; }

.cover-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}

.cover-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,21,48,0.94) 0%, rgba(10,21,48,0.55) 55%, rgba(10,21,48,0.10) 100%);
}

.cover-overlay-light {
  background:
    linear-gradient(90deg, rgba(10,21,48,0.92) 0%, rgba(10,21,48,0.55) 50%, rgba(10,21,48,0.15) 100%);
}

.cover-content {
  position: relative;
  z-index: 2;
  padding: 80px 100px;
  align-self: center;
  max-width: 980px;
}

.cover.closing .cover-content { padding-bottom: 100px; }

.footer-mark {
  position: absolute;
  bottom: 28px;
  right: 80px;
  color: var(--text-3);
  font-size: 12.5px;
  z-index: 3;
  letter-spacing: 0.03em;
}

.footer-mark-light { color: rgba(255,255,255,0.6); }

.signoff {
  margin-top: 32px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-style: italic;
}

/* Two-col with image */
.two-col-img {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
  flex: 1;
}

.two-col-img.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.two-col-img.reverse .img-col { order: 2; }
.two-col-img.reverse > div:not(.img-col) { order: 1; }

.img-col {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  position: relative;
}

.img-col img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Stat strip (problem slide) */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.ss {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px;
  box-shadow: var(--shadow);
}

.ss-n {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144;
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--aqua);
  letter-spacing: -0.03em;
}

.ss-n small { font-size: 26px; color: var(--text-3); margin-left: 2px; }

.ss-l { font-size: 13px; color: var(--text-2); margin-top: 12px; line-height: 1.45; }

/* Three promises (mission) */
.three-promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.promise {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.p-k {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--coral);
  letter-spacing: 0.14em;
  font-weight: 700;
}

.p-v {
  font-size: 17px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.35;
  color: var(--text);
}

/* Steps */
.steps {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  gap: 0 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  align-items: center;
}

.step-n {
  grid-row: 1 / span 2;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  background: linear-gradient(135deg, var(--aqua), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

.step-t { font-size: 18px; font-weight: 600; color: var(--text); }
.step-d { font-size: 14px; color: var(--text-2); margin-top: 4px; }

/* Benefit list */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.benefit-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  line-height: 1.5;
  font-size: 17px;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua), var(--coral));
  box-shadow: 0 0 0 4px rgba(94,234,212,0.10);
}

.benefit-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 12px;
  width: 8px; height: 4px;
  border-left: 2px solid #0a1530;
  border-bottom: 2px solid #0a1530;
  transform: rotate(-45deg);
}

.benefit-list li strong { color: var(--text); }

/* URL pill grid */
.url-pill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

.pill {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text);
  padding: 13px 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* Service pills */
.service-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.sp {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sp::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aqua), var(--coral));
}

/* Blueprint tiles */
.blueprint-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.bp {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.bp-t { font-weight: 700; font-size: 17px; }
.bp-d { font-size: 13px; color: var(--text-2); margin-top: 6px; line-height: 1.4; }

/* Positioning */
.positioning {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 20px;
}

.pos-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pos-card.pos-center {
  background:
    radial-gradient(180px 120px at 50% -20%, rgba(94,234,212,0.18), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(94,234,212,0.45);
  position: relative;
  transform: translateY(-12px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(94,234,212,0.08), 0 20px 50px rgba(94,234,212,0.10);
}

.pos-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--aqua), var(--coral));
  color: #0a1530;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

.pos-h { font-size: 20px; font-weight: 700; margin-top: 6px; }
.pos-s { font-size: 13px; color: var(--text-3); margin-bottom: 14px; }

.pos-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.pos-card li {
  font-size: 14.5px;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}

.pos-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-3);
}

.pos-center li { color: var(--text); }
.pos-center li::before { color: var(--aqua); }

/* Brand strip */
.brand-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin: 22px 0 24px;
}

.b {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
}

.b-m { font-size: 22px; margin-bottom: 4px; }
.b-n { font-size: 13px; font-weight: 700; color: var(--text); }
.b-x { font-size: 10.5px; color: var(--text-3); margin-top: 2px; letter-spacing: 0.04em; }

.logo-h {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-2);
  margin: 6px 0 14px;
}

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

.logo-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.logo-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #0d1426;
}

.logo-cap {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.45;
}

.logo-cap strong { color: var(--text); }

/* Closing asks */
.closing-asks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  max-width: 720px;
}

.ask {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.ask-n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--aqua);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ask-t {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* HUD */
#hud {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 50;
}

#progress {
  height: 2px;
  background: rgba(255,255,255,0.04);
}

#progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--aqua), var(--coral));
  transition: width 380ms cubic-bezier(.2,.7,.2,1);
}

#counter {
  position: absolute;
  right: 24px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  pointer-events: auto;
  letter-spacing: 0.04em;
}

#counter .sep { margin: 0 4px; opacity: 0.4; }

/* Overview */
#overview {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10,21,48,0.96);
  backdrop-filter: blur(10px);
  padding: 60px 64px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-content: start;
}

#overview[hidden] { display: none; }

.thumb {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: transform 160ms, border-color 160ms;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thumb:hover {
  border-color: var(--aqua);
  transform: translateY(-2px);
}

.thumb .t-i {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}

.thumb .t-t {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Print */
@media print {
  html, body { overflow: visible; height: auto; }
  .slide { position: relative; display: flex !important; page-break-after: always; min-height: 100vh; }
  #hud, #overview { display: none !important; }
}

/* Smaller screens */
@media (max-width: 1280px) {
  .slide { padding: 44px 56px 64px; }
  h1.display { font-size: 108px; }
  h2 { font-size: 48px; }
  .lead { font-size: 22px; }
  .two-col-img { gap: 40px; }
  .brand-strip { grid-template-columns: repeat(4, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .ss-n { font-size: 44px; }
  .positioning { grid-template-columns: 1fr; }
  .pos-center { transform: none; }
}
