/* ==========================================================================
   TapNexa Homepage v8 — Shared Motion & Palette Tokens
   Scoped addition for the Tapnexa Commerce Amber Motion child theme / v8 plugin.
   Leaves the existing 8.4s hero animation completely untouched.
   ========================================================================== */

:root {
  --amber: #F2A815;
  --amber-soft: #F3BB43;
  --amber-ink: #8A5A00;

  --ink: #22261F;
  --ink-2: #5E584B;

  --navy: #101B21;
  --nav: #1B292E;
  --brown: #2B1A0C;

  --cream: #F7F3E9;
  --sand: #F5EDDA;
  --paper: #FFF9F1;

  --line: #E7DDC7;
  --line-2: #D8CBAE;

  --ease: cubic-bezier(.2,.7,.2,1);
  --tnx-ease-glide: cubic-bezier(0.36, 0, 0.24, 1);
  --tnx-ease-settle: cubic-bezier(0.22, 1, 0.36, 1);

  --tnx-dur-ui: 240ms;
  --tnx-dur-enter: 500ms;

  --tnx-font-head: 'Inter Tight', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
  --tnx-font-body: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
}

/* Shared accessible pause/play pill used by components with subtle ongoing motion */
.tnx-motion-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--cream);
  color: var(--ink-2);
  font-family: var(--tnx-font-body);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}

.tnx-motion-toggle:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

.tnx-motion-toggle:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.tnx-motion-toggle__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--amber);
  flex: 0 0 6px;
}

.tnx-motion-toggle[aria-pressed="true"] .tnx-motion-toggle__dot {
  background: var(--line-2);
}
