:root {
    --bg: #eef6fb;
    --panel: #ffffff;
    --panel-soft: #f7fbfe;
    --panel-blue: #dceaf3;
    --ink: #21445d;
    --muted: #5b7588;
    --line: #b8cede;
    --line-strong: #8eafc5;
    --dark: #2c5872;
    --dark-2: #376b86;
    --accent: #ef7338;
    --accent-2: #c65322;
    --cyan: #2fc6d3;
    --violet: #7d63e8;
    --lime: #78c96b;
    --focus: #2fc6d3;
    --shadow: 0 16px 42px rgba(33, 68, 93, .14);
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(90deg, rgba(33, 68, 93, .055) 1px, transparent 1px),
        linear-gradient(180deg, var(--bg), #dcebf4);
    background-size: 54px 54px, auto;
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
    color: inherit;
}

p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.7;
}

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

h1 {
    margin-bottom: 18px;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -.6px;
}

h2 {
    margin-bottom: 16px;
    font-size: 28px;
    line-height: 1.28;
    letter-spacing: -.25px;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.35;
}

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

.top {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 4px solid var(--accent);
    background: var(--dark);
    color: #f5fbff;
}

.top__in {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 80px;
}

.brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand__mark {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: linear-gradient(135deg, var(--accent) 0 46%, var(--cyan) 46% 74%, var(--violet) 74%);
}

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

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

.brand__sub {
    margin-top: 5px;
    color: #dcebf4;
    font-size: 12px;
}

