:root {
  --pink: #e2037d;
  --pink-dark: #b80062;
  --green: #23ce6b;
  --black: #262335;
  --darkest: #312e3f;
  --dark: #5c5a68;
  --medium: #93919a;
  --light: #c9c8cd;
  --lightest: #f9fafb;
  --white: #ffffff;
  --radius: 10px;
  --radius-sm: 10px;
  --border: 1px solid rgba(0, 0, 0, 0.08);
  --border-light: 1px solid rgba(0, 0, 0, 0.06);
  --max: 1180px;
  --brand-1: #002eed;
  --brand-2: #0c2074;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --site-header-h: 64px;
}

.ag-product-page-v2 {
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* Theme .container has zero horizontal padding - match design-preview inset */
.ag-product-hero .container,
.ag-product-page-v2 .container {
  width: min(100% - 32px, var(--max));
  max-width: var(--max);
  margin-inline: auto;
}

html:has(.ag-product-page-v2) {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:has(.ag-product-page-v2) {
    scroll-behavior: auto;
  }
}

.ag-product-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--site-header-h) + 32px) 0 88px;
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1000px 600px at 25% 15%, rgba(0, 46, 237, 0.5), transparent 60%),
    radial-gradient(1200px 800px at 85% 85%, rgba(12, 32, 116, 0.8), transparent 70%),
    linear-gradient(135deg, #002eed 0%, #0429c3 35%, #08259e 65%, #0c2074 100%);
  background-size: 120% 120%;
  background-position: 0% 0%, 0% 0%, 0% 0%;
  animation: agGradientPan 18s ease-in-out infinite;
}

@keyframes agGradientPan {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%; }
  50%  { background-position: 100% 30%, 20% 100%, 100% 100%; }
  100% { background-position: 0% 0%, 0% 0%, 0% 0%; }
}

.ag-product-hero .hero__grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.ag-product-hero .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.ag-product-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.ag-product-hero .hero__tagline {
  margin: 0 0 28px;
  max-width: 32em;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.ag-product-hero .hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: 28px;
}

.ag-product-hero .hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ag-product-hero .hero__meta-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.ag-product-hero .hero__stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--white);
  font-size: 18px;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.star-rating__star {
  display: inline-block;
  line-height: 1;
}

.star-rating__star--empty {
  opacity: 0.35;
}

.star-rating__star--partial {
  position: relative;
  display: inline-block;
  width: 1em;
  color: transparent;
  line-height: 1;
}

.star-rating__star--partial::before,
.star-rating__star--partial::after {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1;
  content: '★';
}

.star-rating__star--partial::before {
  opacity: 0.35;
}

.star-rating__star--partial::after {
  width: var(--fill, 50%);
  overflow: hidden;
}

.ag-product-hero .hero__stars .star-rating {
  flex-shrink: 0;
}

.ag-product-hero .hero__stars .star-rating__star--half {
  position: relative;
  width: 1em;
  color: transparent;
}

.ag-product-hero .hero__stars .star-rating__star--half::before,
.ag-product-hero .hero__stars .star-rating__star--half::after {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--white);
  line-height: 1;
}

.ag-product-hero .hero__stars .star-rating__star--half::before {
  content: '★';
  opacity: 0.35;
}

.ag-product-hero .hero__stars .star-rating__star--half::after {
  content: '★';
  width: 50%;
  overflow: hidden;
}

.ag-product-hero .hero__stars .star-rating__star--partial::before,
.ag-product-hero .hero__stars .star-rating__star--partial::after {
  color: var(--white);
}

.ag-product-hero .hero__stars-count {
  margin-left: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.ag-product-hero .hero__meta-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.ag-product-hero .hero__meta-link:hover {
  opacity: 0.85;
}

.ag-product-hero .hero__meta-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
  border-radius: 4px;
}

.ag-product-hero .hero__meta-link strong {
  color: var(--white);
  font-weight: 600;
}

.ag-product-hero .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 16px;
}

.ag-product-hero .hero__actions > * {
  flex: 0 0 auto;
}

