:root {
  --pid-footer-text: #f4f7f8;
  --pid-footer-muted: #a6b0b7;
  --pid-footer-soft: #74818a;
  --pid-footer-cyan: #00e5ff;
  --pid-footer-line: rgba(255,255,255,.10);
  --pid-footer-line-strong: rgba(0,229,255,.22);
  --pid-footer-panel: rgba(255,255,255,.028);
}

.performid-site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(42px, 6vw, 76px);
  padding: clamp(26px, 4vw, 42px) 0 26px;
  border-top: 1px solid var(--pid-footer-line);
  background:
    radial-gradient(circle at 78% 0%, rgba(0,229,255,.13), transparent 32%),
    radial-gradient(circle at 20% 100%, rgba(0,229,255,.055), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(0,0,0,.24));
  color: var(--pid-footer-muted);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.performid-site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .14;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.78), transparent 82%);
}

.performid-footer-inner {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 52px));
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 0%, rgba(0,229,255,.07), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.010));
  box-shadow: 0 22px 64px rgba(0,0,0,.28), inset 0 0 0 1px rgba(0,229,255,.016);
}

.performid-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
  align-items: start;
}

.performid-footer-brand {
  display: none;
}

.performid-footer-brand p,
.performid-footer-bottom p {
  margin: 0;
  color: var(--pid-footer-muted);
  font-size: 13px;
  line-height: 1.55;
}

.performid-footer-col strong {
  display: block;
  color: var(--pid-footer-cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.performid-footer-kicker {
  display: none;
}

.performid-footer-col {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding: 1px 0 0;
}

.performid-footer-col strong {
  margin-bottom: 6px;
  color: var(--pid-footer-text);
  line-height: 1.1;
}

.performid-footer-col a,
.performid-footer-col span {
  color: var(--pid-footer-muted);
  font-size: 13px;
  line-height: 1.42;
  text-decoration: none;
}

.performid-footer-col a {
  width: 100%;
  max-width: 100%;
  min-height: 26px;
  display: flex;
  align-items: center;
  padding: 3px 7px;
  margin-left: -7px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.performid-footer-col a:hover {
  color: var(--pid-footer-cyan);
  border-color: rgba(0,229,255,.16);
  background: rgba(0,229,255,.045);
  transform: translateX(2px);
}

.performid-footer-col a:focus-visible {
  outline: 2px solid var(--pid-footer-cyan);
  outline-offset: 4px;
}

.performid-footer-bottom {
  margin-top: clamp(18px, 2.2vw, 26px);
  padding-top: 14px;
  border-top: 1px solid var(--pid-footer-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.performid-footer-bottom-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.performid-footer-bottom-brand img {
  display: block;
  width: 132px;
  max-width: 42vw;
  height: auto;
  flex: 0 0 auto;
}

.performid-footer-bottom p,
.performid-footer-bottom a {
  color: var(--pid-footer-soft);
  font-size: 12px;
  line-height: 1.5;
}

.performid-footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  text-decoration: none;
}

.performid-footer-bottom a:hover {
  color: var(--pid-footer-cyan);
  border-color: rgba(0,229,255,.20);
  background: rgba(0,229,255,.045);
}

@media (max-width: 980px) {
  .performid-footer-inner {
    border-radius: 20px;
  }

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

  .performid-footer-brand {
    grid-column: 1 / -1;
    max-width: 680px;
    padding-right: 0;
    padding-bottom: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--pid-footer-line);
  }
}

@media (max-width: 620px) {
  .performid-site-footer {
    margin-top: 46px;
    padding-top: 28px;
  }

  .performid-footer-inner {
    width: min(100% - 24px, 1180px);
    padding: 18px;
    border-radius: 18px;
  }

  .performid-footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .performid-footer-col {
    padding-top: 16px;
    border-top: 1px solid var(--pid-footer-line);
  }

  .performid-footer-brand {
    padding-bottom: 18px;
  }

  .performid-footer-col a {
    min-height: 32px;
  }

  .performid-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .performid-footer-bottom-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