.nav {
    display: flex;
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.nav a {
    padding: 15px 16px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    color: #eaf6fb;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

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

.nav__online {
    color: #ffffff !important;
    background: rgba(239, 115, 56, .24);
}

.hero {
    padding: 48px 0 30px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 22px;
}

.aside {
    display: grid;
    min-height: 486px;
    align-content: space-between;
    border: 1px solid var(--dark);
    background: var(--dark);
    box-shadow: var(--shadow);
    color: #f5fbff;
}

.aside__top {
    padding: 26px;
}

.aside__label,
.eyebrow {
    display: inline-block;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--accent);
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.aside__label,
.eyebrow--light {
    color: #c9f8ff;
}

.aside__title {
    margin-top: 30px;
    font-size: 30px;
    font-weight: 950;
    line-height: 1.35;
}

.aside__text {
    margin-top: 18px;
    color: #d8e8f0;
}

.aside__facts {
    display: grid;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.aside__facts div {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.aside__facts div:last-child {
    border-bottom: 0;
}

.aside__facts dt {
    color: #c4d7e2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.aside__facts dd {
    margin: 0;
    font-size: 14px;
    font-weight: 900;
}

.main-panel {
    display: grid;
    gap: 18px;
}

.intro {
    padding: 34px 38px 36px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--cyan);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.intro .eyebrow {
    margin-bottom: 18px;
}

.intro p {
    max-width: 800px;
    color: var(--muted);
}

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

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.btn--main {
    background: var(--accent);
    box-shadow: 0 12px 28px rgba(239, 115, 56, .24);
    color: #ffffff;
}

.btn--main:hover {
    background: var(--accent-2);
}

.btn--ghost {
    border-color: var(--line-strong);
    background: #ffffff;
    color: var(--ink);
}

.btn--ghost:hover {
    background: #e8f4f9;
}

.matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.metric {
    position: relative;
    min-height: 120px;
    padding: 22px 20px 18px;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff, #f8fcfe);
}

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

.metric::before {
    position: absolute;
    top: -1px;
    right: -1px;
    left: -1px;
    height: 4px;
    background: var(--accent);
    content: "";
}

.metric:nth-child(2)::before {
    background: var(--cyan);
}

.metric:nth-child(3)::before {
    background: var(--violet);
}

.metric strong {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-2);
    font-size: 22px;
}

.metric span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.section {
    padding: 26px 0;
}

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

.box {
    padding: 26px;
    border: 1px solid var(--line);
    border-top: 4px solid var(--cyan);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.box .eyebrow {
    margin-bottom: 16px;
}

.box p {
    color: var(--muted);
}

.box--dark {
    border-color: var(--dark-2);
    border-top-color: var(--accent);
    background: var(--dark-2);
    color: #f5fbff;
}

.box--dark p {
    color: #d8e8f0;
}

.rule-line {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.rule-line strong {
    color: var(--accent-2);
}

.rule-line span {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    margin-top: 8px;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--cyan);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.services,
.device-register,
.faults {
    padding: 38px 0;
}

.section-head {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: end;
    margin-bottom: 22px;
}

.section-head .eyebrow {
    margin-bottom: 8px;
}

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

.section-no {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    background: var(--dark);
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service {
    display: grid;
    grid-template-columns: 88px 1fr;
    border: 1px solid var(--line);
    border-top: 3px solid rgba(47, 198, 211, .5);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.service__no {
    display: grid;
    place-items: center;
    border-right: 4px solid var(--accent);
    background: var(--dark);
    color: #f5fbff;
    font-size: 24px;
    font-weight: 950;
}

.service:nth-child(2) .service__no {
    border-right-color: var(--cyan);
    background: #2f7584;
}

.service:nth-child(3) .service__no {
    border-right-color: var(--violet);
    background: #66599a;
}

.service:nth-child(4) .service__no {
    border-right-color: var(--lime);
    background: #47745b;
}

.service__body {
    padding: 22px;
}

.service h3 a {
    color: inherit;
    text-decoration: none;
}

.service h3 a:hover {
    color: var(--accent-2);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.service p {
    margin-bottom: 0;
    color: var(--muted);
}

.scope-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 18px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.scope-strip span {
    padding: 13px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .78);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.process {
    padding: 20px 0 40px;
}

.process__box {
    display: grid;
    grid-template-columns: .9fr 1.35fr;
    border: 1px solid var(--dark);
    background: var(--dark);
    box-shadow: var(--shadow);
    color: #f5fbff;
}

.area {
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, .16);
    background: linear-gradient(135deg, var(--dark), #42758b 68%, #5c5f9d);
}

.area .eyebrow {
    margin-bottom: 18px;
}

.area p {
    margin-bottom: 0;
    color: #d8e8f0;
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

.step__no {
    display: grid;
    place-items: center;
    border-right: 1px solid rgba(255, 255, 255, .16);
    color: #c8f7ff;
    font-size: 22px;
    font-weight: 950;
}

.step div {
    padding: 18px 20px;
}

.step strong {
    display: block;
    margin-bottom: 6px;
}

.step p {
    margin-bottom: 0;
    color: #d8e8f0;
}

.contact {
    padding: 8px 0 46px;
}

.contact__box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--line);
    border-top: 3px solid rgba(47, 198, 211, .55);
    border-left: 8px solid var(--accent);
    background: linear-gradient(135deg, #ffffff, #f7fcfe);
    box-shadow: var(--shadow);
}

.contact__box .eyebrow {
    margin-bottom: 12px;
}

.contact__box h2 {
    margin-bottom: 8px;
}

.contact__box p {
    margin-bottom: 0;
    color: var(--muted);
}

.contact__actions {
    display: grid;
    gap: 10px;
}

.content-reserve {
    min-height: 1px;
    padding: 8px 0 24px;
}

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

.footer {
    border-top: 1px solid var(--line);
    background: #e5f1f6;
    color: var(--ink);
}

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

.footer__home {
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.policy {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.policy:hover,
.footer__home:hover {
    color: var(--accent-2);
}

.aside--home {
    background: #315f78;
}

.aside__callout {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: #c8f7ff;
    font-size: 14px;
    font-weight: 900;
}

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

.register__row {
    display: grid;
    grid-template-columns: 70px 180px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 72px;
    padding: 12px 20px 12px 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--panel);
    text-decoration: none;
}

.register__row > span {
    display: grid;
    height: 100%;
    min-height: 46px;
    place-items: center;
    border-right: 4px solid var(--accent);
    background: var(--dark);
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
}

.register__row:nth-child(2) > span {
    border-right-color: var(--cyan);
}

.register__row:nth-child(3) > span {
    border-right-color: var(--violet);
}

.register__row:nth-child(4) > span {
    border-right-color: var(--lime);
}

.register__row strong {
    font-size: 18px;
}

.register__row small {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.register__row:hover {
    background: #f7fbfe;
}

.process-notes {
    display: grid;
}

.process-notes article {
    padding: 19px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.process-notes article:last-child {
    border-bottom: 0;
}

.process-notes strong {
    display: block;
    margin-bottom: 6px;
    color: #c8f7ff;
}

.process-notes p {
    margin-bottom: 0;
    color: #d8e8f0;
}

.hero--device .aside {
    min-height: 420px;
}

.device-code {
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: #c8f7ff;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: .08em;
}

.device-status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.device-status span {
    padding: 16px 18px;
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.device-status span:last-child {
    border-right: 0;
}

.faults__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.fault {
    position: relative;
    min-height: 190px;
    padding: 28px 24px 24px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}

.fault:nth-child(3n + 2) {
    background: var(--panel-soft);
}

.fault__marker {
    display: block;
    width: 42px;
    height: 4px;
    margin-bottom: 18px;
    background: var(--accent);
}

.fault p {
    margin-bottom: 0;
    color: var(--muted);
}

.geo-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
}

.geo-copy p {
    margin: 0;
    padding: 18px 20px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    color: #d8e8f0;
}

.geo-copy p:nth-child(even) {
    border-right: 0;
}

.section-head--compact {
    margin-bottom: 18px;
}

.related {
    padding-top: 22px;
    padding-bottom: 54px;
}

.related__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related__links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.related__links a:hover {
    border-color: var(--accent);
    color: var(--accent-2);
}

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

a:active {
    transform: translateY(1px);
}

@media (max-width: 980px) {
    .top__in {
        min-height: 74px;
    }

    .nav a:not(.nav__online) {
        display: none;
    }

    .hero__grid,
    .section__grid,
    .process__box,
    .contact__box {
        grid-template-columns: 1fr;
    }

    .aside {
        min-height: auto;
    }

    .aside__facts {
        grid-template-columns: repeat(3, 1fr);
    }

    .aside__facts div {
        grid-template-columns: 1fr;
    }

    .matrix {
        grid-template-columns: repeat(3, 1fr);
    }

    .area {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .contact__actions {
        grid-template-columns: 1fr 1fr;
    }

    .register__row {
        grid-template-columns: 60px 160px 1fr;
    }
}

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

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

    .brand__sub {
        display: none;
    }

    .nav a {
        padding-inline: 12px;
    }

    .hero {
        padding-top: 28px;
    }

    .aside__top,
    .intro,
    .box,
    .area,
    .contact__box {
        padding: 22px;
    }

    .aside__title {
        margin-top: 20px;
        font-size: 26px;
    }

    .aside__facts,
    .matrix,
    .services__grid,
    .scope-strip,
    .faults__grid,
    .device-status,
    .geo-copy {
        grid-template-columns: 1fr;
    }

    .metric,
    .device-status span,
    .geo-copy p,
    .geo-copy p:nth-child(even) {
        border-right: 0;
    }

    .actions,
    .contact__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .section-head {
        grid-template-columns: 50px 1fr;
        gap: 12px;
    }

    .section-no {
        width: 46px;
        height: 46px;
    }

    .service {
        grid-template-columns: 62px 1fr;
    }

    .service__no,
    .service:nth-child(2) .service__no,
    .service:nth-child(3) .service__no,
    .service:nth-child(4) .service__no {
        border-right-width: 3px;
    }

    .service__body {
        padding: 18px;
    }

    .step {
        grid-template-columns: 54px 1fr;
    }

    .register__row {
        grid-template-columns: 54px 1fr;
        gap: 14px;
        padding-right: 14px;
    }

    .register__row small {
        grid-column: 2;
        padding-bottom: 10px;
    }

    .fault {
        min-height: 0;
    }

    .footer__in {
        min-height: 88px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .brand__main {
        font-size: 14px;
    }

    .brand__mark {
        width: 38px;
        height: 38px;
    }

    .nav__online {
        font-size: 12px !important;
    }

    .aside__facts {
        display: block;
    }

    .service {
        grid-template-columns: 1fr;
    }

    .service__no {
        min-height: 48px;
        border-right: 0;
        border-bottom: 3px solid var(--accent);
    }
}
