html {
    scroll-behavior: smooth;
}

/* Hero background */
.hero-bg {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 45%, #e2e8f0 100%);
}

/* Blueprint dot grid */
.hero-grid {
    background-image: radial-gradient(circle, #94a3b8 0.6px, transparent 0.6px);
    background-size: 30px 30px;
    opacity: 0.12;
}

/* Building rise-in animation */
@keyframes building-rise {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.bldg {
    opacity: 0;
    animation: building-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--d, 0s);
}

/* Crane hook sway */
@keyframes hook-sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(3deg); }
}
.crane-hook {
    animation: hook-sway 5s ease-in-out infinite;
}

/* Construction dust particles */
@keyframes particle-up {
    0%   { transform: translateY(0); opacity: 0.25; }
    100% { transform: translateY(-80px); opacity: 0; }
}
.particle {
    animation: particle-up 3.5s ease-out infinite;
    animation-delay: var(--pd, 0s);
}

/* Hide default details marker */
details summary::-webkit-details-marker,
details summary::marker {
    display: none;
    content: "";
}

/* Rotate chevron when details is open */
details[open] .chevron {
    transform: rotate(180deg);
}
details .chevron {
    transition: transform 0.2s ease;
}

/* Floating animation for benefit illustrations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.float-slow { animation: float 6s ease-in-out infinite; }
.float-medium { animation: float 4.5s ease-in-out infinite; }
.float-fast { animation: float 3.5s ease-in-out infinite; }

/* Benefit infographic stat cards */
.stat-card {
    background: white;
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 3px solid var(--accent, #334155);
}

/* Process step connectors */
@media (min-width: 1024px) {
    .process-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -0.95rem;
        top: 1.25rem;
        font-size: 1.25rem;
        color: #94a3b8;
    }
}
