.rebound-page {
  --rebound-red: #f44336;
  --rebound-purple: #6a1bff;
  --rebound-navy: #111827;
  --rebound-ink: #111827;
  --rebound-muted: #5f6878;
  --rebound-line: #e4e7ec;
  --rebound-soft: #f7f7fb;
  --rebound-gradient: linear-gradient(120deg, #f44336 0%, #d82e75 48%, #6a1bff 100%);
  --text: var(--rebound-ink);
  --muted: var(--rebound-muted);
  --line: var(--rebound-line);
  --accent: var(--rebound-purple);
  --accent-dark: #5110d6;
  --accent-soft: #f1ebff;
  --ink: var(--rebound-navy);
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.12);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
}

.rebound-page .site-header {
  padding-block: 16px;
  border-bottom-color: rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.rebound-page .product-brand {
  gap: 8px;
}

.rebound-page .rebound-logo {
  width: 142px;
  height: 52px;
  object-fit: contain;
}

.rebound-page .brand-stack small {
  color: #6a7280;
  font-size: 0.68rem;
  line-height: 1.25;
}

.rebound-page .menu-trigger {
  border-color: rgba(17, 24, 39, 0.14);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.07);
}

.rebound-page .menu-nav:hover .menu-trigger,
.rebound-page .menu-trigger:focus-visible {
  border-color: var(--rebound-purple);
  color: var(--rebound-purple);
}

.rebound-page .hero {
  min-height: min(720px, calc(100vh - 84px));
  background: var(--rebound-navy);
}

.rebound-page .hero-media {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.82) 47%, rgba(17, 24, 39, 0.42) 100%),
    linear-gradient(135deg, rgba(244, 67, 54, 0.22), rgba(106, 27, 255, 0.24)),
    url("/assets/hero-missed-call.png") center / cover;
}

.rebound-page .hero-copy {
  max-width: 790px;
}

.rebound-page h1,
.rebound-page h2,
.rebound-page h3 {
  color: var(--rebound-navy);
  font-weight: 800;
}

.rebound-page .hero h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(2.65rem, 5.7vw, 5.15rem);
}

.rebound-page .hero .eyebrow,
.rebound-page .contact-band .eyebrow {
  color: #ffb1aa;
}

.rebound-page .eyebrow {
  color: var(--rebound-purple);
  letter-spacing: 0.08em;
}

.rebound-page .button {
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.rebound-page .button.primary {
  border-color: transparent;
  color: #ffffff;
  background: var(--rebound-gradient);
  box-shadow: 0 10px 24px rgba(106, 27, 255, 0.24);
}

.rebound-page .button.primary:hover {
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(106, 27, 255, 0.3);
  transform: translateY(-1px);
}

.rebound-page .button.secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.rebound-page .dark-secondary {
  border-color: #cfd4dc;
  color: var(--rebound-navy);
  background: #ffffff;
}

.rebound-page .hero-signal {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(17, 24, 39, 0.76);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  animation: rebound-float 6s ease-in-out infinite;
}

.rebound-page .message-bubble {
  border-color: rgba(244, 67, 54, 0.2);
  color: #ffffff;
  background: rgba(244, 67, 54, 0.14);
}

.rebound-page .message-bubble.inbound {
  border-color: rgba(106, 27, 255, 0.24);
  background: rgba(106, 27, 255, 0.2);
}

.rebound-page .hero-offer-card {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(17, 24, 39, 0.7);
}

.rebound-page .hero-offer-card span:first-child,
.rebound-page .offer-badge {
  color: #ffffff;
  background: var(--rebound-gradient);
}

.rebound-page .problem-section,
.rebound-page .product-section,
.rebound-page .trust-section,
.rebound-page .offer-summary-section {
  background: #ffffff;
}

.rebound-page .calculator-section,
.rebound-page .rebound-workflow,
.rebound-page .pricing-section {
  background: var(--rebound-soft);
}

.rebound-page .problem-grid article,
.rebound-page .trust-grid article,
.rebound-page .workflow-grid article,
.rebound-page .offer-grid span,
.rebound-page .pricing-card,
.rebound-page .calculator-panel,
.rebound-page .contact-form,
.rebound-page .onboarding-offer-card {
  border-color: var(--rebound-line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
}

.rebound-page .problem-icon,
.rebound-page .workflow-grid > article > span {
  color: var(--rebound-purple);
}

.rebound-page .feature-list span::before,
.rebound-page .pricing-card li::marker {
  color: var(--rebound-red);
}

.rebound-page input[type="range"] {
  accent-color: var(--rebound-purple);
}

.rebound-page .calculator-result {
  color: #ffffff;
  background: var(--rebound-navy);
}

.rebound-page .calculator-result strong {
  color: #ffffff;
}

.rebound-page .rebound-demo-stage {
  background:
    linear-gradient(140deg, rgba(244, 67, 54, 0.08), rgba(106, 27, 255, 0.12)),
    #f7f7fb;
}

.rebound-page .rebound-demo-phone {
  border-color: rgba(17, 24, 39, 0.16);
  box-shadow: 0 24px 50px rgba(17, 24, 39, 0.18);
}

.rebound-page .rebound-demo-bubble.in {
  color: var(--rebound-navy);
  background: #f1ebff;
}

.rebound-page .rebound-demo-bubble.out,
.rebound-page .rebound-demo-lead-card {
  color: #ffffff;
  background: var(--rebound-gradient);
}

.rebound-page .rebound-demo-lead-card strong,
.rebound-page .rebound-demo-lead-card span {
  color: #ffffff;
}

.rebound-page .price {
  color: var(--rebound-navy);
}

.rebound-page .call-demo-card {
  border-color: rgba(106, 27, 255, 0.22);
  background: linear-gradient(145deg, #ffffff, #f3edff);
}

.rebound-page .demo-phone-number {
  color: var(--rebound-purple);
}

.rebound-page .pill-list span {
  border-color: #dadde4;
  color: var(--rebound-navy);
  background: #ffffff;
}

.rebound-page .contact-band {
  color: #ffffff;
  background: var(--rebound-navy);
}

.rebound-page .contact-band h2,
.rebound-page .contact-band a,
.rebound-page .contact-band p {
  color: #ffffff;
}

.rebound-page .page-header h1 {
  max-width: 850px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.rebound-page .onboarding-page {
  background:
    linear-gradient(180deg, #f7f7fb 0, #ffffff 420px);
}

.rebound-page .contact-form input:focus,
.rebound-page .contact-form textarea:focus,
.rebound-page .contact-form select:focus {
  border-color: var(--rebound-purple);
  outline: 3px solid rgba(106, 27, 255, 0.14);
}

@keyframes rebound-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 520px) {
  .rebound-page .site-header {
    width: calc(100% - 28px);
  }

  .rebound-page .rebound-logo {
    width: 116px;
    height: 44px;
  }

  .rebound-page .brand-stack small {
    display: none;
  }

  .rebound-page .hero h1 {
    font-size: 2.45rem;
  }

  .rebound-page .hero {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding-inline: 20px;
  }

  .rebound-page .hero-copy,
  .rebound-page .hero-copy > *,
  .rebound-page .hero-actions,
  .rebound-page .hero-offer-card,
  .rebound-page .hero-signal {
    min-width: 0;
    max-width: 100%;
  }

  .rebound-page .hero-copy p,
  .rebound-page .hero-offer-card span,
  .rebound-page .hero-offer-card strong {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rebound-page .hero-signal {
    animation: none;
  }
}
