: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: transparent;
  --shadow: 0 1px 3px rgb(0 0 0 / 4%);
  --shadow-md: 0 4px 12px rgb(0 0 0 / 5%);
  --shadow-hover: 0 8px 24px rgb(0 0 0 / 8%);
  --header-shadow: 0 1px 3px rgb(0 0 0 / 4%);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --content-max: 1080px;
  /* Shared aliases (wizard, thank-you, checkout) */
  --color-text: var(--text);
  --color-text-muted: var(--text-muted);
  --color-accent: var(--accent);
  /* Lab token aliases (mapped to light + blurple) */
  --line: #e3e5e8;
  --muted: var(--text-muted);
  --panel: #f6f7fb;
  --card: #ffffff;
  --focus-lab: 0 0 0 3px rgb(88 101 242 / 35%);
  --font-display: "Syne", "Inter", system-ui, sans-serif;
  /* Mapped from experiments/lab-mono-01…20.html type choices */
  --font-lab-inter: "Inter", system-ui, -apple-system, sans-serif;
  --font-lab-syne: "Syne", "Inter", system-ui, sans-serif;
  --font-lab-dm: "DM Sans", "Inter", system-ui, sans-serif;
  --font-lab-instrument: "Instrument Sans", "Inter", system-ui, sans-serif;
  --font-lab-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  /* Discord-style mock UI (sidebar preview + demo) */
  --font-demo: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gradient-surface-soft: var(--surface-muted);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

/* Hide scrollbars (keep scroll enabled) */
html,
body {
  -ms-overflow-style: none; /* IE/Edge legacy */
  scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

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

.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;
}

/* Fixed legal fine print (wizard + thank-you) */
.site-fineprint-row {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.site-fineprint-row .site-fineprint-link {
  margin: 0;
  max-width: min(48%, 280px);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  opacity: 0.88;
  text-decoration: none;
  pointer-events: auto;
  user-select: none;
}

.site-fineprint-row .site-fineprint-link:hover,
.site-fineprint-row .site-fineprint-link:focus-visible {
  text-decoration: underline;
}

.site-fineprint-row .site-fineprint-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-lab);
  border-radius: 4px;
}

.site-fineprint {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  z-index: 200;
  margin: 0;
  max-width: min(300px, calc(100vw - max(24px, env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px))));
  font-size: 10px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  opacity: 0.88;
  pointer-events: none;
  user-select: none;
}

.thank-you-body.thank-you-mono .site-fineprint {
  color: var(--ty-muted);
}

.thank-you-body.thank-you-mono .site-fineprint-row .site-fineprint-link {
  color: var(--ty-muted);
}

/* Mobile & tablet: full-width legal bar fixed to bottom; checkout sticky bar overlays it (higher z-index). */
@media (max-width: 1024px) {
  body.wizard-app .site-fineprint-row,
  body.thank-you-body .site-fineprint-row {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    padding: 0.55rem max(14px, env(safe-area-inset-left, 0px))
      calc(0.55rem + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-right, 0px));
    background: #ffffff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgb(15 23 42 / 6%);
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    z-index: 220;
    pointer-events: none;
  }

  body.wizard-app .site-fineprint-row .site-fineprint-link,
  body.thank-you-body .site-fineprint-row .site-fineprint-link {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(52%, 19rem);
    font-size: clamp(10px, 2.8vw, 11px);
    line-height: 1.4;
    opacity: 1;
  }

  body.wizard-app .site-fineprint-row .site-fineprint-link:first-child,
  body.thank-you-body .site-fineprint-row .site-fineprint-link:first-child {
    text-align: left;
  }

  body.wizard-app .site-fineprint-row .site-fineprint-link:last-child,
  body.thank-you-body .site-fineprint-row .site-fineprint-link:last-child {
    text-align: right;
  }

  body.thank-you-body .site-fineprint-row .site-fineprint-link {
    color: var(--ty-muted);
  }

  html.wizard-app body.wizard-app .wizard-main {
    padding-bottom: calc(3.35rem + env(safe-area-inset-bottom, 0px));
  }

  /* Checkout covers the footer; body padding clears the pay bar only (no double reserve for fineprint). */
  html.wizard-app body.wizard-app.checkout-sticky-bar-open .wizard-main {
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
  }

  body.thank-you-body .thank-you-mono-main {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Mailto CTAs: label + launch (open external) icon on the right */
.btn-label-launch,
.link-with-launch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

p .link-with-launch-icon {
  display: inline-flex;
  vertical-align: baseline;
}

.btn-label-launch .launch-icon,
.link-with-launch-icon .launch-icon {
  flex-shrink: 0;
  width: 1.1em;
  height: 1.1em;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 260;
}

.site-header-shell {
  width: 100%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}

.site-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.35rem max(1.75rem, env(safe-area-inset-right, 0px)) 1.15rem max(1.75rem, env(safe-area-inset-left, 0px));
  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: 4px;
}

.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: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  line-height: 1;
  font-family: var(--font), system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  flex-shrink: 0;
}

.logo-mark svg {
  display: block;
}

.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: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.link-quiet {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.link-quiet::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

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

.link-quiet:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

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

.wizard-app .nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus-lab);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-muted);
  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: 600;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(var(--accent-rgb) / 25%);
}

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

.btn-outline:hover {
  border-color: var(--border-strong);
  background: var(--surface-muted);
  transform: translateY(-2px);
}

.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: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* 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-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 1.5rem;
}

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

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin: 0 auto 0;
  line-height: 1.65;
  font-weight: 400;
}

.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.5rem;
  max-width: min(22rem, 100%);
  margin: 0 auto 1.5rem;
  padding: 0.6rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
  background: rgb(var(--accent-rgb) / 5%);
  border: 1px solid rgb(var(--accent-rgb) / 12%);
  border-radius: 999px;
  box-sizing: border-box;
  box-shadow: none;
}

.hero-value-rotator-star {
  flex-shrink: 0;
  margin-top: 0.1em;
  color: var(--accent);
  line-height: 1;
  display: flex;
  align-items: center;
}

.hero-value-rotator-star svg {
  display: block;
}

.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;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 0;
  margin-top: 2.5rem;
}

.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 — Apple-style entrance */
.fade-in {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.22s;
}
.delay-3 {
  animation-delay: 0.36s;
}
.delay-4 {
  animation-delay: 0.5s;
}
.delay-5 {
  animation-delay: 0.64s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  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-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  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-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
}

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

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

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

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

.style-card {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.style-card:hover {
  transform: translateY(-3px);
  border-color: rgb(var(--accent-rgb) / 22%);
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
}

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: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.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: none;
}

