:root {
    --color-primary: #004c70;
    --color-cta: #ea5b0c;
    --color-bg: #f5faff;
    --font-heading: Montserrat, sans-serif;
    --font-body: "Open Sans", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--color-bg);
    color: #1a1a1a;
    line-height: 1.5;
}

.site-header {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #d5e4ee;
}

.brand img {
    display: block;
    height: 2.5rem;
    width: auto;
}

main {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 2rem;
    margin: 0 0 0.5rem;
}

.lead {
    font-size: 1.15rem;
    margin: 0 0 1rem;
}

.cta {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: var(--color-cta);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

.cta:hover,
.cta:focus {
    filter: brightness(0.95);
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding-right: 1.5rem;
}

.site-nav a {
    color: var(--color-primary);
}

.nav-form {
    display: inline;
    margin: 0;
}

.nav-form button {
    background: none;
    border: 0;
    padding: 0;
    color: var(--color-primary);
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.form .field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.form .field input,
.form .field select,
.form .field textarea {
    width: 100%;
    max-width: 24rem;
    padding: 0.55rem 0.7rem;
    font: inherit;
    border: 1px solid #9bb8c9;
    border-radius: 4px;
}

.form .field textarea {
    max-width: 36rem;
    min-height: 8rem;
}

.form button.cta {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.flash-ok {
    background: #e7f6ea;
}

.flash-error {
    background: #fdecea;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 40rem) {
    .cards {
        grid-template-columns: 1fr 1fr;
    }
}

.card,
.trust,
.steps {
    background: #fff;
    border: 1px solid #d5e4ee;
    border-radius: 6px;
    padding: 1.25rem 1.4rem;
    margin: 1.25rem 0;
}

.card h2,
.steps h2,
.trust h2,
.prose h1,
.prose h2,
.hero h1 {
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.card h2,
.steps h2,
.trust h2,
.prose h2 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
}

.prose h1 {
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
}

.prose h2 {
    margin-top: 1.5rem;
}

.steps ol {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.site-footer {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2.5rem;
    border-top: 1px solid #d5e4ee;
    font-size: 0.95rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 0.75rem;
}

.site-footer a {
    color: var(--color-primary);
}

.site-footer p {
    margin: 0;
    color: #445;
}

