/* ==================================================================
   IPROAM product-pages-v8.css
   Unified pd-* product-detail system + simplified products menu.
   Unified product detail stylesheet.
   ================================================================== */

#product-route {
  display: none;
  color: #15201a;
  background: #ffffff;
}

html.route-product #product-route {
  display: block;
}

html.route-product.route-product #home-route,
html.route-product.route-product #promotions-route {
  display: none;
}

/* ---------------------------- Nav trigger ------------------------- */

.nav-products {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-products * {
  letter-spacing: 0;
}

.nav-products-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: var(--bright-muted);
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.nav-products-btn:hover,
.nav-products-btn.active,
.nav-products-btn[aria-expanded="true"] {
  color: #007b5d;
}

.nav-products-chevron {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  transition: transform 160ms ease;
}

.nav-products-btn[aria-expanded="true"] .nav-products-chevron {
  transform: rotate(180deg);
}

/* ---------------------------- Dropdown ---------------------------- */

.nav-products-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -80px;
  z-index: 120;
  width: 520px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border: 1px solid #dce7e2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(24, 48, 40, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-products-menu[hidden] {
  display: none;
}

.nav-products-menu:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-products-menu--grouped {
  left: -140px;
  width: 660px;
  padding: 12px;
}

.pm-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
}

.pm-group {
  min-width: 0;
}

.pm-group + .pm-group {
  padding-left: 14px;
  border-left: 1px solid #edf1ee;
}

.pm-group-label {
  margin: 0;
  padding: 4px 8px 8px;
  color: #5c6f69;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pm-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pm-card {
  --pm-accent: #1f6b45;
  --pm-soft: #eef5f0;
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 12px 34px 12px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #173128;
  background: #ffffff;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.pm-card[data-product-link="mobile"] {
  --pm-accent: #0d7d94;
  --pm-soft: #eaf6f9;
}

.pm-card[data-product-link="tunnel"] {
  --pm-accent: #a96b08;
  --pm-soft: #fdf4e6;
}

.pm-card[data-product-link="bandwidth"] {
  --pm-accent: #6f56d6;
  --pm-soft: #f0edfc;
}

.pm-card:hover,
.pm-card:focus-visible,
.pm-card[aria-current="page"] {
  border-color: color-mix(in srgb, var(--pm-accent) 40%, #dce7e2);
  background: var(--pm-soft);
}

.pm-card:focus-visible {
  outline: 2px solid var(--pm-accent);
  outline-offset: 2px;
}

.pm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--pm-accent) 30%, #ffffff);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.pm-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.08);
  transform-origin: center;
}

.pm-card[data-product-link="mobile"] .pm-icon img,
.pm-card[data-product-link="tunnel"] .pm-icon img {
  transform: scale(1.08);
}

.pm-body {
  min-width: 0;
}

.pm-title {
  display: block;
  color: #132b23;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.pm-desc {
  display: block;
  margin-top: 3px;
  color: #506760;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.pm-meta {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #5c6f69;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pm-amount {
  color: var(--pm-accent);
  font-size: 15px;
  font-weight: 900;
}

.pm-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--pm-accent);
  border-right: 2px solid var(--pm-accent);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 150ms ease;
}

.pm-card:hover .pm-arrow,
.pm-card:focus-visible .pm-arrow {
  transform: translate(2px, -50%) rotate(45deg);
}

/* -------------------------- CTA visibility ------------------------ */

.pd-cta-buy {
  display: none !important;
}

html.auth-hint-logged-in #product-route .pd-cta-buy {
  display: inline-flex !important;
}

html.auth-hint-logged-in #product-route .pd-cta-register {
  display: none !important;
}

/* ------------------------- Unified pd system ---------------------- */

.pd {
  --pd-ink: #101712;
  --pd-muted: #58675e;
  --pd-soft: #718078;
  --pd-line: #dfe5e1;
  --pd-line-soft: #edf1ee;
  --pd-surface: #ffffff;
  --pd-alt: #f7f9f7;
  --pd-accent: #1f6b45;
  --pd-accent-strong: #17563a;
  --pd-accent-soft: #edf5f0;
  color: var(--pd-ink);
  background: var(--pd-surface);
  font-family: var(--sans);
  line-height: 1.55;
}

