/* R340 V2 — PropGlen product showcase (Advantage · For Agents · GlenStudio) */
:root {
  --pg-ps-navy: #062B5B;
  --pg-ps-navy-deep: #041F42;
  --pg-ps-emerald: #0BA360;
  --pg-ps-emerald-soft: #E7F7EF;
  --pg-ps-ink: #1B2838;
  --pg-ps-muted: #5A6B7D;
  --pg-ps-line: rgba(6, 43, 91, 0.10);
  --pg-ps-paper: #F6F8FB;
  --pg-ps-white: #FFFFFF;
  --pg-ps-radius: 22px;
  --pg-ps-shadow: 0 18px 48px rgba(6, 43, 91, 0.10);
}

/* ——— Homepage Advantage ——— */
body.home-page .pg-advantage {
  background:
    radial-gradient(1000px 420px at 8% 0%, rgba(11, 163, 96, 0.08), transparent 60%),
    radial-gradient(900px 380px at 92% 12%, rgba(6, 43, 91, 0.07), transparent 55%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 70%);
  padding-block: 3.25rem 3.75rem;
}
body.home-page .pg-advantage .pg-section-heading {
  max-width: 40rem;
}
body.home-page .pg-adv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1.85rem;
  align-items: stretch;
}
body.home-page .pg-adv-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--pg-ps-radius);
  overflow: hidden;
  border: 1px solid var(--pg-ps-line);
  background: var(--pg-ps-white);
  box-shadow: var(--pg-ps-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
body.home-page .pg-adv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(6, 43, 91, 0.14);
}
@media (prefers-reduced-motion: no-preference) {
  body.home-page .pg-adv-card__visual {
    animation: pgAdvIn .55s ease both;
  }
  body.home-page .pg-adv-card:nth-child(2) .pg-adv-card__visual { animation-delay: .06s; }
  body.home-page .pg-adv-card:nth-child(3) .pg-adv-card__visual { animation-delay: .12s; }
  body.home-page .pg-adv-card:nth-child(4) .pg-adv-card__visual { animation-delay: .18s; }
  @keyframes pgAdvIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
}
body.home-page .pg-adv-card__visual {
  position: relative;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  padding: 1rem 1.05rem 1.15rem;
  overflow: hidden;
  flex: 0 0 auto;
}
body.home-page .pg-adv-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.25rem 1.3rem;
  flex: 1 1 auto;
  min-height: 12.5rem;
}
body.home-page .pg-adv-card__body h3 {
  margin: 0;
  min-height: 2.5rem;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--pg-ps-navy);
  letter-spacing: -0.01em;
}
body.home-page .pg-adv-card__body > p:not(.pg-adv-card__kicker):not(.pg-adv-card__status) {
  margin: 0;
  flex: 1 1 auto;
  min-height: 4.2rem;
  color: var(--pg-ps-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}
body.home-page .pg-adv-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pg-ps-emerald);
}
body.home-page .pg-adv-card__kicker img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
body.home-page .pg-adv-card__status {
  margin: 0 !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  color: #6a7b8d !important;
}
body.home-page .pg-adv-card__cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--pg-ps-navy);
  color: #fff !important;
  font-weight: 650;
  font-size: 0.9rem;
  text-decoration: none !important;
}
body.home-page .pg-adv-card__cta:hover {
  background: var(--pg-ps-navy-deep);
}
body.home-page .pg-adv-card__cta--ghost {
  background: transparent;
  color: var(--pg-ps-navy) !important;
  border: 1px solid rgba(6, 43, 91, 0.22);
}
body.home-page .pg-adv-card__cta--ghost:hover {
  background: var(--pg-ps-paper);
}

/* Ask Glen visual — conversation demo */
.pg-adv-ask {
  background: linear-gradient(160deg, #062B5B 0%, #0A3D6E 55%, #0BA360 160%);
  color: #fff;
}
.pg-adv-ask__chat {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 100%;
}
.pg-adv-ask__bubble {
  max-width: 92%;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.pg-adv-ask__bubble--user {
  align-self: flex-end;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.2);
}
.pg-adv-ask__bubble--glen {
  align-self: flex-start;
  background: #fff;
  color: var(--pg-ps-navy);
}
.pg-adv-ask__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.pg-adv-ask__chips span {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--pg-ps-emerald-soft);
  color: #065c36;
  font-size: 0.68rem;
  font-weight: 650;
}

