:root {
    --violet: #5e59ae;
    --violet-hover: #7970c7;
    --orchid: #b65a95;
    --rose: #e5778b;
    --lime: #d5ed99;
    --ink: #4c557f;
    --soft: #73799d;
    --paper: #f7f6ff;
    --lavender: #e9e7fb;
    --white: #ffffff;
    --rule: #cdc9e9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.65; }
p { margin: 0 0 15px; font-size: 16px; }
h1 { margin: 0 0 25px; font-size: 40px; line-height: 1.18; letter-spacing: -.038em; font-weight: 800; }
h2 { margin: 0 0 18px; font-size: 28px; line-height: 1.26; letter-spacing: -.025em; font-weight: 780; }
h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.33; font-weight: 770; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--orchid); }
a:focus-visible { outline: 3px solid var(--orchid); outline-offset: 4px; }
.frame { width: min(1160px, calc(100% - 70px)); margin: 0 auto; }
.skip { position: absolute; transform: translateY(-150%); background: var(--white); z-index: 50; padding: 12px 18px; }
.skip:focus { transform: translateY(0); }

.site-header { background: var(--white); border-bottom: 3px solid var(--rose); }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.logo { color: var(--violet); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 850; letter-spacing: -.04em; white-space: nowrap; }
.logo:hover { color: var(--violet); }
.logo-sign { display: block; position: relative; width: 42px; height: 42px; border: 4px solid var(--violet); border-radius: 6px; }
.logo-sign::before { content: ""; position: absolute; left: 7px; top: 10px; width: 17px; height: 17px; border-radius: 50%; border: 4px solid var(--rose); }
.logo-sign::after { content: ""; position: absolute; top: 4px; right: 5px; background: var(--violet); border-radius: 50%; width: 5px; height: 5px; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.primary-nav a { padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 740; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--violet); border-bottom-color: var(--rose); }
.status-line { background: var(--violet); color: var(--white); }
.status-line .frame { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 3px 25px; padding: 8px 0; font-size: 13px; font-weight: 690; }

.opening { padding: 46px 0 43px; background: var(--lavender); border-bottom: 1px solid var(--rule); }
.opening .top-notation { display: flex; align-items: center; gap: 13px; text-transform: uppercase; font-size: 12px; letter-spacing: .14em; font-weight: 820; color: var(--violet); margin-bottom: 17px; }
.top-notation::before { content: ""; display: inline-block; width: 42px; height: 5px; background: var(--rose); }
.opening-body { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 36px; align-items: center; }
.opening-description { min-width: 0; }
.opening-description > p:first-child { font-size: 18px; line-height: 1.57; font-weight: 620; }
.opening-description > p:last-of-type { margin-bottom: 0; }
.cta-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin-top: 24px; }
.cta-row--reverse { flex-direction: row-reverse; justify-content: flex-end; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 21px; font-size: 15px; font-weight: 790; text-align: center; border: 2px solid var(--violet); border-radius: 2px; text-decoration: none; transition: background-color .15s, color .15s; }
.cta--phone { background: var(--violet); color: var(--white); }
.cta--phone:hover { background: var(--violet-hover); border-color: var(--violet-hover); color: var(--white); }
.cta--form { background: var(--white); color: var(--violet); }
.cta--form:hover { background: var(--lime); color: var(--violet); }

