:root {
  --black: #0D0D0D;
  --gold: #D4A574;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray: #D1D1D1;
  --gray-mid: #999999;
  --gray-dark: #737373;
  --gray-700: #404040;
  --black-soft: #1A1A1A;
  --black-mid: #111111;
  --success: #7BC47F;
  --error: #D4645C;
  --border: rgba(212, 165, 116, 0.25);
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'IBM Plex Serif', Georgia, serif;
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  padding: 0;
}

.deck {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 36px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide {
  background: var(--black-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 60px 36px;
  margin-bottom: 0;
  position: relative;
  height: min(738px, calc(100vh - 90px));
  display: flex;
  flex-direction: column;
}

.slide .conclusion {
  margin-top: auto;
}

.slide .sources {
  flex-shrink: 0;
}

.slide-number {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.slide-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.slide-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.slide-subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.bullets li {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--white);
  padding: 14px 0 14px 30px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.bullets li:last-child {
  border-bottom: none;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

.bullets li strong {
  color: var(--gold);
  font-weight: 600;
}

.bullets-loop {
  position: relative;
}

.bullets-loop li:not(.loop-back)::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -6px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.5;
}

.bullets-loop li:nth-last-child(2)::after {
  display: none;
}

.bullets-loop li.loop-back {
  padding-left: 32px;
  padding-top: 8px;
  border-bottom: none;
  color: var(--gray-mid);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 14px;
}

.bullets-loop li.loop-back::before {
  display: none;
}

.loop-label {
  font-style: italic;
  color: var(--gold);
  opacity: 0.7;
}

.chat-loop {
  position: relative;
  margin: 0 0 28px 0;
  padding: 0 8px;
  padding-bottom: 52px;
}

.chat-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
  max-width: 78%;
}

.chat-row.left {
  margin-right: auto;
  align-items: flex-start;
}

.chat-row.right {
  margin-left: auto;
  align-items: flex-end;
}

.chat-tag {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-dark);
  white-space: nowrap;
  padding: 0 4px;
}

.chat-bubble {
  background: var(--black-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--white);
  line-height: 1.45;
  width: 100%;
}

.chat-row.left .chat-bubble {
  border-bottom-left-radius: 4px;
}

.chat-row.right .chat-bubble {
  border-bottom-right-radius: 4px;
}

.chat-bubble strong {
  color: var(--gold);
  font-weight: 600;
}

.chat-loop .return-arrow {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 56px;
  pointer-events: none;
}

.conclusion {
  border-top: 2px solid var(--gold);
  padding-top: 22px;
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.01em;
}

.conclusion::before {
  content: "→ ";
  color: var(--gold);
  font-weight: 800;
}

/* Table styles for S2 */
.comparison {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px 0;
}

.comparison thead th {
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  border-bottom: 1px solid var(--border);
}

.comparison thead th.intouch {
  color: var(--gold);
  background: rgba(212, 165, 116, 0.04);
}

.comparison tbody td {
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison tbody tr:last-child td {
  border-bottom: none;
}

.comparison .label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-mid);
  letter-spacing: 0.02em;
  width: 26%;
}

.comparison .volume {
  color: var(--gray);
  width: 37%;
}

.comparison .intouch {
  color: var(--white);
  font-weight: 500;
  background: rgba(212, 165, 116, 0.04);
  width: 37%;
}

.comparison .intouch strong {
  color: var(--gold);
  font-weight: 600;
}

/* S4: highlight values */
.stat {
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-display);
}

