@font-face{font-family:Manrope;src:url(../fonts/manrope-latin.woff2) format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20A0-20CF}
@font-face{font-family:Manrope;src:url(../fonts/manrope-cyrillic.woff2) format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0400-052F,U+2116}
:root{--paper:#f5f2e9;--ink:#17231e;--green:#006e46;--line:#d7d7cc;--muted:#5d665e;--orange:#9b4d13;--surface:#eee9df;--font:Manrope,Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;min-width:320px;background:var(--paper);color:var(--ink);font:16px/1.7 var(--font)}
a{color:inherit;text-decoration:none}
a:hover{color:var(--green)}
a:focus-visible{outline:3px solid var(--green);outline-offset:4px;border-radius:2px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.03em;font-weight:400}
h1{font-size:clamp(42px,5.2vw,72px);line-height:1.08;margin:0 0 25px;max-width:1000px}
h2{font-size:clamp(28px,3vw,42px);line-height:1.18}
h3{font-size:24px;line-height:1.25}
p,li{max-width:74ch}
.page-wrap{width:min(1240px,calc(100% - 88px));margin-inline:auto}
.skip{position:absolute;left:-9999px;top:10px;z-index:100;display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;background:white}
.skip:focus{left:10px}
.site-head{position:sticky;top:0;z-index:20;background:var(--paper);border-bottom:1px solid var(--line)}
.head-inner{min-height:78px;display:flex;align-items:center;gap:40px}
.brand{display:inline-flex;align-items:center;gap:8px;font:750 28px/1 var(--font);letter-spacing:-.04em;white-space:nowrap}
.brand img{display:block}
.site-head nav{display:flex;gap:28px;flex-wrap:wrap;margin-left:auto}
.site-head nav a,.head-cta{font-size:14px;font-weight:650}
.site-head nav a[aria-current=page]{color:var(--green);text-decoration:underline;text-underline-offset:7px}
.head-cta,.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 23px;background:var(--green);color:#fff;border-radius:7px;font-size:14px;font-weight:700;line-height:1.35;white-space:nowrap}
.head-cta:hover,.button:hover{color:#fff;background:#006e46}
.catalog-hero,.detail-hero{padding:72px 0 74px;border-bottom:1px solid var(--line)}
.catalog-hero{background:linear-gradient(120deg,#f5f2e9 63%,#e9e4d7)}
.detail-hero{background:linear-gradient(115deg,#f5f2e9 68%,#e9e4d7)}
.back-link,.crumb{font-size:13px;color:var(--muted)}
.back-link{display:inline-block;margin-bottom:54px}
.crumb{display:flex;gap:11px;margin-bottom:55px}
.section-mark{font:700 12px/1.4 var(--font);color:var(--green);margin-bottom:18px}
.lead{font-size:clamp(17px,1.7vw,21px);line-height:1.65;color:#334239;max-width:760px;margin-bottom:0}
.catalog-section{padding:70px 0 100px}
.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:45px 56px}
.catalog-card{border-top:2px solid var(--ink);padding:22px 0 0;position:relative}
.catalog-card:nth-child(3n+2){border-color:var(--green)}
.catalog-card:nth-child(3n){border-color:var(--orange)}
.catalog-card h2,.catalog-card h3{font-size:clamp(27px,2.7vw,37px);margin:0 0 15px}
.catalog-card h2 a:after,.catalog-card h3 a:after{content:"";position:absolute;inset:0}
.catalog-card h2 a:focus-visible:after,.catalog-card h3 a:focus-visible:after{outline:3px solid var(--green);outline-offset:5px}
.catalog-card p{color:var(--muted);font-size:15px;margin:0 0 26px}
.card-action{display:flex;gap:9px;align-items:center;font-size:13px;font-weight:700;color:var(--green)}
.card-action span{font-size:18px;line-height:1}
.card-badge,.feature-badge{display:inline-block;color:#624d21;background:#e9debe;border-radius:4px;padding:5px 8px;font:700 12px/1.2 var(--font)}
.card-badge{margin:0 0 13px}
.feature-badge{margin:0 0 22px}
.audience{font-size:14px;color:var(--muted);margin:24px 0}
.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:30px}
.detail-visual{margin:42px 0 0;padding:0;border:0;background:none}
.detail-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:left top}
.detail-visual .visual-open{overflow:hidden;border:1px solid var(--line);box-shadow:0 18px 40px -28px rgba(23,35,30,.35)}
.detail-visual.is-phone .visual-open{width:fit-content;margin:0 auto;border-radius:22px}
.detail-visual.is-phone img{width:auto;max-width:100%;height:700px;aspect-ratio:auto;object-fit:contain}
.detail-visual .visual-open{display:block;border-radius:12px;cursor:zoom-in}
.detail-visual .visual-open:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.visual-open-link{display:inline-block;margin-top:4px;padding:6px 0;font-weight:650;color:var(--green);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.detail-visual figcaption{padding:12px 4px 2px;font-size:13px;line-height:1.5;color:var(--muted)}
.text-link{color:var(--green);font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:5px}
.detail-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:75px;padding-top:76px;padding-bottom:100px}
.detail-toc{position:sticky;top:110px;align-self:start;border-top:1px solid var(--line);padding-top:20px;display:grid;gap:15px}
.detail-toc strong{font-size:13px;margin-bottom:7px}
.detail-toc a{font-size:13px;line-height:1.45;color:var(--muted)}
.detail-toc a:hover{color:var(--green)}
.story-section{display:grid;grid-template-columns:48px minmax(0,1fr);gap:25px;padding:0 0 70px;margin-bottom:70px;border-bottom:1px solid var(--line)}
.story-section:last-of-type{margin-bottom:70px}
.step-meta{font:650 17px/1.4 var(--font);color:var(--orange)}
.story-section:nth-child(3n+2) .step-meta{color:var(--green)}
.story.section-numbers-brown .step-meta{color:var(--orange)}
.finance-page #scenario .story-section .step-meta{color:var(--orange)}
.story-section h2{margin:0 0 19px}
.story-section p{font-size:17px;color:#334239;margin-bottom:0}
.story-section ul,.story-section ol,.limits ul{padding-left:21px;margin:20px 0 0}
.story-section p+p{margin-top:14px}
.updated{font-size:14px;color:var(--muted);margin:-12px 0 24px}
.story-section li,.limits li{padding-left:5px;margin:9px 0}
.story-section li::marker,.limits li::marker{color:var(--green)}
.limits{padding:32px 36px;background:var(--surface);border-left:4px solid var(--green)}
.limits h2{font-size:27px;margin-bottom:10px}
.limits li{font-size:15px}
.page-cta{padding:64px 0 40px;text-align:center}
.page-cta .cta-inner{flex-direction:column;justify-content:center;gap:26px}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:60px}
.cta-inner h2{margin-bottom:12px}
.cta-inner p{margin:0 auto;max-width:640px;color:var(--muted)}
.related{padding:75px 0 95px}
.related h2{margin-bottom:45px}
.related .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.related .catalog-card h2,.related .catalog-card h3{font-size:27px}
.site-foot{padding:62px 0 70px;border-top:1px solid var(--line)}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:45px}
.foot-grid p{font-size:14px;color:var(--muted);margin:20px 0 0}
.foot-grid nav{display:grid;gap:8px;font-size:14px}
.foot-grid>a{font-size:14px;font-weight:700;color:var(--green)}
.foot-grid>.foot-side{display:grid;gap:8px;align-content:start}.foot-side a{font-size:14px;font-weight:700;color:var(--green)}.foot-side a+a{font-weight:400;color:var(--muted)}
@media(max-width:980px){.head-inner{gap:14px}.site-head nav{gap:10px;flex-wrap:nowrap}.site-head nav a{white-space:nowrap}.site-head nav a{font-size:12px}.head-cta{font-size:12px;padding:10px 13px}.detail-layout{grid-template-columns:1fr;gap:32px}.detail-toc{position:static;display:flex;gap:14px;flex-wrap:wrap}.detail-toc strong{width:100%}}
@media(max-width:700px){.page-wrap{width:calc(100% - 34px)}.head-inner{min-height:67px;flex-wrap:wrap;gap:6px 18px;padding-block:11px}.brand{font-size:24px}.brand img{width:30px;height:30px}.site-head nav{order:3;width:100%;margin:0;gap:15px;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap}.site-head nav a{font-size:12px}.head-cta{margin-left:auto;min-height:38px}.catalog-hero,.detail-hero{padding:39px 0 49px}.back-link,.crumb{margin-bottom:34px}.catalog-section{padding:43px 0 64px}.catalog-grid,.related .catalog-grid{grid-template-columns:1fr;gap:38px}.detail-layout{padding-top:46px;padding-bottom:66px}.detail-toc{border-top:0;border-bottom:1px solid var(--line);padding:0 0 25px}.story-section{grid-template-columns:1fr;gap:10px;padding-bottom:45px;margin-bottom:48px}.story-section h2{font-size:31px}.story-section p{font-size:16px}.limits{padding:25px 21px}.cta-inner{display:block}.cta-inner .button{margin-top:25px}.page-cta{padding:50px 0}.foot-grid{grid-template-columns:1fr;gap:30px}.site-foot{padding:45px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Stage 6 (26.10): 44 px tap targets on phones; header scrolls with the page so two rows of links do not eat the screen */
@media(max-width:700px){
  .site-head{position:static}
  .brand{min-height:44px}
  .head-cta{min-height:44px}
  .site-head nav{gap:6px}
  .site-head nav a{display:flex;align-items:center;min-height:44px;padding:0 8px;font-size:13px}
  .back-link,.crumb a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;font-size:14px}
  .back-link{margin-bottom:12px}
  .crumb{margin-bottom:14px;align-items:center}
  .text-link,.visual-open-link,.detail-toc a{display:inline-flex;align-items:center;min-height:44px}
  .detail-toc{gap:0 14px}
  .foot-grid nav{gap:0}
  .foot-grid nav a,.foot-grid>a{display:flex;align-items:center;min-height:44px}
  .foot-grid>.foot-side{gap:0}.foot-side a{display:flex;align-items:center;min-height:44px}
  .foot-grid .brand{min-height:44px}
}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--green);outline-offset:3px}

/* Приймання 44 (P3-3): «Тарифи» в шапці й бургер-меню зі всіма пунктами на телефоні, як на головній */
.head-burger{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}
.head-burger img{display:block;width:24px;height:24px}
.page-menu{display:none}
.page-menu[hidden]{display:none!important}
@media(max-width:700px){
  .head-inner{flex-wrap:nowrap;gap:10px;padding-block:8px}
  .site-head .head-links{display:none}
  .head-burger{display:inline-flex}
  .head-cta{margin-left:auto;padding:10px 14px;font-size:13px}
  .page-menu:not([hidden]){display:flex;flex-direction:column;padding:6px 17px 14px;border-top:1px solid var(--line);background:var(--paper)}
  .page-menu a{display:flex;align-items:center;min-height:44px;font-size:16px;font-weight:650;border-bottom:1px solid var(--line)}
  .page-menu a:last-child{border-bottom:0}
  .page-menu a[aria-current=page]{color:var(--green)}
}
@media(min-width:701px) and (max-width:820px){.head-inner{gap:10px}.site-head nav{gap:8px}.head-cta{padding:10px 10px;font-size:12px}}
@media(max-width:400px){.brand{font-size:21px}.head-cta{padding:10px 10px;font-size:12px}}

/* Необов’язковий кадр кроку: з’являється, коли у img/steps/ лежить файл (див. README) */
.step-shot{margin:22px 0 0}
.step-shot img{width:100%;height:auto;border:1px solid #e4e4e7;border-radius:12px;background:#fff}

/* Дата оновлення гайда та нумеровані списки в кроках */
.updated{font-size:14px;color:var(--muted);margin:-12px 0 24px}
.story-section ol{padding-left:21px;margin:20px 0 0}
.story-section ol li{padding-left:5px;margin:9px 0}
.story-section ol li::marker{color:var(--green)}
.see-also{margin:22px 0 0;font-size:15px;line-height:1.6;color:var(--muted,#5b5f57)}
.socials{display:flex;gap:2px;margin:10px 0 0 -11px}.socials .soc{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;padding:0!important;margin:0!important;border:0;color:var(--green);font-weight:400}.socials .soc:hover{color:#00563a}
@media(max-width:700px){.detail-visual:not(.is-phone) .visual-open{height:300px}.detail-visual:not(.is-phone) img{width:230%;max-width:none;height:auto;aspect-ratio:auto;object-fit:initial}}

/* Кадри без повторної зйомки: не ширші за половину файла, щоб лишалися чіткими (2x). */
img[src$="s4-sub-1.webp"]{max-width:min(100%,820px)!important;height:auto!important}
img[src$="s4-sub-2.webp"]{max-width:min(100%,820px)!important;height:auto!important}
img[src$="s4-sub-3.webp"]{max-width:min(100%,820px)!important;height:auto!important}
img[src$="s4-sub-0.webp"]{max-width:min(100%,820px)!important;height:auto!important}
img[src$="s4-close-say.webp"]{max-width:min(100%,379px)!important;height:auto!important}
img[src$="s4-badge.webp"]{max-width:min(100%,248px)!important;height:auto!important}
img[src$="s5-team.webp"]{max-width:min(100%,627px)!important;height:auto!important}
img[src$="s2b-lessons.webp"]{max-width:min(100%,665px)!important;height:auto!important}
img[src$="rs-07-lesson-closed-crop.webp"]{max-width:min(100%,729px)!important;height:auto!important}
img[src$="rs-07-lesson-open-crop.webp"]{max-width:min(100%,729px)!important;height:auto!important}
img[src$="pf-parent.webp"]{max-width:min(100%,384px)!important;height:auto!important}
img[src$="mk-01-crm-kanban-crop.webp"]{max-width:min(100%,1220px)!important;height:auto!important}
@media (max-width:600px){picture:has(source[srcset$="s4-sub-0-m.webp"]) img{max-width:min(100%,323px)!important}picture:has(source[srcset$="s4-sub-1-m.webp"]) img{max-width:min(100%,323px)!important}picture:has(source[srcset$="s4-sub-2-m.webp"]) img{max-width:min(100%,323px)!important}picture:has(source[srcset$="s4-sub-3-m.webp"]) img{max-width:min(100%,323px)!important}}
/* Обкладинка «Оплати, борги й фінанси»: кадр повністю, видно рядок «Касово за період» */
@media(min-width:701px){.finance-page .detail-hero .detail-visual img{aspect-ratio:auto}}

.head-login{font-size:14px;font-weight:650;color:var(--ink);white-space:nowrap;margin-left:28px}.head-login:hover{color:var(--green)}.site-head .head-login+.head-cta{margin-left:16px}@media(max-width:980px){.head-login{margin-left:14px;font-size:12px}}@media(max-width:700px){.head-login{margin-left:auto;font-size:13px}.site-head .head-login+.head-cta{margin-left:10px}}
/* згода на cookie (js/analytics.js) */
.foot-cookie{display:flex;align-items:center;min-height:44px;padding:0;border:0;background:none;font:400 14px var(--font);color:var(--muted);cursor:pointer;text-align:left}
.consent{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:90;box-sizing:border-box;width:calc(100% - 20px);max-width:760px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 15px 60px #00000026}
.consent[hidden]{display:none}
.consent p{margin:0 0 16px;font-size:15px}
.consent-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.consent-actions button{min-height:44px;padding:10px 18px;border:1px solid var(--green);border-radius:7px;background:#fff;color:var(--green);font:700 13px var(--font);cursor:pointer}
.consent-actions .consent-yes{background:var(--green);color:#fff}
