@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap");

:root {
    --ink: #18333c;
    --orange: #db6d20;
    --paper: #f7f7f2;
    --line: #dce1da
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif
}

button, input, select {
    font: inherit
}

a {
    color: inherit
}

header {
    max-width: 1220px;
    margin: auto;
    padding: 28px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line)
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px
}

.brand b {
    font-weight: 500
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 5px
}

.mark {
    background: var(--ink);
    color: white;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    font-size: 30px
}

.phone {
    text-decoration: none;
    font-weight: 700;
    font-size: 14px
}

.phone span {
    margin-left: 14px
}

main {
    max-width: 1220px;
    margin: auto;
    padding: 0 36px
}

.intro {
    display: grid;
    grid-template-columns:1.5fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 60px 0 44px
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 18px;
    color: #aa550e
}

h1 {
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(38px, 4.4vw, 58px);
    letter-spacing: -2.8px;
    line-height: 1.13;
    margin: 0
}

h1 em {
    font-style: normal;
    color: var(--orange)
}

.lead {
    font-size: 16px;
    line-height: 1.7;
    max-width: 540px;
    color: #53666b;
    margin: 20px 0
}

.regions {
    font-size: 11px;
    letter-spacing: 1.3px;
    font-weight: 600
}

.illustration {
    background: #eceee5;
    padding: 28px 16px 14px;
    border-radius: 10px;
    text-align: center;
    transform: rotate(-2deg)
}

.mini {
    font-size: 9px;
    letter-spacing: 2px
}

.illustration p {
    font-size: 12px
}

.illustration svg {
    width: 100%;
    max-height: 215px
}

.workspace {
    display: grid;
    grid-template-columns:1.6fr 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 12px 35px #18333c08
}

.calculator {
    padding: 30px 34px
}

.section-label {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    gap: 10px
}

.section-label span + span {
    font-weight: 400;
    color: #748186;
    letter-spacing: 0
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
    margin: 24px 0 28px;
    gap: 20px
}

.tabs button {
    border: 0;
    background: transparent;
    padding: 0 0 13px;
    font-size: 13px;
    color: #6d7d80;
    cursor: pointer;
    border-bottom: 3px solid transparent
}

.tabs button[aria-selected=true] {
    color: var(--ink);
    font-weight: 700;
    border-bottom-color: var(--orange)
}

h2 {
    font-family: Manrope, Arial, sans-serif;
    font-size: 25px;
    letter-spacing: -.8px;
    margin: 0 0 10px
}

.muted {
    font-size: 13px;
    line-height: 1.6;
    color: #6b7b80;
    margin-bottom: 24px
}

.fields {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 19px 18px
}

label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
    font-weight: 600
}

input, select {
    background: #fbfcf9;
    border: 1px solid #d2d9d3;
    border-radius: 5px;
    color: var(--ink);
    height: 44px;
    padding: 9px 12px;
    font-size: 14px;
    width: 100%
}

select {
    font-size: 12px
}

input:focus, select:focus {
    outline: 2px solid var(--orange);
    outline-offset: 2px
}

.actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 24px
}

.primary, .quote {
    background: var(--orange);
    border: 0;
    border-radius: 5px;
    color: white;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none
}

.primary span {
    margin-left: 35px
}

.text-button {
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer
}

.error {
    color: #aa3624;
    font-size: 12px
}

.error:empty {
    display: none
}

.result {
    background: var(--ink);
    color: white;
    padding: 30px 32px;
    display: flex;
    flex-direction: column
}

.result-number {
    font-family: Manrope, Arial, sans-serif;
    font-size: 65px;
    font-weight: 700;
    letter-spacing: -3px;
    margin: 30px 0 7px;
    line-height: 1.1
}

.result-number small {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 0;
    font-weight: 400;
    margin-left: 10px;
    color: #aebfc0
}

.result > p {
    font-size: 14px;
    color: #d1dad6;
    margin: 5px 0 20px
}