#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 — emoji fonts first so glyphs aren’t dropped (math fonts often omit emoji). */
#step-styles .pattern-mock-channel-list--bar-divider {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", "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: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", "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: default;
  opacity: 0.22;
  filter: grayscale(1);
  pointer-events: none;
}

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

.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.6rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.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: none;
}

.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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.disc-voice-icon .demo-voice-channel-svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.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: 16px;
  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;
}

.finish-step-lead-status {
  display: inline-block;
  margin-right: 0.25rem;
  font-weight: 600;
  font-size: 0.92em;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.finish-step-lead-status--done {
  color: var(--text);
}

.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.03em;
}

.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(--surface-muted);
  border: 1px solid var(--border);
  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: 0;
  padding-top: 0;
}

.outcome-h--preview-bundle {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.summary-preview-heading {
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

.summary-preview-heading-hint {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 36rem;
}

.summary-preview-bundle-lead {
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.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: naming-style picker on summary (clear tappable buttons) */
.demo-pattern-switcher {
  margin-bottom: 1rem;
  padding: 1rem 1.05rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgb(0 0 0 / 5%), 0 0 0 1px rgb(88 101 242 / 6%);
}

.demo-pattern-switcher--compact {
  margin-bottom: 0.65rem;
  padding: 0.65rem 0.75rem 0.75rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 5%);
}

.demo-pattern-switcher-head {
  margin-bottom: 0.85rem;
}

.demo-pattern-switcher-head--minimal {
  margin-bottom: 0.5rem;
}

.demo-pattern-switcher--compact .demo-pattern-switcher-label {
  font-family: var(--font-lab-inter), var(--font-ui, system-ui), sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0;
}

.demo-pattern-switcher--compact .demo-pattern-switcher-chips {
  gap: 0.4rem;
}

.demo-pattern-switcher--compact .demo-pattern-chip {
  min-height: 40px;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  border-width: 1px;
}

.demo-pattern-switcher--compact .demo-pattern-chip-text {
  font-size: 0.75rem;
  font-weight: 600;
}

.demo-pattern-switcher--compact .demo-pattern-chip--active::before {
  width: 5px;
  height: 5px;
}

.demo-pattern-switcher-kicker {
  display: block;
  font-family: var(--font-lab-inter), var(--font-ui, system-ui), sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.demo-pattern-switcher-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.demo-pattern-switcher-hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.demo-pattern-switcher-hint--compact {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.5;
  max-width: 36rem;
}

.demo-pattern-switcher-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.5rem;
}

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

.demo-pattern-chip {
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
  transition:
    border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-pattern-chip-text {
  font-family: var(--font-lab-dm), var(--font-ui, system-ui), sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
}

.demo-pattern-chip:hover {
  border-color: rgb(88 101 242 / 45%);
  background: var(--accent-soft);
  color: var(--text);
  box-shadow: 0 4px 14px rgb(88 101 242 / 12%);
  transform: translateY(-1px);
}

.demo-pattern-chip:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgb(0 0 0 / 6%);
}

.demo-pattern-chip--active {
  background: linear-gradient(165deg, var(--accent) 0%, var(--accent-mid, #4752c4) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgb(88 101 242 / 32%);
}

.demo-pattern-chip--active:hover {
  border-color: transparent;
  background: linear-gradient(165deg, var(--accent-hover, #4752c4) 0%, #3c45a5 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgb(88 101 242 / 38%);
}

.demo-pattern-chip--active .demo-pattern-chip-text {
  font-weight: 700;
}

.demo-pattern-chip--active::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(255 255 255 / 95%);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 35%);
}

.demo-pattern-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft), 0 4px 14px rgb(88 101 242 / 15%);
}

@media (prefers-reduced-motion: reduce) {
  .demo-pattern-chip {
    transition: none;
  }
}

.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: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.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: var(--surface-muted);
}

/* Summary: Discord-style demo — rail + channel list + bottom tab bar on all viewports (mobile client chrome). */
.discord-demo {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: stretch;
  justify-items: stretch;
  max-width: 100%;
  box-sizing: border-box;
  min-height: clamp(480px, 61vh, 708px);
  height: clamp(552px, 67vh, 820px);
  max-height: clamp(552px, 77vh, 940px);
  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;
}

/* Finish-step summary: phone-like width on desktop (narrow column + centered), full width when parent < cap */
#wizard-summary .discord-demo,
.summary-preview-combined .discord-demo {
  width: 100%;
  max-width: min(360px, 100%);
  margin-left: auto;
  margin-right: auto;
  min-height: clamp(480px, 61vh, 708px);
  height: clamp(552px, 67vh, 820px);
  max-height: clamp(552px, 77vh, 940px);
}

.discord-demo-rail {
  grid-column: 1;
  grid-row: 1;
  width: 52px;
  max-width: 52px;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.35rem;
  background: #1e1f22;
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  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 {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #2b2d31;
  border-right: none;
}

.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: none;
}

.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;
}

/* Sidebar “Events” / “Server Boosts”: look hoverable like channels; clicks are no-ops (not channels). */
.discord-demo-nav-row--mock-link {
  cursor: pointer;
  user-select: none;
  transition:
    background 0.12s ease,
    color 0.12s ease;
}

.discord-demo-nav-row--mock-link:hover {
  background: #35373c;
  color: #dbdee1;
}

.discord-demo-channel-scroll {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  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;
  -webkit-overflow-scrolling: touch;
  background: #2b2d31;
}

.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: pointer;
  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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.discord-demo-ch-icon .demo-voice-channel-svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

.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="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;
  min-height: 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: 0.65rem 0.9rem 0.55rem;
  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.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f2f3f5;
}

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

.discord-demo-messages {
  flex: 1;
  min-height: 36px;
  margin-top: 0.45rem;
  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: same row height as sidebar; compact rows + scroll to reach last user in a short frame */
.discord-demo-members {
  flex: 0 0 210px;
  width: 210px;
  max-width: 210px;
  min-height: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #2b2d31;
  border-left: 1px solid #1f2023;
  font-size: 0.72rem;
  pointer-events: none;
  overflow: hidden;
}

.discord-demo-members-scroll {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 0.35rem 0.35rem;
  scrollbar-gutter: stable;
  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.35rem;
}

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

.discord-demo-members-head {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #949ba4;
  padding: 0.2rem 0.3rem 0.28rem;
}

.discord-demo-member-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.3rem;
  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.72rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.discord-demo-tabbar {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  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;
}

.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.03em;
}

.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: 1.1rem 1.25rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1.25rem;
}

.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.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-input {
  display: block;
  width: 100%;
  max-width: 22rem;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
  font: inherit;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--text);
}

.checkout-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.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.85rem 1.1rem;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.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(--surface-muted);
  border: 1px solid var(--border);
  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 1.1rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  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: 10px;
}