.diagram { background: var(--paper); border: 2px solid #bfb8e3; padding: 17px 16px 12px; position: relative; }
.diagram::after { content: ""; position: absolute; left: -9px; bottom: 19px; height: 38px; width: 9px; background: var(--rose); }
.diagram-kicker { display: block; font-size: 12px; font-weight: 860; letter-spacing: .12em; color: var(--violet); margin: 0 0 12px; text-align: center; }
.drawing { display: grid; place-items: center; min-height: 245px; }
.appliance { width: 193px; height: 223px; position: relative; background: var(--white); border: 6px solid var(--violet); border-radius: 8px; box-shadow: 12px 12px 0 #d2ceee; }
.appliance::before { content: ""; position: absolute; left: 0; right: 0; top: 39px; border-top: 5px solid var(--violet); }
.appliance::after { content: ""; position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; border-radius: 50%; border: 4px solid var(--rose); }
.appliance-display { width: 55px; height: 9px; background: var(--lime); border: 2px solid var(--violet); position: absolute; top: 16px; left: 13px; }
.appliance-core { position: absolute; top: 61px; bottom: 18px; left: 23px; right: 23px; background: #c5c5ec; border: 10px solid var(--violet); border-radius: 50%; overflow: hidden; }
.appliance-core::before { content: ""; position: absolute; left: -30px; top: 53px; width: 162px; height: 110px; background: #8f87d3; transform: rotate(-24deg); border-radius: 50%; }
.appliance-core::after { content: ""; position: absolute; top: 17px; left: 20px; width: 52px; height: 20px; border-top: 6px solid var(--white); border-radius: 50%; transform: rotate(29deg); }
.appliance--dish .appliance-core { left: 14px; right: 14px; top: 58px; bottom: 12px; border: 4px solid var(--violet); border-radius: 3px; background: #eae9fa; }
.appliance--dish .appliance-core::before { top: 23px; left: 16px; height: 61px; width: 98px; border: 7px solid var(--rose); border-radius: 50% 50% 10px 10px; transform: none; background: none; }
.appliance--dish .appliance-core::after { top: 104px; left: 8px; width: 119px; height: 0; border-top: 6px solid var(--violet); border-radius: 0; transform: none; }
.appliance--fridge { width: 160px; height: 244px; }
.appliance--fridge::before { top: 109px; }
.appliance--fridge::after { display: none; }
.appliance--fridge .appliance-display { width: 7px; height: 56px; top: 28px; left: 17px; border: 0; border-radius: 3px; background: var(--rose); }
.appliance--fridge .appliance-core { width: 7px; height: 57px; border: 0; border-radius: 3px; background: var(--rose); top: 138px; left: 17px; right: auto; bottom: auto; }
.appliance--fridge .appliance-core::before, .appliance--fridge .appliance-core::after { display: none; }
.appliance--oven .appliance-core { left: 15px; right: 15px; top: 65px; bottom: 18px; border: 7px solid var(--violet); border-radius: 3px; background: #ddc9e8; }
.appliance--oven .appliance-core::before { background: var(--rose); left: 8px; top: 64px; width: 126px; height: 32px; border-radius: 2px; transform: none; }
.appliance--oven .appliance-core::after { left: 8px; top: 92px; width: 126px; height: 6px; background: var(--violet); border: 0; border-radius: 0; transform: none; }
.appliance--repair .appliance-core { background: #d5eddd; }
.appliance--repair .appliance-core::before { left: 24px; top: 45px; width: 72px; height: 15px; background: var(--rose); border-radius: 7px; transform: rotate(50deg); }
.appliance--repair .appliance-core::after { left: 29px; top: 18px; width: 36px; height: 36px; border: 10px solid var(--violet); border-bottom-color: transparent; border-radius: 45%; transform: rotate(-20deg); }
.appliance--dryer .appliance-core::before { left: -9px; top: 24px; width: 113px; height: 114px; background: #9e9bd9; border-radius: 50%; transform: rotate(31deg); }
.appliance--dryer .appliance-core::after { left: 24px; top: 16px; width: 52px; height: 56px; border: 8px solid var(--rose); border-radius: 50%; transform: rotate(24deg); }
.diagram-caption { display: block; font-size: 11px; font-weight: 850; letter-spacing: .14em; color: var(--orchid); border-top: 1px solid var(--rule); padding: 12px 0 0; margin: 11px 0 0; text-align: center; }

.local-band { padding: 27px 0 30px; background: var(--white); border-bottom: 1px solid var(--rule); }
.local-band h2 { margin-bottom: 10px; }
.local-band p { margin-bottom: 9px; }
.local-badges { display: flex; align-items: center; gap: 4px 24px; flex-wrap: wrap; padding: 5px 0 9px; }
.local-badges strong { font-size: 16px; padding: 7px 0; border-bottom: 3px solid var(--rose); }
.local-band--final { border-top: 1px solid var(--rule); background: var(--paper); }
.chapter { padding: 41px 0 42px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.chapter--white { background: var(--white); }
.chapter--lilac { background: #eeeafb; }
.chapter-heading { display: flex; gap: 17px; align-items: baseline; margin-bottom: 15px; }
.chapter-no { color: var(--orchid); font-size: 16px; font-weight: 870; letter-spacing: .09em; }
.chapter-heading h2 { margin: 0; }
.copy { max-width: 1000px; }
.copy p:last-child { margin-bottom: 0; }
.side-by-side { display: grid; grid-template-columns: minmax(0, 1fr) 294px; gap: 37px; align-items: start; }
.note-ticket { padding: 23px 24px 24px; background: var(--white); border-top: 6px solid var(--rose); border-bottom: 6px solid var(--lime); box-shadow: 7px 7px 0 #d9d4f0; }
.note-ticket h3 { color: var(--violet); }
.note-ticket p:last-child { margin-bottom: 0; }
.note-ticket dt, .note-ticket dd { display: inline; margin: 0; font-size: 15px; }
.note-ticket dt { font-weight: 800; }
.note-ticket dd::after { content: ""; display: block; height: 6px; }
.note-ticket dd:last-child::after { display: none; }
.detail-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--rule); max-width: 1000px; counter-reset: sequence; }
.detail-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.detail-list li::before { content: counter(sequence, decimal-leading-zero); counter-increment: sequence; color: var(--orchid); font-size: 23px; font-weight: 860; }
.detail-list p { margin: 0; }
.feature-line { border-left: 5px solid var(--rose); padding-left: 20px; max-width: 1000px; }
.feature-line p:last-child { margin-bottom: 0; }

.call-band { padding: 32px 0; background: var(--violet); color: var(--white); }
.call-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 30px; }
.call-content h2 { color: var(--white); margin: 0; max-width: 590px; }
.call-band .cta-row { margin: 0; }
.call-band .cta--phone { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.call-band .cta--phone:hover { background: var(--white); border-color: var(--white); }
.call-band .cta--form { border-color: var(--white); }
.site-footer { padding: 27px 0 30px; background: var(--lavender); }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px 25px; }
.footer-brand { margin: 0; font-weight: 830; color: var(--violet); font-size: 17px; }
.footer-content p:not(.footer-brand) { color: var(--soft); font-size: 14px; margin: 2px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 9px 20px; }
.footer-nav a { text-decoration: none; font-size: 14px; font-weight: 690; }
.footer-nav a:last-child { color: var(--soft); font-weight: 500; }

@media (max-width: 1000px) {
    .opening-body { grid-template-columns: minmax(0, 1fr) 241px; gap: 25px; }
    .diagram { padding: 13px 10px; }
    .drawing { transform: scale(.84); margin: -20px 0; }
    .header-content { flex-wrap: wrap; gap: 8px 20px; }
    .primary-nav { gap: 9px 24px; }
}
@media (max-width: 760px) {
    .frame { width: calc(100% - 40px); }
    .header-content { display: block; padding: 13px 0; }
    .primary-nav { justify-content: flex-start; margin-top: 8px; }
    .opening { padding: 34px 0 32px; }
    .opening-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .diagram { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 20px; padding: 14px; }
    .diagram-kicker { flex: 1 1 160px; margin: 0; text-align: left; max-width: 240px; }
    .drawing { width: 175px; min-height: 175px; transform: scale(.66); margin: -35px -14px; }
    .diagram-caption { display: none; }
    .side-by-side { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .note-ticket { max-width: none; }
    .chapter { padding: 35px 0; }
}
@media (max-width: 480px) {
    .frame { width: calc(100% - 32px); }
    .logo { font-size: 20px; }
    .primary-nav a { font-size: 14px; }
    .status-line .frame { font-size: 12px; }
    h1 { overflow-wrap: anywhere; }
    .opening-description > p:first-child { font-size: 17px; }
    .cta-row, .cta-row--reverse { flex-direction: column; align-items: stretch; }
    .cta { width: 100%; }
    .diagram-kicker { flex-basis: 113px; max-width: 142px; font-size: 11px; }
    .drawing { width: 142px; transform: scale(.59); margin: -42px -25px; }
    .chapter-heading { gap: 10px; align-items: flex-start; }
    .chapter-heading h2 { overflow-wrap: anywhere; }
    .detail-list li { grid-template-columns: 37px minmax(0, 1fr); gap: 7px; }
    .detail-list li::before { font-size: 20px; }
    .call-content { display: block; }
    .call-content .cta-row { margin-top: 19px; }
}
