body{margin:0;background:#f2f0ec}
a{color:#222222}a:hover{color:#6f6a62}
.ln *{box-sizing:border-box}
.ln button,.ln input,.ln select{font-family:inherit}
.ln section{scroll-margin-top:96px}
.ln a:focus-visible,.ln button:focus-visible,.ln input:focus-visible,.ln select:focus-visible{outline:2px solid #222222;outline-offset:2px}
.ln-dark a:focus-visible,.ln-dark button:focus-visible{outline-color:#f7c948}
.ln-word{transition:opacity .7s cubic-bezier(.2,.7,.2,1),filter .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1),color .7s}
.ln-wash{transition:background-color .9s ease}
.ln-node{transition:background-color .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease}
.ln-tab{transition:background-color .45s cubic-bezier(.3,1.4,.5,1),box-shadow .45s cubic-bezier(.3,1.4,.5,1),transform .45s cubic-bezier(.3,1.4,.5,1)}
.ln-paper{transition:transform .7s cubic-bezier(.3,1.3,.5,1),opacity .5s ease,background-color .5s ease,box-shadow .5s ease}
.ln-plus{transition:transform .35s ease}
@keyframes lnFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes lnDrift{0%,100%{transform:translate(0,0)}50%{transform:translate(-30px,20px)}}
.ln-float{animation:lnFloat 6s ease-in-out infinite}
.ln-float2{animation:lnFloat 7s ease-in-out 1.2s infinite}
.ln-drift{animation:lnDrift 16s ease-in-out infinite}
@media (max-width:900px){
.ln-navlinks{display:none !important}
.ln-mock{grid-template-columns:1fr !important}
.ln-hide-sm{display:none !important}
.ln-bento{grid-template-columns:1fr !important}
.ln-bento>*{grid-column:auto !important}
}
@media (prefers-reduced-motion:reduce){
.ln-float,.ln-float2,.ln-drift{animation:none}
.ln-word,.ln-wash,.ln-node,.ln-tab,.ln-paper,.ln-plus{transition:none}
}

/* ===== Шрифт: файлы Manrope кладутся в /fonts (см. fonts/README.txt) ===== */
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:local("Manrope Regular"),local("Manrope-Regular"),url("../fonts/manrope-400.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:local("Manrope Medium"),local("Manrope-Medium"),url("../fonts/manrope-500.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:local("Manrope SemiBold"),local("Manrope-SemiBold"),url("../fonts/manrope-600.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:local("Manrope Bold"),local("Manrope-Bold"),url("../fonts/manrope-700.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:800;font-display:swap;src:local("Manrope ExtraBold"),local("Manrope-ExtraBold"),url("../fonts/manrope-800.woff2") format("woff2")}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{color:#222222;font-family:Manrope,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;overflow-x:clip}
.ln{width:100%;background:#f2f0ec;color:#222222;font-family:inherit;overflow-x:clip}
main{display:block}
[hidden]{display:none !important}

.skip{position:absolute;left:16px;top:-60px;z-index:200;background:#222222;color:#ffffff;padding:10px 16px;border-radius:999px;font-weight:700;text-decoration:none}
.skip:focus{top:16px;color:#ffffff}

/* ===== Было → стало ===== */
.pain{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:14px;background:transparent}
.pain-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto;background:#d9d3ca;transition:background-color .6s}
.pain-text{font-size:18px;line-height:1.35;font-weight:500;color:#6f6a62;transition:color .6s}
.pain.is-active{background:#f2f0ec}
.pain.is-active .pain-dot{background:#c96f42}
.pain.is-active .pain-text{font-weight:800;color:#222222}
.word{font-size:clamp(44px,6vw,84px);font-weight:800;letter-spacing:-0.05em;line-height:1.02}
.word.d0{opacity:1;filter:none;transform:none;color:#222222}
.word.d1{opacity:.3;filter:blur(2px);transform:translateX(16px);color:#6f6a62}
.word.d2{opacity:.12;filter:blur(5px);transform:translateX(32px);color:#6f6a62}

/* ===== Роли ===== */
.role-tab{height:48px;padding:0 20px;border-radius:999px;border:0;cursor:pointer;font-size:15px;font-weight:600;color:#222222;background:transparent}
.role-tab.is-active{font-weight:800;background:rgba(255,255,255,.95);box-shadow:inset 0 1px 0 #ffffff,0 8px 20px rgba(40,30,20,.12),0 0 0 2px #f7c948;transform:scale(1.04)}

/* ===== Конвейер проверок ===== */
.node{padding:12px 18px;border-radius:999px;font-size:15px;font-weight:800;background:transparent;color:#aaa49b;border:1px solid rgba(255,255,255,.18)}
.node.is-lit{background:#f7c948;color:#1c1b19;border-color:#f7c948;box-shadow:0 0 24px rgba(247,201,72,.35)}
.node.node-final.is-lit{background:#25b45b;border-color:#25b45b}
.link{display:inline-block;width:22px;height:2px;background:rgba(255,255,255,.18)}
.link.is-lit{background:#f7c948}

/* ===== Публикация доверителю ===== */
.pub-src{background:#faf9f6;transform:rotate(1.5deg) scale(.98);box-shadow:2px 3px 0 rgba(40,30,20,.06)}
.pub-btn{height:44px;padding:0 18px;border-radius:999px;border:0;cursor:pointer;font-size:14px;font-weight:800;background:#f7c948;color:#222222}
.pub-dst{opacity:0;transform:rotate(-4deg) scale(.9);display:none}
.pub-note-on{display:none}
[data-published="true"] .pub-src{background:#ffffff;transform:none;box-shadow:0 12px 30px rgba(40,30,20,.08)}
[data-published="true"] .pub-btn{background:#f2f0ec}
[data-published="true"] .pub-note-on{display:inline}
[data-published="true"] .pub-note-off{display:none}
[data-published="true"] .pub-empty{display:none}
[data-published="true"] .pub-dst{display:block;animation:lnUnfold .7s cubic-bezier(.3,1.3,.5,1) forwards}
@keyframes lnUnfold{from{opacity:0;transform:rotate(-4deg) scale(.9)}to{opacity:1;transform:none}}

/* ===== Модули ===== */
.mod-filter{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 8px 0 16px;border-radius:999px;cursor:pointer;font-size:14px;font-weight:800;border:1px solid #e6e1da;background:#ffffff;color:#222222}
.mod-count{min-width:28px;height:28px;padding:0 8px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;background:#f2f0ec;color:#222222}
.mod-filter.is-active{background:#222222;color:#ffffff;border-color:#222222}
.mod-filter.is-active .mod-count{background:#f7c948}
.mod-chip{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:999px;font-size:15px;font-weight:700;background:#f2f0ec;border:1px solid #e6e1da}
.mod-chip.is-ext{background:#ffffff;border:1px dashed #aaa49b}
.mod-tag{font-size:11px;font-weight:800;color:#6f6a62}

/* ===== FAQ ===== */
.faq{background:#ffffff;border:1px solid #e6e1da;border-radius:20px;overflow:hidden}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;cursor:pointer;font-size:17px;font-weight:800;color:#222222}
.faq summary::-webkit-details-marker{display:none}
.faq summary:focus-visible{outline:2px solid #222222;outline-offset:-4px;border-radius:20px}
.faq-plus{flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:#f2f0ec;display:inline-flex;align-items:center;justify-content:center;transition:transform .35s ease,background-color .35s}
.faq[open] .faq-plus{transform:rotate(45deg);background:#f7c948}
.faq p{margin:0;padding:0 22px 22px;font-size:15px;line-height:1.6;color:#4d473f}

/* ===== Форма ===== */
.hp{position:absolute !important;left:-10000px !important;width:1px;height:1px;overflow:hidden}
#form-success:not([hidden]){display:flex}
#demo-form input:focus-visible,#demo-form select:focus-visible{outline:2px solid #222222;outline-offset:2px}
#demo-form input[aria-invalid="true"]{border-color:#d9534f !important}
#form-submit[disabled]{opacity:.6;cursor:progress}

/* ===== Диалог документов ===== */
#pd-dialog{padding:0;border:0;background:transparent;max-width:min(780px,calc(100vw - 32px));width:100%;max-height:calc(100vh - 48px);color:#222222}
#pd-dialog::backdrop{background:rgba(28,27,25,.6)}
.pd-shell{background:#ffffff;border-radius:24px;display:flex;flex-direction:column;max-height:calc(100vh - 48px);overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.3)}
.pd-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 16px 16px 24px;border-bottom:1px solid #efeae3;background:#faf9f6}
.pd-tabs{display:inline-flex;gap:4px;padding:4px;border-radius:999px;background:#ebe7e0}
.pd-tab{height:40px;padding:0 16px;border-radius:999px;border:0;cursor:pointer;font-size:14px;font-weight:800;color:#222222;background:transparent}
.pd-tab[aria-pressed="true"]{background:#ffffff;box-shadow:0 0 0 2px #f7c948}
.pd-close{width:44px;height:44px;border-radius:50%;border:1px solid #e6e1da;background:#ffffff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.pd-body{overflow-y:auto;padding:28px 32px 32px}
.pd-doc h2{margin:0;font-size:28px;line-height:1.15;letter-spacing:-0.03em;font-weight:800}
.pd-meta{margin:8px 0 0;font-size:13px;color:#6f6a62;font-weight:600}
.pd-sec{margin-top:20px}
.pd-sec h3{margin:0;font-size:16px;font-weight:800}
.pd-sec p{margin:8px 0 0;font-size:14px;line-height:1.6;color:#4d473f;white-space:pre-line}
.pd-foot{display:flex;justify-content:flex-end;padding:14px 24px;border-top:1px solid #efeae3}
.pd-ok{height:44px;padding:0 22px;border-radius:999px;border:0;background:#222222;color:#ffffff;cursor:pointer;font-size:14px;font-weight:800}
@media (max-width:600px){.pd-body{padding:20px}.pd-doc h2{font-size:22px}}

@media (prefers-reduced-motion:reduce){
.word,.pain-dot,.pain-text,.faq-plus{transition:none}
[data-published="true"] .pub-dst{animation:none;opacity:1;transform:none}
}
.nojs-note{display:none}
.nojs-note:target{display:block}
#demo-form button[data-open]{display:inline;text-align:left}
