/* Homepage polish. Keep template bundles and secondary pages unchanged. */
:root {
  --gp-nav-offset: 7rem;
  --gp-radius-card: 1.5rem;
  --gp-shadow-media: 0 1rem 2.5rem rgb(24 48 37 / 12%);
}

html { scroll-padding-top: var(--gp-nav-offset); }
#features, #usecase, #metrics, #coverage, #smart-assist { scroll-margin-top: var(--gp-nav-offset); }
img[src*="images/greenpromo/"]:not([src$=".svg"]):not([src*="logo-"]) { display: block; }

.gp-home {
  --gp-green: oklch(36% .07 158);
  --gp-green-hover: oklch(30% .06 158);
  --gp-ink: oklch(23% .018 158);
  --gp-muted: oklch(46% .018 158);
  --gp-surface: oklch(97.5% .005 158);
  --gp-card: oklch(94.5% .009 158);
  --gp-line: oklch(87% .014 158);
  --gp-paper: oklch(99% .003 158);
  --gp-pink: oklch(92% .025 350);
  --gp-space-section: clamp(4rem, 7vw, 6rem);
  --gp-space-card: clamp(1.5rem, 2.5vw, 2.5rem);
  background-color: var(--gp-surface);
  color: var(--gp-ink);
}
.gp-home :is(.gp-intro, #features) > .container { padding-inline: clamp(1rem, 2vw, 1.5rem); }
.gp-icon { display: block; }
.gp-service-card :is(h3, h4, h5) { color: inherit; }
.gp-home h1, .gp-home h2, .gp-home h3 { text-wrap: balance; }
.gp-home p { text-wrap: pretty; }
.gp-home :is(a, button):focus-visible { outline: 3px solid #c03b76; outline-offset: 4px; }
.gp-home .navbar > .container { padding-block: 1rem; }
.gp-home .nav-sticky-on > .container { padding-block: .625rem; }
.gp-home .navbar > .container > div > .w-full { width: .75rem; flex-shrink: 0; }
.gp-home .navbar > .container > div > div:first-child { min-width: 0; padding: .625rem 1rem; }
.gp-home .gp-header-brand { display: flex; align-items: center; flex-shrink: 0; width: 9.5rem; }
.gp-home .gp-footer-brand { display: block; width: min(20rem, 100%); }
/* Display the colored website asset directly, including the pink promo label. */
.gp-home .gp-brand-art {
  display: block;
  width: 100%;
  aspect-ratio: 894 / 247;
}
.gp-home .gp-brand-art img { display: block; width: 100%; height: auto; }
.gp-home .navbar #navbar :is(a, button) { padding: .875rem 1.125rem; color: var(--gp-muted); }
.gp-home .navbar #navbar :is(a, button):hover { color: var(--gp-green); background-color: var(--gp-card); }
.gp-home .navbar :is(.shadow-lg, .lg\:shadow-lg) { box-shadow: 0 .25rem 1rem rgb(24 48 37 / 8%); }
.gp-home .navbar [aria-current="page"] { color: var(--gp-green); }
.gp-home .navbar a[aria-label], .gp-home .navbar button[aria-controls="mobile-menu"] { min-width: 44px; min-height: 44px; }
.gp-home #mobile-menu { top: 5.5rem; height: auto; max-height: calc(100dvh - 7rem); }
.gp-home #mobile-menu > div { max-height: calc(100dvh - 7rem); }
.gp-home #mobile-menu :is(a, button) { min-height: 44px; }

/* Keep the photograph, give the copy and image group room to breathe. */
.gp-hero {
  min-height: 0;
  justify-content: flex-start;
  padding-top: clamp(8.5rem, 10vw, 10rem);
  padding-bottom: 6rem;
  background-color: var(--gp-ink);
}
.gp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(9 18 14 / 78%), rgb(9 18 14 / 46%) 52%, rgb(9 18 14 / 24%)),
    linear-gradient(180deg, rgb(9 18 14 / 20%) 45%, rgb(9 18 14 / 82%));
}
.gp-hero > img { object-position: 62% 58%; filter: saturate(.85); }
.gp-hero h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 1.5rem; }
.gp-hero-description { max-width: 46ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; margin-bottom: 1.75rem; }
.gp-hero-actions { flex-wrap: wrap; gap: .75rem; }
.gp-hero-actions > a { min-height: 52px; padding: .875rem 1.5rem; font-size: 1rem; }
.gp-hero-actions > a:hover { transform: none; }
.gp-hero-actions > a:first-child { color: var(--gp-green); background: var(--gp-paper); }
.gp-hero-actions > a:last-child { background: rgb(20 40 30 / 55%); backdrop-filter: none; }
.gp-hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas: "handoff center door";
  align-items: center;
  gap: clamp(.75rem, 1.8vw, 1.25rem);
  width: min(100%, 40rem);
  margin: 2.5rem auto 0;
  isolation: isolate;
}
.gp-hero-handoff { grid-area: handoff; }
.gp-hero-door { grid-area: door; }
.gp-hero-center { grid-area: center; min-width: 0; }
.gp-hero-visual > .gp-hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.125rem;
  border: 1px solid rgb(255 255 255 / 18%);
  box-shadow: 0 .5rem 1.5rem rgb(0 0 0 / 15%);
  filter: saturate(.85);
}
.gp-hero-fade { position: absolute; inset: auto 0 0; height: 3rem; z-index: 2; pointer-events: none; background: linear-gradient(transparent, var(--gp-surface)); }

