:root {
    --ink: #244d78;
    --ink-muted: #456987;
    --blue: #285ecb;
    --blue-hover: #1e4ba7;
    --teal: #147d91;
    --paper: #ffffff;
    --ice: #eef5fc;
    --ice-deep: #deebf7;
    --mist: #f6f9fd;
    --line: #cbdced;
    --line-deep: #9fb9d5;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink-muted);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
    outline: 3px solid #e29b30;
    outline-offset: 4px;
}

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

.reading-width {
    max-width: 980px;
}

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

h1,
h2,
h3 {
    color: var(--ink);
    letter-spacing: -0.035em;
    line-height: 1.18;
}

h1 {
    margin-bottom: 25px;
    font-size: 40px;
    font-weight: 790;
}

h2 {
    margin-bottom: 21px;
    font-size: 28px;
    font-weight: 750;
}

h3 {
    font-size: 19px;
    font-weight: 750;
    margin-bottom: 11px;
}

p {
    max-width: 90ch;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.72;
}

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

.header-strip {
    background: #dfeef8;
    border-bottom: 1px solid #d5e3f1;
    color: #426888;
    font-size: 12px;
    font-weight: 680;
    letter-spacing: .02em;
}

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

.strip-dot {
    padding: 0 8px;
}

.site-header {
    position: relative;
    z-index: 1;
    background: var(--paper);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-block: 19px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 550;
    white-space: nowrap;
    letter-spacing: -.035em;
}

.brand strong {
    color: var(--blue);
    font-weight: 820;
}

.brand-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 3px solid var(--blue);
    border-radius: 9px;
    transform: rotate(-9deg);
}

.brand-icon::before {
    position: absolute;
    content: "";
    inset: 6px;
    border: 2px solid var(--teal);
    border-radius: 50%;
}

.brand-icon span {
    position: relative;
    display: block;
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
}

.main-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 10px 15px;
    border-radius: 5px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 670;
    transition: color .15s ease, background-color .15s ease;
}

.main-nav a:hover {
    background: var(--ice);
    color: var(--blue);
}

.main-nav a:active {
    background: var(--ice-deep);
}

.main-nav a[aria-current="page"] {
    color: var(--blue);
    background: var(--ice);
    box-shadow: inset 0 -2px var(--blue);
}

