:root {
    color-scheme: light;
    --surface: #f0f9fc;
    --paper: #ffffff;
    --glacier: #dceff5;
    --steel: #739db8;
    --marine: #417e9f;
    --coral: #e35c7e;
    --coral-deep: #c44870;
    --mint: #b7f2d9;
    --lime: #e2f7bc;
    --ink: #567187;
    --muted: #758da1;
    --rule: #c6dfe8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: "Trebuchet MS", Arial, sans-serif;
}

.frame {
    width: min(1120px, calc(100% - 64px));
    margin-inline: auto;
}

p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.72;
}

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

h1, h2, h3 {
    color: var(--marine);
    letter-spacing: -.03em;
}

h1 {
    margin: 18px 0 22px;
    font-size: 40px;
    line-height: 1.18;
    font-weight: 800;
}

h2 {
    margin: 14px 0 22px;
    font-size: 28px;
    line-height: 1.26;
    font-weight: 800;
}

h3 {
    margin: 0 0 13px;
    font-size: 22px;
    line-height: 1.3;
}

a {
    color: inherit;
}

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

main p a:not(.cta) {
    color: var(--coral-deep);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
    font-weight: 700;
}

main p a:not(.cta):hover {
    text-decoration-style: solid;
}

strong {
    color: var(--marine);
    font-weight: 800;
}

.masthead {
    border-top: 6px solid var(--coral);
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
}

.masthead-inner {
    min-height: 87px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    flex-shrink: 0;
    color: var(--marine);
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.045em;
    text-decoration: none;
}

.brand-signal {
    height: 33px;
    width: 32px;
    display: flex;
    align-items: end;
    gap: 3px;
    padding: 4px;
    transform: skewY(-9deg);
    background: var(--coral);
}

.brand-signal i {
    width: 5px;
    background: white;
    display: block;
}

.brand-signal i:nth-child(1) { height: 10px; }
.brand-signal i:nth-child(2) { height: 19px; }
.brand-signal i:nth-child(3) { height: 25px; }

.topnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.topnav a {
    padding: 8px 0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.topnav a:hover,
.topnav a[aria-current="page"] {
    color: var(--coral-deep);
    border-bottom-color: var(--coral);
}

.masthead-hours {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .035em;
    font-weight: 800;
}

.lead {
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}

.lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, .9fr);
    align-items: stretch;
    gap: 45px;
}

.lead-main {
    padding: 61px 0 63px;
}

.overline {
    color: var(--coral-deep);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .13em;
}

.lead-main p {
    max-width: 655px;
}

.cta-duo {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 28px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 51px;
    padding: 13px 23px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.012em;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background .18s, color .18s, transform .18s;
}

.cta:hover {
    transform: translateY(-2px);
}

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

.cta-solid {
    background: var(--coral);
    color: white;
    box-shadow: 5px 5px 0 var(--glacier);
}

.cta-solid:hover {
    background: var(--coral-deep);
}

.cta-ghost {
    background: var(--paper);
    color: var(--marine);
    border: 2px solid var(--marine);
}

.cta-ghost:hover {
    color: var(--coral-deep);
    border-color: var(--coral-deep);
}

.console-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 27px;
    background: #d6f7ec;
    border-left: 1px solid #b5e0d7;
}

.console-stage::before {
    content: "";
    position: absolute;
    right: -60px;
    top: 13%;
    width: 290px;
    height: 290px;
    border: 45px solid #b6e5d8;
    border-radius: 50%;
}

.console-label, .console-corner {
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 900;
    color: var(--marine);
    letter-spacing: .18em;
}

.console-corner {
    align-self: flex-end;
}

.console-appliance {
    position: relative;
    z-index: 1;
    width: min(100%, 326px);
    margin: 18px auto;
    padding: 17px 20px 20px;
    background: #effaff;
    border: 10px solid #9bc3d5;
    border-bottom-width: 20px;
    box-shadow: 16px 18px 0 #8dcdbd;
    transform: rotate(-4deg);
}

.console-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 13px;
    border-bottom: 3px solid #a2c6d7;
}

.console-dots {
    display: flex;
    gap: 6px;
}

.console-dots i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--coral);
}