.faq-item {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(0 0 0 / 5%);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 1rem 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* 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: 2.5rem 1.75rem 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  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,
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 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: max(28px, env(safe-area-inset-bottom, 0px));
}

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 clamp(0.85rem, 4.5vw, 1.75rem) 2.5rem;
  padding-left: max(clamp(0.85rem, 4.5vw, 1.75rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(0.85rem, 4.5vw, 1.75rem), env(safe-area-inset-right, 0px));
}

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: center;
  width: 100%;
  box-sizing: border-box;
  /* First screen: vertically center rotator + headline + lead + CTAs below header */
  min-height: calc(100vh - 6.25rem);
  min-height: calc(100dvh - 6.25rem);
  padding-top: clamp(1.25rem, 4vh, 2.5rem);
  padding-bottom: clamp(2rem, 6vh, 3.5rem);
}

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

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

.wizard-page.is-active .choice-card,
.wizard-page.is-active .tier-card,
.wizard-page.is-active .style-card,
.wizard-page.is-active .faq-item {
  animation: cardIn 0.5s var(--ease) both;
}

.wizard-page.is-active .choice-card:nth-child(1),
.wizard-page.is-active .tier-card:nth-child(1),
.wizard-page.is-active .style-card:nth-child(1),
.wizard-page.is-active .faq-item:nth-child(1) { animation-delay: 0.05s; }
.wizard-page.is-active .choice-card:nth-child(2),
.wizard-page.is-active .tier-card:nth-child(2),
.wizard-page.is-active .style-card:nth-child(2),
.wizard-page.is-active .faq-item:nth-child(2) { animation-delay: 0.1s; }
.wizard-page.is-active .choice-card:nth-child(3),
.wizard-page.is-active .tier-card:nth-child(3),
.wizard-page.is-active .style-card:nth-child(3),
.wizard-page.is-active .faq-item:nth-child(3) { animation-delay: 0.15s; }
.wizard-page.is-active .choice-card:nth-child(4),
.wizard-page.is-active .tier-card:nth-child(4),
.wizard-page.is-active .style-card:nth-child(4),
.wizard-page.is-active .faq-item:nth-child(4) { animation-delay: 0.2s; }
.wizard-page.is-active .choice-card:nth-child(5),
.wizard-page.is-active .style-card:nth-child(5),
.wizard-page.is-active .faq-item:nth-child(5) { animation-delay: 0.25s; }
.wizard-page.is-active .choice-card:nth-child(6),
.wizard-page.is-active .style-card:nth-child(6),
.wizard-page.is-active .faq-item:nth-child(6) { animation-delay: 0.3s; }
.wizard-page.is-active .style-card:nth-child(7),
.wizard-page.is-active .faq-item:nth-child(7) { animation-delay: 0.35s; }
.wizard-page.is-active .style-card:nth-child(8) { animation-delay: 0.4s; }
.wizard-page.is-active .style-card:nth-child(9) { animation-delay: 0.45s; }
.wizard-page.is-active .style-card:nth-child(10) { animation-delay: 0.5s; }

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

.progress-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: left;
  letter-spacing: 0.08em;
  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: linear-gradient(90deg, var(--accent), var(--accent-mid));
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  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: none;
  border-radius: 0;
  padding: 2.5rem 1.5rem 2.5rem;
  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: 2rem 1rem 2rem;
}

.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: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.15;
  color: var(--text);
}

.packages-step-pricing .tier-cards-grid--pricing {
  gap: 16px;
  align-items: stretch;
  max-width: none;
}

.packages-step-pricing .tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.75rem 1.5rem 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  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: scale(1.02);
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 24px 48px rgb(0 0 0 / 8%);
}

.packages-step-pricing .tier-card.card-hover:hover:not(.price-card-featured) {
  transform: translateY(-4px);
  border-color: rgb(var(--accent-rgb) / 30%);
  box-shadow: 0 12px 32px rgb(0 0 0 / 8%);
}

.packages-step-pricing .price-card-featured.card-hover:hover {
  transform: scale(1.03) translateY(-2px);
  border-color: var(--accent-hover);
  box-shadow: 0 32px 56px rgb(var(--accent-rgb) / 15%);
}

.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: none;
}

.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: flex-start;
  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.15rem 0.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  line-height: 1.3;
  box-shadow: none;
  vertical-align: middle;
}

.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.5rem;
  border-bottom: none;
  text-align: left;
  order: 0;
}

.packages-step-pricing .tier-card-cta {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border-bottom: none;
  text-align: center;
  order: 2;
}

.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: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

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

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

.packages-step-pricing .tier-price-block {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  text-align: left;
  padding: 0;
  margin: 1rem 0 0.5rem;
  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: flex-start;
  gap: 0.05rem 0.15rem;
  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: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  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 {
  display: none;
}

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

.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: 600;
  line-height: 1.25;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.packages-step-pricing .btn-tier-pick:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(var(--accent-rgb) / 20%);
}

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

.packages-step-pricing .btn-tier-pick--pricing-outline:hover:not(:disabled) {
  background: var(--surface-muted);
  color: var(--text);
  border-color: var(--border-strong);
}

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

.packages-step-pricing .btn-tier-pick--pricing-solid {
  border: 1px solid transparent;
  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: transparent;
  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 {
  display: none;
}

.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-muted);
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 400;
  padding-left: 0;
}

.packages-step-pricing .tier-feature-list--rich li:first-child {
  border-top: none;
}

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

.packages-step-pricing .tier-feature-list--rich li::before {
  display: none;
}

.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: 1.1rem 1rem 1.2rem;
  }

  html.wizard-app .packages-step-pricing .tier-feature-list--rich li {
    font-size: 0.72rem;
    padding: 0.35rem 0;
    line-height: 1.35;
  }
}

.packages-step-pricing .tier-card--soon {
  opacity: 0.22;
  filter: grayscale(1);
}

.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.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

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

.tier-card--simple {
  border-top: none;
}

.tier-card--pro {
  border-top: none;
}

.tier-card--soon {
  opacity: 0.22;
  filter: grayscale(1);
  pointer-events: none;
  user-select: none;
  background: var(--surface-muted);
  border-color: var(--border);
}

.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.85;
}

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

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

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

.tier-feature-list--rich li {
  margin-bottom: 0;
  font-size: 0.84rem;
  line-height: 1.38;
  padding-left: 0;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
}

.tier-feature-list--rich li:first-child {
  border-top: none;
}

.tier-feature-list--rich li::before {
  display: none;
}

.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: 16px;
}

.tier-card {
  padding: 1.75rem 1.5rem 1.75rem;
  border-radius: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgb(0 0 0 / 8%);
}

.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(--surface-muted);
  border-color: var(--border);
}

.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: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 1rem;
}

.wizard-question {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 0.6rem;
  line-height: 1.1;
}

