/* Layout for the company pages (/customers/, /integrations/, /about/, /cold-standard/). Same page width and card style as the homepage. */
:root {
  --page-w: min(1100px, calc(100vw - 112px));
  --card-pad: 2.25rem;
  --section-gap: clamp(2.5rem, 6vw, 4.5rem);
}
@media (max-width: 900px) {
  :root { --page-w: calc(100vw - 2rem); --card-pad: 1.25rem; }
}

.pg-main { padding-top: 68px; }
.pg-hero {
  width: var(--page-w);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  text-align: center;
}
.pg-eyebrow {
  margin: 0 0 .75rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5a7a00;
}
.pg-hero h1 {
  margin: 0 auto .9rem;
  max-width: 18ch;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.pg-hero .pg-lede {
  margin: 0 auto;
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  opacity: .82;
}
.pg-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }

.pg-section { width: calc(var(--page-w) + 2 * var(--card-pad)); max-width: calc(100vw - 2rem); margin: var(--section-gap) auto 0; }
.pg-section:last-child { margin-bottom: var(--section-gap); }
.pg-section > h2 { font-size: 2rem; margin: 0 0 1.25rem; text-align: center; }
.pg-section > .pg-section-sub { text-align: center; margin: -.5rem auto 1.5rem; max-width: 60ch; opacity: .75; line-height: 1.6; }

.pg-card {
  background: rgba(255, 255, 255, .35);
  border-radius: 1.5rem;
  padding: var(--card-pad);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
}
.pg-card h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.pg-card p { margin: 0 0 1rem; line-height: 1.6; opacity: .85; }
.pg-card p:last-child { margin-bottom: 0; }

.pg-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) {
  .pg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pg-story { display: grid; grid-template-rows: auto 1fr; padding: 0; overflow: hidden; }
.pg-story img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.pg-story .pg-story-body { padding: var(--card-pad); display: flex; flex-direction: column; }
.pg-story .pg-story-body .glass-button { margin-top: auto; align-self: flex-start; }

.pg-tag {
  display: inline-block;
  margin-bottom: .6rem;
  padding: .15rem .6rem;
  border-radius: 99px;
  background: #e1ff8b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  align-self: flex-start;
}

.pg-logo-card { display: flex; flex-direction: column; }
.pg-logo-card .pg-logo { height: 30px; width: auto; max-width: 180px; object-fit: contain; margin-bottom: 1rem; align-self: flex-start; }
.pg-logo-card .glass-button { margin-top: auto; align-self: flex-start; }

.pg-quote { display: flex; flex-direction: column; gap: 1rem; }
.pg-quote blockquote { margin: 0; line-height: 1.6; font-size: 1rem; }
.pg-quote .pg-stars { color: #0a0a0a; background: #e1ff8b; border-radius: 99px; padding: .15rem .6rem; align-self: flex-start; letter-spacing: .1rem; font-size: .9rem; }
.pg-person { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.pg-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #e1ff8b; }
.pg-person b { display: block; }
.pg-person span { display: block; font-size: .85rem; opacity: .7; }
.pg-quote-attrib { margin-top: auto; font-size: .85rem; opacity: .65; }

.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 760px) { .pg-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pg-steps li { counter-increment: step; }
.pg-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: #174a78;
  color: #ddfe55;
  font-weight: 800;
}

.pg-band { text-align: center; }
.pg-band h2 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pg-band p { margin: 0 auto; max-width: 56ch; opacity: .8; line-height: 1.6; }

.pg-placeholder {
  border: 2px dashed rgba(0, 0, 0, .18);
  background: rgba(255, 255, 255, .2);
  box-shadow: none;
}
.pg-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .06);
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 700;
  opacity: .6;
  margin-bottom: 1rem;
}

.pg-investors { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: center; align-items: center; }
.pg-investors img { height: 56px; width: auto; }

.pg-split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .pg-split { grid-template-columns: 1.1fr 1fr; } }
.pg-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.25rem; display: block; box-shadow: 0 10px 40px rgba(0, 0, 0, .15); }

.pg-cobrand { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; font-weight: 800; font-size: 1.1rem; }
.pg-cobrand img { height: 28px; width: auto; }
@media (max-width: 420px) { .pg-cobrand { gap: .6rem; font-size: 1rem; } .pg-cobrand img { height: 22px; } }
.pg-cobrand span { opacity: .45; font-weight: 600; }
.pg-stat { display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; margin-top: 2rem; }
.pg-stat div { text-align: center; }
.pg-stat b { display: block; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; }
.pg-stat span { font-size: .85rem; opacity: .7; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
