:root {
  /* White shell + Discord blurple (brand #5865F2) */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f6f7fb;
  --text: #1e1f22;
  --text-muted: #5c5e66;
  --border: #e3e5e8;
  --border-strong: #d1d5db;
  --accent: #5865f2;
  --accent-hover: #4752c4;
  --accent-mid: #6d76e8;
  --accent-light: #949cf7;
  --accent-rgb: 88 101 242;
  --accent-soft: rgb(var(--accent-rgb) / 12%);
  --accent-glow: rgb(var(--accent-rgb) / 20%);
  --shadow: none;
  --shadow-md: 0 1px 2px rgb(0 0 0 / 5%);
  --shadow-hover: 0 2px 12px rgb(0 0 0 / 7%);
  --header-shadow: none;
  --radius: 10px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --content-max: 1080px;
  /* Shared aliases (wizard, thank-you, checkout) */
  --color-text: var(--text);
  --color-text-muted: var(--text-muted);
  --color-accent: var(--accent);
  /* Discord-style mock UI only (sidebar preview + demo) */
  --font-demo: var(--font-demo);
  --gradient-surface-soft: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface) 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 0.75rem;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: relative;
  z-index: 260;
}

.site-header-shell {
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--header-shadow);
}

.site-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.35rem 1.75rem 1.15rem;
  box-sizing: border-box;
}

.site-header--wizard .site-header-inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
}

.site-header-progress-inline {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
}

.site-header--wizard .site-header-progress-inline .wizard-progress {
  width: 100%;
  max-width: min(28rem, 100%);
  gap: 0.35rem;
}

.site-header--wizard .site-header-progress-inline .progress-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.site-header--wizard .site-header-progress-inline .progress-track {
  height: 7px;
}

.site-header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-header--thank-you .site-header-inner {
  padding-bottom: 1.35rem;
}

.site-header--thank-you .site-header-top {
  min-height: 2.75rem;
}

@keyframes headerDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0.35rem 0.5rem 0.35rem 0;
  margin: -0.35rem 0 -0.35rem -0.15rem;
  text-align: left;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.logo-btn:hover {
  color: var(--accent);
}

.logo-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--text);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.logo-wordmark {
  line-height: 1.2;
}

.logo-link {
  padding: 0.25rem 0.35rem 0.25rem 0;
  margin: -0.25rem 0;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease);
}

.logo-link:hover {
  color: var(--accent);
}

.logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.link-quiet {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.link-quiet:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.55rem 0.6rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  box-sizing: border-box;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-toggle:hover {
  background: var(--surface-muted);
  border-color: var(--border-strong);
  box-shadow: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-link {
  background: transparent;
  color: var(--accent);
  padding: 0.65rem 1rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  box-shadow: none;
}

.btn-link:hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
  transform: none;
}

.btn-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Hero */
.hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.25rem 1.75rem 4.5rem;
  text-align: center;
}

.hero-welcome-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.badge-icon {
  font-size: 0.75rem;
}

.hero-title {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
}

.text-accent {
  color: var(--accent);
  font-weight: 500;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 1rem;
  line-height: 1.55;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Welcome: rotating value line + star; viewport height animates smoothly */
.hero-value-rotator {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: min(22rem, 100%);
  margin: 0 auto 1.25rem;
  padding: 0.55rem 0.85rem;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  box-shadow: none;
}

.hero-value-rotator-star {
  flex-shrink: 0;
  margin-top: 0.06em;
  font-size: 0.75rem;
  color: var(--accent);
  line-height: 1.35;
}

.hero-value-rotator-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  transition: height 0.52s cubic-bezier(0.32, 0.72, 0.28, 1);
}

.hero-value-rotator:not(.hero-value-rotator--ready) .hero-value-rotator-viewport,
.hero-value-rotator:not(.hero-value-rotator--ready) .hero-value-rotator-track {
  transition: none !important;
}

.hero-value-rotator-track {
  transition: transform 0.52s cubic-bezier(0.32, 0.72, 0.28, 1);
  transform: translate3d(0, 0, 0);
}

.hero-value-rotator-track--static .hero-value-rotator-static-row strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-value-rotator-slide {
  margin: 0;
  padding: 0;
}

.hero-value-rotator-slide strong {
  color: var(--accent);
  font-weight: 700;
}

.hero-value-rotator-track--static {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: none !important;
}

.hero-value-rotator-static-row {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero-value-rotator-viewport,
  .hero-value-rotator-track {
    transition: none !important;
  }
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  margin-top: 0.25rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-icon {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.stat strong {
  font-size: 1.35rem;
  color: var(--text);
  font-weight: 700;
}

/* Fade-in */
.fade-in {
  animation: fadeUp 0.8s var(--ease) both;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.35s;
}
.delay-4 {
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 4rem 1.75rem;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}

.section-title {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  text-align: center;
}

.section-lead {
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

/* Card hover utility */
.card-hover {
  transition: border-color 0.2s ease, background 0.2s ease;
}

.card-hover:hover {
  transform: none;
  box-shadow: none;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: none;
}

.step-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Channel style cards */
.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.style-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: none;
}

button.style-card.pattern-select {
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.pattern-select.is-selected {
  border-color: var(--accent);
  box-shadow: none;
}

.pattern-select--locked {
  opacity: 0.42;
  filter: grayscale(0.85);
  border-color: var(--border);
}

.pattern-select--locked .style-label::after {
  content: " · Advanced only";
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.pattern-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pattern-pick-hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pattern-pick-hint span {
  color: var(--text);
  font-weight: 600;
}

.sidebar-mock-pattern .disc-category + .disc-category {
  margin-top: 0.65rem;
}

.sidebar-mock-pattern .pattern-mock-channel-list {
  padding: 0.2rem 0.15rem 0.35rem;
}

/* Pattern cards: vertical channel list (Discord sidebar — one row per channel) */
.sidebar-mock-pattern .pattern-mock-channel-list--rows {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding: 0.12rem 0.06rem 0.28rem;
}

.sidebar-mock-pattern .pattern-mock-channel-list--rows.disc-channel-list {
  gap: 0.38rem;
}

.sidebar-mock-pattern .pattern-mock-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: stretch;
}

#step-styles .sidebar-mock-pattern .pattern-mock-pill {
  padding: 0.3rem 0.22rem;
  min-height: 1.85rem;
  justify-content: center;
  background: rgb(43 45 49 / 0.9);
  border: 1px solid rgb(30 31 34 / 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035);
}

#step-styles .sidebar-mock-pattern .pattern-mock-pill .disc-ch-text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.65rem;
  line-height: 1.2;
}

#step-styles .sidebar-mock-pattern .pattern-mock-channel-list.mono .pattern-mock-pill .disc-ch-text {
  font-size: 0.58rem;
}

#step-styles .sidebar-mock-pattern .pattern-mock-channel-list--rows.disc-channel-list--discord-regular .pattern-mock-pill .disc-ch-text {
  font-size: 0.7rem;
}

#step-styles .sidebar-mock-pattern .pattern-mock-pill:hover {
  background: rgb(49 51 56 / 0.96);
  border-color: rgb(79 84 92 / 0.5);
}

#step-styles .sidebar-mock-pattern .pattern-mock-pill .disc-hash,
#step-styles .sidebar-mock-pattern .pattern-mock-pill .disc-voice-icon {
  flex-shrink: 0;
  width: auto;
  min-width: 0.65rem;
}

#step-styles .sidebar-mock-pattern .pattern-mock-channel-list--rows .pattern-custom-ch-input {
  font-size: 0.62rem;
  padding: 0.12rem 0.2rem;
  text-align: left;
}

