:root {
    --vvb-header-h: 88px;
    --vvb-page-w: 1120px;
    --color-primary: #b19cd9;
    --color-secondary: #dda0dd;
    --color-accent: #ff69b4;
    --color-bg: #faf8fd;
    --color-text: #332844;
    --color-text-light: #5c5370;
    --color-border: #e4dcea;
    --space-lg: 24px;
    --vvb-shadow: 8px 8px 16px #e4dcea, -8px -8px 16px #ffffff;
    --vvb-inset: inset 6px 6px 12px #e4dcea, inset -6px -6px 12px #ffffff;
}

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

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

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

html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: Karla, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}

body { padding-top: var(--vvb-header-h); }

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

h1, h2, h3 {
    font-family: Urbanist, sans-serif;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: #6d3c86; }
a:not(.vvbc-btn) { text-underline-offset: 3px; }

code {
    font-family: ui-monospace, monospace;
    font-size: 0.92em;
}

[hidden] { display: none !important; }

.vvbo-container {
    max-width: var(--vvb-page-w);
    margin: 0 auto;
    padding: 0 20px;
}

.vvbo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

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

.vvbc-bar {
    display: flex;
    align-items: center;
    min-height: var(--vvb-header-h);
    position: relative;
}

.vvbc-logo {
    display: block;
    flex: 0 0 auto;
    z-index: 1;
}

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

.vvbc-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
}

.vvbc-header a,
.vvbc-header a:visited {
    color: #4a3568;
    text-decoration: none;
}

.vvbc-navlink {
    font-family: Urbanist, sans-serif;
    font-weight: 500;
    white-space: nowrap;
}

.vvbc-navlink.is-active {
    box-shadow: inset 0 -2px 0 #ff69b4;
}

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

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

.vvbc-burger span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #4a3568;
}

.vvbc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #ff69b4;
    color: #2a1830;
    font-family: Urbanist, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
}