/* Two quiet image rails around one photographic focal point. */
.gp-intro { padding-block: var(--gp-space-section); }
.gp-intro-heading { max-width: 52rem; margin-inline: auto; }
.gp-intro h2, .gp-services-heading h2 { font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.18; font-weight: 500; letter-spacing: -.035em; }
.gp-intro-heading > p { max-width: 64ch; margin: 1.5rem auto; color: var(--gp-muted); font-size: 1.125rem; line-height: 1.6; }
.gp-intro-tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.gp-intro-tags span { padding: .5rem .875rem; border: 1px solid var(--gp-line); border-radius: 2rem; font-size: .875rem; color: var(--gp-green); }
.gp-intro-tags span:first-child { background: var(--gp-pink); border-color: transparent; }
.gp-intro-stage { position: relative; height: 26rem; max-width: 66rem; margin: 2.5rem auto; }
.gp-intro-row { position: absolute; inset-inline: 0; display: grid; grid-template-columns: 1fr 1fr 1.8fr 1fr 1fr; align-items: center; gap: 1rem; }
.gp-intro-row-top { top: 1.75rem; }
.gp-intro-row-bottom { bottom: 1.75rem; }
.gp-intro-row > img, .gp-intro-tile { width: 100%; aspect-ratio: 1; border-radius: 1.25rem; }
.gp-intro-row > img { object-fit: cover; }
.gp-intro-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .875rem; background: var(--gp-paper); border: 1px solid var(--gp-line); color: var(--gp-ink); font-size: .9375rem; line-height: 1.45; }
.gp-intro-tile .gp-icon { width: 1.75rem; height: 1.75rem; color: var(--gp-green); }
.gp-intro-portrait { position: relative; z-index: 1; width: 26%; height: 100%; margin: 0 auto; border: .5rem solid var(--gp-surface); border-radius: 1.75rem; overflow: hidden; box-shadow: var(--gp-shadow-media); }
.gp-intro-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.gp-intro-portrait figcaption { position: absolute; inset: auto 0 0; padding: 2rem 1rem 1rem; color: var(--gp-paper); font-size: .8125rem; line-height: 1.5; background: linear-gradient(transparent, rgb(9 18 14 / 90%)); }
.gp-intro-footer { max-width: 39rem; margin-inline: auto; }
.gp-intro-footer > p { color: var(--gp-muted); font-size: 1.0625rem; line-height: 1.65; margin-bottom: 1.5rem; }
.gp-intro-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.gp-button { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 48px; padding: .75rem 1.5rem; border: 1px solid transparent; border-radius: 2rem; font-size: 1rem; line-height: 1.5; font-weight: 500; transition: background-color 180ms ease-out, color 180ms ease-out; }
.gp-button .gp-icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.gp-button-primary { color: var(--gp-paper); background: var(--gp-green); }
.gp-button-primary:hover { background: var(--gp-green-hover); }
.gp-button-secondary { color: var(--gp-green); border-color: var(--gp-line); background: var(--gp-paper); }
.gp-button-secondary:hover { background: var(--gp-card); }
.gp-button-light { color: var(--gp-green); background: var(--gp-paper); }
.gp-button-light:hover { background: var(--gp-card); }

