:root {
  --z-site-width: 1536px;
  --z-site-gutter: 16px;
}

.container {
  width: min(var(--z-site-width), calc(100% - (var(--z-site-gutter) * 2)));
  max-width: var(--z-site-width);
  margin-inline: auto;
  padding-inline: 0;
}

.hero-split {
  display: grid;
  gap: 2.5rem;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: -15px;
  margin-right: -15px;
}

.hero-copy-col,
.hero-visual-col {
  position: relative;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.hero-media {
  position: relative;
}

.hero-media-shell {
  position: relative;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .hero-copy-col {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .hero-visual-col {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .hero-split {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    align-items: center;
  }

  .hero-media {
    padding-left: 2rem;
  }

  .hero-media-shell {
    margin-top: 0;
    padding-left: 2rem;
  }
}

/* ----------------------------------------------------------------- */
/* Scroll-reveal: applied by site.js IntersectionObserver            */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

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

/* ----------------------------------------------------------------- */
/* Top scroll-progress indicator                                     */
#zchat-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 100;
  background: #0d0d0d;
  pointer-events: none;
  box-shadow: none;
  transition: width 80ms linear;
}

/* ----------------------------------------------------------------- */
/* Code-tab "active" pill state                                      */
[data-code-tabs] [data-tab].is-active {
  /* visual is driven by JS adding the emerald classes; keep this
     selector as a hook for future styling overrides */
}

/* ----------------------------------------------------------------- */
/* Subtle hover-lift for cards (pricing tiers, feature cards)        */
.lift {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.lift:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.release-proof-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dbdbdb;
  border-radius: 12px;
  background: #dbdbdb;
  box-shadow: none;
}

.release-proof-intro,
.release-proof-card {
  background: #ffffff;
  padding: 1.5rem;
}

.release-proof-intro h2 {
  margin-top: 1.1rem;
  max-width: 48rem;
  color: #0d0d0d;
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1.06;
}

.release-proof-intro p,
.release-proof-card p {
  margin-top: 0.85rem;
  color: #4d4d4d;
  line-height: 1.7;
}

.release-proof-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  background: #f8f8f8;
  color: #0d0d0d;
}

.release-proof-card h3 {
  margin-top: 1rem;
  color: #0d0d0d;
  font-size: 1.1rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .release-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .release-proof-intro {
    grid-column: 1 / -1;
    padding: 2rem;
  }

  .release-proof-card {
    padding: 1.75rem;
  }
}

@media (min-width: 1180px) {
  .release-proof-grid {
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.75fr));
  }

  .release-proof-intro {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --z-site-gutter: 11px;
  }

  .release-proof-intro h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lift,
  .lift:hover {
    transform: none;
    transition: none;
  }
}
