:root {
    --navy: #092b58;
    --blue: #0879f5;
    --line: #dce2e9;
    --muted: #4d607c;
    --bg: #f8f9fb
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    color: #0b2751;
    font: 14px Arial,Helvetica,sans-serif;
    background: #fff
}

button,input,select,textarea {
    font: inherit
}

button {
    cursor: pointer
}

a {
    color: #0873ce;
    text-decoration: underline
}

.site-header {
    min-height: 108px;
    border-bottom: 3px solid #0584ee;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 10px max(24px,3vw)
}

.brand {
    min-width: 255px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1
}

.brand .roof {
    font-size: 36px;
    line-height: 23px;
    color: #086dbb
}

.brand strong {
    font-size: 38px;
    letter-spacing: 2px
}

.brand span {
    font-size: 18px;
    letter-spacing: 6px
}

.brand small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
    margin-top: 5px
}

.tagline {
    border-left: 1px solid #a7b0bf;
    padding-left: 26px;
    flex: 1;
    min-width: 190px
}

.tagline b {
    font-size: 21px
}

.tagline small {
    display: block;
    letter-spacing: 2px;
    font-size: 10px;
    margin-top: 8px
}

.header-benefits {
    display: flex;
    align-items: center
}

.header-benefits div {
    text-align: center;
    min-width: 100px;
    padding: 0 13px;
    border-left: 1px solid #d0d6e0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35
}

.header-benefits div:first-child {
    border: 0
}

.header-benefits span {
    display: block;
    font-size: 31px;
    margin-bottom: 3px
}

.page {
    max-width: 100%;
    margin: auto;
    padding: 40px 80px;
}

.panel {
    border: 1px solid #e1e5eb;
    border-radius: 7px;
    background: var(--bg);
    padding: 9px 12px 12px;
    margin-bottom: 10px;
    min-width: 0
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 8px
}

.number {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: grid;
    place-items: center;
    font-size: 23px
}

.section-heading h2 {
    font-size: 20px;
    line-height: 1.1;
    margin: 1px 0 2px;
    letter-spacing: -.4px
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

.client-layout {
    display: grid;
    grid-template-columns: 1.1fr 1.25fr 165px;
    gap: 30px;
    align-items: end
}

.client-email {
    padding-bottom: 13px
}

.client-email label,.field>label,.spacing-field legend {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 7px
}

.client-email input,.field input,.field select,.field textarea {
    width: 100%;
    min-width: 0;
    height: 38px;
    background: #fff;
    border: 1px solid #d7dce3;
    border-radius: 4px;
    padding: 8px 12px;
    color: #102b53
}

.client-email input::placeholder,.field textarea::placeholder {
    color: #9aa6b5
}

.segmented {
    display: flex;
    border: 1px solid #d1d8e2;
    border-radius: 30px;
    padding: 0;
    margin: 0 0 8px 34px;
    overflow: hidden;
    max-width: 325px;
    background: #fff
}

.segmented input,.spacing-options input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.segmented label {
    width: 50%;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer
}

.segmented input:checked+label {
    background: var(--navy);
    color: #fff;
    border-radius: 30px
}

.segmented input:focus-visible+label,.spacing-options input:focus-visible+label {
    outline: 3px solid #ffb400;
    outline-offset: -3px
}

.primary {
    border: 1px solid var(--blue);
    border-radius: 5px;
    background: var(--blue);
    color: white;
    padding: 12px 15px;
    font-weight: 600
}

.primary:hover {
    background: #0066d9
}

.client-action {
    display: flex;
    flex-direction: column;
    gap: 11px;
    text-align: center;
    padding-bottom: 2px;
    
}

.client-action a {
    font-size: 12px;
    margin-top:-40px;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px
}

.section-top>a {
    font-size: 12px;
    white-space: nowrap
}

.table-wrap {
    overflow-x: auto
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 690px;
    background: #fff;
    font-size: 12px
}

th {
    background: #e9edf2;
    text-align: left;
    text-transform: uppercase;
    font-size: 10px
}

th,td {
    border: 1px solid #e3e7ed;
    padding: 8px 13px
}

th:last-child,td:last-child {
    text-align: center
}

.outline {
    background: #fff;
    border: 1px solid #1885ed;
    color: #0873d3;
    border-radius: 4px;
    padding: 11px 15px;
    font-weight: 600
}

.outline:hover {
    background: #eaf4ff
}

.outline.small {
    padding: 4px 22px;
    font-size: 12px;
    font-weight: 400
}

.profiles {
    border: 0;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px
}

.profile-card {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid #d8dfe8;
    border-radius: 5px;
    padding: 11px 12px;
    cursor: pointer;
    min-width: 0
}

.profile-card:has(input:checked) {
    border: 2px solid #1683ec;
    padding: 10px 11px;
    box-shadow: 0 0 0 1px #c7e1ff
}

.profile-card input {
    accent-color: #0879f5;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin: 0 12px 0 2px
}

.profile-name {
    font-weight: 700
}

.profile-content {
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(110px,1fr);
    gap: 8px;
    margin-top: 12px
}

.profile-content svg {
    width: 100%;
    height: 112px;
    background-image: radial-gradient(#e0e5ec .75px,transparent .75px);
    background-size: 9px 9px;
    color: #111
}

.typical {
    border: 1px solid #e1e5eb;
    border-radius: 4px;
    background: #fafbfc;
    padding: 10px;
    font-size: 11px;
    line-height: 1.8
}

.typical b {
    display: block;
    margin-bottom: 8px
}

.typical span {
    display: block
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1.1fr 2.15fr;
    gap: 20px;
    align-items: end;
    margin: 10px 6px 12px
}

.spacing-field {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0
}

.spacing-options {
    display: flex;
    gap: 7px
}

.spacing-options label {
    display: grid;
    place-items: center;
    flex: 1;
    min-width: 0;
    padding: 10px 5px;
    background: #fff;
    border: 1px solid #d6dce5;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap
}

.spacing-options input:checked+label {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff
}

.diagram {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 12px
}

.diagram svg {
    width: 76%;
    max-height: 100px
}

.diagram p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted)
}

