/* ADR-0060: buttons, the header, the footer and the 404 page. */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-fg);
  font: 600 0.9375rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.08);
}

.button.ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-1);
}

.button.ghost:hover {
  background: var(--accent-soft);
  filter: none;
}

.button.big {
  min-height: 52px;
  padding: 0 24px;
  font-size: 1.0625rem;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.top-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  flex: none;
  border-radius: 6px;
}

.links {
  display: flex;
  gap: 24px;
  margin-inline: auto;
}

.links a,
.signin,
.lang {
  color: var(--text-2);
  font-size: 0.9375rem;
  text-decoration: none;
}

.links a:hover,
.signin:hover,
.lang:hover {
  color: var(--text-1);
}

.actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.links + .actions {
  margin-left: 0;
}

.foot {
  border-top: 1px solid var(--border);
  padding-block: 40px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.foot-brand p,
.copy {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 0.875rem;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.foot nav a {
  color: var(--text-2);
  font-size: 0.9375rem;
}

.missing {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-block: 96px;
}

.missing p:last-child {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 860px) {
  .links {
    display: none;
  }
}

@media (max-width: 480px) {
  .signin {
    display: none;
  }

  .actions {
    gap: 14px;
  }
}