/* Retain the service grid; align the copy, imagery, and padding. */
#features { padding-bottom: var(--gp-space-section) !important; }
.gp-services-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
.gp-services-heading h2 { max-width: 20ch; }
.gp-services-heading > p { max-width: 44ch; justify-self: end; color: var(--gp-muted); font-size: 1.125rem; line-height: 1.6; }
.gp-eyebrow { display: inline-block; padding: .375rem .875rem; margin-bottom: 1rem; border: 1px solid var(--gp-line); border-radius: 2rem; font-size: .875rem; color: var(--gp-green); }
.gp-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.gp-service-card { position: relative; min-width: 0; padding: var(--gp-space-card); border-radius: var(--gp-radius-card); overflow: hidden; }
.gp-service-copy h3 { font-size: clamp(1.375rem, 1.8vw, 1.625rem); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; margin-bottom: .75rem; }
.gp-service-copy > p { font-size: 1.0625rem; line-height: 1.65; max-width: 46ch; }
.gp-service-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1rem; }
.gp-feature-door { display: flex; flex-direction: column; gap: 1.75rem; padding: 2rem; color: var(--gp-ink); background: var(--gp-paper); border: 1px solid var(--gp-line); }
.gp-feature-door .gp-service-copy > p { color: var(--gp-muted); }
.gp-feature-door .gp-service-photo { margin-top: auto; object-position: center 46%; }
.gp-benefits { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; padding: 0; list-style: none; }
.gp-benefits li { display: flex; align-items: center; gap: .375rem; color: var(--gp-green); font-size: .8125rem; line-height: 1.5; }
.gp-benefits .gp-icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.gp-feature-hand { display: flex; flex-direction: column; gap: 1.75rem; padding: 2rem; color: var(--gp-ink); background: var(--gp-card); border: 1px solid var(--gp-line); }
.gp-feature-hand .gp-service-copy > p { color: var(--gp-muted); }
.gp-planner { margin-top: auto; padding: 1.5rem; border: 1px solid var(--gp-line); border-radius: 1rem; background: var(--gp-paper); }
.gp-planner-heading { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--gp-line); }
.gp-planner h4, .gp-zones-panel h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.gp-planner-heading p { margin-top: .25rem; color: var(--gp-muted); font-size: .875rem; }
.gp-process { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.gp-process li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem; align-items: start; }
.gp-step-number { font-size: .875rem; font-variant-numeric: tabular-nums; line-height: 1.7; color: var(--gp-green); }
.gp-process h5 { font-size: 1rem; font-weight: 500; line-height: 1.5; }
.gp-process p { margin-top: .125rem; font-size: .875rem; line-height: 1.5; color: var(--gp-muted); }
.gp-feature-business {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  color: var(--gp-ink);
  background: var(--gp-card);
  border: 1px solid var(--gp-line);
}
.gp-business-copy > p { color: var(--gp-muted); }
.gp-business-copy .gp-button { margin-top: 1.5rem; background: var(--gp-green); color: var(--gp-paper); }
.gp-business-copy .gp-button:hover { background: var(--gp-green-hover); }
.gp-business-copy .gp-service-note { font-size: .875rem; line-height: 1.6; margin-top: 2rem; color: var(--gp-muted); max-width: 42ch; }
.gp-business-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; }
.gp-feature-zones {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  color: var(--gp-ink);
  background: var(--gp-paper);
  border: 1px solid var(--gp-line);
}
.gp-feature-zones .gp-service-copy > p { color: var(--gp-muted); }
.gp-zones-panel { display: flex; flex-direction: column; flex: 1; padding: 0; margin-top: 0; }
.gp-zone-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .875rem 1rem; margin: 1.25rem 0; padding: 0; list-style: none; font-size: .9375rem; line-height: 1.5; }
.gp-feature-zones .gp-zone-list { flex: 1; grid-auto-rows: minmax(3.5rem, 1fr); gap: 0 1.5rem; }
.gp-feature-zones .gp-zone-list li { display: flex; align-items: center; padding-block: .75rem; }
.gp-zones-panel > p { display: flex; align-items: start; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--gp-line); font-size: .875rem; line-height: 1.6; color: var(--gp-muted); }
.gp-zones-panel > p .gp-icon { flex-shrink: 0; width: 1rem; height: 1rem; margin-top: .1875rem; }
.gp-feature-print {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--gp-paper);
  color: var(--gp-ink);
  border: 1px solid var(--gp-line);
}
.gp-feature-print .gp-service-copy > p { color: var(--gp-muted); }
.gp-feature-print .gp-service-photo { margin-top: 0; aspect-ratio: 4 / 3; }
.gp-home .gp-cta-photo { width: min(100%, 18rem); height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--gp-radius-card); }

