.topbar,
.deck-footer {
  position: absolute;
  z-index: 10;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(28px, 4vw, 76px);
}
.topbar {
  top: 0;
  height: 74px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.78), transparent);
}
.brand-lockup,
.top-status,
.top-actions,
.footer-side,
.footer-progress,
.footer-status,
.notes-tip,
.overview-header {
  display: flex;
  align-items: center;
}
.brand-lockup {
  gap: 12px;
}
.brand-mark {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.5);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(139, 92, 246, 0.24));
  color: var(--cyan);
  font: 700 10px/1 var(--font-mono);
  letter-spacing: -0.1em;
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.16);
}
.brand-mark::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(139, 92, 246, 0.7);
  border-radius: 50%;
  content: '';
}
.brand-label,
.top-status,
.footer-brand,
.footer-hint {
  color: var(--text-muted);
  font: 600 10px/1 var(--font-mono);
  letter-spacing: 0.13em;
}
.brand-label b,
.top-status b {
  color: var(--cyan);
  font-weight: 600;
}
.top-status {
  gap: 9px;
  direction: ltr;
}
.top-status-dot,
.status-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12), 0 0 16px rgba(34, 197, 94, 0.75);
}
.top-actions {
  gap: 8px;
  direction: ltr;
}
.icon-button,
.edge-control,
.close-notes,
.close-overview {
  display: grid;
  cursor: pointer;
  place-items: center;
  background: rgba(15, 23, 42, 0.55);
  transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out), color 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.icon-button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 9px;
  color: var(--text-muted);
}
.icon-button:hover,
.edge-control:hover,
.close-notes:hover,
.close-overview:hover {
  border-color: var(--line-strong);
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  transform: translateY(-2px);
}
.button-icon {
  position: relative;
  display: block;
  width: 13px;
  height: 13px;
}
.overview-icon {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  grid-template-rows: repeat(2, 5px);
  gap: 3px;
}
.overview-icon i {
  display: block;
  border: 1px solid currentColor;
  border-radius: 1px;
}
.notes-icon::before,
.notes-icon::after {
  position: absolute;
  left: 1px;
  width: 11px;
  height: 1px;
  background: currentColor;
  content: '';
}
.notes-icon::before {
  top: 4px;
  box-shadow: 0 4px currentColor;
}
.notes-icon::after {
  top: 12px;
  width: 7px;
}
.fullscreen-icon {
  border: 1px solid currentColor;
  border-radius: 2px;
}
.fullscreen-icon::after {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: var(--bg-1);
  content: '';
}
.slides {
  position: absolute;
  z-index: 2;
  inset: 74px 0 58px;
}
.slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  padding: clamp(30px, 4vw, 72px) clamp(44px, 7vw, 132px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 600ms var(--ease-out), visibility 0ms linear 600ms;
}
.slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0ms;
}
.slide.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}
.slide-inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}
.slide-content {
  width: 100%;
  max-width: 1250px;
  margin-inline: auto;
}
.slide-header {
  max-width: 880px;
  margin-bottom: clamp(20px, 2.4vw, 42px);
}
.slide-header.centered {
  margin-inline: auto;
  text-align: center;
}
.eyebrow,
.kicker,
.overline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: var(--cyan);
  font: 600 clamp(10px, 0.72vw, 14px)/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow::before,
.kicker::before,
.overline::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  content: '';
}
.slide-title {
  max-width: 1000px;
  color: var(--text);
  font-size: clamp(31px, 4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.18;
  text-wrap: balance;
}
.slide-title .accent,
.accent {
  color: var(--cyan);
}
.slide-title .violet,
.violet {
  color: #b49aff;
}
.lead {
  max-width: 790px;
  margin-top: 20px;
  color: var(--text-soft);
  font-size: clamp(15px, 1.45vw, 25px);
  font-weight: 500;
  line-height: 1.9;
  text-wrap: pretty;
}
.slide-header.centered .lead {
  margin-inline: auto;
}
.slide-body {
  color: var(--text-soft);
  font-size: clamp(14px, 1.15vw, 20px);
  line-height: 1.85;
}
.deck-footer {
  bottom: 0;
  height: 58px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: linear-gradient(to top, rgba(5, 8, 22, 0.86), transparent);
}
.footer-side {
  min-width: 25%;
  gap: 11px;
}
.footer-brand {
  justify-content: flex-end;
  direction: ltr;
}
.footer-meta {
  direction: ltr;
}
.footer-status {
  gap: 8px;
  color: var(--text-muted);
  font: 600 9px/1 var(--font-mono);
  letter-spacing: 0.12em;
}
.footer-divider {
  width: 1px;
  height: 14px;
  background: rgba(148, 163, 184, 0.2);
}
.footer-hint {
  font-size: 9px;
  letter-spacing: 0.04em;
}
.footer-progress {
  width: 42%;
  gap: 16px;
}
.progress-track {
  position: relative;
  display: block;
  flex: 1;
  height: 2px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(100, 116, 139, 0.24);
}
.progress-value {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4.16%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.8);
  transition: width 600ms var(--ease-out);
}
.slide-counter {
  min-width: 68px;
  color: var(--text-soft);
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
}
.edge-control {
  position: absolute;
  z-index: 12;
  top: 50%;
  width: 36px;
  height: 58px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 30px;
  line-height: 1;
  opacity: 0.72;
  transform: translateY(-50%);
}
.edge-control:hover {
  transform: translateY(calc(-50% - 2px));
}
.edge-control:disabled {
  cursor: not-allowed;
  opacity: 0.2;
  transform: translateY(-50%);
}
.edge-control-prev {
  right: 18px;
}
.edge-control-next {
  left: 18px;
}
.slide--center .slide-inner {
  justify-content: center;
  text-align: center;
}
.slide--center .slide-content {
  max-width: 1220px;
}
[data-animate] {
  will-change: transform, opacity;
}
.is-active [data-animate] {
  opacity: 0;
}
.is-active.is-animated [data-animate] {
  opacity: 1;
}
