:root {
    --bg: #e7f4f3;
    --bg2: #d6e9e8;
    --paper: #ffffff;
    --paper2: #edf7f6;
    --ink: #17333a;
    --muted: #557078;
    --muted2: #78939a;
    --deep: #174a55;
    --deep2: #0f3942;
    --deep3: #d8eef0;
    --mint: #bce8df;
    --mint2: #86cfc1;
    --rasp: #c73558;
    --rasp2: #982642;
    --accent: #d9e8ff;
    --line: #b4ced0;
    --line2: #85a9ad;
    --shadow: 0 18px 46px rgba(23, 74, 85, .13);
    --shadow2: 0 10px 26px rgba(23, 74, 85, .08);
    --max: 1200px;
    --r: 18px;
    --r2: 34px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(900px 560px at 12% 8%, rgba(188, 232, 223, .62), transparent 62%),
        radial-gradient(760px 520px at 88% 18%, rgba(199, 53, 88, .13), transparent 58%),
        linear-gradient(180deg, var(--bg), var(--bg2));
    overflow-x: hidden;
}

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

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--rasp);
    outline-offset: 3px;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

p {
    font-size: 16px;
}

h1 {
    margin: 22px 0 0;
    font-size: 40px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.45px;
}

h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 900;
}

h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
}

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(231, 244, 243, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.top__in {
    display: grid;
    grid-template-columns: 280px 1fr 180px;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--deep);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(23, 74, 85, .18);
    position: relative;
    overflow: hidden;
}

.brand__mark::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 8px;
    background: var(--mint2);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand__main {
    font-size: 15px;
    font-weight: 900;
}

.brand__sub {
    margin-top: 5px;
    color: var(--muted2);
    font-size: 11px;
    font-weight: 800;
}

.nav {
    justify-self: center;
    display: flex;
    gap: 8px;
}

