/*
 * PROMOTE Platform Group LLC — company site styles.
 *
 * Shared by the company pages (/developer now, / later). App sites under
 * /apps/* have their own stylesheets and never load this one.
 *
 * Colors are taken from the company logo: near-black navy ground, silver and
 * white type, and the logo's blue as the single accent.
 */

:root {
  color-scheme: dark;

  --ppg-bg: #050a14;
  --ppg-bg-raised: #081122;
  --ppg-surface: #0b1628;
  --ppg-surface-2: #0f1d34;
  --ppg-line: rgba(176, 192, 216, 0.14);
  --ppg-line-strong: rgba(176, 192, 216, 0.3);

  --ppg-text: #f3f6fa;
  --ppg-silver: #c6ccd6;
  --ppg-muted: #9aa6b8;

  --ppg-blue: #6cb6f5;
  --ppg-blue-strong: #3d8de0;
  --ppg-blue-deep: #1f5fae;
  --ppg-focus: #9ccfff;

  --ppg-radius: 22px;
  --ppg-radius-sm: 14px;
  --ppg-max: 1240px;
  --ppg-gutter: clamp(16px, 4vw, 32px);

  --ppg-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ppg-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ppg-silver);
  background: var(--ppg-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ppg-blue);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ppg-text);
}

:focus-visible {
  outline: 3px solid var(--ppg-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  color: var(--ppg-text);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

.ppg-wrap {
  width: min(100% - 2 * var(--ppg-gutter), var(--ppg-max));
  margin-inline: auto;
}

.ppg-skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--ppg-radius-sm);
  background: var(--ppg-text);
  color: var(--ppg-bg);
  font-weight: 700;
  text-decoration: none;
}

.ppg-skip:focus {
  top: 12px;
}

/* Small uppercase label, echoing the logo's letter-spaced type. */
.ppg-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ppg-blue);
}

/* ---------------------------------------------------------------- header */

.ppg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 10, 20, 0.88);
  border-bottom: 1px solid var(--ppg-line);
}

@supports (backdrop-filter: blur(8px)) {
  .ppg-header {
    background: rgba(5, 10, 20, 0.72);
    backdrop-filter: blur(12px);
  }
}

.ppg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}

.ppg-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--ppg-text);
  text-decoration: none;
}

.ppg-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--ppg-line-strong);
}

.ppg-brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.3;
}

.ppg-brand-name span {
  display: block;
  color: var(--ppg-blue);
}

.ppg-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppg-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ppg-silver);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.ppg-nav a:hover {
  color: var(--ppg-text);
  background: rgba(176, 192, 216, 0.08);
}

.ppg-nav a[aria-current="page"] {
  color: var(--ppg-text);
  background: rgba(108, 182, 245, 0.12);
  box-shadow: inset 0 0 0 1px rgba(108, 182, 245, 0.35);
}

/* ------------------------------------------------------------------ hero */

.ppg-hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(60% 70% at 25% 40%, rgba(31, 95, 174, 0.18), transparent 70%),
    linear-gradient(180deg, var(--ppg-bg-raised), var(--ppg-bg));
  border-bottom: 1px solid var(--ppg-line);
}

.ppg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.ppg-hero-logo {
  margin: 0;
  justify-self: center;
  width: min(100%, 460px);
}

.ppg-hero-logo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 28px;
  border: 1px solid var(--ppg-line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.ppg-hero-copy h1 {
  margin: 16px 0 20px;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.ppg-hero-copy .ppg-lead {
  max-width: 36rem;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--ppg-silver);
}

.ppg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ppg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--ppg-line-strong);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  color: var(--ppg-text);
  background: transparent;
}

.ppg-btn:hover {
  color: var(--ppg-text);
  border-color: var(--ppg-silver);
}

