html.om-search-opened,
html.om-search-opened body {
    overflow: hidden;
}

body.om404-body,
body.om-legal-body {
    margin: 0;
    background: #f7f9fb;
    color: #0f172a;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.om404-body a,
.om-legal-body a {
    color: inherit;
}

.om-site-header,
.om-site-footer,
.om404,
.om-search-modal {
    --om-bg: #f7f9fb;
    --om-surface: rgba(255,255,255,.82);
    --om-surface-strong: #ffffff;
    --om-text: #0f172a;
    --om-muted: #64748b;
    --om-line: rgba(15,23,42,.09);
    --om-accent: #0ea5e9;
    --om-accent-dark: #0369a1;
    --om-success: #10b981;
    --om-shadow: 0 24px 70px rgba(15,23,42,.08);
}

.om-site-header *,
.om-site-header *::before,
.om-site-header *::after,
.om-site-footer *,
.om-site-footer *::before,
.om-site-footer *::after,
.om404 *,
.om404 *::before,
.om404 *::after,
.om-search-modal *,
.om-search-modal *::before,
.om-search-modal *::after {
    box-sizing: border-box;
}

.om-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    border-bottom: 1px solid rgba(15,23,42,.08);
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.om-site-header__inner,
.om-site-footer__inner,
.om404-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.om-site-header__inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
}

.om-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    text-decoration: none;
    min-width: 168px;
}

.om-brand__name {
    color: #0f172a;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.04em;
}

.om-brand__tagline {
    color: #64748b;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

.om-main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.om-main-nav a,
.om-mobile-panel a,
.om-footer-links a {
    text-decoration: none;
}

.om-main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 999px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: background .18s ease, color .18s ease;
    white-space: nowrap;
}

.om-main-nav a:hover {
    background: rgba(14,165,233,.09);
    color: #0369a1;
}

.om-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.om-icon-btn,
.om-menu-btn,
.om-search-modal__close {
    appearance: none;
    border: 1px solid rgba(15,23,42,.1);
    background: rgba(255,255,255,.72);
    color: #0f172a;
    cursor: pointer;
}

.om-icon-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 22px;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.om-icon-btn:hover,
.om-menu-btn:hover,
.om-telegram:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15,23,42,.08);
}

.om-telegram {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid rgba(14,165,233,.2);
    border-radius: 15px;
    background: rgba(14,165,233,.08);
    color: #0369a1;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.om-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border-radius: 15px;
}

.om-menu-btn span {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
}

.om-mobile-panel {
    border-top: 1px solid rgba(15,23,42,.08);
    background: rgba(255,255,255,.96);
}

.om-mobile-panel[hidden],
.om-search-modal[hidden] {
    display: none !important;
}

.om-mobile-panel__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.om-mobile-panel a {
    padding: 14px 14px;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    font-weight: 750;
}

.om-search-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 16px 16px;
}

.om-search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.46);
    backdrop-filter: blur(8px);
}

.om-search-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 30px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 34px 100px rgba(15,23,42,.24);
    padding: 24px;
}

.om-search-modal__close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 24px;
    line-height: 1;
}

.om-search-form label {
    display: block;
    margin: 0 52px 14px 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -.04em;
}

.om-search-form__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(15,23,42,.09);
    border-radius: 22px;
    background: #fff;
}

.om-search-form__row input {
    min-height: 54px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 16px;
}

.om-search-form__row button,
.om404-search button,
.om404-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid rgba(15,23,42,.09);
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.om-search-form__row button,
.om404-search button,
.om404-btn--primary {
    border-color: transparent;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(37,99,235,.22);
}

