:root {
    --ok-primary: #00bcd4;
    --ok-secondary: #00acc1;
    --ok-accent: #ff5722;
    --ok-bg: #e0f7fa;
    --ok-ink: #08343a;
    --ok-paper: #ffffff;
    --ok-header-h: 88px;
    --ok-page-w: 1120px;
    --ok-radius: 20px;
    --ok-font-head: "Poppins", sans-serif;
    --ok-font-body: "Inter", sans-serif;
    --ok-space: 24px;
}

@media (max-width: 1100px) {
    :root { --ok-header-h: 72px; }
}

[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html, body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

html { scroll-padding-top: var(--ok-header-h); }

body {
    margin: 0;
    padding-top: var(--ok-header-h);
    background: var(--ok-bg);
    color: var(--ok-ink);
    font-family: var(--ok-font-body);
    font-size: 1.02rem;
    line-height: 1.6;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    font-family: var(--ok-font-head);
    line-height: 1.2;
    margin: 0 0 12px;
}

a { color: #007c91; }
a:not(.ok-m-btn) { text-underline-offset: 3px; }

p { margin: 0 0 14px; }

.ok-l-container {
    width: min(var(--ok-page-w), calc(100% - 32px));
    margin: 0 auto;
}

.ok-l-measure { max-width: 760px; }

.ok-l-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--ok-header-h);
    background: #e0f7fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ok-l-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--ok-header-h);
}

.ok-l-header-row::after {
    content: "";
    width: 180px;
    flex: 0 0 180px;
}

.ok-m-logo { display: block; flex: 0 0 auto; }

.ok-m-logo img {
    width: 180px;
    height: auto;
    display: block;
}

.ok-m-nav {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.ok-m-nav a,
.ok-l-header a,
.ok-l-header a:visited {
    color: #08343a;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
}

.ok-m-nav a.ok-is-active { color: #e64a19; }

.ok-m-burger,
.ok-m-overlay,
.ok-m-drawer { display: none; }

.ok-m-burger {
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
}

.ok-m-burger span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #08343a;
}

.ok-m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 2px solid var(--ok-secondary);
    background: var(--ok-paper);
    color: #08343a;
    font-family: var(--ok-font-head);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ok-m-btn--primary {
    background: var(--ok-primary);
    border-color: var(--ok-primary);
    color: #042428;
}

.ok-m-btn:hover { transform: scale(1.05); }

.ok-m-hero {
    background:
        radial-gradient(circle at 12% 20%, #ffccbc 0 70px, transparent 72px),
        linear-gradient(180deg, #80deea 0%, #e0f7fa 70%);
    padding: 36px 0 28px;
}

.ok-m-hero-copy { text-align: center; }

.ok-m-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }

.ok-m-hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.ok-m-hero-still {
    width: min(640px, 100%);
    height: auto;
    border-radius: var(--ok-radius);
    background: var(--ok-paper);
    object-fit: contain;
}

.ok-is-float {
    animation: ok-float 4.6s ease-in-out infinite;
}

@keyframes ok-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.ok-l-shell {
    width: min(var(--ok-page-w), calc(100% - 32px));
    margin: 28px auto 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: start;
}

.ok-l-content,
.ok-l-aside,
.ok-m-block {
    min-width: 0;
    max-width: 100%;
}

.ok-m-block,
.ok-l-aside,
.ok-m-log-card,
.ok-m-page {
    background: var(--ok-paper);
    border-radius: var(--ok-radius);
}

.ok-m-block { padding: 22px; margin-bottom: 18px; }

.ok-m-block,
.ok-m-log-card {
    transform: scale(0.98);
    transition: transform 0.35s ease, opacity 0.35s ease;
    opacity: 0.96;
}

.ok-m-block.ok-is-shown,
.ok-m-log-card.ok-is-shown {
    transform: scale(1);
    opacity: 1;
}

.ok-m-shot-row,
.ok-m-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ok-m-shot-row img,
.ok-m-gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #f4fdff;
    border-radius: 12px;
}

.ok-m-badges {
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    font-weight: 700;
    color: #006064;
}

.ok-m-app-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.ok-m-app-head > div { min-width: 0; }

.ok-m-app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    object-fit: contain;
    flex-shrink: 0;
    background: #f4fdff;
}

