/* ==========================================================================
   ClimaCore — Reset (modern minimal)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; }

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }

ul[role='list'], ol[role='list'] { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5, h6 { line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }

a:not([class]) { text-decoration-skip-ink: auto; }
img, picture, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
textarea:not([rows]) { min-height: 10em; }
:target { scroll-margin-block: 5ex; }

/* Screen-reader-only utility */
.cc-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* Skip-to-content link */
.cc-skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--cc-bg);
    color: var(--cc-text);
    padding: var(--cc-space-2) var(--cc-space-4);
    z-index: var(--cc-z-modal);
    text-decoration: none;
    font-weight: var(--cc-fw-semibold);
}
.cc-skip-link:focus { top: 0; }

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