.ag-product-hero .hero__actions .btn,
.ag-product-hero .buy-dropdown__toggle {
  margin: 0;
}

.product-retired-notice {
  flex: 1 1 100%;
  max-width: 36em;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.product-retired-notice p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.product-retired-notice p:last-child {
  margin-bottom: 0;
}

.product-retired-notice__link a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-retired-notice--cta {
  max-width: 42em;
  margin: 0 auto 24px;
  background: var(--lightest);
  border: var(--border-light);
}

.product-retired-notice--cta p {
  color: var(--dark);
}

.product-retired-notice--cta .product-retired-notice__link a {
  color: var(--pink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: none;
  border: var(--border-light);
}

.btn--primary:hover {
  background: var(--pink-dark);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.ag-product-hero .buy-dropdown {
  position: relative;
}

.ag-product-hero .buy-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: var(--border-light);
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.4;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  white-space: nowrap;
  text-align: center;
}

.ag-product-hero .buy-dropdown__toggle:hover,
.ag-product-hero .buy-dropdown__toggle:focus {
  background: var(--white);
  color: var(--black);
  transform: none;
  box-shadow: none;
}

.ag-product-hero .buy-dropdown__toggle .price {
  color: var(--black);
  font-weight: 700;
}

.ag-product-hero .buy-dropdown__toggle--static {
  cursor: default;
}

.ag-product-hero .buy-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: none;
  border: var(--border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 20;
}

.ag-product-hero .buy-dropdown.is-open .buy-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ag-product-hero .buy-dropdown__menu button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--black);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  background: transparent;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  box-shadow: none;
}

.ag-product-hero .buy-dropdown__menu button:hover {
  background: var(--lightest);
  color: var(--black);
  transform: none;
}

.ag-product-hero .hero__note {
  margin: 0;
  max-width: 36em;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.ag-product-hero .hero__requirements {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  text-align: left;
}

.ag-product-hero .hero__requirements-php {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  white-space: nowrap;
}

.ag-product-hero .hero__requirements-php img {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  top: 2px;
}

.ag-product-hero .hero__requirements-help {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.ag-product-hero .hero__requirements:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ag-product-hero .hero__visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 44px;
}

@media (min-width: 992px) {
  .ag-product-hero .hero__visual {
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
  }
}

.ag-product-hero .hero__card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--card-1, var(--brand-1)), var(--card-2, var(--brand-2)));
}

.ag-product-hero .hero__card-logo {
  display: block;
  max-width: min(100%, 320px);
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ag-product-hero .hero__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: var(--border-light);
}

.ag-product-hero .hero__card-frame--featured {
  padding: 6px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.ag-product-hero .hero__card--featured {
  border: none;
  border-radius: calc(var(--radius) - 4px);
  background-color: var(--brand-2);
  background-image:
    radial-gradient(1000px 600px at 75% 85%, color-mix(in srgb, var(--brand-1) 50%, transparent), transparent 60%),
    radial-gradient(1200px 800px at 15% 15%, color-mix(in srgb, var(--brand-2) 80%, transparent), transparent 70%),
    linear-gradient(315deg, var(--brand-2) 0%, var(--brand-1) 100%);
}

.ag-product-hero .hero__card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ag-product-hero .hero__card--featured img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  padding: 20px 24px;
  background: transparent;
}

/* Decorative hero icons on product/plugin visual areas */
.plugin-card__visual,
.docs-kb-card__visual,
.ag-product-hero .hero__card--featured,
.ag-product-hero .hero__card--brand .hero__card-visual {
  isolation: isolate;
}

.hero-icons--product {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.3;
  filter: brightness(0.88);
}

.hero-icons--product .hero-icons-left,
.hero-icons--product .hero-icons-right {
  position: absolute;
  top: 50%;
  width: 50%;
  max-width: 220px;
  height: 110%;
  min-height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}

.hero-icons--product .hero-icons-left {
  left: -4%;
  background-image: url('../img/interface/hero-icons/hero-left.svg');
  background-position: left center;
}

