.ph-home {
  color: #f4f7fa;
  background: #091521;
}
.home-results { background: #f5f1e7; color: #112333; }
.home-results .ph-metric-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0; padding-block: clamp(1.7rem, 3vw, 3rem);
  border: 0; background: transparent;
}
.home-results .ph-metric-strip__item {
  align-content: start;
  padding: 0 clamp(1rem, 3vw, 3rem); border-color: #c5c6bd;
}
.home-results .ph-metric-strip__item:first-child { padding-left: 0; }
.home-results .ph-metric-strip__value { color: #405662; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.home-results .ph-metric-strip__label { margin: .4rem 0; color: inherit; font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.13; font-weight: 750; text-wrap: balance; }
.home-results .ph-metric-strip__detail { margin: 0; color: #293e49; font-size: 1rem; line-height: 1.45; }
.ph-home .ph-catalog__link { color: inherit; text-decoration: none; }
.ph-home .ph-catalog__link::after { content: ""; position: absolute; inset: 0; }
.ph-home .ph-catalog__link:hover { color: inherit; text-decoration: underline; }
.ph-home .ph-section { padding-block: clamp(3rem, 6vw, 6rem); background: #091521; border: 0; }
.ph-home .ph-section__title { max-width: 23ch; color: inherit; letter-spacing: -.035em; }
.ph-home .ph-section__body { margin-top: 1.5rem; }
.ph-home .ph-section__intro { margin-top: .85rem; max-width: 48ch; }
.ph-home :is(#home-sign-in, #home-deploy, #home-investigation) .ph-frame {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center; gap: clamp(2rem, 7vw, 8rem);
}
.ph-home :is(#home-sign-in, #home-deploy, #home-investigation) .ph-section__body { margin: 0; }
.ph-home .ph-section__links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; }
.ph-home .ph-section__links a { color: #a8e7fa; font-size: .9rem; text-underline-offset: .22em; }
.ph-home .ph-section__links a:first-child { flex-basis: 100%; font-size: 1rem; font-weight: 700; text-decoration: underline; }
.ph-home .ph-public-evidence { margin: 0; }
.ph-home .ph-public-evidence__rows { grid-template-columns: 1fr; }
.ph-home .ph-public-evidence__rows li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; }
.ph-home .ph-public-evidence__rows span { color: #abe1c7; }
.ph-home .ph-public-evidence__focus span { color: #ffcf78; }
.ph-home #home-deploy { background: #adc5cc; color: #102935; }
.ph-home .ph-catalog { gap: 0; border: 0; background: transparent; }
.ph-home .ph-catalog__item { position: relative; padding: 0; background: transparent; }
.ph-home .ph-catalog__title { display: flex; justify-content: space-between; align-items: baseline; gap: .7rem; color: inherit; }
.ph-home .ph-catalog__title::after { content: "→" / ""; font-weight: 400; }
#home-deploy .ph-catalog { grid-template-columns: minmax(0, 1fr); }
#home-deploy .ph-catalog__item { padding-block: 1rem; border-bottom: 1px solid #78949d; }
#home-deploy .ph-catalog__item:first-child { border-top: 1px solid #78949d; }
#home-deploy .ph-catalog__copy { margin-top: .25rem; color: #28444f; }
#home-previews .ph-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.home-example {
  padding: clamp(1rem, 2vw, 1.5rem); margin-bottom: 1rem;
  background: #102437; border: 1px solid #395469; border-radius: .55rem;
}
#home-previews .ph-catalog__title, #home-previews .ph-catalog__link { color: #f1f6fa; }
.home-example--timeline .ph-ledger__row {
  position: relative; margin-left: .25rem; padding-left: 1rem; border-left: 1px solid #557780;
}
.home-example--timeline .ph-ledger__row::before {
  position: absolute; content: ""; left: -.24rem; top: 1rem;
  width: .42rem; height: .42rem; border-radius: 50%; background: #a5d9e7;
}
.home-example--timeline .ph-ledger__row:last-child::before { background: #ffcf78; }
.home-example > p { margin: 0 0 .85rem; color: #ddedf7; font-weight: 700; }
.home-example .ph-ledger { border: 0; margin: 0; }
.home-example .ph-ledger__row { grid-template-columns: 7rem 1fr; align-items: baseline; gap: .75rem; padding: .5rem 0; border-color: #384d5c; }
.home-example .ph-ledger__row:last-child { border: 0; }
.home-example .ph-ledger__key, .home-example .ph-ledger__copy { margin: 0; font-size: .95rem; }
.home-example .ph-ledger__key { color: #a5d9e7; font-variant-numeric: tabular-nums; }
.home-example .ph-ledger__row:last-child .ph-ledger__copy { color: #ffcf78; }
#home-previews .ph-catalog__item { display: flex; flex-direction: column; }
#home-previews .home-example { flex: 1; }
.ph-home .ph-cta-section { padding-block: 2.5rem; background: #152c3b; }
.ph-home .ph-cta-section__copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; max-width: none; }
.ph-home .ph-cta-section__title { margin: 0; font-size: clamp(1.65rem, 2.8vw, 2.4rem); }
.ph-home a:focus-visible { outline: 3px solid #0089ac; outline-offset: 3px; }
#home-deploy a:focus-visible { outline-color: #005870; }
.home-customers { padding-block: clamp(2rem, 4vw, 4rem); background: #102437; color: #eef5f9; }
.home-customers h2 { margin: 0 0 1.1rem; color: inherit; font-size: clamp(1.55rem, 3vw, 2.3rem); }
.home-customers__groups { overflow: hidden; border: 1px solid #445868; border-radius: .6rem; }
.home-customers__group {
  display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 5fr); align-items: center;
  gap: 1.5rem; padding: 1.1rem clamp(1rem, 3vw, 2.5rem); background: #faf9f6; color: #213847;
}
.home-customers__group + .home-customers__group { border-top: 1px solid #cfcec8; }
.home-customers__group--dark { background: #193248; color: #eef5f9; }
.home-customers__group h3 { margin: 0; font-size: .88rem; line-height: 1.3; font-weight: 650; color: inherit; }
.home-customers ul {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around;
  gap: .65rem 1rem; margin: 0; padding: 0; list-style: none;
}
.home-customers li { display: grid; place-items: center; flex: 1 1 0; min-width: 0; }
.ph-home .home-customers img { display: block; width: 100%; max-width: 8rem; height: 2.75rem; object-fit: contain; }
@media (max-width: 767px) {
  .home-customers__group { grid-template-columns: 1fr; gap: .65rem; padding: .9rem 1rem; }
  .home-customers ul { gap: .8rem 1rem; justify-content: center; }
  .home-customers li { flex: 0 0 calc((100% - 2rem) / 3); }
  .ph-home .home-customers img { max-width: 7rem; height: 2rem; }
  .home-results .ph-metric-strip { grid-template-columns: 1fr; padding-block: .5rem; }
  .home-results .ph-metric-strip__item { padding: .9rem 0; border-right: 0; }
  .home-results .ph-metric-strip__label { margin: .15rem 0 .3rem; }
  .ph-home :is(#home-sign-in, #home-deploy, #home-investigation) .ph-frame,
  #home-previews .ph-catalog { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .ph-home .ph-section { padding-block: 2.5rem; }

  /* This stylesheet is loaded only on the homepage. */
  footer.footer.ph-frame {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 1rem;
    padding-inline: 0;
  }
  footer.footer > div { min-width: 0; }
  footer.footer > div:first-child,
  footer.footer > div:last-child { grid-column: 1 / -1; }
  footer.footer a.btn { margin-block: .5rem 0; }
}

@media (max-width: 479px) {
  .home-customers__group:not(:first-child) li { flex-basis: calc((100% - 1rem) / 2); }
}
