/* =====================================================================
   products.css — Codreum products page, brought into the home redesign
   system (light, full-width, centered). Styling layer only: no render or
   checkout logic is touched. Scoped to body.page-products. Loads after
   style.css and theme.modern.css.  v: pd1-v279-subscription-polish
   ===================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

body.page-products {
  --pr-surface: #ffffff;
  --pr-2: #fbfbfe;
  --pr-line: #e7e9f2;
  --pr-line2: #d8dbea;
  --pr-indigo: #5b4be6;
  --pr-violet: #8b3fd0;
  --pr-magenta: #c13da6;
  --pr-teal: #0a8c99;
  --pr-text: #101426;
  --pr-muted: #5a6378;
  --pr-faint: #8a93a8;
  --pr-grad: linear-gradient(95deg, #5b4be6, #8b3fd0 48%, #c13da6);
  --pr-grad-soft: linear-gradient(
    135deg,
    rgba(91, 75, 230, 0.1),
    rgba(193, 61, 166, 0.07)
  );
  --pr-disp: "Space Grotesk", system-ui, sans-serif;
  --pr-body: "Inter", system-ui, sans-serif;
  --pr-mono: "JetBrains Mono", ui-monospace, monospace;
  --pr-r: 16px;
  --pr-rlg: 22px;
  --pr-sh: 0 1px 2px rgba(16, 22, 42, 0.04), 0 12px 30px rgba(16, 22, 42, 0.07);
  --pr-shlg: 0 24px 60px rgba(16, 22, 42, 0.13);
  font-family: var(--pr-body);
  color: var(--pr-text);
  background:
    radial-gradient(
      1100px 480px at 84% 2%,
      rgba(193, 61, 166, 0.06),
      transparent 60%
    ),
    radial-gradient(
      900px 420px at -4% 1%,
      rgba(91, 75, 230, 0.07),
      transparent 55%
    ),
    #f6f7fb;
}

/* full-width page, centered content column with guaranteed gutters */
body.page-products main.wrap {
  max-width: none;
  width: 100%;
  margin: 12px 0;
  padding: 0;
}
body.page-products main.wrap > section {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: clamp(24px, 4vw, 52px);
  padding-right: clamp(24px, 4vw, 52px);
  box-sizing: border-box;
}

/* headings + eyebrows */
body.page-products h1,
body.page-products h2,
body.page-products h3,
body.page-products .labs-title,
body.page-products .labs-sectionHd {
  font-family: var(--pr-disp);
  letter-spacing: -0.02em;
  color: var(--pr-text);
}
body.page-products .labs-kicker,
body.page-products .labs-proofIntro__eyebrow,
body.page-products .managed-form-heading {
  font-family: var(--pr-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pr-teal);
}

/* hero */
body.page-products .hero {
  border: none;
  background: none;
  box-shadow: none;
  padding: 48px 0 8px;
  border-radius: 0;
}
body.page-products .hero h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.05;
}
body.page-products .hero .labs-sub,
body.page-products .hero p {
  color: var(--pr-muted);
  font-size: 17px;
}

/* buttons */
body.page-products .btn {
  font-family: var(--pr-body);
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--pr-line2);
  background: #fff;
  color: var(--pr-text);
  transition: 0.18s;
  box-shadow: var(--pr-sh);
}
body.page-products .btn:hover {
  border-color: var(--pr-indigo);
  transform: translateY(-1px);
}
body.page-products .btn.primary {
  background: var(--pr-grad);
  border: none;
  color: #fff;
  box-shadow: 0 10px 28px rgba(123, 58, 208, 0.32);
}
body.page-products .btn.primary:hover {
  box-shadow: 0 16px 38px rgba(123, 58, 208, 0.46);
}
body.page-products .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 75, 230, 0.4);
}

/* flagship section */
body.page-products .labs-flagship {
  border-radius: var(--pr-rlg);
  border: 1px solid var(--pr-line);
  box-shadow: var(--pr-sh);
  background:
    radial-gradient(
      820px 320px at 92% -12%,
      rgba(20, 184, 196, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, #fff, #fbfaff);
}
body.page-products .labs-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
}
body.page-products .labs-sub {
  color: var(--pr-muted);
}
body.page-products .labs-trust span,
body.page-products .labs-trust .chip {
  font-family: var(--pr-body);
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid var(--pr-line);
  background: #fff;
  color: var(--pr-muted);
}

/* feature + capability cards */
body.page-products .labs-featureCard,
body.page-products .labs-capabilityCard,
body.page-products .labs-capabilityPanel,
body.page-products .managed-card-context,
body.page-products .products-sharedRoadmap__card {
  border-radius: var(--pr-r);
  border: 1px solid var(--pr-line);
  background: #fff;
  box-shadow: var(--pr-sh);
  transition: 0.2s;
}
body.page-products .labs-featureCard:hover,
body.page-products .labs-capabilityCard:hover {
  transform: translateY(-2px);
  box-shadow: var(--pr-shlg);
}
body.page-products .labs-capabilityCard--roadmap {
  background: linear-gradient(180deg, #fff, #fdf6fb);
  border-color: rgba(193, 61, 166, 0.22);
}

/* pricing / plan cards */
body.page-products .pricing-grid {
  gap: 18px;
}
body.page-products .plan {
  border-radius: var(--pr-rlg);
  border: 1px solid var(--pr-line);
  background: #fff;
  box-shadow: var(--pr-sh);
  position: relative;
  overflow: hidden;
  transition: 0.2s;
}
body.page-products .plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--pr-shlg);
}
/* the real managed card is .price-tile.pricing-card.managed-pricing-card — it had no
   positioning context, so give it one and pin the badge to ITS top-right (14px padding) */
body.page-products .managed-pricing-card,
body.page-products .pricing-card {
  position: relative;
}
body.page-products .plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  white-space: nowrap;
}
/* reserve room on the title's first line so it never runs under the badge */
body.page-products .plan-name {
  padding-right: 104px;
}
/* keep the "Best for…/base price" blurb a uniform height so the price aligns
   on the same row across every card regardless of copy length */
body.page-products .plan-for {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: 2.7em;
  margin-top: 6px;
}
body.page-products .managed-card-context {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.page-products .plan-name,
body.page-products .plan-title {
  font-family: var(--pr-disp);
  font-weight: 600;
  color: var(--pr-text);
}
body.page-products .plan-price-main {
  font-family: var(--pr-disp);
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.page-products .plan-badge {
  font-family: var(--pr-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: rgba(91, 75, 230, 0.1);
  color: var(--pr-indigo);
}
body.page-products .plan.is-featured {
  border-color: transparent;
  box-shadow:
    inset 0 0 0 2px rgba(91, 75, 230, 0.5),
    var(--pr-shlg);
}
body.page-products .plan.is-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--pr-grad);
  border-radius: var(--pr-rlg) var(--pr-rlg) 0 0;
}
body.page-products .plan.is-featured .plan-badge {
  background: var(--pr-grad);
  color: #fff;
}
body.page-products .plan-features li::before,
body.page-products .managed-included-mark {
  color: #16a34a;
}

/* managed subscription sheet (checkout) — restyle only, logic untouched */
body.page-products .managed-card-context,
body.page-products .managed-priceBlock,
body.page-products .managed-form-grid {
  border-radius: var(--pr-rlg);
  border: 1px solid var(--pr-line);
  background: #fff;
  box-shadow: var(--pr-sh);
}
body.page-products .managed-pill {
  font-family: var(--pr-body);
  font-size: 10.5px;
  border-radius: 999px;
  border: 1px solid var(--pr-line);
  background: #fff;
  color: var(--pr-muted);
}
body.page-products .managed-priceText {
  font-family: var(--pr-disp);
  font-weight: 700;
  color: var(--pr-text);
}
body.page-products .managed-tier-chip,
body.page-products .managed-period-chip,
body.page-products .managed-chip-text {
  border-radius: 999px;
  border: 1px solid var(--pr-line);
  background: #fff;
}
body.page-products .managed-tier-chip.is-active,
body.page-products .managed-chip-input:checked + .managed-chip-body,
body.page-products .managed-period-chip.is-active {
  border-color: transparent;
  background: var(--pr-grad-soft);
  box-shadow: inset 0 0 0 1.5px rgba(91, 75, 230, 0.45);
}
body.page-products .input,
body.page-products select.input,
body.page-products textarea.input {
  border-radius: 10px;
  border: 1px solid var(--pr-line);
  background: #fff;
  color: var(--pr-text);
}
body.page-products .input:focus {
  outline: none;
  border-color: var(--pr-indigo);
  box-shadow: 0 0 0 3px rgba(91, 75, 230, 0.18);
}

/* roadmap */
body.page-products .products-sharedRoadmap__card {
  background: linear-gradient(180deg, #fff, #fafaff);
}

/* accessibility */
body.page-products a:focus-visible,
body.page-products button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 75, 230, 0.4);
  border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
  body.page-products * {
    transition: none !important;
  }
}
body.page-products .managed-feature-package-chip.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f8fafc;
  border-style: dashed;
  box-shadow: none;
}
body.page-products .managed-feature-package-chip.is-disabled:hover {
  box-shadow: none;
  border-color: var(--pr-line);
}