.om404 {
    color: #0f172a;
    background:
        radial-gradient(circle at 12% 8%, rgba(14,165,233,.16), transparent 32%),
        radial-gradient(circle at 86% 4%, rgba(16,185,129,.13), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f7f9fb 46%, #ffffff 100%);
    overflow: hidden;
}

.om404-hero {
    position: relative;
    padding: clamp(50px, 7vw, 92px) 0 34px;
}

.om404-hero::before {
    content: "404";
    position: absolute;
    right: -2vw;
    top: 12px;
    font-size: clamp(96px, 18vw, 260px);
    font-weight: 900;
    letter-spacing: -.08em;
    color: rgba(15,23,42,.035);
    line-height: 1;
    pointer-events: none;
}

.om404-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: clamp(22px, 4vw, 52px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.om404-kicker,
.om404-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: #0369a1;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.om404-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 8px rgba(16,185,129,.12);
}

.om404 h1,
.om404 h2 {
    margin: 0;
    color: #0f172a;
    letter-spacing: -.045em;
}

.om404 h1 {
    max-width: 860px;
    font-size: clamp(38px, 7vw, 76px);
    line-height: .96;
}

.om404 h2 {
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.05;
}

.om404-lead {
    max-width: 760px;
    margin: 22px 0 0;
    color: #64748b;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.72;
}

.om404-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 760px;
    margin: 30px 0 0;
    padding: 8px;
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(15,23,42,.09);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15,23,42,.08);
    backdrop-filter: blur(16px);
}

.om404-search input {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 16px;
}

.om404-search input::placeholder,
.om-search-form__row input::placeholder {
    color: #94a3b8;
}

.om404-search button:hover,
.om404-btn:hover,
.om404-card:hover,
.om404-term:hover,
.om404-article:hover,
.om-search-form__row button:hover {
    transform: translateY(-2px);
}

.om404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.om404-panel {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(15,23,42,.09);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.68));
    box-shadow: 0 24px 70px rgba(15,23,42,.08);
    backdrop-filter: blur(18px);
}

.om404-panel::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 26px;
    border: 1px solid rgba(14,165,233,.12);
    pointer-events: none;
}

.om404-panel__top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 14px;
}

.om404-panel__top strong {
    color: #0369a1;
}

.om404-steps {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.om404-steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
    color: #334155;
    line-height: 1.55;
}

.om404-steps li::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 13px;
    background: rgba(14,165,233,.12);
    color: #0369a1;
    font-weight: 900;
}

.om404-section {
    padding: 44px 0;
}

.om404-section--last {
    padding-bottom: clamp(64px, 8vw, 96px);
}

.om404-section__head {
    margin-bottom: 22px;
}

.om404-section__head--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.om404-section__head--row .om404-eyebrow {
    margin-bottom: 10px;
}

.om404-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(15,23,42,.09);
    border-radius: 999px;
    background: #fff;
    color: #0369a1;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.om404-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.om404-card,
.om404-term,
.om404-article {
    border: 1px solid rgba(15,23,42,.09);
    background: rgba(255,255,255,.84);
    box-shadow: 0 14px 40px rgba(15,23,42,.045);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.om404-card:hover,
.om404-term:hover,
.om404-article:hover {
    border-color: rgba(14,165,233,.24);
    box-shadow: 0 22px 54px rgba(15,23,42,.08);
}

.om404-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 28px;
}

