.templates-embed {
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
  border-top: 1px solid rgba(107, 45, 60, 0.15);
}

.demo-banner {
  margin: 0 0 1.25rem;
  padding: 0.65rem 1rem;
  background: rgba(143, 61, 82, 0.08);
  border: 1px solid rgba(107, 45, 60, 0.2);
  border-radius: 0.5rem;
  color: var(--rose-deep);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  text-align: center;
}

.page-intro .eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
}

.page-intro h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: 0.02em;
}

.page-intro .lede {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.walk-stage {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.browser-col {
  margin: 0;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.browser-frame {
  width: 100%;
  background: #2a2226;
  border-radius: 12px 12px 0 0;
  padding: 0.65rem 0.85rem 0;
  box-shadow: 0 24px 48px rgba(28, 20, 24, 0.18);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.browser-chrome span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.browser-chrome span:nth-child(1) { background: #e06c75; }
.browser-chrome span:nth-child(2) { background: #e5c07b; }
.browser-chrome span:nth-child(3) { background: #98c379; }

.browser-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #faf6f2;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.screen-pane {
  display: none;
  position: absolute;
  inset: 0;
}

.screen-pane.active {
  display: block;
  animation: pane-in 0.28s ease;
}

.screen-pane img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@keyframes pane-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.walk-nav {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 720px;
}

.walk-nav button {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(107, 45, 60, 0.25);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.walk-nav button:hover {
  border-color: var(--rose);
}

.flow-controls {
  margin-top: 2.5rem;
}

.step-list {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 720px) {
  .step-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .step-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-btn {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(107, 45, 60, 0.18);
  border-radius: 12px;
  background: var(--panel);
  font-family: var(--font-ui);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  color: inherit;
}

.step-btn:hover {
  border-color: rgba(143, 61, 82, 0.45);
}

.step-btn.active {
  border-color: var(--rose);
  background: rgba(143, 61, 82, 0.08);
  box-shadow: 0 0 0 1px rgba(143, 61, 82, 0.2);
}

.step-btn .sn {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--rose-deep);
  font-size: 0.7rem;
  font-weight: 700;
}

.step-btn.active .sn {
  background: var(--rose);
  color: #fff;
}

.step-btn .st {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.step-btn .sd {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

.note-box {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(107, 45, 60, 0.15);
  background: rgba(255, 252, 249, 0.6);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
