/* Scoped marketing homepage styles — does not affect app/configure UI */

.pb-home {
  --pb-home-accent: #2563eb;
  --pb-home-accent-dark: #1d4ed8;
  --pb-home-radius: 0.875rem;
  --pb-home-radius-lg: 1rem;
  --pb-home-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.12);
  --pb-home-shadow-lg: 0 20px 50px -24px rgba(15, 23, 42, 0.28);
  overflow-x: clip;
}

.pb-home.pb-home--has-demo {
  padding-bottom: 5.5rem;
}

/* —— Skip link —— */
.pb-home-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.pb-home-skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  outline: 2px solid var(--pb-home-accent);
  outline-offset: 2px;
}

/* —— Layout shell —— */
.pb-home-shell {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .pb-home-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.pb-home-shell--narrow {
  max-width: 48rem;
}

.pb-home-shell--hero {
  position: relative;
  z-index: 1;
}

.pb-home-section-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.pb-home-section-intro--narrow {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pb-home-section-intro--narrow .pb-home-eyebrow {
  justify-content: center;
}

.pb-home-section__eyebrow-center {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pb-home-section__title--center {
  text-align: center;
}

.pb-home-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pb-home-btn-lg {
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.pb-home-hero__actions,
.pb-home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.pb-home-cta__inner {
  position: relative;
  text-align: center;
}

.pb-home-cta__note {
  position: relative;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: #dbeafe;
}

/* —— Section rhythm —— */
.pb-home-section {
  padding: 4rem 0;
  background: #fff;
}

.pb-home-section--white {
  background: #fff;
}

.pb-home-section--slate {
  background: #f8fafc;
}

.pb-home-section--compact {
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .pb-home-section {
    padding: 5rem 0;
  }

  .pb-home-section--compact {
    padding: 3.5rem 0;
  }
}

.pb-home-section--muted {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.pb-home-section__title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .pb-home-section__title {
    font-size: 2.25rem;
  }
}

.pb-home-section__lead {
  margin-top: 0.875rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #475569;
}

.pb-home-subheading {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.pb-home-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pb-home-accent);
}

.pb-home-check {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: var(--pb-home-accent);
  font-size: 0.6875rem;
  font-weight: 700;
}

/* —— Hero —— */
.pb-home-hero {
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 50%, #eff6ff 100%);
  overflow: hidden;
  padding: 3rem 0 4rem;
}

@media (min-width: 640px) {
  .pb-home-hero {
    padding: 3.5rem 0 5rem;
  }
}

@media (min-width: 1024px) {
  .pb-home-hero {
    padding: 2.75rem 0 5rem;
  }
}

.pb-home-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 85%);
  pointer-events: none;
}

.pb-home-hero__glow {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 50%;
  height: 75%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.pb-home-hero__layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .pb-home-hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem 3.5rem;
    align-items: start;
  }
}

.pb-home-hero__title {
  margin-top: 0.875rem;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #0f172a;
}

@media (min-width: 640px) {
  .pb-home-hero__title {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .pb-home-hero__title {
    font-size: 3.75rem;
  }
}

.pb-home-hero__accent {
  color: var(--pb-home-accent);
}

.pb-home-hero__lead {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
}

.pb-home-hero__support {
  margin: 1.5rem 0 0;
  max-width: 32rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
}

.pb-home-hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pb-home-hero__play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: var(--pb-home-accent);
}

/* —— Hero assistant preview (HTML/CSS marketing mock) —— */
.pb-home-hero-mock-wrap {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 0 2rem;
  overflow: visible;
}

@media (min-width: 1024px) {
  .pb-home-hero-mock-wrap {
    max-width: 29rem;
    margin-right: 0;
    padding: 0.75rem 0.75rem 1.75rem 1.25rem;
  }

  .pb-home-hero__copy {
    padding-top: 0.75rem;
  }
}

.pb-hero-assistant {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 20px 40px -12px rgba(37, 99, 235, 0.16),
    0 28px 52px -20px rgba(15, 23, 42, 0.18);
  transform: rotate(-0.75deg);
}

@media (min-width: 1024px) {
  .pb-hero-assistant {
    transform: rotate(-0.85deg);
    border-radius: 24px;
  }
}

.pb-hero-assistant__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 0.6875rem 0.875rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
}

@media (min-width: 1024px) {
  .pb-hero-assistant__header {
    padding: 0.625rem 0.8125rem;
  }
}

