/* Minimal custom CSS */
.backdrop-blur {
    backdrop-filter: saturate(180%) blur(12px);
}

.social-link:hover {
    opacity: .75;
}

.btn-scan {
    background: #6f42c1;
    border: none;
    color: #fff;
}

.btn-scan:hover {
    background: #5b32a8;
    color: #fff;
}

.hero-underline {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.hero-underline img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.35em;
    width: 100%;
    height: auto;
    opacity: .9;
}

/* Headings font hook (kept minimal; actual @font-face provided by your CSS pipeline) */
:root {
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-body);
}

/* Mobile hero: reduce height & bottom padding to avoid overflow */
.hero-section {
    min-height: 100vh;
    padding-bottom: 8rem;
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 75vh;
        padding-bottom: 4rem;
    }
}

/* Pull hero under sticky header without layout shift */
header.sticky-top.pt-3 + section {
    margin-top: -6rem;
    padding-top: 1rem;
}

/* Show invalid message directly under checkbox */
.form-check-input.is-invalid ~ .invalid-feedback {
    display: block;
}