/* v2.28 feature-package subscription selector cleanup */
body.page-products #mgFeaturePackageList.managed-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
body.page-products .managed-feature-package-chip {
  border-radius: 16px;
  border: 1px solid var(--pr-line);
  background: #fff;
  padding: 0;
  box-shadow: var(--pr-sh);
  overflow: hidden;
}
body.page-products .managed-feature-package-chip .managed-chip-body {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 14px 16px;
  min-height: 88px;
}
body.page-products .managed-feature-package-chip .managed-chip-text {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-weight: 800;
  color: var(--pr-text);
}
body.page-products .managed-feature-package-chip .managed-chip-subtext {
  font-size: 12px;
  color: var(--pr-muted);
  line-height: 1.4;
}
body.page-products
  .managed-feature-package-chip
  .managed-chip-input:checked
  + .managed-chip-body {
  background: var(--pr-grad-soft);
  box-shadow: inset 0 0 0 1.5px rgba(91, 75, 230, 0.45);
}
body.page-products .managed-feature-package-chip.is-disabled {
  opacity: 0.56;
  cursor: not-allowed;
  background: #f8fafc;
  border-style: dashed;
  box-shadow: none;
}

/* v2.33 customer feature package selector alignment cleanup */
body.page-products #mgFeaturePackageList.managed-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  align-items: stretch;
}
body.page-products #mgFeaturePackageList .managed-feature-package-chip {
  display: block;
  min-width: 0;
  width: 100%;
  min-height: 0;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}
body.page-products
  #mgFeaturePackageList
  .managed-feature-package-chip
  .managed-chip-body,
body.page-products #mgFeaturePackageList .managed-feature-package-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 150px;
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
}
body.page-products #mgFeaturePackageList .managed-feature-package-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
body.page-products #mgFeaturePackageList .managed-feature-package-card__title {
  display: block;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--pr-text);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.page-products #mgFeaturePackageList .managed-feature-package-card__status {
  flex: 0 0 auto;
  border: 1px solid rgba(91, 75, 230, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--pr-indigo);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  padding: 6px 8px;
}
body.page-products #mgFeaturePackageList .managed-feature-package-card__price {
  display: block;
  color: var(--pr-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}
body.page-products #mgFeaturePackageList .managed-feature-package-card__note,
body.page-products
  #mgFeaturePackageList
  .managed-feature-package-card__description {
  display: block;
  color: var(--pr-muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body.page-products
  #mgFeaturePackageList
  .managed-feature-package-card__description {
  margin-top: auto;
}
body.page-products #mgFeaturePackageList .managed-feature-package-chip.active,
body.page-products
  #mgFeaturePackageList
  .managed-feature-package-chip:has(.managed-chip-input:checked) {
  border-color: #4f46e5;
  box-shadow:
    0 0 0 2px rgba(79, 70, 229, 0.16),
    var(--pr-sh);
}
body.page-products
  #mgFeaturePackageList
  .managed-feature-package-chip
  .managed-chip-input:checked
  + .managed-chip-body {
  background: linear-gradient(
    135deg,
    rgba(91, 75, 230, 0.12),
    rgba(255, 255, 255, 0.94)
  );
  box-shadow: none;
}
body.page-products
  #mgFeaturePackageList
  .managed-feature-package-chip.is-disabled {
  cursor: not-allowed;
  opacity: 1;
  background: #f8fafc;
  border-style: dashed;
  box-shadow: none;
}
body.page-products
  #mgFeaturePackageList
  .managed-feature-package-chip.is-disabled
  .managed-chip-body {
  filter: none;
}
body.page-products
  #mgFeaturePackageList
  .managed-feature-package-chip.is-disabled
  .managed-feature-package-card__title,
body.page-products
  #mgFeaturePackageList
  .managed-feature-package-chip.is-disabled
  .managed-feature-package-card__description {
  color: #64748b;
}
body.page-products
  #mgFeaturePackageList
  .managed-feature-package-chip.is-disabled
  .managed-feature-package-card__status {
  border-color: #d8deea;
  background: #f1f5f9;
  color: #64748b;
}
@media (max-width: 720px) {
  body.page-products #mgFeaturePackageList.managed-tier-grid {
    grid-template-columns: 1fr;
  }
  body.page-products #mgFeaturePackageList .managed-feature-package-card {
    min-height: 126px;
  }
}

/* v2.34 customer capability selector and billing segmented-control cleanup */
body.page-products #mgFeaturePackageList.managed-tier-grid {
  display: block;
}
body.page-products #mgFeaturePackageList .managed-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
body.page-products #mgFeaturePackageList .managed-capability-card {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--pr-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--pr-sh);
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}
body.page-products #mgFeaturePackageList .managed-capability-card:hover {
  border-color: #c7d2fe;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}
body.page-products #mgFeaturePackageList .managed-capability-card.active {
  border-color: #4f46e5;
  background: linear-gradient(
    135deg,
    rgba(91, 75, 230, 0.12),
    rgba(255, 255, 255, 0.96)
  );
  box-shadow:
    0 0 0 2px rgba(79, 70, 229, 0.14),
    0 16px 40px rgba(79, 70, 229, 0.12);
}
body.page-products #mgFeaturePackageList .managed-capability-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
body.page-products #mgFeaturePackageList .managed-capability-check {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}
body.page-products
  #mgFeaturePackageList
  .managed-capability-card.active
  .managed-capability-check {
  border-color: #2563eb;
  background: #2563eb;
}
body.page-products
  #mgFeaturePackageList
  .managed-capability-card.active
  .managed-capability-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
body.page-products #mgFeaturePackageList .managed-capability-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}
body.page-products #mgFeaturePackageList .managed-capability-title {
  color: var(--pr-text);
  font-family: var(--pr-disp);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
body.page-products #mgFeaturePackageList .managed-capability-price {
  color: var(--pr-text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}
body.page-products #mgFeaturePackageList .managed-capability-note,
body.page-products #mgFeaturePackageList .managed-capability-description {
  color: var(--pr-muted);
  font-size: 13px;
  line-height: 1.42;
}
body.page-products #mgFeaturePackageList .managed-capability-note {
  font-weight: 650;
}
body.page-products #mgFeaturePackageList .managed-capability-description {
  margin-top: 4px;
}
body.page-products #mgFeaturePackageList .managed-capability-card.is-disabled {
  cursor: not-allowed;
  background: #f8fafc;
  border-style: dashed;
  box-shadow: none;
  transform: none;
}
body.page-products
  #mgFeaturePackageList
  .managed-capability-card.is-disabled:hover {
  border-color: var(--pr-line);
  box-shadow: none;
  transform: none;
}
body.page-products
  #mgFeaturePackageList
  .managed-capability-card.is-disabled
  .managed-capability-title,