@media (max-width: 63.999rem) {
  .gp-services-grid { grid-template-columns: minmax(0, 1fr); }
  .gp-feature-door .gp-service-photo { max-height: 28rem; }
  .gp-feature-business { gap: 1.5rem; }
  .gp-intro-stage { height: 22rem; }
  .gp-intro-row { gap: .75rem; }
  .gp-intro-tile { font-size: .8125rem; gap: .5rem; }
}
@media (max-width: 47.999rem) {
  .gp-home { --gp-space-card: 1.5rem; }
  .gp-home .navbar > .container { padding: .75rem; }
  .gp-home .navbar > .container > div > div:first-child { padding: .5rem; }
  .gp-home .navbar .gp-header-brand { width: 8rem; }
  .gp-home .navbar > .container > div > div:last-child { padding: .25rem; gap: .25rem; box-shadow: none; }
  .gp-home .navbar a[aria-label], .gp-home .navbar button[aria-controls="mobile-menu"] { border-radius: .75rem; }
  .gp-hero { padding-top: 8rem; padding-bottom: 5rem; }
  .gp-hero > img { object-position: 63% center; }
  .gp-hero::before { background: linear-gradient(180deg, rgb(9 18 14 / 65%), rgb(9 18 14 / 72%)); }
  .gp-hero h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); max-width: 14ch; }
  .gp-hero-description { max-width: 34ch; }
  .gp-hero-actions { flex-direction: column; width: 100%; }
  .gp-hero-actions > a { width: min(100%, 22rem); }
  .gp-hero-visual { margin-top: 2rem; }
  .gp-intro-heading > p { font-size: 1rem; }
  .gp-intro-tags { gap: .375rem; }
  .gp-intro-tags span { font-size: .8125rem; padding: .375rem .625rem; }
  .gp-intro-stage { display: flex; flex-direction: column; gap: 1rem; height: auto; margin-block: 2rem; }
  .gp-intro-row { position: static; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
  .gp-intro-spacer { display: none; }
  .gp-intro-row > img, .gp-intro-tile { border-radius: .75rem; aspect-ratio: auto; height: clamp(5.5rem, 22vw, 8rem); }
  .gp-intro-tile { font-size: .875rem; gap: .375rem; padding: .25rem; }
  .gp-intro-tile .gp-icon { width: 1.25rem; height: 1.25rem; }
  .gp-intro-portrait { width: min(72%, 17rem); height: 20rem; border: 0; border-radius: 1.25rem; }
  .gp-intro-footer > p { font-size: 1rem; }
  .gp-services-heading { grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
  .gp-services-heading > p { justify-self: start; font-size: 1rem; }
  .gp-services-grid { gap: 1rem; }
  .gp-service-copy > p { font-size: 1rem; }
  .gp-feature-business { grid-template-columns: minmax(0, 1fr); }
  .gp-feature-door, .gp-feature-hand, .gp-feature-business, .gp-feature-zones, .gp-feature-print { padding: 1.5rem; }
  .gp-business-copy .gp-service-note { margin-top: 1.5rem; }
  .gp-planner { padding: 1.125rem; }
  .gp-zone-list { font-size: .875rem; gap: .75rem; }
}

@media (max-width: 39.999rem) {
  .gp-hero-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "center center" "handoff door";
    max-width: 22rem;
    gap: .75rem;
  }
  .gp-hero-visual > .gp-hero-center { width: min(100%, 16rem); justify-self: center; }
}

/* The original twelve-column FAQ grid spent more than the viewport on gaps at 1024px. */
.gp-home .gp-faq-grid > div { min-width: 0; }
.gp-home .gp-faq .hs-accordion-toggle { gap: 1rem; }
@media (min-width: 64rem) {
  .gp-home .gp-faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); }
  .gp-home .gp-faq-grid > div { grid-column: auto; }
}

.gp-home footer a { overflow-wrap: anywhere; }
.gp-home footer > .container > .grid { gap: clamp(2rem, 4vw, 4rem); }
.gp-home footer form { flex-wrap: wrap; }
.gp-home footer form input[type="email"] { width: 100% !important; min-width: 0; flex: 1 1 14rem; }

/* Use cases and metrics. */
#usecase .container { overflow: hidden; }

#usecase [role="tabpanel"] > div {
  overflow: hidden;
  border-radius: var(--gp-radius-card);
  box-shadow: 0 1.375rem 3.125rem rgb(24 24 27 / 12%);
}