.pd[data-accent="mobile"] {
  --pd-accent: #0d7d94;
  --pd-accent-strong: #0a6070;
  --pd-accent-soft: #eaf6f9;
}

.pd[data-accent="tunnel"] {
  --pd-accent: #a96b08;
  --pd-accent-strong: #835205;
  --pd-accent-soft: #fdf4e6;
}

.pd[data-accent="bandwidth"] {
  --pd-accent: #6f56d6;
  --pd-accent-strong: #55429c;
  --pd-accent-soft: #f0edfc;
}

.pd *,
.pd *::before,
.pd *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.pd h1,
.pd h2,
.pd h3,
.pd p,
.pd ul,
.pd ol,
.pd dl,
.pd figure {
  margin: 0;
}

.pd ul,
.pd ol {
  padding: 0;
  list-style: none;
}

.pd-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Buttons */

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 6px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.pd-actions .btn.primary {
  border: 1px solid var(--pd-accent);
  color: #ffffff;
  background: var(--pd-accent);
}

.pd-actions .btn.primary:hover {
  border-color: var(--pd-accent-strong);
  background: var(--pd-accent-strong);
}

.pd-actions .btn.outline {
  border: 1px solid #d8dfdb;
  color: #1c2922;
  background: #ffffff;
}

.pd-actions .btn.outline:hover {
  border-color: #98a69e;
  background: #f7f9f7;
}

/* Hero */

.pd-hero-banner {
  --pd-hero-art-w: 720px;
  --pd-hero-fill: var(--pd-alt);
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;
  margin-top: 40px;
  margin-bottom: clamp(30px, 4.4vw, 56px);
  padding: 48px 52px;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 8px;
  background-color: var(--pd-hero-fill);
  background-image: var(--pd-hero-image, none);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  background-origin: border-box;
  background-clip: border-box;
}

.pd-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

/* Residential and mobile art is shown at full card height so its lower edge
   stays intact. The pale fill carries copy across the artwork seam. */
.pd[data-accent="residential"] .pd-hero-banner,
.pd[data-accent="mobile"] .pd-hero-banner,
.pd[data-accent="bandwidth"] .pd-hero-banner {
  --pd-hero-fill: var(--pd-accent-soft);
  background-color: var(--pd-hero-fill);
  background-position: right center;
  background-size: auto 100%;
}

.pd[data-accent="residential"] .pd-hero-banner::before,
.pd[data-accent="mobile"] .pd-hero-banner::before,
.pd[data-accent="bandwidth"] .pd-hero-banner::before {
  background: linear-gradient(
    90deg,
    var(--pd-hero-fill) 0,
    var(--pd-hero-fill) calc(100% - var(--pd-hero-art-w)),
    rgba(255, 255, 255, 0.9) calc(100% - var(--pd-hero-art-w) + 90px),
    rgba(255, 255, 255, 0.42) calc(100% - var(--pd-hero-art-w) + 240px),
    rgba(255, 255, 255, 0) calc(100% - var(--pd-hero-art-w) + 420px)
  );
}

.pd-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 520px;
}

.pd-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pd-accent-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.pd-kicker::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--pd-accent);
}

.pd-title {
  margin-top: 17px !important;
  font-size: 42px;
  font-weight: 850;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.pd-lead {
  max-width: 47ch;
  margin-top: 16px !important;
  color: var(--pd-muted);
  font-size: 16px;
  line-height: 1.65;
}

.pd-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 25px !important;
  padding-top: 19px;
  border-top: 1px solid var(--pd-line);
}

.pd-price-label {
  margin-right: 5px;
  color: var(--pd-soft);
  font-size: 12px;
  font-weight: 700;
}