/* GlenStudio visual — overlapping creatives */
.pg-adv-gs {
  background: #eef3f8;
}
.pg-adv-gs__stage {
  position: relative;
  height: 100%;
  min-height: 188px;
}
.pg-adv-gs__stage img,
.pg-adv-gs__stage .pg-adv-gs__video {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(6, 43, 91, 0.22);
  object-fit: cover;
  background: #fff;
}
.pg-adv-gs__stage .is-square {
  width: 96px;
  height: 96px;
  left: 7%;
  top: 16%;
  z-index: 2;
  transform: rotate(-6deg);
}
.pg-adv-gs__stage .is-brochure {
  width: 84px;
  height: 110px;
  left: 39%;
  top: 8%;
  z-index: 3;
  transform: rotate(3deg);
}
.pg-adv-gs__stage .is-story {
  width: 64px;
  height: 114px;
  right: 9%;
  top: 12%;
  z-index: 1;
  transform: rotate(8deg);
}
.pg-adv-gs__badge {
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  transform: translateX(-50%);
  z-index: 4;
  max-width: calc(100% - 1rem);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--pg-ps-navy);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Demand visual — illustrative dashboard */
.pg-adv-di {
  background: linear-gradient(180deg, #f8fbf9, #eef5f1);
}
.pg-adv-di__panel {
  background: #fff;
  border: 1px solid var(--pg-ps-line);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  height: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.pg-adv-di__row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  color: var(--pg-ps-muted);
  font-weight: 600;
}
.pg-adv-di__bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 0.35rem;
  height: 78px;
  margin-bottom: 0.7rem;
}
.pg-adv-di__bars i {
  display: block;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #0BA360, #087a48);
  opacity: .85;
}
.pg-adv-di__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.pg-adv-di__tags span {
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  background: var(--pg-ps-paper);
  color: var(--pg-ps-navy);
  font-size: 0.68rem;
  font-weight: 650;
}

/* Matching visual */
.pg-adv-match {
  background: linear-gradient(135deg, #f5f7fb, #eaf1ff);
}
.pg-adv-match__map {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.55rem;
  align-items: center;
  height: 100%;
}
.pg-adv-match__node {
  background: #fff;
  border: 1px solid var(--pg-ps-line);
  border-radius: 14px;
  padding: 0.7rem 0.75rem;
  font-size: 0.74rem;
  color: var(--pg-ps-navy);
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(6, 43, 91, 0.08);
}
.pg-adv-match__node strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
}
.pg-adv-match__link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pg-ps-emerald);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(11, 163, 96, 0.28);
}

@media (min-width: 1100px) {
  body.home-page .pg-adv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  body.home-page .pg-adv-card__visual {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }
  body.home-page .pg-adv-card__body {
    min-height: 13.25rem;
  }
}
@media (max-width: 640px) {
  body.home-page .pg-adv-grid { grid-template-columns: 1fr; }
  body.home-page .pg-adv-card__body,
  body.home-page .pg-adv-card__body h3,
  body.home-page .pg-adv-card__body > p:not(.pg-adv-card__kicker):not(.pg-adv-card__status) {
    min-height: 0;
  }
}

/* ——— Shared product landing shell ——— */
.pg-ps-page .pg-ps-hero {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 0 2.8rem;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(11, 163, 96, 0.16), transparent 55%),
    linear-gradient(135deg, var(--pg-ps-navy-deep) 0%, var(--pg-ps-navy) 55%, #0a4a78 100%);
  color: #fff;
}
.pg-ps-page .pg-ps-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(11, 163, 96, 0.18), transparent 70%);
  pointer-events: none;
}
.pg-ps-page .pg-ps-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}
.pg-ps-page .pg-ps-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.pg-ps-page .pg-ps-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}
.pg-ps-page .pg-ps-hero__tagline {
  margin: 0 0 0.9rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #7dffc0;
}
.pg-ps-page .pg-ps-hero__lede {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  color: rgba(255,255,255,.86);
  font-size: 1.05rem;
  line-height: 1.55;
}
.pg-ps-page .pg-ps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.pg-ps-page .pg-ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1px solid transparent;
}
.pg-ps-page .pg-ps-btn--primary {
  background: var(--pg-ps-emerald);
  color: #fff !important;
}
.pg-ps-page .pg-ps-btn--primary:hover { filter: brightness(1.05); }
.pg-ps-page .pg-ps-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.35);
}
.pg-ps-page .pg-ps-btn--ghost:hover { background: rgba(255,255,255,.08); }
.pg-ps-page .pg-ps-btn--navy {
  background: var(--pg-ps-navy);
  color: #fff !important;
}
.pg-ps-page .pg-ps-btn--outline {
  background: #fff;
  color: var(--pg-ps-navy) !important;
  border-color: rgba(6, 43, 91, 0.18);
}

