:root {
    --brand-primary: #ff7300;
    --brand-primary-hover: #e66700;
    --brand-primary-soft: #fff4eb;
    --surface: #ffffff;
    --background: #f6f7f9;
    --text: #20242c;
    --text-muted: #687080;
    --border: #dfe3e9;
    --danger: #c62828;
    --danger-soft: #fff1f1;
    --shadow-card: 0 24px 70px rgba(29, 35, 44, 0.12);
    --radius: 22px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--background);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
    margin: 0;
    background:
        radial-gradient(circle at 12% 12%, var(--brand-primary-soft), transparent 32rem),
        var(--background);
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: var(--surface);
    transition: opacity 180ms ease, visibility 180ms ease;
}

.loading-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 38px;
    height: 38px;
    border: 4px solid var(--brand-primary-soft);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

.spinner--small {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

@keyframes spin { to { transform: rotate(360deg); } }

[hidden] { display: none !important; }

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-primary) 35%, transparent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