.ppg-btn-primary {
  border-color: transparent;
  color: #041022;
  background: linear-gradient(180deg, #8cc7f8, var(--ppg-blue));
}

.ppg-btn-primary:hover {
  color: #041022;
  background: linear-gradient(180deg, #a6d4fa, #7fbff7);
}

/* -------------------------------------------------------------- sections */

.ppg-section {
  padding: clamp(56px, 8vw, 104px) 0;
  scroll-margin-top: 72px;
}

.ppg-section + .ppg-section {
  border-top: 1px solid var(--ppg-line);
}

.ppg-section-head {
  max-width: 48rem;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.ppg-section-head h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}

.ppg-section-head p {
  color: var(--ppg-muted);
  font-size: clamp(1.06rem, 1.3vw, 1.18rem);
}

/* ------------------------------------------------------------- app cards */

.ppg-apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppg-app {
  --app-accent: var(--ppg-blue);
  --app-tint: rgba(108, 182, 245, 0.14);

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 32px 32px;
  border-radius: var(--ppg-radius);
  border: 1px solid var(--ppg-line);
  background:
    radial-gradient(120% 70% at 100% 0%, var(--app-tint), transparent 60%),
    var(--ppg-surface);
  overflow: hidden;
}

.ppg-app::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--app-accent);
  opacity: 0.85;
}

.ppg-app--promote {
  --app-accent: linear-gradient(90deg, #2563eb, #60a5fa);
  --app-tint: rgba(37, 99, 235, 0.2);
}

.ppg-app--pinkeep {
  --app-accent: linear-gradient(90deg, #ff3d7f, #14b8a6);
  --app-tint: rgba(255, 61, 127, 0.14);
}

.ppg-app--contactnest {
  --app-accent: linear-gradient(90deg, #6d7cff, #49d7ff);
  --app-tint: rgba(109, 124, 255, 0.18);
}

.ppg-app-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ppg-app-icon {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.ppg-app h3 {
  font-size: 1.65rem;
}

.ppg-app-desc {
  color: var(--ppg-silver);
  font-size: 1.1rem;
  flex: 1;
}

.ppg-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppg-platforms li {
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--ppg-line-strong);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ppg-silver);
}

.ppg-platforms .is-pending {
  border-style: dashed;
  color: var(--ppg-muted);
}

.ppg-app .ppg-btn {
  align-self: flex-start;
}

/* Two real screenshots per /developer app card, framed like the homepage
   phones but smaller, with each app's accent on the frame. */
.ppg-app-shots {
  grid-area: shots;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0 8px;
}

.ppg-app-shot {
  margin: 0;
  width: min(44%, 146px);
  padding: 5px;
  border-radius: 24px;
  background: #04070d;
  border: 1px solid rgba(176, 192, 216, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.ppg-app-shot img {
  width: 100%;
  height: auto;
  border-radius: 19px;
}

.ppg-app-shot + .ppg-app-shot {
  margin-top: 28px;
}

.ppg-app--promote .ppg-app-shot {
  border-color: rgba(96, 165, 250, 0.38);
}

.ppg-app--pinkeep .ppg-app-shot {
  border-color: rgba(45, 212, 191, 0.4);
}

.ppg-app--contactnest .ppg-app-shot {
  border-color: rgba(128, 146, 255, 0.4);
}

/* ------------------------------------------------------------ principles */

.ppg-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppg-principle {
  padding: 32px;
  border-radius: var(--ppg-radius);
  border: 1px solid var(--ppg-line);
  background: var(--ppg-bg-raised);
}

.ppg-principle-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(108, 182, 245, 0.4);
  color: var(--ppg-blue);
}

.ppg-principle-icon svg {
  width: 24px;
  height: 24px;
}

.ppg-principle h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.ppg-principle p {
  color: var(--ppg-muted);
  font-size: 1.06rem;
}

/* -------------------------------------------------- developer information */

.ppg-facts {
  margin: 0;
  border-radius: var(--ppg-radius);
  border: 1px solid var(--ppg-line-strong);
  background: var(--ppg-surface);
  overflow: hidden;
}

.ppg-fact {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 10px 28px;
  padding: 24px 32px;
}

.ppg-fact + .ppg-fact {
  border-top: 1px solid var(--ppg-line);
}

.ppg-fact dt {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ppg-muted);
  padding-top: 4px;
}

.ppg-fact dd {
  margin: 0;
  min-width: 0;
  font-size: 1.1rem;
  color: var(--ppg-text);
  overflow-wrap: break-word;
}

/* App names as a row of links, no raw URLs. */
.ppg-app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppg-app-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  font-weight: 600;
  text-decoration: none;
}

.ppg-app-links a:hover {
  text-decoration: underline;
}

.ppg-app-links span {
  font-size: 0.9em;
}

/* App name beside its support address; stacked on small screens. */
.ppg-contacts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppg-contacts li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 2px 16px;
  min-width: 0;
}

.ppg-contact-app {
  color: var(--ppg-silver);
  font-weight: 600;
}