.hero-icons--product .hero-icons-right {
  right: -4%;
  background-image: url('../img/interface/hero-icons/hero-right.svg');
  background-position: right center;
}

.plugin-card__visual .hero-icons--product,
.docs-kb-card__visual .hero-icons--product {
  opacity: 0.3;
  filter: brightness(0.9);
}

.plugin-card__visual .hero-icons--product .hero-icons-left,
.plugin-card__visual .hero-icons--product .hero-icons-right,
.docs-kb-card__visual .hero-icons--product .hero-icons-left,
.docs-kb-card__visual .hero-icons--product .hero-icons-right {
  max-width: 130px;
  width: 46%;
}

.plugin-card__logo,
.ag-product-hero .hero__card-logo,
.docs-kb-card__visual img {
  position: relative;
  z-index: 1;
}

.ag-product-hero .hero__card--brand .hero__card-visual {
  position: relative;
  overflow: hidden;
}

.ag-product-hero .hero__card--brand {
  overflow: hidden;
  border-radius: var(--radius);
  border: var(--border-light);
  background: var(--white);
}

.ag-product-hero .hero__review {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: min(78%, 320px);
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: var(--border-light);
  color: var(--black);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.ag-product-hero .hero__review:hover {
  border-color: rgba(0, 0, 0, 0.14);
  transform: translateX(-50%) translateY(-2px);
}

@media (min-width: 992px) {
  .ag-product-hero .hero__review {
    left: auto;
    right: 6%;
    transform: none;
    width: min(68%, 300px);
  }

  .ag-product-hero .hero__review:hover {
    transform: translateY(-2px);
  }
}

.ag-product-hero .hero__review-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lightest);
}

.ag-product-hero .hero__review-content {
  min-width: 0;
  flex: 1;
}

.ag-product-hero .hero__review-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ag-product-hero .hero__review-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ag-product-hero .hero__review-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.ag-product-hero .hero__review-meta .hero__review-stars {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--pink);
}

.ag-product-hero .hero__review-read {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--pink);
}

/* ── Sticky product nav ── */
.product-nav-sentinel {
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.product-nav {
  position: sticky;
  top: var(--site-header-h);
  z-index: 490;
  background: var(--white);
  border-bottom: var(--border-light);
}

.product-nav.is-fixed {
  position: fixed;
  top: var(--site-header-h);
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.product-nav-placeholder {
  display: none;
}

.product-nav-placeholder.is-active {
  display: block;
}

.product-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.product-nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-nav__inner::-webkit-scrollbar {
  display: none;
}

.product-nav__links::-webkit-scrollbar {
  display: none;
}

.product-nav__links {
  display: flex;
  gap: 4px;
}

.product-nav__links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
}

.product-nav__links a.nav-link--external::after {
  content: "↗";
  margin-left: 4px;
  font-size: 11px;
  opacity: 0.55;
}

.product-nav__links button {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
  background: transparent;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  box-shadow: none;
}

.product-nav__links a:hover,
.product-nav__links a.is-active,
.product-nav__links button:hover {
  background: rgba(226, 3, 125, 0.08);
  color: var(--pink);
}

.product-nav__cta {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding-left: 12px;
  background: var(--white);
}

.product-nav__cta .btn {
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
}

/* ── Sections ── */
.section {
  padding: 72px 0;
}

.ag-product-page-v2 .section[id],
.ag-product-page-v2 #reviews,
.ag-product-page-v2 #cta {
  scroll-margin-top: 128px;
}

.section--tight {
  padding: 40px 0;
}

.section--band {
  background: var(--lightest);
}

.section__header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section__header p {
  margin: 0;
  color: var(--dark);
  font-size: 17px;
}

.section__header--compact {
  margin-bottom: 32px;
}

.section__header--compact h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

/* ── Trust logos (static social proof) ── */
.trust-logos {
  padding: 36px 0 40px;
  background: var(--white);
  border-bottom: var(--border-light);
}

.trust-logos__eyebrow {
  margin: 0 0 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--medium);
}

