.ngf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ngf-sp-2);
  font-family: var(--ngf-font-body);
  font-size: var(--ngf-fs-sm);
  font-weight: var(--ngf-w-semi);
  letter-spacing: var(--ngf-tr-wide);
  text-transform: uppercase;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: var(--ngf-r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--ngf-dur-base) var(--ngf-ease-out),
              color var(--ngf-dur-base) var(--ngf-ease-out),
              border-color var(--ngf-dur-base) var(--ngf-ease-out),
              box-shadow var(--ngf-dur-base) var(--ngf-ease-out);
}

.ngf-btn--primary {
  background: var(--ngf-seismic-500);
  color: var(--ngf-white);
}
.ngf-btn--primary:hover  { background: var(--ngf-seismic-600); }
.ngf-btn--primary:active { background: var(--ngf-seismic-700); }

.ngf-btn--secondary {
  background: transparent;
  color: var(--ngf-fg-1);
  border-color: var(--ngf-border-strong);
}
.ngf-btn--secondary:hover {
  background: var(--ngf-ink-800);
  color: var(--ngf-fg-on-dark);
  border-color: var(--ngf-ink-800);
}

.ngf-btn--ghost {
  background: transparent;
  color: var(--ngf-fg-1);
}
.ngf-btn--ghost:hover { background: var(--ngf-ink-50); }

.ngf-btn:focus-visible {
  outline: none;
  box-shadow: var(--ngf-focus-ring);
}

/* Flow rhythm: buttons dropped between stacked components get the same 24px
   gap as other flow components. Scoped to the flow containers because
   .ngf-btn is also used inside heroes, cards and CTA blocks, which manage
   their own layout. */
.ngf-text-section__body > .ngf-btn,
.ngf-columns__col > .ngf-btn,
.ngf-callout-box__body > .ngf-btn {
  margin-bottom: var(--ngf-sp-6);
}
.ngf-text-section__body > .ngf-btn:last-child,
.ngf-columns__col > .ngf-btn:last-child,
.ngf-callout-box__body > .ngf-btn:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .ngf-btn--full-mobile { width: 100%; }
}