.pb-hero-assistant__header-main {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.pb-hero-assistant__avatar {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .pb-hero-assistant__avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
}

.pb-hero-assistant__business {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.pb-hero-assistant__subtitle {
  margin: 0.125rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: rgba(219, 234, 254, 0.92);
}

.pb-hero-assistant__header-actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

.pb-hero-assistant__header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.75);
}

.pb-hero-assistant__body {
  background: linear-gradient(180deg, #f9fbff 0%, #f8fafc 100%);
  overflow: hidden;
}

@media (max-width: 639px) {
  .pb-hero-assistant__body {
    max-height: 18rem;
  }
}

.pb-hero-assistant__transcript {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 0.75rem 0.625rem;
}

@media (min-width: 1024px) {
  .pb-hero-assistant__transcript {
    gap: 0.4375rem;
    padding: 0.6875rem 0.6875rem 0.5625rem;
  }
}

.pb-hero-assistant__row {
  display: flex;
  width: 100%;
}

.pb-hero-assistant__row--assistant {
  justify-content: flex-start;
}

.pb-hero-assistant__row--user {
  justify-content: flex-end;
}

.pb-hero-assistant__row--lead {
  justify-content: flex-start;
}

.pb-hero-assistant__bubble {
  max-width: 88%;
  padding: 0.5rem 0.6875rem;
  font-size: 0.75rem;
  line-height: 1.45;
  word-break: break-word;
}

@media (min-width: 1024px) {
  .pb-hero-assistant__bubble {
    max-width: 90%;
    padding: 0.4375rem 0.625rem;
    font-size: 0.6875rem;
    line-height: 1.5;
  }
}

.pb-hero-assistant__bubble--lead-intro {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pb-hero-assistant__lead-intro-main {
  display: block;
}

.pb-hero-assistant__lead-intro-note {
  display: block;
  font-size: 0.625rem;
  line-height: 1.4;
  color: #2563eb;
  font-weight: 500;
}

@media (min-width: 1024px) {
  .pb-hero-assistant__lead-intro-note {
    font-size: 0.5625rem;
  }
}

.pb-hero-assistant__bubble--assistant {
  border: 1px solid #e2e8f0;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  color: #334155;
}

.pb-hero-assistant__bubble--user {
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.pb-hero-assistant__topics {
  padding: 0 0 0.125rem;
}

.pb-hero-assistant__topics-label {
  margin: 0 0 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.pb-hero-assistant__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.pb-hero-assistant__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.625rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid #bfdbfe;
  background: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.3;
  color: #1e40af;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .pb-hero-assistant__chip {
    min-height: 1.5rem;
    padding: 0.1875rem 0.5625rem;
    font-size: 0.625rem;
  }
}

.pb-hero-assistant__lead-card {
  width: 100%;
  max-width: 13.5rem;
  padding: 0.625rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

@media (min-width: 1024px) {
  .pb-hero-assistant__lead-card {
    max-width: 12.75rem;
    padding: 0.5625rem;
    border-radius: 12px;
  }
}

.pb-hero-assistant__lead-label {
  display: block;
  margin: 0 0 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #334155;
}

.pb-hero-assistant__lead-input {
  display: block;
  padding: 0.4375rem 0.5625rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: #0f172a;
}

.pb-hero-assistant__lead-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.625rem;
  margin-top: 0.4375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--pb-home-accent);
  font-size: 0.625rem;
  font-weight: 600;
  color: #fff;
}

.pb-hero-assistant__composer {
  padding: 0.4375rem 0.75rem 0.5625rem;
  background: #fff;
  border-top: 1px solid #f1f5f9;
}

@media (min-width: 1024px) {
  .pb-hero-assistant__composer {
    padding: 0.375rem 0.6875rem 0.5rem;
  }
}

.pb-hero-assistant__composer-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pb-hero-assistant__composer-input {
  flex: 1;
  min-height: 2.125rem;
  padding: 0.4375rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #f8fafc;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: #94a3b8;
}

@media (min-width: 1024px) {
  .pb-hero-assistant__composer-input {
    min-height: 2rem;
    font-size: 0.625rem;
  }
}

.pb-hero-assistant__composer-send {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 9999px;
  background: var(--pb-home-accent);
  color: #fff;
}

@media (min-width: 1024px) {
  .pb-hero-assistant__composer-send {
    width: 2rem;
    height: 2rem;
  }
}

.pb-hero-assistant__composer-send svg {
  width: 0.9375rem;
  height: 0.9375rem;
  fill: currentColor;
}

.pb-hero-assistant__footer {
  margin: 0.375rem 0 0;
  text-align: center;
  font-size: 0.625rem;
  line-height: 1.45;
  color: #94a3b8;
}

.pb-hero-assistant__footer a {
  color: var(--pb-home-accent);
  font-weight: 500;
  text-decoration: none;
}

.pb-hero-assistant__footer a:hover {
  text-decoration: underline;
}

.pb-hero-assistant__badge {
  position: absolute;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.375rem 0.5625rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.3;
  color: #334155;
  white-space: nowrap;
  pointer-events: none;
}

@media (min-width: 640px) {
  .pb-hero-assistant__badge {
    display: flex;
  }
}

@media (max-width: 479px) {
  .pb-hero-assistant__badge {
    display: none;
  }
}

/* Beside saved-answer bubble — clear of header */
.pb-hero-assistant__badge--saved {
  top: 10.25rem;
  left: -0.25rem;
  transform: translateX(-100%);
}

.pb-hero-assistant__badge--saved::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.625rem;
  width: 0.5rem;
  height: 0;
  border-top: 1px dashed #cbd5e1;
  transform: translateY(-50%);
}