.ppg-contacts a {
  font-size: 1.02rem;
}

/* Short mobile label for each support link; the address shows on desktop. */
.ppg-contact-label {
  display: none;
}

.ppg-note {
  margin-top: 18px;
  font-size: 1rem;
  color: var(--ppg-muted);
}

/* --------------------------------------------------------------- support */

.ppg-support {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppg-support a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 22px 24px;
  border-radius: var(--ppg-radius);
  border: 1px solid var(--ppg-line-strong);
  background:
    linear-gradient(180deg, rgba(108, 182, 245, 0.05), transparent 70%),
    var(--ppg-surface);
  color: var(--ppg-text);
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
}

.ppg-support a:hover {
  border-color: rgba(108, 182, 245, 0.45);
  background: var(--ppg-surface-2);
}

.ppg-support img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
}

.ppg-support .ppg-arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--ppg-blue);
}

/* ---------------------------------------------------------------- footer */

.ppg-footer {
  padding: 64px 0 36px;
  border-top: 1px solid var(--ppg-line);
  background: #03070f;
  font-size: 1.02rem;
}

.ppg-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.ppg-footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.ppg-footer-brand strong {
  display: block;
  font-size: 1.08rem;
  color: var(--ppg-text);
}

.ppg-footer-brand p {
  margin-top: 6px;
  color: var(--ppg-muted);
  max-width: 24rem;
}

.ppg-footer h2 {
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ppg-muted);
}

.ppg-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppg-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--ppg-silver);
  text-decoration: none;
}

.ppg-footer li a:hover {
  color: var(--ppg-text);
  text-decoration: underline;
}

