.product-hero {
  overflow: hidden;
  padding: 105px 0 72px;
  background:
    radial-gradient(circle at 82% 16%, rgba(61, 105, 231, .15), transparent 30%),
    linear-gradient(180deg, var(--accent-soft) 0%, var(--paper) 78%);
}

.product-hero--realty {
  background:
    radial-gradient(circle at 82% 18%, rgba(57, 91, 198, .16), transparent 31%),
    linear-gradient(180deg, #f5f7ff 0%, var(--paper) 78%);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 70px;
  align-items: center;
}

.product-hero-copy {
  position: relative;
  z-index: 2;
}

.product-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 5.6vw, 78px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.065em;
}

.product-intro {
  max-width: 660px;
  margin: 32px 0 0;
  color: var(--muted);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 19px;
  line-height: 1.7;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: center;
  margin-top: 38px;
}

.telegram-button {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 21px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color .2s ease;
}

.telegram-button img {
  flex: 0 0 auto;
}

.telegram-button .link-arrow {
  margin-left: 3px;
  flex: 0 0 auto;
}

.telegram-button:hover {
  background: var(--accent-dark);
}

.secondary-link {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: #414457;
  font-size: 12px;
  font-weight: 600;
}

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

.realty-preview {
  position: relative;
  min-height: 510px;
}

.realty-preview-card {
  position: absolute;
  width: min(410px, 82%);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(65, 69, 102, .15);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(42, 44, 83, .16);
}

.realty-preview-card img {
  width: 100%;
}

.realty-preview-card--one {
  z-index: 3;
  top: 96px;
  left: 5%;
  transform: rotate(-3deg);
}

.realty-preview-card--two {
  z-index: 2;
  top: 25px;
  right: -9%;
  transform: rotate(5deg);
}

.realty-preview-card--three {
  z-index: 1;
  right: -2%;
  bottom: 8px;
  transform: rotate(2deg);
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-stats > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 32px;
  border-right: 1px solid var(--line);
}

.product-stats > div:first-child {
  padding-left: 0;
}

.product-stats > div:last-child {
  border-right: 0;
}

.product-stats strong {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -.05em;
}

.product-stats span {
  color: var(--muted);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px;
}

.chat-preview {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
}

.chat-preview::before,
.chat-preview::after {
  position: absolute;
  border: 1px solid rgba(61, 105, 231, .15);
  border-radius: 50%;
  content: '';
}

.chat-preview::before {
  width: 450px;
  height: 450px;
}

.chat-preview::after {
  width: 570px;
  height: 570px;
}

.chat-preview-mark {
  position: absolute;
  z-index: 2;
  top: 70px;
  left: 4%;
  width: 112px;
  opacity: .9;
}

.chat-phone {
  position: relative;
  z-index: 3;
  width: 260px;
  margin: 0;
  padding: 8px;
  border: 1px solid #4b4d6a;
  border-radius: 42px;
  background: #272a40;
  box-shadow: 0 35px 90px rgba(20, 35, 69, .28);
  transform: rotate(3deg);
}

.chat-phone > div {
  overflow: hidden;
  border-radius: 33px;
}

.chat-phone img {
  width: 100%;
}

.product-section {
  padding-top: 105px;
  padding-bottom: 105px;
}

.product-section--soft {
  background: var(--soft);
}

.product-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 90px;
  align-items: start;
}

.product-section h2,
.product-cta h2 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -.055em;
}

.product-prose {
  max-width: 650px;
  padding-top: 38px;
  color: #3e4152;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.8;
}

.product-prose p {
  margin: 0 0 1.35em;
}

.product-section-heading {
  max-width: 900px;
  margin-bottom: 54px;
}

.product-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-steps article,
.product-feature-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.product-steps article {
  padding: 30px 27px 34px;
}

.product-steps article > span {
  font-family: 'JetBrains Mono', monospace;
  font-variant-ligatures: none;
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.product-section--soft .product-steps article > span {
  background: #fff;
}

.product-steps h3,
.product-feature-grid h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.04em;
}

