:root {
    color-scheme: light;

    --hbat-color-canvas: #f8faf6;
    --hbat-color-surface: #ffffff;
    --hbat-color-surface-muted: #eef3ea;
    --hbat-color-text: #182114;
    --hbat-color-text-muted: #5d6a55;
    --hbat-color-primary: #2f6b3f;
    --hbat-color-primary-contrast: #ffffff;
    --hbat-color-accent: #b9852f;
    --hbat-color-border: #d7dfd1;
    --hbat-color-focus: #1c7c54;

    --hbat-font-family-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --hbat-font-family-heading: var(--hbat-font-family-base);
    --hbat-font-size-xs: 0.75rem;
    --hbat-font-size-sm: 0.875rem;
    --hbat-font-size-md: 1rem;
    --hbat-font-size-lg: 1.125rem;
    --hbat-font-size-xl: 1.5rem;
    --hbat-font-size-2xl: 2rem;
    --hbat-line-height-tight: 1.2;
    --hbat-line-height-base: 1.6;

    --hbat-space-1: 0.25rem;
    --hbat-space-2: 0.5rem;
    --hbat-space-3: 0.75rem;
    --hbat-space-4: 1rem;
    --hbat-space-6: 1.5rem;
    --hbat-space-8: 2rem;
    --hbat-space-12: 3rem;
    --hbat-space-16: 4rem;

    --hbat-size-content: 52.5rem;
    --hbat-size-wide: 75rem;
    --hbat-size-container-padding: var(--hbat-space-4);
    --hbat-radius-sm: 0.25rem;
    --hbat-radius-md: 0.5rem;
    --hbat-shadow-focus: 0 0 0 0.1875rem color-mix(in srgb, var(--hbat-color-focus), transparent 65%);
}

@media (prefers-contrast: more) {
    :root {
        --hbat-color-border: #526047;
        --hbat-color-focus: #004f2d;
    }
}