body.page-products
  #mgFeaturePackageList
  .managed-capability-card.is-disabled
  .managed-capability-description {
  color: #64748b;
}
body.page-products
  #mgFeaturePackageList
  .managed-capability-card.is-disabled
  .managed-capability-check {
  background: #f1f5f9;
  border-color: #d8deea;
}
body.page-products #mgFeaturePackageList .managed-feature-bundle-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.08),
    rgba(255, 255, 255, 0.96)
  );
  color: var(--pr-muted);
  font-size: 13px;
}
body.page-products #mgFeaturePackageList .managed-feature-bundle-note strong {
  color: var(--pr-text);
  font-weight: 850;
}
body.page-products #mgFeaturePackageList .managed-feature-bundle-note span {
  color: var(--pr-text);
  font-weight: 900;
}
body.page-products #mgFeaturePackageList .managed-feature-bundle-note small {
  width: 100%;
  color: var(--pr-muted);
  font-size: 12px;
}
body.page-products #mgPeriodWrap.managed-period-row {
  gap: 8px;
}
body.page-products #mgPeriodOptions.managed-period-choice {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--pr-line);
  border-radius: 16px;
  background: #f8fafc;
  box-shadow: none;
}
body.page-products #mgPeriodOptions .managed-period-chip {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}
body.page-products #mgPeriodOptions .managed-period-chip:hover {
  background: #fff;
}
body.page-products #mgPeriodOptions .managed-period-chip.active {
  border: 1px solid #4f46e5;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}
body.page-products #mgPeriodOptions .managed-chip-text {
  display: block;
  min-width: 112px;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pr-text);
  font-weight: 800;
  text-align: center;
}
@media (max-width: 720px) {
  body.page-products #mgFeaturePackageList .managed-capability-grid {
    grid-template-columns: 1fr;
  }
  body.page-products #mgFeaturePackageList .managed-capability-card {
    min-height: 118px;
  }
  body.page-products #mgPeriodOptions.managed-period-choice {
    width: 100%;
  }
  body.page-products #mgPeriodOptions .managed-period-chip {
    flex: 1 1 120px;
  }
  body.page-products #mgPeriodOptions .managed-chip-text {
    min-width: 0;
  }
}

/* v2.35: modern managed checkout review modal */
body.page-products #managedReviewModal {
  padding: 24px;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(8px);
}
body.page-products #managedReviewModal .managed-review-sheet {
  width: min(820px, calc(100vw - 32px));
  max-height: min(88vh, 860px);
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
}
body.page-products #managedReviewModal .managed-review-hd {
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eef6ff 100%);
}
body.page-products #managedReviewModal .managed-review-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.42px;
  text-transform: uppercase;
  color: #2563eb;
}
body.page-products #managedReviewModal .cr-tt {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: #0f172a;
}
body.page-products #managedReviewModal .managed-review-subtitle {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}
body.page-products #managedReviewModal .managed-review-body {
  padding: 22px 28px 18px;
  display: grid;
  gap: 16px;
  max-height: calc(88vh - 190px);
  overflow: auto;
}
body.page-products #managedReviewModal .managed-review-total-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(239, 246, 255, 0.96),
    rgba(255, 255, 255, 0.98)
  );
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.1);
}
body.page-products #managedReviewModal .managed-review-total-label {
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  color: #475569;
}
body.page-products #managedReviewModal .managed-review-total-value {
  display: block;
  margin-top: 7px;
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: #0f172a;
}
body.page-products #managedReviewModal .managed-review-total-note {
  margin: 0;
  max-width: 230px;
  text-align: right;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}
body.page-products #managedReviewModal .managed-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
body.page-products #managedReviewModal .managed-review-panel {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
}
body.page-products #managedReviewModal .managed-review-panel-wide {
  grid-column: 1 / -1;
}
body.page-products #managedReviewModal .managed-review-panel h3 {
  margin: 0;
  padding: 16px 18px 10px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.34px;
  text-transform: uppercase;
  color: #334155;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}
body.page-products #managedReviewModal .cr-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.82fr) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.88);
}
body.page-products #managedReviewModal .managed-review-panel-wide .cr-row {
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
}
body.page-products #managedReviewModal .cr-row[hidden] {
  display: none !important;
}
body.page-products #managedReviewModal .cr-key {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}
body.page-products #managedReviewModal .cr-val {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}
body.page-products #managedReviewModal .managed-review-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.95);
}
body.page-products #managedReviewModal .managed-review-note {
  flex: 1 1 auto;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
body.page-products #managedReviewModal .managed-review-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}
body.page-products #managedReviewModal .cr-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 900;
}
@media (max-width: 760px) {
  body.page-products #managedReviewModal {
    padding: 14px;
  }
  body.page-products #managedReviewModal .managed-review-sheet {
    width: 100%;
    max-height: calc(100vh - 28px);
    border-radius: 22px;
  }
  body.page-products #managedReviewModal .managed-review-hd {
    padding: 20px;
  }
  body.page-products #managedReviewModal .managed-review-body {
    padding: 18px;
    max-height: calc(100vh - 210px);
  }
  body.page-products #managedReviewModal .managed-review-total-card {
    align-items: flex-start;
    flex-direction: column;
  }
  body.page-products #managedReviewModal .managed-review-total-note {
    text-align: left;
    max-width: none;
  }
  body.page-products #managedReviewModal .managed-review-grid {
    grid-template-columns: 1fr;
  }
  body.page-products #managedReviewModal .cr-row,
  body.page-products #managedReviewModal .managed-review-panel-wide .cr-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  body.page-products #managedReviewModal .cr-val {
    text-align: left;
  }
  body.page-products #managedReviewModal .managed-review-ft {
    align-items: stretch;
    flex-direction: column;
  }
  body.page-products #managedReviewModal .managed-review-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}

/* =====================================================================
   v2.92 CLEAN REBUILD: Products / Subscriptions portal parity
   Baseline kept through the managed checkout modal only. Old v2.76-v2.90
   competing hero/layout blocks remain removed to avoid cascade conflicts.
   This version also fixes edge-to-edge hero coverage, premium track panels,
   and the blinking green status dot.
   ===================================================================== */
body.page-products,
body.page-products-intro,
body.page-subscriptions {
  --crx-ink: #0e1525;
  --crx-ink-2: #172033;
  --crx-muted: #5a6378;
  --crx-line: #e5e9f2;
  --crx-mist: #f7f8fb;
  --crx-panel: #ffffff;
  --crx-indigo: #5b4be6;
  --crx-violet: #8b3fd0;
  --crx-cyan: #14b8c4;
  --crx-pink: #c13da6;
  --crx-green: #16a34a;
  --crx-grad: linear-gradient(95deg, #5b4be6 0%, #8b3fd0 48%, #c13da6 100%);
  --crx-dark-grad:
    radial-gradient(
      720px 300px at 88% -12%,
      rgba(20, 184, 196, 0.24),
      transparent 64%
    ),
    radial-gradient(
      620px 260px at 10% 6%,
      rgba(139, 63, 208, 0.34),
      transparent 62%
    ),
    linear-gradient(135deg, #0e1525 0%, #1b2438 48%, #2a1740 100%);
  --crx-card-shadow:
    0 1px 2px rgba(16, 22, 42, 0.04), 0 18px 46px rgba(16, 22, 42, 0.08);
  --crx-ring: 0 0 0 4px rgba(91, 75, 230, 0.18);
  background:
    radial-gradient(
      900px 460px at 8% -8%,
      rgba(91, 75, 230, 0.12),
      transparent 62%
    ),
    radial-gradient(
      880px 420px at 94% -10%,
      rgba(193, 61, 166, 0.1),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(14, 21, 37, 0.06) 0,
      rgba(247, 248, 251, 0) 360px
    ),
    var(--crx-mist) !important;
  color: var(--crx-ink);
}

body.page-products main.products-world-wrap,
body.page-products-intro main.products-world-wrap,
body.page-subscriptions main.products-subscription-wrap {
  width: min(calc(100% - 44px), 1500px) !important;
  max-width: 1500px !important;
  margin: 22px auto 34px !important;
  padding: 0 0 26px !important;
  overflow: hidden !important;
  border: 1px solid rgba(230, 232, 240, 0.96) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: var(--crx-card-shadow) !important;
  box-sizing: border-box !important;
}
body.page-subscriptions main.products-subscription-wrap {
  margin-top: 32px !important;
}
body.page-products main.wrap > section,
body.page-products-intro main.wrap > section,
body.page-subscriptions main.wrap > section {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Top hero: same dark brand system as Knowledge Base/My Cases, with safe text inset. */
body.page-products .products-world-hero,
body.page-products-intro .products-world-hero,
body.page-subscriptions .subscription-world-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr) !important;
  gap: 34px !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 36px 44px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 24px 24px 20px 20px !important;
  color: #fff !important;
  background: var(--crx-dark-grad) !important;
  box-shadow: 0 18px 52px rgba(14, 21, 37, 0.22) !important;
}
@keyframes crxDotBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}
body.page-products .products-world-hero::before,
body.page-products-intro .products-world-hero::before,
body.page-subscriptions .subscription-world-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -128px;
  width: 360px;
  height: 240px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2), transparent 66%);
  pointer-events: none;
}
body.page-products .products-world-hero__copy,
body.page-products-intro .products-world-hero__copy,
body.page-subscriptions .subscription-world-hero__copy,
body.page-products .products-world-switcher,
body.page-products-intro .products-world-switcher,
body.page-subscriptions .subscription-world-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
}
body.page-products .products-world-hero h1,
body.page-products-intro .products-world-hero h1,
body.page-subscriptions .subscription-world-hero h1 {
  max-width: 980px !important;
  margin: 26px 0 14px !important;
  color: #fff !important;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif !important;
  font-size: clamp(1.9rem, 2.72vw, 2.7rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
}
body.page-products .products-world-hero p,
body.page-products-intro .products-world-hero p,
body.page-subscriptions .subscription-world-hero p,
body.page-products #productTrackHint,
body.page-products-intro #productTrackHint,
body.page-subscriptions #subscriptionTrackNames {
  max-width: 900px !important;
  color: rgba(238, 244, 255, 0.78) !important;
  font-size: 16px !important;
  line-height: 1.58 !important;
}
body.page-products .products-world-hero .products-world-eyebrow,
body.page-products-intro .products-world-hero .products-world-eyebrow,
body.page-subscriptions .subscription-world-hero .products-world-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  color: #eafbff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

