:root {
    /* Colors */
    --color-bg: #f5f7fb;
    --color-surface: #ffffff;
    --color-surface-soft: #f8fafc;
    --color-text: #172033;
    --color-muted: #667085;
    --color-border: #d9e1ec;
    --color-primary: #2454d6;
    --color-primary-soft: #e8efff;
    --color-success: #138a43;
    --color-success-soft: #e8f7ee;
    --color-warning: #a15c00;
    --color-warning-soft: #fff3df;
    --color-danger: #b42318;
    --color-danger-soft: #ffe9e7;
    --color-approved: #4b3cc4;
    --color-approved-soft: #eeeafd;
    --color-neutral-soft: #f1f5f9;
    --color-neutral-text: #475569;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-card-hover: 0 16px 34px rgba(16, 24, 40, 0.14);
    --shadow-md: 0 12px 28px rgba(16, 24, 40, 0.08);

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.9rem;
    --radius-lg: 1.25rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;

    /* Typography */
    --font-base: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-table: 0.875rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --line-height-base: 1.5;
    --line-height-tight: 1.25;

    /* Page-level type scale */
    --page-title-size: 1.5rem;
    --section-title-size: 1.125rem;
    --card-title-size: 1rem;
    --label-size: 0.72rem;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.16s ease, background-color 0.16s ease;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

h1, h2, h3, h4, p {
    margin-top: 0;
}

h2 {
    font-size: var(--page-title-size);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--section-title-size);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
}

h4 {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
}

.muted {
    color: var(--color-muted);
    font-size: var(--font-size-sm);
}

.eyebrow {
    margin-bottom: var(--space-1);
    color: var(--color-primary);
    font-size: var(--label-size);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.meta-label {
    color: var(--color-muted);
    font-size: var(--label-size);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
