:root {
    --paper: #ffffff;
    --ink: #466677;
    --ink-soft: #658192;
    --orange: #d6602e;
    --orange-hover: #be4b20;
    --green: #268963;
    --green-hover: #19734e;
    --green-pale: #eff9f4;
    --ice: #f4f9fc;
    --border: #d3e4e5;
    --gold: #e49e4c;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.63;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
    border-radius: 3px;
}

.wrap {
    width: min(1120px, calc(100% - 60px));
    margin: 0 auto;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin: 12px 0 0;
    color: var(--orange);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 40px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.04em;
}

h2 {
    margin: 10px 0 19px;
    color: var(--orange);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 28px;
    line-height: 1.27;
    font-weight: 800;
    letter-spacing: -.025em;
}

h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.35;
}

p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

.lead {
    color: #506f7e;
    font-weight: 500;
}

.utility-bar {
    color: #ffffff;
    background: var(--orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .025em;
}

.utility-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 35px;
}

.page-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 20px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.045em;
    white-space: nowrap;
    text-decoration: none;
}

.wordmark strong {
    color: var(--orange);
}

.wordmark-symbol {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-block;
    flex: 0 0 42px;
    background: #e8f7ed;
    border: 3px solid var(--green);
    border-radius: 6px;
}

.wordmark-symbol::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 8px;
    top: 9px;
    border: 4px solid var(--orange);
    border-radius: 50%;
}

.wordmark-symbol::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 3px;
    left: 10px;
    top: 3px;
    border-radius: 2px;
    background: var(--green);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 27px;
}

.site-nav a {
    color: #536d7a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.site-nav a[aria-current],
.site-nav a:hover {
    color: var(--orange);
}

.site-nav .nav-button {
    padding: 10px 17px;
    color: var(--green);
    border: 2px solid #a7d5bd;
    border-radius: 3px;
}

.site-nav .nav-button:hover {
    color: #ffffff;
    background: var(--green);
    border-color: var(--green);
}

.intro {
    background: var(--ice);
    border-bottom: 1px solid #d6e6ee;
}

.intro-frame {
    padding: 39px 0 47px;
}

.intro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 110px;
}

.intro-heading {
    min-width: 0;
}

.section-flag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .13em;
}

.section-flag::before {
    content: "";
    width: 22px;
    height: 3px;
    background: var(--gold);
}

.diagnostic-illustration {
    position: relative;
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    flex: 0 0 108px;
    border: 2px dashed #87c0a6;
    border-radius: 50%;
    background: #ecf8f4;
}

.dial-ring {
    position: relative;
    width: 71px;
    height: 71px;
    border: 11px solid var(--green);
    border-right-color: var(--orange);
    border-radius: 50%;
    transform: rotate(-35deg);
}

.dial-ring::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    left: 18px;
    top: 18px;
    border-radius: 50%;
    background: var(--orange);
}

.dial-needle {
    position: absolute;
    width: 21px;
    height: 4px;
    left: 23px;
    top: 23px;
    border-radius: 3px;
    transform: rotate(-40deg);
    transform-origin: left center;
    background: var(--orange);
}

.dial-notch {
    position: absolute;
    width: 4px;
    height: 10px;
    border-radius: 2px;
    background: var(--orange);
}

.notch-one {
    left: 14px;
    top: 23px;
    transform: rotate(-42deg);
}

.notch-two {
    left: 52px;
    top: 7px;
}

.notch-three {
    right: 14px;
    top: 23px;
    transform: rotate(42deg);
}

.intro-text {
    max-width: 1030px;
    margin-top: 15px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 25px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 3px;
    transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(0);
}

.button-phone {
    color: #ffffff;
    background: var(--green);
    border-color: var(--green);
}

.button-phone:hover {
    background: var(--green-hover);
    border-color: var(--green-hover);
}

.button-online {
    color: var(--orange);
    border-color: #ebb69a;
    background: #ffffff;
}

.button-online:hover {
    background: #fff1e9;
}

.local-strip {
    padding: 41px 0 45px;
    background: var(--green-pale);
    border-bottom: 1px solid #cbe4da;
}

.local-content {
    border-left: 5px solid var(--orange);
    padding-left: 25px;
}

.local-strip h2 {
    margin-bottom: 16px;
}

.local-strip p:last-child {
    margin-bottom: 0;
}

