.ok-site-footer {
    display: block;
    position: relative;
    width: 100%;
    min-height: 0;
    padding: 0;
    color: #f3edf8;
    background:
        radial-gradient(ellipse at 12% 0, #61467645, transparent 65%),
        linear-gradient(130deg, #251a34, #1b1428 68%, #21172f);
    font-family: inherit;
}

.ok-footer-inner {
    width: min(100% - 48px, 1240px);
    margin-inline: auto;
    padding-block: 48px 18px;
}

.ok-footer-main {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
    gap: clamp(28px, 6vw, 100px);
    align-items: start;
}

.ok-footer-brand > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.ok-footer-brand p {
    max-width: 24ch;
    margin: 12px 0 0;
    color: #cfc1da;
    font-size: var(--text-detail, 14px);
    line-height: 1.65;
}

.ok-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ok-footer-group h2 {
    margin: 0 0 7px;
    color: #fbf4ff;
    font-size: var(--text-detail, 14px);
    font-weight: 700;
    line-height: 1.45;
}

.ok-footer-group ul {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ok-footer-group a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: #dbcce5;
    font-size: var(--text-detail, 14px);
    line-height: 1.45;
    text-decoration: none;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

.ok-footer-group a:hover,
.ok-footer-group a:focus-visible {
    color: #ffe0ae;
    text-decoration: underline;
}

.ok-site-footer :is(a, button):focus-visible {
    outline: 2px solid #ffe0ae;
    outline-offset: 4px;
}

.ok-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 30px;
    padding-top: 16px;
    color: #c6b5d1;
}

.ok-footer-bottom small { font-size: var(--text-caption, 13px); }
.ok-footer-bottom [hidden] { display: none !important; }

@media (max-width: 720px) {
    .ok-footer-inner { padding-top: 32px; }
    .ok-footer-main { grid-template-columns: 1fr; gap: 24px; }
    .ok-footer-brand p { max-width: 36ch; }
}

@media (max-width: 480px) {
    .ok-footer-inner { width: calc(100% - 36px); }
    .ok-footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .ok-footer-group a { min-height: 44px; }
    .ok-footer-bottom { margin-top: 14px; }
}