/* Beside success message */
.pb-hero-assistant__badge--followup {
  top: auto;
  bottom: 5.75rem;
  right: -0.5rem;
  transform: translateX(0);
}

@media (min-width: 640px) and (max-width: 1023px) {
  .pb-hero-assistant__badge--saved {
    top: 10.75rem;
    left: 0;
    transform: translateX(-105%);
  }

  .pb-hero-assistant__badge--followup {
    bottom: 6rem;
    right: 0;
  }
}

@media (min-width: 1024px) {
  .pb-hero-assistant__badge {
    font-size: 0.5625rem;
    padding: 0.3125rem 0.5rem;
  }

  .pb-hero-assistant__badge--saved {
    top: 9.75rem;
    left: -0.125rem;
    transform: translateX(-100%);
  }

  .pb-hero-assistant__badge--followup {
    bottom: 5.25rem;
    right: -0.625rem;
  }
}

.pb-hero-assistant__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.pb-hero-assistant__badge-icon--check {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.625rem;
  font-weight: 700;
}

.pb-hero-assistant__badge-icon--user {
  background: #eff6ff;
  color: var(--pb-home-accent);
}

.pb-home-launcher {
  position: absolute;
  bottom: 0.25rem;
  right: -0.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

@media (min-width: 1024px) {
  .pb-home-launcher {
    width: 2.875rem;
    height: 2.875rem;
    right: -0.375rem;
    bottom: 0.375rem;
  }
}

/* Legacy widget mock (unused in hero; kept for reference patterns) */
.pb-home-widget-mock {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.35);
}

.pb-home-widget-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
}

.pb-home-widget-avatar {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pb-home-widget-greeting {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.pb-home-widget-subtitle {
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #dbeafe;
}

.pb-home-widget-messages {
  padding: 0.875rem 1rem 0.5rem;
  background: #f8fafc;
}

.pb-home-widget-bubble {
  display: inline-block;
  max-width: 92%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem 0.75rem 0.75rem 0.25rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #334155;
}

.pb-home-widget-deck {
  padding: 0.375rem 1rem 0.25rem;
  background: #f8fafc;
}

.pb-home-widget-deck__label {
  margin: 0 0 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}

.pb-home-widget-deck__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  justify-content: flex-end;
}

.pb-home-widget-deck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  color: #0f172a;
}

.pb-home-widget-deck-btn--topic {
  border-color: #bfdbfe;
  color: #1e40af;
}

.pb-home-widget-deck-btn--lead {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.pb-home-widget-composer {
  padding: 0.5rem 1rem 0.625rem;
  background: #fff;
  border-top: 1px solid #f1f5f9;
}

.pb-home-widget-composer-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pb-home-widget-composer-placeholder {
  flex: 1;
  min-height: 2.625rem;
  padding: 0.625rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #f8fafc;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #94a3b8;
}

.pb-home-widget-send {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 9999px;
  background: var(--pb-home-accent);
  color: #fff;
}

.pb-home-widget-send svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.pb-home-widget-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem 0.75rem;
  padding: 0.375rem 1rem 0.625rem;
  background: #fff;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #64748b;
}