.local-strip strong {
    color: var(--green);
    font-weight: 800;
}

.topic-stack {
    background: #ffffff;
}

.topic {
    padding: 45px 0 47px;
    border-bottom: 1px solid var(--border);
}

.topic:last-child {
    border-bottom: 0;
}

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

.topic-heading h2 {
    margin: 0;
}

.topic-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 41px;
    flex: 0 0 50px;
    color: #ffffff;
    background: var(--orange);
    border-radius: 2px;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.topic p {
    max-width: 1040px;
    margin-left: 69px;
}

.topic p:last-child {
    margin-bottom: 0;
}

.topic a[href=""] {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    border: 0;
}

.topic a[href=""]:hover {
    color: var(--orange);
}

.service-notes {
    padding: 46px 0 50px;
    background: var(--ice);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-notes p {
    max-width: 1040px;
}

.service-notes p:last-child {
    margin-bottom: 0;
}

.last-action {
    padding: 37px 0 39px;
    background: var(--green);
    color: #ffffff;
}

.last-action-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.last-action .section-flag {
    color: #d9f8e8;
}

.last-action h2 {
    color: #ffffff;
    margin-bottom: 8px;
}

.last-action p {
    color: #f0fff6;
    max-width: 650px;
    margin-bottom: 0;
}

.last-action .action-buttons {
    flex: 0 0 auto;
    margin-top: 0;
}

.button-light {
    color: var(--green);
    background: #ffffff;
    border-color: #ffffff;
}

.button-light:hover {
    background: #e6f7ed;
}

.button-outline {
    color: #ffffff;
    background: transparent;
    border-color: #c8f0dc;
}

.button-outline:hover {
    background: #3d9e78;
}

.sub-intro {
    padding: 47px 0 49px;
    background: var(--ice);
    border-bottom: 1px solid var(--border);
}

.sub-intro h1 {
    margin: 13px 0 21px;
}

.sub-intro p {
    max-width: 1050px;
}

.service-intro {
    background: var(--green-pale);
}

.page-footer {
    padding: 28px 0 29px;
    background: #f0f7f7;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.footer-mark {
    font-size: 20px;
}

.footer-mark .wordmark-symbol {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    transform: scale(.8);
    transform-origin: center left;
    margin-right: -6px;
}

.page-footer nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.page-footer nav a {
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.page-footer nav .quiet-link {
    color: #8298a0;
    font-size: 12px;
    font-weight: 500;
}

.page-footer nav a:hover {
    color: var(--orange);
}

.footer-hours {
    color: var(--ink-soft);
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 1080px) {
    .site-nav {
        gap: 17px;
    }

    .last-action-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-content {
        flex-wrap: wrap;
        gap: 16px 23px;
    }
}

@media (max-width: 840px) {
    .wrap {
        width: min(100% - 44px, 1120px);
    }

    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 11px;
        padding: 16px 0;
    }

    .site-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 22px;
    }

    .intro-frame,
    .sub-intro {
        padding-top: 39px;
        padding-bottom: 43px;
    }

    .local-strip,
    .service-notes {
        padding-top: 39px;
        padding-bottom: 41px;
    }

    .topic {
        padding-top: 39px;
        padding-bottom: 42px;
    }
}

@media (max-width: 590px) {
    .wrap {
        width: min(100% - 32px, 1120px);
    }

    .utility-content {
        justify-content: center;
    }

    .utility-content span:first-child {
        display: none;
    }

    .wordmark {
        font-size: 22px;
    }

    .site-nav {
        gap: 9px 16px;
    }

    .site-nav a {
        font-size: 12px;
    }

    .site-nav .nav-button {
        padding: 7px 11px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    .intro-top {
        min-height: 0;
    }

    .diagnostic-illustration {
        width: 74px;
        height: 74px;
        flex: 0 0 74px;
        transform: scale(.72);
        transform-origin: center right;
        margin-left: -24px;
    }

    .intro-top h1 {
        word-break: normal;
        overflow-wrap: normal;
    }

    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .local-content {
        padding-left: 14px;
    }

    .topic-heading {
        display: block;
    }

    .topic-number {
        width: 44px;
        height: 35px;
        margin-bottom: 12px;
    }

    .topic p {
        margin-left: 0;
    }

    .last-action {
        padding: 32px 0 36px;
    }

    .last-action .action-buttons {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0s !important;
    }
}
