:root {
    --navy: #112a46;
    --blue: #1565a7;
    --ink: #243247;
    --bg: #f4f7fb;
    --line: #dce5ee
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.65 system-ui,-apple-system,'Segoe UI',Arial,sans-serif
}

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

    .top .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 0;
        gap: 16px
    }

    .top b {
        color: var(--navy);
        letter-spacing: .11em
    }

    .top span, .muted, small, .foot {
        color: #63758a
    }

.wrap {
    max-width: 1080px;
    margin: auto;
    padding: 0 24px
}

.hero {
    padding: 76px 0 38px
}

    .hero h1 {
        font-size: clamp(36px,5vw,58px);
        line-height: 1.15;
        letter-spacing: -.035em;
        color: var(--navy);
        max-width: 850px;
        margin: 14px 0
    }

    .hero p {
        font-size: 20px;
        max-width: 760px
    }

.eyebrow {
    color: var(--blue);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase
}

.panel {
    background: #fff;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin: 22px 0;
    box-shadow: 0 8px 30px #17345108
}

    .panel h1, .panel h2 {
        margin: 0 0 14px;
        color: var(--navy);
        line-height: 1.3
    }

    .panel h1 {
        font-size: 29px
    }

    .panel h2 {
        font-size: 21px;
        margin-top: 28px
    }

.phase {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line)
}

    .phase strong, .phase small {
        display: block
    }

.btn {
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    border: 0;
    border-radius: 9px;
    padding: 13px 20px;
    font: 600 15px system-ui;
    cursor: pointer;
    display: inline-block
}

    .btn:hover {
        background: #0c487d
    }

.foot {
    padding: 22px 0 65px;
    font-size: 13px
}

.survey {
    max-width: 900px;
    padding-top: 25px;
    padding-bottom: 50px
}

.readable {
    white-space: normal;
    line-height: 1.8
}

.sectionhead {
    font-size: 22px;
    font-weight: 750;
    color: var(--navy);
    padding: 24px 0 12px
}

.question {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin: 17px 0;
    padding: 20px 25px 26px;
    min-width: 0
}

    .question legend {
        font-weight: 650;
        color: var(--navy);
        padding: 0 5px;
        max-width: 100%
    }

.code {
    color: var(--blue);
    font-weight: 800
}

.option {
    display: block;
    padding: 9px 12px;
    margin: 6px 0;
    border: 1px solid #e2eaf2;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1.45
}

    .option:has(input:checked) {
        background: #e7f3ff;
        border-color: #3481b9
    }

    .option input {
        margin-right: 8px;
        accent-color: var(--blue)
    }

input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=reset]):not([type=image]):not([type=file]), textarea, select {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px 13px;
    border: 1px solid #bfcbd7;
    border-radius: 9px;
    margin-top: 7px;
    font: inherit;
    background: #fff
}

textarea {
    resize: vertical
}

label {
    display: block;
    margin: 9px 0
}

.ratings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

    .ratings .option {
        display: inline-block;
        margin-right: 6px
    }

.error {
    display: block;
    color: #9c2222;
    margin: 18px 0;
    font-weight: 600
}

.success {
    border-color: #9ed5ac
}

.small {
    font-size: 13px;
    color: #63758a
}

a {
    color: var(--blue)
}

@media(max-width:650px) {
    .wrap {
        padding: 0 15px
    }

    .panel {
        padding: 20px
    }

    .top .wrap {
        padding: 15px
    }

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

    .phase {
        align-items: start;
        flex-direction: column
    }

    .question {
        padding: 14px
    }
}
