/* hallmark:tokens v1 —pestIX token layer (t88, route B).
   Single :root token block; every colour below is declared HERE and consumed
   via var() everywhere else. Tailwind v4 utilities resolve through --color-*
   variables, so remapping them here re-themes the compiled build without a
   rebuild. Dark-theme values of the same tokens live in pestix-dark.css v2.
   Stamp: px-hm 2026-10-27 floor-a */
:root {
  /* anchor-tinted neutrals (Hallmark 7a/7b: no pure #fff/#000) */
  --color-white: #fafaf9;
  --color-black: #0c0a09;

  /* accent: unify compiled teal-500/600 with brand teal (theme-color #0f766e);
     white text on #0f766e = 5.2:1 (gate 41 fixed systemically; was #14b8a6/#0d9488) */
  --color-teal-500: #0f766e;
  --color-teal-600: #0f766e;

  /* semantic ink ramp (light); dark overrides in pestix-dark.css v2 */
  --px-ink: #1c1917;
  --px-ink-2: #44403c;
  --px-ink-3: #57534e;
  --px-ink-4: #6b6459;
  --px-mute: #57534e;
  --px-accent: #0f766e;
  --px-accent-2: #0d9488;
  --px-ring: #0d9488;
  --px-line: #e7e5e4;
  --px-line-strong: #b8b2ad;
  --px-white: #fafaf9;
  --px-black: #0c0a09;
  --px-amber-ink: #92400e;
  --px-surface: #ffffff;
  --px-surface-50: #fafaf9;
  --px-surface-100: #f5f5f4;
  --px-tint: #ccfbf1;
}

/* ---- text utilities raised to readable tones (gate 40; light+dark via tokens) ---- */
.text-stone-400 { color: var(--px-ink-3); }
.text-stone-500 { color: var(--px-ink-2); }
.text-teal-600 { color: var(--px-accent); }
.text-amber-600 { color: var(--px-amber-ink); }

/* ---- transition hygiene (gate 10a): no `all`, no layout properties ---- */
.transition-all {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
  transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.transition-\[left\,right\,width\],
.transition-\[width\,height\,padding\],
.transition-\[width\] {
  transition-property: color, background-color, border-color, opacity, box-shadow, transform;
}

/* radix accordion animated height (gate 10a) -> instant reveal, no height tween */
@keyframes accordion-down {
  from { height: var(--radix-accordion-content-height); }
  to { height: var(--radix-accordion-content-height); }
}
@keyframes accordion-up {
  from { height: var(--radix-accordion-content-height); }
  to { height: var(--radix-accordion-content-height); }
}