.product-steps p,
.product-feature-grid p {
  margin: 0;
  color: var(--muted);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.product-steps--uses article > span {
  margin-bottom: 38px;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-feature-grid article {
  min-height: 210px;
  padding: 32px;
}

.product-feature-grid h3 {
  max-width: 340px;
  font-size: 23px;
}

.product-feature-grid p {
  max-width: 470px;
}

.product-cta {
  margin: 0 20px 20px;
  padding: 76px 0;
  border-radius: 26px;
  background: var(--dark);
  color: #fff;
}

.product-cta--chat {
  background: linear-gradient(125deg, #1c263b, #243a60);
}

.product-cta-inner {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.product-cta .eyebrow {
  color: #9bb2f0;
}

.telegram-button--light {
  flex: 0 0 auto;
  background: #fff;
  color: #25263a;
}

.telegram-button--light:hover {
  background: var(--accent-soft);
}

@media (max-width: 900px) {
  .product-hero-grid {
    grid-template-columns: 1fr 360px;
    gap: 28px;
  }

  .product-hero h1 {
    font-size: clamp(43px, 7vw, 65px);
  }

  .realty-preview {
    min-height: 440px;
  }

  .realty-preview-card {
    width: 92%;
  }

  .chat-preview {
    min-height: 500px;
  }

  .chat-preview::after {
    display: none;
  }

  .product-split {
    gap: 50px;
  }
}

@media (max-width: 720px) {
  .product-hero {
    padding: 72px 0 54px;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .product-hero h1 {
    font-size: clamp(39px, 11vw, 58px);
  }

  .product-intro {
    font-size: 17px;
  }

  .realty-preview {
    min-height: 370px;
  }

  .realty-preview-card {
    width: min(340px, 77%);
  }

  .realty-preview-card--one {
    top: 67px;
    left: 2%;
  }

  .realty-preview-card--two {
    top: 8px;
    right: -2%;
  }

  .realty-preview-card--three {
    right: 3%;
    bottom: 0;
  }

  .product-stats {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .product-stats > div,
  .product-stats > div:first-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-stats > div:last-child {
    border-bottom: 0;
  }

  .chat-preview {
    min-height: 455px;
  }

  .chat-preview::before {
    width: 360px;
    height: 360px;
  }

  .chat-preview-mark {
    left: 9%;
    width: 85px;
  }

  .chat-phone {
    width: 220px;
  }

  .product-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .product-split,
  .product-steps,
  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-split {
    gap: 15px;
  }

  .product-prose {
    padding-top: 15px;
    font-size: 17px;
  }

  .product-section-heading {
    margin-bottom: 36px;
  }

  .product-steps {
    gap: 14px;
  }

  .product-steps article {
    padding: 25px;
  }

  .product-steps article > span,
  .product-steps--uses article > span {
    margin-bottom: 30px;
  }

  .product-feature-grid article {
    min-height: 0;
    padding: 26px;
  }

  .product-cta {
    margin: 0 10px 10px;
    padding: 52px 0;
    border-radius: 22px;
  }

  .product-cta-inner {
    display: block;
  }

  .product-cta h2 {
    margin-bottom: 30px;
  }

}

:root[data-theme='dark'] .product-hero,
:root[data-theme='dark'] .product-hero--realty {
  background:
    radial-gradient(circle at 82% 16%, rgba(85, 125, 240, .2), transparent 32%),
    linear-gradient(180deg, #151d2b 0%, var(--paper) 78%);
}

:root[data-theme='dark'] .secondary-link,
:root[data-theme='dark'] .product-prose {
  color: #c5cedd;
}

:root[data-theme='dark'] .product-section--soft .product-steps article > span {
  background: var(--surface);
}

:root[data-theme='dark'] .realty-preview-card {
  border-color: #35435a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
}

@media (max-width: 420px) {
  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .telegram-button {
    width: 100%;
  }

  .secondary-link {
    align-self: flex-start;
  }

  .realty-preview {
    min-height: 330px;
  }

  .chat-preview::before {
    width: 300px;
    height: 300px;
  }
}