#step-styles .sidebar-mock-pattern .pattern-mock-channel-list--rows.disc-channel-list--discord-regular .pattern-custom-ch-input {
  font-size: 0.68rem;
}

.sidebar-mock-pattern .pattern-mock-channel-list--rows.disc-channel-list--discord-regular .disc-ch-row.pattern-mock-pill,
.sidebar-mock-pattern .pattern-mock-channel-list--rows.mono .disc-ch-row.pattern-mock-pill {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

/* Flourish wrap: Mathematical Sans-Serif Bold Italic (Unicode); math-capable fonts */
#step-styles .pattern-mock-channel-list--flourish {
  font-family: "STIX Two Math", "Cambria Math", "Noto Sans Math", "Segoe UI Symbol", "Apple Symbols", ui-serif, serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

#step-styles .pattern-mock-channel-list--flourish .pattern-mock-pill .disc-ch-text {
  font-weight: 400;
  letter-spacing: 0.04em;
}

.discord-demo[data-demo-pattern="flourish"] .discord-demo-ch-label {
  font-family: "STIX Two Math", "Cambria Math", "Noto Sans Math", "Segoe UI Symbol", "Apple Symbols", ui-serif, serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* Bar divider: emoji + ┊ + Mathematical Monospace */
#step-styles .pattern-mock-channel-list--bar-divider {
  font-family: "STIX Two Math", "Cambria Math", "Noto Sans Math", "Segoe UI Symbol", "Apple Symbols", ui-serif, serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

#step-styles .pattern-mock-channel-list--bar-divider .pattern-mock-pill .disc-ch-text {
  font-weight: 400;
  letter-spacing: 0.02em;
}

.discord-demo[data-demo-pattern="bar-divider"] .discord-demo-ch-label {
  font-family: "STIX Two Math", "Cambria Math", "Noto Sans Math", "Segoe UI Symbol", "Apple Symbols", ui-serif, serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.style-label {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pattern-card .style-label {
  margin-bottom: 0.5rem;
}

.pattern-card[data-pattern="regular-text"] .style-label {
  font-family: var(--font-demo);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--text);
}

.pattern-card--custom-soon {
  position: relative;
  text-align: left;
  cursor: pointer;
}

.pattern-card--custom-soon .style-label--custom-soon {
  opacity: 0.72;
}

.pattern-card--custom-soon .pattern-custom-soon-mock {
  opacity: 1;
}

.pattern-card--custom-soon .pattern-custom-ch-input {
  cursor: text;
}

.pattern-soon-badge {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}

.pattern-card--custom-soon.is-selected {
  border-color: var(--accent);
  box-shadow: none;
}

.sidebar-mock-pattern {
  margin-top: 0;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4e5058 #2b2d31;
}

.sidebar-mock-pattern::-webkit-scrollbar {
  width: 6px;
}

.sidebar-mock-pattern::-webkit-scrollbar-thumb {
  background: #4e5058;
  border-radius: 3px;
}

.sidebar-mock-pattern > .disc-category:first-child,
.sidebar-mock-pattern > .pattern-mock-channel-list:first-child {
  margin-top: 0;
}

.pattern-custom-ch-row {
  min-width: 0;
}

.pattern-custom-ch-input {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0.12rem 0.35rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #949ba4;
  background: rgb(30 31 34 / 90%);
  border: 1px solid rgb(79 84 92 / 75%);
  border-radius: var(--radius-xs);
  outline: none;
  box-sizing: border-box;
}

.disc-channel-list--discord-regular .pattern-custom-ch-input {
  font-family: inherit;
}

.pattern-custom-ch-row:hover .pattern-custom-ch-input {
  color: #dbdee1;
  border-color: rgb(88 101 242 / 45%);
  background: rgb(35 36 40 / 95%);
}

.pattern-custom-ch-input:focus {
  color: #f2f3f5;
  border-color: rgb(88 101 242 / 85%);
  box-shadow: 0 0 0 1px rgb(88 101 242 / 30%);
}

.sidebar-mock-pattern .disc-category-head {
  padding-top: 0.25rem;
}

.sidebar-mock-pattern .pattern-mock-channel-list.disc-channel-list--discord-regular .disc-ch-row,
.sidebar-mock-pattern .pattern-mock-channel-list.mono .disc-ch-row {
  padding-top: 0.32rem;
  padding-bottom: 0.32rem;
}

.channel-preview {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  background: #1e1f22;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.45;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4e5058 #2b2d31;
}

.channel-preview::-webkit-scrollbar {
  width: 6px;
}

.channel-preview::-webkit-scrollbar-thumb {
  background: #4e5058;
  border-radius: 3px;
}

.channel-preview .ch {
  color: #949ba4;
  display: block;
}

.channel-preview .ch.muted {
  color: #6d7278;
  font-size: 0.9rem;
}

.mono {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
}

.fine-print {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.fine-print-tight {
  margin-top: 1rem;
  max-width: none;
}

/* Discord-style sidebar mocks (patterns + summary) */
.subblock-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
  text-align: left;
}

.sidebar-mock {
  background: #111214;
  border: 1px solid #2b2d31;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.5rem 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.disc-category {
  margin-top: 0.85rem;
}

.disc-category:first-child {
  margin-top: 0;
}

.disc-category-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #949ba4;
  user-select: none;
}

.disc-chevron {
  font-size: 0.55rem;
  color: #6d7278;
  transform: scaleY(0.85);
}

.disc-category-title {
  flex: 1;
  min-width: 0;
}

.disc-category-add {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 500;
  color: #6d7278;
  line-height: 1;
  padding: 0.1rem 0.25rem;
  border-radius: 3px;
}

.disc-lock-hint {
  font-size: 0.75rem;
  opacity: 0.85;
}

.disc-category-locked .disc-category-head {
  color: #b5bac1;
}

.disc-channel-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 0.15rem;
}

/* Regular text pattern: Discord-style gg sans–like UI font (not monospace) */
.disc-channel-list--discord-regular {
  font-family: var(--font-demo);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.disc-channel-list--discord-regular .disc-ch-text {
  font-family: inherit;
  color: #949ba4;
}

.disc-channel-list--discord-regular .disc-ch-row {
  font-size: 0.95rem;
}

.disc-ch-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.55rem;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  line-height: 1.45;
  color: #949ba4;
  transition: background 0.15s ease, color 0.15s ease;
}

.disc-ch-row:hover {
  background: #2b2d31;
  color: #dbdee1;
}

.disc-hash {
  color: #6d7278;
  font-weight: 600;
  width: 1rem;
  flex-shrink: 0;
  text-align: center;
}

.disc-voice-icon {
  color: #6d7278;
  width: 1.25rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.85rem;
}

.disc-ch-row-voice .disc-hash {
  display: none;
}

.disc-lock {
  color: #6d7278;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.disc-ch-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.disc-ch-row-locked {
  opacity: 0.98;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: var(--accent);
  box-shadow: none;
  transform: none;
}

.price-card-featured.card-hover:hover {
  transform: none;
}

.price-card.is-picked {
  border-color: var(--accent);
  box-shadow: none;
}

/* Finish step: dynamic outcome + Discord previews */
.wizard-sub-tight {
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
  text-align: left;
  max-width: 640px;
}

.finish-step-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 1.25rem;
}

.finish-step-head .wizard-step-hint {
  text-align: center;
}

.finish-step-head .wizard-question {
  text-align: center;
}