.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-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  box-shadow: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.choice-card:hover {
  border-color: rgb(var(--accent-rgb) / 30%);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
}

.choice-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.choice-title {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  display: block;
}

.choice-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  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(auto-fit, minmax(min(100%, 280px), 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: 14px;
  background: rgb(var(--accent-rgb) / 6%);
  border: 1px solid rgb(var(--accent-rgb) / 12%);
  margin-bottom: 0.85rem;
  flex-shrink: 0;
  color: var(--accent);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.choice-card:hover .choice-icon-wrap {
  background: rgb(var(--accent-rgb) / 12%);
  border-color: rgb(var(--accent-rgb) / 25%);
}

.choice-icon-wrap svg {
  display: block;
}

.choice-icon-emoji {
  display: none;
}

.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;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 1;
  filter: none;
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-style: solid;
  color: var(--text);
  transform: none;
}

.choice-card--goal.choice-card--disabled .choice-title {
  color: var(--text);
  opacity: 0.9;
}

.choice-card--goal.choice-card--disabled .choice-tagline {
  color: var(--text-muted);
}

.choice-card--goal.choice-card--disabled .choice-icon-wrap {
  background: rgb(var(--accent-rgb) / 8%);
  border-color: rgb(var(--accent-rgb) / 15%);
  color: var(--accent);
  opacity: 1;
}

.choice-card--goal.choice-card--disabled:hover {
  border-color: var(--line);
  transform: none;
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

.choice-soon-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: rgb(var(--accent-rgb) / 10%);
  border: 1px solid rgb(var(--accent-rgb) / 22%);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
}

.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: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 2.5rem clamp(0.85rem, 4.5vw, 1.65rem) 2.5rem;
  padding-left: max(clamp(0.85rem, 4.5vw, 1.65rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(0.85rem, 4.5vw, 1.65rem), env(safe-area-inset-right, 0px));
}

/* Server step: center step label, question, and both tiles (copy + icons) */
#step-server-mode .wizard-inner-centered {
  text-align: center;
}

#step-server-mode .server-bento-card.choice-card--goal {
  align-items: center;
  text-align: center;
}

#step-server-mode .server-bento-card .choice-icon-wrap.server-bento-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Layout step: wider column so mini Discord demos read clearly */
html.wizard-app body.wizard-app #step-layout-type.wizard-page > .wizard-inner {
  max-width: min(920px, 100%);
}

#step-layout-type .wizard-question-tight {
  margin-bottom: 0.5rem;
}

/* Layout step: center step label, question, scroll hint; tiles are icon-left + stacked copy */
#step-layout-type .wizard-inner-centered {
  text-align: center;
}

#step-layout-type .layout-bento-card .layout-card-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
}

#step-layout-type .layout-bento-card.layout-bento-feature .layout-card-row {
  align-items: flex-start;
}

#step-layout-type .layout-bento-card .layout-card-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.layout-step-scroll-hint {
  margin: 0 auto 1.35rem;
  max-width: 22rem;
  padding: 0 0.5rem;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .layout-step-scroll-hint {
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
  }

  #step-layout-type .wizard-inner-centered {
    padding-top: 1.35rem;
    padding-bottom: 1.5rem;
  }
}

/* Layout step: tabbed channel list previews — extra space so users scroll into Layout previews */
#step-layout-type .layout-examples {
  margin-top: clamp(3rem, 28vw, 7rem);
}

@media (min-width: 768px) {
  #step-layout-type .layout-examples {
    margin-top: clamp(4.5rem, 28vh, 12rem);
  }
}

.layout-examples {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 0 2.75rem;
  text-align: left;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .layout-examples {
    padding: 1.15rem 0 1.5rem;
  }
}

.layout-examples-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}

@media (max-width: 640px) {
  .layout-examples-title {
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
  }
}

.layout-examples-grid {
  min-width: 0;
}

.layout-preview {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 2px 12px rgb(15 23 42 / 4%);
  overflow: hidden;
}

.layout-preview-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  padding: 0.45rem;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.layout-preview-tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border: none;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.layout-preview-tab:hover {
  color: var(--text);
  background: rgb(255 255 255 / 0.55);
}

.layout-preview-tab:focus-visible {
  outline: 2px solid rgb(var(--accent-rgb) / 45%);
  outline-offset: 2px;
}

.layout-preview-tab.is-active {
  color: var(--text);
  background: var(--card);
  box-shadow: 0 1px 3px rgb(15 23 42 / 8%);
}

.layout-preview-panels {
  position: relative;
}

.layout-preview-panel {
  padding: 0;
}

.layout-preview-panel-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.layout-preview-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.55rem 0.85rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.layout-preview-panel-copy {
  flex: 1 1 14rem;
  min-width: 0;
}

.layout-preview-title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.layout-preview-tagline {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.layout-preview-choose {
  flex-shrink: 0;
  align-self: center;
  margin-left: auto;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  border-radius: 10px !important;
}

.layout-preview-list-scroll {
  max-height: min(420px, 52vh);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0.65rem 0.85rem 0.85rem;
  background: var(--surface);
}

@media (max-width: 640px) {
  .layout-preview-list-scroll {
    max-height: min(320px, 42vh);
    padding: 0.5rem 0.75rem 0.75rem;
  }
}

.layout-preview-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.layout-preview-cat {
  margin: 0;
}

.layout-preview-cat-title {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.layout-preview-channels {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
}

.layout-preview-ch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.layout-preview-ch:last-child {
  border-bottom: none;
}

.layout-preview-ch-ico {
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.75;
}

.layout-preview-ch-ico--hash {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.layout-preview-ch-ico .demo-voice-channel-svg {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
  color: var(--text-muted);
}

.layout-preview-ch--voice .layout-preview-ch-name {
  font-style: italic;
  opacity: 0.92;
}

.layout-preview-ch-name {
  min-width: 0;
  word-break: break-word;
}

@media (max-width: 520px) {
  .layout-preview-panel-head {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
  }

  .layout-preview-choose {
    width: 100%;
    margin-left: 0;
    text-align: center;
    align-self: stretch;
  }

  .layout-preview-list-scroll {
    max-height: min(300px, 40vh);
  }

  .layout-preview-list {
    gap: 0.75rem;
  }

  .layout-preview-tabs {
    padding: 0.35rem;
    gap: 0.2rem;
  }

  .layout-preview-tab {
    padding: 0.42rem 0.5rem;
    font-size: 0.75rem;
  }
}

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

#step-welcome .hero-wizard {
  padding-top: 0;
}

/* 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: 0 clamp(0.85rem, 4.5vw, 1.75rem) 3rem;
  padding-left: max(clamp(0.85rem, 4.5vw, 1.75rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(0.85rem, 4.5vw, 1.75rem), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  overflow: hidden;
}

#step-welcome::before,
#step-welcome::after {
  content: none;
}

#step-welcome > * {
  position: relative;
  z-index: 1;
}

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

#step-welcome .hero-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  /* Keep first line on one row; a touch smaller than global .hero-title */
  font-size: clamp(1.5rem, 4.1vw + 0.55rem, 3.05rem);
}

#step-welcome .hero-title .hero-title-primary {
  white-space: nowrap;
}