.ppg-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--ppg-line);
  color: var(--ppg-muted);
  font-size: 0.94rem;
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .ppg-btn,
  .ppg-app,
  .ppg-support a {
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  }

  .ppg-btn:hover,
  .ppg-support a:hover {
    transform: translateY(-1px);
  }

  .ppg-app:hover {
    transform: translateY(-3px);
    border-color: var(--ppg-line-strong);
  }

  .ppg-reveal {
    animation: ppg-rise 0.6s ease-out both;
  }

  .ppg-reveal-delay {
    animation-delay: 0.12s;
  }

  @keyframes ppg-rise {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1023px) {
  .ppg-apps {
    grid-template-columns: 1fr;
  }

  /* Tablet: one app per row, laid out sideways rather than as a tall card. */
  .ppg-app {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "top   top   cta"
      "desc  desc  cta"
      "plat  plat  cta"
      "shots shots shots";
    align-items: center;
    column-gap: 24px;
  }

  .ppg-app-top { grid-area: top; }
  .ppg-app-desc { grid-area: desc; }
  .ppg-platforms { grid-area: plat; }
  .ppg-app .ppg-btn { grid-area: cta; align-self: center; }

  .ppg-app-icon {
    width: 68px;
    height: 68px;
  }

  .ppg-principles,
  .ppg-support {
    grid-template-columns: 1fr;
  }

  .ppg-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ppg-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .ppg-header-inner {
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .ppg-nav {
    width: 100%;
  }

  .ppg-nav ul {
    justify-content: space-between;
  }

  .ppg-nav a {
    padding: 0 12px;
    font-size: 1rem;
  }

  .ppg-header {
    position: static;
  }

  .ppg-brand img {
    width: 46px;
    height: 46px;
  }

  .ppg-brand-name {
    font-size: 0.84rem;
  }

  .ppg-section {
    padding: 64px 0;
  }

  .ppg-section-head {
    margin-bottom: 28px;
  }

  .ppg-hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .ppg-hero-logo {
    justify-self: start;
    width: min(62vw, 240px);
  }

  .ppg-hero-logo img {
    border-radius: 20px;
  }

  .ppg-actions .ppg-btn {
    flex: 1 1 100%;
  }

  .ppg-apps {
    gap: 20px;
  }

  .ppg-app {
    display: flex;
    align-items: stretch;
    gap: 18px;
    padding: 30px 24px 26px;
  }

  .ppg-app-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .ppg-app h3 {
    font-size: 1.5rem;
  }

  .ppg-app-desc {
    font-size: 1.04rem;
  }

  .ppg-app .ppg-btn {
    align-self: stretch;
    margin-top: 4px;
  }

  .ppg-principle {
    padding: 28px 24px;
  }

  .ppg-fact {
    grid-template-columns: 1fr;
    padding: 20px 22px;
  }

  .ppg-app-links a {
    min-height: 44px;
  }

  /* Label above address, so the address wraps on its own line if at all. */
  .ppg-contacts {
    gap: 2px;
  }

  .ppg-contacts li {
    grid-template-columns: 1fr;
  }

  /* The link text names the app on narrow screens. */
  .ppg-contact-app,
  .ppg-contact-address {
    display: none;
  }

  .ppg-contact-label {
    display: inline;
  }

  .ppg-contacts a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 1.02rem;
    font-weight: 600;
    text-decoration: none;
  }

  .ppg-contacts a:hover {
    text-decoration: underline;
  }

  .ppg-support a {
    min-height: 84px;
    padding: 18px 20px;
  }

  .ppg-support img {
    width: 46px;
    height: 46px;
  }

  .ppg-footer li a {
    min-height: 44px;
  }

  .ppg-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .ppg-brand-name {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .ppg-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================================
 * Company homepage (/company-preview now, "/" after cutover).
 * Everything above is shared with /developer and is left untouched;
 * these rules only style classes the homepage introduces.
 * ================================================================== */

/* Square frame for app icons, so a transparent icon (PROMOTE) sits on
   the same tile as the full-bleed ones. */
.ppg-icon-tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1a2e;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.ppg-icon-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ppg-icon-tile--lg {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

/* ------------------------------------------------------------- home hero */

.ppg-home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 112px) 0 clamp(44px, 6vw, 80px);
  background:
    radial-gradient(38% 55% at 84% 34%, rgba(37, 99, 235, 0.22), transparent 70%),
    radial-gradient(26% 40% at 66% 88%, rgba(255, 61, 127, 0.07), transparent 70%),
    radial-gradient(30% 45% at 98% 78%, rgba(109, 124, 255, 0.14), transparent 70%),
    linear-gradient(180deg, var(--ppg-bg-raised), var(--ppg-bg));
  border-bottom: 1px solid var(--ppg-line);
}

.ppg-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.ppg-home-hero h1 {
  margin: 16px 0 22px;
  max-width: 15ch;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.ppg-home-hero .ppg-lead {
  max-width: 40rem;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  color: var(--ppg-silver);
}

/* Same rounded-square logo treatment as the /developer hero. */
.ppg-home-logo {
  margin: 0;
  justify-self: end;
  width: min(100%, 430px);
}

.ppg-home-logo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 28px;
  border: 1px solid var(--ppg-line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* One company, three products: the strip under the hero copy. */
.ppg-trio {
  margin-top: clamp(40px, 6vw, 72px);
}

.ppg-trio-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ppg-trio-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 18px 20px 18px 22px;
  border-radius: var(--ppg-radius);
  border: 1px solid var(--ppg-line);
  background: rgba(11, 22, 40, 0.72);
  color: var(--ppg-text);
  text-decoration: none;
  overflow: hidden;
}

.ppg-trio-list a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--app-accent);
}

.ppg-trio-list a:hover {
  border-color: var(--ppg-line-strong);
  background: var(--ppg-surface-2);
}

.ppg-trio-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ppg-trio-text strong {
  font-size: 1.12rem;
}

.ppg-trio-text span {
  font-size: 0.95rem;
  color: var(--ppg-muted);
}

/* ------------------------------------------------------ product showcases */

.ppg-showcases {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}

/* Accent and tint come from the .ppg-app--* modifier on each showcase; the
   fallbacks only apply to a showcase without one. */
.ppg-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: 28px;
  border: 1px solid var(--ppg-line);
  background:
    radial-gradient(70% 90% at 88% 50%, var(--app-tint, rgba(108, 182, 245, 0.14)), transparent 65%),
    var(--ppg-surface);
  overflow: hidden;
  scroll-margin-top: 96px;
}

.ppg-showcase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--app-accent, var(--ppg-blue));
  opacity: 0.85;
}

.ppg-showcase--flip {
  background:
    radial-gradient(70% 90% at 12% 50%, var(--app-tint, rgba(108, 182, 245, 0.14)), transparent 65%),
    var(--ppg-surface);
}

.ppg-showcase--flip .ppg-showcase-visual {
  order: -1;
}

.ppg-showcase-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ppg-showcase-brand h3 {
  font-size: 1.6rem;
}

.ppg-showcase-tagline {
  margin-top: 24px;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ppg-text);
}