.eyebrow,
.section-index {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 820;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow-mark {
    width: 7px;
    height: 7px;
    background: var(--teal);
    transform: rotate(45deg);
    flex: none;
}

.section-index {
    margin-bottom: 14px;
    color: var(--blue);
}

.section-heading {
    position: relative;
    padding-left: 20px;
    margin-bottom: 18px;
    border-left: 3px solid var(--blue);
}

.section-heading .section-index {
    margin-bottom: 8px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.intro p {
    max-width: 66ch;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 47px;
    padding: 11px 19px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 770;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

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

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

.btn-primary {
    color: var(--paper);
    background: var(--blue);
    border-color: var(--blue);
}

.btn-primary:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
}

.btn-secondary {
    color: var(--blue);
    background: var(--paper);
    border-color: var(--line-deep);
}

.btn-secondary:hover {
    color: var(--paper);
    background: var(--teal);
    border-color: var(--teal);
}

.cta-pair {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.cta-hero {
    margin-top: 27px;
}

.entry-service {
    padding: 51px 0 55px;
    background: linear-gradient(90deg, #f2f7fc 0%, #f2f7fc 72%, #e6f1f9 72%, #e6f1f9 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.entry-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(300px, .86fr);
    align-items: center;
    gap: clamp(32px, 6vw, 84px);
}

.entry-copy .eyebrow,
.repair-head .eyebrow,
.entry-offer .eyebrow {
    margin-bottom: 13px;
}

.entry-copy h1,
.repair-head h1 {
    margin-bottom: 23px;
}

.entry-copy .intro p {
    margin-bottom: 14px;
}

.instrument {
    overflow: hidden;
    align-self: center;
    border: 1px solid #a3c1db;
    border-radius: 6px;
    background: var(--paper);
    box-shadow: 9px 9px 0 #d4e5f2;
}

.instrument-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--line);
    color: #42698a;
    font-size: 10px;
    letter-spacing: .13em;
    font-weight: 780;
}

.live-dot {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: #22a5b3;
}

.machine-art {
    position: relative;
    width: 182px;
    height: 194px;
    margin: 26px auto 19px;
    border: 5px solid #a4c3df;
    border-radius: 13px;
    background: #eaf4fb;
    box-shadow: inset 0 0 0 3px #fafdff, 12px 14px 0 -8px #c7d9e9;
}

.machine-top {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 16px;
    border-bottom: 3px solid #b8d0e6;
}

.machine-top i {
    width: 8px;
    height: 8px;
    border: 2px solid #5e8eb4;
    border-radius: 50%;
}

.machine-top i:nth-child(2) {
    margin-left: auto;
    width: 22px;
    height: 22px;
    border: 4px solid var(--teal);
}

.machine-drum {
    position: relative;
    display: grid;
    place-items: center;
    width: 114px;
    height: 114px;
    margin: 14px auto;
    border: 8px solid var(--blue);
    border-radius: 50%;
    background: #c1e8f4;
    box-shadow: inset 0 0 0 5px #81c7d9;
}

.machine-drum::before,
.machine-drum::after {
    content: "";
    position: absolute;
    border: 2px solid #79b5cd;
    border-radius: 50%;
    transform: rotate(-30deg);
}

.machine-drum::before {
    inset: 16px 9px 25px 16px;
}

.machine-drum::after {
    inset: 28px 19px 14px 9px;
}

.machine-drum span {
    display: block;
    width: 35px;
    height: 35px;
    border: 2px solid #9cd2e2;
    border-radius: 50%;
}

.machine-seam {
    position: absolute;
    right: 8px;
    bottom: 12px;
    width: 5px;
    height: 5px;
    background: var(--teal);
    border-radius: 50%;
}

.instrument-data {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 24px 20px;
    background: #f2f8fc;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--ink-muted);
    font-size: 13px;
}

.instrument-label {
    font-size: 10px;
    font-weight: 830;
    letter-spacing: .16em;
    color: var(--teal);
}

.instrument-data strong {
    font-size: 28px;
    font-weight: 790;
    line-height: 1.3;
    color: var(--ink);
}

.instrument-foot {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 17px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    font-weight: 690;
    color: var(--ink);
}

.foot-cross {
    color: var(--teal);
    font-size: 20px;
    line-height: 1;
}

.instrument-foot > span:last-child {
    margin-left: auto;
    font-size: 10px;
    color: #6e8ead;
}

.section {
    padding: 49px 0 52px;
}

.section-white {
    background: var(--paper);
}

.section-blue {
    background: var(--ice);
    border-block: 1px solid #d7e6f3;
}

.section-soft {
    background: var(--mist);
    border-block: 1px solid #e4edf5;
}

.section p + p {
    margin-top: 14px;
}

.equipment-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 19px;
    margin-top: 23px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.equipment-line span {
    position: relative;
    padding-left: 13px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 680;
}

.equipment-line span::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 5px;
    height: 5px;
    border: 1.5px solid var(--teal);
    transform: rotate(45deg);
}

.text-with-note {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(230px, .8fr);
    gap: 34px;
    align-items: start;
}

.service-note {
    padding: 16px 18px 19px;
    background: var(--paper);
    border-top: 3px solid var(--teal);
    box-shadow: 0 1px 0 #cadae9;
}

.service-note .note-symbol {
    color: var(--teal);
    font-size: 29px;
    line-height: 1;
}

.service-note h3 {
    margin-top: 8px;
}

.service-note p {
    line-height: 1.6;
}

.action-rail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 27px;
    padding: 17px 20px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--teal);
    background: var(--mist);
}

.rail-text {
    display: flex;
    flex-direction: column;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.5;
}

