/* Shared base rules kept intentionally small. */

:root {
    --cv-accent: #ff545a;
    --cv-accent-dark: #f43032;
    --cv-ink: #0f172a;
    --cv-line: rgba(15, 23, 42, 0.12);
    --cv-focus: 0 0 0 3px rgba(255, 84, 90, 0.2);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--cv-ink);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.au-card-title,
.home-title {
    font-family: 'Poppins', 'Inter', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a,
button {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: none;
    box-shadow: var(--cv-focus);
}

[hidden] {
    display: none !important;
}

.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;
}

.cv-feedback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.delay-1 {
    --delay: 0.06s;
}

.delay-2 {
    --delay: 0.08s;
}

.delay-3 {
    --delay: 0.12s;
}