/* Title slide */
.slide-hero {
  padding: 64px 56px;
  text-align: center;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 16px;
  height: min(738px, calc(100vh - 90px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.slide-hero .wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.slide-hero .wordmark-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.slide-hero .gold-rule {
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin: 18px auto 32px;
}

.slide-hero .raise-kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 40px;
  padding-top: 40px;
  position: relative;
}

.slide-hero .raise-kicker::before {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 24px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.slide-hero .tagline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.slide-hero .tagline .gold {
  color: var(--gold);
}

.slide-hero .subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 21px;
  color: var(--gray);
  line-height: 1.45;
  max-width: 700px;
  margin: 0 auto;
}

/* Section divider in S4 */
.plan-milestone {
  background: rgba(212, 165, 116, 0.06);
  border-left: 2px solid var(--gold);
  padding: 18px 24px;
  margin: 10px 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  display: flex;
  gap: 32px;
  align-items: flex-end;
}

.plan-milestone-left {
  flex: 1 1 auto;
}

.plan-milestone-notes {
  flex: 0 0 400px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-milestone-notes .plan-note {
  padding-left: 0;
  margin-top: 0;
}

.plan-milestone .stat {
  font-size: 20px;
}

.plan-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.plan-row {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--white);
  line-height: 1.45;
  white-space: nowrap;
}

.plan-row + .plan-row {
  margin-top: 4px;
}

.plan-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-mid);
  font-style: italic;
  line-height: 1.4;
  margin-top: 4px;
  padding-left: 92px;
}

.plan-row + .plan-note {
  margin-top: 6px;
}

.plan-key {
  display: inline-block;
  min-width: 128px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-right: 8px;
}

.plan-source {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-dark);
  letter-spacing: 0.02em;
}

.sources {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 165, 116, 0.1);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-dark);
  letter-spacing: 0.04em;
  text-align: right;
  line-height: 1.5;
}

.spiral {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0 0 40px 0;
}

.spiral-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.spiral-stat {
  position: absolute;
  width: 220px;
  background: var(--black-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.stat-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.stat-content {
  flex: 1;
  min-width: 0;
}

.node-stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}

.node-detail {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

.roadmap {
  margin: 0 0 24px 0;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.roadmap-column {
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--black-soft);
  border: 1px solid var(--border);
}

.roadmap-column.active-column {
  border: 1px solid var(--gold);
  background: rgba(212, 165, 116, 0.04);
}

.roadmap-column.future-column {
  background: var(--black-soft);
  border: 1px dashed rgba(212, 165, 116, 0.4);
}

.column-header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.sub-label {
  font-weight: 400;
  color: var(--gray-mid);
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-left: 8px;
  text-transform: none;
}

.column-item {
  margin-bottom: 14px;
}

.column-item:last-child {
  margin-bottom: 0;
}

.roadmap-rail {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

.rail-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.rail-cell::before {
  content: "";
  position: absolute;
  top: 9px;
  height: 1.5px;
  background: var(--gold);
}

.rail-cell-past::before {
  left: 50%;
  right: -8px;
  opacity: 0.9;
}

.rail-cell-now::before {
  left: -8px;
  right: 50%;
  opacity: 0.9;
}

.rail-cell-now::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  right: -8px;
  height: 0;
  border-top: 1.5px dashed var(--gold);
  opacity: 0.6;
}

.rail-cell-future::before {
  left: -8px;
  right: 50%;
  height: 0;
  border-top: 1.5px dashed var(--gold);
  background: transparent;
  opacity: 0.6;
}

.rail-dot {
  position: absolute;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  z-index: 2;
  box-sizing: content-box;
}

.rail-dot.dot-now {
  width: 14px;
  height: 14px;
  top: 3px;
  box-shadow: 0 0 0 5px rgba(212, 165, 116, 0.2);
}

.rail-dot.dot-future {
  background: var(--black-mid);
  border: 1.5px solid var(--gold);
  width: 9px;
  height: 9px;
  top: 5px;
}

.rail-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dark);
  text-align: center;
  margin-top: 6px;
}

.rail-label-now {
  color: var(--gold);
  font-weight: 700;
}

.rail-mark {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  font-weight: 400;
  text-transform: none;
  margin-top: 2px;
}

.item-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 4px;
}