.trust-logos__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-logos__list li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-logos__list img {
  display: block;
  width: auto;
  height: 30px;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.trust-logos__list img:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .trust-logos__list {
    gap: 32px 56px;
  }

  .trust-logos__list img {
    height: 34px;
  }
}

.feature-card__icon ion-icon {
  font-size: 24px;
}

/* ── Feature rows ── */
.feature-row {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .feature-row--reverse .feature-row__media {
    order: 2;
  }

  .feature-row--reverse .feature-row__content {
    order: 1;
  }
}

.feature-row__label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
}

.feature-row h3 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-row__lead {
  margin: 0 0 24px;
  color: var(--dark);
  font-size: 17px;
  line-height: 1.65;
}

.feature-row__cta {
  margin-top: 28px;
  margin-bottom: 0;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 28px;
  color: var(--dark);
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

/* ── Product screenshots ── */
.product-shot {
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f0f0f2;
  border: var(--border-light);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
}

.product-shot-embed {
  max-width: 1080px;
  line-height: 0;
  border-radius: 12px;
  background: #f0f0f2;
  border: var(--border-light);
  transition: border-color 0.2s, transform 0.2s;
}

.product-shot-embed-open {
  display: block;
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  cursor: zoom-in;
}

.product-shot-embed-open:focus-visible {
  outline: none;
}

.product-shot-embed-open:focus-visible .product-shot-embed {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.product-shot-embed-open:hover .product-shot-embed {
  border-color: rgba(226, 3, 125, 0.25);
  transform: translateY(-1px);
}

.product-shot-embed-open .product-shot-embed__frame iframe {
  pointer-events: none;
}

.product-shot-embed-open .screenshot-open__hint--pink {
	color: var(--pink);
}

.feature-shot-open {
	display: block;
	width: 100%;
	max-width: 540px;
	margin-inline: auto;
	cursor: zoom-in;
}

.feature-shot-open:focus-visible {
	outline: none;
}

.feature-shot-open:focus-visible .product-shot {
	outline: 2px solid var(--pink);
	outline-offset: 4px;
}

.feature-shot-open:hover .product-shot {
	border-color: rgba(226, 3, 125, 0.25);
	transform: translateY(-1px);
}

.feature-shot-open .screenshot-open__hint--pink {
	color: var(--pink);
}

.product-shot-embed__frame {
  position: relative;
  padding-top: 62.5%;
  overflow: hidden;
}

.product-shot-embed__frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  vertical-align: top;
}

.lightbox-trigger {
  cursor: zoom-in;
  outline: none;
  transition: border-color 0.2s, transform 0.2s;
}

.lightbox-trigger:hover {
  border-color: rgba(226, 3, 125, 0.25);
  transform: translateY(-1px);
}

.lightbox-trigger:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.lightbox-trigger img {
  pointer-events: none;
  user-select: none;
}

.product-shot--carousel {
  max-width: none;
}

.product-shot--carousel img {
  aspect-ratio: 16 / 10;
}

/* ── Stats (brand gradient strip - variant C) ── */
.stats-c {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
}

.stats-c__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .stats-c__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.stats-c__item {
  padding: 28px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.stats-c .stat-card__num {
  margin-bottom: 8px;
}

.stats-c .stat-card__num-prefix {
  color: rgba(255, 255, 255, 0.65);
}

.stats-c .stat-card__num-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.stats-c .stat-card__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.stat-card__num--split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.stat-card__num-prefix {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ── Features bento grid ── */
.features-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: var(--border-light);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.12);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 0, 140, 0.12), rgba(142, 0, 189, 0.12));
  color: var(--pink);
  font-size: 24px;
}

.feature-card h4 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--dark);
  line-height: 1.6;
}

.feature-card strong {
  font-weight: 700;
  color: var(--black);
}

/* ── Shared marketing sections (plugins, reviews, about) ── */
.plugins-why {
  padding: 72px 0;
  background: var(--white);
}

.plugins-why .feature-card__icon {
  margin-inline: auto;
}

.plugins-why .feature-card h4 {
  text-align: center;
}

