body.page-demo-deck {
  background: #fafbfd;
}
body.page-demo-deck .site-footer { display: none; }
body.page-demo-deck .deck {
  padding-top: 64px;
}
body.admin-bar.page-demo-deck .deck { padding-top: 96px; }
@media screen and (max-width: 782px) {
  body.admin-bar.page-demo-deck .deck { padding-top: 110px; }
}

.deck {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fafbfd;
}
.deck-track {
  flex: 1;
  min-height: 0;
  position: relative;
}
.deck-slide {
  display: none;
  height: calc(100dvh - 64px - 64px);
  padding: 28px 5% 16px;
  gap: 36px;
  align-items: center;
}
.admin-bar .deck-slide { height: calc(100dvh - 96px - 64px); }
.deck-slide.is-active {
  display: grid;
}
.deck-slide-cover,
.deck-slide-cta,
.deck-slide-copy {
  grid-template-columns: 1fr;
}
.deck-slide-shot {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
}

.deck-hero,
.deck-copy {
  max-width: 640px;
}
.deck-slide-cover .deck-hero,
.deck-slide-cta .deck-hero {
  margin: 0 auto;
  text-align: center;
  max-width: 720px;
}
.deck-kicker {
  display: inline-flex;
  align-items: center;
  border-left: 2px solid #2563eb;
  padding-left: 12px;
  margin: 0 0 14px;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.deck-slide-cover .deck-kicker,
.deck-slide-cta .deck-kicker {
  border-left-color: rgba(255,255,255,0.7);
  color: rgba(255,255,255,0.8);
}
.deck-slide h1,
.deck-slide h2 {
  margin: 0 0 14px;
  color: #0f2548;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.deck-lead {
  margin: 0;
  color: #5a7090;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 52ch;
}
.deck-copy ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.deck-copy li {
  position: relative;
  padding-left: 18px;
  color: #0f1f35;
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 600;
}
.deck-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
}

.deck-slide-cover,
.deck-slide-cta {
  background: #0f2548;
  margin: 0;
  padding: 40px 5%;
  width: 100%;
}
.deck-slide-cover h1,
.deck-slide-cta h1,
.deck-slide-cover .deck-lead,
.deck-slide-cta .deck-lead {
  color: #fff;
}
.deck-slide-cover .deck-lead,
.deck-slide-cta .deck-lead {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.72);
}

.deck-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.deck-btn-primary,
.deck-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 9px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.deck-btn-primary {
  background: #2563eb;
  color: #fff;
}
.deck-btn-primary:hover { transform: translateY(-2px); background: #1d4ed8; }
.deck-btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
}
.deck-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.deck-btn-primary:focus-visible,
.deck-btn-ghost:focus-visible,
.deck-nav-btn:focus-visible,
.deck-dot:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.deck-figure {
  margin: 0;
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 12px 36px rgba(15,37,72,0.1);
  overflow: hidden;
}
.deck-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.deck-bar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 5%;
  border-top: 1px solid #e2e8f4;
  background: #fff;
}
.deck-count {
  margin: 0;
  min-width: 52px;
  text-align: center;
  color: #5a7090;
  font-size: 0.82rem;
  font-weight: 700;
}
.deck-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.deck-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d5deee;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.deck-dot.is-active { background: #2563eb; transform: scale(1.2); }
.deck-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid #e2e8f4;
  background: #fff;
  color: #0f2548;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.deck-nav-btn svg { width: 18px; height: 18px; }
.deck-nav-btn:hover { background: #eff4ff; border-color: #2563eb; color: #2563eb; }
.deck-nav-btn:disabled { opacity: 0.35; cursor: default; }

@media (max-width: 980px) {
  .deck-slide-shot {
    grid-template-columns: 1fr;
    overflow: auto;
    align-content: start;
  }
  .deck-slide { height: calc(100dvh - 64px - 64px); padding-top: 20px; }
  .deck-hero, .deck-copy { max-width: none; }
  .deck-slide h1, .deck-slide h2 { font-size: 1.55rem; }
  .deck-lead { font-size: 0.95rem; }
}
@media (max-width: 640px) {
  .deck-dots { display: none; }
  .deck-bar { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .deck-btn-primary, .deck-dot, .deck-nav-btn { transition: none; }
}
