/* Лендинг Принтаксиса — брендбук 1.1: графит и бумага, знак CMYK, оранжевый для действий.
   Шрифты лежат рядом (лицензия OFL — fonts/OFL-*.txt), внешних запросов нет. */
@font-face { font-family: "Onest"; font-weight: 600; font-display: swap; src: url(fonts/onest-cyrillic-600-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-weight: 600; font-display: swap; src: url(fonts/onest-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20BD,U+2212; }
@font-face { font-family: "Onest"; font-weight: 700; font-display: swap; src: url(fonts/onest-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: "Onest"; font-weight: 700; font-display: swap; src: url(fonts/onest-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20BD,U+2212; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20BD,U+2212; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20BD,U+2212; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600 700; font-display: swap; src: url(fonts/ibm-plex-sans-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600 700; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F,U+20BD,U+2212; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F; }

:root {
  --paper: #f3f1ea; --graphite: #1a1d23; --graphite-2: #252932; --white: #fff;
  --c: #00a7c4; --m: #e5197b; --y: #f4c20d; --action: #e8552d; --action-hover: #cf4520;
  --text: #1a1d23; --muted: #5d6470; --line: #dedad0; --line-dark: #343944;
  --ok: #12805c; --ok-weak: #e3f4ec; --warn: #9a5200; --warn-weak: #fdf1e2; --bad: #c0362c; --bad-weak: #fbe9e7;
  --radius: 14px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Onest", var(--font);
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.55 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }
.mono { font-family: var(--font-mono); }

/* Знак: четыре квадрата, четвёртый — белый на графите, графитовый на светлом */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--white); text-decoration: none; letter-spacing: -.01em; }
.mark { display: inline-grid; grid-template-columns: repeat(2, 9px); gap: 2px; }
.mark i { width: 9px; height: 9px; display: block; }
.mark i:nth-child(1) { background: var(--c); } .mark i:nth-child(2) { background: var(--m); }
.mark i:nth-child(3) { background: var(--y); } .mark i:nth-child(4) { background: var(--white); }
.logo-dark { color: var(--text); }
.logo-dark .mark i:nth-child(4) { background: var(--graphite); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px;
       font: 600 16px/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn-action { background: var(--action); color: var(--white); }
.btn-action:hover { background: var(--action-hover); }
.btn-ghost { border-color: #4a505c; color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 16px 28px; font-size: 18px; }

/* Шапка */
.nav-bar { position: sticky; top: 0; z-index: 20; background: rgba(26, 29, 35, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: #c9ced6; text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--white); }

/* Первый экран */
.hero { position: relative; background: var(--graphite); color: var(--white); padding: 72px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #c9ced6; letter-spacing: .02em; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px rgba(0, 167, 196, .2); }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; font-weight: 700; }
.hl { color: var(--y); }
.lead { font-size: 19px; color: #c9ced6; margin-top: 22px; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #aab1bc; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 14px; height: 14px; flex: none;
  background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.2l3 3 6-6.4' fill='none' stroke='%2300a7c4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hero-shot { margin: 0; }
.hero-shot figcaption { font-size: 13px; color: #7d8592; margin-top: 10px; text-align: right; }
.browser { border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #2b2f38; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a505c; }
.browser-bar span { margin-left: 12px; font: 12px var(--font-mono); color: #8a919d; }
.cmyk { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; display: grid; grid-template-columns: repeat(4, 1fr); }
.cmyk i:nth-child(1) { background: var(--c); } .cmyk i:nth-child(2) { background: var(--m); }
.cmyk i:nth-child(3) { background: var(--y); } .cmyk i:nth-child(4) { background: var(--white); }

/* Секции */
.section { padding: 96px 0; }
.section-paper { background: var(--paper); }
.section-dark { position: relative; background: var(--graphite); color: var(--white); }
.kicker { font: 600 13px/1 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--m); margin-bottom: 14px; }
.kicker-light { color: var(--y); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; max-width: 22ch; }
.text { font-size: 18px; color: var(--muted); margin-top: 20px; max-width: 36em; }
.text-s { font-size: 15px; color: var(--muted); margin-top: 18px; }
.muted { color: var(--muted); }
.muted-s { color: var(--muted); font-size: 13px; }
.center-s { margin-bottom: 8px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.card h3 { font-size: 22px; }
.card p { margin-top: 10px; color: var(--muted); }
.pain-num { font: 700 15px var(--font-mono); color: var(--action); display: block; margin-bottom: 18px; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--ok-weak)
  no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.2l3 3 6-6.4' fill='none' stroke='%2312805c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.split-rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

/* Сверка — живая HTML-иллюстрация */
.recon { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 20px 50px rgba(26, 29, 35, .08); }
.recon-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.recon-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 20px; }
.recon-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.recon-kpis b { font: 700 21px/1.1 var(--font-head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.recon-kpis span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.recon-kpis .bad { background: var(--bad-weak); border-color: transparent; }
.recon-kpis .bad b { color: var(--bad); }
.recon-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.recon-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.recon-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.recon-table tr:last-child td { border-bottom: 0; }
.recon-table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sub { display: block; font-size: 12px; color: var(--muted); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.tag.ok { background: var(--ok-weak); color: var(--ok); } .tag.warn { background: var(--warn-weak); color: var(--warn); }
.tag.bad { background: var(--bad-weak); color: var(--bad); }
.tag-demo { background: var(--paper); color: var(--muted); }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-top: 3px solid var(--graphite); background: var(--white); }
.steps li:nth-child(1) { border-color: var(--c); } .steps li:nth-child(2) { border-color: var(--m); } .steps li:nth-child(3) { border-color: var(--y); }
.step-n { font: 700 48px/1 var(--font-head); color: var(--line); display: block; margin-bottom: 14px; }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); margin-top: 10px; }

/* Возможности */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feat { background: var(--white); padding: 28px; }
.feat h3 { font-size: 19px; margin-top: 16px; }
.feat p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.ico { display: block; width: 14px; height: 14px; }
.ico.c { background: var(--c); } .ico.m { background: var(--m); } .ico.y { background: var(--y); } .ico.k { background: var(--graphite); }

/* Парк */
.shot { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(26, 29, 35, .15), 0 0 0 1px var(--line); }
.brands { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.brands li { padding: 9px 16px; border: 1.5px solid var(--graphite); border-radius: 999px; font-weight: 600; font-size: 15px; }

/* Контур */
.kontur { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.k-item { padding: 26px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--graphite-2); }
.k-item h3 { font-size: 20px; }
.k-item p { color: #aab1bc; font-size: 15.5px; margin-top: 10px; }

/* Кому */
.who .muted { margin-top: 6px; }

/* Цены */
.prices { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; margin-top: 36px; align-items: start; }
.price { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.price-main { border: 2px solid var(--graphite); }
.price-tag { font: 600 12px/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.price h3 { font-size: 24px; margin-top: 10px; }
.price-v { margin-top: 18px; display: flex; flex-direction: column; }
.price-v b { font: 700 38px/1.1 var(--font-head); font-variant-numeric: tabular-nums; }
.price-v span { color: var(--muted); font-size: 15px; }
.price-alt { font-size: 14px; color: var(--muted); margin-top: 10px; padding-bottom: 4px; }
.price .checks { font-size: 15.5px; }
.price-notes { margin-top: 28px; display: grid; gap: 8px; font-size: 15.5px; color: var(--muted); }
.price-notes b { color: var(--text); }

/* Вопросы */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 600 19px/1.35 var(--font-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 28px/1 var(--font); color: var(--m); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 44em; }

/* Заявка */
.cta { padding: 88px 0 110px; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.lead-light { color: #c9ced6; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-note { color: #aab1bc; font-size: 15px; }

/* Подвал */
.footer { background: var(--paper); padding: 36px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.footer-inner .muted-s { margin-left: auto; }

/* Планшет */
@media (max-width: 1020px) {
  .hero-grid, .split, .split-rev, .cta-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split-rev .shot { order: 2; }
  .kontur { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
}
/* Телефон */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 44px 0 72px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .cards-3, .cards-2, .steps, .features, .kontur { grid-template-columns: minmax(0, 1fr); }
  .recon { padding: 16px; }
  .recon-kpis { grid-template-columns: minmax(0, 1fr); }
  .recon-kpis div { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
  .recon-kpis span { text-align: right; }
  .recon-table { font-size: 13.5px; }
  .recon-table th, .recon-table td { padding-left: 4px; padding-right: 4px; }
  .recon-table .tag { white-space: normal; font-size: 11.5px; }
  .card, .feat, .price, .steps li, .k-item { padding: 22px; }
  .nav-inner { gap: 12px; }
  .logo { font-size: 20px; }
  .btn-lg { width: 100%; }
  .cta-actions { align-items: stretch; }
  .footer-inner .muted-s { margin-left: 0; }
}

/* Страницы документации и поддержки */
.page-head { position: relative; background: var(--graphite); color: var(--white); padding: 56px 0 72px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; font-weight: 700; }
.page-head .lead { margin-top: 14px; }
.crumbs { font-size: 14px; color: #aab1bc; margin-bottom: 18px; }
.crumbs a { color: #c9ced6; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 96px; }
.toc { position: sticky; top: 88px; align-self: start; font-size: 15px; }
.toc p { font: 600 12px/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 4px 0 4px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); border-left-color: var(--m); }
.prose { max-width: 760px; }
.prose section + section { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.prose h2 { font-size: 30px; line-height: 1.15; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose p, .prose ul, .prose ol { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: #1f4fd6; }
.prose code { font: 14.5px var(--font-mono); background: var(--paper); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.prose pre { margin-top: 14px; background: var(--graphite); color: #e7eaee; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font: 14px/1.6 var(--font-mono); }
.prose pre code { background: none; padding: 0; color: inherit; overflow-wrap: normal; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.callout { margin-top: 18px; padding: 16px 18px; border-radius: 10px; background: var(--paper); border-left: 4px solid var(--y); font-size: 15.5px; }
.callout b { display: block; margin-bottom: 4px; }
.nav-links a[aria-current="page"] { color: var(--white); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); }
@media (max-width: 1020px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; }
}
@media (max-width: 680px) {
  .page-head { padding: 40px 0 60px; }
  .doc { padding-top: 36px; padding-bottom: 64px; }
  .prose h2 { font-size: 25px; }
  .prose pre { font-size: 12.5px; padding: 14px; }
}
.legal { flex-basis: 100%; font-size: 13px; color: var(--muted); }
