.project-snapside,
.slide.sp {
  --sp-theme-bg: #111110;
  --sp-theme-panel: #1b1b19;
  --sp-theme-raised: #282825;
  --sp-theme-ink: #f4f4f2;
  --sp-theme-muted: #b4b4ae;
  --sp-theme-line: #3c3c37;
  --sp-theme-accent: #ffad72;
}

.sp-usage-grid, .sp-activation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sp-activation-grid {grid-template-columns: repeat(2, minmax(0, 1fr))}
:is(.sp-usage-grid, .sp-activation-grid) article {
  padding: 24px;
  border: 1px solid var(--sp-theme-line);
  border-radius: 12px;
  background: var(--sp-theme-panel);
  color: var(--sp-theme-ink);
}
:is(.sp-usage-grid, .sp-activation-grid) h3 {margin: 0 0 8px; font-size: 23px}
:is(.sp-usage-grid, .sp-activation-grid) p {margin: 6px 0; line-height: 1.6; font-size: 18px}
:is(.project-snapside, .slide.sp) p.sp-data-scope {font-size: 14px; color: var(--sp-theme-muted); line-height: 1.55}
.sp-channels, .sp-action-list {margin: 24px 0 0; padding: 0}
.sp-channels li, .sp-action-list > div {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.sp-channels li {padding: 4px 0 7px; margin: 4px 0; border-bottom: 1px solid var(--sp-theme-line)}
.sp-channels i {position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--sp-theme-muted)}
.sp-channels li:nth-child(2) i {background: var(--sp-theme-accent)}
.sp-action-list > div {padding: 12px 0; border-bottom: 1px solid var(--sp-theme-line)}
.sp-action-list dd {margin: 0; font-size: 23px}
.sp-action-list small {font-size: 14px; color: var(--sp-theme-muted)}
.sp-signup-value, .sp-activation-value {display: block; margin: 20px 0 8px; font-size: 54px; font-weight: 550; line-height: 1.1; color: var(--sp-theme-accent)}
.sp-activation-grid .sp-data-scope {margin-top: 20px}
.sp-activation-note {margin-top: 16px}
.sp-next-priorities {margin-top: 24px}
.sp-next-priorities h3 {margin: 0 0 8px; font-size: 18px; font-weight: 600}
.sp-next-priorities ul {margin: 0; padding-inline-start: 1.25em; line-height: 1.65}

.sp-background {
  background: var(--sp-theme-panel);
  color: var(--sp-theme-ink);
}

.sp-background .sp-background-kicker {
  margin: 0 0 14px;
  color: var(--sp-theme-muted);
  font-size: 13px;
  font-weight: 500;
}

.sp-background-flow {
  --step-gap: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  justify-content: center;
  gap: 36px var(--step-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-background-flow li {position: relative; min-width: 0}
.sp-background-flow li + li::before {
  content: "›";
  position: absolute;
  top: 2px;
  left: calc(var(--step-gap) / -2);
  transform: translateX(-50%);
  color: var(--sp-theme-accent);
  font-size: 24px;
  line-height: 1;
}

.sp-background-flow strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sp-theme-ink);
  font-size: 21px;
  font-weight: 600;
}

.sp-background-flow span {color: var(--sp-theme-muted); font-size: 16px}
.sp-background-shots {
  --sp-shot-height: 420px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: center;
  align-items: start;
  gap: 28px;
  margin-top: 36px;
}
.sp-background-shots figure {min-width: 0; margin: 0; display: block; text-align: center}
.sp-background-shots figcaption {margin-bottom: 8px; color: var(--sp-theme-muted); text-align: center; font-size: 14px}
.sp-background-shots img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--sp-shot-height);
  margin-inline: auto;
  outline: 1px solid var(--sp-theme-line);
  border-radius: 4px;
}

body.project-snapside .sp-section.sp-background {padding-block: 64px}
body.project-snapside #sp-plan .sp-section-head {margin-bottom: 32px; padding: 0; border: 0}
body.project-snapside .sp-background .sp-section-head h2 {color: var(--sp-theme-ink)}
body.project-snapside .sp-background .sp-section-head p {color: var(--sp-theme-muted)}

.slide.sp.sp-background {background: var(--sp-theme-panel)}

.slide.sp .tool img:is([src$="notion.svg"], [src$="github.svg"], [src$="vercel.svg"]) {
  filter: invert(1);
}

.slide .sp-background-shots {--sp-shot-height: 300px; margin-top: 22px}

@media (max-width: 760px) {
  body.project-snapside .sp-section.sp-background {padding-block: 42px}
  .project-snapside .sp-background-flow,
  .project-snapside .sp-background-shots {grid-template-columns: 1fr}
  .project-snapside .sp-background-flow li + li::before {left: 0; top: -25px; transform: rotate(90deg)}
}