.pd-price-value {
  color: var(--pd-ink);
  font-size: 30px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.pd-price-unit {
  color: var(--pd-soft);
  font-size: 13px;
}

.pd-actions:first-of-type,
.pd-hero-banner .pd-actions {
  margin-top: 23px;
}

/* Facts band */

.pd-facts-band {
  border-top: 1px solid var(--pd-line);
  border-bottom: 1px solid var(--pd-line);
  background: var(--pd-alt);
}

.pd-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pd-fact {
  min-width: 0;
  padding: 19px 22px;
  border-left: 1px solid var(--pd-line);
}

.pd-fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.pd-fact-label,
.pd-fact-value {
  display: block;
}

.pd-fact-label {
  color: var(--pd-soft);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.pd-fact-value {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 750;
  overflow-wrap: break-word;
}

/* Bands */

.pd-band {
  padding: 56px 0;
  border-bottom: 1px solid var(--pd-line);
}

.pd-band-alt {
  background: var(--pd-alt);
}

.pd-band-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: end;
}

.pd-band-head > * {
  min-width: 0;
}

/* Two-column head only when there is room for both columns. */
@media (min-width: 900px) {
  .pd-band-head:has(.pd-band-lead) {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 520px);
  }
}

.pd-band-title {
  min-width: 0;
  font-size: 25px;
  font-weight: 820;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.pd-band-lead {
  min-width: 0;
  color: var(--pd-muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

/* Capabilities */

.pd-caps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid var(--pd-line);
}

.pd-cap {
  min-width: 0;
  padding: 20px 18px 0;
  border-left: 1px solid var(--pd-line-soft);
}

.pd-cap:first-child {
  padding-left: 0;
  border-left: 0;
}

.pd-cap h3 {
  font-size: 14px;
  font-weight: 760;
}

.pd-cap p {
  margin-top: 6px !important;
  color: var(--pd-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

/* Use cases */

.pd-uses {
  --pd-use-accent: var(--pd-accent);
  --pd-use-frame: var(--pd-line-soft);
  --pd-use-tint: #f6f9fc;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 30px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--pd-line);
}

.pd-use {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
}

.pd-use:nth-child(even) {
  padding-left: 0;
  border-left: 0;
}

.pd-use-figure {
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--pd-use-frame);
  border-radius: 8px;
  background: var(--pd-use-tint);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.pd-use-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  user-select: none;
}

.pd-use-copy {
  min-width: 0;
}

.pd-use-copy::before {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  margin-bottom: 10px;
  border-radius: 1px;
  background: var(--pd-use-accent);
  opacity: 0.85;
}

.pd-use h3 {
  margin: 0 !important;
  font-size: 14.5px;
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: 0;
}

.pd-use p {
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  color: var(--pd-muted);
  font-size: 13px;
  line-height: 1.55;
  text-wrap: pretty;
}

.pd-use:hover .pd-use-figure {
  border-color: var(--pd-line);
  background: #f1f5f9;
}

@media (max-width: 1060px) {
  .pd-uses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 28px;
  }
}

/* Live plans */

.pd-plans {
  margin-top: 26px;
}

.pd-plans-status {
  padding: 28px 0;
  color: var(--pd-soft);
  font-size: 14px;
}

.pd-plans-meta {
  margin-bottom: 16px;
  color: var(--pd-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pd-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

/* Neutral chrome for the shared plan card renderer output */
.pd-plans-grid .pricing-plan-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--pd-line);
  border-radius: 8px;
  background: var(--pd-surface);
}

.pd-plans-grid .pricing-plan-card:hover {
  border-color: color-mix(in srgb, var(--pd-accent) 45%, var(--pd-line));
}

/* Steps */

.pd-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid var(--pd-line);
}

.pd-step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 20px 22px 0;
  border-left: 1px solid var(--pd-line-soft);
}

.pd-step:first-child {
  padding-left: 0;
  border-left: 0;
}

.pd-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  color: var(--pd-accent-strong);
  background: var(--pd-accent-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
}

.pd-step h3 {
  font-size: 14px;
  font-weight: 760;
}