body.page-products .product-awspro-hero .products-world-eyebrow,
body.page-products-intro .product-awspro-hero .products-world-eyebrow,
body.page-products .product-empty-hero .products-world-eyebrow,
body.page-products-intro .product-empty-hero .products-world-eyebrow,
body.page-products .product-world-head .products-world-kicker,
body.page-products-intro .product-world-head .products-world-kicker,
body.page-subscriptions .subscription-track-heading .products-world-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 0 10px !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(109, 40, 217, 0.18) !important;
  border-radius: 999px !important;
  color: #5b21b6 !important;
  background: rgba(109, 40, 217, 0.075) !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

body.page-products .product-world-head .products-world-kicker,
body.page-products-intro .product-world-head .products-world-kicker,
body.page-subscriptions .subscription-track-heading .products-world-kicker {
  color: #6d28d9 !important;
  background: rgba(109, 40, 217, 0.06) !important;
  border-color: rgba(109, 40, 217, 0.16) !important;
}
body.page-products .products-world-eyebrow i,
body.page-products-intro .products-world-eyebrow i,
body.page-subscriptions .products-world-eyebrow i {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--crx-green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.92);
  animation: crxDotBlink 2.4s infinite;
}
body.page-products .products-world-eyebrow i::after,
body.page-products-intro .products-world-eyebrow i::after,
body.page-subscriptions .products-world-eyebrow i::after {
  content: none;
  display: none;
}
body.page-products .products-world-hero__actions,
body.page-products-intro .products-world-hero__actions,
body.page-subscriptions .products-world-hero__actions,
.product-world-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
body.page-products .products-world-hero__actions .btn,
body.page-products-intro .products-world-hero__actions .btn,
body.page-subscriptions .products-world-hero__actions .btn {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}
body.page-products .products-world-hero__actions .btn.primary,
body.page-products-intro .products-world-hero__actions .btn.primary,
body.page-subscriptions .products-world-hero__actions .btn.primary {
  border-color: transparent !important;
  background: var(--crx-grad) !important;
  box-shadow: 0 14px 30px rgba(91, 75, 230, 0.22) !important;
}

body.page-products .products-world-switcher,
body.page-products-intro .products-world-switcher,
body.page-subscriptions .subscription-world-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px !important;
  border-radius: 20px !important;
  background:
    radial-gradient(
      420px 240px at 100% 0%,
      rgba(20, 184, 196, 0.2),
      transparent 62%
    ),
    radial-gradient(
      360px 220px at 0% 100%,
      rgba(139, 63, 208, 0.22),
      transparent 62%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.065)
    ) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 18px 48px rgba(3, 7, 18, 0.16) !important;
  color: #fff !important;
}
.products-world-switcher__label,
.subscription-world-panel label {
  color: #eafbff !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}
.product-track-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.product-track-tab {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.075)
    );
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}
.product-track-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.28);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.17),
      rgba(255, 255, 255, 0.09)
    );
}
.product-track-tab.is-active {
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(34, 197, 94, 0.18),
      transparent 34%
    ),
    linear-gradient(135deg, #ecfdf5 0%, #f5f3ff 100%);
  color: #0e1525;
  border-color: rgba(45, 212, 191, 0.54);
  box-shadow:
    inset 0 0 0 1px rgba(139, 63, 208, 0.14),
    0 12px 28px rgba(20, 184, 196, 0.13);
}
.product-track-tab [data-track-status] {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 850;
  opacity: 0.72;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.subscription-world-panel select.input {
  min-height: 44px;
  border-color: rgba(45, 212, 191, 0.38) !important;
  background:
    linear-gradient(135deg, #ecfdf5 0%, #f5f3ff 100%) !important;
  color: #0e1525 !important;
  border-radius: 14px !important;
  box-shadow: inset 0 0 0 1px rgba(139, 63, 208, 0.1) !important;
}
.subscription-world-stat {
  display: flex;
  align-items: baseline;
  gap: 9px;
  border: 1px solid rgba(45, 212, 191, 0.22) !important;
  border-radius: 18px;
  padding: 12px 14px;
  background:
    linear-gradient(
      135deg,
      rgba(20, 184, 196, 0.15),
      rgba(139, 63, 208, 0.16)
    ) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}
.subscription-world-stat b {
  color: #fff !important;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.subscription-world-stat span {
  color: rgba(238, 244, 255, 0.78) !important;
  font-size: 13px;
  font-weight: 750;
}

.products-intro-slot,
.subscription-managed-slot,
.subscription-track-heading {
  width: min(calc(100% - 88px), 1350px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.products-intro-slot,
.subscription-managed-slot {
  margin-top: 24px;
}
.subscription-track-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-top: 28px;
  margin-bottom: 12px;
  padding: 0 4px;
}
.subscription-track-heading h2 {
  margin: 8px 0 6px;
  color: #08111f;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.04em;
}
.subscription-track-heading p {
  margin: 0;
  color: #5a6378;
  line-height: 1.6;
}

/* AWSPro product detail area */
.product-world-shell {
  border: 1px solid rgba(230, 232, 240, 0.96);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--crx-card-shadow);
  overflow: hidden;
}
.product-awspro-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  gap: 32px;
  align-items: center;
  padding: 46px;
  background: #fff;
}
.product-awspro-hero__copy h2 {
  margin: 14px 0;
  color: var(--crx-ink);
  font-size: clamp(2.35rem, 4.5vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.product-awspro-hero__copy p,
.product-world-head p,
.product-proof-card p,
.product-world-card p,
.product-trust-lead p,
.product-footnote {
  color: #536078;
  line-height: 1.65;
}
.product-shot {
  margin: 0;
}
.product-shot__frame {
  min-height: 300px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(230, 232, 240, 0.96);
  background: linear-gradient(135deg, #151a30, #261954 58%, #103f34);
  box-shadow: 0 24px 60px rgba(39, 17, 95, 0.2);
}
.product-shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-shot--wide .product-shot__frame {
  min-height: 420px;
  aspect-ratio: 16/9;
}
.product-shot--empty .product-shot__frame div {
  padding: 26px;
  color: rgba(255, 255, 255, 0.78);
}
.product-shot--empty .product-shot__frame strong {
  display: block;
  color: #fff;
  font-size: 17px;
  margin-bottom: 8px;
}
.product-shot figcaption {
  margin: 10px 4px 0;
  color: #667085;
  font-size: 12.5px;
  line-height: 1.55;
}
.product-dashboard-mock {
  width: min(100%, 440px);
  text-align: left;
  color: #fff;
}
.product-dashboard-mock .mock-pill {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-dashboard-mock strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.product-dashboard-mock .mock-bars {
  display: grid;
  gap: 9px;
  margin: 22px 0;
}
.product-dashboard-mock .mock-bars i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.95),
    rgba(167, 139, 250, 0.6),
    rgba(34, 197, 94, 0.7)
  );
}
.product-dashboard-mock .mock-bars i:nth-child(2) {
  width: 72%;
}
.product-dashboard-mock .mock-bars i:nth-child(3) {
  width: 54%;
}
.product-dashboard-mock .mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.product-dashboard-mock .mock-grid b {
  padding: 13px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
}

.product-trust-band {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 14px;
  padding: 0 38px 34px;
}
.product-trust-lead,
.product-world-card,
.product-proof-card,
.product-price-card {
  border: 1px solid rgba(230, 232, 240, 0.96);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 8px 24px rgba(16, 22, 42, 0.045);
  color: var(--crx-ink);
}
.product-trust-lead {
  padding: 24px;
}
.product-world-card,
.product-proof-card {
  padding: 22px;
}
.product-trust-lead h3,
.product-world-card h3,
.product-proof-card h3,
.product-world-head h3 {
  margin: 0 0 8px;
  color: var(--crx-ink);
  letter-spacing: -0.035em;
}
.product-world-card p,
.product-proof-card p,
.product-trust-lead p {
  margin: 0;
}
.product-world-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 0 12px;
  border-radius: 14px;
  color: #6d28d9;
  font-weight: 950;
  background: linear-gradient(
    135deg,
    rgba(109, 40, 217, 0.12),
    rgba(22, 163, 74, 0.1)
  );
}
.product-world-section {
  padding: 8px 38px 34px;
}
.product-world-head {
  max-width: 900px;
  margin-bottom: 16px;
}
.product-world-head h3 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
}
.product-micro-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1e40af;
  font-size: 12.5px;
  font-weight: 850;
}
.product-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.product-flow-step {
  position: relative;
  border: 1px solid rgba(109, 40, 217, 0.14);
  border-radius: 20px;
  padding: 17px 16px;
  background: linear-gradient(180deg, #fff, #fbfaff);
}
.product-flow-step span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--crx-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}
.product-flow-step h4 {
  margin: 0 0 5px;
  color: #0b1020;
}
.product-flow-step p {
  margin: 0;
  color: #667085;
  line-height: 1.5;
  font-size: 12.5px;
}
.product-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.product-proof-card--premium {
  position: relative;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #6d28d9, #8b5cf6, #16a34a) border-box;
}
.product-proof-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--crx-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.08);
  color: #6d28d9;
  font-size: 12px;
  font-weight: 850;
}
.product-pill--green {
  background: #eafaf0;
  color: #147237;
}
.product-check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.product-check-list li {
  display: flex;
  gap: 9px;
  color: #263143;
  line-height: 1.46;
  font-size: 13.5px;
}
.product-check-list span {
  flex: 0 0 auto;
  color: #16a34a;
  font-weight: 950;
}

