:root {
    --text: #405479;
    --blue: #5369b0;
    --blue-strong: #455a9f;
    --aqua: #2791a0;
    --lime: #c4e46b;
    --surface: #f2f5ff;
    --surface-alt: #e8eefb;
    --border: #c6d3ef;
    --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--text); font-family: Arial, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.7; }
a { color: var(--blue-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #187c91; }
a:focus-visible { outline: 3px solid #e17669; outline-offset: 4px; }
.wrap { width: min(1100px, calc(100% - 56px)); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.masthead { min-height: 97px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--text); text-decoration: none; white-space: nowrap; }
.symbol { position: relative; flex: none; width: 41px; height: 39px; border: 4px solid var(--blue); border-radius: 5px; background: #fff; }
.symbol::before { content: ""; position: absolute; width: 20px; height: 20px; top: 10px; left: 7px; border: 4px solid var(--aqua); border-radius: 50%; }
.symbol::after { content: ""; position: absolute; width: 5px; height: 5px; top: 3px; right: 5px; border-radius: 50%; background: var(--blue); }
.main-nav { display: flex; gap: 11px 28px; align-items: center; flex-wrap: wrap; }
.main-nav a { font-size: 15px; font-weight: 700; text-decoration: none; }
.main-nav a[aria-current="page"] { color: #198a97; }
.hero { padding: 63px 0 58px; background: linear-gradient(170deg, #fff 30%, var(--surface) 100%); border-bottom: 5px solid var(--lime); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 325px; gap: 52px; align-items: center; }
.kicker { display: block; margin-bottom: 16px; color: var(--aqua); font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.2; letter-spacing: -.035em; }
h1 { font-size: 40px; font-weight: 800; margin-bottom: 23px; }
h2 { font-size: 28px; font-weight: 800; margin-bottom: 24px; }
h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
p { font-size: 16px; max-width: 80ch; margin-bottom: 17px; }
p:last-child { margin-bottom: 0; }
.intro { font-size: 17px; font-weight: 500; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.action { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 10px 19px; border: 2px solid var(--blue-strong); border-radius: 2px; background: var(--blue-strong); color: #fff; font-size: 15px; font-weight: 800; line-height: 1.3; text-decoration: none; text-align: center; transition: background .18s ease, transform .18s ease; }
.action:hover { transform: translateY(-2px); color: #fff; background: #354987; border-color: #354987; }
.action--line { color: var(--blue-strong); background: transparent; }
.action--line:hover { color: var(--text); background: var(--surface-alt); border-color: var(--blue-strong); }
.action--aqua { background: var(--aqua); border-color: var(--aqua); }
.action--aqua:hover { background: #1b7584; border-color: #1b7584; }
.workbench { padding: 16px; border: 1px solid var(--border); background: #e5edf9; }
.workbench-caption { padding: 14px 5px 1px; border-top: 1px solid #bdcce9; }
.workbench-caption strong, .workbench-caption span { display: block; }
.workbench-caption strong { font-size: 15px; line-height: 1.4; }
.workbench-caption span { font-size: 13px; color: #617395; }
.diagram { display: flex; align-items: center; justify-content: center; position: relative; height: 245px; overflow: hidden; }
.diagram::after { content: ""; position: absolute; width: 84%; height: 9px; bottom: 14px; border-radius: 50%; background: #c2cfe7; }
.appliance { display: block; position: relative; z-index: 1; width: 164px; height: 212px; border: 7px solid var(--blue); border-radius: 7px; background: white; box-shadow: 9px 8px 0 #b9c5e6; }
.appliance::before, .appliance::after, .appliance i::before, .appliance i::after { content: ""; display: block; position: absolute; }
.appliance--washer::before { left: 7px; right: 7px; top: 8px; height: 29px; border-bottom: 3px solid #c9d5ee; background: radial-gradient(circle at 20px 12px, var(--aqua) 0 6px, transparent 7px); }
.appliance--washer::after { top: 53px; left: 20px; width: 109px; height: 109px; border: 11px solid var(--blue); border-radius: 50%; background: radial-gradient(circle at 65% 37%, #c2e7f2 0 22%, #75b6cd 23% 51%, #d8f0f6 52%); }
.appliance--fridge { height: 225px; width: 148px; }
.appliance--fridge::before { top: 80px; left: 0; right: 0; height: 7px; background: #bdcdeb; }
.appliance--fridge::after { top: 20px; right: 15px; width: 7px; height: 43px; border-radius: 4px; background: var(--aqua); box-shadow: 0 104px 0 var(--aqua); }
.appliance--dishwasher::before { top: 9px; left: 8px; right: 8px; height: 27px; background: radial-gradient(circle at 15px 13px, var(--aqua) 0 6px, transparent 7px); border-bottom: 3px solid #c9d5ee; }
.appliance--dishwasher::after { left: 14px; right: 14px; top: 52px; height: 112px; border: 5px solid var(--blue); background: repeating-linear-gradient(90deg, #e9f2fb 0 15px, #9bc8da 16px 19px); }
.appliance--dishwasher i::before { top: 105px; left: 16px; width: 117px; height: 5px; background: var(--blue); z-index: 1; }
.appliance--oven::before { top: 10px; left: 10px; right: 10px; height: 29px; border-bottom: 2px solid #c9d5ee; background: radial-gradient(circle, var(--aqua) 0 5px, transparent 6px) left / 29px 25px repeat-x; }
.appliance--oven::after { left: 15px; right: 15px; top: 57px; height: 110px; border: 8px solid var(--blue); background: linear-gradient(128deg, #daebf9 0 45%, #98bddf 46% 65%, #d8f5f6 66%); }
.appliance--oven i::before { left: 35px; top: 68px; width: 81px; height: 6px; z-index: 1; background: var(--aqua); }
.zone { padding: 22px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.zone-heading { margin-bottom: 6px; font-size: 16px; font-weight: 800; color: var(--blue); }
.zone p { max-width: none; font-size: 16px; }
.zone strong, .more-places strong { font-weight: 800; }
.chapter { padding: 61px 0; }
.chapter--soft { background: #f8faff; }
.chapter--blue { background: #edf2fc; }
.chapter-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--aqua); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.chapter-label::before { content: ""; width: 22px; height: 4px; background: var(--lime); }
.copy { max-width: 860px; }
.issues { margin: 26px 0 0; padding: 0; max-width: 950px; border-top: 1px solid var(--border); }
.issue { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 22px; border-bottom: 1px solid var(--border); padding: 21px 0; }
.issue dt { font-size: 18px; line-height: 1.4; font-weight: 800; }
.issue dd { margin: 0; font-size: 16px; }
.side-by-side { display: grid; grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr); align-items: start; gap: 46px; }
.service-ticket { padding: 23px; background: var(--surface-alt); border-top: 5px solid var(--lime); }
.service-ticket p { font-size: 16px; }
.service-ticket .actions { display: flex; flex-direction: column; margin-top: 21px; }
.service-ticket .action { width: 100%; }
.signal { padding: 25px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #eaf1fc; }
.signal p { max-width: none; }
.end-actions { padding-top: 23px; border-top: 1px solid var(--border); margin-top: 27px; }
.more-places { border-top: 1px solid var(--border); padding: 25px 0; }
.more-places p { font-size: 16px; max-width: none; }
.site-footer { background: #5066a6; padding: 35px 0 27px; color: #fff; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.footer-title { font-size: 18px; font-weight: 800; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 13px 25px; }
.footer-nav a { color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.footer-nav a:hover { color: #d9f8ca; }
.privacy { margin-top: 19px; font-size: 12px; opacity: .85; }
.privacy a { color: #fff; }

@media (max-width: 1040px) {
    .hero-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
    .side-by-side { grid-template-columns: minmax(0, 1fr); gap: 23px; }
    .service-ticket .actions { flex-direction: row; }
    .service-ticket .action { width: auto; }
}

@media (max-width: 760px) {
    .wrap { width: min(620px, calc(100% - 40px)); }
    .masthead { padding: 17px 0; min-height: 0; flex-direction: column; align-items: flex-start; gap: 17px; }
    .hero { padding: 43px 0 40px; }
    .hero-layout { display: block; }
    .workbench { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
    .diagram { flex: 0 0 145px; height: 168px; }
    .diagram .appliance { transform: scale(.67); }
    .workbench-caption { flex: 1; border-top: 0; padding-top: 0; }
    .chapter { padding: 44px 0; }
    .issue { grid-template-columns: 185px minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 520px) {
    .wrap { width: calc(100% - 32px); }
    h1 { font-size: 40px; }
    h2 { font-size: 28px; }
    .main-nav { gap: 10px 20px; }
    .actions { flex-direction: column; align-items: stretch; }
    .issue { display: block; }
    .issue dt { margin-bottom: 8px; }
    .workbench { padding: 11px; gap: 6px; }
    .diagram { flex-basis: 126px; }
    .workbench-caption strong { font-size: 14px; }
    .workbench-caption span { font-size: 12px; }
    .service-ticket .actions { flex-direction: column; }
    .service-ticket .action { width: 100%; }
    .footer-row { display: block; }
    .footer-nav { margin-top: 19px; }
}
