body { overflow-x: clip; }
.hero-visual {
  position: relative;
  overflow: visible;
  background: transparent;
  padding: 30px 70px 30px 0;
}

.hero-illustration {
  position: relative;
  z-index: 2;
  width: min(100%, 580px);
  margin: auto;
}

.hero-illustration img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(8, 120, 255, .14));
}

.hero-screenshot {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 2%;
  width: min(43%, 250px);
  padding: 7px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 36, 62, .22);
  transform: rotate(4deg);
}

.two-line-heading span {
  display: block;
  white-space: nowrap;
}

.hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.feature-image,
.feature-image.soft-blue,
.feature-image.soft-gold,
.feature-image.soft-violet {
  height: auto;
  min-height: 0;
  padding: 20px 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.feature-image img {
  display: block;
  width: auto;
  max-width: min(100%, 340px);
  height: auto;
  max-height: 660px;
  margin: auto;
  padding: 7px;
  border: 2px solid rgba(220, 232, 244, .95);
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 36, 62, .18), inset 0 0 0 1px rgba(255, 255, 255, .9);
  transform: none !important;
}

.feature-row.reverse .feature-image,
.feature-row.reverse .feature-image img {
  transform: none !important;
}

.pricing {
  text-align: center;
  background: #f4f9ff;
}

.pricing-heading h2 {
  font-size: clamp(36px, 4.6vw, 60px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 64px auto 36px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 38px 26px 34px;
  border: 2px solid #dce8f4;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 8px 0 #dcecfb;
}

.price-card.featured {
  border-color: #0878ff;
  box-shadow: 0 8px 0 #0878ff;
}

.price-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 7px 18px;
  border-radius: 999px;
  background: #0878ff;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.price-name {
  margin: 0 0 22px;
  color: #0878ff;
  font-weight: 900;
}

.price {
  margin: 0;
  color: #10243e;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: -.05em;
}

.price span,
.price small {
  font-size: .42em;
  letter-spacing: 0;
}

.price-description {
  min-height: 3.4em;
  margin: 22px 0 0;
  color: #5f7186;
  font-size: 14px;
  line-height: 1.7;
}

.price-comparison {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  margin: 14px 0 0;
  color: #7d8da0;
  font-size: 13px;
  font-weight: 700;
}

.price-comparison strong {
  padding: 5px 9px;
  border-radius: 999px;
  background: #e9f6ff;
  color: #0878ff;
  font-size: 12px;
}

.price-comparison.neutral { color: #9aa7b5; }

.pricing-button { margin-top: 16px; }

@media (max-width: 850px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; gap: 26px; }
  .price-description { min-height: 0; }
  .hero { display: grid; gap: 24px; }
  .hero-copy { display: contents; }
  .hero-copy.reveal { opacity: 1; transform: none; }
  .hero-copy .eyebrow { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-copy .lead { order: 3; }
  .hero-visual { order: 4; min-height: 440px; margin: -22px auto -10px; padding: 12px 48px 12px 0; width: min(100%, 620px); }
  .hero-actions { order: 5; }
  .hero-illustration { width: min(100%, 540px); }
  .hero-screenshot { width: min(42%, 220px); right: 0; bottom: 3%; border-radius: 25px; transform: rotate(2deg); }
  .hero-screenshot img { border-radius: 18px; }
  .feature-image img { max-width: min(82vw, 330px); border-radius: 38px; }
}

@media (max-width: 560px) {
  .hero { row-gap: 18px; }
  .hero-visual { min-height: 350px; margin: -18px auto -4px; padding-right: 36px; }
  .hero-screenshot { width: min(43%, 175px); }
  .problem-heading { font-size: 24px !important; letter-spacing: -.045em; }
}

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