.pg-ps-breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,.7);
}
.pg-ps-breadcrumb a { color: rgba(255,255,255,.86); }

.pg-ps-section {
  padding: 3rem 0;
}
.pg-ps-section--paper { background: var(--pg-ps-paper); }
.pg-ps-section--white { background: #fff; }
.pg-ps-section--navy {
  background: linear-gradient(160deg, var(--pg-ps-navy-deep), var(--pg-ps-navy));
  color: #fff;
}
.pg-ps-section__head {
  max-width: 40rem;
  margin: 0 0 1.75rem;
}
.pg-ps-section__head .eyebrow {
  margin: 0 0 0.45rem;
  color: var(--pg-ps-emerald);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.pg-ps-section__head h2 {
  margin: 0 0 0.55rem;
  color: var(--pg-ps-navy);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.pg-ps-section__head p {
  margin: 0;
  color: var(--pg-ps-muted);
  line-height: 1.55;
  font-size: 1.02rem;
}
/* Beat .bayut-serp-page:not(.home-page) h1/h2/h3 → --portal-text on navy/CTA banners */
.pg-ps-page.bayut-serp-page .pg-ps-section--navy,
.pg-ps-page.bayut-serp-page .pg-ps-section--navy .pg-ps-section__head,
.pg-ps-page.bayut-serp-page .pg-ps-section--navy .pg-ps-section__head h2,
.pg-ps-page.bayut-serp-page .pg-ps-section--navy .pg-ps-section__head p,
.pg-ps-page.bayut-serp-page .pg-ps-section--navy .pg-ps-step,
.pg-ps-page.bayut-serp-page .pg-ps-section--navy .pg-ps-step h3,
.pg-ps-page.bayut-serp-page .pg-ps-section--navy .pg-ps-step p,
.pg-ps-page.bayut-serp-page .pg-ps-cta-final,
.pg-ps-page.bayut-serp-page .pg-ps-cta-final h2,
.pg-ps-page.bayut-serp-page .pg-ps-cta-final p {
  color: #ffffff;
}
.pg-ps-page.bayut-serp-page .pg-ps-section--navy .eyebrow,
.pg-ps-page.bayut-serp-page .pg-ps-section--navy .pg-ps-section__head .eyebrow {
  color: #9af0c8;
}
.pg-ps-page.bayut-serp-page .pg-ps-section--navy .pg-ps-step p {
  color: rgba(255, 255, 255, 0.88);
}
.pg-ps-page.bayut-serp-page .pg-ps-cta-final p {
  color: rgba(255, 255, 255, 0.88);
}
.pg-ps-page .pg-ps-hero h1,
.pg-ps-page.bayut-serp-page .pg-ps-hero h1 {
  color: #ffffff;
}

.pg-ps-feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}
.pg-ps-feature-band--flip { direction: rtl; }
.pg-ps-feature-band--flip > * { direction: ltr; }
.pg-ps-feature-band h3 {
  margin: 0 0 0.55rem;
  color: var(--pg-ps-navy);
  font-size: 1.35rem;
}
.pg-ps-feature-band p {
  margin: 0 0 0.85rem;
  color: var(--pg-ps-muted);
  line-height: 1.55;
}
.pg-ps-feature-band ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.pg-ps-feature-band li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--pg-ps-ink);
  line-height: 1.45;
}
.pg-ps-feature-band li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--pg-ps-emerald);
}

.pg-ps-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
  background: #dfe8f2;
  box-shadow: var(--pg-ps-shadow);
}
.pg-ps-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Hero marketing stage — complete artwork, balanced grid (no overlapping voids) */
.pg-ps-visual--collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: minmax(0, auto) minmax(0, auto);
  align-content: start;
  align-items: start;
  gap: 0.7rem;
  min-height: 0;
  padding: 0.7rem;
  background:
    radial-gradient(420px 220px at 80% 20%, rgba(11, 163, 96, 0.10), transparent 70%),
    linear-gradient(145deg, #e8eef6, #f4f7fb);
}
.pg-ps-visual--collage img {
  position: static;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(6, 43, 91, 0.14);
  object-fit: contain;
  object-position: center top;
  background: #fff;
  transform: none;
}
.pg-ps-visual--collage .c1 {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center top;
}
.pg-ps-visual--collage .c2 {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 1;
  max-height: none;
  justify-self: stretch;
}
.pg-ps-visual--collage .c3 {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  aspect-ratio: 707/1000;
  max-height: none;
  justify-self: stretch;
  object-fit: contain;
}
.pg-ps-visual--collage .c4 {
  display: none;
}
.pg-ps-visual--hero-stage .c4 {
  display: block;
  grid-column: 1 / -1;
  grid-row: auto;
  aspect-ratio: 1200/630;
  max-height: none;
  width: 100%;
  object-fit: cover;
}