.rail-text strong {
    font-size: 16px;
}

.action-rail .cta-pair {
    gap: 8px;
}

.action-rail .btn {
    min-height: 43px;
    padding: 9px 14px;
    font-size: 13px;
}

.closing-section {
    padding: 32px 0 34px;
    background: #dceaf8;
    border-top: 1px solid #b8cfe7;
}

.closing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
}

.closing-row .section-index {
    margin-bottom: 9px;
}

.closing-row h2 {
    margin-bottom: 8px;
}

.closing-row p {
    margin-bottom: 0;
}

.closing-row .cta-pair {
    flex: none;
}

.local-supplement {
    padding: 19px 0;
    border-top: 1px solid #e6edf5;
    background: var(--paper);
}

.local-supplement p {
    margin: 0;
    color: #6583a0;
    font-size: 14px;
    line-height: 1.6;
}

.entry-repairs {
    padding: 28px 0 38px;
    background: var(--mist);
    border-block: 1px solid var(--line);
}

.entry-identifier,
.offer-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 6px 0 13px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line-deep);
    font-size: 11px;
    font-weight: 820;
    color: #6e8baa;
    letter-spacing: .15em;
}

.repair-head {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(265px, .65fr);
    align-items: center;
    gap: clamp(26px, 7vw, 110px);
}

.fault-graphic {
    position: relative;
    padding: 25px 22px 16px;
    border: 1px solid #b8d0e8;
    background: #e5f0fb;
    overflow: hidden;
}

.fault-ring {
    position: relative;
    width: 154px;
    height: 154px;
    margin: 0 auto 24px;
    border: 12px solid #bad5ed;
    border-radius: 50%;
    background: #e9f5fa;
    box-shadow: 0 0 0 2px #7eabd0, inset 0 0 0 2px #6eadd2;
}

.fault-ring::before,
.fault-ring::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.fault-ring::before {
    inset: 19px;
    border: 4px solid #a5d4e8;
}

.fault-ring::after {
    inset: 45px;
    background: var(--blue);
}

.fault-ring i {
    position: absolute;
    top: -5px;
    left: calc(50% - 2px);
    width: 4px;
    height: 20px;
    background: var(--blue);
    z-index: 1;
}

.fault-ring span {
    position: absolute;
    bottom: 30px;
    left: 10px;
    width: 35px;
    height: 17px;
    border: 3px solid var(--teal);
    border-radius: 50%;
    transform: rotate(-25deg);
}

.fault-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid #b8cde3;
    font-size: 13px;
    line-height: 1.4;
}

.fault-label span {
    color: var(--teal);
    font-weight: 800;
}

.fault-label strong {
    color: var(--ink);
    font-weight: 680;
}

.closing-repairs {
    background: #e6f1fb;
}

.entry-offer {
    background: #e8f2fa;
    border-block: 1px solid var(--line);
    padding: 25px 0 42px;
}

.offer-top {
    max-width: 1160px;
}

.offer-topline {
    margin-bottom: 30px;
}

.entry-offer h1 {
    max-width: 800px;
}

.offer-intro {
    max-width: 850px;
}

.offer-intro p {
    max-width: 850px;
}

.offer-actions {
    margin-top: 28px;
}

.offer-actions .cta-hero {
    margin-top: 0;
}

.action-rail-offer {
    background: var(--paper);
}

.site-footer {
    padding: 31px 0 34px;
    background: #e9f2fa;
    border-top: 1px solid var(--line-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(180px, .9fr) minmax(125px, .5fr);
    align-items: start;
    gap: 22px 45px;
}

.brand-footer {
    font-size: 21px;
}

.brand-footer .brand-icon {
    transform: rotate(-9deg) scale(.88);
}

.footer-brand p {
    margin-top: 15px;
    max-width: 330px;
}

.footer-meta,
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 4px;
    color: var(--ink);
    font-size: 13px;
}

.footer-meta strong {
    margin-bottom: 7px;
    font-size: 14px;
}

