/* Shared between the landing page and the dashboard - button-like actions
   look and behave the same everywhere in the app, not just on the page
   that happened to define them first. */

/* :not([hidden]) rather than a bare .btn - "display: inline-flex" here
   has the same specificity as the [hidden] UA rule it needs to lose to,
   and author rules win cascade ties, so a hidden button stayed visible
   the moment it carried any .btn class. */
.btn:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  height: 48px;
  padding: 0 var(--sp-6);
  border-radius: var(--radius-full);
  font-size: var(--body-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--gold-ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--hairline);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink-muted);
}

.btn-sm {
  height: 40px;
  padding: 0 var(--sp-4);
  font-size: var(--caption);
}