.pg-ps-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pg-ps-icon-item {
  padding: 1.2rem 1.15rem 1.3rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--pg-ps-line);
}
.pg-ps-icon-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  border-radius: 10px;
}
.pg-ps-icon-item h3 {
  margin: 0 0 0.4rem;
  color: var(--pg-ps-navy);
  font-size: 1.05rem;
}
.pg-ps-icon-item p {
  margin: 0;
  color: var(--pg-ps-muted);
  line-height: 1.45;
  font-size: 0.94rem;
}

.pg-ps-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  counter-reset: pgps;
}
.pg-ps-step {
  position: relative;
  padding: 1.25rem 1.1rem 1.3rem;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.pg-ps-section--paper .pg-ps-step,
.pg-ps-section--white .pg-ps-step {
  background: #fff;
  border-color: var(--pg-ps-line);
  box-shadow: 0 10px 28px rgba(6, 43, 91, 0.05);
}
.pg-ps-step::before {
  counter-increment: pgps;
  content: counter(pgps);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--pg-ps-emerald);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}
.pg-ps-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: #ffffff;
}
.pg-ps-section--paper .pg-ps-step h3,
.pg-ps-section--white .pg-ps-step h3 { color: var(--pg-ps-navy); }
.pg-ps-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
}
.pg-ps-section--paper .pg-ps-step p,
.pg-ps-section--white .pg-ps-step p { color: var(--pg-ps-muted); }
.pg-ps-section--navy .pg-ps-step h3 { color: #ffffff !important; }
.pg-ps-section--navy .pg-ps-step p { color: rgba(255,255,255,.88) !important; }

.pg-ps-roadmap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.pg-ps-road-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--pg-ps-line);
}
.pg-ps-road-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--pg-ps-navy);
}
.pg-ps-road-item p {
  margin: 0;
  color: var(--pg-ps-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
.pg-ps-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  white-space: normal;
  text-align: center;
  max-width: 9.5rem;
  line-height: 1.25;
}
.pg-ps-pill--ready { background: #e7f7ef; color: #087a48; }
.pg-ps-pill--pilot { background: #eef3fb; color: #062B5B; }
.pg-ps-pill--planned { background: #f3f4f6; color: #5a6b7d; }

.pg-ps-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.pg-ps-gallery__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border: 0;
  padding: 0.75rem;
  margin: 0;
  border-radius: 18px;
  cursor: zoom-in;
  background: #fff;
  border: 1px solid var(--pg-ps-line);
  box-shadow: 0 10px 26px rgba(6, 43, 91, 0.06);
  text-align: left;
}
.pg-ps-gallery__frame {
  display: grid;
  place-items: center;
  width: 100%;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #eef3f8, #e4ebf3);
  overflow: hidden;
}
.pg-ps-gallery__item img,
.pg-ps-gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: #fff;
}
.pg-ps-gallery__item span {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(4, 31, 66, 0.08);
  color: var(--pg-ps-navy);
  font-size: 0.72rem;
  font-weight: 700;
}
.pg-ps-gallery__item--sq .pg-ps-gallery__frame { aspect-ratio: 1; }
.pg-ps-gallery__item--port .pg-ps-gallery__frame { aspect-ratio: 4/5; }
.pg-ps-gallery__item--land .pg-ps-gallery__frame { aspect-ratio: 1200/630; }
.pg-ps-gallery__item--story .pg-ps-gallery__frame { aspect-ratio: 9/16; max-width: 11rem; margin-inline: auto; }
.pg-ps-gallery__note {
  margin: 0.85rem 0 0;
  color: var(--pg-ps-muted);
  font-size: 0.88rem;
}

/* Interactive format previews */
.pg-ps-interact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.pg-ps-interact__card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--pg-ps-line);
  box-shadow: 0 12px 28px rgba(6, 43, 91, 0.06);
}
.pg-ps-interact__card h3 {
  margin: 0;
  color: var(--pg-ps-navy);
  font-size: 1.02rem;
}
.pg-ps-interact__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef3f8, #e5ecf4);
  overflow: hidden;
}
.pg-ps-interact__stage img,
.pg-ps-interact__stage video {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(6, 43, 91, 0.12);
}
.pg-ps-interact__stage--story img,
.pg-ps-interact__stage--story video {
  max-height: 340px;
  width: min(100%, 180px);
}
.pg-ps-interact__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.pg-ps-interact__controls button {
  min-height: 36px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 43, 91, 0.16);
  background: #fff;
  color: var(--pg-ps-navy);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}