.footer-nav a {
    display: block;
    width: fit-content;
    padding: 2px 0;
    font-weight: 670;
    transition: color .15s ease;
}

.footer-nav a:hover {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-nav .footer-privacy {
    margin-top: 9px;
    color: #748ba4;
    font-size: 11px;
    font-weight: 400;
}

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

    .entry-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(270px, .78fr);
        gap: 35px;
    }

    .text-with-note {
        grid-template-columns: minmax(0, 1.65fr) minmax(220px, .7fr);
        gap: 22px;
    }

    .closing-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-grid {
        gap: 26px;
    }
}

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

    .header-main {
        gap: 10px;
        flex-wrap: wrap;
        padding-block: 14px;
    }

    .main-nav {
        margin-left: auto;
    }

    .main-nav a {
        padding: 8px 10px;
        font-size: 13px;
    }

    .entry-service {
        padding: 35px 0 43px;
        background: #f2f7fc;
    }

    .entry-grid,
    .repair-head {
        grid-template-columns: 1fr;
    }

    .entry-grid {
        gap: 31px;
    }

    .instrument {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 510px;
        margin-inline: auto;
        box-shadow: 6px 6px 0 #d4e5f2;
    }

    .instrument-head,
    .instrument-foot {
        width: 100%;
    }

    .machine-art {
        margin: 23px auto 20px;
    }

    .instrument-data {
        padding: 18px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .repair-head {
        gap: 24px;
    }

    .fault-graphic {
        display: block;
        width: 100%;
        max-width: 550px;
    }

    .fault-ring {
        margin: 0 auto 23px;
    }

    .fault-label {
        min-width: 0;
    }

    .text-with-note {
        grid-template-columns: 1fr;
    }

    .service-note {
        max-width: 100%;
    }

    .section {
        padding: 40px 0 43px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, .75fr);
    }

    .footer-nav {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 9px 22px;
        border-top: 1px solid var(--line);
        padding-top: 14px;
    }

    .footer-nav .footer-privacy {
        margin-top: 0;
        margin-left: auto;
    }
}

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

    .strip-inner {
        justify-content: center;
        min-height: 28px;
        font-size: 10px;
    }

    .strip-inner > span:first-child {
        display: none;
    }

    .header-main {
        display: block;
        padding-block: 12px 8px;
    }

    .brand {
        font-size: 22px;
    }

    .brand-icon {
        width: 36px;
        height: 36px;
    }

    .main-nav {
        display: flex;
        justify-content: space-between;
        margin-top: 13px;
        border-top: 1px solid var(--line);
        padding-top: 7px;
        gap: 3px;
    }

    .main-nav a {
        padding: 8px;
        font-size: 12px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    .entry-service,
    .entry-repairs {
        padding-top: 29px;
    }

    .entry-offer {
        padding-top: 19px;
    }

    .entry-identifier,
    .offer-topline {
        gap: 8px;
        font-size: 10px;
        margin-bottom: 24px;
    }

    .cta-pair {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
        width: 100%;
    }

    .btn {
        width: 100%;
        min-height: 48px;
    }

    .instrument {
        max-width: 380px;
    }

    .machine-art {
        margin: 18px auto 14px;
    }

    .instrument-data {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .fault-graphic {
        padding-inline: 15px;
    }

    .fault-label {
        font-size: 12px;
    }

    .section {
        padding: 33px 0 36px;
    }

    .section-heading {
        padding-left: 13px;
    }

    .equipment-line {
        gap: 7px 15px;
    }

    .action-rail {
        padding: 15px;
        gap: 15px;
    }

    .action-rail .cta-pair {
        width: 100%;
    }

    .closing-section {
        padding: 27px 0 30px;
    }

    .closing-row {
        gap: 18px;
    }

    .closing-row .cta-pair {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-nav {
        grid-column: auto;
    }
}

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

    .btn,
    .main-nav a,
    .footer-nav a {
        transition: none;
    }
}