.finish-step-head .wizard-sub-tight {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.summary-card-rich {
  text-align: left;
}

.summary-card-rich .outcome-title {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.summary-card-rich .outcome-lead {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.summary-card-rich .outcome-lead strong {
  color: var(--text);
}

.summary-disclaimer {
  background: var(--accent-soft);
  border: 1px solid rgb(88 101 242 / 0.22);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 1.25rem;
}

.summary-deliverable-reminder {
  margin: 0 0 1.35rem;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.summary-deliverable-reminder strong.reminder-kicker {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.outcome-h {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.outcome-picks,
.outcome-includes {
  margin-bottom: 1.25rem;
}

.outcome-ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.outcome-ul li {
  margin-bottom: 0.35rem;
}

.outcome-preview {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.summary-preview-combined {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.outcome-h--preview-bundle {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.summary-preview-bundle-lead {
  margin-bottom: 1rem;
}

.summary-custom-demo-hint {
  margin: -0.25rem 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 40rem;
}

/* Advanced tier: quick naming-style preview on summary */
.demo-pattern-switcher {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.65rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.demo-pattern-switcher-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.demo-pattern-switcher-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.demo-pattern-chip[data-demo-pattern-btn="custom"] {
  grid-column: 1 / -1;
}

@media (max-width: 480px) {
  .demo-pattern-switcher-chips {
    grid-template-columns: 1fr;
  }
}

.demo-pattern-chip {
  font: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  line-height: 1.25;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.demo-pattern-chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.demo-pattern-chip--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.demo-pattern-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.demo-pattern-chip--locked {
  opacity: 0.72;
  cursor: not-allowed;
  color: var(--text-muted);
}

.demo-pattern-chip--locked:hover {
  border-color: var(--border);
  color: var(--text-muted);
}

.demo-pattern-chip--locked:focus-visible {
  outline-color: var(--text-muted);
}

.demo-pattern-switcher-upsell {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.demo-pattern-switcher--basic {
  background: rgba(100, 116, 139, 0.08);
}

/* Summary: Discord-style interactive demo (scroll + hover) */
.discord-demo {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 100%;
  margin-top: 0.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #1f2023;
  background: #313338;
  font-size: 0.85rem;
  line-height: 1.35;
  color: #949ba4;
}

.discord-demo-rail {
  flex: 0 0 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.35rem;
  background: #1e1f22;
  pointer-events: none;
  max-height: min(55vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  justify-content: flex-start;
  scrollbar-width: thin;
  scrollbar-color: #4e5058 #1a1c1e;
}

.discord-demo-rail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #36393f;
  flex-shrink: 0;
}

.discord-demo-rail-icon--active {
  border-radius: 35%;
  background: #5865f2;
}

.discord-demo-rail-dm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #313338;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-demo-rail-dm::before {
  content: "💬";
  font-size: 1.05rem;
  line-height: 1;
}

.discord-demo-rail-item {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.discord-demo-rail-item--active .discord-demo-rail-pill {
  position: absolute;
  left: -0.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: #f2f3f5;
  z-index: 1;
}

.discord-demo-rail-icon--alt {
  background: linear-gradient(145deg, #5865f2, #3c45a5);
}

.discord-demo-rail-icon--alt2 {
  background: linear-gradient(145deg, #eb459e, #9b59b6);
}

.discord-demo-rail-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  min-width: 1rem;
  padding: 0.05rem 0.2rem;
  border-radius: 99px;
  background: #ed4245;
  color: #fff;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  border: 2px solid #1e1f22;
  box-sizing: border-box;
  pointer-events: none;
}

.discord-demo-sidebar {
  flex: 0 0 min(240px, 32vw);
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #2b2d31;
  border-right: 1px solid #1f2023;
}

.discord-demo-sidebar-top {
  flex-shrink: 0;
  padding: 0.5rem 0.65rem 0.35rem;
  pointer-events: none;
}

.discord-demo-server-name {
  font-weight: 700;
  font-size: 0.8rem;
  color: #f2f3f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.45rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.discord-demo-chev {
  font-size: 0.65rem;
  opacity: 0.8;
}

.discord-demo-nav-static {
  padding: 0.35rem 0.25rem 0.5rem;
  font-size: 0.72rem;
  color: #949ba4;
}

.discord-demo-nav-row {
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
}

.discord-demo-channel-scroll {
  flex: 1;
  min-height: 220px;
  max-height: min(55vh, 520px);
  overflow-y: scroll;
  scrollbar-gutter: stable;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 0.25rem 0.35rem 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #4e5058 #1a1c1e;
  pointer-events: auto;
}

.discord-demo-channel-scroll::-webkit-scrollbar {
  width: 8px;
}

.discord-demo-channel-scroll::-webkit-scrollbar-track {
  background: #1a1c1e;
  border-radius: 100px;
  margin: 4px 0;
}

.discord-demo-channel-scroll::-webkit-scrollbar-thumb {
  background: #4e5058;
  border-radius: 100px;
  border: 2px solid #1a1c1e;
  min-height: 40px;
}

.discord-demo-channel-scroll::-webkit-scrollbar-thumb:hover {
  background: #6d7278;
}

.discord-demo-channel-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.discord-demo-cat {
  margin-top: 0.85rem;
}

.discord-demo-nav-static + .discord-demo-cat {
  margin-top: 0;
}

.discord-demo-cat-head {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.45rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #949ba4;
  user-select: none;
  cursor: pointer;
  border-radius: 4px;
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.discord-demo-cat-head:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #dbdee1;
}

.discord-demo-cat-head:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.discord-demo-cat-chev {
  font-size: 0.55rem;
  color: #6d7278;
  display: inline-block;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.discord-demo-cat--collapsed .discord-demo-cat-chev {
  transform: rotate(-90deg);
}

.discord-demo-cat--collapsed .discord-demo-cat-channels {
  display: none;
}

.discord-demo-cat-title {
  flex: 1;
  min-width: 0;
}

.discord-demo-cat--locked .discord-demo-cat-head {
  color: #b5bac1;
}

.discord-demo-cat-channels {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.discord-demo-ch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.45rem;
  border-radius: 4px;
  cursor: default;
  transition: background 0.12s ease, color 0.12s ease;
}

.discord-demo-ch:hover,
.discord-demo-ch.is-active {
  background: #35373c;
  color: #dbdee1;
}

.discord-demo-ch-hash {
  width: 1rem;
  flex-shrink: 0;
  text-align: center;
  color: #6d7278;
  font-weight: 600;
  font-size: 0.8rem;
}

.discord-demo-ch-icon {
  width: 1.1rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.9;
}

.discord-demo-ch-label {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.78rem;
}

.discord-demo[data-demo-pattern="regular-text"] .discord-demo-ch-label {
  font-family: var(--font-demo);
  font-weight: 400;
  font-size: 0.9rem;
  color: #949ba4;
  letter-spacing: 0.01em;
}

.discord-demo[data-demo-pattern="regular-text"] .discord-demo-ch:hover .discord-demo-ch-label,
.discord-demo[data-demo-pattern="regular-text"] .discord-demo-ch.is-active .discord-demo-ch-label {
  color: #dbdee1;
}

.discord-demo-ch-custom-input {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.1rem 0.2rem;
  font: inherit;
  font-family: var(--font-demo);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.35;
  color: #949ba4;
  background: rgb(30 31 34 / 85%);
  border: 1px solid rgb(79 84 92 / 90%);
  border-radius: 4px;
  outline: none;
  box-sizing: border-box;
}

.discord-demo-ch:hover .discord-demo-ch-custom-input,
.discord-demo-ch.is-active .discord-demo-ch-custom-input {
  color: #dbdee1;
  border-color: rgb(88 101 242 / 55%);
  background: rgb(35 36 40 / 95%);
}

.discord-demo-ch-custom-input:focus {
  border-color: rgb(88 101 242 / 85%);
  box-shadow: 0 0 0 1px rgb(88 101 242 / 35%);
  color: #f2f3f5;
}

.discord-demo[data-demo-pattern="custom"] .discord-demo-ch-label {
  font-family: var(--font-demo);
  font-weight: 400;
  font-size: 0.9rem;
  color: #949ba4;
  letter-spacing: 0.01em;
}

.discord-demo[data-demo-pattern="custom"] .discord-demo-ch:hover .discord-demo-ch-label,
.discord-demo[data-demo-pattern="custom"] .discord-demo-ch.is-active .discord-demo-ch-label {
  color: #dbdee1;
}

.discord-demo[data-demo-pattern="custom"] .discord-demo-main-channel {
  font-family: var(--font-demo);
  font-weight: 500;
  font-size: 0.9rem;
  color: #dbdee1;
}

.discord-demo[data-demo-pattern="custom"] .discord-demo-welcome-title {
  font-family: var(--font-demo);
  font-weight: 600;
  font-size: 1rem;
  color: #f2f3f5;
}

.discord-demo[data-demo-pattern="custom"] .discord-demo-welcome-sub {
  font-family: var(--font-demo);
  font-weight: 400;
  color: #949ba4;
}

.discord-demo[data-demo-pattern="regular-text"] .discord-demo-main-channel {
  font-family: var(--font-demo);
  font-weight: 500;
  font-size: 0.9rem;
  color: #dbdee1;
}

.discord-demo[data-demo-pattern="regular-text"] .discord-demo-welcome-title {
  font-family: var(--font-demo);
  font-weight: 600;
  font-size: 1rem;
  color: #f2f3f5;
}

.discord-demo[data-demo-pattern="regular-text"] .discord-demo-welcome-sub {
  font-family: var(--font-demo);
  font-weight: 400;
  color: #949ba4;
}

.discord-demo-userbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.5rem;
  background: #232428;
  margin-top: auto;
  pointer-events: none;
}

.discord-demo-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.discord-demo-avatar-wrap--sm {
  width: 22px;
  height: 22px;
}

.discord-demo-user-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #36393f;
  flex-shrink: 0;
}

.discord-demo-user-av--img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #5865f2;
}

.discord-demo-user-av--sm {
  width: 22px;
  height: 22px;
}

.discord-demo-status {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #232428;
  box-sizing: border-box;
  pointer-events: none;
}

.discord-demo-avatar-wrap--sm .discord-demo-status {
  width: 10px;
  height: 10px;
  bottom: -1px;
  right: -1px;
  border-width: 1.5px;
}

/* Discord-style: solid green */
.discord-demo-status--online {
  background: #23a559;
}

/* Crescent moon: yellow disc minus offset dark circle (matches Discord idle) */
.discord-demo-status--idle {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23f0b232'/%3E%3Ccircle cx='15.2' cy='8.8' r='7.4' fill='%23232428'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.discord-demo-avatar-wrap--sm .discord-demo-status--idle {
  background-size: 100% 100%;
}

/* Red circle + white horizontal bar */
.discord-demo-status--dnd {
  background: #f23f43;
}

.discord-demo-status--dnd::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  height: 2px;
  max-height: 2px;
  background: #fff;
  border-radius: 1px;
}

.discord-demo-avatar-wrap--sm .discord-demo-status--dnd::after {
  width: 58%;
  height: 1.5px;
}

/* Offline: filled gray (Discord member list) */
.discord-demo-status--offline {
  background: #81838d;
}

/* Invisible: hollow ring (Discord status picker) */
.discord-demo-status--invisible {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #7f828a;
}

.discord-demo-avatar-wrap--sm .discord-demo-status--invisible {
  box-shadow: inset 0 0 0 1px #7f828a;
}

.discord-demo-status--streaming {
  background: #593695;
  border-radius: 50%;
}

.discord-demo-status--streaming::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #23a559;
  border: 1px solid #232428;
  box-sizing: border-box;
}

.discord-demo-user-meta {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f2f3f5;
}

.discord-demo-user-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: #949ba4;
}

.discord-demo-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #313338;
  pointer-events: none;
}

.discord-demo-main-body,
.discord-demo-inputbar {
  pointer-events: auto;
}

.discord-demo-main-toolbar {
  flex-shrink: 0;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid #26272b;
  font-weight: 600;
  font-size: 0.88rem;
  color: #f2f3f5;
}

.discord-demo-main-channel {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-demo-main-body {
  flex: 1;
  min-height: 0;
  padding: 1rem 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.discord-demo-welcome {
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.discord-demo-welcome--faded {
  opacity: 0.42;
}

.discord-demo-welcome-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f2f3f5;
}

.discord-demo-welcome-sub {
  margin: 0;
  font-size: 0.88rem;
  color: #949ba4;
}

.discord-demo-messages {
  flex: 1;
  min-height: 48px;
  margin-top: 0.65rem;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-right: 0.25rem;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  -ms-overflow-style: none;
}

.discord-demo-messages::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.discord-demo-msg {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.4rem;
}

.discord-demo-msg--bot {
  justify-content: flex-start;
  align-items: flex-start;
}

.discord-demo-msg--user {
  align-items: center;
}

.discord-demo-msg-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #5865f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.discord-demo-msg-avatar.discord-demo-msg-avatar--img {
  display: block;
  background: transparent;
  object-fit: cover;
}

.discord-demo-msg-bubble {
  max-width: 88%;
  padding: 0.45rem 0.7rem;
  background: #5865f2;
  color: #fff;
  font-size: 0.84rem;
  line-height: 1.4;
  word-break: break-word;
}

/* User (right): tail on bottom-right; TL, TR, BR, BL clockwise */
.discord-demo-msg--user .discord-demo-msg-bubble {
  border-radius: 12px 12px 4px 12px;
}

/* Bot (left): tail on top-left */
.discord-demo-msg-bubble--bot {
  background: #2b2d31;
  color: #dbdee1;
  border-radius: 4px 12px 12px 12px;
}

.discord-demo-inputbar {
  flex-shrink: 0;
  margin: 0.5rem 0.85rem 0.75rem;
  padding: 0;
  border-radius: 8px;
  background: #383a40;
  font-size: 0.82rem;
}

.discord-demo-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.6rem 0.75rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #dbdee1;
  font: inherit;
  font-size: 0.84rem;
}

.discord-demo-input::placeholder {
  color: #6d7278;
}

.discord-demo-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px #5865f2;
  border-radius: 8px;
}

/* Member list: height follows content (no dead flex gap); scroll when list is tall */
.discord-demo-members {
  flex: 0 0 210px;
  width: 210px;
  max-width: 210px;
  min-height: 0;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #2b2d31;
  border-left: 1px solid #1f2023;
  font-size: 0.75rem;
  pointer-events: none;
  overflow: hidden;
  max-height: min(55vh, 520px);
}

.discord-demo-members-scroll {
  flex: 0 1 auto;
  min-height: 0;
  max-height: min(55vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 0.5rem 0.4rem;
  scrollbar-gutter: auto;
  scrollbar-width: thin;
  scrollbar-color: #4e5058 #1a1c1e;
}

.discord-demo-members-scroll::-webkit-scrollbar {
  width: 6px;
}

.discord-demo-members-scroll::-webkit-scrollbar-track {
  background: #1a1c1e;
  border-radius: 3px;
}

.discord-demo-members-scroll::-webkit-scrollbar-thumb {
  background: #4e5058;
  border-radius: 3px;
}

.discord-demo-members-section {
  margin-bottom: 0.5rem;
}

.discord-demo-members-section:last-child {
  margin-bottom: 0;
}

.discord-demo-members-head {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #949ba4;
  padding: 0.35rem 0.35rem 0.45rem;
}

.discord-demo-member-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.35rem;
  border-radius: 4px;
  color: #dbdee1;
}

.discord-demo-member-row--offline {
  opacity: 0.85;
}

.discord-demo-member-row--offline .discord-demo-member-name {
  color: #7e8085;
}

.discord-demo-member-row--offline .discord-demo-user-av--img {
  filter: grayscale(1);
  opacity: 0.65;
}

.discord-demo-member-name {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-demo-you-strong {
  font-weight: 700;
  color: #f2f3f5;
}

/* Mobile tab bar: hidden on desktop; shown inside @media below */
.discord-demo-tabbar {
  display: none;
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  min-height: 52px;
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0));
  background: #1e1f22;
  border-top: 1px solid #1f2023;
  align-items: flex-end;
  justify-content: space-around;
  gap: 0.25rem;
}

.discord-demo-tabbar-item {
  flex: 1;
  max-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  margin: 0;
  padding: 0.2rem 0.25rem 0.1rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #949ba4;
  font: inherit;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

.discord-demo-tabbar-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.discord-demo-tabbar-icon-wrap--you {
  border-radius: 50%;
  background: #5865f2;
  color: #fff;
}

.discord-demo-tabbar-svg {
  width: 22px;
  height: 22px;
  display: block;
}

.discord-demo-tabbar-icon-wrap--you .discord-demo-tabbar-svg {
  width: 18px;
  height: 18px;
}

.discord-demo-tabbar-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 1.1rem;
  padding: 0.08rem 0.28rem;
  border-radius: 99px;
  background: #ed4245;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  box-sizing: border-box;
}

.discord-demo-tabbar-badge--sm {
  min-width: 0.95rem;
  padding: 0.08rem 0.22rem;
  font-size: 0.55rem;
  top: -4px;
  right: -8px;
}

.discord-demo-tabbar-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
}

@media (max-width: 720px) {
  /* Row 1: server rail (left) + channel list; row 2: bottom tab bar */
  .discord-demo {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
    min-height: 0;
  }

  .discord-demo-rail {
    display: flex !important;
    flex: 0 0 52px;
    width: 52px;
    max-height: none;
    min-height: min(55vh, 420px);
    align-self: stretch;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .discord-demo-main,
  .discord-demo-members,
  .discord-demo-userbar,
  .discord-demo-nav-static {
    display: none !important;
  }

  .discord-demo-sidebar {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 0;
    border-right: none;
    border-bottom: none;
    display: flex;
    flex-direction: column;
  }

  .discord-demo-sidebar-top {
    flex-shrink: 0;
  }

  .discord-demo-channel-scroll {
    flex: 1 1 auto;
    min-height: 180px;
    max-height: min(55vh, 420px);
  }

  .discord-demo-tabbar {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .discord-demo-tabbar-item:first-child {
    color: #f2f3f5;
  }
}

.outcome-h--tier-samples {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.preview-disclaimer {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.summary-preview-grid {
  display: grid;
  gap: 1.25rem;
}

.summary-preview-grid--1 {
  grid-template-columns: 1fr;
  max-width: 320px;
}

.summary-preview-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.preview-column-label {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.preview-column-note {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.sidebar-mock-summary {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #4e5058 #1e1f22;
}

.sidebar-mock-summary .disc-ch-row {
  font-size: 0.92rem;
  line-height: 1.45;
}

.sidebar-mock-summary::-webkit-scrollbar {
  width: 6px;
}

.sidebar-mock-summary::-webkit-scrollbar-thumb {
  background: #4e5058;
  border-radius: 3px;
}

.summary-footer-note {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* Summary step: review then checkout */
.summary-review-actions {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem 1.5rem;
  text-align: left;
}

.summary-review-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.summary-review-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.summary-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.summary-edit-btn {
  font-size: 0.85rem;
  padding: 0.55rem 0.65rem;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
}

/* Checkout (summary step) */
.checkout-panel {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem 1.5rem;
  text-align: left;
}

.checkout-panel.checkout-panel--revealed {
  border: 1px solid var(--border);
  box-shadow: none;
}

.checkout-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.checkout-lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.checkout-lead strong {
  color: var(--text);
}

.checkout-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.checkout-tier {
  font-weight: 600;
  color: var(--text);
}

.checkout-amount {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.checkout-note {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.checkout-note code {
  font-size: 0.82rem;
  background: var(--surface-muted);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-xs);
}

.checkout-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.checkout-input {
  display: block;
  width: 100%;
  max-width: 22rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  font: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

.checkout-input:focus {
  outline: none;
  border-color: var(--accent);
}

.checkout-fine-print {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.checkout-flash {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.45;
}

.checkout-flash.summary-card {
  margin-top: 1.5rem;
}

.checkout-flash--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #166534;
}

.checkout-flash--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

.checkout-flash--info {
  background: var(--accent-soft);
  border: 1px solid rgb(88 101 242 / 0.22);
  color: var(--text);
}

.ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
}

.price-name {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.price-tag {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.price-features {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.1rem;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.price-features li {
  margin-bottom: 0.5rem;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Chips */
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 800px;
  margin: 0 auto;
}

.chip {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  animation: chipIn 0.6s var(--ease) both;
}

.chip:nth-child(1) {
  animation-delay: 0.05s;
}
.chip:nth-child(2) {
  animation-delay: 0.1s;
}
.chip:nth-child(3) {
  animation-delay: 0.15s;
}
.chip:nth-child(4) {
  animation-delay: 0.2s;
}
.chip:nth-child(5) {
  animation-delay: 0.25s;
}
.chip:nth-child(6) {
  animation-delay: 0.3s;
}
.chip:nth-child(7) {
  animation-delay: 0.35s;
}
.chip:nth-child(8) {
  animation-delay: 0.4s;
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem 1rem;
  box-shadow: none;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  padding: 0.85rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--text-muted);
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA block */
.cta-block {
  text-align: center;
  padding-bottom: 5rem;
}

.cta-fine-print {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

.section-lead-compact {
  text-align: center;
  max-width: 36rem;
  margin: -0.5rem auto 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1rem 1.75rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: var(--surface);
}

.site-footer p {
  margin: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Wizard flow */
.wizard-main {
  min-height: calc(100vh - 140px);
  padding-bottom: 2rem;
}

.wizard-pages {
  position: relative;
}

.wizard-page {
  display: none;
  animation: wizardIn 0.45s var(--ease) both;
  padding: 0 0 2rem;
}

.wizard-page.is-active {
  display: block;
}

/* Wizard app: full-page scroll (tall steps scroll the window, not an inner box) */
html.wizard-app {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
}

html.wizard-app body.wizard-app {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

html.wizard-app body.wizard-app .site-header {
  flex-shrink: 0;
}

html.wizard-app body.wizard-app .wizard-main {
  flex: 1 0 auto;
  display: block;
  overflow: visible;
  padding-bottom: 0;
}

html.wizard-app body.wizard-app .wizard-pages {
  position: relative;
  overflow: visible;
}

/* One step visible at a time; active step grows with content and the page scrolls */
html.wizard-app body.wizard-app .wizard-page {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
  display: none;
  padding: 0;
  z-index: 0;
  animation: none;
  background: transparent;
}

html.wizard-app body.wizard-app .wizard-page.is-active {
  display: block;
  z-index: 1;
}

html.wizard-app body.wizard-app .wizard-page > .wizard-inner,
html.wizard-app body.wizard-app .wizard-page > .wizard-inner-wide {
  flex: none;
  min-height: 0;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 1.75rem 2.5rem;
}

html.wizard-app body.wizard-app .wizard-page > .wizard-inner {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

html.wizard-app body.wizard-app .wizard-page > .wizard-inner-wide {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

html.wizard-app body.wizard-app #step-welcome.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

html.wizard-app body.wizard-app #step-welcome > .hero {
  position: relative;
  z-index: 1;
  flex: none;
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
}

html.wizard-app body.wizard-app .site-footer {
  flex-shrink: 0;
  padding: 0.65rem 1.25rem 0.85rem;
  font-size: 0.72rem;
  line-height: 1.4;
  border-top-color: var(--border);
}

@keyframes wizardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-progress {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  max-width: none;
  margin: 0;
}

.progress-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: left;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.progress-track {
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  width: 100%;
  box-shadow: none;
}

.progress-fill {
  height: 100%;
  width: 16.66%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.45s var(--ease);
  box-shadow: none;
}

.wizard-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
}

.wizard-inner-wide {
  max-width: var(--content-max);
}

/* Centered step headers (goal, size) */
.wizard-inner-centered .wizard-step-hint,
.wizard-inner-centered .wizard-question,
.wizard-inner-centered .wizard-sub {
  text-align: center;
}

.wizard-inner-centered .wizard-sub {
  margin-left: auto;
  margin-right: auto;
  max-width: 26rem;
}

.wizard-micro-hint {
  margin: -0.35rem auto 1.15rem;
  max-width: 22rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

.goal-step .wizard-micro-hint,
.server-mode-step .wizard-micro-hint,
.audience-step .wizard-micro-hint {
  max-width: 26rem;
}

.audience-panel {
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.audience-skip-wrap {
  margin: 1.25rem 0 0;
  text-align: center;
}

.audience-skip-btn {
  font-size: 0.95rem;
}

.audience-repick {
  margin: 0 0 1rem;
  align-self: flex-start;
}

.wizard-inner.audience-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Package tier step */
.packages-step {
  padding-bottom: 0.25rem;
}

.packages-step-header {
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.packages-step-title {
  margin-bottom: 0.5rem;
}

.packages-step-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.packages-step-lead strong {
  color: var(--text);
}

/* Package tier: pricing (aligned cards, CTA row, section frame) */
.packages-step-pricing {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-max);
  box-shadow: none;
}

html.wizard-app body.wizard-app .wizard-page#step-packages > .wizard-inner-wide.packages-step-pricing {
  padding: 1.5rem 1.25rem 1.75rem;
}

.packages-step-pricing .packages-step-header {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  text-align: center;
}

.packages-step-pricing .wizard-step-hint {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.packages-step-pricing .packages-step-title {
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.15;
  color: var(--text);
}

.packages-step-pricing .tier-cards-grid--pricing {
  gap: clamp(1rem, 2.2vw, 1.5rem);
  align-items: stretch;
  max-width: none;
}

.packages-step-pricing .tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.35rem 1.2rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.packages-step-pricing .tier-card.is-picked {
  border-color: var(--accent);
  box-shadow: none;
}

.packages-step-pricing .price-card-featured {
  transform: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: none;
}

.packages-step-pricing .tier-card.card-hover:hover {
  transform: none;
  border-color: var(--border-strong);
  box-shadow: none;
}

.packages-step-pricing .price-card-featured.card-hover:hover {
  border-color: var(--accent-hover);
  box-shadow: none;
}

.packages-step-pricing .tier-card--simple,
.packages-step-pricing .tier-card--featured,
.packages-step-pricing .tier-card--pro {
  border-top: none;
}

.packages-step-pricing .tier-card-icon {
  display: flex;
  justify-content: center;
  margin: 0 0 1rem;
  color: var(--text);
}

.packages-step-pricing .tier-card-icon-svg {
  width: 48px;
  height: 48px;
  display: block;
}

.packages-step-pricing .tier-card-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  margin: 0 0 0.35rem;
}

.packages-step-pricing .tier-card-title-row .price-name {
  margin: 0;
}

.packages-step-pricing .tier-popular-tag {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  line-height: 1.2;
  box-shadow: none;
}

.packages-step-pricing .tier-soon-label {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.packages-step-pricing .tier-card-head {
  flex: 0 0 auto;
  margin-bottom: 0;
  padding-bottom: 0.85rem;
  border-bottom: none;
  text-align: center;
}

.packages-step-pricing .tier-card-cta {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.packages-step-pricing .tier-card-cta .tier-price-secondary {
  margin: 0 0 0.65rem;
}

.packages-step-pricing .tier-card-cta .btn-tier-pick {
  margin-top: 0;
  margin-bottom: 0;
}

.packages-step-pricing .tier-card .price-name {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.packages-step-pricing .tier-card .price-tag {
  margin: 0 0 0.85rem;
  max-width: none;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
}

.packages-step-pricing .tier-price-label {
  display: none;
}

.packages-step-pricing .tier-price-block {
  display: flex;
  justify-content: center;
  align-items: baseline;
  text-align: center;
  padding: 0;
  margin: 0 0 0.35rem;
  background: transparent;
  border: none;
}

.packages-step-pricing .tier-price-block--accent {
  background: transparent;
  border: none;
}

.packages-step-pricing .tier-price-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.05rem 0.25rem;
  margin: 0;
  line-height: 1;
}

.packages-step-pricing .tier-price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
  align-self: flex-start;
  margin-top: 0.35em;
}

.packages-step-pricing .tier-price-nums {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.packages-step-pricing .price-card-featured .tier-price-nums {
  color: var(--accent);
}

.packages-step-pricing .tier-price-period {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.2rem;
  align-self: flex-end;
  padding-bottom: 0.2em;
}

.packages-step-pricing .tier-price-secondary {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.packages-step-pricing .tier-card-features {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  padding: 1rem 0 1.25rem;
  text-align: left;
}

.packages-step-pricing .tier-card--simple .tier-card-head .price-name {
  margin-bottom: 0.35rem;
}

.packages-step-pricing .wizard-pricing .price-card .btn-tier-pick {
  margin-top: 0;
  margin-bottom: 0;
  flex-shrink: 0;
}

.packages-step-pricing .btn-tier-pick {
  flex-direction: row;
  justify-content: center;
  gap: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.packages-step-pricing .btn-tier-pick--pricing-outline {
  border: 1px solid var(--accent);
  background: var(--surface);
  color: var(--accent);
  box-shadow: none;
}

.packages-step-pricing .btn-tier-pick--pricing-outline:hover:not(:disabled) {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.packages-step-pricing .btn-tier-pick--pricing-outline:active:not(:disabled) {
  transform: none;
}

.packages-step-pricing .btn-tier-pick--pricing-solid {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.packages-step-pricing .btn-tier-pick--pricing-solid:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.packages-step-pricing .btn-tier-pick--pricing-solid:active:not(:disabled) {
  transform: none;
}

.packages-step-pricing .btn-tier-pick--pricing-muted {
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: #a1a1aa;
  cursor: not-allowed;
  box-shadow: none;
}

.packages-step-pricing .tier-includes-kicker {
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.packages-step-pricing .tier-feature-list--rich {
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0;
  list-style: none;
  text-align: left;
}

.packages-step-pricing .tier-feature-list--rich li {
  position: relative;
  color: var(--text);
  padding-left: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 400;
}

.packages-step-pricing .tier-feature-list--rich li:last-child {
  margin-bottom: 0;
}

.packages-step-pricing .tier-feature-list--rich li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
}

.packages-step-pricing .tier-card--soon.card-hover:hover {
  transform: none;
  box-shadow: none;
}

.packages-step-pricing .packages-footnote {
  color: #71717a;
  max-width: 40rem;
  margin: 0.75rem auto 0;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.4;
}

/* Short viewports: slightly tighter, still readable */
@media (max-height: 780px) {
  html.wizard-app .packages-step-pricing .packages-step-header {
    margin-bottom: 0.55rem;
  }

  html.wizard-app .packages-step-pricing .tier-card {
    padding: 0.85rem 0.75rem 0.9rem;
  }

  html.wizard-app .packages-step-pricing .tier-feature-list--rich li {
    font-size: 0.7rem;
    margin-bottom: 0.22rem;
    line-height: 1.32;
  }
}

.packages-step-pricing .tier-card--soon {
  opacity: 0.78;
}

.packages-trust-row {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}

.packages-trust-row li {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgb(88 101 242 / 0.2);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.tier-includes-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.tier-card--simple {
  border-top: 3px solid rgba(100, 116, 139, 0.35);
}

.tier-card--pro {
  border-top: 3px solid rgba(234, 179, 8, 0.55);
}

.tier-card--soon {
  opacity: 0.55;
  filter: grayscale(0.35);
  pointer-events: none;
  user-select: none;
}

.tier-card--soon .tier-card-head,
.tier-card--soon .tier-card-features,
.tier-card--soon .price-features,
.tier-card--soon .tier-includes-kicker {
  opacity: 0.92;
}

.ribbon--soon {
  background: var(--text-muted);
  color: #fff;
  font-weight: 700;
}

.tier-card--featured {
  border-top: 3px solid var(--accent);
}

.tier-feature-list--rich {
  flex: 1 1 auto;
  margin-bottom: 1rem !important;
}

.tier-feature-list--rich li {
  margin-bottom: 0.38rem;
  font-size: 0.84rem;
  line-height: 1.38;
  padding-left: 1.28rem;
}

.tier-feature-list--rich li::before {
  content: "✓";
  font-size: 0.8rem;
  top: 0.12em;
}

.tier-feature-list--rich li strong {
  color: var(--text);
}

.deliverable-callout {
  max-width: 640px;
  margin: 0 auto 1.75rem;
  padding: 1.15rem 1.25rem;
  background: var(--gradient-surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.deliverable-callout-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.deliverable-callout-lead {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.deliverable-callout-list {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.deliverable-callout-list li {
  margin-bottom: 0.35rem;
}

.deliverable-callout-foot {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.tier-best-for {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.tier-best-for strong {
  color: var(--text);
}

.tier-summary {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
  flex-grow: 1;
}

.tier-glance-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.tier-glance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--shadow);
}

.tier-glance-card--featured {
  border-color: var(--accent);
  background: var(--gradient-surface-soft);
  position: relative;
}

.tgc-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.tgc-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.tgc-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.tgc-for {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.tier-cards-grid {
  align-items: stretch;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  gap: 1.75rem;
}

.tier-card {
  padding: 1.5rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tier-card-head {
  margin-bottom: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.tier-card .price-name {
  margin: 0 0 0.15rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.tier-card .price-tag {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.tier-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.tier-price-block--accent {
  background: var(--accent-soft);
  border-color: rgb(88 101 242 / 0.28);
}

.tier-price-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.tier-price-nums {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.price-card-featured .tier-price-nums {
  color: var(--accent);
}

.tier-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.tier-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.tier-pill--soft {
  background: var(--bg);
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.3;
}

.tier-feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.15rem;
}

.tier-feature-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.tier-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-tier-pick {
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  line-height: 1.25;
}

.btn-tier-main {
  font-size: 0.95rem;
}

.btn-tier-sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.88;
}

.btn-outline.btn-tier-pick .btn-tier-sub {
  color: var(--text-muted);
  opacity: 1;
}

.btn-primary.btn-tier-pick .btn-tier-sub {
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  font-weight: 500;
}

.packages-footnote {
  max-width: 36rem;
  margin: 1.75rem auto 0;
  padding: 0 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.packages-footnote strong {
  color: var(--text);
}

.wizard-step-hint {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.65rem;
}

.wizard-question {
  font-size: clamp(1.45rem, 3.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  line-height: 1.2;
}

.wizard-question-tight {
  margin-bottom: 1.35rem;
}

.wizard-sub {
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 1.02rem;
  line-height: 1.58;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.choice-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.choice-card:hover {
  border-color: var(--accent);
  box-shadow: none;
}

.choice-card:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.choice-icon {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.choice-title {
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: block;
}

.choice-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: block;
}

.choice-grid-goal {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  gap: 0.85rem;
}

.choice-grid-server-mode {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  gap: 1.1rem;
}

.choice-card--goal {
  align-items: stretch;
  text-align: left;
  padding: 1rem 1.15rem 1.05rem;
  min-height: 100%;
}

.choice-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  margin-bottom: 0.65rem;
  flex-shrink: 0;
}

.choice-icon-emoji {
  font-size: 1.3rem;
  line-height: 1;
}

.choice-card--goal .choice-title {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.choice-tagline {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

.choice-card--goal .choice-tagline {
  text-transform: none;
  letter-spacing: 0;
}

.choice-card--goal.choice-card--disabled {
  position: relative;
  opacity: 0.52;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.35);
  box-shadow: none;
}

.choice-card--goal.choice-card--disabled:hover {
  border-color: var(--border);
  transform: none;
}

.choice-soon-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-elevated, rgba(0, 0, 0, 0.06));
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.server-mode-scope {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

#step-server-mode .wizard-inner-centered,
#step-layout-type .wizard-inner-centered {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 2rem min(1.65rem, 4vw) 2.5rem;
}

.hero-wizard {
  padding-top: 2.5rem;
}

/* Welcome: column layout (display:flex when active set under html.wizard-app rules) */
#step-welcome {
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 1.75rem 2rem;
  box-sizing: border-box;
}

#step-welcome .hero.hero-wizard.hero-welcome-centered {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  padding-top: 0.5rem;
  text-align: center;
  align-items: center;
}

#step-welcome .hero-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#step-welcome .hero-lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#step-welcome .hero-value-rotator {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  max-width: min(32rem, 100%);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.35rem;
  padding: 1rem 1.35rem 1.15rem;
}

#step-welcome .hero-value-rotator-star {
  margin-top: 0.06em;
  font-size: 0.9rem;
  line-height: 1.35;
}

#step-welcome .hero-value-rotator-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: left;
}

#step-welcome .hero-value-rotator-slide {
  text-align: left;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#step-welcome .hero-value-rotator-static-row {
  display: block;
  text-align: left;
}

.hero-value-rotator--reduced-motion .hero-value-rotator-viewport,
.hero-value-rotator--reduced-motion .hero-value-rotator-track {
  transition: none !important;
}

#step-welcome .hero-cta {
  justify-content: center;
  width: 100%;
}

@media (max-width: 600px) {
  #step-welcome {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  box-shadow: none;
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border);
  transform: none;
  box-shadow: none;
}

.btn-back-wizard {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem 0.55rem 0.95rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn-back-wizard:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-muted);
}

.btn-back-wizard:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-back-wizard-icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
}

.btn-back-wizard--link {
  text-decoration: none;
  box-sizing: border-box;
}

.btn-back-wizard--link:hover {
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.wizard-pricing .price-card .btn {
  margin-top: auto;
}

.section-alt-wizard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 2rem;
  margin-top: 0.5rem;
  box-shadow: none;
}

.section-title-wizard,
.section-lead-wizard {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-lead-wizard {
  margin-bottom: 1.5rem;
}

.section-lead-short {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.wizard-nav-row {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.summary-checkout-cta {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.summary-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.summary-card li {
  margin-bottom: 0.4rem;
}

.summary-card strong {
  color: var(--text);
}

.summary-placeholder {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-in-finish {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100%;
}

.section-in-finish .section-title,
.section-in-finish .section-lead {
  text-align: center;
}

.section-in-finish .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Long steps: extra bottom padding when the whole page scrolls */
html.wizard-app body.wizard-app .wizard-page#step-styles > .wizard-inner-wide,
html.wizard-app body.wizard-app .wizard-page#step-finish > .wizard-inner-wide {
  padding: 1rem 1.25rem 3rem;
}

#step-styles .section-alt-wizard {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: none;
  padding: 1.35rem 1.2rem 1.85rem;
  margin-bottom: 0.35rem;
}

#step-styles .wizard-step-hint {
  text-align: center;
}

#step-styles .wizard-micro-hint {
  margin-bottom: 1rem;
}

#step-styles .section-title-wizard {
  text-align: center;
  margin-bottom: 0.5rem;
}

#step-styles .section-lead-wizard {
  margin-bottom: 1.35rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* 9 preset cards in rows of 3; Custom full-width on its own row */
#step-styles .style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  grid-auto-flow: row;
  gap: 1rem 1.15rem;
  padding-bottom: 0.35rem;
}

#step-styles .style-card.pattern-card--custom-soon {
  grid-column: 1 / -1;
}

#step-styles .style-card.pattern-card {
  border-radius: var(--radius);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

#step-styles .style-card.card-hover:hover {
  transform: none;
  border-color: var(--border-strong);
}

#step-styles .sidebar-mock-pattern {
  border-radius: var(--radius-sm);
  max-height: 280px;
}

#step-styles .sidebar-mock-pattern .disc-category {
  margin-top: 0.5rem;
}

#step-styles .sidebar-mock-pattern .disc-category:first-child {
  margin-top: 0;
}

#step-styles .sidebar-mock-pattern .pattern-mock-category-head {
  padding: 0.28rem 0.35rem 0.35rem;
  font-size: 0.68rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: #949ba4;
}

#step-styles .sidebar-mock-pattern .pattern-mock-channel-list--rows > .disc-category .disc-channel-list {
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  gap: 1px;
}

/* Summary + FAQ + contact */
#step-finish .finish-step-head {
  margin-bottom: 1.35rem;
}

#step-finish .finish-step-head .wizard-sub-tight {
  max-width: 42rem;
}

html.wizard-app body.wizard-app #step-finish .section {
  padding: 0;
  max-width: 640px;
}

#step-finish #faq.section {
  margin-top: 1.5rem;
  padding: 1.45rem 1.2rem 1.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}

#step-finish #faq .section-title {
  text-align: left;
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  margin-bottom: 1rem;
}

#step-finish #faq .faq-list {
  margin: 0;
  max-width: none;
  gap: 0.55rem;
}

#step-finish .faq-item {
  transition: border-color 0.2s ease;
}

#step-finish .faq-item[open] {
  border-color: var(--border-strong);
}

#step-finish .faq-item summary {
  padding: 0.8rem 0;
}

#step-finish .faq-item p {
  padding-right: 0.25rem;
}

#step-finish .faq-item.card-hover:hover {
  transform: none;
  border-color: var(--border-strong);
}

#step-finish .section.cta-block {
  padding: 1.75rem 1rem 2rem;
  margin-top: 0.25rem;
}

#step-finish .section.cta-block .section-lead {
  margin-bottom: 1.25rem;
}

#step-finish .summary-card-rich,
#step-finish .summary-card {
  margin-bottom: 0;
}

#step-finish .summary-checkout-cta {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 92vw);
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: none;
  padding: 5rem 1.25rem 2rem;
  z-index: 270;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-drawer.is-open {
  display: flex;
}

.drawer-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.drawer-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.drawer-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 250;
}

.drawer-backdrop.is-open {
  display: block;
}

body.drawer-open {
  overflow: hidden;
}

/* Mobile */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-header-inner {
    padding: 1.1rem 1.15rem 1rem;
  }

  .site-header--wizard .site-header-inner {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .site-header-progress-inline {
    padding: 0 0.35rem;
  }

  .site-header--wizard .site-header-progress-inline .wizard-progress {
    max-width: none;
  }

  .site-header--wizard .site-header-progress-inline .progress-label {
    font-size: 0.65rem;
  }

  .site-header-top {
    min-height: 2.85rem;
    gap: 0.65rem;
  }

  .site-header {
    position: relative;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .style-grid {
    grid-template-columns: 1fr;
  }

  /* Channel name style step: 3 cards per row */
  #step-styles .style-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.75rem 0.55rem;
  }

  #step-styles .style-card.pattern-card {
    padding: 1rem 0.7rem 1.1rem;
  }

  #step-styles .sidebar-mock-pattern {
    max-height: 250px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .packages-step-pricing .tier-card {
    padding: 1rem 0.9rem 1.05rem;
  }

  .choice-grid,
  .choice-grid-2,
  .choice-grid-server-mode {
    grid-template-columns: 1fr;
  }

  .tier-glance-strip {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .price-card-featured {
    transform: none;
  }

  .price-card-featured.card-hover:hover {
    transform: none;
  }
}

/* Very narrow: single column so previews stay readable */
@media (max-width: 480px) {
  #step-styles .style-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem 0.45rem;
  }

  #step-styles .sidebar-mock-pattern {
    max-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --- Thank-you page --- */
.thank-you-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.thank-you-header .logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.thank-you-main {
  flex: 1;
  padding: 2.5rem 1.5rem 3.5rem;
  background: transparent;
}

.thank-you-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.thank-you-inner .section-title {
  text-align: left;
}

.thank-you-badge {
  margin-bottom: 1rem;
}

.thank-you-title {
  font-size: clamp(1.45rem, 3.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
}

.thank-you-lead {
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.section-title-tight {
  margin-bottom: 0.75rem;
}

.thank-you-footnote {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.thank-you-footnote a {
  color: var(--accent);
  font-weight: 500;
}

.thank-you-footer {
  margin-top: auto;
}

.thank-you-claim {
  margin-bottom: 1.25rem;
  text-align: left;
}

.thank-you-claim-lead {
  margin: 0 0 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.thank-you-claim-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.thank-you-claim-secondary-wrap {
  margin: 0;
}

.thank-you-claim-hint {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.thank-you-claim-hint code {
  font-size: 0.8em;
  word-break: break-word;
}

.thank-you-receipt {
  margin-bottom: 1.25rem;
  text-align: left;
}

.thank-you-receipt-note {
  margin: 0 0 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.thank-you-receipt-dl {
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 0.5rem 1.25rem;
  font-size: 0.95rem;
}

.thank-you-receipt-dt {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
}

.thank-you-receipt-dd {
  margin: 0;
}

.thank-you-receipt-includes {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.thank-you-includes-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.thank-you-includes-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (max-width: 520px) {
  .thank-you-receipt-dl {
    grid-template-columns: 1fr;
    gap: 0.15rem 0;
  }

  .thank-you-receipt-dd {
    margin-bottom: 0.65rem;
  }
}