.pb-home-widget-footer p {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.pb-home-widget-footer a {
  color: var(--pb-home-accent);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.pb-home-widget-footer a:hover {
  text-decoration: underline;
}

.pb-home-widget-footer a:focus-visible {
  outline: 2px solid var(--pb-home-accent);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Legacy chat mock helpers (used elsewhere on page previews) */
.pb-home-hero-visual {
  position: relative;
  z-index: 1;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.pb-home-chat-header {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1.125rem 1.25rem;
}

.pb-home-chat-header--brand {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
}

.pb-home-chat-header__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.pb-home-chat-header__intro {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #dbeafe;
}

.pb-home-chat-body {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.125rem 1.25rem 1rem;
}

.pb-home-chat-topics-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.pb-home-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.pb-home-chat-avatar {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}

.pb-home-chat-bubble {
  max-width: 88%;
  border-radius: 0.875rem;
  padding: 0.75rem 0.9375rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.pb-home-chat-bubble--visitor {
  background: #f1f5f9;
  color: #334155;
}

.pb-home-chat-bubble--assistant {
  margin-left: auto;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #dbeafe;
}

.pb-home-chat-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid #dbeafe;
  background: #f8fafc;
  padding: 0.4375rem 0.8125rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #1d4ed8;
}

.pb-home-chat-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.375rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.6875rem;
  color: #64748b;
}

.pb-home-chat-footer a {
  color: var(--pb-home-accent);
  font-weight: 500;
  text-decoration: none;
}

.pb-home-chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.125rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.pb-home-chat-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--pb-home-accent);
  color: #fff;
  font-size: 0.75rem;
}

.pb-home-hero-badges {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .pb-home-hero-badges {
    display: block;
  }

  .pb-home-hero-badge {
    position: absolute;
    z-index: 2;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: var(--pb-home-shadow);
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .pb-home-hero-badge--faq {
    top: 15%;
    left: -4%;
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
  }

  .pb-home-hero-badge--knowledge {
    top: 42%;
    right: -6%;
    color: #6d28d9;
    border-color: #ddd6fe;
    background: #f5f3ff;
  }

  .pb-home-hero-badge--leads {
    bottom: 12%;
    left: -2%;
    color: #c2410c;
    border-color: #fed7aa;
    background: #fff7ed;
  }
}

/* —— Benefit strip —— */
.pb-home-benefit-strip {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--pb-home-radius-lg);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: var(--pb-home-shadow);
}

@media (min-width: 640px) {
  .pb-home-benefit-strip {
    margin-top: 2.5rem;
    padding: 1.25rem 1.5rem;
  }
}

.pb-home-benefit-strip__list {
  display: grid;
  gap: 0.75rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .pb-home-benefit-strip__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pb-home-benefit-strip__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pb-home-trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
}

@media (min-width: 640px) {
  .pb-home-trust-item {
    font-size: 0.875rem;
  }
}

.pb-home-trust-icon {
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #eff6ff;
  color: var(--pb-home-accent);
  font-size: 0.75rem;
  font-weight: 700;
}

/* —— Pain cards —— */
.pb-home-pain-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-radius: var(--pb-home-radius-lg);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: var(--pb-home-shadow);
  list-style: none;
}

.pb-home-pain-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pb-home-pain-card__icon--red {
  background: #fef2f2;
  color: #dc2626;
}

.pb-home-pain-card__icon--amber {
  background: #fffbeb;
  color: #d97706;
}

.pb-home-pain-card__icon--violet {
  background: #f5f3ff;
  color: #7c3aed;
}

.pb-home-pain-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.pb-home-pain-card__copy {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
  flex: 1;
}

.pb-home-pain-card__outcome {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.8125rem;
  color: #334155;
}

/* —— How it works steps —— */
.pb-home-steps {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .pb-home-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
  }

  .pb-home-steps::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, #dbeafe 0%, #93c5fd 50%, #dbeafe 100%);
    z-index: 0;
  }
}

.pb-home-step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.1);
}

.pb-home-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--pb-home-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
}

.pb-home-step-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.pb-home-mini-ui {
  margin-top: auto;
  padding: 0.75rem;
  border-radius: 0.625rem;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
  font-size: 0.6875rem;
}

.pb-home-mini-field {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.375rem 0;
}

