/* Shared layout for Solutions, Product and Become a partner. */
.pg {
  --pg-ink: #1b1e1d;
  --pg-muted: rgb(27 30 29 / 80%);
  --pg-teal: #0c4d4d;
  --pg-mint: #4dffd2;
  --pg-warm: #fcfaf7;
  --pg-soft: #eef1f0;
  --pg-fade: clamp(48px, 8vw, 120px);
  --pg-line: rgb(27 30 29 / 14%);
  --pg-space: clamp(52px, 6vw, 96px);
  --pg-gutter: clamp(18px, 3vw, 56px);
  background: #fff;
  color: var(--pg-ink);
  font-family: "Antrino Sans", Arial, sans-serif;
}

.pg .container {
  max-width: 1760px;
  padding-inline: var(--pg-gutter);
}

.pg :is(h1, h2, h3, p) {
  margin: 0;
  color: inherit;
}

.pg :is(h1, h2, h3) {
  text-wrap: balance;
}

.pg h1 {
  max-width: 16ch;
  font-size: clamp(38px, 5.7vw, 80px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.pg h2 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.pg h2 .pg-gap {
  margin-left: 0.18em;
}

.pg h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pg-hero {
  padding: clamp(116px, 11vw, 158px) 0 var(--pg-space);
  background: linear-gradient(to bottom, var(--pg-warm), #fff);
}

.pg-hero--solutions {
  padding-bottom: 28px;
}

.pg-hero__split,
.pg-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px clamp(32px, 5vw, 76px);
}

.pg-hero__split {
  align-items: center;
}

.pg-hero__split--solutions {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
  align-items: end;
}

.pg-section,
.pg-band {
  padding-block: var(--pg-space);
}

.pg-industries {
  padding-top: 18px;
}

.pg-band {
  padding-block: max(var(--pg-space), var(--pg-fade));
  background: linear-gradient(
    to bottom,
    #fff 0,
    var(--pg-soft) var(--pg-fade),
    var(--pg-soft) calc(100% - var(--pg-fade)),
    #fff 100%
  );
}

.pg p.pg-kicker {
  margin-bottom: 16px;
  color: var(--pg-teal);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.pg p.pg-lede,
.pg p.pg-note {
  font-weight: 400;
  max-width: 54ch;
  color: var(--pg-muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.pg :is(h1, h2) + .pg-lede,
.pg p.pg-note--gap {
  margin-top: 18px;
}

.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--pg-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(27, 30, 29, 0.22), 0 10px 18px rgba(27, 30, 29, 0.16);
}

.pg-btn:hover {
  border-color: var(--pg-teal);
  background: var(--pg-mint);
  color: var(--pg-teal);
}

.pg a:focus-visible {
  outline: 2px solid var(--pg-teal);
  outline-offset: 4px;
}

.pg-cards,
.pg-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pg-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 10px 18px;
  border: 1px solid var(--pg-line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.pg-card:hover,
.pg-also a:hover {
  border-color: var(--pg-teal);
  background: var(--pg-warm);
}

.pg-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: var(--pg-soft);
}

.pg-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-card h2,
.pg-card p {
  margin-inline: 8px;
}

.pg-card h2 {
  margin-top: 6px;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: wrap;
}

.pg-card p,
.pg p.pg-credits {
  color: var(--pg-muted);
  font-size: 14px;
  line-height: 1.45;
}

.pg p.pg-credits {
  max-width: 85ch;
  margin-top: 16px;
  font-size: 12px;
}

.pg-credits a,
.pg-textlink {
  color: var(--pg-teal);
  text-underline-offset: 3px;
}

.pg-also {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.pg-also h2 {
  max-width: none;
  padding: 0;
  font-size: clamp(30px, 4vw, 54px);
}

.pg :is(.pg-also ul, .pg-shots, .pg-groups ul, .pg-logos, .pg-list, .pg-facts) {
  padding: 0;
  list-style: none;
}

.pg-also ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.pg-also a {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  height: 100%;
  padding: 10px 10px 18px;
  border: 1px solid var(--pg-line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.pg-also img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.pg :is(.pg-also, .pg-groups, .pg-logos) strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.pg :is(.pg-also, .pg-groups, .pg-logos) span,
.pg :is(.pg-gets p, .pg-facts span) {
  display: block;
  color: var(--pg-muted);
  font-size: 15px;
  line-height: 1.45;
}

.pg .pg-also strong,
.pg .pg-also span {
  margin-inline: 6px;
}

.pg .pg-also strong {
  font-size: 18px;
}

.pg-console {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: 16px;
  background: var(--pg-teal);
}

.pg-console__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-console__ui {
  position: relative;
  width: 91%;
  max-height: 90%;
  object-fit: contain;
  outline: 4px solid rgb(77 255 210 / 20%);
  border-radius: 8px;
  filter: drop-shadow(0 16px 22px rgb(27 30 29 / 50%));
}

.pg-workflow {
  scroll-margin-top: 80px;
}

.pg-workflow__panel {
  padding: clamp(16px, 4vw, 48px);
  border-radius: 16px;
  background: var(--pg-teal);
  color: #fff;
}

.pg-shots,
.pg-groups,
.pg-logos,
.pg-gets {
  margin: clamp(20px, 3vw, 36px) 0 0;
}

.pg-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pg-shots li {
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 12px;
  background: rgb(255 255 255 / 7%);
}

.pg-shot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
  border-radius: 7px;
  background: var(--pg-teal);
}

.pg-shot__tex {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mix-blend-mode: luminosity;
}

.pg-shot__icon {
  position: relative;
  width: min(94%, 440px);
  max-height: 92%;
  object-fit: contain;
}

.pg-shots b {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.pg-shots p {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.4;
}

.pg-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pg-groups article,
.pg-logos li,
.pg-gets article {
  padding: clamp(16px, 2.2vw, 28px);
  border: 1px solid var(--pg-line);
  border-radius: 12px;
  background: #fff;
}

.pg-groups article {
  background: var(--pg-soft);
}

.pg-groups ul {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
}

.pg-groups li,
.pg-list li {
  padding-top: 12px;
  border-top: 1px solid var(--pg-line);
}

.pg-logos img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 30px;
  margin: 0 0 16px;
  object-fit: contain;
  object-position: left center;
}

.pg-list {
  display: grid;
  gap: 12px;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.pg-list span {
  color: var(--pg-muted);
}

.pg-textlink {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
}

.pg-pool {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 310px;
  padding: clamp(24px, 5vw, 64px);
  border-radius: 16px;
  background:
    linear-gradient(105deg, #0c4d4d, rgb(12 77 77 / 74%)),
    var(--pg-teal) url("../images/cvty-p-800.png") center / cover;
  color: #fff;
}

.pg-pool h2 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  text-wrap: wrap;
}

.pg-pool .pg-amount {
  font-weight: 500;
  color: var(--pg-mint);
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.pg-pool p:last-child {
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.45;
}

.pg-partner-market {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  align-items: center;
}

.pg-partner-market .pg-list {
  margin-top: 22px;
}

.pg-facts,
.pg-gets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pg-facts {
  margin: 0;
}

.pg-facts li {
  padding: clamp(14px, 2vw, 24px);
  border-radius: 12px;
  background: var(--pg-soft);
}

.pg-facts b {
  display: block;
  margin-bottom: 10px;
  color: var(--pg-teal);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pg-gets article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 8px 16px;
}

.pg-gets img {
  grid-row: span 2;
  width: 38px;
  height: 38px;
}

.pg-close {
  padding-block: clamp(30px, 4vw, 56px);
}

.pg.pg-close {
  background: transparent;
}

.pg-close__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 24px;
  padding: clamp(24px, 5vw, 64px);
  border-radius: 16px;
  background: var(--pg-teal);
  color: #fff;
}

.pg-close p.pg-lede {
  margin: 0;
  color: rgb(255 255 255 / 90%);
}

.pg-close .pg-btn {
  grid-area: 1 / 2 / 3 / 3;
  justify-self: start;
  margin-top: 0;
  background: var(--pg-mint);
  color: var(--pg-teal);
  box-shadow: none;
}

.pg-close .pg-btn:hover {
  background: #fff;
}

.pg-close a:focus-visible {
  outline-color: var(--pg-mint);
}

@media (min-width: 901px) {
  .pg :is(h1, h2, h3) {
    text-align: left;
    text-wrap: pretty;
  }

  .pg-hero__split {
    align-items: start;
  }

  .pg-hero__split--solutions > :last-child {
    padding-top: 28px;
  }
}

@media (max-width: 900px) {
  .pg {
    --pg-gutter: clamp(18px, 4vw, 36px);
  }

  .pg-cards,
  .pg-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pg-also {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
  }

  .pg-also ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pg-partner-market {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .pg-hero__split,
  .pg-split,
  .pg-groups,
  .pg-gets,
  .pg-close__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-console {
    aspect-ratio: 16 / 10;
  }

  .pg-pool {
    min-height: 240px;
  }

  .pg-close .pg-btn {
    grid-area: auto;
    margin-top: 6px;
  }

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

@media (max-width: 1100px) {
  .pg-hero__split,
  .pg-split,
  .pg-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-cards,
  .pg-also ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .pg-cards,
  .pg-shots,
  .pg-also ul {
    grid-template-columns: minmax(0, 1fr);
  }
}