.product-pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.product-price-card {
  position: relative;
  min-height: 150px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-price-card.is-popular {
  border-color: #8b5cf6;
  box-shadow:
    0 0 0 1.5px rgba(139, 92, 246, 0.85) inset,
    0 18px 44px rgba(91, 75, 230, 0.16);
}
.product-price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--crx-grad);
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-price-card h4 {
  margin: 0;
  min-height: 40px;
  color: var(--crx-ink);
  font-size: 15px;
  line-height: 1.28;
  font-weight: 900;
}
.product-price-amount {
  margin-top: 10px;
  color: var(--crx-ink);
  font-size: 29px;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.product-price-amount small {
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  letter-spacing: 0;
}
.product-price-free {
  color: #16a34a !important;
}
.product-price-unit {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #667085;
  line-height: 1.4;
}
.product-support-note {
  margin: 12px 0 20px;
  text-align: center;
  color: #536078;
  font-size: 13px;
}
.product-support-note a {
  color: #6d28d9;
  font-weight: 900;
  text-decoration: none;
}
.product-subscription-callout,
.product-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 22px;
  padding: 24px;
}
.product-subscription-callout--dark,
.product-final-cta {
  border: 1px solid rgba(43, 30, 79, 0.3);
  background:
    radial-gradient(
      620px 260px at 92% -20%,
      rgba(20, 184, 196, 0.22),
      transparent 62%
    ),
    linear-gradient(135deg, #171b31 0%, #251b4a 58%, #0f3f34 100%);
  color: #fff;
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.16);
}
body.page-products .product-subscription-callout h3,
body.page-products .product-final-cta h3 {
  margin: 0 0 8px;
  color: #fff;
}
body.page-products .product-subscription-callout p,
body.page-products .product-final-cta p {
  margin: 0;
  color: rgba(238, 244, 255, 0.78);
  line-height: 1.6;
}
.product-subscription-callout .btn,
.product-final-cta .btn {
  min-width: 190px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-table-wrap {
  margin-top: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}
.product-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.product-comparison-table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  color: #0b1020;
  font-size: 14px;
}
.product-comparison-table th,
.product-comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  vertical-align: middle;
}
.product-comparison-table thead th {
  background: #fbfbff;
  color: #0b1020;
  font-size: 12.5px;
  text-align: center;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-comparison-table thead th:first-child {
  text-align: left;
}
.product-comparison-table tbody tr:last-child td {
  border-bottom: 0;
}
.product-feature-col {
  width: 48%;
}
.product-feature-cell strong {
  display: block;
  color: #08111f;
  font-weight: 900;
}
.product-feature-cell span {
  display: block;
  margin-top: 4px;
  color: #536078;
  font-size: 12.5px;
  line-height: 1.5;
}
.product-center {
  text-align: center;
}
.product-premium-head {
  background: linear-gradient(180deg, #f4f1ff, #fff) !important;
  color: #27115f !important;
}
.product-table-group td {
  padding: 12px 18px;
  background: #f8f7ff;
  color: #27115f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-table-group--limited td {
  background: #fffaf0;
  color: #7c4a03;
}
.product-table-group--premium td {
  background: #f0fdf4;
  color: #14532d;
}
.product-yes {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 999px;
  color: #16a34a;
  background: #eafaf0;
  font-size: 17px;
  font-weight: 950;
}
.product-no {
  color: #a8b0bd;
  font-size: 22px;
  line-height: 1;
}
.product-limited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #b7791f;
  background: #fff7db;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.product-best {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #eafaf0;
  color: #147237;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-highlight-col {
  background: linear-gradient(
    180deg,
    rgba(240, 253, 244, 0.8),
    rgba(255, 255, 255, 0.96)
  );
}
.product-faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}
.product-faq details {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  background: #fff;
  padding: 0 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.product-faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 760;
  color: #0b1020;
}
.product-faq p {
  margin: 0 0 16px;
  color: #4b5565;
  line-height: 1.62;
  font-size: 14px;
}
.product-empty-hero {
  min-height: 360px;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
}
.product-empty-hero h2 {
  max-width: 760px;
  margin: 14px 0 12px;
  color: #08111f;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.product-empty-hero p {
  max-width: 680px;
  margin: 0;
  color: #536078;
  font-size: 16px;
  line-height: 1.7;
}
.product-empty-state {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  margin: 0 38px 38px;
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}
.product-empty-state__icon {
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: 24px;
  color: #fff;
  font-size: 42px;
  font-weight: 950;
  letter-spacing: -0.05em;
  background: var(--crx-dark-grad);
}