.vvbc-btn-primary { background: #ff69b4; color: #2a1830; }
.vvbc-btn-quiet { background: #b19cd9; color: #2a1830; }

.vvbc-btn:visited { color: #2a1830; }

.vvbc-hero {
    background: #f3eef8;
    padding: 36px 0 48px;
}

.vvbc-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

.vvbc-kicker {
    font-family: Urbanist, sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.vvbc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.vvbc-aside,
.vvbc-feature,
.vvbc-logcard,
.vvbc-verdict {
    background: var(--color-bg);
    box-shadow: var(--vvb-shadow);
    padding: 18px;
}

.vvbc-passport {
    justify-self: end;
    width: min(248px, 100%);
    background: var(--color-bg);
    box-shadow: var(--vvb-shadow);
    border-radius: 28px;
    padding: 14px;
}

.vvbc-passport h2 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.vvbc-still {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
    margin: 0 0 14px;
    border-radius: 18px;
}

.vvbc-passport-id {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.vvbc-passport .vvbc-icon {
    width: 64px;
    height: 64px;
}

.vvbc-passport .vvbc-btn {
    width: 100%;
    margin-top: 4px;
}

.vvbc-icon {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
}

.vvbc-badges {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin-bottom: 0.25em;
}

.vvbc-dev, .vvbc-note, .vvbc-checked {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.vvbc-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 28px 0 14px;
    list-style: none;
}

.vvbc-facts li {
    background: var(--color-bg);
    box-shadow: var(--vvb-inset);
    padding: 10px 12px;
    border-radius: 16px;
}

.vvbo-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 12px;
}

.vvbc-rail {
    position: relative;
    align-self: stretch;
    min-width: 0;
}

.vvbc-aside { border-radius: 28px; }

.vvbc-aside.is-fixed {
    position: fixed;
    z-index: 40;
    top: calc(var(--vvb-header-h) + 16px);
    margin: 0;
}

.vvbc-aside.is-parked {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
}

.vvbc-index {
    padding: 0;
    margin: 0 0 16px;
    list-style: none;
}

.vvbc-index a {
    display: inline-block;
    padding: 8px 0;
    min-height: 44px;
}

.vvbc-block { padding: 8px 0 28px; }

.vvbc-hero-copy,
.vvbc-passport,
.vvbc-block,
.vvbc-aside {
    animation: vvb-fade 0.3s ease both;
}

@keyframes vvb-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vvbc-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.vvbc-steps li,
.vvbc-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.vvbc-feature {
    flex-direction: column;
    border-radius: 28px;
}

.vvbc-disc {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--color-bg);
    box-shadow: var(--vvb-inset);
    font-family: Urbanist, sans-serif;
    font-weight: 700;
    color: #5a3d78;
}

.vvbc-verdict {
    border-radius: 28px;
    font-size: 1.15rem;
}

.vvbc-cta {
    background: #f3eef8;
    padding: 48px 0 64px;
}

.vvbc-page { padding: 36px 0 64px; }

.vvbc-measure { max-width: 760px; }

.vvbc-lead { max-width: 760px; }

.vvbc-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.vvbc-gallery figure {
    margin: 0;
    background: var(--color-bg);
    box-shadow: var(--vvb-shadow);
    border-radius: 28px;
    padding: 12px;
}

.vvbc-gallery img {
    width: auto;
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.vvbc-loglist {
    display: grid;
    gap: 18px;
}

.vvbc-logcard { border-radius: 28px; }

.vvbc-band {
    display: block;
    height: 14px;
    border-radius: 999px;
    background: #b19cd9;
    margin-bottom: 12px;
}

.vvbc-band-alt { background: #dda0dd; }
.vvbc-band-deep { background: #ff69b4; }

.vvbc-logcard h2 { font-size: 1.35rem; }

.vvbc-crumbs { color: var(--color-text-light); font-size: 0.95rem; }

.vvbc-address { font-weight: 600; }

.vvbc-form { display: grid; gap: 14px; max-width: 520px; }

.vvbc-field { display: grid; gap: 6px; font-weight: 600; }

.vvbc-field input,
.vvbc-field textarea {
    width: 100%;
    font: inherit;
    color: inherit;
    background: var(--color-bg);
    border: 0;
    border-radius: 16px;
    box-shadow: var(--vvb-inset);
    padding: 12px 14px;
    min-height: 44px;
}

.vvbc-versions { padding-left: 1.1em; }
.vvbc-versions li { margin: 0 0 0.7em; }

.vvbc-footer {
    background: #f3eef8;
    padding: 36px 0 28px;
}

.vvbc-footgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.vvbc-footlabel {
    font-family: Urbanist, sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
}

.vvbc-footlist {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.vvbc-footlist a,
.vvbc-footbtn {
    color: #4a3568;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.vvbc-legal { color: var(--color-text-light); font-size: 0.92rem; }

.vvbc-cookie { display: none; }

.vvbc-cookie:not([hidden]) {
    display: flex;
    position: fixed;
    z-index: 110;
    left: 0;
    right: 0;
    bottom: 0;
    background: #faf8fd;
    box-shadow: 0 -6px 16px rgba(80, 50, 110, 0.12);
}

.vvbc-cookie-row {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;
}

.vvbc-cookie-row p { margin: 0; }

.vvbc-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

@media (min-width: 860px) {
    .vvbc-hero-grid {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 48px;
    }
    .vvbo-shell {
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
        align-items: start;
    }
}

@media (max-width: 1100px) {
    .vvbc-nav { display: none; }

    .vvbc-bar { justify-content: space-between; }

    .vvbc-burger {
        display: block;
        margin-left: auto;
    }

    .vvbc-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;
    }

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

    .vvbc-drawer a {
        display: block;
        padding: 14px 20px;
        color: #4a3568;
        text-decoration: none;
        font-size: 1.4rem;
        font-family: Urbanist, sans-serif;
    }

    .vvbc-drawer .vvbc-btn {
        display: inline-flex;
        margin: 12px 20px 0;
        font-size: 1rem;
    }

    .vvbc-close {
        position: absolute;
        top: 12px;
        right: 16px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        font-size: 2rem;
        line-height: 1;
        cursor: pointer;
        color: #4a3568;
    }

    .vvbc-drawer-sheet {
        inset: 0;
        height: 100vh;
        height: 100dvh;
        padding: 72px 24px 32px;
        opacity: 0;
    }

    body.nav-open { overflow: hidden; }
    body.nav-open .vvbc-overlay { display: none; }
    body.nav-open .vvbc-drawer-sheet { opacity: 1; visibility: visible; }
}

@media (max-width: 768px) {
    .vvbc-logo img { width: 120px; }
    .vvbo-grid { grid-template-columns: repeat(2, 1fr); }
    .vvbc-footgrid { grid-template-columns: 1fr; }
    .vvbc-cookie:not([hidden]) {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    .vvbc-cookie-row {
        flex-direction: column;
        align-items: stretch;
    }
    .vvbc-cookie-actions { flex-direction: column; }
    .vvbc-cookie-actions .vvbc-btn { width: 100%; }
    .vvbc-facts { grid-template-columns: 1fr 1fr; }
    .vvbc-passport { justify-self: center; }
    .vvbc-icon { width: 72px; height: 72px; }
}

@media (max-width: 480px) {
    .vvbo-grid { grid-template-columns: 1fr; }
    .vvbc-facts { grid-template-columns: 1fr; }
}
