/* =========================================================================
   TRM Ecosystem — autobanking.io component styles
   Elevation on this site is handled by flat fills + a 1px gold-tinted
   divider, never a shadow — see the brief's "Accepted alternative to
   shadow" note. The shared --shadow-* tokens in tokens.css are declared
   for portability but intentionally unused here.
   ========================================================================= */

body {
  background-color: var(--navy-900);
  color: var(--paper);
}

.font-display { font-family: 'Cormorant Garamond', serif; }
.font-body { font-family: 'DM Sans', sans-serif; }

/* ---- Section divider ---- */
.section-rule {
  height: 1px;
  background-color: var(--gold-border);
}

/* ---- The dotted "sequence" mark under the hero headline ---- */
.sequence-mark {
  display: flex;
  gap: 0.5rem;
}
.sequence-mark span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background-color: var(--gold);
  display: inline-block;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background-color: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.btn-primary:hover:not(:disabled) { background-color: var(--gold-600); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background-color: transparent;
  color: var(--gold-light);
  font-size: 0.95rem;
  border: 1px solid var(--gold-border);
  border-radius: 2px;
  transition: border-color 150ms ease, color 150ms ease;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- Form fields ---- */
.field-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--navy-900);
  border: 1px solid var(--navy-600);
  border-radius: 2px;
  color: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
}
.field-input::placeholder { color: rgba(250, 247, 242, 0.35); }
.field-input:focus {
  border-color: var(--gold);
  outline: none;
}

/* ---- Visible keyboard focus (accessibility floor — never remove) ---- */
.focus-ring:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---- Scroll reveal ----
   Sharp and immediate by design (per the brief's AutoBanking motion rule:
   "no slow reveals"). Short duration, small travel distance — a settle,
   not a story-beat. */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
