
:root {
    --accent-rgb: 111 163 160;
    --accent-light-rgb: 156 194 192;
    --accent-dark-rgb: 69 112 110;
    --accent-shade: #5f918e;
    --accent-deep: #4f7d7a;
    --accent: rgb(var(--accent-rgb));
    --accent-light: rgb(var(--accent-light-rgb));
    --accent-dark: rgb(var(--accent-dark-rgb));
    --hero-filter: none;
    --hero-photo-opacity: 0.4;
}

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgb(var(--accent-rgb) / 0.45) transparent; }
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { background: rgb(var(--accent-rgb) / 0.45); border-radius: 4px; }
html::-webkit-scrollbar-thumb:hover { background: rgb(var(--accent-rgb) / 0.65); }
main { overflow-x: clip; }
footer a[href^="mailto:"] { overflow-wrap: anywhere; min-width: 0; }
@media (min-width: 768px) and (max-width: 1023px) {
    header nav.home-nav { display: none; }
    #mobileMenuBtn.md\:hidden { display: block; }
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: #ffffff;
    color: #111827;
    font: 500 0.875rem/1 'Inter', sans-serif;
    border-radius: 0 0 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.skip-link:focus {
    left: 0;
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
}

.reveal-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.header-shadow {
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.08))
            drop-shadow(0 4px 3px rgba(0, 0, 0, 0.04));
}

.notice-shadow {
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.08))
            drop-shadow(0 4px 3px rgba(0, 0, 0, 0.04));
}

.hero-text { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }

@keyframes hero-kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.07); }
}
.hero-kenburns {
    animation: hero-kenburns 32s ease-in-out infinite alternate;
    transform-origin: 70% 45%;
    will-change: transform;
    filter: var(--hero-filter, none);
}

.themed-img { filter: var(--hero-filter, none); }

#ew-photo { opacity: var(--hero-photo-opacity, 0.4); }

@keyframes corona-breathe {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}
.corona-breathe { animation: corona-breathe 9s ease-in-out infinite; }

.corona-wash {
    background: radial-gradient(circle at 70% 45%,
        rgb(var(--accent-rgb) / 0.28) 0%,
        rgb(var(--accent-rgb) / 0.08) 30%,
        transparent 55%);
    mix-blend-mode: screen;
    pointer-events: none;
}


.text-gold { color: var(--accent); }
.text-gold-dark { color: var(--accent-dark); }
.bg-gold { background-color: var(--accent); }
.border-gold { border-color: var(--accent); }

.icon-bubble-gold {
    background: linear-gradient(135deg, rgb(var(--accent-rgb) / 0.18), rgb(var(--accent-rgb) / 0.07));
    border: 1px solid rgb(var(--accent-rgb) / 0.25);
}
.icon-gold { color: var(--accent-dark); }

.section-fade-edges {
    position: relative;
}
.section-fade-edges::before,
.section-fade-edges::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}
.section-fade-edges::before {
    top: 0;
    background: linear-gradient(to bottom, var(--section-bg, #f9fafb), transparent);
}
.section-fade-edges::after {
    bottom: 0;
    background: linear-gradient(to top, var(--section-bg-bottom, var(--section-bg, #f9fafb)), transparent);
}

.card-hover {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12),
                0 1px 1px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 2rem;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12),
                0 12px 24px -8px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
    pointer-events: none;
}

.card-hover:hover {
    transform: translateY(-6px) scale(1.015) !important;
}
.card-hover:has(:focus-visible) {
    transform: translateY(-6px) scale(1.015) !important;
}

.card-hover:hover::after {
    opacity: 1;
}
.card-hover:has(:focus-visible)::after {
    opacity: 1;
}

.card-hover:hover .step-number {
    transform: scale(1.08);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12),
                0 1px 1px rgba(0, 0, 0, 0.08);
    padding: 1.75rem;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-left-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-left: 3px solid transparent;
    position: relative;
}

.faq-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12),
                0 12px 24px -8px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
    pointer-events: none;
}

.faq-item:hover {
    transform: translateY(-2px) scale(1.01) !important;
    border-left-color: var(--accent);
}
.faq-item:has(:focus-visible) {
    transform: translateY(-2px) scale(1.01) !important;
    border-left-color: var(--accent);
}

.faq-item:hover::after {
    opacity: 1;
}
.faq-item:has(:focus-visible)::after {
    opacity: 1;
}

[data-aos].aos-animate:not(:hover):not(:focus-within) {
    transform: none !important;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent), var(--accent-shade));
    box-shadow: 0 1px 3px rgb(var(--accent-rgb) / 0.2);
    position: relative;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.35s ease-out;
}
.btn-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 8px 24px rgb(var(--accent-rgb) / 0.4);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-shade), var(--accent-deep));
    transform: translateY(-1px);
}
.btn-gold:hover::after {
    opacity: 1;
}

.provider-card {
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}
.provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right,
        rgb(var(--accent-rgb) / 0.12) 0%,
        transparent 60%);
    pointer-events: none;
}

img.provider-photo {
    border-radius: 9.375%;
    height: auto;
    aspect-ratio: 1 / 1;
}
.provider-photo-ring {
    border-radius: 13.07%;
}

.rates-card {
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}
.rates-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at top right,
        rgb(var(--accent-rgb) / 0.14) 0%,
        transparent 65%);
    pointer-events: none;
}

.how-it-works-bg {
    --section-bg: #e8f1fc;
    --section-bg-bottom: #f8fafc;
    background: linear-gradient(180deg, #e8f1fc 0%, #f1f7ff 50%, #f8fafc 100%);
    box-shadow: inset 0 12px 24px -10px rgba(0, 0, 0, 0.08),
                inset 0 -12px 24px -10px rgba(0, 0, 0, 0.08);
}

.faq-bg {
    --section-bg: #faf8f4;
    --section-bg-bottom: #f9fafb;
    background: linear-gradient(180deg, #faf8f4 0%, #f9f7f2 50%, #f9fafb 100%);
    box-shadow: inset 0 12px 24px -10px rgba(0, 0, 0, 0.06),
                inset 0 -12px 24px -10px rgba(0, 0, 0, 0.06);
}



h1, h2, h3 { letter-spacing: -0.015em; }

:root { --fraunces-opsz: 20; }

.font-serif {
    font-variation-settings: 'opsz' var(--fraunces-opsz);
}

.font-serif { font-feature-settings: "ss01" on, "ss02" on; }

::selection { background: rgb(var(--accent-rgb) / 0.3); color: #1f2937; }



.scroll-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-fade.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-kenburns, .corona-breathe { animation: none; }
    .scroll-fade {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .reveal-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

