/* kubivo.ru: local Cyrillic fonts and the Russian type scale. Loaded after kubivo.com's fluid.css. */
@font-face{font-family:"Onest";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/onest-cyrillic-wght-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/onest-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-cyrillic-wght-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-display:swap;font-weight:700;src:url(fonts/jetbrains-mono-cyrillic-700-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-display:swap;font-weight:700;src:url(fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20BD}

:root{
  --k-display:"Calibri","Carlito","Onest","Segoe UI",system-ui,sans-serif;
  --k-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --k-mono:var(--k-display);
  --kv-head:var(--k-display);
  --kv-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
}
body,.k2{font-family:var(--k-body)}
/* Russian words run longer: a slightly tighter display scale and hyphenation where it helps */
.k2 .k-h1{font-size:clamp(38px,5.4vw,74px)}
.k2 .k-h2{font-size:clamp(30px,3.9vw,54px)}
/* Hero headline: two deliberate lines, marker swipe on the punchline (12 Oct 2026).
   "Конструктор, на котором" sits on one line; "можно сидеть!" is the highlighted second line. */
.k2 .k-h1--hero{font-size:clamp(34px,4.5vw,60px);line-height:1.06;letter-spacing:-.02em}
.k2 .k-h1--hero .k-ln{display:block}
.k2 .k-h1--hero .k-ln+.k-ln{margin-top:.06em}
.k2 .k-h1--hero .k-hl::after{left:-4px;right:-5px;bottom:.05em;height:.42em;transform:skew(-6deg);border-radius:8px;opacity:.9}
@media (min-width:1081px){.k2 .k-hero__grid{grid-template-columns:1.2fr 1fr}}
/* keep the two-line shape on phones too: shrink so "Конструктор, на котором" stays on one line */
@media (max-width:640px){.k2 .k-h1--hero{font-size:clamp(25px,8.2vw,34px)}}
.k2 p,.kv-page p,.kv-doc li{hyphens:auto;-webkit-hyphens:auto}
.kv-tbd{background:#FFF1A8;border-radius:4px;padding:0 4px;font-weight:600}
.kv-doc ol,.kv-doc ul{padding-left:22px}
.kv-doc h2{margin-top:30px}
