/**
 * Ava Health brand tokens — the single source of truth for funnel colour.
 *
 * The funnel ships two unrelated styling systems: the landing page uses Tailwind
 * with arbitrary values reading `--brand-*` / `--text-*` (see landing/tokens.css),
 * while checkout, upsell and receipt use next-core.css with a `--brand--color--*`
 * namespace. Both are remapped onto the `--ava-*` tokens below, so a colour only
 * ever has to be changed here.
 *
 * Loaded before both systems in base.html and base-landing.html, since they
 * reference these values.
 *
 * FAQ chevrons, checkmarks and the 90-day badge are SVG files with this primary
 * hex painted in — they do not read CSS variables when used as <img>. Recolor
 * those assets if --ava-primary changes.
 */
html {
  scroll-behavior: smooth;
}

:root {
  /* Primary accent — links, selected states, highlights */
  --ava-primary: #2F1B2E;
  --ava-primary-hover: #492647;
  --ava-primary-tint: #F7E7EB;
  --ava-primary-foreground: #FEFAFA;

  /* Button fill. Kept separate from the accent because the checkout's buy button
     is a dark navy while its accent is blue; set both to the same value if you
     want buttons and accents to match. */
  --ava-cta: #2F1B2E;
  --ava-cta-hover: #694066;
  --ava-cta-foreground: #FEFAFA;

  /* Text */
  --ava-text: #2F1B2E;
  --ava-text-muted: #413341;
  --ava-text-inverse: #ffffff;

  /* Surfaces */
  --ava-surface: #FEFAFA;
  --ava-surface-alt: #F7E7EB;
  --ava-border: #2F1B2E;

  /* Accents */
  --ava-success: #e3f2e3;
  --ava-star: #ff9425;

  /* Bundle badge pills */
  --ava-badge-popular: #2F1B2E;
  --ava-badge-popular-surface: #E1C6CC;
  --ava-badge-value: #FEFAFA;
  --ava-badge-value-surface: #2F1B2E;
}

.ava-cta-btn {
  background-color: var(--ava-cta);
  color: var(--ava-cta-foreground);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ava-cta-btn:hover {
  background-color: var(--ava-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(47, 27, 46, 0.28);
}
.ava-cta-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
