:root {
    --violet: #775eaf;
    --violet-strong: #68509f;
    --violet-pale: #eeeafd;
    --violet-wash: #e4def8;
    --mint: #65c6b2;
    --mint-pale: #e5f8f2;
    --mint-line: #b6e2d5;
    --text: #556b88;
    --muted: #75869e;
    --white: #ffffff;
    --line: #cdd2e7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font-family: "Segoe UI", Arial, sans-serif; }
.site-width { width: min(1110px, calc(100% - 62px)); margin: 0 auto; }
.skip-access { position: absolute; z-index: 20; top: -80px; left: 20px; background: var(--violet); color: #fff; padding: 12px 20px; }
.skip-access:focus { top: 8px; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
h1, h2, h3 { margin: 0; letter-spacing: -.028em; line-height: 1.2; }
h1 { font-size: 40px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 800; margin-bottom: 23px; }
h3 { font-size: 23px; font-weight: 800; }
p { font-size: 16px; line-height: 1.76; margin: 0 0 18px; }

.masthead { background: #f3effe; border-bottom: 2px solid #d9d2f0; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; min-height: 90px; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 800; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; color: #5d5791; }
.wordmark strong { color: var(--violet); }
.mark-shape { display: block; position: relative; width: 41px; height: 41px; border: 3px solid var(--violet); border-radius: 8px; background: var(--mint-pale); }
.mark-shape:before { content: ""; position: absolute; width: 22px; height: 22px; left: 7px; top: 10px; border-radius: 50%; background: #b8f0e3; border: 5px solid var(--violet); }
.mark-shape:after { content: ""; position: absolute; left: 6px; right: 6px; top: 4px; height: 3px; background: var(--violet); border-radius: 2px; }
.mast-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 21px; }
.mast-nav > a { padding: 11px 0; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 700; text-decoration: none; }
.mast-nav > a:hover, .mast-nav > a[aria-current="page"] { color: var(--violet-strong); border-bottom-color: var(--violet); }
.mast-nav > .nav-button { background: var(--violet); color: #fff; padding: 12px 19px; border: 2px solid var(--violet); border-radius: 5px; }
.mast-nav > .nav-button:hover { background: #624993; border-color: #624993; }

.first-screen { background: linear-gradient(110deg, #e6e0f8 0%, #f3f0ff 68%, #e3f7f1 100%); padding: 54px 0 58px; border-bottom: 6px solid var(--mint); }
.top-code { display: flex; gap: 9px 22px; flex-wrap: wrap; color: #6a5a9f; font-size: 11px; font-weight: 900; letter-spacing: .13em; margin-bottom: 24px; }
.top-code span:first-child { padding-right: 21px; border-right: 2px solid var(--mint); }
.first-screen h1 { color: #5d4f94; margin-bottom: 24px; }
.introduction { max-width: 1010px; }
.introduction p { max-width: 940px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.first-screen .contact-buttons { margin-top: 30px; }
.btn { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; padding: 12px 23px; border-radius: 5px; border: 2px solid transparent; font-size: 15px; font-weight: 800; transition: background .16s, transform .16s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-tel { color: #fff; background: var(--violet); border-color: var(--violet); }
.btn-tel:hover { background: #604a99; border-color: #604a99; }
.btn-form { background: var(--mint); border-color: var(--mint); color: #315f6f; }
.btn-form:hover { background: #85dec9; border-color: #85dec9; }
.margin-label, .small-eyebrow { display: inline-block; color: var(--violet); font-size: 11px; font-weight: 900; letter-spacing: .14em; margin-bottom: 18px; }
.service-area { padding: 55px 0 54px; background: var(--mint-pale); }
.service-area h2 { color: #4c7890; }
.service-area p { max-width: 1000px; }
.service-area strong { color: #5265a0; }

.repair-topics { padding: 62px 0 65px; }
.repair-topics h2 { max-width: 950px; }
.control-slab { background: #7460ae; border: 1px solid #64529f; margin: 31px 0 34px; border-radius: 12px; min-height: 178px; padding: 27px 35px; display: flex; align-items: center; gap: 34px; }
.control-wheel { position: relative; flex: 0 0 118px; width: 118px; height: 118px; border: 14px solid #b9adf0; border-radius: 50%; background: #ebecff; box-shadow: inset 0 0 0 8px #8276bd; }
.control-wheel span { position: absolute; display: block; width: 10px; height: 29px; background: #58b7aa; left: 40px; top: 12px; border-radius: 9px; transform: rotate(26deg); transform-origin: center 35px; }
.control-bars { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 17px; }
.bar-line { display: flex; align-items: center; gap: 12px; }
.bar-line > span { display: block; width: 25%; height: 13px; border-radius: 3px; background: #b3a6ed; }
.bar-line i { display: block; flex: 1; height: 13px; border-radius: 3px; background: #a6f0dc; }
.bar-line i:nth-last-child(-n+2) { background: #d2cafa; }
.bar-line.second > span { width: 35%; background: #a6f0dc; }
.bar-line.second i:nth-child(-n+3) { background: #d2cafa; }
.bar-caption { display: flex; justify-content: space-between; gap: 10px; color: #e6e2fb; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.device-chapter { padding: 28px 0 27px; border-top: 2px solid var(--line); }
.last-chapter { border-bottom: 2px solid var(--line); }
.chapter-head { display: flex; align-items: center; gap: 14px; margin-bottom: 19px; }
.chapter-head h3 { color: #665ca0; }
.chapter-id { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--mint); color: #486785; font-size: 15px; font-weight: 900; }
.device-chapter p { max-width: 1000px; }
.device-chapter p:last-child { margin-bottom: 0; }
.diagnostic-band { background: #e7e1f6; padding: 57px 0 63px; }
.diagnostic-band h2 { color: #655b9d; }
.diagnostic-band p { max-width: 1020px; }
.diagnosis-amounts { display: flex; flex-wrap: wrap; gap: 14px 45px; border-top: 2px solid #c9bee8; padding-top: 23px; margin-top: 29px; }
.diagnosis-amounts > span { font-size: 14px; color: #6b6b97; }
.diagnosis-amounts strong { color: #4a6291; font-size: 18px; }
.finish-screen { padding: 57px 0 63px; background: #fff; }
.finish-screen p { max-width: 970px; }
.hours-rail { display: flex; flex-wrap: wrap; background: #c3dfdb; gap: 1px; padding: 1px; margin-top: 29px; }
.hours-rail > div { flex: 1 1 210px; display: flex; flex-direction: column; gap: 8px; background: #f0fbf7; padding: 20px 22px; }
.hours-rail span { color: #6e8998; font-size: 13px; }
.hours-rail strong { color: var(--violet); font-size: 19px; }
.final-call { margin-top: 34px; padding-top: 24px; border-top: 2px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px 25px; flex-wrap: wrap; }
.final-call > span { font-weight: 800; font-size: 15px; color: #6976a8; }
.site-foot { background: #dad4f2; border-top: 1px solid #c9bfe8; }
.footer-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 93px; gap: 15px 25px; font-size: 13px; font-weight: 800; }
.footer-content nav { display: flex; gap: 21px; align-items: center; flex-wrap: wrap; }
.footer-content a { text-decoration: none; }
.footer-content a:hover { text-decoration: underline; }
.footer-content .subtle { color: #7e80a6; font-size: 11px; font-weight: 400; }

.inner-intro { padding: 58px 0 52px; }
.inner-intro h1 { color: #65549d; margin-bottom: 24px; }
.inner-intro p { max-width: 980px; }
.inner-intro .contact-buttons { margin-top: 28px; }
.symptom-intro { background: #e6f7f2; border-bottom: 5px solid var(--violet); }
.symptom-block { padding: 50px 0; border-bottom: 1px solid #d9ddef; background: #fff; }
.symptom-block.cool-block { background: #f4f0fd; }
.symptom-title { margin-bottom: 25px; }
.symptom-title > span { font-size: 11px; color: var(--violet); font-weight: 900; letter-spacing: .12em; }
.symptom-title h2 { margin-top: 12px; max-width: 1020px; }
.symptom-block p { max-width: 1020px; }
.home-contact { padding: 58px 0 64px; background: #e4def8; }
.home-contact p { max-width: 1020px; }
.home-contact .final-call { border-top-color: #c9bce8; }

.service-intro { background: #eeeafd; border-bottom: 5px solid var(--mint); }
.service-tokens { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.service-tokens span { border: 1px solid #a9dbd0; color: #548e8b; background: #e4f8f0; padding: 10px 17px; font-size: 12px; font-weight: 900; }
.service-procedure { padding: 59px 0 63px; background: #fff; }
.procedure-point { display: grid; grid-template-columns: 51px minmax(0, 1fr); gap: 20px; padding: 25px 0; border-top: 2px solid #d6dbea; }
.procedure-point.last-point { border-bottom: 2px solid #d6dbea; }
.procedure-index { font-weight: 900; color: #5f60a3; font-size: 24px; padding-top: 2px; }
.procedure-point h3 { margin-bottom: 12px; color: #64609e; }
.procedure-point p { max-width: 1020px; margin-bottom: 0; }
.service-terms { padding: 55px 0 60px; background: #e6f7f2; }
.service-terms p { max-width: 1030px; }
.service-amounts { display: flex; flex-wrap: wrap; gap: 15px 30px; border-top: 2px solid #b6e0d5; padding-top: 23px; margin-top: 28px; }
.service-amounts span { font-size: 14px; }
.service-amounts strong { color: #665aa1; }
.service-finish { padding: 57px 0 64px; background: #fff; }
.service-finish p { max-width: 1000px; }
.service-end-line { padding: 25px 24px; margin-top: 27px; border-left: 6px solid var(--violet); background: #e9e5f7; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.service-end-line > span { font-size: 13px; font-weight: 800; color: #7171a8; }

@media (max-width: 900px) {
    .site-width { width: min(100% - 44px, 1110px); }
    .masthead-inner { flex-direction: column; align-items: flex-start; padding: 18px 0; gap: 12px; }
    .final-call { align-items: flex-start; flex-direction: column; }
    .service-end-line { align-items: flex-start; }
}

@media (max-width: 580px) {
    .site-width { width: calc(100% - 34px); }
    h1 { font-size: 40px; }
    h2 { font-size: 28px; }
    p { font-size: 16px; }
    .mast-nav { gap: 6px 17px; }
    .mast-nav > a { font-size: 13px; }
    .first-screen { padding: 44px 0 48px; }
    .contact-buttons { display: grid; grid-template-columns: 1fr; width: 100%; }
    .btn { width: 100%; }
    .control-slab { padding: 19px; gap: 15px; min-height: 131px; }
    .control-wheel { width: 76px; height: 76px; flex-basis: 76px; border-width: 10px; box-shadow: inset 0 0 0 5px #8276bd; }
    .control-wheel span { left: 22px; top: 6px; width: 8px; height: 20px; }
    .bar-line { gap: 4px; }
    .bar-line > span, .bar-line i { height: 9px; }
    .control-bars { gap: 11px; }
    .bar-caption { font-size: 8px; letter-spacing: 0; }
    .hours-rail > div { flex: 1 1 100%; flex-direction: row; justify-content: space-between; align-items: center; }
    .service-end-line { padding: 20px; }
    .service-end-line .contact-buttons { width: 100%; }
    .footer-content { padding: 24px 0; }
}