@media (max-width: 420px) {
  #step-welcome .hero-title .hero-title-primary {
    white-space: normal;
  }
}

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

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

#step-welcome .hero-value-rotator-star {
  margin-top: 0;
}

#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%;
}

.welcome-section-below {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.welcome-section-below .faq-list {
  text-align: left;
}

.welcome-contact {
  margin-top: 0;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.welcome-contact .btn {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

@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: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: none;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn-back-wizard:active {
  transform: scale(0.96);
}

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

.btn-back-wizard:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.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-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem 2rem;
  margin-top: 0.5rem;
  box-shadow: var(--shadow);
}

.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-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: none;
  padding: 1.75rem 1.75rem;
  margin-bottom: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 5%);
}

.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);
}

#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 .summary-card-rich,
#step-finish .summary-card {
  margin-bottom: 0;
}

#step-finish #wizard-summary.summary-card {
  padding-top: 1.1rem;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 92vw);
  height: 100vh;
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: none;
  padding: max(5rem, calc(4.25rem + env(safe-area-inset-top, 0px))) max(1.25rem, env(safe-area-inset-right, 0px)) 2rem 1.25rem;
  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 max(1.15rem, env(safe-area-inset-right, 0px)) 1rem max(1.15rem, env(safe-area-inset-left, 0px));
  }

  .site-header--wizard .site-header-inner {
    padding-top: max(0.85rem, env(safe-area-inset-top, 0px));
    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: 1.5rem 1.25rem 1.5rem;
  }

  .packages-step-pricing .price-card-featured {
    transform: none;
    box-shadow: none;
  }

  .choice-grid,
  .choice-grid-2 {
    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;
  }

  .packages-step-pricing .price-card-featured {
    transform: none;
  }

  .choice-card:hover,
  .style-card:hover,
  .summary-card:hover,
  .tier-card:hover,
  .faq-item:hover,
  .step-card:hover,
  .btn-primary:hover,
  .btn-outline:hover {
    transform: none;
  }

  .nav a::after,
  .link-quiet::after {
    transition: none;
  }
}

/* ===== Experiment labs: shell, hero, rail, FAQ, footer (light + blurple) ===== */

.lab-header-shell {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.lab-bar {
  align-items: center;
}

.lab-logo-btn .logo-mark {
  border-radius: 10px;
}

.site-header--wizard .site-header-progress-inline .progress-label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}

.site-header--wizard .site-header-progress-inline .progress-track {
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.site-header--wizard .site-header-progress-inline .progress-fill {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-mid));
}

/* Static legal / disclaimer pages — lab-mono-08 editorial rhythm + index / wizard shell */
.site-header--legal .site-header-top {
  justify-content: space-between;
}

a.legal-doc-back {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  margin: -0.35rem -0.5rem -0.35rem 0;
  transition: color 0.2s ease;
}

a.legal-doc-back:hover {
  color: var(--accent);
}

a.legal-doc-back:focus-visible {
  outline: none;
  box-shadow: var(--focus-lab);
}

.legal-doc-main {
  padding-bottom: 4rem;
}

.legal-doc-article {
  max-width: 640px;
  margin: 0 auto;
  padding: 3.5rem max(1.75rem, env(safe-area-inset-left, 0px)) 6rem max(1.75rem, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.legal-doc-kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 2rem;
}

.legal-doc-h1 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 2.25rem;
}

.legal-doc-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}

.legal-doc-article .legal-doc-section h2 {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 2.25rem 0 0.65rem;
}

.legal-doc-article .legal-doc-section:first-of-type h2 {
  margin-top: 0;
}

.legal-doc-article .legal-doc-section p {
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.legal-doc-article a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.legal-doc-article a:hover {
  text-decoration: underline;
}

.legal-doc-meta {
  display: block;
  margin-top: 2rem;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.legal-doc-article ul {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.btn-back-wizard {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
}

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

.btn-back-wizard:focus-visible {
  outline: none;
  box-shadow: var(--focus-lab);
}

.lab-hero {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

#step-welcome .hero.lab-hero {
  padding-top: 0;
  padding-bottom: 0;
}

.lab-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.lab-lead {
  max-width: 42ch;
}

.lab-actions .btn--lab-primary {
  box-shadow: 0 2px 8px rgb(var(--accent-rgb) / 22%);
}

.lab-actions .btn--lab-ghost {
  border-color: var(--line);
  color: var(--text);
}

.lab-actions .btn--lab-ghost:hover {
  border-color: rgb(var(--accent-rgb) / 35%);
  color: var(--accent);
  background: var(--accent-soft);
}

.lab-welcome-card {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.lab-section-h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.lab-faq-section .lab-faq-list {
  gap: 10px;
}

.lab-details.faq-item,
#step-finish .lab-details.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: none;
}

.lab-details.faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
}

.lab-details.faq-item[open] summary {
  border-bottom-color: var(--line);
}

.lab-details.faq-item summary::after {
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.lab-details.faq-item p {
  padding: 16px 20px 20px;
  font-size: 14px;
  line-height: 1.65;
}

.lab-details.faq-item:hover {
  transform: none;
  box-shadow: 0 4px 16px rgb(0 0 0 / 4%);
  border-color: var(--border-strong);
}

.lab-step-title {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

@media (max-width: 720px) {
  .lab-server-choice-grid.lab-choice-rail {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 8px 4px 20px;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--border-strong) transparent;
  }

  .lab-server-choice-grid.lab-choice-rail .lab-choice-chip {
    flex: 0 0 min(280px, 88vw);
    scroll-snap-align: start;
    min-height: 180px;
  }
}

.lab-choice-rail .choice-card:not(.choice-card--disabled):hover {
  border-color: rgb(var(--accent-rgb) / 35%);
}

.mobile-drawer.lab-drawer-panel {
  background: var(--card);
  border-left: 1px solid var(--line);
  border-radius: 16px 0 0 16px;
  box-shadow: -12px 0 40px rgb(0 0 0 / 8%);
  padding: 4.5rem 1rem 2rem;
}

.lab-drawer-title {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.drawer-link {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 12px 14px;
}

.drawer-link:hover {
  background: var(--accent-soft);
  border-color: rgb(var(--accent-rgb) / 25%);
}

.lab-pricing-wrap {
  background: transparent;
}

.lab-pricing-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.packages-step-pricing .lab-tier.lab-tier--featured {
  border-color: var(--accent);
  box-shadow: 0 20px 48px rgb(var(--accent-rgb) / 12%);
  background: var(--card);
}

.packages-step-pricing .lab-tier:not(.lab-tier--soon):not(.price-card-featured) {
  background: var(--panel);
}

.lab-styles-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.5rem 2.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--content-max) + 2rem);
}

#step-styles .section-title-wizard {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.style-card.pattern-select {
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}

