:root {
    --page: #f6f8ff;
    --surface: #ffffff;
    --ink: #5b648f;
    --ink-bold: #4b528b;
    --muted: #7c85aa;
    --violet: #655bb4;
    --violet-light: #a49add;
    --lime: #cff16e;
    --lime-light: #f3ffdc;
    --bluewash: #eaf2ff;
    --line: #d5dbef;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

.content-max {
    max-width: 1040px;
}

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

h1,
h2,
h3 {
    color: var(--ink-bold);
    line-height: 1.23;
}

h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1.1px;
    margin-bottom: 23px;
    overflow-wrap: anywhere;
}

h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 21px;
}

h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 12px;
}

p {
    font-size: 16px;
    margin-bottom: 18px;
    max-width: 82ch;
}

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

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

.page-header {
    background: var(--surface);
    border-top: 7px solid var(--lime);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px 38px;
    padding: 17px 0;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-size: 19px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--ink-bold);
}

.brand-box {
    flex: none;
    width: 57px;
    height: 50px;
    display: grid;
    place-items: center;
    background: var(--violet);
    color: var(--surface);
    border-radius: 3px 16px 3px 16px;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.header-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px 25px;
    font-size: 14px;
    font-weight: 800;
}

.header-nav a {
    padding: 9px 0;
    border-bottom: 3px solid transparent;
    transition: border-color 150ms ease, color 150ms ease;
}

.header-nav a:hover,
.header-nav .current {
    border-bottom-color: var(--violet);
    color: var(--violet);
}

.header-message {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    max-width: 160px;
    text-align: right;
}

.hero-section {
    background: var(--bluewash);
    padding: 44px 0 48px;
    border-bottom: 1px solid var(--line);
}

.hero-header h1 {
    margin-bottom: 26px;
}

.eyebrow,
.section-id {
    display: block;
    font-size: 12px;
    letter-spacing: 1.9px;
    font-weight: 900;
    line-height: 1.4;
    color: var(--violet);
    margin-bottom: 14px;
}

.intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 45px;
}

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

.intro-copy p {
    max-width: 100%;
}

.intro-lead {
    color: var(--ink-bold);
    font-weight: 650;
}

.cta-pair {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 22px;
    min-height: 52px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 900;
    border: 2px solid var(--violet);
    border-radius: 4px 15px 4px 15px;
    transition: background 150ms ease, transform 150ms ease;
}

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

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

.cta-call {
    background: var(--violet);
    color: var(--surface);
}

.cta-call:hover {
    background: #8175c5;
}

.cta-report {
    background: var(--lime);
    color: var(--ink-bold);
}

.cta-report:hover {
    background: #dcf79a;
}

.meter-scene {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    margin: auto;
    background: var(--lime);
    border-radius: 28px 28px 110px 28px;
}

.scene-label {
    position: absolute;
    top: 16px;
    left: 18px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--violet);
}

.meter-body {
    position: absolute;
    top: 13%;
    left: 27%;
    width: 48%;
    height: 72%;
    background: var(--surface);
    border: 8px solid var(--violet);
    border-radius: 21px 21px 28px 28px;
    box-shadow: 12px 12px 0 var(--violet-light);
}

.meter-display {
    position: absolute;
    top: 9%;
    left: 12%;
    right: 12%;
    height: 25%;
    background: var(--bluewash);
    border: 6px solid var(--ink-bold);
    border-radius: 5px;
}

.meter-display span {
    position: absolute;
    left: 12%;
    right: 22%;
    top: 46%;
    height: 5px;
    background: var(--violet-light);
}

.meter-dial {
    position: absolute;
    top: 44%;
    left: 31%;
    width: 38%;
    aspect-ratio: 1;
    background: var(--lime);
    border: 6px solid var(--violet);
    border-radius: 50%;
}

.meter-dial span {
    position: absolute;
    top: 16%;
    left: 45%;
    width: 5px;
    height: 29%;
    background: var(--violet);
    border-radius: 4px;
}

.meter-input {
    position: absolute;
    left: 25%;
    right: 25%;
    bottom: 9%;
    display: flex;
    justify-content: space-between;
}

.meter-input span {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--violet);
}

.meter-input span:last-child {
    background: #e36f82;
}

.probe {
    position: absolute;
    width: 19px;
    height: 70px;
    border-radius: 5px 5px 4px 4px;
    background: var(--violet);
    bottom: 14%;
}

.probe span {
    position: absolute;
    left: 7px;
    width: 5px;
    height: 23px;
    top: -19px;
    background: var(--ink-bold);
    border-radius: 3px;
}

