.fg-privacy {
    padding-bottom: 64px;
    color: #0c1325;
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.fg-privacy .page__title--2 {
    margin: 12px 0 24px;
    font-size: clamp(27px, 4vw, 48px);
    line-height: 1.15;
}
.fg-privacy__nav { font-size: 14px; color: #49566a; }
.fg-privacy h2 { margin: 24px 0 8px; font-size: 22px; line-height: 1.3; }
.fg-privacy p { max-width: 80ch; margin: 0 0 14px; }
.fg-privacy a,
.fg-privacy-form-links a,
.fg-cookie-dialog a {
    color: #244fc0;
    text-decoration: underline;
    text-underline-offset: .15em;
}
.fg-privacy-form-links { display: grid; justify-items: start; gap: 5px; font-size: 14px; }
.fg-form .fg-agree .checkbox-label { color: #49566a; font-size: 14px; line-height: 1.4; }

.fg-cookie-link {
    display: inline;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: .15em;
    cursor: pointer;
}
.fg-cookie-link[hidden], .fg-cookie-banner[hidden] { display: none; }
.fg-cookie-link:focus-visible, .fg-cookie-dialog button:focus-visible {
    outline: 2px solid #244fc0;
    outline-offset: 3px;
}
.fg-cookie-banner {
    position: fixed;
    z-index: 1200;
    right: 16px;
    bottom: 16px;
    width: min(680px, calc(100% - 32px));
    padding: 16px 20px;
    border: 1px solid #dae1ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 24px #0c132533;
    color: #0c1325;
    font-size: 14px;
    line-height: 1.5;
}
.fg-cookie-banner p { margin: 0; }
.fg-cookie-banner .fg-cookie-link { color: #244fc0; font-weight: 600; }

.fg-cookie-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    box-sizing: border-box;
    width: min(630px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    overflow: auto;
    padding: clamp(18px, 4vw, 32px);
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #0c1325;
    font-size: 16px;
    line-height: 1.55;
}
.fg-cookie-dialog::backdrop { background: #0c1325a8; }
.fg-cookie-dialog__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.fg-cookie-dialog__header h2 { margin: 0; font-size: 25px; line-height: 1.2; }
.fg-cookie-dialog__close {
    min-width: 36px;
    min-height: 36px;
    border: 0;
    background: transparent;
    color: #49566a;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.fg-cookie-dialog p { margin: 0 0 12px; }
.fg-cookie-dialog__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.fg-cookie-dialog__actions .bttn { min-width: 135px; min-height: 44px; padding: 8px 16px; }
.fg-cookie-dialog__actions .fg-cookie-dialog__decline {
    border: 1px solid #244fc0;
    background: #fff;
    color: #244fc0;
}

.fg-cookie-footer {
    flex: 0 0 100%;
    margin: 4px 0 0;
    line-height: 1.5;
    color: inherit;
}
.fg-cookie-footer .fg-cookie-link { font-weight: 600; }
.fg-cookie-footer button.fg-cookie-link { margin-inline-start: 10px; }
.fg-cookie-banner .fg-cookie-banner__settings {
    min-height: 36px;
    margin-top: 10px;
    padding: 4px 14px;
    font-size: 13px;
}
.fg-privacy ol, .fg-privacy ul {
    max-width: 80ch;
    margin: 0 0 14px;
    padding-left: 24px;
}
.fg-privacy ol { list-style: decimal outside; }
.fg-privacy ul { list-style: disc outside; }
.fg-privacy li + li { margin-top: 5px; }