.pattern-select.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 32px rgb(var(--accent-rgb) / 10%);
}

.lab-checkout-panel {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 1.5rem 2rem;
}

/* Checkout step: narrow receipt-style slip */
#step-checkout .finish-step-head--checkout {
  text-align: center;
}

#step-finish .checkout-flash.summary-card {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

#step-checkout .lab-checkout-panel.checkout-receipt {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgb(15 23 42 / 5%),
    0 12px 40px rgb(15 23 42 / 7%);
}

.checkout-receipt-header {
  text-align: center;
  margin: 0 0 0.5rem;
}

.checkout-receipt-brand {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.checkout-receipt-kicker {
  margin: 0;
  font-family: var(--font-lab-inter), system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.checkout-receipt-rule {
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px dashed var(--border);
}

.checkout-receipt-rule--bold {
  border-top-style: solid;
  border-top-width: 1px;
  border-color: rgb(15 23 42 / 18%);
  margin: 0.35rem 0 0.5rem;
}

.checkout-receipt-body {
  padding: 0.5rem 0 0.25rem;
}

.checkout-receipt-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1rem;
  padding: 0.38rem 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  border-bottom: 1px dotted rgb(15 23 42 / 10%);
}

.checkout-receipt-line:last-child {
  border-bottom: none;
}

.checkout-receipt-line--item {
  padding: 0.5rem 0 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}

.checkout-receipt-line-label {
  flex: 1;
  min-width: 0;
}

.checkout-receipt-line-value {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.checkout-receipt-line-muted {
  flex-shrink: 0;
  width: 4.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.checkout-receipt-line-detail {
  text-align: right;
  font-weight: 500;
  color: var(--text);
  word-break: break-word;
}

.checkout-receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.15rem 0 0.35rem;
  font-family: var(--font-lab-inter), system-ui, sans-serif;
}

.checkout-receipt-total-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.checkout-receipt-total-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-variant-numeric: tabular-nums;
}

#step-checkout .checkout-receipt-total .checkout-amount {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.checkout-receipt-currency {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.checkout-receipt-note {
  margin: 0.65rem 0 0;
  padding-bottom: 0.85rem;
  font-size: 0.6875rem;
  line-height: 1.4;
  text-align: center;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
}

.checkout-receipt-pay {
  padding-top: 1rem;
}

.checkout-label--receipt {
  margin-bottom: 0.35rem;
  font-size: 0.625rem;
}

.checkout-input--receipt {
  max-width: none;
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.9375rem;
  border-radius: 6px;
}

.checkout-receipt-submit {
  margin-top: 0.15rem;
}

.checkout-fine-print--receipt {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.6875rem;
  line-height: 1.4;
}

.checkout-input {
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}

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

#checkout-submit {
  border-radius: 10px;
  font-weight: 600;
}

#step-checkout #checkout-submit.checkout-receipt-submit {
  border-radius: 8px;
}

.lab-footer {
  padding: 0;
  text-align: left;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.lab-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
  justify-content: space-between;
}

.lab-footer-brand {
  margin: 0;
  font-family: var(--font-lab-instrument);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: none;
}

.lab-footer-note {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Wizard: lab-mono-02 inspired (DM Sans, bento lift, compact buttons) --- */
body.wizard-app {
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  font-family: var(--font);
}

.wizard-app #progress-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wizard-btn-solid,
.wizard-btn-ghost {
  font-family: inherit;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.wizard-app .wizard-btn-solid:focus-visible,
.wizard-app .wizard-btn-ghost:focus-visible,
.wizard-app .wizard-btn-ghost-subtle:focus-visible,
.wizard-app .wizard-btn-get-started:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(88 101 242 / 30%);
}

.wizard-app .btn.btn-lg.wizard-btn-get-started {
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  background: var(--accent);
  color: #fff;
  transform: none;
  box-shadow: none;
}

.wizard-app .btn.btn-lg.wizard-btn-get-started:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: none;
  box-shadow: 0 4px 16px rgb(88 101 242 / 32%);
}

.wizard-app .btn.btn-lg.btn-primary.wizard-btn-solid {
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  border: none;
  background: #1a1a1a;
  color: #f5f5f5;
  transform: none;
  box-shadow: none;
}

.wizard-app .btn.btn-lg.btn-primary.wizard-btn-solid:hover {
  background: #2a2a2a;
  color: #fff;
  transform: none;
  box-shadow: none;
}

.wizard-app a.btn.btn-lg.wizard-btn-ghost.btn-outline,
.wizard-app .btn.btn-lg.btn-outline.wizard-btn-ghost {
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: none;
  box-shadow: none;
}

.wizard-app a.btn.btn-lg.wizard-btn-ghost.btn-outline:hover,
.wizard-app .btn.btn-lg.btn-outline.wizard-btn-ghost:hover {
  background: var(--surface-muted);
  border-color: var(--border-strong);
  color: var(--text);
  transform: none;
  box-shadow: none;
}

.wizard-app .wizard-btn-ghost-subtle.btn-back-wizard {
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
}

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

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

#step-welcome .hero.hero-wizard-mono {
  padding-top: 2.5rem;
  padding-bottom: 2.25rem;
}

.hero-kicker {
  max-width: min(100%, 22rem);
  padding: 0 0.35rem;
  box-sizing: border-box;
  font-size: clamp(11.5px, 3.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.35;
}

.hero-kicker-below-title {
  margin: 0.45rem auto 1.35rem;
}

.hero-title-mono {
  text-align: center;
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text);
}

.hero-title-mono .hero-title-primary {
  display: block;
}

