.button {
  align-items: center;
  background-color: transparent;
  border: none;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  font-size: 0.65rem;
  font-weight: 500;
  gap: var(--space--x-small);
  justify-content: center;
  letter-spacing: 0.2em;
  line-height: 1;
  padding: var(--space--small) var(--space--large);
  position: relative;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-indent: 0.2em;
  text-transform: uppercase;
  text-underline-offset: 0.5rem;
  transition: text-decoration-color 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  z-index: 0;

  --bloom-ink: 16, 42%, 46%;

  &:hover,
  &:focus-visible {
    outline: none;
    text-decoration-color: hsla(var(--bloom-ink), 1);
  }
}

.button--secondary {
  --bloom-ink: 30, 20%, 38%;

  color: var(--ink-soft);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.button-group {
  display: flex;
  gap: var(--space--medium);
  justify-content: center;
}