.ag-marketing-sections {
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.ag-marketing-sections .container {
  width: min(100% - 32px, var(--max));
  max-width: var(--max);
  margin-inline: auto;
}

.ag-marketing-sections .trust-logos,
:is(.ag-plugins-page, .ag-home-page) .trust-logos {
  padding-bottom: 80px;
}

/* legacy logo strip removed - see trusted-brands */

/* ── Screenshots carousel ── */
.carousel {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 48px;
}

.carousel .product-shot {
  max-width: none;
  width: 100%;
}

.screenshot-slide {
  cursor: zoom-in;
  outline: none;
}

.screenshot-slide:hover .product-shot {
  border-color: rgba(226, 3, 125, 0.25);
}

.screenshot-slide:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.screenshot-slide img,
.lightbox-trigger iframe {
  pointer-events: none;
  user-select: none;
}

.product-shot--video-thumb {
  position: relative;
  overflow: hidden;
}

.product-shot__video-placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
}

.product-shot__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(226, 3, 125, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.product-shot__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.modal-overlay--lightbox.is-video {
  backdrop-filter: none;
}

.screenshot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
  position: relative;
}

.screenshot-open:hover .product-shot {
  border-color: rgba(226, 3, 125, 0.25);
}

.screenshot-open__hint {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--medium);
}

.screenshot-open:hover .screenshot-open__hint {
  color: var(--pink);
}

.screenshot-slide:hover .screenshot-open__hint {
  color: var(--pink);
}

.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel__track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel__slide {
  flex: 0 0 100%;
  padding: 0 8px;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: none;
  border: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  z-index: 2;
}

.carousel__nav:hover {
  background: var(--lightest);
}

.carousel__nav--prev { left: 0; }
.carousel__nav--next { right: 0; }

.carousel__caption {
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

/* ── Reviews carousel ── */
.reviews-carousel {
  position: relative;
  padding: 0 48px;
}

.reviews-carousel--no-nav {
  padding-left: 0;
  padding-right: 0;
}

.reviews-carousel__viewport {
  overflow: hidden;
  padding-block: 4px;
  margin-block: -4px;
}

.reviews-carousel__track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.reviews-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}

@media (min-width: 768px) {
  .reviews-carousel__slide {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (min-width: 992px) {
  .reviews-carousel__slide {
    flex: 0 0 calc(33.333% - 14px);
  }
}

.reviews-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  border: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 22px;
  z-index: 2;
}

.reviews-carousel__nav:hover:not(:disabled) {
  background: var(--lightest);
}

.reviews-carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-carousel__nav--prev { left: 0; }
.reviews-carousel__nav--next { right: 0; }

.review-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none;
  border: var(--border-light);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  text-align: left;
  font: inherit;
  color: inherit;
  overflow: hidden;
}

.review-card:hover {
  border-color: rgba(226, 3, 125, 0.25);
  transform: translateY(-1px);
}

.review-card__stars {
  color: var(--pink);
  margin-bottom: 12px;
  letter-spacing: 2px;
  font-size: 14px;
}

.review-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.review-card__body {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--dark);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  min-width: 0;
}

.review-card__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.review-card__read {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
}

.modal-overlay .modal__body {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.review-modal__stars {
  margin-bottom: 12px;
  color: var(--pink);
  letter-spacing: 2px;
}

.review-modal__author {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.review-modal__site {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--medium);
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--black);
}

.faq-item__q span {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lightest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--pink);
  transition: transform 0.2s;
}

.faq-item.is-open .faq-item__q span {
  transform: rotate(45deg);
}

.faq-item__a {
  display: none;
  padding-bottom: 20px;
  color: var(--dark);
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.is-open .faq-item__a {
  display: block;
}

/* legacy value-props removed - see why-ag */

/* ── CTA band ── */
.cta-band {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-1, var(--darkest)), var(--brand-2, var(--black)));
  color: var(--white);
  border-radius: var(--radius);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}