.pd-step p {
  margin-top: 5px !important;
  color: var(--pd-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

/* Close: FAQ + resources */

.pd-close {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 48px;
}

.pd-close-title {
  font-size: 22px;
  font-weight: 820;
}

.pd-close-body {
  margin-top: 8px !important;
  color: var(--pd-muted);
  font-size: 14px;
}

.pd-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
}

.pd-resources a {
  padding-bottom: 2px;
  border-bottom: 1px solid color-mix(in srgb, var(--pd-accent) 45%, #ffffff);
  color: var(--pd-accent-strong);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pd-faq {
  border-top: 1px solid var(--pd-line);
}

.pd-faq-item {
  border-bottom: 1px solid var(--pd-line);
}

.pd-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 720;
  list-style: none;
  cursor: pointer;
}

.pd-faq-item summary::-webkit-details-marker {
  display: none;
}

.pd-faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--pd-accent-strong);
  font-weight: 800;
}

.pd-faq-item[open] summary::after {
  content: "-";
}

.pd-faq-item p {
  padding: 0 34px 15px 0;
  color: var(--pd-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Final CTA */

.pd-final {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding: 26px;
  border: 1px solid var(--pd-line);
  border-radius: 8px;
  background: var(--pd-accent-soft);
}

.pd-final-title {
  font-size: 20px;
  font-weight: 820;
}

/* ------------------------------ Responsive ------------------------ */

@media (max-width: 1024px) {
  .pd-hero-banner {
    --pd-hero-art-w: 640px;
    min-height: 320px;
    padding: 40px 44px;
  }

  .pd-title {
    font-size: 35px;
  }

  .pd-caps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-cap:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .pd-cap:nth-child(n+3) {
    margin-top: 20px;
    border-top: 1px solid var(--pd-line-soft);
    padding-top: 20px;
  }
}

@media (max-width: 900px) {
  .nav-products {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-products-btn {
    width: 100%;
    justify-content: space-between;
    padding: 6px 0;
  }

  .nav-products-menu {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 7px;
    padding: 8px;
    box-shadow: none;
    transform: translateY(-4px);
  }

  .nav-products-menu:not([hidden]) {
    transform: translateY(0);
  }

  .nav-products-menu--grouped {
    left: auto;
  }

  .pm-groups {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .pm-group + .pm-group {
    margin-top: 8px;
    padding-top: 8px;
    padding-left: 0;
    border-top: 1px solid #edf1ee;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .pd-shell {
    width: min(100% - 36px, 1180px);
  }

  .pd-hero-banner {
    --pd-hero-art-w: 600px;
    min-height: 300px;
    margin-bottom: clamp(24px, 6vw, 36px);
    padding: 34px 30px;
  }

  .pd-hero-banner::before {
    background: rgba(255, 255, 255, 0.68);
  }

  .pd[data-accent="residential"] .pd-hero-banner::before,
  .pd[data-accent="mobile"] .pd-hero-banner::before,
  .pd[data-accent="bandwidth"] .pd-hero-banner::before {
    background: linear-gradient(
      100deg,
      var(--pd-hero-fill) 0,
      rgba(255, 255, 255, 0.9) 34%,
      rgba(255, 255, 255, 0.66) 58%,
      rgba(255, 255, 255, 0.34) 82%,
      rgba(255, 255, 255, 0.2) 100%
    );
  }

  .pd-hero-copy {
    max-width: none;
  }

  .pd-title {
    font-size: 31px;
  }

  .pd-band {
    padding: 40px 0;
  }

  /* 0,3,0 beats `.pd-band-head:has(.pd-band-lead)` (0,2,0) regardless of order. */
  .pd .pd-band-head,
  .pd .pd-band-head:has(.pd-band-lead) {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .pd .pd-band-title,
  .pd .pd-band-head:has(.pd-band-lead) .pd-band-title {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .pd-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .pd-fact {
    padding: 14px 0;
    border-top: 1px solid var(--pd-line);
    border-left: 0;
  }

  .pd-fact:first-child {
    border-top: 0;
  }

  .pd-uses {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 24px;
    margin-top: 20px;
    padding-top: 20px;
  }

  .pd-use,
  .pd-use:nth-child(even) {
    padding: 0;
    border: 0;
  }

  .pd-use h3 {
    font-size: 15px;
  }

  .pd-use p {
    font-size: 13.5px;
  }

  .pd-close {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .pd-shell {
    width: min(100% - 30px, 1180px);
  }

  .pd-hero-banner {
    --pd-hero-art-w: 520px;
    min-height: 260px;
    padding: 26px 22px;
  }

  .pd-hero-banner::before {
    background: rgba(255, 255, 255, 0.74);
  }

  .pd[data-accent="residential"] .pd-hero-banner::before,
  .pd[data-accent="mobile"] .pd-hero-banner::before,
  .pd[data-accent="bandwidth"] .pd-hero-banner::before {
    background: linear-gradient(
      100deg,
      var(--pd-hero-fill) 0,
      rgba(255, 255, 255, 0.92) 40%,
      rgba(255, 255, 255, 0.72) 66%,
      rgba(255, 255, 255, 0.46) 100%
    );
  }

  .pd-title {
    font-size: 27px;
  }

  .pd-lead {
    font-size: 15px;
  }

  .pd-actions .btn {
    width: 100%;
  }

  .pd-caps,
  .pd-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .pd-cap,
  .pd-step {
    padding: 16px 0 0;
    border-left: 0;
  }

  .pd-cap:not(:first-child),
  .pd-step:not(:first-child) {
    margin-top: 0;
    border-top: 1px solid var(--pd-line-soft);
    padding-top: 16px;
  }

  .pd-plans-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pm-card {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding: 10px 28px 10px 10px;
  }

  .pm-meta {
    grid-column: 1 / -1;
    margin-top: 2px;
    padding-left: 49px;
  }

  .pm-arrow {
    right: 11px;
  }
}

@media (max-width: 390px) {
  .pd-hero-banner {
    --pd-hero-art-w: 460px;
    min-height: 230px;
    margin-bottom: 24px;
    padding: 22px 18px;
  }

  .pd-hero-banner::before {
    background: rgba(255, 255, 255, 0.8);
  }

  .pd-title {
    font-size: 25px;
  }

  .pd .pd-band-head,
  .pd .pd-band-head:has(.pd-band-lead) {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }

  .pd .pd-band-title,
  .pd .pd-band-head:has(.pd-band-lead) .pd-band-title {
    min-width: 0;
    max-width: 100%;
    font-size: 21px;
    line-height: 1.3;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .pd .pd-band-lead {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-products-btn,
  .nav-products-chevron,
  .nav-products-menu,
  .pm-card,
  .pm-arrow,
  .pd *,
  .pd *::before,
  .pd *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Shared live plan card output */
.pd-plans-grid .pricing-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.pd-plans-grid .pricing-plan-badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 8px;
  border: 1px solid var(--pd-line);
  border-radius: 4px;
  color: var(--pd-accent-strong);
  background: var(--pd-accent-soft);
  font: 800 11px/1 var(--mono);
}
.pd-plans-grid .pricing-plan-card h3 {
  min-height: 48px;
  color: var(--pd-ink);
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.pd-plans-grid .pricing-plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 22px;
}
.pd-plans-grid .pricing-plan-price strong {
  color: var(--pd-ink);
  font-size: 30px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}
.pd-plans-grid .pricing-plan-price span {
  color: var(--pd-soft);
  font-size: 13px;
  font-weight: 700;
}
.pd-plans-grid .pricing-plan-specs {
  display: grid;
  gap: 0;
  margin: 0 0 20px;
}
.pd-plans-grid .pricing-plan-spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--pd-line-soft);
}
.pd-plans-grid .pricing-plan-spec dt,
.pd-plans-grid .pricing-plan-spec dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
.pd-plans-grid .pricing-plan-spec dt { color: var(--pd-soft); }
.pd-plans-grid .pricing-plan-spec dd {
  color: var(--pd-ink);
  font-weight: 800;
  text-align: right;
}
.pd-plans-grid .pricing-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid var(--pd-accent);
  border-radius: 6px;
  color: #ffffff;
  background: var(--pd-accent);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.pd-plans-grid .pricing-buy-btn:hover,
.pd-plans-grid .pricing-buy-btn:focus-visible {
  border-color: var(--pd-accent-strong);
  color: #ffffff;
  background: var(--pd-accent-strong);
  outline: none;
}