#usecase [role="tabpanel"] img[src*="images/greenpromo/"] {
  object-fit: cover;
  object-position: center;
  border-radius: var(--gp-radius-card);
}

#usecase [role="tabpanel"] > div::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, rgb(0 0 0 / 30%), transparent 56%);
}

#usecase [role="tabpanel"] > div > div { z-index: 2; }

#metrics .group {
  width: clamp(17rem, 23vw, 23.75rem);
  height: clamp(20rem, 34vw, 32rem);
  isolation: isolate;
}

#metrics .group::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / 10%) 0%, rgb(0 0 0 / 4%) 45%, rgb(0 0 0 / 86%) 100%);
}

#metrics .group > img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.002);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

#metrics .group:hover > img { transform: scale(1.035); }
#metrics .group > div { z-index: 2; }

/* Coverage cards. */
#coverage video,
.gp-coverage-slider video {
  object-fit: cover;
  object-position: center;
}

.gp-coverage-slider .swiper-slide > div {
  overflow: hidden;
  border-radius: var(--gp-radius-card);
  box-shadow: 0 1.375rem 3rem rgb(24 24 27 / 14%);
}

.gp-coverage-slider .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: var(--gp-radius-card);
  background: linear-gradient(180deg, rgb(0 0 0 / 55%), transparent 42%, rgb(0 0 0 / 62%));
}

.gp-coverage-slider .swiper-slide > div > * {
  position: relative;
  z-index: 2;
}

/* Documentation: stack through tablet widths, then compose on desktop. */
.gp-documentation-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.gp-documentation-grid > div:first-child { max-width: 44rem; }

.gp-documentation-visual {
  width: min(100%, 64rem);
  height: clamp(27rem, 66vw, 36rem);
  aspect-ratio: auto;
  margin-inline: auto;
  background-position: center;
  background-size: cover;
}

.gp-documentation-visual > div:first-child {
  top: 5%;
  right: -2%;
  width: min(62%, 22rem);
}

.gp-documentation-visual > div:first-child img[src*="reporting-dashboard-v2"] {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: rotate(-11deg);
  filter: drop-shadow(0 1.875rem 2.125rem rgb(24 24 27 / 22%));
}

.gp-documentation-visual > div:nth-child(2) {
  top: 8%;
  left: 4%;
  width: min(40%, 17rem);
}

.gp-documentation-visual > div:nth-child(2) img {
  width: 100%;
  margin-inline-start: 0;
  object-fit: cover;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 1rem;
  box-shadow: 0 1.125rem 2.375rem rgb(24 24 27 / 18%);
}

#smart-assist .gp-documentation-grid + .grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  margin-top: clamp(3rem, 8vw, 6rem);
}

#smart-assist .gp-documentation-grid + .grid > div { min-width: 0; }

.gp-final-cta img[src*="reporting-dashboard-v2"],
body:not(:has(.gp-hero)) img[src*="reporting-dashboard-v2"] {
  object-fit: contain;
  filter: drop-shadow(0 1.875rem 2.125rem rgb(24 24 27 / 20%));
}

.gp-audiences img[src*="square-"] { object-fit: cover; }

.gp-audiences [class*="bg-default-200"] {
  border: 1px solid rgb(39 39 42 / 5%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 80%) inset;
}

.gp-final-cta img[src*="square-"],
.gp-final-cta img[src*="athens-shop-"] {
  object-fit: cover;
  border-radius: 1rem;
}

/* Preserve the prior media treatment on secondary pages now that CSS is external. */
body:not(:has(.gp-hero)) img[src*="about-hero-v2"],
body:not(:has(.gp-hero)) img[src*="about-athens-v2"],
body:not(:has(.gp-hero)) img[src*="about-print-v2"] {
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

body:not(:has(.gp-hero)) img[src*="reporting-kit-v2"] {
  object-fit: cover;
  object-position: center;
  border-radius: var(--gp-radius-card);
}

body:not(:has(.gp-hero)) img[src*="portrait-"] {
  object-fit: cover;
  object-position: center top;
}

body:not(:has(.gp-hero)) img[src*="landscape-"] {
  object-fit: cover;
  border-radius: .875rem;
}

@media (min-width: 64rem) {
  .gp-documentation-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
  }
}