.pb-home-mini-field + .pb-home-mini-field {
  border-top: 1px solid #e2e8f0;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
}

.pb-home-mini-label {
  color: #94a3b8;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pb-home-mini-value {
  color: #334155;
  font-weight: 500;
}

.pb-home-mini-chip {
  display: inline-block;
  margin: 0.125rem 0.25rem 0.125rem 0;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid #dbeafe;
  background: #fff;
  color: #1d4ed8;
}

.pb-home-mini-pill {
  margin-top: 0.375rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 0.625rem;
}

.pb-home-mini-ui--code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #334155;
  word-break: break-all;
}

.pb-home-mini-lead {
  color: #475569;
}

.pb-home-mini-lead__title {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

/* —— Feature cards —— */
.pb-home-feature-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-radius: var(--pb-home-radius-lg);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: var(--pb-home-shadow);
}

.pb-home-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.pb-home-feature-icon--blue { background: #eff6ff; color: #2563eb; font-weight: 700; }
.pb-home-feature-icon--green { background: #ecfdf5; color: #047857; font-weight: 700; }
.pb-home-feature-icon--violet { background: #f5f3ff; }
.pb-home-feature-icon--indigo { background: #eef2ff; color: #4338ca; }
.pb-home-feature-icon--amber { background: #fffbeb; }
.pb-home-feature-icon--teal { background: #f0fdfa; color: #0f766e; font-size: 0.75rem; font-weight: 600; }

.pb-home-feature-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.pb-home-feature-card__copy {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
  flex: 1;
}

.pb-home-feature-card__outcome {
  margin-top: 0.875rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.8125rem;
  color: #334155;
}

/* —— Smart Assistant flow card —— */
.pb-home-flow-card {
  padding: 1.5rem;
  border-radius: var(--pb-home-radius-lg);
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: var(--pb-home-shadow-lg);
}

.pb-home-flow-card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.pb-home-flow-steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.pb-home-flow-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.pb-home-flow-steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pb-home-flow-step-num {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: var(--pb-home-accent);
  font-size: 0.6875rem;
  font-weight: 700;
}

/* —— Lead capture mock —— */
.pb-home-leads-mock {
  display: grid;
  gap: 1rem;
}

@media (min-width: 480px) {
  .pb-home-leads-mock {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

.pb-home-leads-form,
.pb-home-leads-saved {
  padding: 1rem;
  border-radius: var(--pb-home-radius);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: var(--pb-home-shadow);
  font-size: 0.75rem;
  color: #475569;
}

.pb-home-leads-row {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.pb-home-leads-row span {
  color: #94a3b8;
  font-size: 0.6875rem;
}

.pb-home-leads-row strong {
  color: #0f172a;
  font-weight: 500;
}

.pb-home-leads-submit {
  display: block;
  margin-top: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: var(--pb-home-accent);
  color: #fff;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
}

.pb-home-leads-saved__title {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.pb-home-leads-saved__status {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
  color: #047857;
  font-size: 0.6875rem;
  font-weight: 500;
}

/* —— Install —— */
.pb-home-inline-code {
  border-radius: 0.25rem;
  background: #f1f5f9;
  padding: 0.125rem 0.375rem;
  font-size: 0.875em;
}

.pb-home-code-card {
  padding: 1rem 1.125rem;
  border-radius: var(--pb-home-radius);
  border: 1px solid #e2e8f0;
  background: #0f172a;
  box-shadow: var(--pb-home-shadow);
}

.pb-home-snippet {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.6;
  word-break: break-all;
  color: #e2e8f0;
}

.pb-home-install-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: #334155;
}

.pb-home-install-steps li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pb-home-install-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: var(--pb-home-accent);
  font-size: 0.6875rem;
  font-weight: 700;
}

.pb-home-install-visual {
  display: flex;
  justify-content: center;
}

.pb-home-browser {
  position: relative;
  width: 100%;
  max-width: 20rem;
  border-radius: var(--pb-home-radius-lg);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: var(--pb-home-shadow-lg);
  overflow: hidden;
}

.pb-home-browser__bar {
  display: flex;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.pb-home-browser__bar span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #e2e8f0;
}

.pb-home-browser__bar span:first-child {
  background: #fca5a5;
}

.pb-home-browser__bar span:nth-child(2) {
  background: #fcd34d;
}

.pb-home-browser__bar span:nth-child(3) {
  background: #86efac;
}

.pb-home-browser__body {
  padding: 1.25rem 1rem 3rem;
}

.pb-home-browser__line {
  height: 0.5rem;
  border-radius: 0.25rem;
  background: #f1f5f9;
  margin-bottom: 0.5rem;
}

.pb-home-browser__line--short {
  width: 60%;
}

.pb-home-browser__launcher {
  position: absolute;
  bottom: 0.875rem;
  right: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--pb-home-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* —— FAQ —— */
.pb-home-faq-list {
  margin-top: 2rem;
}

.pb-home-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pb-home-faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.pb-home-faq-item + .pb-home-faq-item {
  margin-top: 0.75rem;
}

.pb-home-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.125rem 1.375rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
  color: #0f172a;
}

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

.pb-home-faq-item summary::after {
  content: "+";
  float: right;
  font-size: 1.25rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1;
}

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

.pb-home-faq-item[open] summary {
  border-bottom: 1px solid #f1f5f9;
}

.pb-home-faq-item summary:focus-visible {
  outline: 2px solid var(--pb-home-accent);
  outline-offset: -2px;
  border-radius: 1rem;
}

.pb-home-faq-item .pb-home-faq-answer {
  padding: 0 1.375rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
}

/* Legacy FAQ selectors for compatibility */
.pb-home-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.pb-home-faq details + details {
  margin-top: 0.625rem;
}

.pb-home-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.125rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0f172a;
}

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

.pb-home-faq summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: #64748b;
}

.pb-home-faq details[open] summary::after {
  content: "−";
}

.pb-home-faq details[open] summary {
  border-bottom: 1px solid #f1f5f9;
}

.pb-home-faq summary:focus-visible {
  outline: 2px solid var(--pb-home-accent);
  outline-offset: -2px;
  border-radius: var(--pb-home-radius);
}

.pb-home-faq .pb-home-faq-answer {
  padding: 0 1.125rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #475569;
}

/* —— Final CTA —— */
.pb-home-cta {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%);
  color: #fff;
  overflow: hidden;
}

@media (min-width: 640px) {
  .pb-home-cta {
    padding: 5rem 0;
  }
}

.pb-home-cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.pb-home-cta__title {
  position: relative;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .pb-home-cta__title {
    font-size: 2.5rem;
  }
}

.pb-home-cta__lead {
  position: relative;
  margin-top: 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #bfdbfe;
}

.pb-home-cta__actions {
  justify-content: center;
}

.pb-home-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.625rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.pb-home-cta-btn--primary {
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.pb-home-cta-btn--primary:hover {
  background: #eff6ff;
}

.pb-home-cta-btn--primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.pb-home-cta-btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.pb-home-cta-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pb-home-cta-btn--secondary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.pb-home-cta-proof {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: #dbeafe;
}

.pb-home-cta-proof li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* —— Live demo —— */
.pb-home-demo {
  padding: 1.5rem 0 2rem;
  background: #fff;
}

.pb-home-demo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--pb-home-radius-lg);
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: var(--pb-home-shadow);
}

.pb-home-demo-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.pb-home-demo-card__copy {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #64748b;
}

.pb-home-demo-cue {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--pb-home-accent);
  opacity: 0.7;
}

@media (max-width: 479px) {
  .pb-home-demo-cue {
    display: none;
  }
}

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

@media (max-width: 639px) {
  .pb-hero-assistant {
    transform: none;
    border-radius: 22px;
  }

  .pb-hero-assistant__bubble {
    font-size: 0.6875rem;
  }

  .pb-home-hero-mock-wrap {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

/* —— Trust strip + preview panel —— */
.pb-home-trust-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
}

@media (min-width: 640px) {
  .pb-home-trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.pb-home-trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.375rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.15);
}

.pb-home-trust-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #eff6ff;
  color: var(--pb-home-accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pb-home-trust-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.pb-home-preview-panel {
  display: grid;
  gap: 2rem;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

@media (min-width: 1024px) {
  .pb-home-preview-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 2.5rem 2.75rem;
    gap: 3rem;
  }
}

.pb-home-preview-pills {
  display: grid;
  gap: 0.875rem;
}

.pb-home-preview-pill {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1rem 1.125rem;
  border-radius: 1rem;
  border: 1px solid #dbeafe;
  background: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
}

.pb-home-preview-pill__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pb-home-accent);
}

.pb-home-preview-pill__chip {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: #eff6ff;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1d4ed8;
}

.pb-home-preview-pill__text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
}

/* —— Split layouts —— */
.pb-home-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .pb-home-split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.pb-home-checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.pb-home-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #334155;
}