.item-detail {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.founder-card {
  background: var(--black-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 22px;
}

.founder-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 2px;
}

.founder-role {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.founder-bullet {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  line-height: 1.4;
  padding-left: 14px;
  position: relative;
}

.founder-bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.journey-timeline {
  position: relative;
  padding: 0;
  margin: 12px 0 16px;
}

.timeline-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.timeline-slot {
  text-align: center;
  padding: 0 8px;
}

.timeline-above {
  align-items: end;
  min-height: 72px;
}

.timeline-above .timeline-slot {
  padding-bottom: 18px;
  align-self: end;
}

.timeline-below {
  align-items: start;
  min-height: 72px;
}

.timeline-below .timeline-slot {
  padding-top: 18px;
  align-self: start;
}

.timeline-axis {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 22px;
  align-items: center;
}

.axis-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.axis-line-past,
.axis-line-future {
  position: absolute;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

.axis-line-past {
  left: 10%;
  width: 60%;
  background: var(--gold);
  opacity: 0.6;
}

.axis-line-future {
  left: 70%;
  width: 20%;
  background-image: linear-gradient(to right, var(--gold) 50%, transparent 50%);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  opacity: 0.6;
}

.stop-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--black-mid);
  box-sizing: content-box;
}

.stop-dot.dot-now {
  width: 16px;
  height: 16px;
  box-shadow: 0 0 0 5px rgba(212, 165, 116, 0.2);
}

.stop-dot.dot-future {
  background: var(--black-mid);
  border: 1.5px solid var(--gold);
}

.stop-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 6px;
}

.stop-label-now {
  color: var(--gold);
  font-weight: 700;
}

.stop-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray);
  line-height: 1.4;
}

.stop-text-now {
  color: var(--white);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 15px;
}

.future-slot .stop-text {
  color: var(--gray-mid);
  font-style: italic;
}

.future-slot .stop-label {
  color: var(--gray-mid);
}

.stop-stat {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  line-height: 1.3;
  margin-top: 6px;
}

.future-slot .stop-stat {
  color: var(--gray);
  font-style: normal;
}

.stop-stat:first-child {
  margin-top: 0;
}

.stop-fine {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-mid);
  line-height: 1.35;
  margin-top: 2px;
  font-style: italic;
  font-weight: 400;
}

.future-slot .stop-fine {
  color: var(--gray-dark);
}

/* Hover-reveal tab navigation */
.deck-tabs-trigger {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  z-index: 199;
}

.deck-tabs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 16px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 200;
}

.deck-tabs-trigger:hover + .deck-tabs,
.deck-tabs:hover {
  opacity: 1;
  pointer-events: auto;
}

.deck-tab {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.deck-tab:hover {
  color: var(--white);
}

.deck-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.archive-links {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gray-dark);
  text-align: center;
}

.archive-links a {
  color: var(--gray-mid);
  text-decoration: none;
  margin: 0 6px;
  transition: color 0.15s ease;
}

.archive-links a:hover {
  color: var(--gold);
}

.archive-links span {
  color: var(--gray-dark);
  opacity: 0.5;
}

/* Version ribbon for comparison slides — sits out of the slide frame, same scale as back-link */
.version-ribbon {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.version-ribbon.existing {
  color: var(--gray-mid);
}

.version-ribbon.updated {
  color: var(--gold);
}

/* S5: team slide */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 8px;
}

.team-card {
  background: var(--black-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  margin-bottom: 16px;
  display: block;
  filter: grayscale(100%);
}

.team-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 2px;
}