.breakdown {
    font-size: 12px;
    color: #afc1c1;
    min-height: 25px;
    line-height: 1.6;
    margin-bottom: 14px
}

.outline {
    border: 1px solid #5a7278;
    background: transparent;
    color: white;
    border-radius: 5px;
    padding: 11px;
    cursor: pointer;
    font-size: 12px
}

.outline:disabled {
    opacity: .4;
    cursor: default
}

.result-note {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #425c63;
    font-size: 12px;
    line-height: 1.6
}

.result-note p {
    color: #b6c6c7;
    margin-bottom: 20px
}

.quote {
    display: block;
    margin-top: auto
}

.quote small {
    display: block;
    font-weight: 400;
    margin-top: 5px
}

.project {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 30px;
    margin-top: 24px
}

.project[hidden] {
    display: none
}

.item {
    display: grid;
    grid-template-columns:1fr auto auto;
    gap: 22px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px
}

.remove {
    border: 0;
    background: none;
    font-size: 20px;
    cursor: pointer
}

.project-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    font-size: 14px
}

.guide {
    display: grid;
    grid-template-columns:1fr 1.2fr;
    gap: 85px;
    padding: 65px 0 40px
}

.guide h2 {
    font-size: 30px
}

.guide p {
    font-size: 14px;
    color: #333333;
    line-height: 1.8;
    max-width: 400px
}

.guide a {
    font-size: 13px;
    font-weight: 600;
    text-underline-offset: 5px
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 17px 0
}

.faq details:first-child {
    padding-top: 0
}

summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600
}

.faq p {
    max-width: none;
    font-size: 13px;
    margin-bottom: 5px
}

.methods {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    color: #222222
}

.methods summary {
    font-size: 12px
}

.methods p {
    font-size: 13.5px;
    line-height: 1.7
}

footer {
    max-width: 1220px;
    margin: 15px auto 0;
    padding: 24px 36px 35px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    color: #222222
}

button:hover {
    filter: brightness(.94)
}

[hidden] {
    display: none !important
}

@media (max-width: 800px) {
    header {
        padding: 20px
    }

    .brand {
        font-size: 17px
    }

    .phone {
        font-size: 11px
    }

    main {
        padding: 0 20px
    }

    .intro {
        grid-template-columns:1fr;
        padding: 38px 0 30px;
        gap: 24px
    }

    .illustration {
        display: none
    }

    .regions {
        font-size: 8px
    }

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

    .calculator, .result {
        padding: 26px 23px
    }

    .tabs {
        gap: 0;
        justify-content: space-between
    }

    .tabs button {
        font-size: 12px
    }

    .fields {
        gap: 16px 12px
    }

    .guide {
        grid-template-columns:1fr;
        gap: 25px;
        padding: 45px 0 20px
    }

    .project {
        padding: 22px
    }

    .project-bottom {
        flex-direction: column
    }

    .item {
        font-size: 11px;
        gap: 12px
    }

    footer {
        padding: 20px;
        flex-wrap: wrap
    }

    .result-number {
        margin-top: 20px
    }

    .result-note {
        margin-top: 20px
    }

    h1 {
        letter-spacing: -1.8px
    }
}

@media print {
    header .phone, .intro, .calculator, .guide, .methods, footer, .outline, .quote, .text-button, .remove {
        display: none !important
    }

    main {
        padding: 0
    }

    .workspace {
        display: block;
        border: 0
    }

    .result {
        background: white;
        color: black;
        padding: 10px
    }

    .result-number small, .result p, .breakdown, .result-note p {
        color: black
    }

    .project {
        break-inside: avoid
    }

    .project .eyebrow {
        color: black
    }
}

body.page-template-page-calculator-1 #masthead {
    max-width: 100%;
    padding: 0;
}

body.page-template-page-calculator-1 #colophon {
    max-width: 100%;
}


