/**
 * RCM design tokens.
 *
 * Ported 1:1 from the mockup's Tailwind @theme block so the WordPress build and
 * the React prototype stay visually identical. Everything downstream — theme
 * CSS, LearnDash overrides, BuddyBoss overrides — reads from these variables
 * and never hard-codes a hex value.
 */

:root {
	/* Brand */
	--rcm-navy: #0033a0;
	--rcm-navy-hover: #002b87;
	--rcm-navy-deep: #07153a;
	--rcm-navy-mid: #0b1f5c;
	--rcm-gold: #e8a317;
	--rcm-gold-bright: #f5c400;
	--rcm-gold-fg: #1a1400;

	/* Surfaces */
	--rcm-bg: #f6f7fb;
	--rcm-fg: #121826;
	--rcm-card: #ffffff;
	--rcm-muted: #eef0f6;
	--rcm-muted-fg: #5a6478;
	--rcm-border: #e3e7f0;
	--rcm-danger: #b42318;
	--rcm-success: #067647;

	/* Tinted brand surfaces, pre-mixed so they survive older browsers. */
	--rcm-navy-08: rgb(0 51 160 / 0.08);
	--rcm-navy-12: rgb(0 51 160 / 0.12);
	--rcm-gold-12: rgb(232 163 23 / 0.12);

	/* Type */
	--rcm-font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--rcm-font-display: "Plus Jakarta Sans", "DM Sans", ui-sans-serif, system-ui, sans-serif;

	/* Type scale — 1.25 major third, capped so headings stay usable on 360px. */
	--rcm-text-xs: 0.75rem;
	--rcm-text-sm: 0.875rem;
	--rcm-text-base: 1rem;
	--rcm-text-lg: 1.125rem;
	--rcm-text-xl: 1.375rem;
	--rcm-text-2xl: 1.75rem;
	--rcm-text-3xl: clamp(1.75rem, 1.35rem + 1.7vw, 2.25rem);
	--rcm-text-4xl: clamp(2rem, 1.3rem + 3vw, 3.75rem);

	/* Radii */
	--rcm-radius-sm: 0.5rem;
	--rcm-radius: 0.75rem;
	--rcm-radius-lg: 1rem;
	--rcm-radius-xl: 1.5rem;
	--rcm-radius-2xl: 1.75rem;
	--rcm-radius-pill: 999px;

	/* Elevation */
	--rcm-shadow-soft: 0 10px 40px -16px rgb(7 21 58 / 0.18);
	--rcm-shadow-lift: 0 18px 50px -20px rgb(7 21 58 / 0.28);

	/* Rhythm */
	--rcm-gap: 1rem;
	--rcm-section-y: clamp(2.5rem, 1.6rem + 4vw, 4rem);
	--rcm-container: 80rem;
	--rcm-container-narrow: 48rem;
	--rcm-gutter: clamp(1rem, 0.6rem + 1.6vw, 1.5rem);
}

/**
 * The --bb-* bridge does NOT live here.
 *
 * BuddyBoss prints its own `:root { --bb-*: … }` block as an inline <style> on
 * wp_head at priority 99. WordPress prints enqueued stylesheets on wp_head at
 * priority 8. Anything written to :root in this file is therefore overridden by
 * BuddyBoss further down the same document, at equal specificity.
 *
 * The bridge is emitted from inc/buddyboss.php on wp_head at priority 100
 * instead. See rcm_bb_variable_bridge().
 */