.hero-cta-mono {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.welcome-mono-card,
.faq-mono {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-mono {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.faq-list-mono {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item-mono {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}

.faq-item-mono summary {
  padding: 16px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}

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

.faq-item-mono[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-item-mono p {
  margin: 0;
  padding: 14px 18px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.wizard-step-hint-mono {
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.wizard-question-mono {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

/* Layout step: bento grid + lift */
#step-layout-type .layout-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2.5vw, 20px);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 560px) and (max-width: 719px) {
  #step-layout-type .layout-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(104px, auto);
  }

  #step-layout-type .layout-bento-card.layout-bento-feature {
    grid-column: span 2;
    min-height: 132px;
  }
}

@media (min-width: 720px) {
  #step-layout-type .layout-bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(112px, auto);
  }

  #step-layout-type .layout-bento-card.layout-bento-feature {
    grid-column: span 2;
    min-height: 148px;
  }
}

#step-layout-type .layout-bento-card.choice-card--goal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: left;
  padding: 22px;
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.2s ease;
  min-height: 0;
}

#step-layout-type .layout-bento-card.choice-card--goal:hover {
  transform: translateY(-6px);
  border-color: rgb(15 23 42 / 12%);
  box-shadow:
    0 8px 20px rgb(15 23 42 / 6%),
    0 22px 50px rgb(15 23 42 / 9%);
}

#step-layout-type .layout-bento-card.choice-card--goal:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(88 101 242 / 28%);
}

#step-layout-type .layout-bento-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  margin-bottom: 0;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease;
}

#step-layout-type .layout-bento-card:hover .layout-bento-icon {
  background: #fff;
  border-color: var(--border-strong);
}

#step-layout-type .layout-bento-card .choice-title {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

#step-layout-type .layout-bento-card .choice-tagline {
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
}

#step-layout-type .layout-bento-card.choice-card--goal.choice-card--disabled:hover {
  transform: none;
  border-color: #bfc5cf;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
}

#step-layout-type .layout-bento-card--disabled.choice-card--goal {
  cursor: not-allowed;
  pointer-events: none;
  background: #dfe3e9;
  border: 1px solid #bfc5cf;
  border-style: solid;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
  color: #4b5563;
}

#step-layout-type .layout-bento-card--disabled.choice-card--goal .choice-title {
  color: #4b5563;
  opacity: 0.88;
}

#step-layout-type .layout-bento-card--disabled.choice-card--goal .choice-tagline {
  color: #6b7280;
  opacity: 0.92;
}

#step-layout-type .layout-bento-card--disabled.choice-card--goal .layout-bento-icon,
#step-layout-type .layout-bento-card--disabled.choice-card--goal .choice-icon-wrap.layout-bento-icon {
  background: rgb(255 255 255 / 0.35);
  border-color: #aeb6c2;
  color: #64748b;
  opacity: 0.95;
}

/* Custom tile: “Coming soon” pill top-right (card is position: relative from .choice-card--disabled) */
#step-layout-type .layout-bento-card--disabled .choice-soon-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  margin: 0;
  z-index: 1;
  color: #4b5563;
  background: #cdd2da;
  border-color: #aeb6c2;
}

/* Server step: matching bento tiles */
.server-bento-rail {
  gap: 20px;
  max-width: 720px;
}

.server-bento-card.choice-card--goal:not(.choice-card--disabled) {
  padding: 22px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.2s ease;
}

.server-bento-card--fresh.choice-card--goal:hover {
  transform: translateY(-6px);
  border-color: rgb(15 23 42 / 12%);
  box-shadow:
    0 8px 20px rgb(15 23 42 / 6%),
    0 22px 50px rgb(15 23 42 / 9%);
}

.server-bento-card--disabled.choice-card--goal {
  border-radius: 16px;
  padding: 22px;
  background: #dfe3e9;
  border: 1px solid #bfc5cf;
  border-style: solid;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
  color: #4b5563;
}

.server-bento-card--disabled.choice-card--goal .choice-title {
  color: #4b5563;
  opacity: 0.88;
}

.server-bento-card--disabled.choice-card--goal .choice-tagline {
  color: #6b7280;
  opacity: 0.92;
}

.server-bento-card--disabled.choice-card--goal .choice-icon-wrap,
.server-bento-card--disabled.choice-card--goal .choice-icon-wrap.server-bento-icon {
  background: rgb(255 255 255 / 0.35);
  border-color: #aeb6c2;
  color: #64748b;
  opacity: 0.95;
}

.server-bento-card--disabled .choice-soon-badge {
  color: #4b5563;
  background: #cdd2da;
  border-color: #aeb6c2;
}

.server-bento-icon {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.server-bento-card--fresh:hover .server-bento-icon {
  background: #fff;
  border-color: var(--border-strong);
}

@media (prefers-reduced-motion: reduce) {
  #step-layout-type .layout-bento-card.choice-card--goal:hover,
  .server-bento-card--fresh.choice-card--goal:hover {
    transform: none;
  }
}

.wizard-app .lab-footer-brand {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Sticky checkout: email + blurple pay, fixed bottom */
body.wizard-app.checkout-sticky-bar-open {
  padding-bottom: calc(6.85rem + env(safe-area-inset-bottom, 0px));
}

.checkout-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 40px rgb(15 23 42 / 8%);
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.68s;
}

.checkout-sticky-bar.checkout-sticky-bar--visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.checkout-sticky-bar-shell {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.checkout-sticky-hint {
  margin: 0 0 10px;
  padding: 0 4px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  font-size: clamp(8.5px, 2.95vw, 12px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

.checkout-sticky-hint strong {
  font-weight: 600;
  color: var(--text);
}

.checkout-sticky-bar-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: nowrap;
}

.checkout-sticky-widget {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-sticky-email-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.checkout-sticky-email {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-sizing: border-box;
}

.checkout-sticky-email::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.checkout-sticky-email:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgb(88 101 242 / 28%);
  border-color: rgb(88 101 242 / 45%);
}

.checkout-sticky-pay {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 22px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.checkout-sticky-pay:hover:not(:disabled) {
  background: var(--accent-hover) !important;
  color: #fff !important;
  transform: none !important;
  box-shadow: 0 4px 16px rgb(88 101 242 / 32%) !important;
}

.checkout-sticky-pay:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .checkout-sticky-bar-inner {
    gap: 8px;
  }

  .checkout-sticky-pay {
    padding: 10px 14px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }

  .checkout-sticky-email {
    padding: 10px 10px;
    font-size: 13px;
  }

  .checkout-sticky-email-label {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-sticky-bar {
    transition: none;
  }

  .checkout-sticky-bar.checkout-sticky-bar--visible {
    transition: none;
  }
}

.lab-cta-band {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}

/* Experiments: multi-font chips (Lab 07 tag), per-layout accents, button choice cards */
button.choice-card.choice-card--goal {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  margin: 0;
  border: none;
  text-align: left;
  box-sizing: border-box;
}

/* --- Thank-you page (white shell + Discord blurple, aligned with wizard) --- */
.thank-you-body.thank-you-mono {
  --ty-bg: var(--bg);
  --ty-panel: var(--card);
  --ty-panel-head: var(--surface-muted);
  --ty-line: var(--line);
  --ty-text: var(--text);
  --ty-muted: var(--text-muted);
  --ty-focus: 0 0 0 3px rgb(88 101 242 / 35%);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ty-bg);
  color: var(--ty-text);
  font-family: "Inter", var(--font-lab-inter), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.thank-you-mono-skip:focus {
  outline: none;
  box-shadow: var(--ty-focus);
}

.thank-you-mono-topbar {
  border-bottom: 1px solid var(--ty-line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.thank-you-mono-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px max(20px, env(safe-area-inset-right, 0px)) 10px max(20px, env(safe-area-inset-left, 0px));
  max-width: 960px;
  margin: 0 auto;
}

.thank-you-mono-topbar-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ty-muted);
}

.thank-you-mono-topbar-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ty-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s ease;
}

.thank-you-mono-topbar-link:hover {
  color: var(--accent);
}

.thank-you-mono-topbar-link:focus-visible {
  outline: none;
  box-shadow: var(--ty-focus);
}

.thank-you-mono-brand-row {
  padding: 0 max(20px, env(safe-area-inset-left, 0px)) 14px;
  max-width: 960px;
  margin: 0 auto;
}

.thank-you-mono-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ty-text);
  font-family: var(--font-lab-dm), "DM Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-radius: 10px;
}

