:root {
    --page: #343b54;
    --page-soft: #3a4562;
    --panel: #414d6d;
    --panel-quiet: #3b4664;
    --line: #637095;
    --text: #f8faff;
    --muted: #d5dcef;
    --ice: #bdeee7;
    --peach: #ffad8f;
    --lilac: #c9c7ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

body,
p,
li,
a,
button {
    font-size: 16px;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--ice);
    text-underline-offset: 4px;
}

a:hover {
    color: var(--peach);
}

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

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--text);
    line-height: 1.18;
}

h1 {
    margin-bottom: 18px;
    font-size: 40px;
}

h2 {
    margin-bottom: 16px;
    font-size: 28px;
}

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

.wrap {
    width: min(1120px, calc(100% - 44px));
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid rgba(201, 199, 255, 0.24);
    background: #3a425d;
}

.header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.brand-sign {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(189, 238, 231, 0.5);
    border-radius: 50%;
    color: var(--ice);
    font-size: 13px;
    letter-spacing: 1px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
}

.call-button,
.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255, 173, 143, 0.7);
    border-radius: 10px;
    background: #4b536d;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.call-button:hover,
.action-button:hover {
    background: #555e7a;
    color: var(--text);
}

.action-button.secondary {
    border-color: rgba(189, 238, 231, 0.58);
}

main {
    padding: 34px 0 0;
}

.opening {
    padding-bottom: 28px;
}

.opening-sheet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 34px;
    padding: 34px;
    border: 1px solid rgba(201, 199, 255, 0.22);
    border-radius: 20px;
    background: var(--page-soft);
}

.opening-copy {
    max-width: 760px;
}

.overline {
    display: block;
    margin-bottom: 12px;
    color: var(--peach);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

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

.service-stamp {
    align-self: start;
    padding: 20px;
    border-left: 4px solid var(--ice);
    background: var(--panel-quiet);
}

.service-stamp strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 24px;
}

.registry {
    border-top: 1px solid rgba(201, 199, 255, 0.18);
}

.registry-row {
    border-bottom: 1px solid rgba(201, 199, 255, 0.18);
}

.registry-row:nth-child(even) {
    background: var(--page-soft);
}

.registry-inner {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 34px;
    padding: 30px 0;
}

.registry-code {
    padding-top: 4px;
}

.registry-code span {
    display: block;
    margin-bottom: 8px;
    color: var(--ice);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.registry-code strong {
    color: var(--lilac);
    font-size: 34px;
    line-height: 1;
}

.registry-copy {
    max-width: 820px;
}

.inline-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 4px solid var(--peach);
    background: var(--panel-quiet);
}

.inline-note p {
    color: var(--text);
}

.appliance-run {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.appliance-run li {
    color: var(--text);
    font-weight: 700;
}

.appliance-run li::before {
    content: "•";
    margin-right: 8px;
    color: var(--peach);
}

.split-section {
    padding: 32px 0;
    background: var(--panel);
    border-bottom: 1px solid rgba(201, 199, 255, 0.18);
}

.split-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 38px;
    align-items: start;
}

.side-note {
    padding: 20px;
    border-top: 4px solid var(--lilac);
    background: var(--panel-quiet);
}

.side-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}

.article-section {
    padding: 32px 0;
    border-bottom: 1px solid rgba(201, 199, 255, 0.18);
}

.article-section.soft {
    background: var(--page-soft);
}

.section-number {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--peach);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.compact-list {
    margin: 18px 0 0;
    padding-left: 22px;
    color: var(--muted);
}

.compact-list li {
    margin-bottom: 8px;
}

.more-info {
    padding: 18px 0;
}

.more-info p {
    margin: 0;
    color: #b8c1db;
    font-size: 14px;
}

.site-footer {
    padding: 26px 0 30px;
    background: #3a425d;
    border-top: 1px solid rgba(201, 199, 255, 0.2);
}

.footer-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-line p {
    margin: 0;
    color: #c7cfe4;
}

.footer-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #c7cfe4;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--ice);
}

.footer-nav .privacy {
    opacity: 0.68;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .opening-sheet,
    .split-inner {
        grid-template-columns: 1fr;
    }

    .service-stamp,
    .side-note {
        max-width: 620px;
    }
}

@media (max-width: 780px) {
    .header-line,
    .footer-line {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .registry-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .registry-code {
        display: flex;
        align-items: baseline;
        gap: 12px;
    }

    .registry-code span {
        margin-bottom: 0;
    }
}

@media (max-width: 520px) {
    .wrap {
        width: min(100% - 24px, 1120px);
    }

    main {
        padding-top: 22px;
    }

    .opening-sheet {
        padding: 22px 18px;
    }

    .opening-actions {
        flex-direction: column;
    }

    .call-button,
    .action-button {
        width: 100%;
    }

    .site-nav {
        gap: 12px;
    }

    .registry-inner,
    .article-section,
    .split-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}
