:root {
    /* Brand — Nova identity */
    --nova-brand: #3340d6;
    --nova-brand-dark: #252fb5;
    --nova-brand-light: #5b66e8;
    --nova-accent: #0b947f;
    --nova-accent-dark: #087a68;
    --nova-ink: #0b1220;
    --nova-slate: #475569;

    /* Semantic tokens */
    --theme-primary: var(--nova-brand);
    --theme-primary-dark: var(--nova-brand-dark);
    --theme-primary-light: var(--nova-brand-light);
    --theme-accent: var(--nova-accent);
    --theme-accent-soft: rgba(11, 148, 127, 0.12);
    --theme-primary-soft: rgba(51, 64, 214, 0.1);
    --theme-background: #f6f7fb;
    --theme-surface: #ffffff;
    --theme-surface-muted: #eef1f8;
    --theme-text: var(--nova-ink);
    --theme-muted: var(--nova-slate);
    --theme-border: #e3e8f1;
    --theme-border-strong: #c5cede;
    --theme-success: #0f9f6e;
    --theme-warning: #d97706;
    --theme-danger: #dc2626;
    --theme-info: #2563eb;

    /* Typography */
    --theme-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --theme-font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --theme-text-xs: 0.75rem;
    --theme-text-sm: 0.875rem;
    --theme-text-base: 1.015rem;
    --theme-text-lg: 1.125rem;
    --theme-text-xl: 1.375rem;
    --theme-text-2xl: 1.75rem;
    --theme-text-3xl: clamp(1.85rem, 3.4vw, 2.5rem);
    --theme-text-4xl: clamp(2.55rem, 5.2vw, 3.65rem);
    --theme-leading: 1.7;
    --theme-leading-snug: 1.45;
    --theme-leading-tight: 1.12;
    --theme-tracking-tight: -0.033em;
    --theme-tracking: -0.01em;

    /* Spacing scale */
    --theme-space-1: 0.25rem;
    --theme-space-2: 0.5rem;
    --theme-space-3: 0.75rem;
    --theme-space-4: 1rem;
    --theme-space-5: 1.5rem;
    --theme-space-6: 2rem;
    --theme-space-7: 3rem;
    --theme-space-8: 4.25rem;
    --theme-space-9: 6.5rem;

    /* Layout */
    --theme-container: 1120px;
    --theme-container-narrow: 680px;
    --theme-header-height: 4.35rem;
    --theme-section-gap: clamp(4rem, 8.5vw, 6.5rem);
    --theme-prose: 38rem;

    /* Shape */
    --theme-radius: 0.95rem;
    --theme-radius-sm: 0.7rem;
    --theme-radius-xs: 0.45rem;
    --theme-radius-lg: 1.35rem;
    --theme-radius-full: 999px;

    /* Elevation */
    --theme-shadow-xs: 0 1px 2px rgba(11, 18, 32, 0.04);
    --theme-shadow-sm: 0 8px 22px rgba(11, 18, 32, 0.05);
    --theme-shadow: 0 16px 40px rgba(37, 47, 181, 0.1);
    --theme-shadow-lg: 0 28px 60px rgba(11, 18, 32, 0.12);

    /* Motion */
    --theme-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --theme-transition: 0.22s var(--theme-ease);
    --theme-focus: 0 0 0 0.2rem rgba(51, 64, 214, 0.32);

    /* Surfaces */
    --theme-hero-gradient:
        radial-gradient(ellipse 78% 58% at 12% 18%, rgba(51, 64, 214, 0.14), transparent 56%),
        radial-gradient(ellipse 65% 48% at 92% 8%, rgba(11, 148, 127, 0.12), transparent 52%),
        linear-gradient(180deg, #eef1ff 0%, #f6f7fb 52%, #ffffff 100%);
    --theme-header-bg: rgba(255, 255, 255, 0.9);
    --theme-header-border: transparent;

    /* Bootstrap 5 bridge */
    --bs-primary: var(--theme-primary);
    --bs-primary-rgb: 51, 64, 214;
    --bs-secondary: #64748b;
    --bs-success: var(--theme-success);
    --bs-info: var(--theme-info);
    --bs-warning: var(--theme-warning);
    --bs-danger: var(--theme-danger);
    --bs-body-font-family: var(--theme-font);
    --bs-body-color: var(--theme-text);
    --bs-body-bg: var(--theme-background);
    --bs-border-color: var(--theme-border);
    --bs-border-radius: var(--theme-radius-sm);
    --bs-link-color: var(--theme-primary);
    --bs-link-hover-color: var(--theme-primary-dark);
    --bs-focus-ring-color: rgba(51, 64, 214, 0.32);
}