.om404-card__mark {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(16,185,129,.1);
    color: #047857;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.om404-card strong,
.om404-article strong,
.om404-term span {
    color: #0f172a;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -.03em;
}

.om404-card > span:last-child,
.om404-article > span:last-child {
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.om404-term-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.om404-term {
    min-height: 68px;
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 20px;
}

.om404-term span {
    font-size: 15px;
    line-height: 1.25;
}

.om404-article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.om404-article {
    min-height: 185px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-radius: 26px;
}

.om404-article__date {
    color: #0369a1;
    font-size: 12px;
    font-weight: 850;
}

.om-site-footer {
    border-top: 1px solid rgba(15,23,42,.08);
    background: #0f172a;
    color: #cbd5e1;
}

.om-site-footer__inner {
    padding: clamp(34px, 5vw, 56px) 0 30px;
}

.om-site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: start;
}

.om-footer-brand {
    display: inline-flex;
    margin: 0 0 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -.04em;
    text-decoration: none;
}

.om-site-footer p {
    margin: 0;
    max-width: 760px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.om-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.om-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 750;
}

.om-footer-links a:hover {
    background: rgba(255,255,255,.06);
}

.om-site-footer__bottom {
    display: grid;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

@media (max-width: 1080px) {
    .om-site-header__inner {
        grid-template-columns: auto 1fr auto;
        gap: 14px;
    }

    .om-main-nav {
        display: none;
    }

    .om-menu-btn {
        display: inline-flex;
    }

    .om404-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .om404-term-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .om404-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .om-site-header__inner,
    .om-site-footer__inner,
    .om404-shell,
    .om-mobile-panel__inner {
        width: min(100% - 24px, 1180px);
    }

    .om-site-header__inner {
        min-height: 68px;
    }

    .om-brand__name {
        font-size: 18px;
    }

    .om-brand__tagline {
        font-size: 11px;
    }

    .om-telegram {
        display: none;
    }

    .om404-hero {
        padding-top: 42px;
    }

    .om404-hero__grid {
        grid-template-columns: 1fr;
    }

    .om404-panel {
        border-radius: 26px;
    }

    .om404-search,
    .om-search-form__row {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .om404-search button,
    .om-search-form__row button {
        width: 100%;
    }

    .om404-card-grid,
    .om404-term-grid,
    .om404-article-grid {
        grid-template-columns: 1fr;
    }

    .om404-section__head--row {
        align-items: start;
        flex-direction: column;
    }

    .om-site-footer__top {
        grid-template-columns: 1fr;
    }

    .om-footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .om-header-actions {
        gap: 6px;
    }

    .om-icon-btn,
    .om-menu-btn {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .om-brand {
        min-width: 0;
    }

    .om-brand__tagline {
        white-space: normal;
    }

    .om-mobile-panel__inner {
        grid-template-columns: 1fr;
    }

    .om404 h1 {
        font-size: clamp(34px, 12vw, 52px);
    }

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

    .om404-btn {
        width: 100%;
    }
}


/* Cookie + legal page content */
.om-cookie-notice,
.om-cookie-notice *,
.om-cookie-notice *::before,
.om-cookie-notice *::after,
.om-legal-page,
.om-legal-page *,
.om-legal-page *::before,
.om-legal-page *::after {
    box-sizing: border-box;
}

.om-cookie-notice {
    --om-bg: #f7f9fb;
    --om-surface: rgba(255,255,255,.9);
    --om-text: #0f172a;
    --om-muted: #64748b;
    --om-line: rgba(15,23,42,.1);
    --om-accent: #0ea5e9;
    --om-accent-dark: #0369a1;
    --om-shadow: 0 24px 70px rgba(15,23,42,.14);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 99999;
    padding: 0 16px;
    color: var(--om-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    animation: omCookieShow .24s ease-out both;
}

.om-cookie-notice[hidden] {
    display: none !important;
}

.om-cookie-notice.is-hiding {
    animation: omCookieHide .22s ease-in both;
}

.om-cookie-notice__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid var(--om-line);
    border-radius: 24px;
    background: var(--om-surface);
    box-shadow: var(--om-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.om-cookie-notice__text {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.om-cookie-notice__text strong {
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.om-cookie-notice__text span {
    font-size: 13px;
    line-height: 1.5;
    color: var(--om-muted);
}

.om-cookie-notice__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
}

.om-cookie-notice__links a {
    color: var(--om-accent-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(3,105,161,.22);
}

.om-cookie-notice__links a:hover {
    border-bottom-color: rgba(3,105,161,.6);
}

.om-cookie-notice__button {
    appearance: none;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 11px 18px;
    min-height: 42px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--om-accent), var(--om-accent-dark));
    box-shadow: 0 12px 24px rgba(14,165,233,.24);
    white-space: nowrap;
}

.om-cookie-notice__button:hover {
    transform: translateY(-1px);
}

.om-legal-page {
    --om-bg: #f7f9fb;
    --om-surface: rgba(255,255,255,.86);
    --om-text: #0f172a;
    --om-muted: #64748b;
    --om-line: rgba(15,23,42,.09);
    --om-accent: #0ea5e9;
    --om-accent-dark: #0369a1;
    --om-shadow: 0 24px 70px rgba(15,23,42,.08);
    background:
        radial-gradient(circle at 12% 8%, rgba(14,165,233,.12), transparent 28%),
        radial-gradient(circle at 86% 0%, rgba(16,185,129,.1), transparent 26%),
        var(--om-bg);
    color: var(--om-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    padding: 56px 0 74px;
}

.om-legal-page__shell {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
}

.om-legal-hero {
    margin: 0 0 22px;
    padding: 34px;
    border: 1px solid var(--om-line);
    border-radius: 32px;
    background: rgba(255,255,255,.74);
    box-shadow: var(--om-shadow);
}

.om-legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border: 1px solid rgba(14,165,233,.18);
    border-radius: 999px;
    color: var(--om-accent-dark);
    background: rgba(14,165,233,.08);
    font-size: 13px;
    font-weight: 700;
}

.om-legal-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: .96;
    letter-spacing: -.055em;
}

.om-legal-hero p {
    margin: 0;
    max-width: 760px;
    color: var(--om-muted);
    font-size: 17px;
    line-height: 1.7;
}

.om-legal-meta {
    display: inline-flex;
    margin-top: 18px;
    padding: 8px 12px;
    border: 1px solid var(--om-line);
    border-radius: 999px;
    color: var(--om-muted);
    background: rgba(255,255,255,.72);
    font-size: 13px;
}

.om-legal-card {
    margin-top: 14px;
    padding: 26px 28px;
    border: 1px solid var(--om-line);
    border-radius: 26px;
    background: var(--om-surface);
    box-shadow: 0 16px 46px rgba(15,23,42,.05);
}

.om-legal-card h2 {
    margin: 0 0 12px;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.om-legal-card p,
.om-legal-card li {
    color: var(--om-muted);
    font-size: 16px;
    line-height: 1.75;
}

.om-legal-card p {
    margin: 0 0 12px;
}

.om-legal-card p:last-child {
    margin-bottom: 0;
}

.om-legal-card ul {
    margin: 0;
    padding-left: 20px;
}

.om-legal-card li + li {
    margin-top: 8px;
}

.om-legal-card a {
    color: var(--om-accent-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(3,105,161,.2);
}

.om-legal-card a:hover {
    border-bottom-color: rgba(3,105,161,.6);
}

.om-legal-card .om-legal-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--om-accent), var(--om-accent-dark));
    box-shadow: 0 12px 24px rgba(14,165,233,.18);
    font-weight: 700;
}

@keyframes omCookieShow {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes omCookieHide {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(14px); }
}

@media (max-width: 860px) {
    .om-cookie-notice__inner {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 12px;
        border-radius: 22px;
    }

    .om-cookie-notice__links {
        justify-content: flex-start;
        white-space: normal;
    }

    .om-cookie-notice__button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .om-legal-page {
        padding: 34px 0 54px;
    }

    .om-legal-hero,
    .om-legal-card {
        padding: 22px;
        border-radius: 24px;
    }

    .om-legal-hero h1 {
        letter-spacing: -.04em;
    }

    .om-legal-card p,
    .om-legal-card li {
        font-size: 15px;
    }
}


/* v102 legal standalone corrections */
body.om-legal-body {
    margin: 0;
    background: #f7f9fb;
    color: #0f172a;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.om-legal-main {
    display: block;
    min-height: 60vh;
    background: #f7f9fb;
}

.om-site-header,
.om-site-footer {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
