:root {
    --color-navy-950: #0a1628;
    --color-navy-900: #0f2a43;
    --color-navy-800: #1a3a5c;
    --color-emerald-700: #0f766e;
    --color-emerald-50: #ecfdf5;
}

body {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: block;
}

.htmx-request.htmx-indicator {
    display: block;
}

/* Skip link: visible only when focused (no dependency on Tailwind plugins) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 0.75rem 1rem;
    background: var(--color-navy-900);
    color: #fff;
    border-radius: 0.5rem;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Screen-reader-only helper (when Tailwind utilities are unavailable) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