@media (max-width: 63.999rem) {
  .gp-documentation-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 47.999rem) {
  :root { --gp-nav-offset: 5rem; }

  #usecase .container { padding: 1.25rem; }
  #usecase [role="tabpanel"] > div { border-radius: 1rem; }

  #metrics .group::before {
    background: linear-gradient(180deg, rgb(0 0 0 / 8%), rgb(0 0 0 / 82%));
  }

  .gp-documentation-visual {
    height: clamp(25rem, 125vw, 31rem);
    border-radius: 1.5rem;
  }

  .gp-documentation-visual > div:first-child {
    top: 8%;
    right: -4%;
    width: min(72%, 19rem);
  }

  .gp-coverage-slider .swiper-slide > div { border-radius: 1.25rem; }
}

/* Section spacing: reduce excessive vertical gaps */
#usecase { padding-top: clamp(2rem, 5vw, 4rem); }

#metrics { padding-top: clamp(4rem, 7vw, 6rem) !important; padding-bottom: clamp(4rem, 7vw, 6rem) !important; }

/* Pricing cards support mouse dragging, touch, trackpad, and keyboard scrolling. */
.gp-pricing-rail {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--gp-line) transparent;
  cursor: grab;
}
.gp-pricing-rail.is-dragging { cursor: grabbing; user-select: none; }
.gp-pricing-rail img { -webkit-user-drag: none; user-select: none; }
.gp-pricing-rail:focus-visible { outline: 3px solid #c03b76; outline-offset: -3px; }
.gp-pricing-track { width: max-content; padding-inline: 1rem; }
#metrics .gp-pricing-track > div {
  flex: 0 0 auto;
  min-height: 0;
}

#metrics .gp-pricing-track > div > .relative.z-10:last-child p {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.4;
}

.gp-coverage-note { max-width: 42rem; margin: 1rem auto 2rem; color: var(--gp-muted); font-size: 1rem; line-height: 1.6; text-align: center; }
.gp-coverage-media { height: clamp(18rem, 40vw, 34.5rem); flex-shrink: 0; }
.gp-service-facts { position: relative; width: min(100%, 55rem); margin-top: 2rem; background: var(--gp-surface); }
.gp-service-facts h3 { color: var(--gp-ink); font-size: clamp(1.125rem, 2vw, 1.625rem); font-weight: 600; line-height: 1.25; text-wrap: balance; }
.gp-service-facts p { margin-top: .625rem; color: var(--gp-muted); font-size: clamp(.875rem, 1.4vw, 1rem); line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .gp-intro [class*="animate-"],
  #features [class*="animate-"],
  #metrics [class*="animate-"],
  .gp-coverage-slider [class*="animate-"] {
    animation: none !important;
  }

  #metrics .group > img,
  #metrics .group:hover > img {
    transform: none;
    transition: none;
  }

  .gp-documentation-visual > div:first-child img[src*="reporting-dashboard-v2"] {
    transition: none;
  }
}

/* Small visual cleanup; retain the existing sections, cards, and sliders. */
.gp-home img[src*="/cloud-"],
.gp-home img[alt="AI Icon"],
.gp-home .gp-audiences a[href="#"],
.gp-home #metrics .tabler--star-filled,
.gp-home .gp-coverage-slider .tabler--star-filled {
  display: none;
}
.gp-home .gp-coverage-slider .pointer-events-none[class*="blur-"] { display: none; }
.gp-home .gp-coverage-slider .swiper-slide > div > .absolute { position: absolute; }
.gp-home .gp-documentation-visual { background-image: none; background-color: var(--gp-card); }
.gp-home .gp-documentation-visual > div:nth-child(2) > div:nth-child(n+2) { display: none; }
.gp-home .gp-documentation-visual .animate-float { animation: none; }
.gp-home .gp-documentation-visual > div:first-child img {
  max-height: min(30rem, 90vw);
  object-fit: contain;
  transform: rotate(-3deg);
  filter: drop-shadow(0 .75rem 1.25rem rgb(24 48 37 / 14%));
}
.gp-home #smart-assist .gp-documentation-grid + .grid > div > div:first-child {
  background: var(--gp-card);
  color: var(--gp-green);
}
.gp-home #smart-assist .gp-documentation-grid + .grid .text-white { color: var(--gp-green); }
.gp-home #smart-assist .gp-documentation-grid + .grid > div > div:first-child img { filter: brightness(.25); }
.gp-home .gp-coverage-slider .swiper-slide > div > .absolute.inset-0 {
  background: linear-gradient(180deg, rgb(12 24 18 / 65%), transparent 45%, rgb(12 24 18 / 55%));
}
