:root {
  --wave-footer-divider-margin: 28px;
  --wave-footer-link-opacity: .62;
  --wave-footer-letter-spacing: .12em;
  --wave-footer-rule: rgba(216, 209, 195, .58);
  --wave-footer-rule-soft: rgba(216, 209, 195, .42);
  --wave-footer-system: rgba(56, 72, 64, .46);
  --wave-footer-note: rgba(106, 103, 95, .58);
  --wave-footer-link: rgba(56, 72, 64, var(--wave-footer-link-opacity));
  --wave-footer-link-hover: rgba(31, 51, 39, .82);
}

.wave-footer {
  border-top: 1px solid var(--wave-footer-rule);
  color: var(--wave-footer-note);
  line-height: 1.75;
}

.wave-footer p {
  margin: 0;
}

.wave-footer-system {
  color: var(--wave-footer-system);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: var(--wave-footer-letter-spacing);
  text-transform: uppercase;
}

.wave-footer-note {
  margin-top: 5px;
  color: var(--wave-footer-note);
  font-size: 11px;
}

.wave-footer-links,
.wave-footer-context {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.wave-footer-links a,
.wave-footer-context a {
  color: var(--wave-footer-link);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.wave-footer-links a:hover,
.wave-footer-links a:focus-visible,
.wave-footer-context a:hover,
.wave-footer-context a:focus-visible {
  color: var(--wave-footer-link-hover);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.wave-footer--landing {
  margin-top: 64px;
  padding: 24px 0 28px;
  text-align: center;
}

.wave-footer--landing .wave-footer-links {
  justify-content: center;
  margin-top: 12px;
}

.wave-footer-context {
  justify-content: flex-end;
  margin-top: var(--wave-footer-divider-margin);
  padding-top: 0;
  text-align: right;
  width: 100%;
}

.wave-footer--archive {
  margin-top: 18px;
  padding-top: var(--wave-footer-divider-margin);
  padding-bottom: 0;
  text-align: left;
}

html[data-theme="dark"] {
  --wave-footer-rule: rgba(174, 160, 128, .18);
  --wave-footer-rule-soft: rgba(174, 160, 128, .14);
  --wave-footer-system: rgba(187, 178, 161, .42);
  --wave-footer-note: rgba(187, 178, 161, .32);
  --wave-footer-link: rgba(187, 178, 161, .66);
  --wave-footer-link-hover: rgba(238, 233, 221, .86);
}

@media (max-width: 760px) {
  :root {
    --wave-footer-divider-margin: 22px;
    --wave-footer-letter-spacing: .10em;
  }

  .wave-footer--landing {
    margin-top: 46px;
    padding: 22px 0 24px;
  }

  .wave-footer-context {
    gap: 10px 14px;
    justify-content: flex-start;
    text-align: left;
  }

  .wave-footer-links a,
  .wave-footer-context a {
    font-size: 9px;
    letter-spacing: .06em;
  }
}