.cta-band > p:not(.cta-band__note) {
  max-width: 36em;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.cta-band__note {
  margin: 40px auto 0;
  max-width: none;
  font-size: 13px;
  color: var(--white);
}

.modal-overlay > .modal--requirements {
  width: min(100%, 840px);
}

.modal--requirements .modal__body > :last-child {
  margin-bottom: 0;
}

.requirements-modal__cta {
  margin-top: 24px;
  margin-bottom: 0;
}

/* ── Modals ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: min(10vh, 80px) 16px 24px;
  background: rgba(38, 35, 53, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  overflow-y: auto;
}

.modal-overlay:not(.modal-overlay--lightbox) {
  align-items: center;
  padding: 24px 16px;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay > .modal {
  display: block;
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100vh - 48px);
  height: auto;
  flex: 0 0 auto;
  overflow-y: auto;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: none;
  border: var(--border);
  transform: translateY(12px);
  transition: transform 0.2s;
}

.modal-overlay.is-open > .modal {
  transform: translateY(0);
}

.modal-overlay .modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lightest);
  color: var(--dark);
  font-size: 22px;
  line-height: 1;
}

.modal-overlay .modal__close:hover {
  background: var(--light);
}

.modal-overlay .modal h2 {
  margin: 0 32px 20px 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-overlay .modal h4 {
  margin: 24px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}

.modal-overlay .modal p,
.modal-overlay .modal li {
  color: var(--dark);
  font-size: 15px;
  line-height: 1.65;
}

.modal-overlay .modal ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.changelog-section {
  overflow: hidden;
  font-size: 14px;
  border-radius: var(--radius);
  border: var(--border-light);
}

.changelog-section + .changelog-section {
  margin-top: 16px;
}

.changelog-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--black);
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
}

.changelog-section__date {
  font-size: 13px;
  font-weight: 500;
  color: var(--medium);
}

.changelog-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 16px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--lightest);
}

.changelog-row:last-child {
  border-bottom: none;
}

.changelog-row__type {
  flex-shrink: 0;
  width: 72px;
  padding: 3px 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: var(--radius-sm);
  background: rgba(92, 90, 104, 0.1);
  color: var(--dark);
}

.changelog-row__type--new { background: rgba(35, 206, 107, 0.15); color: #128744; }
.changelog-row__type--fix { background: rgba(226, 3, 125, 0.12); color: var(--pink); }
.changelog-row__type--dev { background: rgba(0, 46, 237, 0.1); color: #002eed; }
.changelog-row__type--update { background: rgba(142, 0, 189, 0.1); color: #7a009f; }
.changelog-row__type--change { background: rgba(255, 152, 0, 0.15); color: #b36b00; }
.changelog-row__type--improvement {
  width: auto;
  min-width: 72px;
  padding-left: 8px;
  padding-right: 8px;
  background: rgba(0, 174, 239, 0.12);
  color: #0077b6;
}

.changelog-row__text {
  flex: 1;
  min-width: min(100%, 280px);
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark);
}

.changelog-row__text code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.92em;
}

.modal-overlay > .modal--changelog {
  width: min(100%, 640px);
}

.modal-overlay .modal--changelog .modal__body {
  padding-right: 4px;
}

body.modal-open {
  overflow: hidden;
}

/* ── Screenshot lightbox ── */
.modal-overlay--lightbox {
  align-items: flex-start;
  padding: min(5vh, 48px) 12px 32px;
}

.modal-overlay > .modal--lightbox {
  width: min(calc(100vw - 24px), 1320px);
  max-height: none;
  padding: 16px;
  overflow: visible;
}

.modal-overlay .modal--lightbox .modal__close {
  top: 12px;
  right: 12px;
}

.screenshot-modal__caption {
  margin: 0 40px 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  text-align: center;
}

.screenshot-modal__frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border-light);
  background: #f0f0f2;
}

.screenshot-modal__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 200px);
  object-fit: contain;
}

.screenshot-modal__frame img[hidden],
.screenshot-modal__video[hidden] {
  display: none;
}

.screenshot-modal__video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.screenshot-modal__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-overlay--lightbox.is-video .modal--lightbox {
  width: min(calc(100vw - 24px), 1200px);
}