/* Managed subscription cards and popups */
.page-subscriptions .managed-track-section {
  padding: 30px;
  border-radius: 28px;
  border-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
  background: rgba(255, 255, 255, 0.96);
}
.page-subscriptions .managed-track-hd .section-title {
  font-size: 26px;
}
.page-subscriptions .managed-inline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}
.page-subscriptions .managed-pricing-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #fff, #fbfbff);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}
.page-subscriptions .managed-pricing-card-featured {
  border-color: transparent;
  box-shadow:
    inset 0 0 0 2px rgba(109, 40, 217, 0.55),
    0 24px 60px rgba(15, 23, 42, 0.12);
}
.page-subscriptions .managed-pricing-card .plan-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.page-subscriptions .managed-pricing-card .plan-name {
  padding-right: 0;
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}
.page-subscriptions .managed-pricing-card .plan-for {
  color: #536078;
  min-height: 2.7em;
}
.page-subscriptions .managed-pricing-card .managed-card-context {
  margin: 12px 0 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.07);
  color: #5b21b6;
  font-size: 12px;
  font-weight: 850;
  box-shadow: none;
}
.page-subscriptions .managed-pricing-card .plan-price {
  margin: 18px 0 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.page-subscriptions .managed-pricing-card .plan-price-main {
  font-size: 31px;
  line-height: 1;
}
.page-subscriptions .managed-pricing-card .plan-price-suffix,
.page-subscriptions .managed-pricing-card .plan-price-prefix {
  color: #667085;
  font-size: 13px;
}
.page-subscriptions .managed-pricing-card .plan-divider {
  height: 1px;
  margin: 14px 0;
  background: rgba(226, 232, 240, 0.95);
}
.page-subscriptions .managed-pricing-card .plan-features {
  margin: 10px 0 18px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.page-subscriptions .managed-pricing-card .plan-features li {
  display: flex;
  gap: 8px;
  color: #263143;
  line-height: 1.42;
}
.page-subscriptions .managed-pricing-card .plan-features li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 950;
}
.page-subscriptions .managed-pricing-card .plan-actions {
  margin-top: auto;
}
.page-subscriptions .managed-pricing-card .plan-actions .btn {
  width: 100%;
  justify-content: center;
}
body.page-products #managedProductModal .managed-sheet-body,
body.page-products #managedReviewModal .managed-review-body,
body.page-subscriptions #managedProductModal .managed-sheet-body,
body.page-subscriptions #managedReviewModal .managed-review-body {
  background: linear-gradient(180deg, #fff, #f8fafc);
  color: var(--crx-ink);
}

@media (max-width: 1080px) {
  body.page-products .products-world-hero,
  body.page-products-intro .products-world-hero,
  body.page-subscriptions .subscription-world-hero,
  .product-awspro-hero {
    grid-template-columns: 1fr !important;
  }
  .product-trust-band {
    grid-template-columns: 1fr 1fr;
  }
  .product-trust-lead {
    grid-column: 1/-1;
  }
  .product-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  body.page-products main.products-world-wrap,
  body.page-products-intro main.products-world-wrap,
  body.page-subscriptions main.products-subscription-wrap {
    width: min(calc(100% - 24px), 1500px) !important;
    margin: 14px auto 28px !important;
    padding: 0 0 18px !important;
  }
  body.page-subscriptions main.products-subscription-wrap {
    margin-top: 22px !important;
  }
  body.page-products .products-world-hero,
  body.page-products-intro .products-world-hero,
  body.page-subscriptions .subscription-world-hero {
    margin: 0 0 18px !important;
    padding: 24px 22px !important;
    border-radius: 22px 22px 18px 18px !important;
  }
  .products-intro-slot,
  .subscription-managed-slot,
  .subscription-track-heading {
    width: calc(100% - 28px);
  }
  .product-track-tabs,
  .product-pricing-grid,
  .product-proof-grid,
  .product-flow,
  .product-trust-band {
    grid-template-columns: 1fr;
  }
  .product-awspro-hero,
  .product-world-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .product-awspro-hero {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .product-shot--wide .product-shot__frame {
    min-height: 240px;
  }
  .product-subscription-callout,
  .product-final-cta {
    display: block;
  }
  .product-subscription-callout .btn,
  .product-final-cta .btn {
    width: 100%;
    margin-top: 16px;
  }
}

/* =====================================================================
   v2.93 FINAL: restore subscription card/modal polish after CSS cleanup
   - Keep v2.92 hero/right-gap/dot fixes.
   - Recover spacing and badge rules that were previously removed.
   - Fix AWSPro Flex price flow and dark CTA heading readability.
   ===================================================================== */

/* Product-detail pricing cards: match homepage flow and make Most Popular red. */
body.page-products .product-price-card.is-popular,
body.page-products-intro .product-price-card.is-popular {
  border-color: #ef4444;
  box-shadow:
    0 0 0 1.5px rgba(239, 68, 68, 0.82) inset,
    0 18px 44px rgba(239, 68, 68, 0.16);
}

body.page-products .product-price-badge,
body.page-products-intro .product-price-badge {
  background: linear-gradient(135deg, #ef4444, #f97316) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 14px 26px rgba(239, 68, 68, 0.24);
}

body.page-products .product-price-amount,
body.page-products-intro .product-price-amount {
  margin-top: 10px !important;
}

/* Subscription cards: reserve space so flags never touch titles. */
body.page-subscriptions .managed-pricing-card {
  padding: 30px 28px 26px;
  min-height: 560px;
  border-radius: 28px;
}

body.page-subscriptions .managed-pricing-card .plan-top {
  position: relative;
  display: block;
  min-height: 96px;
  padding-top: 34px;
}

body.page-subscriptions .managed-pricing-card .plan-name {
  max-width: calc(100% - 28px);
  padding-right: 0;
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

body.page-subscriptions .managed-pricing-card .plan-badge,
body.page-products .managed-pricing-card .plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  max-width: 150px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(91, 75, 230, 0.16);
  background: rgba(91, 75, 230, 0.085);
  color: #4c1d95;
  box-shadow: none;
  white-space: nowrap;
  line-height: 1;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.page-products .plan-badge--popular,
body.page-products .managed-pricing-card .plan-badge--popular,
body.page-subscriptions .managed-pricing-card .plan-badge--popular {
  background: linear-gradient(135deg, #ef4444, #f97316) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 14px 26px rgba(239, 68, 68, 0.26);
}

body.page-subscriptions .managed-pricing-card .plan-for {
  font-size: 15.25px;
  line-height: 1.45;
  min-height: 2.9em;
}

body.page-subscriptions .managed-pricing-card .plan-price {
  margin-top: 20px;
}

body.page-subscriptions .managed-pricing-card .plan-price-main {
  font-size: 34px;
}

body.page-subscriptions .managed-pricing-card .plan-actions .btn {
  min-height: 48px;
  border-radius: 14px;
}

/* Subscribe modal: restore premium layout without restoring old hero overrides. */
body.page-products #managedProductModal,
body.page-products #managedReviewModal {
  background: rgba(15, 23, 42, 0.44) !important;
  backdrop-filter: blur(14px) saturate(120%);
}

body.page-products #managedProductModal .managed-sheet {
  width: min(1120px, calc(100vw - 36px));
  max-width: 1120px;
  max-height: calc(100vh - 24px);
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 28px;
  background: #fff;
  color: #08111f;
  box-shadow: 0 34px 110px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

body.page-products #managedProductModal .managed-sheet-hd {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  background:
    radial-gradient(620px 260px at 92% -16%, rgba(20, 184, 196, 0.14), transparent 64%),
    linear-gradient(135deg, #fff 0%, #f8faff 60%, #f7f1ff 100%);
  color: #08111f;
}

body.page-products #managedProductModal .managed-sheet-cat {
  color: #475569 !important;
}

body.page-products #managedProductModal .cr-tt {
  color: #08111f !important;
}

body.page-products #managedProductModal .managed-sheet-sub {
  color: #536078 !important;
}

body.page-products #managedProductModal #managedProductClose {
  background: #fff !important;
  color: #08111f !important;
  border-color: rgba(148, 163, 184, 0.7) !important;
}

body.page-products #managedProductModal .managed-sheet-body {
  display: grid;
  gap: 22px;
  max-height: calc(100vh - 176px);
  padding: 26px 32px 32px;
  overflow: auto;
  background:
    radial-gradient(760px 300px at 92% -12%, rgba(20, 184, 196, 0.06), transparent 64%),
    linear-gradient(180deg, #fff, #f8fafc) !important;
  color: #08111f;
}

body.page-products #managedProductModal .managed-priceBlock,
body.page-products #managedProductModal .managed-form-grid,
body.page-products #managedReviewModal .managed-review-panel {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.065);
}

body.page-products #managedProductModal .managed-priceBlock {
  padding: 24px;
}

body.page-products #managedProductModal .managed-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  align-items: stretch;
}

body.page-products #managedProductModal #mgTierList.managed-tier-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body.page-products #managedProductModal .managed-tier-chip,
body.page-products #managedProductModal .managed-period-chip {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
}

body.page-products #managedProductModal .managed-chip-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body.page-products #managedProductModal .managed-chip-body {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(226, 232, 240, 0.98);
  border-radius: 18px;
  background: #fff;
  color: #08111f;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

body.page-products #managedProductModal .managed-chip-text {
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #08111f !important;
  font-weight: 900;
  white-space: nowrap;
}

body.page-products #managedProductModal .managed-chip-subtext {
  display: block;
  margin-top: 2px;
  color: #667085 !important;
  font-size: 12px;
  line-height: 1.35;
}