.nav a {
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.nav a:hover,
.nav a:active {
    background: var(--deep3);
    border-color: var(--line);
    color: var(--ink);
}

.call {
    padding: 12px 17px;
    border-radius: 999px;
    background: var(--rasp);
    color: #fff;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 14px 30px rgba(199, 53, 88, .20);
}

.call:hover,
.call:active {
    background: var(--rasp2);
}

.hero {
    padding: 44px 0 20px;
}

.hero__box {
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    box-shadow: var(--shadow);
}

.hero__top {
    display: grid;
    grid-template-columns: 1fr 340px;
    border-bottom: 1px solid var(--line);
}

.hero__copy {
    padding: 34px;
}

.label {
    display: inline-flex;
    width: max-content;
    align-items: center;
    background: var(--deep3);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.72;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 900;
}

.btn--main {
    background: var(--rasp);
    color: #fff;
    box-shadow: 0 14px 30px rgba(199, 53, 88, .20);
}

.btn--main:hover,
.btn--main:active {
    background: var(--rasp2);
}

.btn--soft {
    background: var(--paper2);
    border-color: var(--line);
    color: var(--ink);
}

.btn--soft:hover,
.btn--soft:active {
    background: var(--deep3);
}

.hero__panel {
    padding: 28px;
    background: var(--deep);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero__panelK {
    color: #cfe3e6;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.hero__panelV {
    font-size: 26px;
    line-height: 1.35;
    font-weight: 900;
    color: var(--mint);
}

.hero__panelT {
    color: #e0eff1;
    font-size: 16px;
    line-height: 1.65;
}

.hero__bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.meter {
    min-height: 90px;
    padding: 16px;
    border-right: 1px solid var(--line);
    background: var(--paper2);
}

.meter:last-child {
    border-right: 0;
}

.meter--link:hover,
.meter--link:active {
    background: var(--deep3);
}

.meter__k {
    color: var(--muted2);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.meter__v {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 900;
}

.service-register {
    padding: 18px 0 28px;
}

.register {
    display: grid;
    grid-template-columns: 340px 1fr;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    box-shadow: var(--shadow2);
}

.register__intro {
    padding: 28px;
    background: var(--accent);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
}

.register__eyebrow {
    color: #3e5b77;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.register__intro p {
    margin: 14px 0 0;
    color: #49677f;
    line-height: 1.68;
}

.register__list {
    display: grid;
}

.device-row {
    display: grid;
    grid-template-columns: 170px 1fr 130px;
    align-items: center;
    min-height: 86px;
    border-bottom: 1px solid var(--line);
}

.device-row:last-child {
    border-bottom: 0;
}

.device-row__name {
    padding: 20px 22px;
    font-weight: 900;
}

.device-row__desc {
    padding: 20px 22px;
    border-left: 1px solid var(--line);
    color: var(--muted);
    font-size: 15px;
    line-height: 1.58;
}

.device-row__state {
    height: 100%;
    display: grid;
    place-items: center;
    border-left: 1px solid var(--line);
    background: var(--paper2);
    color: var(--muted2);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
}

a.device-row:hover,
a.device-row:active {
    background: #f7fbfb;
}

a.device-row:hover .device-row__state,
a.device-row:active .device-row__state {
    background: var(--mint);
    color: var(--deep2);
}

.diagnostic-band {
    padding: 0 0 28px;
}

.diagnostic-band__box {
    overflow: hidden;
    background: var(--deep);
    border-radius: var(--r2);
    box-shadow: var(--shadow);
    color: #fff;
}

.diagnostic-band__head {
    display: grid;
    grid-template-columns: 310px 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.diagnostic-band__title {
    padding: 26px;
    background: var(--rasp);
}

.diagnostic-band__title h2 {
    color: #fff;
}

.diagnostic-band__copy {
    padding: 26px;
    color: #e0eff1;
    line-height: 1.7;
}

.diagnostic-band__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.signal {
    min-height: 200px;
    padding: 22px;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.signal:last-child {
    border-right: 0;
}

.signal__no {
    color: var(--mint);
    font-size: 13px;
    font-weight: 900;
}

.signal h3 {
    margin-top: 22px;
    color: #fff;
}

.signal p {
    margin: 10px 0 0;
    color: #d5e8ea;
    line-height: 1.62;
}

.visit-ledger {
    padding: 0 0 30px;
}

.visit-ledger__grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    box-shadow: var(--shadow2);
}

.visit-ledger__side {
    padding: 26px;
    background: var(--mint);
}

.visit-ledger__side p {
    margin: 14px 0 0;
    color: #315b54;
    line-height: 1.65;
}

.visit-ledger__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.visit-step {
    padding: 24px;
    border-right: 1px solid var(--line);
}

.visit-step:last-child {
    border-right: 0;
}

.visit-step__n {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--deep);
    color: #fff;
    font-weight: 900;
}

.visit-step h3 {
    margin-top: 18px;
}

.visit-step p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.62;
}

.local {
    padding: 0 0 30px;
}

.local__grid {
    display: grid;
    grid-template-columns: 1fr 280px 1fr;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    box-shadow: var(--shadow2);
}

.local__cell {
    padding: 24px;
    border-right: 1px solid var(--line);
}

.local__cell:last-child {
    border-right: 0;
}

.local__center {
    background: var(--mint);
    text-align: center;
}

.local__k {
    color: var(--muted2);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.local__v {
    margin-top: 12px;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 900;
}

.local__txt {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.62;
}

.contact {
    padding: 0 0 42px;
}

.contact__box {
    display: grid;
    grid-template-columns: 1fr 320px;
    overflow: hidden;
    background: var(--deep);
    color: #fff;
    border-radius: var(--r2);
    box-shadow: var(--shadow);
}

.contact__main {
    padding: 26px;
}

.contact__title {
    color: #fff;
}

.contact__txt {
    margin: 10px 0 0;
    color: #e0eff1;
    line-height: 1.65;
}

.contact__side {
    display: grid;
}

.contact__side a {
    display: grid;
    place-items: center;
    min-height: 66px;
    padding: 18px;
    background: var(--rasp);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.contact__side a + a {
    background: var(--mint);
    color: var(--deep2);
}

.contact__side a:hover,
.contact__side a:active {
    filter: brightness(.96);
}

.content-reserve {
    padding: 0 0 34px;
}

.content-reserve p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.device-page {
    padding: 44px 0 20px;
}

.device-page__box {
    display: grid;
    grid-template-columns: 1fr 340px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    box-shadow: var(--shadow);
}

.device-page__copy {
    padding: 34px;
}

.device-page__copy p {
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.72;
}

.device-page__aside {
    padding: 28px;
    background: var(--deep);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.device-page__code {
    color: var(--mint);
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.04em;
}

.device-page__aside p {
    margin: 18px 0 0;
    color: #e0eff1;
    line-height: 1.65;
}

.symptoms {
    padding: 18px 0 28px;
}

.symptoms__box {
    display: grid;
    grid-template-columns: 320px 1fr;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    box-shadow: var(--shadow2);
}

.symptoms__intro {
    padding: 26px;
    background: var(--accent);
}

.symptoms__intro p {
    margin: 14px 0 0;
    color: #49677f;
    line-height: 1.68;
}

.symptoms__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.symptom {
    min-height: 170px;
    padding: 24px;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.symptom:nth-last-child(-n+2) {
    border-bottom: 0;
}

.symptom p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.62;
}

.device-service {
    padding: 0 0 28px;
}

.device-service__box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    box-shadow: var(--shadow2);
}

.service-note {
    padding: 24px;
    border-right: 1px solid var(--line);
}

.service-note:last-child {
    border-right: 0;
}

.service-note--accent {
    background: var(--mint);
}

.service-note h3 {
    margin-bottom: 10px;
}

.service-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.64;
}

.service-note--accent p {
    color: #315b54;
}

.related {
    padding: 0 0 30px;
}

.related__box {
    display: grid;
    grid-template-columns: 260px 1fr;
    overflow: hidden;
    background: var(--deep);
    border-radius: var(--r2);
    color: #fff;
}

.related__title {
    padding: 24px;
    background: var(--rasp);
}

.related__title h2 {
    color: #fff;
}

.related__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.related__links a {
    min-height: 88px;
    display: grid;
    place-items: center;
    padding: 18px;
    border-left: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    font-weight: 900;
    text-align: center;
}

.related__links a:hover,
.related__links a:active {
    background: rgba(255, 255, 255, .08);
}

.footer {
    padding: 24px 0 34px;
    color: var(--muted2);
}

.footer__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.footer__links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer a {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
}

.footer .privacy {
    opacity: .58;
    padding: 7px 10px;
    font-size: 11px;
}

.footer a:hover,
.footer a:active {
    background: var(--deep3);
}

@media (max-width: 1100px) {
    .top__in {
        grid-template-columns: 1fr auto;
    }

    .nav {
        grid-column: 1 / -1;
        justify-self: start;
        flex-wrap: wrap;
    }

    .hero__top,
    .register,
    .diagnostic-band__head,
    .visit-ledger__grid,
    .local__grid,
    .contact__box,
    .device-page__box,
    .symptoms__box,
    .related__box {
        grid-template-columns: 1fr;
    }

    .register__intro {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .diagnostic-band__grid,
    .visit-ledger__steps,
    .device-service__box,
    .related__links {
        grid-template-columns: 1fr 1fr;
    }

    .related__links a:nth-child(odd) {
        border-left: 0;
    }
}

@media (max-width: 720px) {
    .wrap {
        width: min(var(--max), calc(100% - 28px));
    }

    .top {
        position: static;
    }

    .top__in {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .nav a {
        text-align: center;
        border-color: var(--line);
        background: rgba(255, 255, 255, .5);
    }

    .call {
        width: 100%;
    }

    .hero,
    .device-page {
        padding-top: 24px;
    }

    .hero__copy,
    .hero__panel,
    .register__intro,
    .diagnostic-band__title,
    .diagnostic-band__copy,
    .visit-ledger__side,
    .local__cell,
    .contact__main,
    .device-page__copy,
    .device-page__aside,
    .symptoms__intro,
    .related__title {
        padding: 20px;
    }

    h1 {
        font-size: 40px;
        overflow-wrap: anywhere;
    }

    .hero__bottom,
    .diagnostic-band__grid,
    .visit-ledger__steps,
    .symptoms__list,
    .device-service__box,
    .related__links {
        grid-template-columns: 1fr;
    }

    .meter,
    .signal,
    .visit-step,
    .service-note,
    .related__links a {
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .meter:last-child,
    .signal:last-child,
    .visit-step:last-child,
    .service-note:last-child,
    .related__links a:last-child {
        border-bottom: 0;
    }

    .device-row {
        grid-template-columns: 1fr;
    }

    .device-row__desc,
    .device-row__state {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .device-row__state {
        min-height: 44px;
    }

    .symptom {
        min-height: 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .symptom:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .symptom:last-child {
        border-bottom: 0;
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer__in {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__links {
        flex-wrap: wrap;
    }
}
