.studio {
    --site-header-offset: 6.75rem;
    --studio-blue: #254fc2;
    --studio-muted: #4c607d;
}

.studio-symbols {
    position: absolute;
    width: 0;
    height: 0;
}

.studio svg:not(.studio-symbols) {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.studio :focus-visible {
    outline: 3px solid var(--studio-blue);
    outline-offset: 4px;
}

.studio-skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.studio-skip:focus {
    position: fixed;
    z-index: 21;
    top: .5rem;
    left: .5rem;
    padding: .8rem 1rem;
    border-radius: .75rem;
    background: #fff;
}

.studio .studio-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(.75rem, 2vw, 2rem);
    padding: .7rem 1rem;
}

.studio-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    font-weight: 720;
}

.studio-brand img { display: block; width: 112px; height: auto; }
.studio-brand span { border-left: 1px solid #c9d6ed; padding-left: .7rem; }
.studio .studio-header > nav { display: block; padding: 0; border: 0; }
.studio .studio-header nav ul { justify-content: center; gap: .1rem; }
.studio .studio-header nav a { padding: .65rem .58rem; font-size: .9rem; }
.studio .button { gap: .55rem; text-align: center; }
.studio-header-actions { display: flex; gap: .45rem; }
.studio .studio-header-action { min-height: 2.7rem; padding: .55rem .85rem; font-size: .9rem; white-space: nowrap; }
.studio main > section { padding: clamp(1.4rem, 4vw, 3.6rem); }
.studio h2 { font-size: clamp(2rem, 4.3vw, 3.35rem); }
.studio h3 { margin: 0; }
.studio p { line-height: 1.62; }
.studio article { margin: 0; }

.studio-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse at 92% 5%, rgba(197, 176, 255, .52), transparent 60%),
        radial-gradient(ellipse at 30% 20%, rgba(198, 225, 255, .64), transparent 62%),
        rgba(255, 255, 255, .58);
}

