/* Housebook: колода для агентов. Токены и законы кита (kit/hb.css, брендбук v2).
   Слайд - секция 1920x1080. Три режима: печать (@page 1920x1080, по слайду на страницу),
   экран от 1000 px (слайд масштабируется под окно, scroll-snap), телефон до 999 px (секции
   превращаются в вертикальный поток). Цвета только токенами; #00732D на мелком, нефрит на
   крупных плоскостях; заголовки Geologica 600, текст и все числа IBM Plex Sans. */

@font-face { font-family: "Geologica"; src: url("assets/fonts/geologica-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  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+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geologica"; src: url("assets/fonts/geologica-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/plex-sans-latin.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap;
  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+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/plex-sans-latin-ext.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/plex-sans-cyrillic.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/plex-sans-cyrillic-ext.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap;
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }

:root {
  --page: #F3F8FC; --card: #FFFFFF; --sunken: #EDF2F5; --tint: #DAF1DC; --line: #E2E7EA;
  --ink: #121517; --ink-2: #4D5254; --ink-3: #656A6D;
  --accent: #00732D; --accent-hover: #005820; --jade: #0E6A40; --jade-hover: #0B5533;
  --on-jade-2: #E2E7EA; --on-jade-3: #CFE3D6; --on-jade-acc: #DAF1DC;
  --e1: 0 1px 2px rgba(18,21,23,.06); --e2: 0 10px 30px -12px rgba(18,21,23,.16); --e3: 0 24px 60px -24px rgba(18,21,23,.22);
  --r-l: 14px; --r-xl: 16px; --r-xxl: 20px;
  --font-display: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --top-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--page); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink-2); font: 400 16px/1.5 var(--font-ui); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
h1, h2, h3, p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- слайд: холст 1920x1080 ---------- */
.slide { position: relative; width: 1920px; height: 1080px; overflow: hidden; background: var(--page); padding: 72px 96px 96px; isolation: isolate; }
.slide.jade { background: var(--jade); color: var(--on-jade-2); }
.slide > .in { position: relative; z-index: 1; height: 100%; display: grid; }
.foot { position: absolute; left: 96px; right: 96px; bottom: 0; height: 84px; z-index: 2; display: flex; align-items: center; gap: 18px; font: 500 16px/1.3 var(--font-ui); color: var(--ink-3); }
.foot .mark { width: auto; height: 28px; }
.foot .num { font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.foot .src { margin-left: auto; text-align: right; }
.jade .foot, .foot--jade { color: var(--on-jade-3); }
.foot--l .src { margin-left: 22px; text-align: left; }
.jade .foot .num, .foot--jade .num { color: #FFFFFF; }

/* типографика по киту, размеры холста по брифу */
.kicker { font: 600 22px/28px var(--font-display); color: var(--accent); }
.jade .kicker { color: var(--on-jade-acc); }
h1 { font: 600 64px/1.15 var(--font-display); color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
h2 { font: 600 58px/1.15 var(--font-display); color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
.jade h1, .jade h2 { color: #FFFFFF; }
.head { display: grid; gap: 14px; align-content: start; }
.lead { font: 400 25px/1.5 var(--font-ui); color: var(--ink-2); text-wrap: pretty; }
.jade .lead { color: var(--on-jade-2); }
.h3 { font: 600 26px/1.25 var(--font-display); color: var(--ink); text-wrap: balance; }
.txt { font: 400 21px/1.5 var(--font-ui); color: var(--ink-2); text-wrap: pretty; }
.cap { font: 400 17px/1.4 var(--font-ui); color: var(--ink-3); }
.big { display: inline-grid; justify-items: start; font: 600 144px/1 var(--font-ui); color: var(--ink); letter-spacing: -.03em; white-space: nowrap; }
.roof { display: block; width: .58em; height: .2em; margin-bottom: .16em; fill: var(--accent); }
.jade .big { color: #FFFFFF; } .jade .roof { fill: #FFFFFF; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--e1); }
.icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--tint); color: var(--accent); font-size: 32px; flex: none; }
.stepn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--tint); color: var(--accent); font: 600 24px/1 var(--font-ui); flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 68px; padding: 0 34px; border-radius: var(--r-l); border: 1px solid var(--accent); background: var(--accent); color: #FFFFFF; font: 600 23px/1.1 var(--font-ui); text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--inv { background: #FFFFFF; border-color: #FFFFFF; color: var(--jade); }
.btn--inv:hover { background: var(--tint); border-color: var(--tint); }
.btn .ic { font-size: 26px; }
.link { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.jade .link, .on-jade .link { color: #FFFFFF; }

.qr { display: grid; justify-items: center; gap: 10px; padding: 18px 18px 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-xl); text-decoration: none; color: var(--ink-2); box-shadow: var(--e2); }
.qr svg { display: block; width: 176px; height: 176px; }
.qr span { font: 600 15px/1.25 var(--font-ui); text-align: center; }

/* ---------- скриншот: тонкая рамка, радиус 14, тень e2, подпись ---------- */
.shot { display: grid; gap: 12px; align-content: start; min-width: 0; }
.shot .frame, .lb__frame { position: relative; display: block; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--e2); cursor: zoom-in; container-type: inline-size; }
.lb__frame img { width: 100%; height: auto; }
/* поле уходит за край кадра: плашка тоже, без правой рамки и скругления */
.plate--open { border-right: 0; border-radius: 14px 0 0 14px; }
/* плашка кита поверх поля с адресом дев-стенда: закрывает поле целиком вместе с его рамкой */
.plate { position: absolute; z-index: 2; display: flex; align-items: center; padding: 0 1.4em; background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-family: var(--font-ui); font-weight: 600; line-height: 1; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot .frame img { width: 100%; height: auto; }
.shot figcaption { display: flex; align-items: baseline; gap: 14px; font: 400 17px/1.4 var(--font-ui); color: var(--ink-3); }
.shot figcaption .demo { margin-left: auto; }
.demo { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--sunken); color: var(--ink-3); font: 500 14px/20px var(--font-ui); white-space: nowrap; }
.shot--phone .frame { border-radius: 30px; }
.shot--zoom .frame { border-radius: var(--r-xl); box-shadow: var(--e3); }
.mk { position: absolute; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--accent); color: #FFFFFF; font: 600 17px/1 var(--font-ui); box-shadow: 0 0 0 4px rgba(255,255,255,.9); }
.ph { display: grid; place-items: center; min-height: 240px; padding: 24px; border: 1px dashed var(--ink-3); border-radius: var(--r-l); background: var(--sunken); color: var(--ink-3); font: 500 16px/1.4 var(--font-ui); text-align: center; }

/* ---------- паттерны кита: только задник, текст на плашке ---------- */
.band { position: absolute; left: 96px; right: 96px; height: 160px; z-index: 0; border: 1px solid var(--line); border-radius: var(--r-xxl); background-color: var(--card); background-repeat: repeat; background-position: center; }
.band--krovli { background-image: url("assets/patterns/krovli-podlozhka.svg"); background-size: 600px auto; }
.band--znaki { background-image: url("assets/patterns/znaki-bumaga.svg"); background-size: 560px auto; }
.band--shah { background-image: url("assets/patterns/shahmatka-bumaga.svg"); background-size: 400px auto; }
.band--izo { background-image: url("assets/patterns/izometriya-bumaga.svg"); background-size: 558px auto; }
.bgpat { position: absolute; z-index: 0; pointer-events: none; }
.bg-izo { background: url("assets/patterns/izometriya-bumaga.svg") 0 0 / 1004px auto repeat; opacity: .45; }
.planet { background: url("assets/patterns/planeta-zelenyy.svg") 50% 50% / cover no-repeat; }

/* ---------- 01 обложка ---------- */
.s01 .planet { right: 0; top: 0; bottom: 0; width: 39%; background-size: auto 100%; background-position: 34% 50%; }
.s01 .in { width: 1000px; grid-template-rows: auto auto auto auto auto 1fr; align-content: start; }
.s01 .logo { width: 236px; height: auto; margin-bottom: 52px; }
.s01 .kicker { margin-bottom: 18px; }
.s01 h1 { font-size: 62px; }
.route { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; position: relative; }
.route::before { content: ""; position: absolute; left: 40px; right: 40px; top: 50%; height: 2px; background: rgba(255,255,255,.55); z-index: 0; }
.route li { position: relative; z-index: 1; display: grid; gap: 6px; padding: 20px 24px; background: #FFFFFF; border-radius: var(--r-xl); box-shadow: var(--e2); }
.route li span { font: 600 15px/1 var(--font-ui); color: var(--accent); letter-spacing: .04em; }
.route li b { font: 600 25px/1.2 var(--font-display); color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pills li { padding: 10px 20px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; font: 500 20px/1.3 var(--font-ui); color: #FFFFFF; }
.s01 .cover-stat { margin-top: 30px; font: 500 24px/1.4 var(--font-ui); color: var(--on-jade-acc); }
.s01 .cta-row { align-self: end; display: flex; align-items: center; gap: 28px; padding-bottom: 8px; }
.s01 .cta-row .link { font-size: 22px; }
.s01 .qr { position: absolute; right: 96px; bottom: 112px; z-index: 2; }

/* ---------- 02 рынок в цифрах ---------- */
.s02 .band { top: 40px; }
.s02 .in { padding-top: 168px; grid-template-columns: 640px 1fr; grid-template-rows: auto auto 1fr; column-gap: 56px; row-gap: 0; grid-template-areas: "head head" "lead lead" "stats table"; }
.s02 .head { grid-area: head; }
.s02 .lead { grid-area: lead; margin: 14px 0 30px; font-size: 24px; }
.s02 h2 { font-size: 56px; }
.s02 .stats { grid-area: stats; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.stat { display: grid; gap: 6px; align-content: start; padding: 26px 28px; }
.stat--main { grid-column: 1 / -1; padding: 30px 32px 28px; }
.stat b { font: 600 64px/1 var(--font-ui); color: var(--ink); letter-spacing: -.02em; }
.stat .stat__l { font: 600 23px/1.25 var(--font-display); color: var(--ink); }
.stat small { font: 400 17px/1.4 var(--font-ui); color: var(--ink-3); }
.stat--main .big { margin-bottom: 4px; }
.s02 .tablewrap { grid-area: table; padding: 4px 28px 18px; align-self: start; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { padding: 16px 0 14px; font: 600 17px/1.3 var(--font-display); color: var(--ink-3); text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl td { padding: 13px 0 13px 24px; font: 600 22px/1.3 var(--font-ui); color: var(--ink); text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td:first-child { padding-left: 0; font: 500 21px/1.3 var(--font-ui); color: var(--ink); }
.tbl tr:last-child td { border-bottom: 0; }
.s02 .tablewrap .cap { margin-top: 10px; }

/* ---------- 03 задачи ---------- */
.s03 .band { bottom: 96px; }
.s03 .in { grid-template-rows: auto 1fr; row-gap: 40px; padding-bottom: 196px; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 24px; }
.cards4 li { display: flex; flex-direction: column; gap: 16px; padding: 44px 36px 36px; }
.cards4 .icon { width: 72px; height: 72px; border-radius: 18px; font-size: 36px; margin-bottom: 10px; }
.cards4 .h3 { font-size: 30px; }
.cards4 .txt { font-size: 23px; line-height: 1.5; }

/* ---------- 04 путь 1 ---------- */
.s04 .bg-izo { right: 0; top: 204px; width: 32%; height: 640px; border-top-left-radius: 24px; -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 100%); mask-image: linear-gradient(to left, #000 35%, transparent 100%); }
.s04 .in { grid-template-columns: 600px 1fr; grid-template-rows: auto 1fr auto; column-gap: 64px; row-gap: 34px; grid-template-areas: "head head" "steps shots" "money money"; }
.s04 .head { grid-area: head; }
.steps { display: grid; gap: 22px; align-content: start; }
.steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; row-gap: 4px; }
.steps .stepn { grid-row: 1 / span 2; }
.steps .h3 { font-size: 24px; padding-top: 12px; }
.steps .txt { font-size: 19px; line-height: 1.45; }
.s04 .steps { grid-area: steps; }
.s04 .shots { grid-area: shots; position: relative; }
.s04 .shot--main { width: 880px; }
.s04 .shot--zoom { position: absolute; right: 0; top: 236px; width: 620px; }
.honest { grid-area: money; display: grid; grid-template-columns: 300px repeat(3, 1fr); column-gap: 36px; align-items: start; padding: 24px 32px; background: var(--tint); border-radius: var(--r-xl); }
.honest .h3 { font-size: 24px; }
.honest .h3 + .link { display: inline-block; margin-top: 10px; font-size: 18px; }
.honest b { display: block; font: 600 19px/1.3 var(--font-ui); color: var(--ink); margin-bottom: 4px; }
.honest p { font: 400 17px/1.45 var(--font-ui); color: var(--ink-2); }

/* ---------- 05 путь 2 ---------- */
.s05 .in { grid-template-columns: 440px 520px 1fr; grid-template-rows: auto 1fr; column-gap: 52px; row-gap: 44px; grid-template-areas: "head head head" "steps net shot"; }
.s05 .head { grid-area: head; }
.s05 .steps { grid-area: steps; gap: 30px; }
.s05 .steps .txt { font-size: 20px; }
.net { grid-area: net; display: grid; gap: 22px; align-content: start; }
.net .bigrow { display: grid; gap: 4px; }
.net .bigrow .lbl { font: 600 24px/1.25 var(--font-display); color: var(--ink); }
.levels { display: grid; gap: 12px; padding: 22px 26px; }
.levels li { display: grid; grid-template-columns: 92px 1fr 56px; align-items: center; column-gap: 14px; }
.levels .l { font: 500 18px/1.2 var(--font-ui); color: var(--ink-2); }
.levels .bar { height: 16px; border-radius: 8px; background: var(--sunken); overflow: hidden; }
.levels .bar i { display: block; height: 100%; min-width: 6px; border-radius: 8px; background: var(--tint); box-shadow: inset 0 0 0 1px rgba(0,115,45,.35); }
.levels li:first-child .bar i { background: var(--jade); box-shadow: none; }
.levels .v { font: 600 20px/1 var(--font-ui); color: var(--ink); text-align: right; }
.example { padding: 18px 24px; border-left: 4px solid var(--accent); background: var(--card); border-radius: 0 var(--r-l) var(--r-l) 0; }
.example p { font: 600 21px/1.35 var(--font-ui); color: var(--ink); }
.example small { display: block; margin-top: 6px; font: 400 16px/1.4 var(--font-ui); color: var(--ink-3); }
.s05 .s05r { grid-area: shot; display: grid; gap: 26px; align-content: start; }
.src-line { font: 400 16px/1.4 var(--font-ui); color: var(--ink-3); }

/* ---------- 06 страны ---------- */
.s06 .planet { right: 0; top: 0; bottom: 0; width: 41%; background-size: auto 92%; background-position: 22% 50%; }
.s06 .in { width: 1000px; grid-template-rows: auto auto auto 1fr; align-content: start; }
.bighead { display: flex; align-items: flex-end; gap: 30px; margin-top: 16px; }
.bighead .big { font-size: 156px; }
.bighead h2 { padding-bottom: 14px; max-width: 760px; font-size: 54px; }
.s06 .lead { margin-top: 22px; max-width: 980px; font-size: 23px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; align-content: start; }
.chips li { display: grid; gap: 6px; align-content: center; min-height: 104px; padding: 16px 22px; background: #FFFFFF; border-radius: var(--r-l); }
.chips .c { font: 600 23px/1.2 var(--font-display); color: var(--ink); }
.chips .n { font: 400 16px/1.3 var(--font-ui); color: var(--ink-3); }
.chips .n b { font: 600 19px/1 var(--font-ui); color: var(--ink); margin-right: 6px; }

/* ---------- 07 кабинет ---------- */
.s07 .band { top: 40px; }
.s07 .in { padding-top: 176px; grid-template-columns: 420px 1fr; column-gap: 48px; align-items: start; }
.s07 .left { display: grid; gap: 36px; align-content: start; }
.s07 h2 { font-size: 48px; }
.s08 h2 { font-size: 54px; }
.callouts { display: grid; gap: 22px; }
.callouts li { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; row-gap: 4px; }
.callouts .mk-n { grid-row: 1 / span 2; display: grid; place-items: center; width: 34px; height: 34px; margin-top: 2px; border-radius: 50%; background: var(--accent); color: #FFFFFF; font: 600 17px/1 var(--font-ui); }
.callouts .h3 { font-size: 24px; }
.callouts .txt { font-size: 19px; line-height: 1.45; }
.s07 .shots, .s08 .row2 { display: flex; gap: 28px; align-items: flex-start; }
.s07 .shots > .shot, .s08 .row2 > .shot { flex: var(--r) 1 0; min-width: 0; width: auto; }

/* ---------- 08 инструменты ---------- */
.s08 .in { grid-template-columns: 560px 1fr; column-gap: 56px; align-items: start; }
.s08 .left { display: grid; gap: 34px; align-content: start; }
.tools { display: grid; gap: 14px; }
.tools li { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; row-gap: 2px; padding: 18px 22px; }
.tools .icon { grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 14px; font-size: 26px; }
.tools .h3 { font-size: 22px; }
.tools .txt { font-size: 18px; line-height: 1.45; }
.s08 .shots { display: grid; row-gap: 16px; align-content: start; }
.shot--phone figcaption { flex-wrap: wrap; row-gap: 6px; }
.shot--phone figcaption .demo { margin-left: 0; }

/* ---------- 09 лиды ---------- */
.s09 .band { left: auto; right: 96px; width: 840px; bottom: 100px; height: 150px; }
.s09 .in { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 48px; row-gap: 40px; }
.s09 .head { grid-column: 1 / -1; }
.lane { display: grid; gap: 24px; align-content: start; }
.lane .card { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; row-gap: 4px; padding: 22px 26px; }
.lane .icon { grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 14px; font-size: 26px; }
.lane .h3 { font-size: 24px; }
.lane .txt { font-size: 19px; }

/* ---------- 10 не только сделки ---------- */
.s10 .band { bottom: 96px; height: 128px; background-size: 330px auto; }
.s10 .in { grid-template-rows: auto 1fr; row-gap: 40px; padding-bottom: 168px; }
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-self: end; }
.more li { display: flex; align-items: flex-start; gap: 20px; padding: 30px 36px; }
.more li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 12px; border-radius: 50%; background: var(--accent); }
.more p { font: 500 26px/1.4 var(--font-ui); color: var(--ink); text-wrap: pretty; }
.more .soon { display: inline-block; margin-left: 8px; padding: 2px 12px; border-radius: 999px; background: var(--tint); color: var(--accent); font: 600 17px/26px var(--font-ui); vertical-align: 3px; }

/* ---------- 11 старт ---------- */
.s11 .in { grid-template-rows: auto auto; row-gap: 36px; align-content: start; }
.start3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.start3 li { display: grid; gap: 16px; align-content: start; }
.start3 .frame img { aspect-ratio: 1.4; object-fit: cover; object-position: left top; }
.start3 .row { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 2px; }
.start3 .stepn { grid-row: 1 / span 2; width: 48px; height: 48px; font-size: 21px; }
.start3 .h3 { font-size: 24px; padding-top: 8px; }
.start3 .txt { font-size: 19px; line-height: 1.45; }
.ctastrip { position: absolute; left: 0; right: 0; bottom: 0; height: 268px; z-index: 1; display: flex; align-items: center; gap: 40px; padding: 0 96px 64px; background: var(--jade); color: var(--on-jade-2); }
.ctastrip .ctx { display: grid; gap: 14px; }
.ctastrip .ctx .row { display: flex; align-items: center; gap: 28px; }
.ctastrip .link { font-size: 22px; color: #FFFFFF; }
.ctastrip .note { font: 400 19px/1.4 var(--font-ui); color: var(--on-jade-3); }
.ctastrip .qr { margin-left: auto; padding: 12px 12px 10px; box-shadow: none; }
.ctastrip .qr svg { width: 132px; height: 132px; }
.ctastrip .qr span { font-size: 13px; }

/* ---------- 12 контакты ---------- */
.s12 .band { bottom: 92px; height: 132px; }
.s12 .in { grid-template-columns: 900px 1fr; grid-template-rows: auto auto 1fr; column-gap: 64px; row-gap: 40px; padding-bottom: 150px; }
.s12 .head { grid-column: 1 / -1; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.people li { display: grid; justify-items: start; align-content: start; gap: 6px; padding: 32px 32px 30px; }
.people img { width: 300px; height: 300px; border-radius: 50%; margin-bottom: 20px; }
.people .h3 { font-size: 28px; }
.people .cap { font-size: 18px; }
.chan { display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: start; }
.chan ul { display: grid; gap: 12px; }
.chan li a { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; align-items: center; padding: 17px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); text-decoration: none; }
.chan .icon { width: 48px; height: 48px; border-radius: 12px; font-size: 24px; grid-row: 1 / span 2; }
.chan .l { font: 400 16px/1.3 var(--font-ui); color: var(--ink-3); }
.chan .v { font: 600 23px/1.3 var(--font-ui); color: var(--ink); }
.chan .qr svg { width: 150px; height: 150px; }
.chan .btn { grid-column: 1 / -1; justify-self: start; margin-top: 28px; }
.s12 .office { grid-column: 1 / -1; align-self: end; max-width: 1560px; font: 400 16px/1.5 var(--font-ui); color: var(--ink-3); }

/* ---------- онлайн-режим: шапка, меню, кнопка, увеличение ---------- */
.top { display: none; }
.lb { display: none; }
.mbar { display: none; }

@media screen {
  .top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top-h); display: flex; align-items: center; gap: 14px; padding: 0 20px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 15px/1 var(--font-ui); color: var(--ink); }
  .top .logo { display: block; line-height: 0; margin-right: 6px; }
  .top .logo img { height: 22px; width: auto; }
  .toc { position: relative; }
  .toc summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; list-style: none; font-weight: 600; }
  .toc summary::-webkit-details-marker { display: none; }
  .toc summary .ic { font-size: 18px; }
  .toc ol { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; width: 320px; max-height: calc(100vh - 90px); overflow: auto; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(18,21,23,.14); counter-reset: toc; }
  .toc li a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font: 500 15px/1.3 var(--font-ui); }
  .toc li a:hover, .toc li a[aria-current="true"] { background: var(--tint); color: var(--accent); }
  .toc li a span { min-width: 22px; color: var(--ink-3); font-weight: 600; }
  .lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--sunken); }
  .lang a { display: grid; place-items: center; min-width: 40px; min-height: 32px; padding: 0 8px; border-radius: 7px; text-decoration: none; font-weight: 600; color: var(--ink-3); }
  .lang a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: var(--e1); }
  .top > .pdf { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 40px; padding: 0 12px; text-decoration: none; color: var(--accent); font-weight: 600; }
  .top > .pdf .ic { font-size: 18px; }
  .top > .pdf + .pdf { margin-left: -6px; }
  .toc__pdf { display: grid; gap: 2px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
  .toc__pdf .pdf { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--accent); font: 600 15px/1.3 var(--font-ui); }
  .toc__pdf .pdf:hover { background: var(--tint); }
  .toc__pdf .pdf .ic { font-size: 18px; }
  .top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
  .lb { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 56px 24px 24px; background: rgba(18,21,23,.82); cursor: zoom-out; }
  .lb.open { display: grid; }
  .lb { overflow: auto; }
  .lb.open { place-items: start center; }
  .lb__stage { width: 100%; display: grid; justify-items: center; }
  .lb__frame { cursor: zoom-out; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
  .lb button { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #FFFFFF; color: var(--ink); cursor: pointer; }
  .lb button .ic { font-size: 22px; }
  body.lb-open { overflow: hidden; }
}

/* узкий ноутбук: подписи PDF в шапке короче места, остаются значки, обе ссылки есть в меню «Слайды» */
@media screen and (min-width: 1000px) and (max-width: 1279px) {
  .top > .pdf b { display: none; }
}

/* экран от 1000 px: слайд 1920x1080 масштабируется под окно, прокрутка по слайдам */
@media screen and (min-width: 1000px) {
  html { scroll-snap-type: y mandatory; scroll-padding-top: var(--top-h); }
  main { padding-top: var(--top-h); }
  .sw { height: calc(100vh - var(--top-h)); min-height: 360px; display: grid; place-items: center; overflow: hidden; scroll-snap-align: start; }
  .slide { zoom: var(--k, .62); border-radius: 0; }
}

/* телефон и планшет: секции становятся вертикальным потоком, ничего не обрезается */
@media screen and (max-width: 999px) {
  :root { --top-h: 56px; }
  main { padding-top: var(--top-h); padding-bottom: 76px; }
  .top { gap: 8px; padding: 0 12px; }
  .top .logo img { height: 18px; }
  .top .btn { display: none; }
  .top > .pdf { padding: 0 6px; }
  .top > .pdf b { display: none; }
  .top > .pdf--screen { display: none; }
  .toc summary { padding: 0 10px; min-height: 38px; }
  .toc ol { position: fixed; left: 12px; right: 12px; top: calc(var(--top-h) + 6px); width: auto; }
  .lang a { min-width: 34px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: block; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
  .mbar .btn { width: 100%; min-height: 52px; font-size: 17px; white-space: normal; text-align: center; }

  .sw { display: block; }
  .slide { display: flex; flex-direction: column; width: auto; height: auto; overflow: hidden; padding: 40px 16px 20px; border-bottom: 1px solid var(--line); }
  .slide > .in { order: 1; } .slide > .ctastrip { order: 2; } .slide > .planet { order: 3; } .slide > .foot { order: 4; }
  .slide .qr { display: none; }
  .slide.jade { border-bottom: 0; }
  .slide > .in { display: flex; flex-direction: column; align-items: stretch; gap: 22px; height: auto; width: auto !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  .foot { position: static; height: auto; margin-top: 28px; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
  .foot .mark { height: 22px; }
  .foot .src { flex-basis: 100%; margin-left: 0; text-align: left; }

  .kicker { font-size: 15px; line-height: 20px; }
  h1, .s01 h1 { font-size: 31px; line-height: 1.17; }
  h2, .s02 h2, .s07 h2, .s08 h2 { font-size: 27px; line-height: 1.2; }
  .head { gap: 8px; }
  .lead, .s02 .lead, .s06 .lead { font-size: 17px; margin-top: 0; }
  .h3, .cards4 .h3, .steps .h3, .callouts .h3, .tools .h3, .lane .h3, .start3 .h3, .honest .h3, .people .h3 { font-size: 19px; padding-top: 0; }
  .txt, .cards4 .txt, .steps .txt, .callouts .txt, .tools .txt, .lane .txt, .start3 .txt, .s05 .steps .txt { font-size: 16px; line-height: 1.5; }
  .cap, .shot figcaption { font-size: 14px; }
  .big, .bighead .big { font-size: 76px; }
  .btn { min-height: 52px; padding: 0 22px; font-size: 17px; }
  .qr svg { width: 140px; height: 140px; }

  .band { position: static; width: auto !important; height: 84px !important; margin: 0 0 24px; border-radius: 16px; background-size: 360px auto; }
  .bgpat { display: none; }
  .s01 .planet, .s06 .planet { display: block; position: static; width: auto; height: 190px; margin: 24px -16px 0; background-size: cover; background-position: 50% 50%; }

  .s01 .logo { width: 150px; margin-bottom: 22px; }
  .route { grid-template-columns: 1fr; gap: 10px; margin-top: 4px; }
  .route::before { left: 28px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .route li { padding: 14px 18px; }
  .route li b { font-size: 19px; }
  .pills { margin-top: 0; gap: 8px; }
  .pills li { font-size: 15px; padding: 8px 14px; }
  .s01 .cover-stat { margin-top: 0; font-size: 17px; }
  .s01 .cta-row { flex-wrap: wrap; gap: 14px; padding: 0; }
  .s01 .cta-row .link { font-size: 16px; }
  .s01 .qr { position: static; justify-self: start; align-self: flex-start; }

  .s02 .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 16px; }
  .stat b { font-size: 36px; }
  .stat .stat__l { font-size: 17px; }
  .stat small { font-size: 13px; }
  .s02 .tablewrap { padding: 4px 16px 14px; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { display: none; }
  .tbl tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; font-size: 16px; white-space: normal; text-align: right; }
  .tbl td:first-child { font-size: 17px; font-weight: 600; padding-bottom: 6px; }
  .tbl td[data-l]::before { content: attr(data-l); font: 400 14px/1.5 var(--font-ui); color: var(--ink-3); text-align: left; }

  .cards4 { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .s05 .s05r { gap: 16px; }
  .src-line { font-size: 13px; }
  .cards4 li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 6px; min-height: 0; padding: 20px; }
  .cards4 .icon { grid-row: 1 / span 2; margin-bottom: 0; }
  .cards4 .icon { width: 48px; height: 48px; border-radius: 12px; font-size: 24px; }
  .icon { width: 48px; height: 48px; border-radius: 12px; font-size: 24px; }

  .steps, .s05 .steps { gap: 16px; }
  .steps li { grid-template-columns: 44px 1fr; column-gap: 14px; }
  .stepn, .start3 .stepn { width: 44px; height: 44px; font-size: 18px; }
  .s04 .shots { display: grid; gap: 16px; }
  .s04 .shot--main, .s04 .shot--zoom, .s07 .shot--desk, .s08 .shot--desk, .s08 .shot--gen { position: static; width: 100%; }
  .honest { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .honest b { font-size: 16px; }
  .honest p { font-size: 15px; }

  .levels { padding: 16px; }
  .levels li { grid-template-columns: 70px 1fr 44px; }
  .levels .l { font-size: 14px; }
  .levels .v { font-size: 16px; }
  .example p { font-size: 17px; }
  .net .bigrow .lbl { font-size: 18px; }

  .bighead { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 0; }
  .bighead h2 { padding: 0; font-size: 27px; }
  .chips { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 0; }
  .chips li { min-height: 0; padding: 12px; }
  .chips .c { font-size: 16px; }
  .chips .n { font-size: 13px; }
  .chips .n b { font-size: 15px; }

  .s07 .left, .s08 .left { gap: 20px; }
  .callouts li { grid-template-columns: 34px 1fr; column-gap: 12px; }
  .s07 .shots, .s08 .shots, .s08 .row2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .s07 .shots > .shot, .s08 .row2 > .shot { width: 100%; }
  .shot--phone, .s07 .shot--phone, .s08 .shot--phone { width: min(100%, 300px) !important; justify-self: center; grid-column: auto !important; grid-row: auto !important; }
  .mk { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 13px; box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
  .tools li, .lane .card { grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .tools .icon, .lane .icon, .chan .icon { width: 44px; height: 44px; font-size: 22px; }
  .lane { gap: 14px; }

  .more { grid-template-columns: 1fr; gap: 10px; }
  .more li { min-height: 0; padding: 18px; gap: 12px; }
  .more { align-self: auto; }
  .more li::before { width: 10px; height: 10px; margin-top: 8px; }
  .more p { font-size: 17px; }
  .more .soon { font-size: 13px; line-height: 22px; }

  .start3 { grid-template-columns: 1fr; gap: 26px; }
  .start3 .row { grid-template-columns: 44px 1fr; column-gap: 14px; }
  .ctastrip { position: static; height: auto; flex-direction: column; align-items: flex-start; gap: 20px; margin: 28px -16px 0; padding: 28px 16px 8px; }
  .s11 > .foot { margin: 0 -16px -20px; padding: 12px 16px 20px; background: var(--jade); }
  .ctastrip .ctx .row { flex-wrap: wrap; gap: 14px; }
  .ctastrip .link { font-size: 16px; }
  .ctastrip .note { display: none; }
  .ctastrip .qr { margin-left: 0; }
  .ctastrip .foot { margin-top: 0; }

  .people { grid-template-columns: 1fr; gap: 12px; }
  .people li { grid-template-columns: 96px 1fr; column-gap: 16px; align-items: center; padding: 16px; }
  .people img { grid-row: 1 / span 2; width: 96px; height: 96px; margin: 0; }
  .chan { grid-template-columns: 1fr; gap: 16px; }
  .chan li a { padding: 10px 12px; column-gap: 12px; }
  .chan .v { font-size: 16px; overflow-wrap: anywhere; }
  .chan .l { font-size: 13px; }
  .chan .qr { justify-self: start; }
  .chan .btn { margin-top: 0; white-space: normal; }
  .s12 .office { font-size: 13px; }
}

/* ---------- печать: по слайду на страницу 1920x1080 ---------- */
@page { size: 1920px 1080px; margin: 0; }
@media print {
  html, body { background: var(--page); }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .top, .lb, .mbar, .toc { display: none !important; }
  main { padding: 0; }
  .sw { display: block; width: 1920px; height: 1080px; overflow: hidden; break-after: page; break-inside: avoid; }
  .sw:last-child { break-after: auto; }
  .slide { zoom: 1; }
  .shot .frame { cursor: default; }
  /* PDF-просмотрщики (Просмотр, PDFKit) рисуют размытую тень и маску картинкой с мягкой маской,
     и она местами выходит серым прямоугольником. В печати тени нет: держит рамка 1 px. */
  *, *::before, *::after { box-shadow: none !important; }
  .shot--zoom .frame { border: 2px solid #C9D1D6; }
  .route li, .ctastrip .qr, .s01 .qr { border-color: #FFFFFF; }
  .bg-izo { -webkit-mask-image: none !important; mask-image: none !important; opacity: .28; }
  .mk { outline: 3px solid #FFFFFF; }
}
