/* Shared by the homepage and the partner pages. */
.p-footer {
  padding: 80px 40px 24px;
  background: #4000ff;
  color: #fff;
  font-family: 'woschn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
  position: relative;
}

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

.p-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
}

.p-footer-brand { max-width: 280px; }
.p-footer-brand a { display: inline-block; }
.p-footer-brand img {
  display: block;
  width: 160px;
  height: 32px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.p-footer-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, .8fr);
  gap: 32px;
}

.p-footer-col h2 {
  margin: 0 0 16px;
  color: #ddd2ff;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-wrap: initial;
}

.p-footer-col a {
  display: block;
  min-height: 44px;
  padding: 8px 0;
  color: #f2ecff;
  font-size: .9375rem;
  font-weight: 400;
  line-height: 1.65;
  text-decoration: none;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.p-footer-col a:hover { color: #fff; text-decoration: underline; }
.p-footer a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.p-footer-bottom {
  max-width: 1200px;
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid #ffffff40;
  text-align: center;
}
.p-footer-bottom p {
  max-width: none;
  margin: 0;
  color: #ddd2ff;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.65;
  text-wrap: initial;
}

@media (max-width: 960px) {
  .p-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 640px) {
  .p-footer { padding: 48px 24px 24px; text-align: center; }
  .p-footer-brand { margin: 0 auto; }
  .p-footer-links { grid-template-columns: minmax(0, 1fr); }
  .p-footer-bottom { margin-top: 48px; }
}