.team-role {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.team-bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-bullet {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  line-height: 1.4;
  padding-left: 14px;
  position: relative;
}

.team-bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* Edge navigation arrows */
.nav-arrow {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 72px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  z-index: 100;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-arrow-left { left: 0; justify-content: flex-start; padding-left: 12px; }
.nav-arrow-right { right: 0; justify-content: flex-end; padding-right: 12px; }

.nav-arrow svg {
  width: 26px;
  height: 26px;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-arrow-left:hover {
  background: linear-gradient(to right, rgba(212, 165, 116, 0.08), transparent);
}

.nav-arrow-right:hover {
  background: linear-gradient(to left, rgba(212, 165, 116, 0.08), transparent);
}

.nav-arrow:hover svg { opacity: 0.75; }
.nav-arrow-left:hover svg { transform: translateX(-2px); }
.nav-arrow-right:hover svg { transform: translateX(2px); }

.nav-arrow-disabled { cursor: default; }
.nav-arrow-disabled:hover { background: transparent; }
.nav-arrow-disabled:hover svg { opacity: 0.15; transform: none; }

@media (max-width: 768px) {
  .nav-arrow { width: 44px; }
  .nav-arrow svg { width: 20px; height: 20px; }
}

/* Top bar sitting outside the slide frame, holds back-link + version ribbon */
.slide-topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.slide-topbar .back-link {
  margin-bottom: 0;
}

/* Back link on individual slide pages */
.back-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  text-decoration: none;
  margin-bottom: 14px;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--gold);
}

.back-link::before {
  content: "← ";
  color: var(--gold);
}

@media (max-width: 768px) {
  body { overflow: auto; display: block; }
  .deck {
    padding: 16px 12px;
    min-height: 0;
    display: block;
  }
  .slide { padding: 28px 20px 20px; height: auto; }
  .slide-title { font-size: 28px; }
  .slide-hero { padding: 40px 20px; height: auto; }
  .slide-hero .tagline { font-size: 32px; }
  .conclusion { font-size: 17px; }
  .bullets li { font-size: 15px; }
  .comparison .label, .comparison .volume, .comparison .intouch { width: auto; }
  .comparison tbody td { font-size: 15px; padding: 14px 12px; }

  .chat-row {
    max-width: 92%;
    gap: 4px;
  }
  .chat-tag {
    font-size: 9px;
  }
  .chat-bubble {
    font-size: 15px;
    padding: 12px 16px;
  }
  .chat-loop .return-arrow {
    width: 80px;
    height: 48px;
  }

  .spiral {
    height: 560px;
  }
  .spiral-stat {
    width: 46% !important;
    padding: 10px 12px;
  }
  .stat-num {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
  .spiral-stat .node-stat { font-size: 13px; }
  .spiral-stat .node-detail { font-size: 11px; line-height: 1.3; }

  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
  }
  .roadmap-grid::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 8px;
    width: 1.5px;
    background: var(--gold);
  }
  .roadmap-column {
    position: relative;
  }
  .roadmap-column::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 24px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--black-mid);
    box-sizing: content-box;
  }
  .roadmap-column.active-column::before {
    width: 14px;
    height: 14px;
    left: -25px;
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.2);
  }
  .roadmap-column.future-column::before {
    background: var(--black-mid);
    border: 1.5px solid var(--gold);
  }

  .roadmap-rail { display: none; }

  .founders {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-slot { padding: 0 8px; }
  .stop-text { font-size: 13px; }
  .stop-label { font-size: 11px; }
  .stop-stat { font-size: 13px; }
  .stop-fine { font-size: 11px; }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }


}

/* Copy-HTML button (agent-readable export) */
.copy-html-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--gray-mid);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  z-index: 5;
}

.copy-html-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212, 165, 116, 0.08);
}

.copy-html-btn svg {
  display: block;
}

.copy-html-btn-ok {
  color: var(--success);
  border-color: var(--success);
}

.copy-html-btn-err {
  color: var(--error);
  border-color: var(--error);
}

.copy-html-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--white);
  background: var(--black-soft);
  border: 1px solid var(--border);
  padding: 5px 9px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.copy-html-btn:hover .copy-html-tooltip,
.copy-html-btn:focus-visible .copy-html-tooltip,
.copy-html-btn-ok .copy-html-tooltip,
.copy-html-btn-err .copy-html-tooltip {
  opacity: 1;
}