.studio-hero .eyebrow { margin: 0 0 .65rem; color: var(--studio-blue); font-size: .9rem; line-height: 1.2; }
.studio-hero h1 { margin: .5rem 0 1.1rem; font-size: clamp(2.5rem, 4.1vw, 3.55rem); letter-spacing: -.061em; }
.studio-hero-accent { display: block; color: var(--studio-blue); }
.studio-hero-seo {
    display: inline-block;
    margin-top: .55rem;
    padding: .27em .58em;
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: .65em;
    background: rgba(255, 255, 255, .65);
    color: var(--studio-blue);
    font-size: .5em;
    letter-spacing: -.025em;
    vertical-align: top;
}
.studio-lead { max-width: 30rem; margin: 0; color: var(--studio-muted); font-size: clamp(1rem, 1.55vw, 1.18rem); }
.studio-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.studio-trial-note { display: flex; align-items: center; gap: .45rem; margin: .95rem 0 0; color: var(--studio-muted); font-size: .88rem; }
.studio-trial-note svg { color: #18735b; }

.studio-preview {
    padding: .9rem;
    border: 1px solid #fff;
    border-radius: 1.65rem;
    background: rgba(255, 255, 255, .79);
    box-shadow: 0 24px 56px rgba(65, 70, 146, .15), inset 0 1px 0 #fff;
}

.studio-preview-top, .studio-preview-destinations {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem .55rem;
    font-size: .81rem;
}

.studio-preview-top { justify-content: space-between; margin-bottom: .75rem; font-weight: 750; }
.studio-preview-top span:first-child, .studio-photo-label { display: inline-flex; align-items: center; gap: .35rem; }
.studio-preview-top svg { color: var(--studio-blue); }
.studio-demo-label { padding: .24rem .55rem; border-radius: 2rem; color: var(--studio-muted); background: #edf1fb; font-size: .72rem; }
.studio-preview-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); grid-template-rows: 1fr auto; gap: .55rem; }
.studio-preview-source, .studio-preview-result { position: relative; min-height: 0; overflow: hidden; border-radius: .9rem; }
.studio-preview-source { min-height: 7rem; background: #e9e1dc; }
.studio-preview-result { grid-area: 1 / 2 / 3 / 3; aspect-ratio: 4 / 5; background: #dfcfb8; }
.studio-preview-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio-preview-source img { top: 1.6rem; height: calc(100% - 1.6rem); object-fit: contain; }
.studio-preview-result img { object-position: 61% center; }
.studio-photo-label { position: absolute; z-index: 1; top: .45rem; left: .45rem; max-width: calc(100% - .9rem); padding: .25rem .48rem; border-radius: .45rem; background: #fff; font-size: .68rem; font-weight: 720; }
.studio-preview-result .studio-photo-label { top: auto; bottom: .45rem; color: #12664d; }
.studio-preview-status { padding: .5rem .6rem; border: 1px solid #dee6fb; border-radius: .8rem; background: #f0f4ff; font-size: .73rem; }
.studio-preview-status div { display: grid; gap: .13rem; color: var(--studio-muted); }
.studio-preview-status div + div { margin-top: .37rem; padding-top: .37rem; border-top: 1px solid #dce4f5; }
.studio-preview-status strong { color: #254079; }
.studio-preview-destinations { margin-top: .75rem; color: var(--studio-muted); font-weight: 650; }
.studio-market-pill { display: inline-flex; align-items: center; justify-content: center; padding: .35em .8em; border-radius: .6em; font-weight: 780; white-space: nowrap; }
.studio-ozon { color: #0749bd; background: #e3eeff; }
.studio-wb { color: #821491; background: #f7e3ff; }

.studio-hero-facts {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(87, 117, 188, .22);
    list-style: none;
}

.studio-hero-facts li { display: grid; gap: .3rem; padding: 0 1.15rem; }
.studio-hero-facts li:first-child { padding-left: 0; }
.studio-hero-facts li + li { border-left: 1px solid rgba(87, 117, 188, .22); }
.studio-hero-facts strong { font-size: clamp(1.12rem, 2vw, 1.48rem); letter-spacing: -.025em; }
.studio-hero-facts span { color: var(--studio-muted); font-size: .88rem; }

.studio-kicker { margin: 0 0 .55rem; color: var(--studio-blue); font-size: .78rem; font-weight: 780; letter-spacing: .075em; text-transform: uppercase; }
.studio-section-heading { margin-bottom: 1.6rem; }
.studio-section-heading h2 { max-width: 52rem; margin: 0; }
.studio-section-heading > p:last-child:not(.studio-kicker) { max-width: 45rem; margin: .85rem 0 0; color: var(--studio-muted); }
.studio-example h3 { margin: 0 0 .65rem; font-size: 1.15rem; }
.studio-frame-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.studio-frame { position: relative; margin: 0; padding: .48rem; border-radius: 1.2rem; }
.studio-frame:last-child { border-color: #a9c6fb; background: #eef4ff; }
.studio-frame img { aspect-ratio: 1; border-radius: .85rem; }
.studio-frame figcaption { display: grid; gap: .25rem; padding: .65rem .35rem .4rem; font-size: .83rem; }
.studio-frame figcaption strong { color: var(--ink); font-size: 1rem; }
.studio-operator { position: absolute; z-index: 1; top: 33%; right: -.95rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid #fff; border-radius: 50%; background: #e9f0ff; color: var(--studio-blue); font-weight: 800; }

.studio .studio-batch {
    background: linear-gradient(135deg, rgba(237, 247, 255, .88), rgba(240, 233, 255, .77));
}
.studio-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.studio-benefit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
    align-items: center;
    gap: .9rem;
    padding: .85rem;
    background: rgba(255, 255, 255, .68);
}
.studio-benefit > div { padding-inline: .25rem; }
.studio-benefit .studio-kicker { color: var(--studio-blue); }
.studio-benefit h3 { font-size: clamp(1.24rem, 2.35vw, 1.8rem); }
.studio-benefit p:last-child { margin: .65rem 0 0; color: var(--studio-muted); font-size: .92rem; }
.studio-benefit-preview {
    display: grid;
    gap: .42rem;
    border-radius: .85rem;
    color: var(--studio-blue);
    text-decoration: none;
}
.studio-benefit-preview img { display: block; width: 100%; height: auto; border-radius: inherit; }
.studio-benefit-preview span { display: flex; align-items: center; justify-content: center; gap: .25rem; font-size: .75rem; font-weight: 680; }
.studio-benefit-preview:hover span { text-decoration: underline; }
.studio-integration-details h3, .studio-plans h3 { font-size: 1.15rem; line-height: 1.2; }
.studio-integration-details p, .studio-plans article > p:not(.studio-price) { margin: .5rem 0 0; color: var(--studio-muted); font-size: .91rem; }

.studio-plans article { padding: 1rem; }
.studio-icon { display: inline-grid; place-items: center; width: 2.45rem; height: 2.45rem; flex: none; border: 1px solid #dce7ff; border-radius: .8rem; background: #eef3ff; color: var(--studio-blue); font-size: 1.15rem; }

.studio .studio-integrations {
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
    background: radial-gradient(ellipse at 92% 5%, #3c4587, transparent 64%), linear-gradient(140deg, #102c4a, #183960);
    box-shadow: 0 25px 65px rgba(14, 47, 80, .23);
}
.studio-integrations .studio-kicker { color: #a9caff; }
.studio-integrations .studio-section-heading > p:last-child,
.studio-integrations .studio-integration-details p { color: #d6e4f8; }
.studio-integration-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .9rem; }
.studio-integration-source, .studio-market-cards { display: flex; align-items: center; gap: .7rem; min-height: 5.3rem; padding: .85rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 1rem; background: rgba(255, 255, 255, .12); }
.studio-integration-source div { display: grid; gap: .3rem; }
.studio-integration-source div span { color: #d6e4f8; font-size: .85rem; }
.studio .studio-flow-arrow { width: 1.5rem; height: 1.5rem; color: #b9d3ff; }
.studio-market-cards { justify-content: center; flex-wrap: wrap; }
.studio-market-cards .studio-market-pill { font-size: clamp(.95rem, 2vw, 1.35rem); }
.studio-integration-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.studio-integration-details > div { padding-top: .85rem; border-top: 1px solid rgba(255, 255, 255, .23); }

.studio-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .85rem; }
.studio-plans dl { margin: .85rem 0 0; }
.studio-plans dl div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .5rem; padding: .5rem 0; border-top: 1px solid #dce4f8; font-size: .87rem; }
.studio-plans dd { margin: 0; font-weight: 720; }
.studio-plans .studio-price { margin: .5rem 0; }
.studio-price strong { color: var(--studio-blue); font-size: 1.65rem; }
.studio-faq { display: grid; gap: .55rem; }
.studio-faq details { margin: 0; padding: 0; border-radius: .9rem; }
.studio-faq summary { padding: .9rem 1rem; border-radius: inherit; color: var(--ink); font-weight: 680; cursor: pointer; }
.studio-faq summary::marker { color: var(--studio-blue); }
.studio-faq p { margin: 0; padding: 0 1rem 1rem; color: var(--studio-muted); }
.studio-final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.15rem; background: linear-gradient(125deg, #e6f2ff, #ece4ff); }
.studio-final h2 { margin: 0; }
.studio-final div > p:last-child { margin: .65rem 0 0; color: var(--studio-muted); }
.studio .studio-footer { grid-template-columns: 1fr auto; gap: 1.2rem; padding: clamp(1.4rem, 3vw, 2.5rem); }
.studio-footer nav { display: grid; align-content: start; gap: .7rem; }

@media (max-width: 900px) {
    .studio { --site-header-offset: 8rem; }
    .studio .studio-header { grid-template-columns: minmax(0, 1fr) auto; }
    .studio .studio-header > nav { grid-area: 2 / 1 / 3 / -1; }
    .studio .studio-header nav ul { justify-content: flex-start; }
    .studio .studio-header nav a { padding-block: .32rem; }
    .studio-frame-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .studio-frame:nth-child(2) .studio-operator { top: auto; right: auto; bottom: -.95rem; left: -.95rem; }
}

@media (max-width: 820px) {
    .studio-benefits { grid-template-columns: minmax(0, 1fr); }
    .studio-benefit { grid-template-columns: minmax(0, 1fr) minmax(0, 35%); }
}

@media (max-width: 690px) {
    .studio .studio-header { gap: .4rem .5rem; padding: .6rem .65rem; top: .5rem; }
    .studio .studio-header-action { padding: .48rem .65rem; font-size: .78rem; }
    .studio .studio-header-action svg { display: none; }
    .studio-brand { gap: .35rem; font-size: .83rem; }
    .studio-brand span { padding-left: .35rem; }
    .studio-brand img { width: 80px; }
    .studio .studio-header nav ul { justify-content: space-between; }
    .studio .studio-header nav a { padding-inline: .3rem; font-size: .76rem; white-space: normal; }
    .studio-hero { grid-template-columns: minmax(0, 1fr); }
    .studio-hero h1 { font-size: clamp(2.25rem, 9.25vw, 3.75rem); }
    .studio-preview { width: min(100%, 29rem); justify-self: center; }
    .studio-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .75rem; }
    .studio-hero-facts li { padding: 0 .55rem; }
    .studio-hero-facts li:nth-child(3) { border-left: 0; padding-left: 0; }
    .studio-hero-facts strong { font-size: .95rem; }
    .studio-hero-facts span { font-size: .75rem; }
    .studio-integration-details { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
}

@media (max-width: 530px) {
    .studio-benefit { grid-template-columns: minmax(0, 1fr); }
    .studio-benefit-preview { width: min(100%, 16rem); justify-self: center; }
}

@media (max-width: 435px) {
    .studio-preview { padding: .65rem; }
    .studio-preview-top, .studio-preview-destinations { font-size: .75rem; }
    .studio .studio-actions .button { width: 100%; }
    .studio-hero-facts { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
    .studio-hero-facts li { padding: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: .5rem; }
    .studio-hero-facts li + li { border-left: 0; padding-top: .45rem; border-top: 1px solid rgba(87, 117, 188, .16); }
    .studio .studio-footer { grid-template-columns: minmax(0, 1fr); }
    .studio-integration-flow { grid-template-columns: minmax(0, 1fr); justify-items: stretch; gap: .45rem; }
    .studio .studio-flow-arrow { justify-self: center; transform: rotate(90deg); }
    .studio-integration-source, .studio-market-cards { min-height: 3.5rem; }
}

@media (max-width: 365px) {
    .studio-brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.studio) { scroll-behavior: auto; }
    .studio .button { transition: none; }
}
