.site-footer {
  --accent: #ffbe0b;
  --footer-glass: linear-gradient(135deg, #ffffff0d, transparent 48%, #ffbe0b05),
    linear-gradient(150deg, #ffbe0b1f, #ffbe0b0f);
  --footer-glass-active: linear-gradient(135deg, #ffffff1a, transparent 45%, #ffffff08),
    linear-gradient(150deg, #ffbe0bc2, #ffbe0bad);
  --footer-glass-shadow: inset 0 2px 3px #ffffff66, inset 1px 0 3px #fff6,
    inset -1px 0 3px #ffbe0b54, inset 0 -1px 2px #ffbe0b80,
    0 0 0 1px #ffbe0b14, 0 4px 14px #00000026;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: transparent;
  color: #fff;
  font: 400 .8rem/1.5 var(--body);
  letter-spacing: .06em;
  text-align: center;
}

.site-footer :is(.footer-socials, .footer-copyright, .footer-note, .footer-privacy) {
  margin: 0;
}

.site-footer a,
.site-footer b,
.site-footer .footer-note {
  color: inherit;
}

.site-footer b {
  font-weight: 600;
}

.site-footer .footer-year {
  font-weight: 700;
}

.site-footer .footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.site-footer .footer-socials a {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--footer-glass);
  box-shadow: var(--footer-glass-shadow);
  color: var(--accent);
  touch-action: manipulation;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}

.site-footer .footer-socials a::before {
  content: "";
  display: block;
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 3%, #ffffffe6 13%, #ffffff55 34%, transparent 61%, #ffffff80 86%, transparent 96%) top / 100% 2px no-repeat,
    radial-gradient(ellipse 25px 7px at 10% 0, #ffffff99, transparent 75%),
    radial-gradient(ellipse 22px 6px at 91% 0, #ffffff80, transparent 75%);
}

.site-footer .footer-socials svg {
  display: block;
  width: 20px;
  height: 20px;
  color: var(--accent);
  pointer-events: none;
}

.site-footer .footer-socials a:is(:active, :focus-visible) {
  background: var(--footer-glass-active);
  box-shadow: var(--footer-glass-shadow), inset 0 0 8px #fff3;
}

.site-footer .footer-socials a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer .footer-socials a:hover {
    background: var(--footer-glass-active);
    box-shadow: var(--footer-glass-shadow), inset 0 0 8px #fff3;
  }
}

.site-footer .footer-privacy {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0 12px;
  color: #fff;
  font: inherit;
  text-decoration: none;
}

.site-footer .footer-privacy:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-socials a {
    transition: none;
  }
}