.modal-overlay--lightbox.is-embed .screenshot-modal__video {
  padding-bottom: 62.5%;
}

.modal-overlay--lightbox.is-embed .modal--lightbox {
  width: min(calc(100vw - 16px), 1440px);
}

/* ── Key feature rows (after grid) ── */
.key-features {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.key-features .feature-row + .feature-row {
  padding-top: 0;
}

/* External link arrow - hero sits outside .ag-product-page-v2 */
.ag-product-hero a.nav-link--external::after,
.ag-product-hero .btn.nav-link--external::after,
.ag-product-page-v2 a.nav-link--external::after,
.ag-product-page-v2 .btn.nav-link--external::after {
  content: "↗";
  margin-left: 4px;
  font-size: 11px;
  opacity: 0.55;
}

.ag-product-page-v2 .faq-item__q {
  background: transparent;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  box-shadow: none;
  width: 100%;
  padding: 20px 0;
}

.ag-product-page-v2 .faq-item__a .richtext > :first-child {
  margin-top: 0;
}

.ag-product-page-v2 .faq-item__a .richtext > :last-child {
  margin-bottom: 0;
}

.stats-c--no-rating .stats-c__grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .stats-c--no-rating .stats-c__grid {
    max-width: 720px;
    margin-inline: auto;
  }
}

/* Override legacy theme conflicts on product page v2 */
.ag-product-page-v2 [data-reviews-carousel] {
  display: block;
  grid-template-columns: none;
  grid-gap: 0;
}

.ag-product-page-v2 .review-card {
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

/* ── Mobile product page ── */
@media (max-width: 767px) {
  .ag-product-hero {
    padding: calc(var(--site-header-h) + 16px) 0 32px;
  }

  .ag-product-hero .hero__grid {
    gap: 28px;
  }

  .ag-product-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .ag-product-hero .hero__tagline {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .ag-product-hero .hero__meta {
    gap: 16px 24px;
    margin-bottom: 20px;
  }

  .ag-product-hero .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
  }

  .ag-product-hero .hero__actions .buy-dropdown {
    grid-column: 1 / -1;
  }

  .ag-product-hero .hero__actions .btn--primary:only-child,
  .ag-product-hero .hero__actions .buy-dropdown:only-child {
    grid-column: 1 / -1;
  }

  .ag-product-hero .hero__actions .buy-dropdown + .btn--primary:last-child:nth-child(2) {
    grid-column: 1 / -1;
  }

  .ag-product-hero .hero__actions .btn,
  .ag-product-hero .buy-dropdown {
    width: auto;
    min-width: 0;
  }

  .ag-product-hero .buy-dropdown__toggle,
  .ag-product-hero .buy-dropdown__toggle--static {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .ag-product-hero .buy-dropdown__menu {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
  }

  .ag-product-hero .hero__note {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .ag-product-hero .hero__requirements {
    flex-wrap: wrap;
    max-width: 100%;
    margin-top: 12px;
    font-size: 13px;
  }

  .ag-product-hero .hero__visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 0;
  }

  .ag-product-hero .hero__card--featured img {
    padding: 14px 16px;
  }

  .ag-product-hero .hero__review {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 14px 16px;
  }

  .ag-product-hero .hero__review:hover {
    transform: none;
  }

  .ag-product-hero .hero__review-read {
    margin-left: 0;
  }

  .product-nav.is-fixed {
    margin-top: -8px !important;
  }

  .product-nav__inner {
    min-height: 52px;
    gap: 8px;
  }

  .product-nav__cta {
    padding-left: 8px;
  }

  .product-nav__cta .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .product-nav__links a,
  .product-nav__links button {
    padding: 8px 12px;
    font-size: 12px;
  }

  .ag-product-page-v2 .section {
    padding: 48px 0;
  }

  .ag-product-page-v2 .section--tight {
    padding: 28px 0;
  }

  .ag-product-page-v2 .section__header {
    margin-bottom: 32px;
  }

  .ag-product-page-v2 .section__header p {
    font-size: 15px;
  }

  .ag-product-page-v2 .section[id],
  .ag-product-page-v2 #reviews,
  .ag-product-page-v2 #cta {
    scroll-margin-top: calc(var(--site-header-h) + 64px);
  }

  .trust-logos {
    padding: 28px 0 32px;
  }

  .ag-marketing-sections .trust-logos,
  :is(.ag-plugins-page, .ag-home-page) .trust-logos {
    padding-bottom: 56px;
  }

  .trust-logos__list {
    gap: 20px 28px;
  }

  .trust-logos__list img {
    height: 24px;
    max-width: 150px;
  }

  .stats-c {
    padding: 32px 0;
  }

  .stats-c__item {
    padding: 20px 16px;
  }

  .stats-c .stat-card__num-value {
    font-size: 2rem;
  }

  .stats-c--no-rating .stats-c__grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-row {
    gap: 28px;
  }

  .feature-row__lead {
    font-size: 16px;
  }

  .key-features {
    gap: 48px;
  }

  .carousel {
    padding-inline: 40px;
  }

  .carousel__nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .reviews-carousel {
    padding-inline: 40px;
  }

  .reviews-carousel__nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .reviews-carousel--no-nav {
    padding-inline: 0;
  }

  .faq-item__q {
    font-size: 15px;
    gap: 12px;
  }

  .cta-band {
    padding: 48px 20px;
  }

  .cta-band > p:not(.cta-band__note) {
    font-size: 15px;
  }

  .cta-band__note {
    margin-top: 24px;
  }

  .changelog-row {
    flex-direction: column;
    gap: 8px;
  }

  .changelog-row__text {
    min-width: 0;
    width: 100%;
  }

  .modal-overlay:not(.modal-overlay--lightbox) {
    align-items: flex-start;
    padding: 16px 12px;
  }

  .modal-overlay > .modal {
    padding: 24px 20px;
    max-height: calc(100dvh - 32px);
  }

  .modal-overlay .modal h2 {
    font-size: 1.35rem;
    padding-right: 36px;
  }
}

@media (max-width: 991px) {
  .ag-product-page-v2,
  .ag-product-hero,
  .ag-home-page,
  .ag-reviews-page {
    overflow-x: clip;
  }
}

/* Site header — scroll state for v2 marketing pages */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  width: 100%;
}

