.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s,
    color 0.18s,
    border-color 0.18s,
    transform 0.12s;
}

.button:active {
  transform: translateY(1px);
}

.button--primary {
  background: var(--acc);
  color: var(--accf);
}

.button--primary:hover:not([disabled]) {
  background: var(--acch);
}

.button--secondary {
  border-color: var(--acc);
  background: transparent;
  color: var(--acc);
}

.button--secondary:hover:not([disabled]) {
  background: var(--soft);
}

.button--small {
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
}

.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.link-button {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--link);
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-button:hover {
  text-decoration-thickness: 2px;
}
