.po-footer {
  --po-footer-bg: #0b0b09;
  --po-footer-text: #f7f5ef;
  --po-footer-muted: #bdbab2;
  --po-footer-border: rgba(255, 255, 255, 0.12);
  background: var(--po-footer-bg);
  border-top: 1px solid var(--po-footer-border);
  color: var(--po-footer-text);
  padding-top: 72px;
}

.po-footer,
.po-footer * {
  box-sizing: border-box;
}

.po-footer .page-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.po-footer__inner {
  display: grid;
  grid-template-columns: minmax(190px, 1.6fr) repeat(3, minmax(130px, 1fr)) minmax(170px, 1.15fr);
  gap: 32px;
  padding-bottom: 56px;
}

.po-footer__brand,
.po-footer__group,
.po-footer__company {
  min-width: 0;
}

.po-footer__lockup {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

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

.po-footer__position,
.po-footer__framework {
  max-width: 260px;
  color: var(--po-footer-muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.po-footer__position {
  margin: 20px 0 6px;
}

.po-footer__framework {
  margin: 0;
}

.po-footer h2 {
  margin: 0 0 14px;
  color: var(--po-footer-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.po-footer__group,
.po-footer__company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.po-footer__group a,
.po-footer__company a,
.po-footer__company p {
  max-width: 100%;
  color: var(--po-footer-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.po-footer__group a,
.po-footer__company a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.po-footer__group a:hover,
.po-footer__company a:hover,
.po-footer__group a:focus-visible,
.po-footer__company a:focus-visible {
  color: var(--po-footer-text);
  transform: translateX(2px);
}

.po-footer__group a:focus-visible,
.po-footer__company a:focus-visible,
.po-footer__lockup:focus-visible {
  outline: 2px solid #ff7a1a;
  outline-offset: 4px;
  border-radius: 4px;
}

.po-footer__company p {
  margin: 0;
}

.po-footer__company a {
  margin-top: 10px;
}

.po-footer__base {
  border-top: 1px solid var(--po-footer-border);
  color: var(--po-footer-muted);
  font-size: 0.7rem;
  line-height: 1.5;
  padding: 18px 0 22px;
}

.po-footer__base .page-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.po-footer__base span:last-child {
  text-align: right;
}

.po-footer .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .po-footer__inner {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .po-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .po-footer {
    padding-top: 52px;
  }

  .po-footer .page-wrap {
    width: min(100% - 32px, 420px);
  }

  .po-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 40px;
  }

  .po-footer__brand {
    grid-column: auto;
  }

  .po-footer__group a,
  .po-footer__company a {
    min-height: 44px;
  }

  .po-footer__base .page-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .po-footer__base span:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .po-footer__group a,
  .po-footer__company a {
    transition: none;
  }
}

.po-footer__download {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  max-width: 280px;
  margin-top: 20px;
}

.po-footer__download-copy {
  min-width: 0;
}

.po-footer__qr-link {
  display: inline-flex;
  width: 88px;
  height: 88px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.po-footer__qr-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.po-footer__qr-link:hover,
.po-footer__qr-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.po-footer__qr-link:focus-visible,
.po-footer__download-link:focus-visible {
  outline: 2px solid #ff7a1a;
  outline-offset: 4px;
  border-radius: 6px;
}

.po-footer__download-text {
  margin: 0;
  max-width: 18ch;
  color: var(--po-footer-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.po-footer__download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  min-height: 32px;
  margin-top: 5px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(247, 245, 239, 0.3);
  color: var(--po-footer-text) !important;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  transition: color 160ms ease, transform 160ms ease;
}

.po-footer__download-link:hover,
.po-footer__download-link:focus-visible {
  color: #ffb06f !important;
  border-bottom-color: rgba(255, 176, 111, 0.7);
  transform: translateX(2px);
}

@media (max-width: 600px) {
  .po-footer__download {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 280px;
    margin-top: 18px;
  }

  .po-footer__qr-link {
    display: none;
  }

  .po-footer__download-text {
    font-size: 0.74rem;
  }

  .po-footer__download-text {
    max-width: none;
  }

  .po-footer__download-link {
    min-height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .po-footer__qr-link,
  .po-footer__download-link {
    transition: none;
  }
}