.site-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.site-header.site-scrolled::after {
  transform: scaleY(1);
}

.site-header-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--site-header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.4s ease;
}

.site-header.site-scrolled .site-header-container {
  border-bottom-color: transparent;
}

.site-header-logo {
  position: relative;
  display: block;
  height: 36px;
  flex-shrink: 0;
}

.site-header-logo svg {
  display: block;
  height: 100%;
  width: auto;
}

.site-header-logo-primary,
.site-header-logo-inverted {
  transition: opacity 0.4s ease;
}

.site-header-logo-inverted {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.site-header.site-scrolled .site-header-logo-primary {
  opacity: 0;
}

.site-header.site-scrolled .site-header-logo-inverted {
  opacity: 1;
}

.site-header-nav a,
.site-header-nav li a {
  color: var(--white);
  transition: color 0.4s ease;
}

.site-header-nav a:hover,
.site-header-nav li a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.site-header.site-scrolled .site-header-nav a,
.site-header.site-scrolled .site-header-nav li a {
  color: var(--black);
}

.site-header.site-scrolled .site-header-nav a:hover,
.site-header.site-scrolled .site-header-nav li a:hover,
.site-header.site-scrolled .site-header-nav .current-menu-item > a {
  color: var(--pink);
}

.site-header .site-menu-trigger {
  color: var(--white);
  transition: color 0.4s ease;
}

.site-header.site-scrolled .site-menu-trigger {
  color: var(--black);
}

.site-header.site-header-inverted .site-header-logo-primary {
  opacity: 0;
}

.site-header.site-header-inverted .site-header-logo-inverted {
  opacity: 1;
}

.site-header.site-header-inverted .site-header-nav a,
.site-header.site-header-inverted .site-header-nav li a,
.site-header.site-header-inverted .site-menu-trigger {
  color: var(--black);
}