.bottom-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 10px
}

.quantity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 18px;
    margin: 14px 0 12px
}

.field textarea {
    height: 76px;
    resize: vertical
}

.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.summary {
    padding: 0;
    overflow: hidden
}

.summary-header {
    display: flex;
    justify-content: space-between;
    background: #e9edf2;
    padding: 12px 16px
}

.summary-header h2 {
    font-size: 16px;
    margin: 0
}

.summary-body {
    gap: 15px;
    padding: 12px
}

.summary-body svg {
    width: 28%;
    flex: none
}

.summary-body h3 {
    font-size: 15px;
    margin: 0 0 8px
}

.summary-body p {
    font-size: 12px;
    line-height: 1.55;
    margin: 0
}

.edit {
    float: right;
    background: #e6f1ff;
    border: 0;
    border-radius: 4px;
    color: #0874d5;
    padding: 9px 18px
}

.submit {
    width: 100%;
    font-size: 16px;
    margin-top: 6px
}

.site-footer {
    background: #041f3b;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    min-height: 122px;
    padding: 22px 30px
}

.footer-brand {
    display: flex;
    flex-direction: column;
    font-size: 23px;
    letter-spacing: 1px
}

.footer-brand span {
    font-size: 12px;
    letter-spacing: 3px;
    text-align: center
}

.footer-feature {
    font-size: 11px;
    line-height: 1.7
}

.footer-slogan {
    font-size: 22px;
    font-style: italic;
    white-space: nowrap
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

@media(max-width: 1100px) {
    .site-header {
        flex-wrap:wrap;
        justify-content: space-between
    }

    .header-benefits {
        width: 100%;
        justify-content: space-around
    }

    .client-layout {
        grid-template-columns: 1fr 1fr;
        gap: 15px
    }

    .client-action {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        justify-content: space-between
    }

    .profiles {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .spec-grid {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .spacing-field {
        grid-column: 1/-1
    }

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

    .site-footer {
        flex-wrap: wrap
    }
}

@media(max-width: 650px) {
    .page {
        padding:10px
    }

    .client-action a {    margin-top: 0px;

}
    .site-header {
        padding: 15px;
        gap: 15px
    }

    .brand {
        min-width: 0;
        width: 100%
    }

    .tagline {
        border: 0;
        padding: 0;
        text-align: center;
        width: 100%;
        flex: auto
    }

    .header-benefits {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 12px
    }

    .header-benefits div {
        border: 0
    }

    .panel {
        padding: 10px
    }

    .section-heading h2 {
        font-size: 18px
    }

    .section-heading p {
        font-size: 12px
    }

    .number {
        width: 34px;
        height: 34px;
        font-size: 20px
    }

    .client-layout,.profiles,.spec-grid,.quantity-grid {
        grid-template-columns: 1fr
    }

    .client-email {
        padding: 0
    }

    .client-action {
        grid-column: auto;
        flex-direction: column
    }

    .segmented {
        margin-left: 0;
        max-width: none
    }

    .section-top {
        align-items: flex-start
    }

    .section-top>a {
        white-space: normal;
        text-align: right
    }

    .profile-content {
        grid-template-columns: 1.5fr 1fr
    }

    .spacing-field {
        grid-column: auto
    }

    .spacing-options {
        flex-wrap: wrap
    }

    .spacing-options label {
        flex: 1 1 29%
    }

    .diagram {
        display: block;
        padding: 0
    }

    .diagram svg {
        width: 100%
    }

    .diagram p {
        margin: 0 0 6px
    }

    .quantity-grid {
        gap: 12px
    }

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

    .site-footer {
        gap: 18px
    }

    .footer-slogan {
        white-space: normal;
        text-align: center
    }

    .summary-body svg {
        max-width: 115px
    }
}

@media(max-width: 370px) {
    .profile-content {
        grid-template-columns:1fr
    }

    .profile-content svg {
        height: 100px
    }

    .spacing-options label {
        flex-basis: 40%
    }
}