body.page-products #managedProductModal .managed-chip-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316) !important;
  color: #fff !important;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.22);
  white-space: nowrap;
}

body.page-products #managedProductModal .managed-chip-input:checked + .managed-chip-body {
  border-color: rgba(91, 75, 230, 0.7);
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.08), rgba(22, 163, 74, 0.045));
  box-shadow:
    inset 0 0 0 1.5px rgba(91, 75, 230, 0.55),
    0 14px 30px rgba(91, 75, 230, 0.1);
}

body.page-products #managedProductModal .managed-period-choice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  max-width: 520px;
}

body.page-products #managedProductModal .managed-period-choice .managed-chip-body {
  justify-content: center;
  min-height: 56px;
}

body.page-products #managedProductModal .managed-priceHeadline {
  padding-top: 4px;
}

body.page-products #managedProductModal .managed-priceText {
  color: #08111f;
  font-size: 38px;
  font-weight: 950;
}

body.page-products #managedProductModal .managed-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  padding: 24px;
}

body.page-products #managedProductModal .managed-form-grid .full,
body.page-products #managedProductModal .managed-form-grid .row.two {
  grid-column: 1 / -1;
}

body.page-products #managedProductModal .managed-form-grid .row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

body.page-products #managedProductModal .managed-form-grid .col {
  min-width: 0;
}

body.page-products #managedProductModal .input {
  min-height: 48px;
  border-radius: 14px;
  font-size: 14px;
}

body.page-products #managedProductModal .managed-form-actions {
  grid-column: 1 / -1;
}

/* Support plan tier selector: badge is separate from the tier name. */
body.page-products #managedProductModal #mgTierList .managed-tier-chip {
  position: relative;
  padding-top: 12px;
}

body.page-products #managedProductModal #mgTierList .managed-tier-chip .managed-chip-body {
  min-height: 76px;
  justify-content: center;
  text-align: center;
  padding: 20px 16px 16px;
}

body.page-products #managedProductModal #mgTierList .managed-chip-text {
  width: 100%;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}

body.page-products #managedProductModal #mgTierList .managed-chip-badge {
  position: absolute;
  top: -2px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316) !important;
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(239, 68, 68, 0.24);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

body.page-products #managedProductModal #mgTierList .managed-chip-subtext {
  margin-top: 5px;
  text-align: center;
}

/* Dark CTA readability must override broad page heading rules. */
body.page-products .product-subscription-callout.product-subscription-callout--dark h3,
body.page-products .product-final-cta h3 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.page-products .product-subscription-callout.product-subscription-callout--dark p,
body.page-products .product-final-cta p {
  color: rgba(238, 244, 255, 0.82) !important;
  -webkit-text-fill-color: rgba(238, 244, 255, 0.82) !important;
}

@media (max-width: 980px) {
  body.page-products #managedProductModal .managed-form-grid,
  body.page-products #managedProductModal .managed-form-grid .row.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.page-products #managedProductModal .managed-sheet {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  body.page-products #managedProductModal .managed-sheet-hd,
  body.page-products #managedProductModal .managed-sheet-body {
    padding: 20px;
  }

  body.page-products #managedProductModal .managed-tier-grid {
    grid-template-columns: 1fr !important;
  }
}

/* v2.97: keep the admin-managed companion billing label beside the price. */
body.page-products #managedProductModal .managed-priceHeadline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.page-products #managedProductModal .managed-price-note {
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(91, 75, 230, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(91, 75, 230, 0.1), rgba(20, 184, 166, 0.08));
  color: #4c1d95;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(91, 75, 230, 0.08);
  white-space: nowrap;
}

body.page-products #managedProductModal .managed-price-note[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  body.page-products #managedProductModal .managed-priceHeadline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  body.page-products #managedProductModal .managed-price-note {
    white-space: normal;
  }
}

/* v2.99: selected support-tier detail should read as a clean section, not a white card inside the subscription window. */
body.page-products #managedProductModal .managed-card-note {
  margin-top: 16px;
}

body.page-products #managedProductModal .managed-selected-tier {
  margin-top: 16px;
  padding-top: 18px;
  border: 0 !important;
  border-top: 1px solid rgba(226, 232, 240, 0.96) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-products #managedProductModal .managed-selected-tier-head {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

body.page-products #managedProductModal .managed-selected-tier-kicker {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.page-products #managedProductModal .managed-selected-tier-nameRow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-products #managedProductModal .managed-selected-tier-name {
  color: #08111f;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

body.page-products #managedProductModal .managed-selected-tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.2);
}

body.page-products #managedProductModal .managed-selected-tier-summary {
  color: #334155;
  font-size: 15px;
  line-height: 1.72;
}

body.page-products #managedProductModal .managed-selected-tier-summary p {
  margin: 0 0 12px;
}

body.page-products #managedProductModal .managed-selected-tier-summary p:last-child {
  margin-bottom: 0;
}

body.page-products #managedProductModal .managed-selected-tier-divider {
  height: 1px;
  margin: 18px 0 14px;
  background: rgba(226, 232, 240, 0.96);
}

body.page-products #managedProductModal .managed-selected-tier-meta {
  margin-bottom: 10px;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.page-products #managedProductModal .managed-selected-tier-list {
  margin: 0;
  padding-left: 22px;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.55;
}

body.page-products #managedProductModal .managed-selected-tier-list li + li {
  margin-top: 4px;
}

/* v2.100 support-plan subscription form readability/layout polish */
body.page-products #managedProductModal #mgContactWrap .managed-split-field,
body.page-subscriptions #managedProductModal #mgContactWrap .managed-split-field {
  display: grid;
  grid-template-columns: minmax(118px, 150px) minmax(180px, 260px);
  align-items: center;
  gap: 10px;
  max-width: 430px;
}

body.page-products #managedProductModal #mgCountryCode,
body.page-subscriptions #managedProductModal #mgCountryCode,
body.page-products #managedProductModal #mgContactNumber,
body.page-subscriptions #managedProductModal #mgContactNumber {
  width: 100%;
  min-width: 0;
}

@media (max-width: 560px) {
  body.page-products #managedProductModal #mgContactWrap .managed-split-field,
  body.page-subscriptions #managedProductModal #mgContactWrap .managed-split-field {
    grid-template-columns: minmax(108px, 135px) minmax(0, 1fr);
    max-width: 100%;
  }
}

/* v2.101 redo: support-plan selector refinement.
   Keep the original selected-tier split, remove the extra white panel behind the support plan selector,
   and add the missing divider before the customer-facing support-plan note. */
body.page-products #managedProductModal.managed-modal-support-plan .managed-priceBlock,
body.page-subscriptions #managedProductModal.managed-modal-support-plan .managed-priceBlock {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-products #managedProductModal.managed-modal-support-plan #mgPriceSub,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgPriceSub {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.96);
  white-space: normal;
  line-height: 1.55;
}

/* v2.102 redo: remove the leftover outer chip shell in support-plan selector.
   Cause fixed: the label carries both .chip and .managed-tier-chip/.managed-period-chip,
   so the outer label could still inherit pill background/border/active shadow. Only the
   inner .managed-chip-body should look like the clickable tier tile. */
body.page-products #managedProductModal.managed-modal-support-plan #mgTierList.managed-tier-grid,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList.managed-tier-grid {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-products #managedProductModal.managed-modal-support-plan #mgTierList .managed-tier-chip,
body.page-products #managedProductModal.managed-modal-support-plan #mgTierList .managed-tier-chip.active,
body.page-products #managedProductModal.managed-modal-support-plan #mgTierList .managed-tier-chip.is-active,
body.page-products #managedProductModal.managed-modal-support-plan #mgTierList .managed-period-chip,
body.page-products #managedProductModal.managed-modal-support-plan #mgTierList .managed-period-chip.active,
body.page-products #managedProductModal.managed-modal-support-plan #mgTierList .managed-period-chip.is-active,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList .managed-tier-chip,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList .managed-tier-chip.active,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList .managed-tier-chip.is-active,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList .managed-period-chip,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList .managed-period-chip.active,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList .managed-period-chip.is-active {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  overflow: visible !important;
}