.pb-home-checklist--compact {
  margin-top: 1rem;
  gap: 0.625rem;
}

.pb-home-checklist--compact li {
  font-size: 0.875rem;
}

/* —— Feature grid —— */
.pb-home-feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .pb-home-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pb-home-feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.pb-home-feature-card--premium {
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 24px -12px rgba(15, 23, 42, 0.12);
  min-height: 100%;
}

.pb-home-feature-card--premium .pb-home-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.pb-home-feature-card--premium .pb-home-feature-card__title {
  font-size: 1.0625rem;
}

.pb-home-feature-card--premium .pb-home-feature-card__copy {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* —— Lead capture card —— */
.pb-home-lead-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 16px 48px -24px rgba(15, 23, 42, 0.25);
}

.pb-home-lead-card__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.pb-home-lead-card__badge {
  display: inline-flex;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pb-home-lead-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.pb-home-lead-card__fields {
  margin: 0;
  display: grid;
  gap: 0;
}

.pb-home-lead-card__fields > div {
  padding: 0.875rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.pb-home-lead-card__fields > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pb-home-lead-card__fields dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.pb-home-lead-card__fields dd {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0f172a;
}

/* —— Knowledge panel —— */
.pb-home-knowledge-panel {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 16px 48px -24px rgba(15, 23, 42, 0.2);
}

.pb-home-knowledge-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.pb-home-knowledge-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pb-home-knowledge-tags li {
  padding: 0.4375rem 0.8125rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #334155;
}

.pb-home-knowledge-response {
  margin-top: 1.25rem;
  padding: 1rem 1.125rem;
  border-radius: 1rem;
  border: 1px solid #ddd6fe;
  background: linear-gradient(180deg, #f5f3ff 0%, #faf5ff 100%);
}

.pb-home-knowledge-response__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6d28d9;
  margin-bottom: 0.375rem;
}

.pb-home-knowledge-response p:last-child {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
}

/* —— Setup process —— */
.pb-home-process {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .pb-home-process {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
  }

  .pb-home-process::before {
    content: "";
    position: absolute;
    top: 1.75rem;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, #dbeafe, #93c5fd, #dbeafe);
    z-index: 0;
  }
}

.pb-home-process-card {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.12);
}

.pb-home-process-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--pb-home-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
}

