/* Подробные страницы лендинга Cabigen: палитра и типографика главной (landing.html) */
:root { --ink: #202B39; --lime: #B8F34A; --paper: #F4F5F2; --muted: #5f6a72; --line: rgba(32,43,57,.14); --shadow: 0 24px 80px rgba(32,43,57,.12); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.w { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3 { margin: 0; letter-spacing: -.04em; }
h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1; font-weight: 900; }
h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; font-weight: 850; margin-bottom: 16px; }
.top { position: sticky; top: 0; z-index: 20; padding: 12px 0; background: rgba(244,245,242,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(32,43,57,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.back { padding: 10px 14px; border-radius: 999px; background: #e7eae4; font-size: 14px; font-weight: 800; }
.back:hover { background: #dde2da; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 850; letter-spacing: -.05em; }
.brand img { display: block; width: 32px; height: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; color: var(--paper); background: var(--ink); font-size: 14px; font-weight: 800; }
.btn.lime { color: var(--ink); background: var(--lime); }
.btn.ghost { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #5f6b75; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 850; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(184,243,74,.2); }
.hero { padding: 56px 0 28px; }
.hero h1 { margin-top: 18px; max-width: 900px; }
.lead { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.facts li { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.view { padding: 22px 0; }
.cap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0; color: #6f7a80; font-size: 13px; }
.live { padding: 3px 9px; border-radius: 99px; color: var(--ink); background: var(--lime); font-size: 11px; font-weight: 850; }
.more { color: #6f7a80; font-size: 13px; }
/* документ из программы во встроенном окне */
.docwrap { display: grid; gap: 22px; }
.docwrap.withphone { grid-template-columns: 240px 1fr; align-items: start; }
.phone { position: sticky; top: 80px; padding: 7px; border-radius: 30px; background: var(--ink); box-shadow: var(--shadow); }
.phone img { border-radius: 24px; }
.docframe { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.docbar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #eef0eb; font-size: 12px; color: #6f7a80; }
.docbar i { width: 9px; height: 9px; border-radius: 50%; background: #c9cfc6; }
.docbar i:first-child { background: var(--lime); }
.docbar span { margin-left: 6px; }
.docbar a { margin-left: auto; color: var(--ink); font-weight: 800; }
.docframe iframe { display: block; width: 100%; border: 0; background: #fff; }
/* фрагмент программы с приближением */
.fragwrap { position: relative; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.frag { max-height: 80vh; overflow: auto; padding: 18px; }
.frag-in { transform-origin: 0 0; }
.zoombar { position: sticky; top: 70px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0 12px; padding: 5px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.zoombar button { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font-size: 16px; }
.zoombar span { min-width: 46px; text-align: center; }
.frag h3 { margin: 18px 0 10px; font-size: 16px; letter-spacing: -.02em; }
.frag .sheets { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.frag .cut-sheet { margin: 0; }
.frag .cut-sheet svg { width: 100%; height: auto; border: 1px solid #e3e6df; }
.frag .cut-sheet figcaption { color: #6f7a80; font-size: 12px; }
.frag table, .tbl table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.frag th, .frag td, .tbl th, .tbl td { padding: 8px 10px; border-bottom: 1px solid #eef1ec; text-align: left; vertical-align: top; }
.frag th, .tbl th { position: sticky; top: 0; color: #5f6a72; background: #fafbf9; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.tbl { max-height: 75vh; overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.frag .badge, .frag .pill { padding: 2px 7px; border-radius: 99px; background: #f3f0d7; font-size: 11px; }
.frag svg:not(.cut-sheet svg) { max-height: 18px; vertical-align: middle; }
h3.zone { margin: 22px 0 10px; font-size: 18px; }
/* код программы */
.code { margin-top: 18px; overflow: hidden; border-radius: 18px; background: #18212c; color: #d6e2e2; box-shadow: var(--shadow); }
.code-h { display: flex; justify-content: space-between; gap: 10px; padding: 10px 16px; background: #202B39; font-size: 12px; }
.code-h b { color: var(--lime); }
.code-h span { color: #8f9ca2; }
.code pre { max-height: 420px; margin: 0; padding: 14px 16px; overflow: auto; font: 12px/1.55 ui-monospace, Consolas, monospace; }
.code pre i { display: inline-block; width: 40px; color: #5d6b76; font-style: normal; user-select: none; }
/* скриншоты с увеличением */
.shot { position: relative; display: block; width: fit-content; max-width: 100%; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); cursor: zoom-in; }
.shot img { max-width: 100%; height: auto; }
.shot span { position: absolute; right: 12px; bottom: 12px; padding: 6px 11px; border-radius: 99px; color: #fff; background: rgba(32,43,57,.85); font-size: 12px; font-weight: 800; }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(20,26,34,.92); cursor: zoom-out; }
.lightbox img { max-width: calc(100vw - 48px); max-height: calc(100vh - 48px); width: auto; height: auto; border-radius: 12px; }
.lightbox::after { content: "Esc или щелчок — закрыть"; position: fixed; top: 14px; right: 18px; color: #c9d2d3; font-size: 13px; }
/* как работает */
.how { padding: 40px 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { position: relative; padding: 14px 16px 14px 56px; border-radius: 16px; background: #fff; border: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--lime); font-weight: 900; font-size: 13px; }
.gains { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.gains li { position: relative; padding-left: 26px; }
.gains li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #4d7a0e; font-weight: 900; }
.rel { padding: 20px 0 40px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.rel-grid a { display: flex; justify-content: space-between; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 800; }
.rel-grid a:hover { border-color: #6f9d1a; }
.rel-grid span { color: #6f9d1a; }
.cta { padding: 70px 0 80px; text-align: center; background: var(--lime); }
.cta p { margin: 8px 0 22px; color: #3f5222; }
@media (max-width: 860px) { .grid2, .pics, .docwrap.withphone { grid-template-columns: 1fr; } .phone { position: static; width: 220px; margin: 0 auto; } .frag .sheets { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .w { width: calc(100% - 32px); } .top .btn { display: none; } .hero { padding-top: 34px; } }
.hero-cta { margin: 24px 0 0; } .hero-cta .btn { min-height: 52px; padding: 0 24px; color: var(--lime); font-size: 16px; }
/* GEO: короткий ответ, путь, разделы-вопросы, частые вопросы */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: #6f7a80; font-size: 13px; font-weight: 700; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs i { font-style: normal; color: #9aa4a8; }
.crumbs span { color: var(--ink); }
.answer { max-width: 820px; margin: 22px 0 0; padding: 16px 20px; border-left: 4px solid var(--lime); border-radius: 0 16px 16px 0; background: #fff; font-size: 17px; line-height: 1.55; }
.answer b { font-weight: 850; }
h2.mt { margin-top: 28px; }
.secs { padding: 20px 0; }
.secs .w { display: grid; gap: 36px; }
.sec { max-width: 920px; }
.sec > p { margin: 0 0 14px; color: #34404c; font-size: 16px; }
.sec .tbl { max-height: none; margin-top: 4px; }
.sec .more { margin-top: 10px; }
.faq { padding: 36px 0; }
.faq .w > h2 { margin-bottom: 18px; }
.qa { max-width: 920px; padding: 18px 20px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.qa h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.02em; }
.qa p { margin: 0; color: #34404c; }
@media (max-width: 600px) { .answer { font-size: 16px; padding: 14px 16px; } .tbl table { font-size: 12px; } }