body.page-products #managedProductModal.managed-modal-support-plan #mgTierList .managed-tier-chip .managed-chip-body,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList .managed-tier-chip .managed-chip-body {
  position: relative;
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px 16px;
  border: 1px solid rgba(226, 232, 240, 0.98) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #08111f !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
  text-align: center;
}

body.page-products #managedProductModal.managed-modal-support-plan #mgTierList .managed-chip-input:checked + .managed-chip-body,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList .managed-chip-input:checked + .managed-chip-body {
  border-color: rgba(91, 75, 230, 0.7) !important;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.08), rgba(22, 163, 74, 0.045)) !important;
  box-shadow:
    inset 0 0 0 1.5px rgba(91, 75, 230, 0.55),
    0 14px 30px rgba(91, 75, 230, 0.10) !important;
}

body.page-products #managedProductModal.managed-modal-support-plan #mgTierList .managed-chip-text,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList .managed-chip-text {
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #08111f !important;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

body.page-products #managedProductModal.managed-modal-support-plan #mgTierList .managed-chip-badge,
body.page-subscriptions #managedProductModal.managed-modal-support-plan #mgTierList .managed-chip-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316) !important;
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(239, 68, 68, 0.24);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

/* v2.108: product hero screenshot carousel uses the uploaded flagship gallery directly. */
body.page-products .product-shot__frame img,
body.page-products-intro .product-shot__frame img {
  object-fit: contain;
  background: #fff;
}
body.page-products .product-shot--carousel .product-shot__frame,
body.page-products-intro .product-shot--carousel .product-shot__frame {
  position: relative;
  background: #fff;
}
body.page-products .product-shot__slides,
body.page-products-intro .product-shot__slides {
  position: absolute;
  inset: 0;
}
body.page-products .product-shot__slide,
body.page-products-intro .product-shot__slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity .38s ease;
}
body.page-products .product-shot__slide.is-active,
body.page-products-intro .product-shot__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
body.page-products .product-shot__slide img,
body.page-products-intro .product-shot__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
body.page-products .product-shot--carousel figcaption,
body.page-products-intro .product-shot--carousel figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
body.page-products .product-shot__caption-line,
body.page-products-intro .product-shot__caption-line {
  min-width: 0;
}
body.page-products .product-shot__dots,
body.page-products-intro .product-shot__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
body.page-products .product-shot__dot,
body.page-products-intro .product-shot__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .72);
  background: #fff;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .10);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
body.page-products .product-shot__dot:hover,
body.page-products .product-shot__dot:focus-visible,
body.page-products-intro .product-shot__dot:hover,
body.page-products-intro .product-shot__dot:focus-visible {
  transform: scale(1.12);
  outline: none;
  border-color: rgba(49, 94, 251, .72);
}
body.page-products .product-shot__dot.is-active,
body.page-products-intro .product-shot__dot.is-active {
  background: #315efb;
  border-color: #315efb;
}


/* v2.109 redone: only move/enlarge the AWSPro hero screenshot and add click-to-enlarge. */
body.page-products .product-awspro-hero.product-awspro-hero--stacked,
body.page-products-intro .product-awspro-hero.product-awspro-hero--stacked {
  grid-template-columns: 1fr !important;
  padding-bottom: 24px;
  text-align: center;
}
body.page-products .product-awspro-hero--stacked .product-awspro-hero__copy,
body.page-products-intro .product-awspro-hero--stacked .product-awspro-hero__copy {
  max-width: 980px;
  margin: 0 auto;
}
body.page-products .product-awspro-hero--stacked .product-awspro-hero__copy h2,
body.page-products-intro .product-awspro-hero--stacked .product-awspro-hero__copy h2 {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
body.page-products .product-awspro-hero--stacked .product-awspro-hero__copy p,
body.page-products-intro .product-awspro-hero--stacked .product-awspro-hero__copy p {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
body.page-products .product-awspro-hero--stacked .product-world-actions,
body.page-products-intro .product-awspro-hero--stacked .product-world-actions {
  justify-content: center;
}
body.page-products .product-awspro-shot-band,
body.page-products-intro .product-awspro-shot-band {
  padding: 0 46px 42px;
  background: #fff;
}
body.page-products .product-awspro-shot-band .product-awspro-hero__shot,
body.page-products-intro .product-awspro-shot-band .product-awspro-hero__shot {
  max-width: 1120px;
  margin: 0 auto;
}
body.page-products .product-awspro-shot-band .product-shot__frame,
body.page-products-intro .product-awspro-shot-band .product-shot__frame {
  position: relative;
  min-height: clamp(360px, 42vw, 640px);
  aspect-ratio: 16 / 9;
  background: #fff;
  box-shadow: 0 30px 84px rgba(39, 17, 95, 0.18);
}
body.page-products .product-shot--single .product-shot__frame,
body.page-products-intro .product-shot--single .product-shot__frame {
  position: relative;
}
body.page-products .product-shot--single .product-shot__slides,
body.page-products-intro .product-shot--single .product-shot__slides {
  position: absolute;
  inset: 0;
}
body.page-products .product-shot__zoom-hint,
body.page-products-intro .product-shot__zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
  font-size: 12px;
  font-weight: 850;
  pointer-events: none;
  backdrop-filter: blur(12px) saturate(120%);
}
body.page-products .product-flow--journey .product-flow-step::after,
body.page-products-intro .product-flow--journey .product-flow-step::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: #b8a7f5;
  font-weight: 950;
  z-index: 2;
}
body.page-products .product-flow--journey .product-flow-step:last-child::after,
body.page-products-intro .product-flow--journey .product-flow-step:last-child::after {
  display: none;
}
body.product-shot-lightbox-open { overflow: hidden; }
.product-shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.4vw, 32px);
  background: rgba(3, 7, 18, 0.76);
  backdrop-filter: blur(18px) saturate(120%);
}
.product-shot-lightbox.is-open { display: flex; }
.product-shot-lightbox__dialog {
  position: relative;
  width: min(1280px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: clamp(14px, 1.8vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(39, 17, 95, 0.94));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
  color: #fff;
}
.product-shot-lightbox__figure { margin: 0; }
.product-shot-lightbox__figure img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 168px);
  object-fit: contain;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}
.product-shot-lightbox__figure figcaption {
  margin: 14px 44px 0;
  color: rgba(238, 244, 255, 0.86);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}
.product-shot-lightbox__figure figcaption b { color: #fff; }
.product-shot-lightbox__close,
.product-shot-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px) saturate(120%);
}
.product-shot-lightbox__close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}
.product-shot-lightbox__nav {
  top: 50%;
  width: 46px;
  height: 58px;
  border-radius: 999px;
  transform: translateY(-50%);
  font-size: 36px;
  line-height: 1;
}
.product-shot-lightbox__nav--prev { left: 18px; }
.product-shot-lightbox__nav--next { right: 18px; }
.product-shot-lightbox__close:hover,
.product-shot-lightbox__nav:hover,
.product-shot-lightbox__close:focus-visible,
.product-shot-lightbox__nav:focus-visible {
  outline: none;
  border-color: rgba(45, 212, 191, 0.72);
  background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 1080px) {
  body.page-products .product-flow--journey .product-flow-step::after,
  body.page-products-intro .product-flow--journey .product-flow-step::after { display: none; }
}
@media (max-width: 720px) {
  body.page-products .product-awspro-shot-band,
  body.page-products-intro .product-awspro-shot-band { padding: 0 20px 30px; }
  body.page-products .product-awspro-shot-band .product-shot__frame,
  body.page-products-intro .product-awspro-shot-band .product-shot__frame { min-height: clamp(220px, 58vw, 360px); border-radius: 18px; }
  body.page-products .product-shot__zoom-hint,
  body.page-products-intro .product-shot__zoom-hint { right: 10px; bottom: 10px; min-height: 28px; padding: 6px 10px; font-size: 11px; }
  .product-shot-lightbox { padding: 10px; }
  .product-shot-lightbox__dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); padding: 10px; border-radius: 20px; }
  .product-shot-lightbox__figure img { max-height: calc(100vh - 132px); border-radius: 14px; }
  .product-shot-lightbox__figure figcaption { margin: 10px 38px 0; font-size: 12.5px; }
  .product-shot-lightbox__close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 24px; }
  .product-shot-lightbox__nav { width: 38px; height: 48px; font-size: 30px; }
  .product-shot-lightbox__nav--prev { left: 8px; }
  .product-shot-lightbox__nav--next { right: 8px; }
}