.console-dots i:nth-child(2) { background: #eab568; }
.console-dots i:nth-child(3) { background: #91c6d7; }

.console-readout {
    display: flex;
    align-items: end;
    gap: 4px;
    padding: 8px 12px;
    background: #6d9eb7;
}

.console-readout b {
    width: 8px;
    height: 15px;
    background: var(--mint);
}

.console-readout b:nth-child(2) { height: 10px; }
.console-readout b:nth-child(4) { height: 20px; }

.console-middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 12px 13px;
}

.console-dial {
    display: grid;
    place-items: center;
    width: 119px;
    height: 119px;
    border: 14px solid #bddfe9;
    background: #d0ebf3;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #82b6cd;
}

.console-dial span {
    width: 61px;
    height: 61px;
    border-radius: 50%;
    background: conic-gradient(var(--coral) 0 32deg, #f4faff 32deg 300deg, #85b5cb 300deg);
    border: 7px solid #91bbd1;
}

.console-leds {
    display: grid;
    gap: 10px;
}

.console-leds i {
    display: block;
    width: 47px;
    height: 10px;
    background: #91bed2;
}

.console-leds i:nth-child(2) { background: var(--coral); }

.console-bottom {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.console-bottom span {
    height: 7px;
    flex: 1;
    background: #9abbd0;
}

.console-bottom span:first-child { flex: 2; }

.section-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--coral);
    color: var(--coral-deep);
    font-size: 11px;
    letter-spacing: .15em;
    font-weight: 900;
}

.local-service {
    padding: 41px 0 45px;
    border-bottom: 1px solid var(--rule);
    background: var(--surface);
}

.local-service p {
    max-width: 1000px;
}

.repair-journal {
    padding: 47px 0 50px;
    background: var(--paper);
}

.journal-entry {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 34px;
    padding: 26px 0 29px;
    border-top: 1px solid var(--rule);
}

.journal-entry:first-of-type {
    border-top: 4px solid var(--glacier);
}

.journal-code {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    color: var(--coral-deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.journal-code span:first-child {
    font-size: 20px;
    letter-spacing: -.02em;
}

.journal-copy {
    max-width: 865px;
}

.appointment {
    padding: 46px 0 53px;
    background: var(--glacier);
}

.appointment-body {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .95fr);
    gap: 48px;
    align-items: start;
}

.hours-strip {
    background: var(--paper);
    border-top: 6px solid var(--mint);
    padding: 22px 25px;
    box-shadow: 7px 7px 0 #c2e5eb;
}

.hours-heading {
    display: block;
    margin-bottom: 17px;
    color: var(--coral-deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .15em;
}

.hours-strip div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-top: 1px solid var(--rule);
    font-size: 13px;
    font-weight: 800;
}

.hours-strip strong {
    font-size: 15px;
    color: var(--marine);
    text-align: right;
}

.article-lead, .service-lead {
    padding-top: 55px;
    padding-bottom: 55px;
}

.article-lead p, .service-lead p {
    max-width: 970px;
}

.symptom-sheet, .work-sequence {
    padding: 48px 0 50px;
    background: var(--paper);
    border-block: 1px solid var(--rule);
}

.symptom-block {
    position: relative;
    padding: 23px 0 28px 28px;
    margin-top: 25px;
    border-left: 5px solid var(--mint);
    border-bottom: 1px solid var(--rule);
}

.symptom-block:last-child {
    border-bottom: 0;
}

.symptom-mark {
    display: block;
    color: var(--coral-deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    margin-bottom: 11px;
}

.symptom-block p {
    max-width: 1000px;
}

.finish-panel, .terms-panel {
    padding-top: 50px;
    padding-bottom: 59px;
}

.finish-panel p, .terms-panel p {
    max-width: 990px;
}

.work-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 26px;
    padding: 28px 0 23px;
    border-top: 1px solid var(--rule);
}

.work-item:first-of-type {
    border-top: 3px solid var(--mint);
}

.work-item p {
    max-width: 990px;
}

.work-index {
    display: grid;
    place-items: center;
    align-self: start;
    width: 51px;
    height: 51px;
    background: var(--glacier);
    color: var(--coral-deep);
    font-size: 22px;
    font-weight: 900;
}

.page-footer {
    border-top: 5px solid var(--coral);
    background: #e4f5f8;
}

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

.footer-logo {
    color: var(--marine);
    font-weight: 900;
    text-decoration: none;
    font-size: 20px;
}

.footer-inner nav {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-inner nav a {
    font-size: 14px;
    text-decoration: none;
    color: var(--marine);
    font-weight: 800;
}

.footer-inner nav a:hover {
    text-decoration: underline;
}

.footer-inner nav a.privacy {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
}

@media (max-width: 1050px) {
    .masthead-inner {
        gap: 17px;
    }

    .masthead-hours {
        display: none;
    }

    .lead-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(255px, .85fr);
        gap: 25px;
    }

    .console-stage {
        padding: 20px;
    }

    .appointment-body {
        gap: 27px;
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

@media (max-width: 820px) {
    .frame {
        width: min(100% - 40px, 680px);
    }

    .masthead-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-block: 19px 13px;
        gap: 14px;
    }

    .topnav {
        gap: 18px;
        justify-content: flex-start;
    }

    .lead-grid {
        display: block;
    }

    .lead-main {
        padding: 42px 0 39px;
    }

    .console-stage {
        min-height: 305px;
        margin-bottom: 35px;
        border-left: 0;
    }

    .console-appliance {
        width: 280px;
        padding: 9px 15px 12px;
    }

    .console-dial {
        width: 91px;
        height: 91px;
        border-width: 9px;
    }

    .console-dial span {
        width: 44px;
        height: 44px;
    }

    .console-middle {
        padding-block: 10px;
    }

    .appointment-body {
        display: block;
    }

    .hours-strip {
        margin-top: 28px;
        box-shadow: none;
    }
}

@media (max-width: 520px) {
    .frame {
        width: calc(100% - 34px);
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .brand {
        font-size: 20px;
    }

    .topnav {
        column-gap: 15px;
        row-gap: 3px;
    }

    .topnav a {
        font-size: 13px;
    }

    .lead-main, .article-lead, .service-lead {
        padding-block: 37px;
    }

    .cta-duo {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .cta {
        width: 100%;
    }

    .console-stage {
        min-height: 300px;
    }

    .journal-entry {
        display: block;
        padding-block: 24px;
    }

    .journal-code {
        flex-direction: row;
        gap: 16px;
        align-items: center;
        margin-bottom: 15px;
    }

    .symptom-block {
        padding-left: 18px;
    }

    .work-item {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 14px;
    }

    .work-index {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        padding-block: 25px;
    }

    .footer-inner nav {
        gap: 20px;
    }
}
