:root {
  color-scheme: light;
  --ink: #111923;
  --ink-2: #253348;
  --paper: #f7f5f1;
  --surface: #fff;
  --muted: #596372;
  --line: #cfd3d9;
  --plum: #7450bd;
  --plum-dark: #57369d;
  --cyan: #54b8e6;
  --green: #1d7a4f;
  --red: #b2342b;
  --container: 1240px;
  --font: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, sans-serif;
}

body.edition-ozon { --plum: #2c5ca5; --plum-dark: #173a7a; }
body.edition-marketplaces { --plum: #7450bd; --plum-dark: #57369d; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
h1, h2, h3, p, ol, ul, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.03; text-wrap: balance; }
h1 { margin-bottom: 26px; font-size: clamp(3rem, 5.2vw, 4.75rem); font-weight: 680; letter-spacing: -.055em; }
h2 { margin-bottom: 22px; font-size: clamp(2.35rem, 4.2vw, 3.75rem); font-weight: 680; letter-spacing: -.045em; }
h3 { margin-bottom: 11px; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -.025em; }
p { margin-bottom: 18px; }
code { font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; background: #fff; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 94%); color: var(--ink); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; font-size: 1.1rem; font-weight: 750; letter-spacing: -.025em; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) { color: var(--ink-2); font-size: 15px; font-weight: 640; text-decoration: none; }
.site-nav > a:not(.button):hover { color: var(--plum); }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; padding: 13px 20px; font-size: 16px; font-weight: 740; line-height: 1.2; text-align: center; text-decoration: none; transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
.button:hover { text-decoration: none; transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button--header { min-height: 40px; padding: 9px 16px; background: var(--ink); color: #fff; }
.button--accent, .button--primary { background: var(--plum); color: #fff; }
.button--accent:hover, .button--primary:hover { background: var(--plum-dark); }
.button--outline, .button--light { border-color: var(--ink); background: transparent; color: var(--ink); }
.button--outline:hover, .button--light:hover { background: var(--ink); color: #fff; }
.button--dark { background: var(--ink); color: #fff; }
.button--dark:hover { background: var(--plum-dark); }
.button--ghost { border-color: var(--line); background: transparent; }
.text-link { font-weight: 690; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--cyan); }

.hero-new { position: relative; overflow: hidden; background: #f4ecff; color: var(--ink); }
.hero-new::before { position: absolute; inset: 0 0 0 58%; background: #e3f5fd; content: ""; }
.hero-new::after { position: absolute; right: -42px; bottom: 90px; width: 132px; height: 220px; background: var(--cyan); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 77%, 0 100%); content: ""; }
.hero-new__head { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .55fr); align-items: end; gap: clamp(50px, 9vw, 130px); padding-block: 64px 48px; }
.hero-new__head h1 { max-width: 830px; margin: 0; }
.hero-new__intro { max-width: 450px; padding-bottom: 5px; }
.hero-new h1 { color: var(--ink); }
.word-wb { color: #6d42b8; }
.word-ozon { color: #1769aa; }
.hero-new__intro > p:not(.hero-note) { margin-bottom: 0; color: var(--ink-2); font-size: 19px; line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
.hero-actions .text-link { color: var(--ink); }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

.hero-workbench { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(390px, .9fr) 72px minmax(390px, .75fr); align-items: center; padding-bottom: 54px; }
.hero-input { align-self: center; border: 2px solid var(--ink); background: #fff; box-shadow: 14px 14px 0 #b89be9; }
.hero-input__head, .hero-input__foot { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 20px; }
.hero-input__head { border-bottom: 1px solid var(--line); }
.hero-input__head strong { font-size: 21px; }
.hero-input__head span, .hero-input__foot { color: var(--muted); font-size: 14px; }
.hero-input .raw-list { border-top: 0; padding-inline: 20px; }
.hero-input .raw-list > div { padding-block: 18px; }
.hero-input .raw-list code { font-size: clamp(1.45rem, 2.8vw, 2.55rem); }
.hero-input__foot { border-top: 1px solid var(--line); font-weight: 680; }
.flow-mark { color: var(--plum); font-family: var(--display); font-size: 58px; font-weight: 560; text-align: center; }

.product-shot { position: relative; z-index: 2; width: min(100%, 470px); margin: 0 0 0 auto; overflow: hidden; border: 1px solid #cbd6df; border-radius: 14px; background: #f6f7f9; box-shadow: 14px 14px 0 #58b9e4; }
.product-shot__bar { display: grid; height: 42px; grid-template-columns: 8px 8px 8px 1fr; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid #dfe3e8; background: #fff; color: #596372; }
.product-shot__bar span { width: 8px; height: 8px; border-radius: 50%; background: #c4cbd4; }
.product-shot__bar span:first-child { background: var(--plum); }
.product-shot__bar strong { justify-self: end; font-size: 13px; font-weight: 650; }
.product-shot > img { width: 100%; height: 470px; object-fit: cover; object-position: top; }
.product-shot figcaption { padding: 9px 14px 11px; background: #fff; color: #566171; font-size: 14px; }

.edition-strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.edition-strip::after { position: absolute; bottom: -1px; left: calc(50% - 24px); width: 48px; height: 22px; background: var(--paper); clip-path: polygon(0 100%, 50% 0, 100% 100%); content: ""; }
.edition-strip a { display: flex; min-height: 112px; align-items: center; gap: 14px; border-right: 1px solid var(--line); padding: 20px 28px; color: var(--ink); text-decoration: none; transition: filter 140ms ease; }
.edition-strip a:first-child { border-left: 1px solid var(--line); background: #fff; }
.edition-strip a:nth-child(2) { background: #eadfff; }
.edition-strip a:nth-child(3) { background: #dff3fc; }
.edition-strip a:hover { filter: saturate(1.3) brightness(.98); }
.edition-strip img { width: 48px; height: 48px; }
.edition-strip strong, .edition-strip small { display: block; }
.edition-strip strong { font-size: 18px; }
.edition-strip small { margin-top: 2px; color: var(--muted); font-size: 14px; }

.raw-list { border-top: 3px solid var(--ink); }
.raw-list > div { display: grid; grid-template-columns: 52px 1fr; align-items: baseline; gap: 18px; border-bottom: 1px solid #aeb4bd; padding: 23px 0; }
.raw-list span { color: var(--plum); font-size: 16px; font-weight: 760; }
.raw-list code { overflow-wrap: anywhere; font-size: clamp(1.6rem, 3.5vw, 3.15rem); font-weight: 620; letter-spacing: -.045em; }

.process { padding-block: clamp(80px, 9vw, 128px); border-top: 1px solid var(--line); background: #fff; }
.process h2 { max-width: 760px; margin-bottom: 58px; }
.process-line { border-top: 2px solid var(--ink); }
.process-line article { display: grid; grid-template-columns: 110px minmax(260px, .7fr) minmax(0, 1fr); align-items: baseline; gap: 28px; border-bottom: 1px solid var(--line); padding: 32px 0; }
.process-line h3, .process-line p { margin: 0; }
.process-number { display: block; color: var(--plum); font-family: var(--display); font-size: 44px; font-weight: 720; line-height: 1; }
.process-line p { max-width: 630px; color: var(--muted); }

.versions { padding-block: clamp(82px, 10vw, 140px); background: var(--paper); }
.versions__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr); align-items: end; gap: 50px; margin-bottom: 48px; }
.versions__head h2, .versions__head p { margin-bottom: 0; }
.versions__head p { color: var(--ink-2); font-size: 19px; }
.version-list { border-top: 2px solid var(--ink); }
.version-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 24px; border-bottom: 1px solid #aeb4bd; padding: 26px 20px; }
.version-row--main { background: #e8def9; color: var(--ink); }
.version-row img { width: 72px; height: 72px; }
.version-row h3 { margin-bottom: 5px; color: inherit; }
.version-row p { margin: 0; color: var(--muted); }
.version-row--main p { color: var(--ink-2); }
.version-row__actions { display: flex; align-items: center; gap: 18px; }
.version-row__actions > a:not(.button) { font-size: 15px; font-weight: 690; }
.version-row--main .button--light { border-color: var(--plum); background: var(--plum); color: #fff; }
.version-row--main .button--light:hover { border-color: var(--plum-dark); background: var(--plum-dark); color: #fff; }

.install { padding-block: clamp(78px, 9vw, 120px); background: var(--plum); color: #fff; }
.install__grid { display: grid; grid-template-columns: minmax(290px, .7fr) minmax(0, 1.2fr); gap: clamp(55px, 11vw, 150px); }
.install h2 { color: #fff; }
.install__grid > div p { max-width: 440px; color: #fff; font-size: 19px; }
.install ol { margin: 0; padding: 0; counter-reset: install; list-style: none; }
.install li { position: relative; display: grid; min-height: 92px; grid-template-columns: minmax(0, 1fr); align-content: center; border-top: 1px solid rgb(255 255 255 / 35%); padding: 18px 0 18px 82px; counter-increment: install; }
.install li:last-child { border-bottom: 1px solid rgb(255 255 255 / 35%); }
.install li::before { position: absolute; top: 21px; left: 0; color: #fff; content: "0" counter(install); font-family: var(--display); font-size: 36px; font-weight: 700; }
.install li strong, .install li span { display: block; }
.install li strong { font-size: 19px; }
.install li span { color: #fff; }
.install code { background: rgb(255 255 255 / 14%); padding: 2px 6px; }

.faq { padding-block: clamp(82px, 10vw, 140px); background: #fff; }
.faq__grid { display: grid; grid-template-columns: minmax(260px, .6fr) minmax(0, 1.2fr); gap: clamp(50px, 10vw, 140px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; cursor: pointer; grid-template-columns: 1fr 32px; align-items: center; gap: 18px; padding: 24px 0; font-size: 20px; font-weight: 690; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 28px; font-weight: 400; text-align: center; transition: transform 140ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; padding: 0 48px 24px 0; color: var(--muted); }

.download-end { padding-block: 48px; background: #dff3fc; color: var(--ink); }
.download-end__inner { display: flex; min-height: 170px; align-items: center; justify-content: space-between; gap: 28px; }
.download-end h2 { margin: 0; color: var(--ink); }

.site-footer { padding-block: 34px; border-top: 1px solid #d8d4cd; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; align-items: center; gap: 42px; }
.footer-grid p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; }
.footer-grid nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-grid nav a { font-size: 14px; font-weight: 650; }

/* Product and document pages */
.section { padding-block: clamp(72px, 9vw, 118px); }
.section--paper { background: var(--paper); }
.section--surface { background: #fff; }
.product-hero { padding-block: clamp(64px, 8vw, 105px); background: #f4ecff; color: var(--ink); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .58fr); align-items: center; gap: clamp(50px, 9vw, 120px); }
.product-hero h1 { color: var(--ink); overflow-wrap: anywhere; }
.product-hero-grid > *, .content-grid > * { min-width: 0; }
.product-hero .hero-lead { max-width: 690px; color: var(--ink-2); font-size: 21px; }
.product-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 20px; color: var(--muted); font-size: 15px; }
.independence { max-width: 700px; margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.product-page-shot { width: min(100%, 455px); margin: 0 0 0 auto; overflow: hidden; border: 1px solid #cbd6df; border-radius: 12px; background: #f6f7f9; box-shadow: 16px 16px 0 var(--cyan); }
.product-page-shot img { width: 100%; height: 510px; object-fit: cover; object-position: top; }
.product-page-shot figcaption { padding: 10px 14px 12px; background: #fff; color: #5f6978; font-size: 14px; }
.product-mark-stage { display: grid; min-height: 410px; place-items: center; border: 1px solid rgb(255 255 255 / 18%); background: #1c293a; clip-path: polygon(0 0, 100% 0, 100% 100%, 58% 100%, 50% 90%, 42% 100%, 0 100%); }
.product-mark-stage img { width: min(56%, 230px); height: auto; }
.product-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: #fff; }
.product-fact { border-right: 1px solid var(--line); padding: 24px; }
.product-fact:last-child { border-right: 0; }
.product-fact strong, .product-fact span { display: block; }
.product-fact span { color: var(--muted); font-size: 15px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(270px, .5fr); align-items: start; gap: clamp(55px, 9vw, 120px); }
.prose { max-width: 760px; }
.prose h2:not(:first-child) { margin-top: 62px; }
.prose p, .prose li { color: var(--ink-2); }
.prose li + li { margin-top: 8px; }
.side-card { position: sticky; top: 108px; border-top: 3px solid var(--ink); padding: 24px 0; }
.side-card img { width: 62px; height: 62px; margin-bottom: 18px; }
.side-card p { color: var(--muted); }
.side-card .button { width: 100%; }
.download-meta { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }
.install-steps { padding-left: 25px; }
.notice { border-left: 5px solid var(--plum); padding: 18px 20px; background: #fff; color: var(--ink-2); }
.final-cta { display: flex; min-height: 230px; align-items: center; justify-content: space-between; gap: 36px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding-block: 35px; }
.final-cta h2 { max-width: 540px; margin: 0; }
.final-cta p { max-width: 470px; margin: 0; color: var(--muted); }
.privacy-hero { padding-block: 72px 48px; background: #f4ecff; color: var(--ink); }
.privacy-hero h1 { color: var(--ink); overflow-wrap: anywhere; }
.privacy-meta { color: var(--muted); }

@media (max-width: 960px) {
  .hero-new__head { grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); gap: 42px; }
  .hero-workbench { grid-template-columns: minmax(350px, 1fr) 54px minmax(340px, .8fr); }
  .versions__head, .product-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .product-mark-stage { min-height: 340px; }
  .product-page-shot { margin-inline: auto; }
  .product-facts { grid-template-columns: repeat(2, 1fr); }
  .product-fact:nth-child(2) { border-right: 0; }
  .product-fact:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .nav-toggle { display: grid; }
  .js .site-nav { position: fixed; top: 76px; right: 0; left: 0; display: none; max-height: calc(100svh - 76px); flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; border-top: 1px solid var(--line); padding: 16px 18px 22px; background: #fff; }
  .js .site-nav[data-open="true"] { display: flex; }
  .site-nav > a:not(.button) { border-bottom: 1px solid var(--line); padding: 15px 4px; font-size: 17px; }
  .site-nav .button { margin-top: 16px; }
  .hero-new::before { inset: 48% 0 0; }
  .hero-new__head, .hero-workbench, .install__grid, .faq__grid, .content-grid { grid-template-columns: 1fr; }
  .hero-new__head { align-items: start; gap: 28px; padding-block: 50px 38px; }
  .hero-new__intro { max-width: 620px; }
  .hero-workbench { gap: 24px; }
  .flow-mark { transform: rotate(90deg); }
  .product-shot { width: min(100%, 520px); margin-inline: auto; }
  .edition-strip { margin-top: 35px; }
  .edition-strip a { padding-inline: 18px; }
  .process-line article { grid-template-columns: 70px 1fr; gap: 18px; padding: 28px 0 32px; }
  .process-line p { grid-column: 2; }
  .version-row { grid-template-columns: 72px 1fr; }
  .version-row__actions { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid nav { justify-content: flex-start; }
  .side-card { position: static; max-width: 520px; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  h1 { font-size: clamp(2.7rem, 13vw, 3.7rem); }
  h2 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .header-inner { min-height: 68px; }
  .brand img { width: 38px; height: 38px; }
  .js .site-nav { top: 68px; max-height: calc(100svh - 68px); }
  .hero-new__head { padding-block: 40px 30px; }
  .hero-new::after { display: none; }
  .hero-new__intro > p:not(.hero-note) { font-size: 18px; }
  .hero-workbench { padding-bottom: 40px; }
  .hero-input { box-shadow: 8px 8px 0 #b89be9; }
  .hero-input__head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .hero-input__foot { align-items: flex-start; flex-direction: column; gap: 4px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { padding: 8px 0; text-align: center; }
  .product-shot { box-shadow: 8px 8px 0 #58b9e4; }
  .product-shot > img { height: 480px; }
  .edition-strip { grid-template-columns: 1fr; padding-bottom: 22px; }
  .edition-strip a, .edition-strip a:first-child { min-height: 86px; border-right: 0; border-left: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; }
  .edition-strip::after { bottom: -1px; }
  .raw-list > div { grid-template-columns: 36px 1fr; gap: 10px; }
  .raw-list code { font-size: 1.75rem; }
  .process h2 { margin-bottom: 32px; }
  .versions__head { gap: 18px; }
  .version-row { grid-template-columns: 56px 1fr; gap: 16px; padding-inline: 0; }
  .version-row img { width: 56px; height: 56px; }
  .version-row__actions { align-items: stretch; flex-direction: column; }
  .version-row__actions .button { width: 100%; }
  .install li { padding-left: 62px; }
  .download-end__inner, .final-cta { align-items: stretch; flex-direction: column; justify-content: center; }
  .download-end .button { width: 100%; }
  .product-facts { grid-template-columns: 1fr; }
  .product-fact, .product-fact:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-mark-stage { min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