.ppg-showcase-desc {
  margin-top: 16px;
  max-width: 32rem;
  font-size: 1.1rem;
  color: var(--ppg-silver);
}

.ppg-showcase .ppg-platforms {
  margin-top: 22px;
}

.ppg-showcase .ppg-btn {
  margin-top: 26px;
}

/* Two real screenshots in simple device frames, one in front. */
.ppg-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 12px 0;
}

.ppg-phone {
  position: relative;
  margin: 0;
  width: min(48%, 250px);
  padding: 7px;
  border-radius: 34px;
  background: #04070d;
  border: 1px solid rgba(176, 192, 216, 0.22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.ppg-phone img {
  width: 100%;
  height: auto;
  border-radius: 27px;
}

.ppg-phone--front {
  z-index: 2;
}

.ppg-phone--back {
  z-index: 1;
  width: min(42%, 218px);
  margin-left: -12%;
  margin-bottom: 56px;
  opacity: 0.92;
}

/* ContactNest's dark screenshots read lighter than PROMOTE's, so its pair
   is drawn a little larger to carry similar weight. */
.ppg-app--contactnest .ppg-phone--front {
  width: min(53%, 276px);
}

.ppg-app--contactnest .ppg-phone--back {
  width: min(46%, 240px);
}

/* PinKeep's pair gets teal frames, matching the teal PinKeep site. */
.ppg-app--pinkeep .ppg-phone {
  border-color: rgba(45, 212, 191, 0.4);
}

/* ------------------------------------------------- company / developer */

.ppg-cta-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  border: 1px solid var(--ppg-line-strong);
  background:
    linear-gradient(135deg, rgba(31, 95, 174, 0.24), rgba(11, 22, 40, 0.9) 62%),
    var(--ppg-surface);
}

.ppg-cta-band img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--ppg-line-strong);
}

.ppg-cta-band h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.ppg-cta-band p {
  margin-top: 10px;
  max-width: 40rem;
  color: var(--ppg-silver);
  font-size: 1.08rem;
}

/* ------------------------------------------------------------ home motion */

@media (prefers-reduced-motion: no-preference) {
  .ppg-trio-list a,
  .ppg-phone {
    transition: transform 0.25s ease, border-color 0.2s ease, background-color 0.2s ease;
  }

  .ppg-trio-list a:hover {
    transform: translateY(-2px);
  }

  .ppg-showcase:hover .ppg-phone--front {
    transform: translateY(-6px);
  }
}

/* -------------------------------------------------------- home responsive */

@media (max-width: 1023px) {
  .ppg-home-hero-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .ppg-trio-list {
    grid-template-columns: 1fr;
  }

  .ppg-showcase {
    grid-template-columns: 1fr;
  }

  /* Text first when stacked, whichever side it sits on at desktop. */
  .ppg-showcase--flip .ppg-showcase-visual {
    order: 0;
  }

  .ppg-phones {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .ppg-home-hero-grid {
    grid-template-columns: 1fr;
  }

  .ppg-home-logo {
    order: -1;
    justify-self: start;
    width: min(56vw, 210px);
  }

  .ppg-home-logo img {
    border-radius: 20px;
  }

  .ppg-trio-list a {
    min-height: 80px;
    padding: 14px 16px 14px 18px;
  }

  .ppg-showcase {
    padding: 30px 22px 34px;
    border-radius: 24px;
  }

  .ppg-showcase-brand h3 {
    font-size: 1.45rem;
  }

  .ppg-showcase .ppg-btn {
    width: 100%;
  }

  .ppg-phone {
    width: 50%;
    border-radius: 26px;
    padding: 5px;
  }

  .ppg-phone img {
    border-radius: 21px;
  }

  .ppg-phone--back {
    width: 43%;
    margin-bottom: 34px;
  }

  .ppg-app--contactnest .ppg-phone--front {
    width: 55%;
  }

  .ppg-app--contactnest .ppg-phone--back {
    width: 47%;
  }

  .ppg-cta-band {
    grid-template-columns: 1fr;
  }

  .ppg-cta-band img {
    width: 72px;
    height: 72px;
  }

  .ppg-cta-band .ppg-btn {
    width: 100%;
  }
}

/* Four nav items (Home, Apps, Developer, Support) need tighter spacing to
   fit a 320px screen. Used by the homepage and /developer. */
@media (max-width: 420px) {
  .ppg-nav--four a {
    padding: 0 9px;
    font-size: 0.95rem;
  }
}
