.site-header {
  width: min(1440px, calc(100% - 24px));
  min-height: 64px;
  margin-top: 10px;
  padding: 10px 14px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-product-type {
  color: #8bb7ff;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.hero.hero-product {
  width: min(1440px, calc(100% - 32px));
  min-height: auto;
  padding: 28px 0 38px;
  display: block;
}

.hero-title {
  margin: 0 auto 22px;
  text-align: center;
}

.hero-title h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.75rem, 4.5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.hero-product-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.64fr) minmax(640px, 1.36fr);
  gap: 30px;
  align-items: start;
}

.hero-copy-compact,
.product-preview {
  align-self: start;
}

.hero-copy-compact {
  padding-top: 10px;
  text-align: left;
}

.hero-copy-compact .hero-text {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-copy-compact .hero-actions {
  justify-content: flex-start;
  margin-top: 20px;
}

.hero-copy-compact .release-note {
  margin: 10px 0 0;
  text-align: left;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-facts span {
  padding: 7px 11px;
  border: 1px solid rgba(139, 183, 255, 0.24);
  border-radius: 999px;
  color: #c8dcff;
  background: rgba(59, 130, 246, 0.09);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.product-preview {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(18, 35, 58, 0.96), rgba(4, 11, 20, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.product-preview-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 0 2px 10px;
}

.product-preview-heading span {
  color: #8bb7ff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.product-preview-heading strong {
  font-size: 0.86rem;
  color: #f6f9fc;
}

.product-preview a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: #020812;
  cursor: zoom-in;
}

.product-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.product-preview figcaption {
  margin: 9px 2px 0;
  color: #8196ad;
  font-size: 0.72rem;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  width: min(96vw, 1560px);
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: #f6f9fc;
  background: #07111f;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.72);
}

.image-lightbox::backdrop {
  background: rgba(1, 7, 15, 0.88);
  backdrop-filter: blur(8px);
}

.image-lightbox-frame {
  position: relative;
  padding: 50px 12px 12px;
}

.image-lightbox img {
  width: 100%;
  max-height: calc(100vh - 86px);
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
}

.image-lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Wider desktop canvas with clean, even side edges. */
.section-shell,
footer {
  width: min(1360px, calc(100% - 48px));
}

/* Keep sections visually separated without creating large empty fields. */
.section-block {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* The proof panel already has generous internal padding, so the pricing section can sit a little closer. */
.proof-section + .pricing-section {
  padding-top: 34px;
}

@media (min-width: 1081px) and (max-height: 780px) {
  .hero.hero-product {
    min-height: auto;
    padding-top: 22px;
    padding-bottom: 30px;
  }

  .hero-title {
    margin-bottom: 18px;
  }

  .hero-title h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
  }

  .hero-copy-compact .hero-text {
    font-size: 1rem;
  }
}

@media (max-width: 1180px) {
  .header-product-type {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero.hero-product {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 38px;
  }

  .hero-product-grid {
    grid-template-columns: 1fr;
    max-width: 920px;
    margin: 0 auto;
  }

  .hero-copy-compact {
    padding-top: 0;
    text-align: center;
  }

  .hero-copy-compact .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy-compact .hero-actions,
  .hero-facts {
    justify-content: center;
  }

  .hero-copy-compact .release-note {
    text-align: center;
  }

  .section-shell,
  footer {
    width: min(920px, calc(100% - 36px));
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 16px, 1440px);
  }

  .header-cta {
    gap: 0;
  }

  .hero.hero-product {
    width: min(100% - 22px, 1440px);
    padding: 30px 0 34px;
  }

  .hero-title {
    margin-bottom: 20px;
  }

  .hero-title h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.4rem);
    white-space: normal;
  }

  .hero-product-grid {
    gap: 20px;
  }

  .hero-copy-compact .hero-actions {
    flex-direction: column;
  }

  .hero-copy-compact .hero-actions .button {
    width: 100%;
  }

  .product-preview {
    padding: 8px;
    border-radius: 17px;
  }

  .product-preview-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .image-lightbox {
    width: calc(100vw - 16px);
    border-radius: 14px;
  }

  .image-lightbox-frame {
    padding: 46px 6px 6px;
  }

  .section-shell,
  footer {
    width: calc(100% - 24px);
  }

  .section-block {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .proof-section + .pricing-section {
    padding-top: 32px;
  }
}