.probe-left {
    left: 10%;
    transform: rotate(-19deg);
}

.probe-right {
    right: 9%;
    background: #e36f82;
    transform: rotate(20deg);
}

.coil {
    position: absolute;
    border: 4px solid var(--violet);
    border-top-color: transparent;
    border-radius: 50%;
    width: 24%;
    height: 23%;
    bottom: 3%;
}

.coil-left {
    left: 14%;
    transform: rotate(-20deg);
}

.coil-right {
    right: 11%;
    border-color: #e36f82;
    border-top-color: transparent;
    transform: rotate(20deg);
}

.local-service {
    padding: 40px 0 43px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.local-service p {
    max-width: 100%;
}

.section {
    padding: 53px 0 56px;
}

.device-section {
    background: var(--surface);
}

.service-chapter {
    border-top: 3px solid var(--line);
    padding: 24px 0 17px;
}

.service-chapter:first-of-type {
    border-top-color: var(--violet);
}

.service-chapter p {
    max-width: 94ch;
}

.diagnosis-section {
    background: var(--lime-light);
}

.diagnosis-section p,
.hours-section p,
.faults-one p,
.faults-two p,
.faults-extra p,
.visit-section p,
.report-section p,
.control-section p,
.cost-section p,
.schedule-section p {
    max-width: 92ch;
}

.hours-section {
    background: var(--bluewash);
}

.hours-track {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px 35px;
    border-top: 2px solid var(--violet-light);
    border-bottom: 2px solid var(--violet-light);
    padding: 14px 0;
    margin: 25px 0;
    font-size: 14px;
}

.hours-track span {
    display: inline-flex;
    gap: 9px;
    align-items: center;
}

.hours-section .cta-pair {
    margin-top: 20px;
}

.site-footer {
    background: var(--surface);
    padding: 26px 0;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

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

.footer-point {
    color: var(--violet);
    margin: 0 4px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
}

.site-footer a:hover {
    color: var(--violet);
}

.site-footer .small-link {
    color: var(--muted);
    font-size: 12px;
}

.internal-hero {
    padding: 48px 0 49px;
}

.repair-hero {
    background: var(--lime-light);
}

.offer-hero {
    background: var(--bluewash);
}

.internal-content {
    max-width: 1020px;
}

.internal-content p {
    max-width: 95ch;
}

.faults-one,
.report-section {
    background: var(--surface);
}

.faults-two,
.control-section {
    background: var(--bluewash);
}

.faults-extra,
.cost-section {
    background: var(--surface);
}

.visit-section,
.schedule-section {
    background: var(--lime-light);
}

.cost-highlight {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: fit-content;
    gap: 10px 25px;
    border-left: 5px solid var(--violet);
    background: var(--lime);
    padding: 16px 22px;
    margin-top: 23px;
}

.cost-highlight strong {
    font-size: 21px;
}

.cost-highlight span {
    font-size: 14px;
}

@media (max-width: 1140px) {
    .header-message {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .intro-layout {
        gap: 25px;
    }
}

@media (max-width: 1050px) {
    .wrap {
        width: min(100% - 48px, 1160px);
    }

    .intro-layout {
        display: block;
    }

    .intro-copy {
        max-width: 880px;
        margin: 0 auto;
    }

    .meter-scene {
        margin: 32px auto 0;
        max-width: 355px;
    }
}

@media (max-width: 780px) {
    .section {
        padding: 40px 0 44px;
    }

    .hero-section {
        padding: 35px 0 39px;
    }

    .internal-hero {
        padding: 36px 0 39px;
    }

    .local-service {
        padding: 34px 0 37px;
    }
}

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

    .header-inner {
        justify-content: flex-start;
        gap: 12px;
        padding: 13px 0;
    }

    .wordmark {
        width: 100%;
        font-size: 18px;
    }

    .header-nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        font-size: 14px;
    }

    h1 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .cta-pair {
        flex-direction: column;
        align-items: stretch;
    }

    .cta {
        width: 100%;
    }

    .meter-scene {
        max-width: 290px;
    }

    .meter-body {
        border-width: 6px;
    }

    .meter-display {
        border-width: 4px;
    }

    .meter-dial {
        border-width: 4px;
    }

    .service-chapter {
        padding: 20px 0 15px;
    }

    .hours-track {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 360px) {
    .wrap {
        width: calc(100% - 28px);
    }

    .header-nav {
        font-size: 13px;
    }

    .meter-scene {
        max-width: 265px;
    }
}