.pb-home-process-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.pb-home-process-card__copy {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
}

/* —— Use cases —— */
.pb-home-usecase-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pb-home-usecase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.pb-home-usecase-card {
  padding: 1.375rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.pb-home-usecase-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.pb-home-usecase-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

/* —— Resource cards —— */
.pb-home-resource-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pb-home-resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pb-home-resource-card--premium {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.1);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pb-home-resource-card--premium:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 32px -16px rgba(37, 99, 235, 0.2);
  transform: translateY(-2px);
}

.pb-home-resource-card__title {
  color: #0f172a;
  font-size: 1.125rem;
  font-weight: 700;
}

.pb-home-resource-card__copy {
  color: #475569;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.pb-home-resource-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #eff6ff;
  color: var(--pb-home-accent);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pb-home-resource-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pb-home-accent);
  text-decoration: none;
}

.pb-home-resource-card__link:hover {
  text-decoration: underline;
}

.pb-home-resource-card__link:focus-visible {
  outline: 2px solid var(--pb-home-accent);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* —— Pricing teaser —— */
.pb-home-pricing-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .pb-home-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pb-home-pricing-card--premium {
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.1);
}

.pb-home-pricing-card--pro.pb-home-pricing-card--premium {
  border-color: #93c5fd;
  box-shadow: 0 12px 40px -16px rgba(37, 99, 235, 0.25);
}

.pb-home-pricing-card__title {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pb-home-step-card__copy {
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.pb-home-chat-chip--cta {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  font-weight: 600;
}

.pb-home-steps--compact {
  margin-top: 0;
}

@media (max-width: 389px) {
  .pb-home-hero__title {
    font-size: 2.125rem;
  }

  .pb-hero-assistant {
    border-radius: 18px;
  }

  .pb-home-launcher {
    width: 2.75rem;
    height: 2.75rem;
    right: 0;
  }
}