.pg-ps-interact__controls button.is-active,
.pg-ps-interact__controls button:hover {
  background: var(--pg-ps-navy);
  color: #fff;
  border-color: var(--pg-ps-navy);
}
.pg-ps-interact__meta {
  margin: 0;
  color: var(--pg-ps-muted);
  font-size: 0.82rem;
}

.pg-ps-faq details {
  border-bottom: 1px solid var(--pg-ps-line);
  padding: 0.95rem 0;
}
.pg-ps-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--pg-ps-navy);
  list-style: none;
}
.pg-ps-faq summary::-webkit-details-marker { display: none; }
.pg-ps-faq details p {
  margin: 0.55rem 0 0;
  color: var(--pg-ps-muted);
  line-height: 1.5;
}

.pg-ps-cta-final {
  text-align: center;
  padding: 2.4rem 1.5rem;
  border-radius: 24px;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(11, 163, 96, 0.18), transparent 60%),
    linear-gradient(160deg, #041F42, #062B5B);
  color: #fff;
}
.pg-ps-cta-final h2 {
  margin: 0 0 0.55rem;
  color: #fff !important;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}
.pg-ps-cta-final p {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  color: rgba(255,255,255,.88) !important;
  line-height: 1.5;
}
.pg-ps-cta-final .pg-ps-actions { justify-content: center; }

.pg-ps-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pg-ps-wordmark em {
  font-style: normal;
  color: #7dffc0;
}

.pg-ps-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 0.82rem;
  font-weight: 650;
}

.pg-ps-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  background: rgba(4, 31, 66, 0.86);
  padding: 1.25rem;
}
.pg-ps-lightbox.is-open { display: grid; }
.pg-ps-lightbox__inner {
  position: relative;
  max-width: min(960px, 96vw);
  max-height: 90vh;
}
.pg-ps-lightbox__inner img,
.pg-ps-lightbox__inner video {
  max-width: 100%;
  max-height: 84vh;
  border-radius: 12px;
  background: #000;
}
.pg-ps-lightbox__close {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--pg-ps-navy);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.pg-ps-lightbox__cap {
  margin: 0.65rem 0 0;
  color: rgba(255,255,255,.86);
  text-align: center;
  font-size: 0.9rem;
}

.pg-ps-demo-label {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(11, 163, 96, 0.12);
  color: #087a48;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pg-ps-caption-panel {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--pg-ps-line);
}
.pg-ps-caption-panel h3 {
  margin: 0 0 0.45rem;
  color: var(--pg-ps-navy);
  font-size: 1rem;
}
.pg-ps-caption-panel pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  color: var(--pg-ps-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .pg-ps-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-ps-interact { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .pg-ps-page .pg-ps-hero .container,
  .pg-ps-feature-band,
  .pg-ps-feature-band--flip {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .pg-ps-icon-grid,
  .pg-ps-roadmap,
  .pg-ps-steps {
    grid-template-columns: 1fr 1fr;
  }
  .pg-ps-visual--collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .pg-ps-visual--collage .c1 {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 1;
    max-height: 360px;
    object-fit: cover;
  }
  .pg-ps-visual--collage .c2,
  .pg-ps-visual--collage .c3 {
    max-height: 260px;
  }
}
@media (max-width: 640px) {
  .pg-ps-icon-grid,
  .pg-ps-roadmap,
  .pg-ps-steps,
  .pg-ps-gallery {
    grid-template-columns: 1fr;
  }
  .pg-ps-page .pg-ps-hero { padding: 1.8rem 0 2.1rem; }
  .pg-ps-visual--collage {
    grid-template-columns: 1fr;
  }
  .pg-ps-visual--collage .c2,
  .pg-ps-visual--collage .c3 {
    max-height: 300px;
  }
}

/* Commercial benefit cards (launch presentation — no roadmap status pills) */
.pg-ps-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.pg-ps-benefit {
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--pg-ps-line);
  box-shadow: 0 10px 26px rgba(6, 43, 91, 0.05);
}
.pg-ps-benefit img {
  width: 36px;
  height: 36px;
  margin-bottom: 0.7rem;
  border-radius: 10px;
}
.pg-ps-benefit h3 {
  margin: 0 0 0.4rem;
  color: var(--pg-ps-navy);
  font-size: 1.02rem;
}
.pg-ps-benefit p {
  margin: 0;
  color: var(--pg-ps-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
@media (max-width: 960px) {
  .pg-ps-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pg-ps-benefits { grid-template-columns: 1fr; }
}