.thank-you-mono-brand:hover {
  color: var(--accent);
}

.thank-you-mono-brand:focus-visible {
  outline: none;
  box-shadow: var(--ty-focus);
}

.thank-you-mono-brand-mark {
  flex-shrink: 0;
}

.thank-you-mono-main {
  flex: 1;
  padding: clamp(2rem, 6vw, 3rem) max(20px, env(safe-area-inset-left, 0px))
    clamp(2.5rem, 8vw, 4rem) max(20px, env(safe-area-inset-right, 0px));
  background: transparent;
}

.thank-you-mono-inner {
  max-width: min(480px, 100%);
  margin: 0 auto;
  text-align: center;
}

.thank-you-mono-hero {
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

.thank-you-mono-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgb(var(--accent-rgb) / 22%);
  background: rgb(var(--accent-rgb) / 10%);
  color: var(--accent-hover);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thank-you-mono-badge .badge-icon {
  color: var(--accent);
  font-size: 12px;
}

.thank-you-mono-title {
  font-family: var(--font-lab-dm), "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.65rem, 5vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  color: var(--ty-text);
}

.thank-you-mono-subtitle {
  margin: 0.65rem 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ty-muted);
  font-weight: 400;
}

.thank-you-mono-panel {
  text-align: left;
  background: var(--ty-panel);
  border: 1px solid var(--ty-line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.thank-you-mono .thank-you-mono-panel.summary-card {
  padding: 0;
}

.thank-you-mono .thank-you-mono-panel.summary-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.thank-you-mono-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ty-line);
  background: var(--ty-panel-head);
}

.thank-you-mono-panel-icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 15px;
  color: var(--accent);
  line-height: 1;
  opacity: 0.9;
}

.thank-you-mono-panel-title {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.35 !important;
  color: var(--ty-text) !important;
}

.thank-you-mono-panel-body {
  padding: 18px 18px 22px;
}

.thank-you-mono .thank-you-claim-lead,
.thank-you-mono .thank-you-receipt-note {
  margin: 0 0 1.1rem;
  line-height: 1.6;
  color: var(--ty-muted);
  font-size: 14px;
}

.thank-you-mono-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.thank-you-mono-btn-primary,
.thank-you-mono .thank-you-claim-actions .btn-primary,
.thank-you-mono .thank-you-claim-actions a.btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 22px !important;
  border-radius: 12px !important;
  border: none !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  background: var(--accent) !important;
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 10px 32px rgb(88 101 242 / 32%) !important;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.thank-you-mono-btn-primary:hover:not(:disabled),
.thank-you-mono .thank-you-claim-actions .btn-primary:hover:not(:disabled),
.thank-you-mono .thank-you-claim-actions a.btn-primary:hover {
  background: var(--accent-hover) !important;
  box-shadow: 0 12px 36px rgb(88 101 242 / 38%) !important;
}

.thank-you-mono-btn-primary:disabled,
.thank-you-mono .thank-you-claim-actions .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.thank-you-mono-btn-primary:focus-visible,
.thank-you-mono .thank-you-claim-actions .btn-primary:focus-visible,
.thank-you-mono .thank-you-claim-actions a.btn-primary:focus-visible {
  outline: none;
  box-shadow: var(--ty-focus), 0 10px 32px rgb(88 101 242 / 22%) !important;
}

.thank-you-mono-btn-secondary,
.thank-you-mono .thank-you-claim-actions .btn-outline {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  border: 1px solid var(--ty-line) !important;
  background: var(--surface) !important;
  color: var(--ty-text) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.thank-you-mono-btn-secondary:hover,
.thank-you-mono .thank-you-claim-actions .btn-outline:hover {
  background: var(--surface-muted) !important;
  border-color: rgb(var(--accent-rgb) / 28%) !important;
  color: var(--accent-hover) !important;
}

.thank-you-mono-btn-secondary:focus-visible,
.thank-you-mono .thank-you-claim-actions .btn-outline:focus-visible {
  outline: none;
  box-shadow: var(--ty-focus);
}

.thank-you-mono-hint,
.thank-you-mono .thank-you-claim-hint {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ty-muted);
}

.thank-you-mono .thank-you-claim-hint code {
  font-size: 0.85em;
  word-break: break-word;
  background: var(--surface-muted);
  border: 1px solid var(--ty-line);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.thank-you-mono-footnote,
.thank-you-mono .thank-you-footnote {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ty-muted);
  margin: 1.75rem 0 0;
  text-align: center;
}

.thank-you-mono-footnote a,
.thank-you-mono .thank-you-footnote a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.thank-you-mono-footnote a:hover,
.thank-you-mono .thank-you-footnote a:hover {
  text-decoration: underline;
}

.thank-you-mono .thank-you-receipt-dl {
  margin: 0 0 1.15rem;
  display: grid;
  grid-template-columns: minmax(6.5rem, 9rem) 1fr;
  gap: 0.4rem 1rem;
  font-size: 14px;
}

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

.thank-you-mono .thank-you-receipt-dd {
  margin: 0;
  color: var(--ty-text);
}

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

.thank-you-mono .thank-you-includes-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ty-muted);
  margin: 0 0 0.65rem;
}

.thank-you-mono .thank-you-includes-list {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.55;
  color: var(--ty-text);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 14px;
}

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

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

  .thank-you-mono .thank-you-receipt-dd {
    margin-bottom: 0.6rem;
    color: var(--ty-text);
  }

  .thank-you-mono .thank-you-receipt-dt {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thank-you-mono-btn-primary,
  .thank-you-mono .thank-you-claim-actions .btn-primary,
  .thank-you-mono-btn-secondary,
  .thank-you-mono .thank-you-claim-actions .btn-outline {
    transition: none;
  }
}