.ok-m-app-title { font-family: var(--ok-font-head); font-weight: 700; margin: 0; }
.ok-m-app-dev,
.ok-m-app-id { margin: 4px 0 0; color: #35585d; }
.ok-m-app-id { overflow-wrap: anywhere; word-break: break-all; font-size: 0.9rem; }

.ok-m-facts { margin: 0 0 12px; padding-left: 18px; }
.ok-m-facts li { margin: 6px 0; }

.ok-m-app-note { font-size: 0.95rem; }
.ok-m-checked { font-weight: 700; }

.ok-m-steps { padding-left: 18px; }
.ok-m-steps li { margin: 8px 0; }

.ok-m-verdict { border: 2px solid var(--ok-accent); }

.ok-l-aside {
    padding: 18px;
    position: static;
}

.ok-l-aside ul { padding-left: 18px; margin: 0 0 14px; }
.ok-l-aside .ok-m-btn { width: 100%; margin-bottom: 12px; }

.ok-m-cta {
    background: #006064;
    color: #e0f7fa;
    padding: 36px 0;
    margin-top: 12px;
}

.ok-m-cta a:not(.ok-m-btn) { color: #fff; }

.ok-m-page { margin: 24px auto; padding: 28px 0 36px; width: min(var(--ok-page-w), calc(100% - 32px)); }
.ok-m-page .ok-l-container { width: min(760px, 100%); }
.ok-m-page .ok-m-gallery { width: 100%; }

.ok-l-footer {
    background: #08343a;
    color: #e0f7fa;
    padding: 18px 0 28px;
}

.ok-l-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}

.ok-m-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ok-l-footer a,
.ok-m-footer-link {
    color: #e0f7fa;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.ok-m-disclaimer { flex-basis: 100%; margin: 0; font-size: 0.9rem; }
.ok-m-copy { margin: 0; }

.ok-m-cookie { display: none; }

.ok-m-cookie:not([hidden]) {
    display: flex;
    position: fixed;
    z-index: 110;
    left: 0;
    right: 0;
    bottom: 0;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    color: #08343a;
    padding: 14px 20px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}

.ok-m-cookie p { margin: 0; }
.ok-m-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.ok-m-log-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ok-m-log-card { overflow: hidden; }
.ok-m-log-card h2, .ok-m-log-card p { padding: 0 16px; }
.ok-m-log-card h2 { padding-top: 14px; }
.ok-m-log-card p { padding-bottom: 14px; }

.ok-m-band { height: 14px; }
.ok-m-band--a { background: linear-gradient(90deg, #00bcd4, #ff5722); }
.ok-m-band--b { background: linear-gradient(90deg, #00acc1, #006064); }
.ok-m-band--c { background: linear-gradient(90deg, #ffccbc, #00bcd4); }

.ok-m-form { display: grid; gap: 8px; }
.ok-m-form input,
.ok-m-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #80deea;
    font: inherit;
}

.ok-m-crumbs { font-size: 0.9rem; }

.ok-m-faq h2 { margin-top: 18px; font-size: 1.15rem; }

@media (max-width: 1100px) {
    .ok-m-nav { display: none; }
    .ok-l-header-row::after { display: none; }

    .ok-m-burger { display: block; }

    .ok-m-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, visibility .25s;
    }

    .ok-m-drawer {
        display: block;
        position: fixed;
        z-index: 210;
        background: #e0f7fa;
        overflow-y: auto;
        visibility: hidden;
        transition: transform .3s ease, opacity .3s ease, visibility .3s;
    }

    .ok-m-drawer a { display: block; padding: 14px 20px; color: #08343a; text-decoration: none; }

    .ok-m-drawer-close {
        position: absolute;
        top: 12px;
        right: 16px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        font-size: 28px;
        cursor: pointer;
    }

    body.nav-open { overflow: hidden; }
    body.nav-open .ok-m-overlay { opacity: 1; visibility: visible; }
    body.nav-open .ok-m-drawer { visibility: visible; }

    .ok-m-drawer--narrow {
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: min(75vw, 320px);
        padding: 64px 0 20px;
        transform: translateX(100%);
    }

    .ok-m-drawer--narrow a { padding: 10px 20px; font-size: .95rem; }
    body.nav-open .ok-m-drawer--narrow { transform: translateX(0); }

    .ok-m-logo img { width: 120px; }
}

@media (max-width: 800px) {
    .ok-l-shell { grid-template-columns: 1fr; }
    .ok-m-shot-row, .ok-m-gallery { grid-template-columns: 1fr; }
    .ok-m-cookie:not([hidden]) {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 16px;
    }
    .ok-m-cookie-actions { flex-direction: column; }
    .ok-m-app-head { align-items: flex-start; }
    .ok-m-app-icon { width: 64px; height: 64px; }
}

@media (max-width: 520px) {
    .ok-m-app-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .ok-m-hero-actions { flex-direction: column; }
    .ok-m-hero-actions .ok-m-btn { width: 100%; }
}
