.peitho-slide {
  width: 1280px;
  height: 720px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 64px 88px;
  background: #fcfcfd;
  color: #1e1b2e;
  font-family: "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
}

.tour h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tour h1 .slot-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 20px;
  background: #4f46e5;
  border-radius: 2px;
}

/* --- cover --- */

.tour-cover {
  justify-content: center;
}

.tour-cover .tour-inner::before {
  content: "PEITHO";
  display: block;
  margin-bottom: 24px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #4f46e5;
}

.tour-cover h1 {
  font-size: 72px;
  max-width: 20ch;
}

/* --- shared body --- */

.tour-body {
  margin-top: 36px;
}

.slot-body {
  font-size: 26px;
  line-height: 1.7;
  color: #3f3b54;
}

.slot-body p {
  margin: 0 0 20px;
  max-width: 42ch;
}

.slot-body a {
  color: #4f46e5;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.slot-body strong {
  color: #1e1b2e;
}

.slot-body ul {
  margin: 0;
  padding-left: 1.1em;
}

.slot-body li {
  margin-bottom: 10px;
}

.slot-body li::marker {
  color: #4f46e5;
}

.slot-body ul ul {
  margin-top: 10px;
  font-size: 22px;
  color: #6b6685;
}

/* --- agenda --- */

.tour-checklist {
  margin-top: 40px;
}

.tour-agenda .slot-body {
  font-size: 28px;
}

.tour-agenda .slot-body ul {
  list-style: none;
  padding-left: 0;
}

.tour-agenda .slot-body li {
  margin-bottom: 18px;
  padding-left: 44px;
  position: relative;
}

.tour-agenda .slot-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- code-demo --- */

.tour-code-demo .slot-body p {
  max-width: 52ch;
}

.tour-code {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.slot-code {
  display: block;
  margin: 0;
  padding: 22px 26px;
  background: #17142a;
  border-radius: 12px;
  overflow: hidden;
}

.slot-code code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 19px;
  line-height: 1.55;
  color: #e2e0f0;
}

.slot-code .hl-comment {
  color: #7d7a99;
}

.slot-code .hl-string {
  color: #86efac;
}

.slot-code .hl-keyword,
.slot-code .hl-storage {
  color: #a5b4fc;
}

.slot-code .hl-constant {
  color: #fbbf24;
}

.slot-code .hl-function {
  color: #93c5fd;
}

.slot-code .hl-type,
.slot-code .hl-entity {
  color: #5eead4;
}

/* Keyed overrides: each selector is validated against the slots of that
   slide's layout, and the key itself must exist in the deck. */

/* The closing cover gets the accent treatment instead of the wordmark. */
[data-slide-key="closing"] .slot-title {
  color: #4f46e5;
}

/* The checks slide is the contract showcase — tighten its list rhythm. */
[data-slide-key="checks"] .slot-body li {
  margin-bottom: 14px;
}