:root {
    --blue: #2105a3;
    --ink: #202437;
    --muted: #5c6474;
    --paper: #f7f8fc;
    --border: #e1e4ed;
    --content-width: 1140px
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: var(--paper)
}

a {
    color: var(--blue)
}

    a:focus-visible, button:focus-visible {
        outline: 3px solid #f5b534;
        outline-offset: 3px
    }

.masthead {
    background: linear-gradient(90deg,#130364 0%,#2105a3 50%,#130364 100%);
    color: white
}

.masthead-inner {
    max-width: var(--content-width);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1rem 0 .75rem
}

.brand {
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: clamp(1.45rem,3vw,2.25rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: .01em
}

    .brand small {
        display: block;
        font-size: .72em;
        font-weight: 400
    }

.header-image {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 190px;
    object-fit: contain
}

.nav {
    background: #fff;
    border-bottom: 1px solid var(--border)
}

.nav-inner {
    max-width: var(--content-width);
    margin: auto;
    display: flex;
    align-items: center;
    gap: 1.8rem;
    padding: .35rem 1.5rem;
    min-height: 42px;
    flex-wrap: wrap
}

.nav a {
    text-decoration: none;
    color: #292e41;
    font-weight: 600;
    font-size: .95rem;
    padding: .35rem 0
}

    .nav a[aria-current=page], .nav a:hover {
        color: var(--blue);
        text-decoration: underline;
        text-underline-offset: 5px
    }

.container {
    max-width: var(--content-width);
    margin: auto;
    padding: 2.5rem 1.5rem 4rem
}

.hero {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: clamp(1.5rem,4vw,3rem);
    box-shadow: 0 8px 30px #1b23600a
}

.eyebrow {
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .82rem;
    font-weight: 700;
    margin: 0 0 .5rem
}

h1 {
    font-size: clamp(2rem,4vw,3.1rem);
    line-height: 1.15;
    margin: .2rem 0 1rem
}

h2 {
    font-size: 1.55rem;
    line-height: 1.25;
    margin: 0 0 .75rem
}

p {
    margin: .5rem 0 1.2rem
}

.lead {
    font-size: 1.18rem;
    color: #3c4354;
    max-width: 150ch
}

.grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 1.2rem;
    margin-top: 1.5rem
}

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem
}

    .card p:last-child {
        margin-bottom: 0
    }

.section {
    margin-top: 2.5rem
}

.button {
    display: inline-block;
    border-radius: 7px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: .7rem 1.05rem
}

    .button:hover {
        background: #18037d
    }

.calendar {
    height: 750px;
    border: 1px solid var(--border);
    width: 100%;
    background: white;
    border-radius: 8px
}

.footer {
    border-top: 1px solid var(--border);
    background: white;
    color: var(--muted)
}

.footer-inner {
    max-width: var(--content-width);
    margin: auto;
    padding: 1.25rem 1.5rem
}

.footer p {
    margin: 0
}

@media(max-width:760px) {
    .masthead-inner {
        gap: .5rem;
        padding-inline: 1.5rem
    }

    .header-image {
        max-height: 150px
    }

    .nav-inner {
        gap: .65rem 1.2rem
    }

    .grid {
        grid-template-columns: 1fr
    }

    .calendar {
        height: 650px
    }
}

@media(max-width:480px) {
    .header-image {
        max-height: 120px
    }

    .container {
        padding-top: 1.5rem
    }

    .calendar {
        height: 600px
    }
}
