<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Title");
?>.regastim-legal-page {
    padding: clamp(28px, 5vw, 72px) 0 clamp(36px, 6vw, 80px);
}

.regastim-legal-page .wrapper {
    display: block;
}

.regastim-legal-page__body {
    max-width: 920px;
    font-size: 18px;
    line-height: 1.55;
    color: #222;
}

.regastim-legal-page h1 {
    margin: 0 0 24px;
    font-size: clamp(30px, 4.2vw, 54px);
    font-weight: 600;
    line-height: 1.12;
    color: #246b6a;
    overflow-wrap: anywhere;
}

.regastim-legal-page p {
    margin: 0 0 1em;
}

.regastim-legal-page a,
.regastim-cookie-notice a {
    color: #246b6a;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.regastim-legal-page__pdf {
    display: block;
    width: 100%;
    height: clamp(360px, 72vh, 900px);
    border: 1px solid #d7e4e1;
    border-radius: 8px;
}

.regastim-cookie-notice[hidden] {
    display: none;
}

.regastim-cookie-notice {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(var(--regastim-warning-height, 0px) + max(16px, env(safe-area-inset-bottom)));
    z-index: 25;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(620px, calc(100% - 32px));
    padding: 16px 20px;
    border: 1px solid #d7e4e1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 24px rgb(24 56 54 / 15%);
    color: #222;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.35;
}

.regastim-cookie-notice p {
    margin: 0;
}

.regastim-cookie-notice button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 20px;
    border: 0;
    border-radius: 24px;
    background: #246b6a;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.regastim-cookie-notice button:hover {
    background: #1c5554;
}

.regastim-cookie-notice a:focus-visible,
.regastim-cookie-notice button:focus-visible,
.regastim-legal-page a:focus-visible {
    outline: 2px solid #246b6a;
    outline-offset: 3px;
}

@media (max-width: 560px) {
    .regastim-cookie-notice {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(var(--regastim-warning-height, 0px) + max(12px, env(safe-area-inset-bottom)));
        width: calc(100% - 24px);
        padding: 12px 14px;
    }

    .regastim-legal-page__body {
        font-size: 16px;
    }
}
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>