﻿body {
    a:root {
        --primary: #0b5fa5;
        --secondary: #f59e0b;
        --accent: #e11d48;
        --bg: #f8fafc;
        --card: #ffffff;
        --text: #0f172a;
        --muted: #475569;
    }

    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
        color: var(--text);
    }

    a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
    }
    /* ===== FIXED HERO HEADER ===== */
    header {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        padding: 2rem 1.5rem 2.75rem; /* ⬅️ reduced top padding */
        text-align: center;
        background: radial-gradient(1200px 500px at 50% -20%, rgba(255,255,255,.18), transparent 55%), linear-gradient(135deg, #0b5fa5 0%, #0ea5e9 55%, #0b5fa5 100%);
        color: #fff;
    }
        /* Optional: soft darkening at bottom for contrast */
        header::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.22));
            z-index: 0;
            pointer-events: none;
        }
        /* Leaf/emoji band sits BEHIND the text, not on top */
        header::after {
            content: "🍁 🍂 🍁";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -14px;
            font-size: 3rem;
            opacity: 0.18;
            z-index: 0;
            pointer-events: none;
            filter: blur(.1px);
        }
        /* Strong specificity so global h1 styles don't override */
        header > h1 {
            position: relative;
            z-index: 1;
            margin: 0 0 .5rem;
            font-size: clamp(1.8rem, 3vw, 2.6rem);
            line-height: 1.15;
            /* FORCE correct colour even if site theme overrides h1 */
            color: #fff !important;
            text-shadow: 0 2px 12px rgba(0,0,0,.25);
        }

        header > p {
            position: relative;
            z-index: 1;
            margin: 0 auto;
            max-width: 760px;
            color: rgba(255,255,255,.95) !important;
            font-size: 1.05rem;
        }

    main {
        max-width: 1100px;
        margin: 2.5rem auto 3rem;
        padding: 0 1.5rem;
    }

    .card {
        background: var(--card);
        border-radius: 16px;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    }

    h2 {
        color: var(--primary);
        margin-top: 0;
    }

    h3 {
        margin-top: 2rem;
        color: var(--accent);
    }

    ul {
        padding-left: 1.2rem;
    }

    li {
        margin-bottom: 0.75rem;
    }

    .alert {
        background: #fff7ed;
        border-left: 6px solid var(--secondary);
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .feature {
        background: #f1f5f9;
        padding: 1.5rem;
        border-radius: 14px;
        text-align: center;
    }

        .feature span {
            font-size: 2rem;
            display: block;
            margin-bottom: 0.5rem;
        }

    .cta-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .cta {
        display: block;
        background: var(--primary);
        color: #0b5fa5;
        padding: 1rem 1.25rem;
        border-radius: 12px;
        text-align: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(11,95,165,0.3);
        }

    footer {
        text-align: center;
        padding: 3rem 1.5rem;
        color: var(--muted);
    }

        footer strong {
            color: var(--text);
        }
}
