/* Логово — общий стиль. Тёмное тёплое место мастера, один акцент — тлеющий уголь. */

@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-latin-wght-normal.woff2) format("woff2");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:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-cyrillic-wght-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-tight-latin-wght-normal.woff2) format("woff2");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:"Inter Tight";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-tight-cyrillic-wght-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

:root{
  --bg:#110f0d; --bg-2:#161310; --surface:#1b1814; --surface-2:#231f1a; --surface-3:#2b261f;
  --line:#2c2721; --line-2:#3b342c;
  --text:#f3ede5; --muted:#b3a899; --dim:#7f7568;
  --accent:#ff7a2e; --accent-2:#ff9152; --accent-ink:#1c0e04; --accent-soft:rgba(255,122,46,.11); --accent-line:rgba(255,122,46,.38);
  --ok:#8bc98d; --warn:#f2b84b; --bad:#f07261;
  --r:14px; --r-lg:22px; --r-xl:28px;
  --display:"Inter Tight","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --mono:ui-monospace,"SF Mono","JetBrains Mono",Menlo,Consolas,"Liberation Mono",monospace;
  --pad:20px; --max:1200px; --hdr:60px;
  --sec:clamp(80px,13vw,168px);
  color-scheme:dark;
}
@media (min-width:600px){:root{--pad:32px}}
@media (min-width:1100px){:root{--pad:48px;--hdr:68px}}

/* ---------------------------------------------------------------- база */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--hdr) + 16px)}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.55 var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overflow-x:hidden;min-height:100vh;display:flex;flex-direction:column}
main{flex:1 0 auto;width:100%}
img,video,svg,iframe{display:block;max-width:100%}
img,video{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4,p,ul,ol,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
::selection{background:var(--accent);color:var(--accent-ink)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
[hidden]{display:none!important}
.wrap{width:100%;max-width:calc(var(--max) + var(--pad)*2);margin:0 auto;padding:0 var(--pad)}
.wrap--narrow{max-width:calc(760px + var(--pad)*2)}
.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--accent);color:var(--accent-ink);padding:8px 14px;border-radius:8px}
.skip:focus{left:8px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.i{width:1.15em;height:1.15em;flex:none}
.mono{font-family:var(--mono);font-size:.92em;letter-spacing:0}
.muted{color:var(--muted)}
.dim{color:var(--dim)}
.accent{color:var(--accent)}
.nowrap{white-space:nowrap}

/* ---------------------------------------------------------------- типографика */
.eyebrow{display:inline-flex;align-items:center;gap:10px;font:500 12px/1.2 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.eyebrow::before{content:"";width:1.5em;height:1.5em;margin:-.25em 0;background:url(../img/ai-mark.svg?v=2) center/contain no-repeat;flex:none}
.eyebrow--plain::before{display:none}
.h1,.h2,.h3{font-family:var(--display);color:var(--text);overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
.h1{font-size:clamp(40px,10.4vw,104px);font-weight:800;line-height:.98;letter-spacing:-.04em}
.h2{font-size:clamp(32px,6.6vw,64px);font-weight:760;line-height:1.02;letter-spacing:-.035em}
.h3{font-size:clamp(21px,2.4vw,26px);font-weight:680;line-height:1.18;letter-spacing:-.02em}
.h1 em,.h2 em{font-style:normal;color:var(--accent)}
.lead{font-size:clamp(17px,1.9vw,21px);line-height:1.5;color:var(--muted);max-width:40em}
.lead b,.lead strong{color:var(--text);font-weight:600}
.small{font-size:14px}
.tiny{font-size:12.5px}

/* ---------------------------------------------------------------- кнопки */
.btn{--h:52px;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:var(--h);padding:0 24px;border-radius:999px;border:1px solid transparent;background:var(--accent);color:var(--accent-ink);font:650 16px/1.15 var(--sans);letter-spacing:-.005em;text-align:center;white-space:nowrap;transition:background .18s,border-color .18s,color .18s,transform .18s;-webkit-tap-highlight-color:transparent;position:relative}
.btn:hover{background:var(--accent-2)}
.btn:active{transform:scale(.985)}
.btn .i{width:20px;height:20px}
.btn--ghost{background:transparent;border-color:var(--line-2);color:var(--text)}
.btn--ghost:hover{background:var(--surface-2);border-color:var(--dim)}
.btn--quiet{background:var(--surface-2);color:var(--text)}
.btn--quiet:hover{background:var(--surface-3)}
.btn--sm{--h:38px;padding:0 16px;font-size:14.5px}
.btn--lg{--h:58px;padding:0 30px;font-size:17px}
.btn--block{display:flex;width:100%}
.btn--wrap{white-space:normal}
.btn[disabled],.btn.is-busy{pointer-events:none;opacity:.6}
.btn.is-busy{color:transparent}
.btn.is-busy::after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;border:2px solid var(--accent-ink);border-right-color:transparent;animation:spin .7s linear infinite}
.btn--ghost.is-busy::after,.btn--quiet.is-busy::after{border-color:var(--text);border-right-color:transparent}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.link{color:var(--accent);background:none;border:0;padding:0;font:inherit;text-decoration:underline;text-decoration-color:var(--accent-line);text-underline-offset:3px;cursor:pointer}
.link:hover{text-decoration-color:var(--accent)}
.link--quiet{color:var(--muted);text-decoration-color:var(--line-2)}
.arrow-link{display:inline-flex;align-items:center;gap:8px;color:var(--text);font-weight:600}
.arrow-link .i{transition:transform .2s;color:var(--accent)}
.arrow-link:hover .i{transform:translateX(4px)}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------------------------------------------------------------- шапка */
.hdr{position:sticky;top:0;z-index:40;background:var(--bg);border-bottom:1px solid transparent;transition:border-color .2s}
.hdr.is-scrolled{border-bottom-color:var(--line)}
.hdr__in{display:flex;align-items:center;gap:20px;height:var(--hdr)}
.logo{display:inline-flex;align-items:center;gap:9px;font:800 21px/1 var(--display);letter-spacing:-.03em;color:var(--text);flex:none}
.logo__ai{font-style:normal;color:var(--accent);letter-spacing:-.01em;margin-right:.08em}
.mark{width:24px;height:24px;color:var(--text)}
.mark__ember{fill:var(--accent)}
.hdr__nav{display:none;gap:4px;margin-left:24px}
.hdr__nav a{padding:8px 12px;border-radius:999px;color:var(--muted);font-size:15px;transition:color .15s,background .15s}
.hdr__nav a:hover{color:var(--text);background:var(--surface)}
.hdr__act{margin-left:auto;display:flex;align-items:center;gap:6px}
.hdr__link{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;color:var(--muted);font-size:15px;font-weight:500}
.hdr__link:hover{color:var(--text)}
.hdr__link .i{width:18px;height:18px}
@media (min-width:900px){.hdr__nav{display:flex}}
@media (max-width:380px){.hdr__link .i{display:none}.hdr__link{padding:8px}}

/* ---------------------------------------------------------------- секции */
.sec{padding:var(--sec) 0 0}
.sec:last-child{padding-bottom:var(--sec)}
.sec__head{display:flex;flex-direction:column;gap:18px;margin-bottom:clamp(32px,5vw,56px)}
.sec__head .lead{max-width:34em}
.sec__row{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
.count{font:500 14px var(--mono);color:var(--dim)}
.rule{height:1px;background:var(--line);border:0;margin:0}

/* ---------------------------------------------------------------- карточки проектов (9:16, как Reels) */
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (min-width:640px){.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media (min-width:1040px){.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}}
.reel{position:relative;aspect-ratio:9/16;border-radius:var(--r);overflow:hidden;background:var(--surface);isolation:isolate}
.reel .cover,.reel .loop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.reel .loop{opacity:0;transition:opacity .4s}
.reel .loop.is-playing{opacity:1}
.reel .badge{position:absolute;top:10px;left:10px;z-index:2}
.reel__views{position:absolute;left:10px;bottom:10px;right:10px;z-index:2;justify-self:start;width:max-content;max-width:calc(100% - 20px);padding:5px 9px;border-radius:999px;background:rgba(10,8,6,.66);color:#fff;font:600 11.5px/1.2 var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* карточка — как в мини-аппе (site/css/tg.css .t-card): ролик 3:4, снизу матовое стекло с подписью, бейджи сверху */
.card{position:relative;display:block;min-width:0;border-radius:var(--r-lg);overflow:hidden;isolation:isolate;color:#fff;-webkit-tap-highlight-color:transparent}
.card::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);pointer-events:none}
.card .reel{aspect-ratio:3/4;border-radius:0}
.card .reel::before{content:"";position:absolute;left:0;right:0;bottom:0;height:58%;z-index:1;-webkit-backdrop-filter:blur(22px) saturate(1.15);backdrop-filter:blur(22px) saturate(1.15);-webkit-mask-image:linear-gradient(to top,#000 0%,#000 36%,rgba(0,0,0,.55) 60%,transparent 100%);mask-image:linear-gradient(to top,#000 0%,#000 36%,rgba(0,0,0,.55) 60%,transparent 100%);pointer-events:none}
.card .reel::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(8,6,4,.84) 0%,rgba(8,6,4,.56) 30%,rgba(8,6,4,.12) 58%,transparent 72%),linear-gradient(to bottom,rgba(8,6,4,.32),transparent 22%);pointer-events:none}
.card .reel .badge{top:12px;left:12px}
.card .reel__views{top:12px;right:12px;left:auto;bottom:auto;max-width:calc(100% - 96px);padding:6px 10px;background:rgba(10,8,6,.5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.card .reel .cover{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.card:hover .reel .cover,.card:hover .reel .loop{transform:scale(1.03)}
.card .reel .loop{transition:opacity .4s,transform .6s cubic-bezier(.2,.7,.2,1)}
.card__body{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:6px;min-width:0;padding:0 16px 15px}
.card__title{font:750 clamp(16px,1.7vw,20px)/1.12 var(--display);letter-spacing:-.02em;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;text-wrap:balance}
.card__short{color:rgba(255,255,255,.74);font-size:13.5px;line-height:1.42;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word}
.card__meta{display:flex;align-items:center;gap:6px;margin-top:2px;font:500 11.5px/1.4 var(--mono);color:rgba(255,255,255,.56);letter-spacing:.01em;min-width:0}
.card__meta .i{width:13px;height:13px;flex:none}
.card__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card__soc{display:inline-flex;align-items:center;gap:4px;flex:none;white-space:nowrap}
.card__soc::before{content:"\00b7";margin-right:2px;color:rgba(255,255,255,.3)}
@media (max-width:639px){.card__short,.card .reel__views{display:none}.card__body{padding:0 12px 12px}.card__title{font-size:15.5px}}
.badge.badge--soon{background:rgba(243,237,229,.94);color:#16110c}
.tagline{display:flex;flex-wrap:wrap;gap:0 8px;font:500 11.5px/1.5 var(--mono);letter-spacing:.07em;text-transform:uppercase;color:var(--dim);min-width:0}
.tagline i{font-style:normal;color:var(--line-2)}
.badge{display:inline-block;padding:5px 9px;border-radius:999px;background:var(--accent);color:var(--accent-ink);font:700 10.5px/1 var(--mono);letter-spacing:.08em;text-transform:uppercase}
.acc{display:inline-flex;align-items:center;gap:6px}
.acc--members{color:var(--muted)}
.acc--account,.acc--public,.acc--open{color:var(--ok)}
.label-mono{font:500 12px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin-bottom:12px}

.cover{display:block;width:100%;height:100%;object-fit:cover;background:var(--surface)}
.cover--empty{display:flex;align-items:flex-end;padding:16px;background-color:#191511;background-image:linear-gradient(rgba(243,237,229,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(243,237,229,.045) 1px,transparent 1px);background-size:20px 20px;background-position:-1px -1px}
.cover--empty span{font:750 clamp(20px,2.6vw,26px)/1.04 var(--display);letter-spacing:-.03em;color:rgba(243,237,229,.28);overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}

/* участникам, пока Логово наполняется: дружеская плашка над проектами */
.soon{display:flex;gap:16px;align-items:flex-start;max-width:46em;margin:0 0 clamp(28px,4vw,40px);padding:18px 20px;border:1px solid var(--accent-line);border-radius:var(--r-lg);background:var(--accent-soft);color:var(--muted);font-size:15px;line-height:1.55}
.soon__emo{flex:none;width:44px;height:44px}
.soon p{margin:0}
.soon .soon__title{margin-bottom:4px;font:650 17px/1.3 var(--display);letter-spacing:-.01em;color:var(--text)}
.empty{border:1px dashed var(--line-2);border-radius:var(--r-lg);padding:clamp(28px,5vw,48px);text-align:center;color:var(--muted)}
.empty .h3{margin-bottom:8px;color:var(--text)}

/* ---------------------------------------------------------------- главная: первый экран */
.hero{padding:clamp(20px,5vw,72px) 0 0}
.hero__grid{display:grid;gap:28px}
.hero__title{margin-top:16px;font-size:clamp(40px,11.4vw,84px);line-height:1;max-width:12.5em}
/* меняющееся слово: своя строка, ширина — под самое длинное (::after), буквы выпрыгивают упруго */
.rw{display:grid;justify-items:start;color:var(--accent);white-space:nowrap;padding-bottom:.06em}
.rw>*,.rw::after{grid-area:1/1}
.rw::after{content:attr(data-max);visibility:hidden;pointer-events:none}
.rw__c{display:inline-block;white-space:pre;transform-origin:50% 80%}
.rw__w.is-out,.rw__w.is-off{pointer-events:none}
.rw__w.is-off{opacity:0}
.rw__w.is-out .rw__c{animation:rwOut .32s cubic-bezier(.55,0,.8,.2) both;animation-delay:calc(var(--k)*16ms)}
.rw__w.is-in .rw__c{animation:rwIn .74s cubic-bezier(.2,.8,.3,1) both;animation-delay:calc(var(--k)*34ms + .12s)}
@keyframes rwIn{0%{opacity:0;transform:translateY(.42em) scale(.3)}45%{opacity:1;transform:translateY(-.08em) scale(1.16)}70%{transform:translateY(.02em) scale(.95)}100%{opacity:1;transform:none}}
@keyframes rwOut{to{opacity:0;transform:translateY(-.3em) scale(.55)}}
.hero__btns .btn--ghost{background:rgba(255,255,255,.02)}
@media (max-width:420px){.hero__btns{gap:10px}.hero__btns .btn{padding:0 20px;font-size:16px}}
.hero__lead{margin-top:16px;color:var(--text);font-weight:500}
.hero__cta{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:22px}
.hero__fine{text-wrap:balance;font:500 12.5px/1.4 var(--mono);color:var(--dim)}
@media (min-width:1000px){
  .hero{padding-top:clamp(40px,6vw,88px)}
  .hero__grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:56px;align-items:center}
  .hero__title{font-size:clamp(46px,5.4vw,80px)}
}

/* коллаж с автором: сцена 100×110cqw, слои двигаются за курсором (transform из js/hero.js по data-d/dx/dy), лицо — WebGL с картой глубины */
@font-face{font-family:"Caveat";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/caveat-cyrillic-wght-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Caveat";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/caveat-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F}
.mk{--cream:#f3ede5;position:relative;width:100%;max-width:600px;margin:12px auto 0;aspect-ratio:10/11;container-type:inline-size;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.mk__l{position:absolute;inset:0;margin:0}
.mk__svg{width:100%;height:100%;overflow:visible;pointer-events:none}
.mk__dots{inset:12cqw 6cqw 8cqw;background:radial-gradient(circle,rgba(255,122,46,.55) 1.1px,transparent 1.7px) 0 0/9px 9px;-webkit-mask:radial-gradient(closest-side,#000 10%,transparent 100%);mask:radial-gradient(closest-side,#000 10%,transparent 100%);opacity:.5}
.mk__face{position:absolute;left:7cqw;top:24cqw;width:86cqw;aspect-ratio:1;cursor:crosshair}
.mk__face img,.mk__face canvas{position:absolute;inset:0;width:100%;height:100%}
.mk__face img{-webkit-mask:radial-gradient(50% 62% at 50% 42%,#000 64%,transparent 98%);mask:radial-gradient(50% 62% at 50% 42%,#000 64%,transparent 98%);filter:sepia(.12) saturate(.95)}
.mk__face canvas{opacity:0;transition:opacity .25s}
.mk.is-gl .mk__face canvas{opacity:1}
.mk.is-gl .mk__face img{visibility:hidden}
/* маркер: неровный край и дрожь руки — фильтр, рисуется штрихом по pathLength */
.mk__ink,.mk__dd path,.mk__dd circle{stroke-linecap:round;stroke-linejoin:round}
.mk__ink{stroke:var(--accent);stroke-width:13;filter:url(#mkRough)}
.mk__ink--big{stroke-width:15;opacity:.92}
.mk__ink--arrow{stroke:var(--cream);stroke-width:6}
/* маркер по лицу (js/hero.js): стоп-моушен, белый, с тенью, чтобы читался на коже */
.mk__fx{filter:url(#mkRough);fill:none;stroke-linecap:round;stroke-linejoin:round}
.mk__fx path{stroke:#fff;stroke-width:9}
.mk__fx{transition:opacity .15s}

.mk__fx path.sh{stroke:#120e0b;stroke-opacity:.5;stroke-width:16;translate:2px 4px}
.mk__ink--strike{stroke-width:6}
.mk__orbit{stroke:var(--cream);stroke-opacity:.28;stroke-width:2;stroke-dasharray:3 9}
.mk__led{fill:var(--accent);opacity:.25;animation:mkLed 2.6s linear infinite;animation-delay:calc(var(--i)*-.1s)}
.mk__sat{fill:var(--cream);filter:drop-shadow(0 0 6px var(--accent))}
@keyframes mkLed{0%,100%{opacity:.18}8%{opacity:1}30%{opacity:.18}}
.mk__box{stroke:var(--cream);stroke-width:3;stroke-opacity:.85}
.mk__wire{stroke:var(--cream);stroke-opacity:.35;stroke-width:2.5;stroke-dasharray:2 8;stroke-linecap:round}
.mk__node{fill:var(--bg);stroke:var(--cream);stroke-opacity:.6;stroke-width:2.5}
.mk__pk{fill:var(--accent);filter:drop-shadow(0 0 5px var(--accent))}
.mk__pk[data-pk]{opacity:0;transition:opacity .3s}
.mk[data-step="1"] [data-pk="1"],.mk[data-step="2"] [data-pk="2"],.mk[data-step="3"] [data-pk="3"]{opacity:1}
.mk__dd path,.mk__dd circle:not(.mk__led){stroke:var(--cream);stroke-width:6;stroke-opacity:.9;transition:stroke .4s}
.mk__dd{filter:url(#mkRough)}
.mk[data-step="1"] [data-g="1"] :is(path,circle:not(.mk__led)),.mk[data-step="2"] [data-g="2"] :is(path,circle:not(.mk__led)),.mk[data-step="3"] [data-g="3"] :is(path,circle:not(.mk__led)){stroke:var(--accent)}
.mk__tv{opacity:.25;transition:opacity .4s}
.mk[data-step="2"] .mk__tv{opacity:1}
.mk__led--strip{opacity:.3}
.mk:not([data-step="3"]) .mk__led--strip{animation:none}
/* подписи */
.mk__tag{inset:auto;left:32cqw;top:39.6cqw;font:600 max(9px,2.1cqw)/1 var(--mono);letter-spacing:.02em;color:var(--bg);background:var(--cream);padding:.7cqw 1.1cqw;border-radius:.6cqw;white-space:nowrap}
.mk__hand{inset:auto;font:700 max(17px,5.6cqw)/1 "Caveat",var(--sans);color:var(--cream);white-space:nowrap;rotate:-6deg;text-shadow:0 0 .3em var(--bg),0 0 .1em var(--bg)}
.mk__hand--idea{left:8cqw;top:16.6cqw;rotate:-4deg}
.mk__hand--rest{left:67cqw;top:53cqw;rotate:-5deg;line-height:.95}
.mk__hand--rest b{color:var(--accent);font-weight:700}
.mk__hand--was{left:3cqw;top:93cqw;rotate:-1.5deg;font-size:max(19px,6.2cqw)}
.mk__hand--fix{left:14cqw;top:100.4cqw;color:var(--accent);rotate:-5deg;font-size:max(19px,6.4cqw)}
.mk__chip{inset:auto;display:flex;flex-direction:column;gap:.9cqw;padding:1.8cqw 2.3cqw 2cqw;border:1px solid var(--line-2);border-radius:1.8cqw;background:rgba(27,24,20,.82);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 2cqw 5cqw rgba(0,0,0,.35);font:500 max(11px,2.7cqw)/1.25 var(--mono);color:var(--text);white-space:nowrap}
.mk__chip::before{content:"";position:absolute;width:12cqw;height:3.6cqw;background:rgba(243,237,229,.2);clip-path:polygon(0 8%,6% 0,14% 10%,22% 2%,100% 0,100% 92%,94% 100%,86% 88%,78% 100%,0 100%);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.mk__chip--ask{left:0;top:4cqw;rotate:-2.5deg}
.mk__chip--ask::before{left:-3cqw;top:-1.6cqw;rotate:-28deg}
.mk__chip--done{right:-1cqw;top:73cqw;rotate:2deg}
.mk__chip--done::before{right:-2.5cqw;top:-1.4cqw;rotate:24deg}
.mk__cap{font-size:max(9px,2cqw);letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.mk__line b{color:var(--accent);font-weight:700}
.mk__ok{display:inline-block}
.mk__caret{display:inline-block;width:.55em;height:1.05em;margin-left:.15em;vertical-align:-.18em;background:var(--accent);animation:mkBlink 1s steps(1) infinite}
.mk__spin{display:inline-block;width:.8em;height:.8em;border:2px solid var(--line-2);border-top-color:var(--accent);border-radius:50%;vertical-align:-.08em;animation:mkSpin .7s linear infinite}
@keyframes mkBlink{50%{opacity:0}}
@keyframes mkSpin{to{rotate:360deg}}
@keyframes mkIn{to{opacity:1}}
/* появление: штрихи прорисовываются, подписи «пишутся», чипы падают на стол */
.mk [pathLength]{stroke-dasharray:1 1;stroke-dashoffset:1;animation:mkDraw .9s cubic-bezier(.6,.1,.3,1) forwards}
.mk__ink--big{animation-duration:1.4s!important;animation-delay:.2s!important}
.mk__dd[data-g="1"] path{animation-delay:1.1s}
.mk__dd[data-g="2"] path{animation-delay:1.3s}
.mk__dd[data-g="3"] path{animation-delay:1.5s}
.mk__ink--a1{animation-delay:1.9s!important}
.mk__ink--a2{animation-delay:2.3s!important}
.mk__ink--strike{animation-delay:3.8s!important;animation-duration:.4s!important}
@keyframes mkDraw{to{stroke-dashoffset:0}}
.mk__hand{clip-path:inset(-20% 100% -20% 0);animation:mkWrite .8s steps(14) forwards}
.mk__hand--idea{animation-delay:1.5s}
.mk__hand--rest{animation-delay:2s}
.mk__hand--was{animation-delay:3.4s}
.mk__hand--fix{animation-delay:4.1s}
@keyframes mkWrite{to{clip-path:inset(-20% -10% -20% 0)}}
.mk__chip,.mk__tag{opacity:0;animation:mkDrop .6s cubic-bezier(.2,1.4,.4,1) forwards}
.mk__chip--ask{animation-delay:.5s}
.mk__chip--done{animation-delay:.8s}
.mk__tag{animation-delay:2.2s}
@keyframes mkDrop{from{opacity:0;scale:1.12}to{opacity:1;scale:1}}
@media (prefers-reduced-motion:reduce){
  .mk *,.mk [pathLength]{animation:none!important}
  .mk [pathLength]{stroke-dashoffset:0}
  .mk__hand{clip-path:none}
  .mk__chip,.mk__tag{opacity:1}
}
/* знаки нейросетей у рамки лица: прорисовка маркером → пауза → стирание, следующий (js/hero.js) */
.mk__ais{inset:auto;left:28.5cqw;top:33cqw;width:10cqw;height:10cqw;pointer-events:none}
.mk__ai{position:absolute;inset:0;display:flex;align-items:center;gap:1.4cqw;visibility:hidden}
.mk__ai.is-on,.mk__ai.is-off{visibility:visible}
.mk__ai svg{width:10cqw;height:10cqw;flex:none;overflow:visible;filter:drop-shadow(.25cqw .4cqw 0 rgba(18,14,11,.55));animation:mkBoil .375s steps(1) infinite}
.mk__ai g{filter:url(#mkRough)}
.mk .mk__ai path{fill:none;stroke:var(--cream);stroke-width:7;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;stroke-dashoffset:1;animation:none}
.mk__ai[data-ai=claude] path{stroke:var(--accent);stroke-width:8}
.mk .mk__ai.is-on path{animation:mkDraw .75s cubic-bezier(.6,.1,.3,1) .15s both}
.mk .mk__ai.is-off path{stroke-dashoffset:0;animation:mkErase .35s ease-in both}
@keyframes mkErase{from{stroke-dashoffset:0}to{stroke-dashoffset:-1}}
@keyframes mkBoil{0%{translate:0 0;rotate:0deg}33%{translate:.15cqw -.1cqw;rotate:.8deg}66%{translate:-.1cqw .12cqw;rotate:-.6deg}}
@media (prefers-reduced-motion:reduce){.mk__ai[data-ai=claude]{visibility:visible}.mk .mk__ai[data-ai=claude] path{stroke-dashoffset:0}}
@media (min-width:1000px){.mk{margin:0 0 0 auto}}

/* ---------------------------------------------------------------- как это выглядит внутри */
.peek{display:grid;gap:28px}
.peek__video{display:none}
.peek__mini{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:var(--r);background:var(--bg-2)}
.peek__mini .reel{border-radius:10px}
.peek__mini b{display:block;font:700 16px/1.25 var(--display);letter-spacing:-.01em;margin-bottom:4px}
.peek__mini .dim{font:12px var(--mono)}
.peek__body{display:flex;flex-direction:column;gap:28px;min-width:0}
.peek__block{min-width:0}
@media (min-width:900px){
  .peek{grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:56px;align-items:start}
  .peek__video{display:flex;flex-direction:column;gap:14px;position:sticky;top:calc(var(--hdr) + 24px)}
  .peek__caption b{display:block;font:700 19px/1.25 var(--display);letter-spacing:-.015em}
  .peek__caption span{display:block;margin-top:6px;color:var(--muted);font-size:14.5px;line-height:1.45}
  .peek__mini{display:none}
}
.sample-prompt{position:relative;background:var(--surface);border:1px solid var(--line);border-left:2px solid var(--accent);border-radius:12px;padding:16px 16px 58px}
.sample-prompt pre{margin:0;font:13.5px/1.62 var(--mono);color:#e9e0d4;white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto}
.sample-prompt .btn{position:absolute;left:12px;bottom:12px}
.sample-prompt .btn.is-done{color:var(--ok)}
.filerow{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--line);min-width:0}
.filerow .i{color:var(--muted)}
.filerow__name{flex:1;min-width:0;font:500 14px var(--mono);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filerow__size{font:13px var(--mono);color:var(--dim);flex:none}

/* ---------------------------------------------------------------- стартовый набор */
.starter{display:grid;gap:24px;border:1px solid var(--line);border-radius:var(--r-xl);padding:clamp(22px,5vw,56px);background:var(--bg-2)}
.starter__title{margin-top:14px;font-size:clamp(28px,5.2vw,52px)}
.starter__lead{margin-top:14px}
.starter__form{display:flex;flex-direction:column;gap:10px;min-width:0}
@media (min-width:900px){.starter{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:56px}}
.inline-form__row{display:flex;flex-direction:column;gap:10px}
@media (min-width:520px){.inline-form__row{flex-direction:row}.inline-form__row .input{flex:1;min-width:0}}

/* ---------------------------------------------------------------- цена */
.price-wrap{display:grid;gap:8px}
@media (min-width:900px){.price-wrap{grid-template-columns:minmax(0,1fr) minmax(360px,460px);gap:56px;align-items:start}}
.seg{display:inline-flex;padding:4px;border-radius:999px;background:var(--surface);border:1px solid var(--line)}
.seg button{border:0;background:transparent;color:var(--muted);padding:9px 18px;border-radius:999px;font:600 14.5px var(--sans);display:inline-flex;align-items:center;gap:8px}
.seg button[aria-pressed="true"]{background:var(--surface-3);color:var(--text)}
.seg__tag{font:700 11px/1 var(--mono);color:var(--accent)}
.price{display:flex;flex-direction:column;gap:6px;padding:clamp(22px,4vw,36px);border-radius:var(--r-xl);border:1px solid var(--accent-line);background:var(--bg-2)}
.price .seg{align-self:flex-start;margin-bottom:18px}
.price__val{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
.price__val b{font:800 clamp(52px,9vw,72px)/1 var(--display);letter-spacing:-.045em}
.price__val span{color:var(--muted);font-size:17px}
.price__sub{color:var(--dim);font-size:14.5px;min-height:1.5em}
.price__list{display:flex;flex-direction:column;gap:12px;margin:22px 0 26px;padding:22px 0 0;border-top:1px solid var(--line)}
.price__list li{display:flex;gap:12px;align-items:flex-start}
.price__list .i{color:var(--accent);margin-top:2px}
.price__pay{text-wrap:balance;margin-top:16px;text-align:center;font:500 13px/1.5 var(--mono);color:var(--muted)}
.price__refund{display:flex;justify-content:center;gap:8px;align-items:center;margin-top:6px;font-size:14px;color:var(--ok)}
.price__refund .i{width:16px;height:16px}

/* ---------------------------------------------------------------- автор */
.author{display:grid;gap:28px;align-items:center}
.author__ava{width:clamp(148px,34vw,260px);aspect-ratio:1;border-radius:50%;object-fit:cover;background:var(--surface)}
.author__name{margin-top:14px}
.author__text .lead{margin-top:14px;max-width:30em}
.nums{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:16px clamp(20px,5vw,48px);margin:28px 0 0}
.nums div{display:flex;flex-direction:column;gap:6px;min-width:0}
.nums dd{margin:0;font:800 clamp(34px,5vw,48px)/1 var(--display);letter-spacing:-.04em}
.nums dt{color:var(--dim);font-size:13.5px;line-height:1.3;max-width:9em}
.author__links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:28px}
.author__links .i{color:var(--muted)}
@media (min-width:800px){.author{grid-template-columns:auto minmax(0,1fr);gap:56px}}

/* ---------------------------------------------------------------- вопросы */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;cursor:pointer;font:650 clamp(17px,2vw,20px)/1.3 var(--display);letter-spacing:-.015em;-webkit-tap-highlight-color:transparent}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";width:12px;height:12px;flex:none;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg) translate(-3px,-3px);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(-135deg) translate(-3px,-3px)}
.faq .faq__a{padding:0 0 24px;color:var(--muted);max-width:42em}
.faq .faq__a p+p{margin-top:10px}
.faq .faq__a a{color:var(--accent)}
@media (min-width:980px){.faq-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:56px;align-items:start}}

/* ---------------------------------------------------------------- финальный призыв */
.outro{padding:var(--sec) 0;text-align:left}
.outro .h2{max-width:12em}
.outro .btn-row{margin-top:32px}

/* ---------------------------------------------------------------- подвал */
.ftr{border-top:1px solid var(--line);padding:44px 0 calc(36px + env(safe-area-inset-bottom));color:var(--muted);font-size:14.5px;margin-top:auto}
.ftr__row{display:flex;flex-direction:column;gap:22px}
@media (min-width:800px){.ftr__row{flex-direction:row;align-items:center;justify-content:space-between}}
.ftr__links{display:flex;flex-wrap:wrap;gap:10px 22px}
.ftr__links a:hover{color:var(--text)}
.ftr__line{margin-top:28px;font:13px var(--mono);color:var(--dim)}

/* ---------------------------------------------------------------- формы */
.field{display:flex;flex-direction:column;gap:8px}
.label{font:600 14px var(--sans);color:var(--muted)}
.input{width:100%;min-height:54px;padding:0 18px;border-radius:14px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);font-size:17px;transition:border-color .15s,background .15s;-webkit-appearance:none;appearance:none}
.input::placeholder{color:var(--dim)}
.input:focus{outline:none;border-color:var(--accent);background:var(--surface-2)}
.input.is-err{border-color:var(--bad)}
.input[readonly]{color:var(--muted)}
textarea.input{padding:14px 16px;min-height:120px;line-height:1.5;resize:vertical}
select.input{padding-right:40px;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 22px) 50%,calc(100% - 16px) 50%;background-size:6px 6px;background-repeat:no-repeat}
.formerr{color:var(--bad);font-size:14.5px;min-height:0}
.formerr:empty{display:none}
.note{font-size:13.5px;color:var(--dim);line-height:1.5}
.note a{color:var(--muted);text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:3px}
.alert{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:14px;background:var(--surface);border:1px solid var(--line);font-size:15px;color:var(--muted)}
.alert .i{margin-top:2px;flex:none}
.alert--bad{border-color:rgba(240,114,97,.35);color:#f4b3a9}
.alert--ok{border-color:rgba(139,201,141,.3);color:#c5e3c6}
.alert--accent{border-color:var(--accent-line);background:var(--accent-soft);color:var(--text)}
.alert a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}

/* радио-карточки */
.choice{position:relative;display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:16px;border:1px solid var(--line-2);background:var(--surface);cursor:pointer;transition:border-color .15s,background .15s;-webkit-tap-highlight-color:transparent;min-width:0}
.choice:hover{border-color:var(--dim)}
.choice input{position:absolute;opacity:0;pointer-events:none}
.choice__dot{width:20px;height:20px;border-radius:50%;border:2px solid var(--line-2);flex:none;transition:border-color .15s,box-shadow .15s}
.choice:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.choice:has(input:checked) .choice__dot,.choice.is-on .choice__dot{border-color:var(--accent);box-shadow:inset 0 0 0 4px var(--bg),inset 0 0 0 10px var(--accent)}
.choice.is-on{border-color:var(--accent);background:var(--accent-soft)}
.choice:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.choice__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.choice__title{font-weight:650;font-size:16px}
.choice__sub{font-size:13.5px;color:var(--dim)}
.choice__side{text-align:right;flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.choice__price{font:750 19px/1.1 var(--display);letter-spacing:-.02em}
.choice__tag{display:inline-block;padding:3px 8px;border-radius:999px;background:var(--accent);color:var(--accent-ink);font:700 11px/1.2 var(--sans);white-space:nowrap}
.choice .i{color:var(--muted)}

/* ---------------------------------------------------------------- страница проекта */
.pj{padding-top:clamp(12px,3vw,40px)}
.pj-top{display:grid;gap:26px}
.pj-top--wide .pj-media{border-radius:var(--r-lg)}
@media (min-width:900px){
  .pj-top--tall{grid-template-columns:minmax(300px,400px) minmax(0,1fr);gap:56px;align-items:start}
  .pj-top--tall .pj-info{position:sticky;top:calc(var(--hdr) + 32px);padding-top:12px}
  .pj-top--wide .pj-info{max-width:820px}
  .pj-top--wide .pj-cta .btn{align-self:flex-start;width:auto;min-width:280px}
}
.pj-media{position:relative;border-radius:var(--r-lg);overflow:hidden;background:#000}
.pj-media--tall{aspect-ratio:9/16;max-height:min(82vh,760px);margin:0 auto;width:min(100%,calc(min(82vh,760px)*9/16))}
@media (max-width:899px){.pj-media--tall{width:auto;height:min(66vh,640px);max-width:100%;aspect-ratio:9/16;margin:0 auto}}
.pj-media--wide{aspect-ratio:16/9}
.pj-media--ig{aspect-ratio:auto;background:var(--surface)}
.pj-media video,.pj-media iframe,.pj-media .cover{width:100%;height:100%;object-fit:cover;border:0}
.pj-media video{object-fit:contain;background:#000}
.lite{position:absolute;inset:0;border:0;padding:0;background:#000;cursor:pointer;width:100%;height:100%;display:block}
.lite .cover{opacity:.82;transition:opacity .2s}
.lite:hover .cover{opacity:1}
.lite__play{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;transition:transform .2s}
.lite__play .i{width:30px;height:30px;margin-left:4px}
.lite:hover .lite__play{transform:scale(1.06)}
.lite__label{position:absolute;left:14px;bottom:14px;right:14px;display:flex;align-items:center;gap:8px;font:500 13px var(--mono);color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.6)}
.ig-frame{width:100%;height:min(86vh,720px);border:0;background:var(--surface)}

/* свой плеер (видео проекта): app.js снимает controls и показывает .vp__ui; без JS остаётся системный */
.vp{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.vp__ui{position:absolute;inset:0;z-index:1;cursor:pointer}
.vp.is-started.is-playing:not(.is-ui) .vp__ui{cursor:none}
.vp__shade{position:absolute;left:0;right:0;bottom:0;height:min(44%,240px);background:linear-gradient(to top,rgba(10,8,6,.78),rgba(10,8,6,.32) 55%,rgba(10,8,6,0));opacity:0;transition:opacity .25s;pointer-events:none}
.vp__big{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;padding:0;border:0;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.vp__big .i{width:30px;height:30px}
.vp__big .i--play{margin-left:4px}
.vp__big .i--pause,.vp.is-playing .vp__big .i--play{display:none}
.vp.is-playing .vp__big .i--pause{display:block}
.vp.is-paused .vp__big{opacity:1;pointer-events:auto}
.vp.is-playing .vp__big{background:rgba(17,15,13,.55);color:#fff}
.vp.is-playing.is-ui .vp__big{opacity:1;pointer-events:auto}
.vp.is-paused .vp__big:hover{transform:scale(1.06)}
.vp__big:active{transform:scale(.96)}
.vp__spin{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;border:2.5px solid rgba(243,237,229,.9);border-right-color:transparent;animation:spin .8s linear infinite;opacity:0;transition:opacity .15s;pointer-events:none}
.vp.is-waiting .vp__spin{opacity:1;transition-delay:.35s}
.vp.is-playing.is-waiting .vp__big,.vp.is-paused.is-pending .vp__big{opacity:0;pointer-events:none}
.vp__sound{position:absolute;top:12px;left:12px;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px 0 12px;border:0;border-radius:999px;background:var(--accent);color:var(--accent-ink);font:650 14.5px/1 var(--sans);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s,background .18s}
.vp__sound .i{width:20px;height:20px}
.vp__sound:hover{background:var(--accent-2)}
.vp.is-quiet.is-playing .vp__sound{opacity:1;pointer-events:auto}
.vp__bar{position:absolute;left:0;right:0;bottom:0;padding:0 6px max(4px,env(safe-area-inset-bottom));opacity:0;pointer-events:none;transition:opacity .25s;cursor:default}
.vp.is-started.is-ui .vp__bar,.vp.is-started.is-ui .vp__shade{opacity:1}
.vp.is-started.is-ui .vp__bar{pointer-events:auto}
.vp__seek{position:relative;display:flex;align-items:center;height:30px;margin:0 8px;cursor:pointer;touch-action:none}
.vp__track{position:relative;flex:1;height:3px;border-radius:3px;background:rgba(243,237,229,.24);transition:height .15s;--p:0;--b:0}
.vp__buf,.vp__fill{position:absolute;inset:0;border-radius:inherit;transform-origin:0 50%}
.vp__buf{background:rgba(243,237,229,.3);transform:scaleX(var(--b))}
.vp__fill{background:var(--accent);transform:scaleX(var(--p))}
.vp__thumb{position:absolute;top:50%;left:calc(var(--p)*100%);width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:var(--accent);transform:scale(0);transition:transform .15s}
.vp.is-seeking .vp__track,.vp__seek:focus-visible .vp__track{height:5px}
.vp.is-seeking .vp__thumb,.vp__seek:focus-visible .vp__thumb{transform:scale(1)}
@media (hover:hover){.vp__seek:hover .vp__track{height:5px}.vp__seek:hover .vp__thumb{transform:scale(1)}}
.vp__seek:focus-visible{outline:0}
.vp__seek:focus-visible .vp__track{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--accent)}
.vp__row{display:flex;align-items:center;gap:2px;margin-top:-4px}
.vp__time{margin-right:auto;padding-left:8px;font:500 12.5px/1 var(--mono);color:#fff;font-variant-numeric:tabular-nums;letter-spacing:0;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.vp__btn{width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none;color:#fff;display:grid;place-items:center;transition:color .15s}
.vp__btn:hover{color:var(--accent-2)}
.vp__btn .i{width:22px;height:22px;filter:drop-shadow(0 1px 4px rgba(0,0,0,.45))}
.vp__btn:focus-visible,.vp__big:focus-visible,.vp__sound:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:999px}
.vp .i--mute,.vp.is-muted .i--sound,.vp .i--collapse,.vp.is-fs .i--expand{display:none}
.vp.is-muted .i--mute,.vp.is-fs .i--collapse{display:block}
.vp.is-fs{width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;margin:0;border-radius:0}
.vp.is-fs .vp__sound{top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left))}
.pj-info{display:flex;flex-direction:column;gap:16px;min-width:0}
.pj-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.crumb{display:inline-flex;align-items:center;gap:8px;font:500 13px var(--mono);color:var(--dim);align-self:flex-start}
.crumb:hover{color:var(--text)}
.crumb .i{width:16px;height:16px}
.needs .label-mono{margin-bottom:8px}
.vault__free{align-self:flex-start;font-size:14.5px}
.pj-title{font:800 clamp(34px,6.2vw,64px)/1.0 var(--display);letter-spacing:-.04em;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
.pj-short{font-size:clamp(17px,1.8vw,20px);color:var(--muted);line-height:1.5}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid var(--line-2);font:500 12.5px/1.2 var(--mono);color:var(--muted);letter-spacing:.02em;max-width:100%;overflow-wrap:anywhere}
.chip .i{width:15px;height:15px}
.chip--accent{border-color:var(--accent-line);color:var(--accent)}
.facts{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:14.5px;color:var(--muted)}
.facts span{display:inline-flex;align-items:center;gap:7px}
.facts .i{width:17px;height:17px;color:var(--dim)}
.pj-cta{display:flex;flex-direction:column;gap:10px;margin-top:8px;padding-top:20px;border-top:1px solid var(--line)}
.pj-cta .note{text-align:left}
.pj-cta__pitch{font-size:15.5px;line-height:1.45;color:var(--muted);text-wrap:pretty}
.pj-cta__pitch b{color:var(--text);font-weight:650;white-space:nowrap}
.pj-body{padding-top:clamp(48px,7vw,88px)}
.divider{display:flex;align-items:center;gap:14px;margin:clamp(48px,7vw,72px) 0 28px;font:500 12px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.divider::after{content:"";flex:1;height:1px;background:var(--line)}
.divider .i{color:var(--accent);width:16px;height:16px}

/* замок: что внутри разбора */
.vault{border:1px solid var(--line);border-radius:var(--r-xl);background:var(--bg-2);overflow:hidden}
.vault__head{padding:clamp(24px,4vw,40px) clamp(20px,4vw,40px) 0;display:flex;flex-direction:column;gap:12px}
.vault__lock{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);border:1px solid var(--accent-line)}
.vault__lock .i{width:24px;height:24px}
.vault__title{font:760 clamp(26px,4vw,36px)/1.08 var(--display);letter-spacing:-.03em}
.vault__lead{color:var(--muted)}
.vault__section{padding:24px clamp(20px,4vw,40px) 0}
.vault__label{font:500 12px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin-bottom:12px}
.toc{position:relative;counter-reset:toc;display:flex;flex-direction:column}
.toc li{display:flex;gap:14px;align-items:baseline;padding:11px 0;border-bottom:1px solid var(--line);min-width:0}
.toc li:last-child{border-bottom:0}
.toc li.l2{counter-increment:toc;font-weight:600}
.toc li.l2::before{content:counter(toc,decimal-leading-zero);font:500 12.5px var(--mono);color:var(--accent);width:22px;flex:none}
.toc li.l3{padding-left:36px;color:var(--muted);font-size:15px}
.toc li.l3::before{content:"—";color:var(--dim);flex:none}
.toc li span{min-width:0;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
.toc--fade li:nth-last-child(-n+2){opacity:.5}
.toc--fade li:last-child{opacity:.25}
.files{display:flex;flex-direction:column;gap:8px}
a.filerow:hover{border-color:var(--dim);background:var(--surface-2)}
a.filerow:hover .i{color:var(--accent)}
.filerow--locked .filerow__name{color:var(--muted)}
.vault__cta{margin-top:28px;padding:clamp(20px,4vw,32px) clamp(20px,4vw,40px) clamp(24px,4vw,40px);border-top:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;gap:14px}
.vault__cta .btn-row{gap:10px}
.vault__cta .btn,.pj-cta .btn,.sticky-cta .btn--lg{padding:0 18px}
.vault__price{font:500 15px var(--sans);color:var(--muted)}
.vault__price b{color:var(--text);font-weight:700}
@media (min-width:600px){.vault__cta .btn{width:auto}}

/* разбор для участника */
.unlocked-note{display:flex;gap:10px;align-items:center;color:var(--ok);font-size:14.5px;margin-bottom:20px}
.files-block{margin-top:40px}
/* ключ приложения участника */
.appkey{margin-top:48px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.appkey__lead{margin:8px 0 0;color:var(--muted)}
.appkey__state{margin:16px 0 0;font:13.5px/1.5 var(--mono);color:var(--muted)}
.appkey__state.is-error{color:var(--accent)}
.appkey__out{margin-top:16px}
.appkey__out .sample-prompt pre{color:var(--text);user-select:all}
.appkey__out .note{margin-top:8px}
.appkey__act{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.appkey > .note{margin-top:16px}
.files-block .h3{margin-bottom:16px}

/* липкая панель на телефоне */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:50;padding:12px var(--pad) calc(12px + env(safe-area-inset-bottom));background:rgba(17,15,13,.97);border-top:1px solid var(--line);transform:translateY(110%);transition:transform .28s cubic-bezier(.2,.7,.2,1)}
.sticky-cta.is-on{transform:none}
.sticky-cta{display:flex;align-items:center;justify-content:space-between;gap:14px}
.sticky-cta .btn{width:auto;flex:none;padding:0 20px}
.sticky-cta__text{font-size:14.5px;line-height:1.3;color:var(--text);font-weight:550;min-width:0}
.sticky-cta__text b{color:var(--text);font-family:var(--display);font-weight:800;letter-spacing:-.02em}
.sticky-cta__sub{margin-top:7px;text-align:center;font-size:12.5px;color:var(--dim)}
@media (min-width:900px){.sticky-cta{display:none}}

/* ---------------------------------------------------------------- текст из markdown */
.prose{font-size:17px;line-height:1.68;color:#e8e0d6;max-width:720px;overflow-wrap:break-word}
.prose>*+*{margin-top:1.05em}
.prose h2{font:750 clamp(26px,3.6vw,34px)/1.12 var(--display);letter-spacing:-.03em;color:var(--text);margin-top:1.9em}
.prose h3{font:680 clamp(20px,2.6vw,23px)/1.25 var(--display);letter-spacing:-.02em;color:var(--text);margin-top:1.6em}
.prose h4{font:650 17px/1.35 var(--sans);color:var(--text);margin-top:1.4em}
.prose>:first-child{margin-top:0}
.prose a{color:var(--accent);text-decoration:underline;text-decoration-color:var(--accent-line);text-underline-offset:3px;overflow-wrap:anywhere}
.prose strong,.prose b{color:var(--text);font-weight:650}
.prose ul,.prose ol{padding-left:1.4em}
.prose ul{list-style:none;padding-left:1.2em}
.prose ul>li{position:relative}
.prose ul>li::before{content:"";position:absolute;left:-1.05em;top:.68em;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.prose ol{list-style:decimal}
.prose ol>li::marker{color:var(--accent);font:600 .9em var(--mono)}
.prose li+li{margin-top:.45em}
.prose code{font:.88em/1.5 var(--mono);background:var(--surface-2);border:1px solid var(--line);padding:.1em .4em;border-radius:6px;overflow-wrap:anywhere}
.prose pre{background:var(--bg-2);border:1px solid var(--line);border-radius:14px;padding:16px 18px;overflow-x:auto;font:13.5px/1.6 var(--mono);-webkit-overflow-scrolling:touch;max-width:100%}
.prose pre code{background:none;border:0;padding:0;font-size:inherit;overflow-wrap:normal;white-space:pre}
.prose blockquote{background:var(--surface);border:1px solid var(--line);border-left:2px solid var(--accent);border-radius:12px;padding:16px 18px;color:#e6ddd2}
.prose blockquote p{font:14.5px/1.65 var(--mono)}
.prose img,.prose video{border-radius:14px;margin-inline:auto;max-height:80vh;width:auto}
.prose figure figcaption{margin-top:8px;font-size:14px;color:var(--dim);text-align:center}
.prose hr{border:0;height:1px;background:var(--line);margin:2.4em 0}
.prose table{width:100%;border-collapse:collapse;font-size:15px;display:block;overflow-x:auto}
.prose th,.prose td{border-bottom:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.prose th{color:var(--muted);font-weight:600}
.prose iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:14px}

/* ---------------------------------------------------------------- вступление */
.join{padding:clamp(28px,6vw,72px) 0 var(--sec)}
.join__grid{display:grid;gap:40px}
@media (min-width:980px){.join__grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.9fr);gap:64px;align-items:start}}
.join__head{display:flex;flex-direction:column;gap:16px;margin-bottom:clamp(28px,5vw,48px)}
.step{padding:28px 0;border-top:1px solid var(--line)}
.step:first-child,.join__cur+.step{border-top:0;padding-top:0}
.join__cur{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}
.join__cur .seg button{min-width:48px;justify-content:center}
.choice[hidden]{display:none}
.step__label{display:flex;align-items:center;gap:12px;margin-bottom:16px;font:650 18px/1.3 var(--display);letter-spacing:-.01em}
.step__n{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--accent-line);color:var(--accent);font:600 13px var(--mono);flex:none}
.choices{display:flex;flex-direction:column;gap:10px}
.summary{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg-2);padding:clamp(20px,3vw,28px);display:flex;flex-direction:column;gap:16px}
@media (min-width:980px){.summary{position:sticky;top:calc(var(--hdr) + 24px)}}
.summary__row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:15px;color:var(--muted)}
.summary__row b{color:var(--text);font-weight:600;text-align:right}
.summary__total{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding-top:16px;border-top:1px solid var(--line)}
.summary__total b{font:800 34px/1 var(--display);letter-spacing:-.035em}
.summary__perks{display:flex;flex-direction:column;gap:8px;font-size:14.5px;color:var(--muted)}
.summary__perks li{display:flex;gap:10px}
.summary__perks .i{color:var(--accent);margin-top:2px}
.whopbox{min-height:120px;border-radius:16px;overflow:hidden}
.paybox-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.sk{background:linear-gradient(90deg,var(--surface) 0,var(--surface-2) 50%,var(--surface) 100%);background-size:200% 100%;animation:sk 1.3s ease infinite;border-radius:14px}
@keyframes sk{from{background-position:100% 0}to{background-position:-100% 0}}

/* ---------------------------------------------------------------- вход */
.auth{padding:clamp(40px,10vw,120px) 0 var(--sec)}
.auth__box{max-width:460px;margin:0 auto;display:flex;flex-direction:column;gap:20px}
.auth__box .h2{font-size:clamp(34px,7vw,52px)}
.auth__mark{width:44px;height:44px;color:var(--text)}
.code{width:100%;min-height:68px;padding:0 18px;border-radius:16px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);font:600 32px/1 var(--mono);letter-spacing:.42em;text-align:center;text-indent:.42em;-webkit-appearance:none;appearance:none}
.code:focus{outline:none;border-color:var(--accent);background:var(--surface-2)}
.code::placeholder{color:var(--line-2)}
.auth__row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:14.5px}
.auth__sent{display:flex;gap:12px;align-items:flex-start;color:var(--muted)}
.auth__sent .i{color:var(--accent);margin-top:3px;width:22px;height:22px}
.auth__sent b{color:var(--text);overflow-wrap:anywhere}

/* ---------------------------------------------------------------- кабинет */
.me{padding:clamp(28px,6vw,72px) 0 var(--sec)}
.me__head{display:flex;flex-direction:column;gap:10px;margin-bottom:clamp(28px,5vw,48px)}
.me__email{font:500 15px var(--mono);color:var(--dim);overflow-wrap:anywhere}
.me__grid{display:grid;gap:20px}
.me__col{display:flex;flex-direction:column;gap:20px;min-width:0}
.me__actions{display:flex;flex-direction:column;gap:14px;padding-top:4px}
@media (min-width:900px){.me__grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start}}
.panel{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg-2);padding:clamp(20px,3.4vw,32px);display:flex;flex-direction:column;gap:16px;min-width:0}
.panel__title{font:700 20px/1.25 var(--display);letter-spacing:-.02em}
.status{display:inline-flex;align-items:center;gap:8px;font:600 13px var(--mono);letter-spacing:.04em;text-transform:uppercase}
.status::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.status--active{color:var(--ok)}
.status--cancelled,.status--past_due{color:var(--warn)}
.status--expired,.status--none{color:var(--dim)}
.status-big{font:780 clamp(28px,4.4vw,40px)/1.06 var(--display);letter-spacing:-.035em}
.kv{display:grid;grid-template-columns:auto 1fr;gap:10px 20px;font-size:15px}
.kv dt{color:var(--dim)}
.kv dd{margin:0;text-align:right;font-weight:550}
.paylist{display:flex;flex-direction:column}
.paylist li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;padding:14px 0;border-bottom:1px solid var(--line);font-size:15px}
.paylist li:last-child{border-bottom:0}
.paylist .amt{font-weight:650;text-align:right}
.paylist .sub{color:var(--dim);font-size:13.5px}
.confirm{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:14px;border:1px solid rgba(240,114,97,.3);background:rgba(240,114,97,.06)}
.tg-card{background:linear-gradient(var(--accent-soft),var(--accent-soft)),var(--bg-2);border-color:var(--accent-line)}
.tg-card .i{color:var(--accent)}

/* ---------------------------------------------------------------- после оплаты */
.wl{position:relative;min-height:calc(100vh - var(--hdr));overflow:hidden}
.wl canvas.sparks{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.wl__in{position:relative;z-index:1}
.wait{min-height:calc(78vh - var(--hdr));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px;padding:48px 0}
.wait .h2{font-size:clamp(30px,6vw,48px)}
.wait p{color:var(--muted);max-width:28em}
/* ожидание: уголёк знака тлеет — пульс точки и тёплое пятно под ней (центр точки — 50% / 67.6% знака) */
.ember{position:relative;width:88px;height:88px}
.ember svg{position:relative;width:100%;height:100%;color:var(--text)}
.ember::before{content:"";position:absolute;left:15%;top:32.6%;width:70%;height:70%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,122,46,.38),rgba(255,122,46,.1) 55%,transparent);animation:ember-glow 1.6s ease-in-out infinite;pointer-events:none}
.ember--cold::before{display:none}
.ember .mark__ember{animation:ember 1.6s ease-in-out infinite;transform-origin:center;transform-box:fill-box}
@keyframes ember{0%,100%{opacity:.55;transform:scale(.85)}50%{opacity:1;transform:scale(1.12)}}
@keyframes ember-glow{0%,100%{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:none}}
.hello{padding:clamp(40px,9vw,110px) 0 var(--sec)}
/* появление знака после оплаты: линия одним движением с раскалённым кончиком, затем вспыхивает уголёк.
   Разметка — markAnim() в _h.js; блок ниже генерирует tools/logo/build.py (тайминги связаны с длинами линий) */
.hello__mark{width:88px;height:88px;color:var(--text);overflow:visible}
/* <logo-anim> */
.hello__mark .lm-r,.hello__mark .lm-l,.hello__mark .lm-j{stroke-dasharray:1 1;stroke-dashoffset:1;opacity:0}
.hello__mark .lm-j{stroke-dashoffset:0.925}
.hello__mark .lm-r{animation:lm-ln 0.980s cubic-bezier(.42,0,.8,.7) 0.100s forwards,lm-in 0s 0.100s forwards}
.hello__mark .lm-l{animation:lm-lb 0.293s linear 1.033s forwards,lm-in 0s 1.033s forwards}
.hello__mark .lm-j{animation:lm-ln 0.324s cubic-bezier(0.36,0.208,0.748,1) 1.202s forwards,lm-in 0s 1.202s forwards}
.hello__mark .lm-tip{stroke-dasharray:0 3;stroke-dashoffset:0.003;opacity:0;animation:lm-tip 1.225s linear 0.100s forwards,lm-tl 1.225s linear 0.100s both,lm-in 0s 0.100s forwards,lm-fade 0.064s linear 1.261s forwards}
.hello__mark .lm-tip2{stroke-dasharray:0 3;stroke-dashoffset:-0.059;opacity:0;animation:lm-tip2 0.324s cubic-bezier(0.36,0.208,0.748,1) 1.202s forwards,lm-tl2 0.391s linear 1.135s both,lm-in 0s 1.135s forwards,lm-fade 0.061s linear 1.465s forwards}
.hello__mark .lm-fin{opacity:0}
.hello__mark .lm-dot,.hello__mark .lm-glow{transform-box:fill-box;transform-origin:center}
.hello__mark .lm-dot{opacity:0;animation:lm-dot-s 0.6s cubic-bezier(.34,1.4,.64,1) 1.366s both,lm-dot-o .12s ease-out 1.366s forwards,lm-dot-c 0.85s cubic-bezier(.25,.4,.55,.75) 1.366s both}
.hello__mark .lm-glow{opacity:0;animation:lm-glow-s 0.95s cubic-bezier(.2,.6,.35,1) 1.366s both,lm-glow-o 0.95s linear 1.366s forwards}
@keyframes lm-ln{to{stroke-dashoffset:0}}
@keyframes lm-lb{0%{stroke-dashoffset:1}9.8%{stroke-dashoffset:0.86;animation-timing-function:cubic-bezier(.2,.3,.45,1)}100%{stroke-dashoffset:0}}
@keyframes lm-tip{0%{stroke-dashoffset:0.003;animation-timing-function:cubic-bezier(0.4150,0.0000,0.7916,0.6771)}78.459%{stroke-dashoffset:-0.78;animation-timing-function:cubic-bezier(.2,.3,.45,1)}100%{stroke-dashoffset:-1.002}}
@keyframes lm-tip2{to{stroke-dashoffset:-1.021}}
@keyframes lm-tl{0%{stroke-dasharray:0 3}1.361%{stroke-dasharray:.0075 3}2.211%{stroke-dasharray:.01207 3}3.061%{stroke-dasharray:.01648 3}3.741%{stroke-dasharray:.01984 3}4.592%{stroke-dasharray:.02377 3}5.272%{stroke-dasharray:.02667 3}5.952%{stroke-dasharray:.02934 3}6.633%{stroke-dasharray:.03177 3}7.313%{stroke-dasharray:.03396 3}7.993%{stroke-dasharray:.0359 3}8.673%{stroke-dasharray:.03762 3}9.524%{stroke-dasharray:.03946 3}10.374%{stroke-dasharray:.04099 3}11.224%{stroke-dasharray:.04224 3}12.075%{stroke-dasharray:.04323 3}12.925%{stroke-dasharray:.04399 3}13.605%{stroke-dasharray:.04446 3}14.456%{stroke-dasharray:.04487 3}15.306%{stroke-dasharray:.04511 3}16.156%{stroke-dasharray:.04521 3}75.68%{stroke-dasharray:.04521 3}75.85%{stroke-dasharray:.04525 3}76.02%{stroke-dasharray:.0456 3}76.19%{stroke-dasharray:.04626 3}76.361%{stroke-dasharray:.04719 3}76.531%{stroke-dasharray:.04831 3}76.701%{stroke-dasharray:.04958 3}77.211%{stroke-dasharray:.05376 3}77.381%{stroke-dasharray:.05508 3}77.551%{stroke-dasharray:.05629 3}77.721%{stroke-dasharray:.05731 3}77.891%{stroke-dasharray:.0581 3}78.061%{stroke-dasharray:.05861 3}78.231%{stroke-dasharray:.05877 3}82.483%{stroke-dasharray:.05877 3}82.823%{stroke-dasharray:.05868 3}83.163%{stroke-dasharray:.05839 3}83.673%{stroke-dasharray:.05764 3}84.014%{stroke-dasharray:.05695 3}84.524%{stroke-dasharray:.05567 3}85.034%{stroke-dasharray:.05413 3}85.714%{stroke-dasharray:.05174 3}86.395%{stroke-dasharray:.04903 3}87.075%{stroke-dasharray:.04607 3}87.755%{stroke-dasharray:.04291 3}88.605%{stroke-dasharray:.03875 3}91.497%{stroke-dasharray:.02402 3}92.687%{stroke-dasharray:.01818 3}93.367%{stroke-dasharray:.01501 3}94.048%{stroke-dasharray:.01202 3}94.728%{stroke-dasharray:.00924 3}95.238%{stroke-dasharray:.00732 3}95.918%{stroke-dasharray:.005 3}96.599%{stroke-dasharray:.003 3}97.279%{stroke-dasharray:.00135 3}97.959%{stroke-dasharray:.00008 3}98.129%{stroke-dasharray:0 3}100%{stroke-dasharray:0 3}}
@keyframes lm-tl2{0%{stroke-dasharray:.01868 3}2.66%{stroke-dasharray:.01875 3}3.191%{stroke-dasharray:.0227 3}6.383%{stroke-dasharray:.04784 3}7.979%{stroke-dasharray:.06131 3}10.106%{stroke-dasharray:.08019 3}13.298%{stroke-dasharray:.11044 3}17.021%{stroke-dasharray:.14859 3}17.553%{stroke-dasharray:.1517 3}18.085%{stroke-dasharray:.15374 3}21.277%{stroke-dasharray:.1649 3}25%{stroke-dasharray:.17581 3}28.723%{stroke-dasharray:.18473 3}32.979%{stroke-dasharray:.19281 3}36.702%{stroke-dasharray:.19819 3}40.957%{stroke-dasharray:.20248 3}45.213%{stroke-dasharray:.20474 3}48.936%{stroke-dasharray:.20494 3}51.596%{stroke-dasharray:.20395 3}54.255%{stroke-dasharray:.20193 3}56.915%{stroke-dasharray:.19878 3}59.574%{stroke-dasharray:.19439 3}62.234%{stroke-dasharray:.18864 3}64.362%{stroke-dasharray:.18298 3}67.021%{stroke-dasharray:.17448 3}69.149%{stroke-dasharray:.16647 3}71.809%{stroke-dasharray:.15488 3}74.468%{stroke-dasharray:.14144 3}77.128%{stroke-dasharray:.12612 3}79.787%{stroke-dasharray:.10889 3}82.447%{stroke-dasharray:.08982 3}85.106%{stroke-dasharray:.069 3}86.17%{stroke-dasharray:.06022 3}88.298%{stroke-dasharray:.04005 3}89.362%{stroke-dasharray:.0306 3}90.426%{stroke-dasharray:.02178 3}90.957%{stroke-dasharray:.01868 3}93.085%{stroke-dasharray:.01868 3}93.617%{stroke-dasharray:.01815 3}94.681%{stroke-dasharray:.0123 3}95.745%{stroke-dasharray:.00733 3}97.34%{stroke-dasharray:.00169 3}97.872%{stroke-dasharray:.00034 3}100%{stroke-dasharray:0 3}}
@keyframes lm-fade{from{opacity:1}to{opacity:0}}
@keyframes lm-in{to{opacity:1}}
@keyframes lm-dot-s{from{transform:scale(.2)}to{transform:none}}
@keyframes lm-dot-o{to{opacity:1}}
@keyframes lm-dot-c{from{fill:#ffcf9e}to{fill:#ff7a2e}}
@keyframes lm-glow-s{from{transform:scale(.35)}to{transform:scale(1.3)}}
@keyframes lm-glow-o{0%{opacity:0;animation-timing-function:cubic-bezier(.2,.6,.4,1)}25%{opacity:1;animation-timing-function:cubic-bezier(.35,0,.65,.75)}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.hello__mark .lm-r,.hello__mark .lm-l,.hello__mark .lm-j,.hello__mark .lm-tip,.hello__mark .lm-tip2,.hello__mark .lm-draw,.hello__mark .lm-fin,.hello__mark .lm-dot,.hello__mark .lm-glow{animation:none}.hello__mark .lm-draw,.hello__mark .lm-tip,.hello__mark .lm-tip2,.hello__mark .lm-glow{opacity:0}.hello__mark .lm-fin,.hello__mark .lm-dot{opacity:1}}
/* </logo-anim> */
.hello__title{margin-top:28px;font:800 clamp(48px,13vw,132px)/.95 var(--display);letter-spacing:-.045em}
.hello__title .w{display:inline-block;opacity:0;transform:translateY(.35em);animation:rise .8s cubic-bezier(.2,.8,.2,1) forwards}
.hello__title em{font-style:normal;color:var(--accent)}
@keyframes rise{to{opacity:1;transform:none}}
.hello__lead{margin-top:24px;max-width:30em}
.hello__login{margin-top:20px;max-width:560px}
#fresh{padding-top:clamp(56px,8vw,96px);padding-bottom:0}
.reveal{opacity:0;transform:translateY(18px);animation:rise .8s cubic-bezier(.2,.8,.2,1) forwards}
.pass{margin-top:clamp(36px,6vw,56px);max-width:520px;aspect-ratio:1.62;border-radius:22px;padding:clamp(20px,4vw,30px);display:flex;flex-direction:column;justify-content:space-between;background:#1d1915;border:1px solid var(--line-2);position:relative;overflow:hidden;transform-style:preserve-3d;transition:transform .25s ease-out;background-image:linear-gradient(rgba(243,237,229,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(243,237,229,.035) 1px,transparent 1px);background-size:20px 20px}
.pass::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 30%,rgba(255,170,110,.13) 45%,transparent 60%);background-size:250% 100%;animation:sheen 3.2s 1.6s ease-in-out;pointer-events:none;background-position:120% 0}
@keyframes sheen{from{background-position:120% 0}to{background-position:-60% 0}}
.pass__top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.pass__top .logo{font-size:22px}
.pass__kind{font:600 12px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--accent);text-align:right}
.pass__email{font:500 clamp(14px,2.6vw,17px) var(--mono);color:var(--text);overflow-wrap:anywhere}
.pass__row{display:flex;justify-content:space-between;gap:12px;font:13px var(--mono);color:var(--dim);margin-top:8px}
.next{display:grid;gap:14px;margin-top:clamp(56px,8vw,96px)}
@media (min-width:860px){.next{grid-template-columns:repeat(3,minmax(0,1fr))}}
.next__item{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg-2);transition:border-color .2s,transform .2s;min-width:0}
a.next__item:hover{border-color:var(--accent-line);transform:translateY(-2px)}
.next__n{font:500 12.5px var(--mono);color:var(--accent)}
.next__item h3{font:700 21px/1.2 var(--display);letter-spacing:-.02em}
.next__item p{color:var(--muted);font-size:15px}
.next__item .arrow-link{margin-top:auto;padding-top:6px}
.rail{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px var(--pad) 12px;margin:0 calc(var(--pad)*-1);-webkit-overflow-scrolling:touch;scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}
.rail .card{flex:0 0 min(44vw,230px);scroll-snap-align:start}

/* ---------------------------------------------------------------- юр. документы и ошибки */
.legal{padding:clamp(32px,6vw,72px) 0 var(--sec)}
.legal__head{margin-bottom:40px;display:flex;flex-direction:column;gap:16px}
.legal__nav{display:flex;gap:8px;flex-wrap:wrap}
.legal .prose{font-size:16px}
.errp{padding:clamp(48px,12vw,140px) 0 var(--sec)}
.errp__code{font:800 clamp(96px,26vw,240px)/.85 var(--display);letter-spacing:-.06em;color:var(--surface-3)}
.errp__code span{color:var(--accent)}
.errp .h2{margin-top:20px}
.errp .lead{margin-top:16px}
.errp .btn-row{margin-top:32px}

/* ---------------------------------------------------------------- движение по запросу */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-delay:0s!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
  .hello__title .w,.reveal{opacity:1;transform:none}
}

/* ---------------------------------------------------------------- цена запуска, согласия, мелочи после copy.md */
.note--dim{color:var(--dim);font-size:12.5px}
.price__top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.price__top .seg{margin:0}
.price__launch{margin:-8px 0 22px;padding:14px 16px;border-radius:14px;background:var(--accent-soft);border:1px solid var(--accent-line);font-size:14.5px;line-height:1.5;color:var(--text)}
.price__terms{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:10px;font-size:14px;color:var(--ok)}
.price__terms li{display:flex;gap:8px;align-items:center}
.price__terms .i{width:16px;height:16px;flex:none}
.outro .note{margin-top:16px}
.pj-sub{margin-bottom:16px}
.pj-bottom{padding:var(--sec) 0;text-align:center}
.pj-bottom .btn{max-width:100%}
.join__launch{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;color:var(--text);font-size:15px}
.summary__refund{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--ok)}
.summary__refund .i{width:16px;height:16px;flex:none}
.code-row{display:flex;flex-direction:column;gap:10px}
@media (min-width:520px){.code-row{flex-direction:row}.code-row .code{flex:1;min-width:0}.code-row .btn{flex:none}}
.auth__label{margin:6px 0 -2px}
.auth__email{color:var(--text);font-weight:600;overflow-wrap:anywhere}
.auth__sent b{display:inline-block;margin-bottom:2px}
.auth__row .link{display:inline-flex;align-items:center;gap:6px}
.auth__row .link .i{width:16px;height:16px}
.authw__s2{display:flex;flex-direction:column;gap:14px}
.me__launch{display:flex;gap:10px;align-items:flex-start;color:var(--accent);font-size:14.5px}
.me__launch .i,.confirm__warn .i,.hello__launch .i{width:18px;height:18px;flex:none;margin-top:2px}
.me__refund{padding-top:14px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.confirm__title{font:700 18px/1.25 var(--display);letter-spacing:-.015em}
.confirm__warn{display:flex;gap:10px;color:var(--warn);font-size:14.5px}
.reasons{border:0;margin:4px 0 0;padding:0;min-width:0}
.reasons legend{font-size:14px;color:var(--muted);margin-bottom:10px;padding:0}
.reasons__list{display:flex;flex-wrap:wrap;gap:8px}
.reason{position:relative;cursor:pointer}
.reason input{position:absolute;opacity:0;pointer-events:none}
.reason span{display:inline-block;padding:8px 13px;border-radius:999px;border:1px solid var(--line-2);font-size:14px;color:var(--muted);transition:border-color .15s,color .15s,background .15s}
.reason input:checked+span{border-color:var(--accent);color:var(--text);background:var(--accent-soft)}
.reason input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
.btn--danger{background:var(--bad);color:#1c0806}
.btn--danger:hover{background:#f48a7b}
.seg--sm button{padding:7px 14px;font-size:14px}
.hello__launch{display:flex;gap:10px;margin-top:16px;color:var(--accent);font-size:15px;max-width:560px}
.hello__mail{display:flex;gap:10px;align-items:center;margin-top:18px;color:var(--muted);font-size:15px;max-width:520px}
.hello__mail .i{width:18px;height:18px;flex:none;color:var(--accent)}
.hello__mail span{overflow-wrap:anywhere}
.hello__note{margin-top:clamp(36px,6vw,56px);max-width:34em;font-size:17px;line-height:1.55;color:var(--muted)}
.pass__launch{display:inline-block;margin-top:6px;padding:3px 7px;border-radius:6px;background:var(--accent);color:var(--accent-ink);font-size:10.5px}

/* ---------------------------------------------------------------- смайлики и строка под карточкой */
.emo{display:inline-block;flex:none;vertical-align:middle;pointer-events:none;-webkit-user-drag:none;user-select:none}

/* ---------------------------------------------------------------- проект как репозиторий (docs/projects-repo-plan.md) */
.wrap--mid{max-width:calc(1000px + var(--pad)*2)}
.ver{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;border:1px solid var(--line-2);font:600 12px/1.2 var(--mono);color:var(--muted);letter-spacing:.01em;white-space:nowrap}
.ver--accent{border-color:var(--accent-line);color:var(--accent)}
.ava{position:relative;display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;overflow:hidden;background:var(--surface-3);color:var(--muted);font:700 12px/1 var(--sans);flex:none}
.ava img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* шапка: одна на всех вкладках */
.rh{padding-top:clamp(12px,3vw,40px)}
.rh .pj-row{justify-content:flex-start;margin-bottom:clamp(18px,2.6vw,28px)}
.rh__grid{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:22px 48px}
.rh__main{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:14px}
.rh__title{font:800 clamp(34px,5.6vw,60px)/1.02 var(--display);letter-spacing:-.04em;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
.rh__short{font-size:clamp(17px,1.8vw,20px);line-height:1.5;color:var(--muted);max-width:40em}
.rh__meta{display:flex;flex-wrap:wrap;align-items:center;row-gap:6px;font:500 13px/1.4 var(--mono);color:var(--dim)}
.rh__meta>*+*::before{content:"·";margin:0 10px;color:var(--line-2)}
.rh__side{flex:0 1 auto;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.rh__act{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.rh__act .btn .i{width:18px;height:18px}
.rh__note{display:flex;gap:10px;align-items:flex-start;max-width:400px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--bg-2);font-size:14px;line-height:1.5;color:var(--muted)}
.rh__note .i{color:var(--accent);margin-top:2px;width:18px;height:18px}
.rh__side .formerr{font-size:14px}
.rbtn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;min-width:44px;padding:0 14px;border-radius:999px;border:1px solid var(--line-2);background:transparent;color:var(--text);font:600 14.5px/1 var(--sans);-webkit-tap-highlight-color:transparent;transition:border-color .18s,background .18s,color .18s,transform .18s}
.rbtn:hover{border-color:var(--dim);background:var(--surface)}
.rbtn:active{transform:scale(.96)}
.rbtn .i{width:18px;height:18px;color:var(--muted);transition:color .18s}
.rbtn__n{font:500 13.5px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--muted)}
.rbtn__n:empty{display:none}
.rbtn.is-on{border-color:var(--accent-line);background:var(--accent-soft)}
.rbtn.is-on .i,.rbtn.is-on .rbtn__n{color:var(--accent)}
.rbtn.is-on .i--star path{fill:currentColor}
@media (min-width:1000px){.rh__side{align-items:flex-end}.rh__act{justify-content:flex-end}}

/* вкладки */
.tabs{display:flex;gap:clamp(20px,3vw,34px);margin-top:clamp(28px,4vw,44px);border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tabs::-webkit-scrollbar{display:none}
.tab{position:relative;flex:none;display:inline-flex;align-items:center;gap:8px;padding:12px 0 14px;color:var(--muted);font:600 15.5px/1.2 var(--sans);white-space:nowrap;transition:color .15s}
.tab:hover,.tab.is-on{color:var(--text)}
.tab.is-on::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:var(--accent)}
.tab__n{padding:3px 7px;border-radius:999px;background:var(--surface);font:500 12px/1 var(--mono);color:var(--dim)}
.tab.is-on .tab__n{color:var(--muted)}
.pj-tab{padding:clamp(32px,5vw,56px) 0 var(--sec)}
/* содержимое вкладок — от левого края, как шапка и вкладки; ширина колонки — по смыслу */
.pj-tab .wrap--narrow,.pj-tab .wrap--mid{max-width:calc(var(--max) + var(--pad)*2)}
.pj-tab .wrap--narrow>*{max-width:760px}
.pj-tab .wrap--mid>*{max-width:1000px}
.tab-lead{max-width:40em;margin-bottom:clamp(24px,4vw,36px);color:var(--muted)}

/* обзор */
.pj{padding-top:clamp(32px,5vw,56px)}
.pj-top--none .pj-info{max-width:820px}
.pj-built{font:500 13px/1.45 var(--mono);color:var(--dim);transition:color .15s}
.pj-built:hover{color:var(--muted)}
.rel{display:flex;flex-direction:column;gap:8px;margin-top:8px;padding:18px 20px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg-2);transition:border-color .2s}
.rel:hover{border-color:var(--line-2)}
.rel__label{font:500 12px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.rel__row{display:flex;align-items:center;gap:10px;min-width:0}
.rel__title{min-width:0;font:650 17px/1.3 var(--display);letter-spacing:-.01em;overflow-wrap:break-word}
.rel__meta{display:flex;flex-wrap:wrap;gap:4px 8px;font:13px/1.4 var(--mono);color:var(--dim)}
.rel__meta i{font-style:normal;color:var(--line-2)}
.rel__more{display:inline-flex;align-items:center;gap:8px;margin-top:4px;font-size:14.5px;font-weight:600}
.rel__more .i{width:18px;height:18px;color:var(--accent);transition:transform .2s}
.rel:hover .rel__more .i{transform:translateX(4px)}

/* лента изменений */
.tl{position:relative;display:flex;flex-direction:column;gap:clamp(40px,6vw,56px);padding-left:30px}
.tl::before{content:"";position:absolute;left:5px;top:10px;bottom:10px;width:1px;background:var(--line)}
.tl__item{position:relative;min-width:0}
.tl__item::before{content:"";position:absolute;left:-30px;top:6px;width:11px;height:11px;border-radius:50%;background:var(--bg);border:2px solid var(--line-2)}
.tl__item--release::before{background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 5px var(--bg)}
.tl__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font:500 13px/1.4 var(--mono);color:var(--dim)}
.tl__src{padding:3px 8px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:12px}
.tl__by{display:inline-flex;align-items:center;gap:8px;color:var(--muted)}
.tl__by .ava{width:22px;height:22px;font-size:10.5px}
.tl__title{margin-top:12px;font:720 clamp(21px,2.6vw,26px)/1.2 var(--display);letter-spacing:-.022em;overflow-wrap:break-word}
.tl__body{margin-top:12px}
.prose--sm{font-size:16px;line-height:1.62}
.tl__foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-top:18px}
.tl__dl{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:999px;background:var(--surface-2);font-size:14.5px;font-weight:600;transition:background .15s}
.tl__dl:hover{background:var(--surface-3)}
.tl__dl .i{width:18px;height:18px;color:var(--accent)}
.tl__dl.is-locked{background:transparent;border:1px solid var(--line-2);color:var(--muted)}
.tl__dl.is-locked:hover{border-color:var(--dim);color:var(--text)}
.tl__dl.is-locked .i{color:var(--muted)}
.tl__size{font:500 12.5px var(--mono);color:var(--dim)}
.tl__files{display:inline-flex;align-items:center;gap:7px;font-size:14.5px;color:var(--muted);transition:color .15s}
.tl__files:hover{color:var(--text)}
.tl__files .i{width:17px;height:17px}

/* дерево файлов */
.ft-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-bottom:16px}
.ft-bar__sum{font:500 13px/1.4 var(--mono);color:var(--dim)}
.ft-bar__dl{margin-left:auto}
.vpick{position:relative}
.vpick summary{list-style:none;display:inline-flex;align-items:center;gap:4px;padding:2px 6px 2px 2px;border-radius:999px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.vpick summary::-webkit-details-marker{display:none}
.vpick summary:hover .ver{border-color:var(--accent)}
.vpick__chev{width:16px;height:16px;color:var(--dim);transform:rotate(90deg);transition:transform .2s}
.vpick[open] .vpick__chev{transform:rotate(-90deg)}
.vpick__menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;width:max-content;min-width:230px;max-width:calc(100vw - var(--pad)*2);max-height:320px;overflow:auto;padding:6px;border:1px solid var(--line-2);border-radius:16px;background:var(--surface);box-shadow:0 18px 48px rgba(0,0,0,.45)}
.vpick__item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 12px;border-radius:10px}
.vpick__item:hover{background:var(--surface-2)}
.vpick__item.is-on .ver{border-color:var(--accent-line);color:var(--accent)}
.vpick__date{font:12.5px var(--mono);color:var(--dim);white-space:nowrap}
.lockbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-bottom:16px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg-2)}
.lockbar__ic{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;border:1px solid var(--accent-line);background:var(--accent-soft);color:var(--accent);flex:none}
.lockbar__ic .i{width:18px;height:18px}
.lockbar__text{flex:1 1 260px;min-width:0;font-size:14.5px;line-height:1.5;color:var(--muted)}
.ft{padding:6px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg-2)}
.ft__list{display:flex;flex-direction:column;min-width:0}
.ft__list .ft__list{position:relative;padding-left:14px}
.ft__list .ft__list::before{content:"";position:absolute;left:18px;top:0;bottom:8px;width:1px;background:var(--line)}
.ft__row{display:flex;align-items:center;gap:10px;min-width:0;min-height:42px;padding:8px 12px 8px 36px;border-radius:10px;color:var(--text);font:500 14px/1.3 var(--mono);transition:background .12s}
a.ft__row:hover,summary.ft__row:hover{background:var(--surface)}
summary.ft__row{list-style:none;padding-left:12px;cursor:pointer;-webkit-tap-highlight-color:transparent}
summary.ft__row::-webkit-details-marker{display:none}
.ft__row .i{width:18px;height:18px;color:var(--dim);flex:none}
summary.ft__row .i{color:var(--muted)}
.ft__row .ft__chev{width:14px;height:14px;color:var(--dim);transition:transform .15s}
.ft__dir[open]>summary .ft__chev{transform:rotate(90deg)}
.ft__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ft__size{flex:none;font:12.5px var(--mono);color:var(--dim);white-space:nowrap}
.ft__cnt{display:none}
.ft__row.is-locked{color:var(--muted)}
.ft__row .ft__lock{width:15px;height:15px}
@media (min-width:600px){.ft__cnt{display:inline}.ft__list .ft__list{padding-left:20px}.ft__list .ft__list::before{left:20px}}
.readme{margin-top:clamp(32px,5vw,48px);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.readme__head{display:flex;align-items:center;gap:10px;padding:14px 20px;border-bottom:1px solid var(--line);background:var(--bg-2);font:500 13.5px var(--mono);color:var(--muted)}
.readme__head .i{width:18px;height:18px;color:var(--dim)}
.readme__body{max-width:none;padding:clamp(20px,4vw,40px)}

/* просмотр файла */
.fpath{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:16px;font:500 14px/1.4 var(--mono);color:var(--muted);min-width:0}
.fpath a{display:inline-flex;align-items:center;gap:6px;color:var(--muted);overflow-wrap:anywhere}
.fpath a:hover{color:var(--text)}
.fpath i{font-style:normal;color:var(--line-2)}
.fpath b{color:var(--text);font-weight:600;overflow-wrap:anywhere}
.fpath .i{width:16px;height:16px}
.fview{min-width:0;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--bg-2);overflow:hidden}
.fview__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:12px 16px;border-bottom:1px solid var(--line);background:var(--surface)}
.fview__name{display:inline-flex;align-items:center;gap:8px;min-width:0;font:600 14px/1.3 var(--mono);overflow-wrap:anywhere}
.fview__name .i{width:18px;height:18px;color:var(--dim)}
.fview__meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;font:12.5px/1.4 var(--mono);color:var(--dim)}
.fview__dl{margin-left:auto;display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:var(--muted);transition:color .15s}
.fview__dl:hover{color:var(--text)}
.fview__dl .i{width:17px;height:17px;color:var(--accent)}
.code-v{overflow:auto;font:13px/1.65 var(--mono);tab-size:4;-moz-tab-size:4;-webkit-overflow-scrolling:touch}
.code-v:focus-visible{outline-offset:-2px}
.code-v table{border-collapse:collapse;min-width:100%;margin:12px 0}
.code-v td{padding:0;vertical-align:top}
.code-v__n{position:sticky;left:0;width:1%;min-width:52px;padding:0 14px 0 16px!important;background:var(--bg-2);color:#5c544a;text-align:right;-webkit-user-select:none;user-select:none}
.code-v__n::before{content:attr(data-n)}
.code-v__l{padding:0 24px 0 8px!important;white-space:pre;color:#e9e0d4}
.code-v__l:empty::after{content:" "}
.code-v tr:target td{background:var(--accent-soft)}
.c-k{color:#ff9a5c}
.c-s{color:#a9cf8c}
.c-c{color:#857a6c;font-style:italic}
.c-n{color:#f2b84b}
.c-f{color:#f0d6a4}
.c-d{color:#e2a6c6}
.c-v{color:#8fc5dc}
.fview__img{display:grid;place-items:center;padding:clamp(16px,4vw,32px);background-color:#191511;background-image:linear-gradient(45deg,#1f1a15 25%,transparent 25%,transparent 75%,#1f1a15 75%),linear-gradient(45deg,#1f1a15 25%,transparent 25%,transparent 75%,#1f1a15 75%);background-size:20px 20px;background-position:0 0,10px 10px}
.fview__img img{max-height:70vh;width:auto;border-radius:6px}
.fview__md{max-width:none;padding:clamp(20px,4vw,40px)}
.fview__note{display:flex;flex-direction:column;align-items:flex-start;gap:16px;max-width:40em;padding:clamp(28px,5vw,48px) clamp(20px,4vw,40px);color:var(--muted)}
.fview__lock{display:flex;flex-direction:column;align-items:center;gap:14px;padding:clamp(36px,7vw,72px) clamp(20px,4vw,40px);text-align:center}
.fview__lock .muted{max-width:30em}
.fview__lock-title{font:760 clamp(22px,3vw,28px)/1.15 var(--display);letter-spacing:-.025em}

/* собрали */
.bgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:clamp(28px,4vw,40px) clamp(16px,2.4vw,24px)}
.build{display:flex;flex-direction:column;gap:14px;min-width:0}
.build__ph{position:relative;aspect-ratio:4/3;border-radius:var(--r);overflow:hidden;background:var(--surface)}
.build__ph img,.build__ph .cover{width:100%;height:100%;object-fit:cover}
.build__count{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;background:rgba(10,8,6,.66);color:#fff;font:600 11.5px/1.2 var(--mono)}
.build__body{display:flex;flex-direction:column;gap:8px;min-width:0}
.build__title{font:700 18px/1.25 var(--display);letter-spacing:-.015em;overflow-wrap:break-word}
.build__text{color:var(--muted);font-size:14.5px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word}
.build__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}
.build__who{display:inline-flex;align-items:center;gap:8px;min-width:0;font-size:14px;color:var(--muted)}
.build__who>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.build__likes{display:inline-flex;align-items:center;gap:6px;flex:none;font:500 13px var(--mono);color:var(--dim)}
.build__likes .i{width:16px;height:16px}

/* доработки участников (очередь 2): вкладка, карточки, форма, страница доработки */
.contrib{display:inline-flex;align-items:center;gap:8px;color:var(--muted);transition:color .15s}
.contrib:hover{color:var(--text)}
.contrib__stack{display:inline-flex}
.contrib__stack .ava{width:22px;height:22px;font-size:10px;box-shadow:0 0 0 2px var(--bg)}
.contrib__stack .ava+.ava{margin-left:-6px}
.pj-mods{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:4px}
a.tl__by:hover{color:var(--text)}
.tl__mod .i{width:18px;height:18px;color:var(--dim)}
.mpill{display:inline-flex;align-items:center;gap:7px;padding:4px 10px 4px 9px;border-radius:999px;border:1px solid var(--line-2);font:600 12px/1.2 var(--sans);color:var(--text);white-space:nowrap}
.mpill::before{content:"";width:7px;height:7px;border-radius:50%;box-shadow:inset 0 0 0 1.5px currentColor;flex:none}
.mpill--merged{border-color:var(--accent-line);background:var(--accent-soft);color:var(--accent)}
.mpill--merged::before{background:currentColor}
.mpill--closed{color:var(--dim)}
.mpill--closed::before{background:currentColor;box-shadow:none;opacity:.6}

.mbar{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px 40px;margin-bottom:clamp(24px,4vw,36px)}
.mbar__lead{flex:1 1 320px;max-width:40em;color:var(--muted)}
.mbar__act{display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-width:360px}
@media (min-width:800px){.mbar .mbar__act{align-items:flex-end;text-align:right}}
.mempty{display:flex;flex-direction:column;align-items:center;gap:20px}
.mempty p{max-width:34em}
.mempty .mbar__act{align-items:center;text-align:center}

.mlist{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.mcard{display:flex;align-items:flex-start;gap:clamp(16px,3vw,32px);min-width:0;padding:clamp(20px,3vw,28px) 0;border-bottom:1px solid var(--line)}
.mcard__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.mcard__tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.mcard__base{font:500 12.5px var(--mono);color:var(--dim)}
.mcard__title{font:700 clamp(18px,2vw,21px)/1.25 var(--display);letter-spacing:-.015em;overflow-wrap:break-word;transition:color .15s}
.mcard:hover .mcard__title{color:var(--accent-2)}
.mcard__text{max-width:46em;color:var(--muted);font-size:15px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word}
.mcard__foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:4px}
.mcard__meta{display:inline-flex;flex-wrap:wrap;row-gap:4px;font:500 12.5px/1.4 var(--mono);color:var(--dim)}
.mcard__meta>*+*::before{content:"·";margin:0 8px;color:var(--line-2)}
.msoc{display:inline-flex;align-items:center;gap:14px;margin-left:auto}
.mcard__ph{position:relative;flex:none;width:clamp(96px,20vw,200px);aspect-ratio:4/3;border-radius:var(--r);overflow:hidden;background:var(--surface)}
.mcard__ph img{width:100%;height:100%;object-fit:cover}

.mform{margin-bottom:clamp(40px,6vw,56px)}
.mform__box{display:flex;flex-direction:column;gap:22px;max-width:640px;padding:clamp(22px,4vw,36px);border:1px solid var(--line);border-radius:var(--r-xl);background:var(--bg-2)}
.mform__head{display:flex;flex-direction:column;gap:8px}
.mform__title{font:720 clamp(22px,2.6vw,26px)/1.2 var(--display);letter-spacing:-.022em}
.mform__head .muted{font-size:15px;line-height:1.5}
.mzip{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;min-height:54px;padding:8px 8px 8px 16px;border:1px dashed var(--line-2);border-radius:14px;background:var(--surface)}
.mzip.is-set{border-style:solid}
.mzip__name{display:inline-flex;align-items:center;gap:8px;flex:1 1 160px;min-width:0;font:500 14px/1.4 var(--mono);color:var(--dim);overflow-wrap:anywhere}
.mzip.is-set .mzip__name{color:var(--text)}
.mzip__name .i{width:18px;height:18px;flex:none}
.mzip__clear{font-size:14px}
.mzip__pick .i{width:18px;height:18px}
.mprog{display:flex;flex-direction:column;gap:8px}
.mprog__track{position:relative;display:block;height:4px;border-radius:99px;background:var(--surface-2);overflow:hidden}
.mprog__track i{position:absolute;inset:0 auto 0 0;width:0;border-radius:99px;background:var(--accent);transition:width .15s}
.mprog em{font:500 12.5px/1.4 var(--mono);font-style:normal;color:var(--dim)}

.mback{display:flex;width:max-content;max-width:100%;margin-bottom:clamp(20px,3vw,28px)}
.mhead{display:flex;flex-direction:column;gap:14px;max-width:820px}
.mhead__tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.mhead__merged{margin-left:4px;font-size:14.5px}
.mhead__merged .i{width:18px;height:18px}
.mhead__title{font:760 clamp(28px,4.2vw,44px)/1.08 var(--display);letter-spacing:-.032em;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
.mhead__by{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:14px;color:var(--dim)}
.mnote{max-width:760px;margin-top:24px;padding:14px 18px;border:1px solid var(--line);border-radius:var(--r);background:var(--bg-2);color:var(--muted);font-size:15px;line-height:1.55}
.mnote__why{margin-top:6px;color:var(--text);overflow-wrap:break-word}
.mgrid{display:grid;gap:28px;margin-top:clamp(28px,4vw,40px)}
@media (min-width:900px){.mgrid{grid-template-columns:minmax(0,1fr) 260px;gap:56px;align-items:start}}
.mmain{display:flex;flex-direction:column;gap:28px;min-width:0}
.mphotos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:720px}
.mphotos--one{grid-template-columns:minmax(0,560px)}
.mphotos__item{display:block;aspect-ratio:4/3;border-radius:var(--r);overflow:hidden;background:var(--surface)}
.mphotos__item img{width:100%;height:100%;object-fit:cover}
.mside{display:flex;flex-direction:column;gap:10px;min-width:0}
.mside .btn{justify-content:flex-start;padding:0 16px}
.mside .btn .i{width:18px;height:18px}
.mside__size{margin-left:auto;font:500 12.5px var(--mono);opacity:.7}
.mside .msoc{margin:8px 0 0 2px}
@media (min-width:900px){.mside{position:sticky;top:calc(var(--hdr) + 24px)}}

.mfiles{margin-top:clamp(44px,6vw,64px)}
.mfiles__h{font:720 clamp(20px,2.4vw,24px)/1.2 var(--display);letter-spacing:-.02em}
.mf__row{padding-left:12px}
.mf__mark{flex:none;width:12px;text-align:center;font:700 14px/1 var(--mono);color:var(--dim)}
.mf__row--new .mf__mark{color:var(--accent)}
.mf__row--changed .mf__mark{color:var(--text)}
.mf__row--same{color:var(--muted)}
.mf__dir{color:var(--dim)}
.mf__state{flex:none;padding:3px 8px;border-radius:999px;background:var(--surface-2);font:500 11.5px/1.2 var(--mono);color:var(--muted)}
.mf__row--new .mf__state,.mf__state--new{background:var(--accent-soft);color:var(--accent)}
.mf__same{border-top:1px solid var(--line);margin-top:4px;padding-top:4px}
.mf__same:first-child{border-top:0;margin-top:0;padding-top:0}
.mf__same>summary{color:var(--muted)}
.mf__same[open]>summary .ft__chev{transform:rotate(90deg)}
.mf__none{padding:12px;color:var(--muted);font-size:14.5px}
.mf__link{color:var(--muted)}
@media (max-width:479px){.mf__state{display:none}}
@media (max-width:599px){.rh__meta .contrib{flex-basis:100%}.rh__meta .contrib::before{display:none}}

/* промпт в «изнутри» на телефоне — первые строки, остальное по кнопке «Скопировать» и в разборе */
@media (max-width:640px){.sample-prompt pre{max-height:9.8em;overflow:hidden;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}}

/* ---- цена: коллаж «следующий — ты» (силуэт гостя вместо автора) */
.price-side{display:flex;flex-direction:column;min-width:0}
.yu{--cream:#f3ede5;position:relative;width:100%;max-width:340px;margin:-30px auto 24px;aspect-ratio:10/11;container-type:inline-size;user-select:none;-webkit-user-select:none;pointer-events:none}
@media (min-width:900px){.yu{max-width:500px;margin:-64px 0 0 2%}}
.yu__svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.yu__loop{stroke:var(--accent);stroke-width:13;stroke-linecap:round;stroke-linejoin:round;filter:url(#yuRough);opacity:.9}
.yu__glow{stroke:var(--accent);stroke-width:26;opacity:.5;filter:url(#yuGlow)}
.yu__body{fill:#0f0c0a}
.yu__dots{opacity:.12}
.yu__rim{stroke:var(--accent);stroke-width:5;stroke-linejoin:round;filter:url(#yuRough)}
.yu__box{stroke:var(--cream);stroke-width:3;stroke-opacity:.85}
.yu__mark{stroke:var(--cream);stroke-width:6;stroke-linecap:round;stroke-linejoin:round;filter:url(#yuRough)}
.yu__chip--load{right:-3cqw;top:64cqw;rotate:2deg;width:max-content}
.yu__chip--load::before{right:-2.5cqw;top:-1.4cqw;rotate:24deg}
.yu__hand--was{left:2cqw;top:84cqw;rotate:-2deg;font-size:max(19px,6.2cqw)}
.yu__hand--now{left:10cqw;top:91cqw;rotate:-5deg;color:var(--accent);font-size:max(19px,6.4cqw)}
.yu__hand--next{left:45cqw;top:96.5cqw;rotate:-4deg;font-size:max(20px,6.8cqw)}
.yu__hand--next b{color:var(--accent)}
/* появление: всё стоит на паузе, пока блок не на экране */
.yu [pathLength]{stroke-dasharray:1 1;stroke-dashoffset:1;animation:mkDraw .9s cubic-bezier(.6,.1,.3,1) forwards}
.yu__loop{animation-duration:1.4s!important;animation-delay:.1s!important}
.yu__rim{animation-duration:1.8s!important;animation-delay:.45s!important}
.yu__orb,.yu__glow,.yu__body,.yu__dots,.yu__box{opacity:0;animation:yuIn .9s ease forwards}
.yu__orb{animation-delay:.3s}.yu__glow{animation-delay:.9s}.yu__body{animation-delay:.2s}.yu__dots{animation-delay:.6s}.yu__box{animation-delay:1.2s}
@keyframes yuIn{to{opacity:var(--o,1)}}
.yu__glow{--o:.5}.yu__dots{--o:.12}
.yu__chip--load{animation-delay:1.2s}
.yu__hand--was{animation-delay:1.9s}
.yu__mark--strike{animation-delay:2.6s!important;animation-duration:.4s!important}
.yu__hand--now{animation-delay:3s}
.yu__hand--next{animation-delay:3.7s;animation-duration:1s}
.yu__mark--arrow{animation-delay:4.6s!important;animation-duration:.6s!important}
/* пауза — последней и с !important: шорткаты animation выше сбрасывают play-state в running */
.yu:not(.is-in) *{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){
  .yu *,.yu [pathLength]{animation:none!important}
  .yu [pathLength]{stroke-dashoffset:0}
  .yu__hand{clip-path:none}
  .yu__chip,.yu__orb,.yu__body,.yu__box{opacity:1}.yu__glow{opacity:.5}.yu__dots{opacity:.12}
}

/* ---- приглашение (/start): вместо цены — силуэт «следующий — ты» и большая «Вступить» → /enter */
/* вход на игровом лендинге: тонкая маркерная линия сверху и снизу — граница секции, без фона и рамок (server/views/_dd.js rule) */
.inv-rule{display:block;width:100%;height:16px;overflow:visible;fill:none;stroke:var(--accent);stroke-width:2.2;stroke-linecap:round;opacity:.65}
.inv-rule path{filter:url(#ruleRough)}
.inv-rule + .invite{margin-top:clamp(28px,3vw,44px)}
.invite + .inv-rule{margin-top:clamp(40px,5vw,80px)}
[data-dd] .inv-rule path{stroke-dasharray:1 1;stroke-dashoffset:1}
[data-dd].is-in .inv-rule path{animation:mkDraw 1.1s cubic-bezier(.6,.1,.3,1) forwards}
[data-dd].is-in .invite + .inv-rule path{animation-delay:.3s}
@media (prefers-reduced-motion:reduce){[data-dd] .inv-rule path{stroke-dashoffset:0;animation:none!important}}
.invite{display:grid;gap:8px;align-items:center}
@media (min-width:900px){.invite{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(32px,5vw,72px)}}
.invite .yu{margin:0 auto;max-width:520px}
@media (max-width:899px){.invite .yu{max-width:360px}}
.invite__copy{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.btn--xl{--h:78px;padding:0 60px;font:800 clamp(20px,2.2vw,24px)/1 var(--display);letter-spacing:.08em;text-transform:uppercase}
.invite__go{margin-top:12px;box-shadow:0 0 0 1px var(--accent),0 20px 54px -14px rgba(255,122,46,.6);animation:inviteGlow 2.6s ease-in-out infinite}
.invite__go::before{content:"";position:absolute;left:-14px;top:-11px;width:62px;height:22px;rotate:-14deg;background:rgba(243,237,229,.22);clip-path:polygon(0 8%,6% 0,14% 10%,22% 2%,100% 0,100% 92%,94% 100%,86% 88%,78% 100%,0 100%);pointer-events:none}
@keyframes inviteGlow{50%{box-shadow:0 0 0 1px var(--accent),0 20px 70px -10px rgba(255,122,46,.85)}}
@media (max-width:899px){.invite__go{align-self:stretch}}
@media (prefers-reduced-motion:reduce){.invite__go{animation:none}}

/* ---- вход в Логово (/enter): крупно персонаж, справа анкета по шагам, в конце — оплата в окне */
.quest-page{padding:clamp(16px,4vw,56px) 0 clamp(48px,7vw,96px)}
.enter{display:grid;gap:14px;align-items:center}
@media (min-width:900px){.enter{grid-template-columns:minmax(0,1.15fr) minmax(360px,440px);gap:clamp(32px,5vw,72px)}}
.enter .yu{margin:0 auto;max-width:600px}
/* телефон: персонаж прилипает под шапкой — отвечаешь внизу, видишь его сверху; карточка шагов поплотнее */
@media (max-width:899px){
  .enter__stage{position:sticky;top:60px;z-index:3;padding-bottom:10px;background:linear-gradient(var(--bg) 90%,rgba(17,15,13,0))}
  .enter .yu{max-width:min(270px,68vw)}
  .quest{gap:16px;padding:18px 18px 20px}
  .quest__top{padding-bottom:12px}
  .quest__h{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .quest__step{min-height:0;gap:12px}
  .quest__q{font-size:23px}
  .quest .pick__it span{padding:11px 15px;font-size:15.5px}
}
.quest{position:relative;display:flex;flex-direction:column;gap:20px;padding:clamp(20px,3vw,32px);border:1px solid var(--line-2);border-radius:20px;background:var(--bg-2)}
.quest::before,.quest::after{content:"";position:absolute;width:92px;height:26px;background:rgba(243,237,229,.14);clip-path:polygon(0 8%,6% 0,14% 10%,22% 2%,100% 0,100% 92%,94% 100%,86% 88%,78% 100%,0 100%);pointer-events:none}
.quest::before{left:-18px;top:-10px;rotate:-24deg}
.quest::after{right:-16px;bottom:-8px;rotate:-18deg}
.quest__top{display:flex;flex-direction:column;gap:14px;padding-bottom:16px;border-bottom:1px dashed var(--line-2)}
.quest__h{margin:0}
.quest__bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.enter__leds{display:flex;gap:6px}
.enter__leds button{width:26px;height:8px;padding:0;border:0;border-radius:2px;background:var(--line-2);cursor:pointer;transition:background .25s,box-shadow .25s}
.enter__leds button:disabled{cursor:default}
.enter__leds button.on{background:var(--accent);box-shadow:0 0 10px rgba(255,122,46,.7)}
.enter__leds button.is-cur:not(.on){background:var(--accent-line);animation:ledBlink 1.1s steps(1) infinite}
.enter__leds button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@keyframes ledBlink{50%{background:var(--line-2)}}
.enter__pct{font:500 12px/1 var(--mono);letter-spacing:.04em;color:var(--dim)}
.quest__step{display:flex;flex-direction:column;gap:14px;min-width:0;min-height:150px;margin:0;padding:0;border:0;animation:questIn .4s cubic-bezier(.2,1,.3,1)}
.quest__step[hidden]{display:none}
@keyframes questIn{from{opacity:0;translate:0 14px}}
.quest__q{display:flex;align-items:baseline;gap:12px;padding:0;margin:0;font:760 clamp(24px,2.5vw,30px)/1.1 var(--display);letter-spacing:-.025em;color:var(--text)}
.quest__q--done{color:var(--accent)}
.quest__n{flex:none;font:500 13px/1 var(--mono);letter-spacing:.06em;color:var(--accent)}
.quest__hint{margin:-6px 0 2px;font:600 21px/1.1 "Caveat",var(--sans);color:var(--muted);rotate:-1deg;transform-origin:left}
.input--lg{min-height:62px;font-size:19px}
.quest .pick{gap:10px}
.quest .pick__it span{padding:12px 18px;font-size:16px}
.quest__nav{display:flex;align-items:center;gap:12px}
.quest__back{padding:10px 4px;border:0;background:none;font:500 13px/1 var(--mono);letter-spacing:.04em;color:var(--dim);cursor:pointer}
.quest__back:hover{color:var(--text)}
.quest__back[hidden],.quest__next[hidden]{display:none}
.quest__next{margin-left:auto;min-width:160px}
.quest .formerr:empty{display:none}
.enter__go{margin-top:4px}
.pick{display:flex;flex-wrap:wrap;gap:8px}
.pick__it{position:relative;cursor:pointer}
.pick__it input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.pick__it span{display:inline-block;padding:9px 14px;border:1px solid var(--line-2);border-radius:999px;font:500 14.5px/1.15 var(--sans);color:var(--muted);transition:background .15s,color .15s,border-color .15s,rotate .2s}
.pick__it:hover span{border-color:var(--dim);color:var(--text)}
.pick__it input:checked+span{background:var(--accent);border-color:var(--accent);color:#1a1006;font-weight:650;rotate:-2deg}
.pick__it:nth-child(even) input:checked+span{rotate:1.5deg}
.pick__it input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}

/* сцена персонажа: три силуэта, наклейки нейросетей, предмет, пропуск */
.yu--live .yu__man{display:none}
/* плашка загрузки: на живой сцене выше пропуска на груди и поверх него — иначе пропуск съедал начало строки */
.yu--live .yu__chip--load{top:50cqw;z-index:4}
/* имя бывает длинным: подпись растёт влево от края, стрелка едет за именем */
.yu--live .yu__hand--next{left:auto;right:2cqw;white-space:nowrap}
.yu__harrow{display:inline-block;width:1.4em;height:.76em;margin-left:.12em;vertical-align:.05em;overflow:visible}
.yu__harrow .yu__mark{stroke-width:9}
.yu--live[data-g="m"] [data-man="m"],.yu--live[data-g="f"] [data-man="f"],.yu--live[data-g="x"] [data-man="x"]{display:inline}
.yu__hood{stroke:var(--accent);stroke-width:4;stroke-opacity:.6;filter:url(#yuRough)}
.yu.is-glitch .yu__men{animation:yuGlitch .45s steps(1) both!important}
@keyframes yuGlitch{0%{transform:translateX(0);opacity:1}12%{transform:translateX(-16px);opacity:.55}24%{transform:translateX(12px);opacity:1}38%{transform:translateX(-6px);opacity:.75}52%{transform:translateX(5px)}70%{transform:translateX(-2px);opacity:1}100%{transform:none}}
.yu--live.is-ready .yu__rim{stroke:#ffa765}
.yu__ai{position:absolute;z-index:2;width:9cqw;height:9cqw;translate:-50% -50%;animation:mkDrop .5s cubic-bezier(.2,1.4,.4,1) both}
.yu__ai svg{width:100%;height:100%;overflow:visible;filter:url(#yuRough)}
.yu__ai path{stroke:var(--accent);stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
.yu__ai--tag{width:auto;height:auto;padding:.9cqw 1.6cqw;font:600 max(10px,2.3cqw)/1 var(--mono);letter-spacing:.02em;color:#16110c;background:var(--cream);border-radius:.6cqw;white-space:nowrap;box-shadow:0 .6cqw 1.8cqw rgba(0,0,0,.45)}
.yu__item{position:absolute;z-index:2;left:2cqw;top:57cqw;width:19cqw;height:19cqw;rotate:-8deg;animation:mkDrop .5s cubic-bezier(.2,1.4,.4,1) both}
.yu__item svg{width:100%;height:100%;overflow:visible;filter:url(#yuRough)}
.yu__item path,.yu__item circle{fill:none;stroke:var(--cream);stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
.yu__item circle:not([pathLength]){fill:var(--accent);stroke:none}
.yu__pass{position:absolute;z-index:3;left:31cqw;top:70cqw;width:38cqw;display:flex;flex-direction:column;gap:.7cqw;padding:2cqw 2.2cqw 1.6cqw;background:var(--cream);color:#16110c;border-radius:1.2cqw;rotate:-3deg;box-shadow:0 1.6cqw 3.4cqw rgba(0,0,0,.55);animation:mkDrop .55s cubic-bezier(.2,1.4,.4,1) both}
.yu__pass::before{content:"";position:absolute;left:50%;top:-2cqw;width:13cqw;height:3.8cqw;translate:-50% 0;rotate:5deg;background:rgba(243,237,229,.3);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);clip-path:polygon(0 8%,6% 0,14% 10%,22% 2%,100% 0,100% 92%,94% 100%,86% 88%,78% 100%,0 100%)}
.yu__pass-cap{font:600 max(8px,1.7cqw)/1 var(--mono);white-space:nowrap;letter-spacing:.1em;text-transform:uppercase;color:#9a5a2c}
.yu__pass-name{font:700 max(18px,6.2cqw)/.95 "Caveat",var(--sans);color:#16110c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yu__pass-meta{display:flex;align-items:center;justify-content:space-between;gap:1cqw;font:500 max(8px,1.75cqw)/1.2 var(--mono);color:#3a2c20}
.yu__pips{display:flex;gap:.5cqw;flex:none}
.yu__pips i{width:1.4cqw;height:1.4cqw;border-radius:50%;background:rgba(22,17,12,.18)}
.yu__pips i.on{background:var(--accent)}
.yu__pass-id{display:flex;justify-content:space-between;gap:1cqw;font:500 max(8px,1.6cqw)/1 var(--mono);color:#5a4636;white-space:nowrap}
.yu__pass-id span:first-child{overflow:hidden;text-overflow:ellipsis}
.yu__bars{display:flex;height:3.4cqw;margin-top:.3cqw;overflow:hidden}
.yu__bars i{display:block;flex:none;background:#16110c}

/* окно оплаты */
.dlg{width:min(1000px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:0;background:transparent;color:var(--text);overflow:auto;overscroll-behavior:contain}
.dlg::backdrop{background:rgba(8,6,5,.74);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.dlg__in{position:relative;padding:clamp(22px,3.4vw,40px);border:1px solid var(--accent-line);border-radius:22px;background:var(--bg)}
.dlg[open] .dlg__in{animation:mkDrop .45s cubic-bezier(.2,1.3,.4,1)}
.dlg__in::before{content:"";position:absolute;left:28px;top:-12px;width:104px;height:28px;rotate:-4deg;background:rgba(243,237,229,.16);clip-path:polygon(0 8%,6% 0,14% 10%,22% 2%,100% 0,100% 92%,94% 100%,86% 88%,78% 100%,0 100%)}
.dlg__x{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line-2);border-radius:50%;background:var(--bg-2);color:var(--muted);cursor:pointer}
.dlg__x:hover{color:var(--text)}
.dlg__head{display:flex;flex-direction:column;gap:12px;margin-bottom:clamp(20px,3vw,32px);padding-right:44px}
.dlg__title{font-size:clamp(30px,4.4vw,48px)}
.dlg__title span{color:var(--accent)}
html.has-dlg{overflow:hidden}
@media (max-width:640px){.dlg{width:100vw;max-height:100dvh;margin:0;border-radius:0}.dlg__in{min-height:100dvh;border-radius:0;border-width:0}.dlg__in::before{display:none}}

/* ---- пометки от руки по лендингу (server/views/_dd.js): маркер прорисовывается, подпись «пишется», когда блок на экране */
.dd-defs{position:absolute;width:0;height:0;overflow:hidden}
.dd{display:block;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round}
.dd g{filter:url(#ddRough)}
.dd__c{stroke:#f3ede5}
.dd__a{stroke:var(--accent)}
[data-dd] .dd path{stroke-dasharray:1 1;stroke-dashoffset:1}
[data-dd].is-in .dd path{animation:mkDraw .8s cubic-bezier(.6,.1,.3,1) forwards;animation-delay:calc(var(--i,0) * .14s + .1s)}
.hn{margin:0;font:700 clamp(23px,2.3vw,29px)/1 "Caveat",var(--sans);color:#f3ede5;white-space:nowrap;rotate:-4deg}
[data-dd] .hn{clip-path:inset(-30% 100% -30% 0)}
[data-dd].is-in .hn{animation:mkWrite .7s steps(12) .45s forwards}
.dd-note{display:inline-flex;align-items:flex-start;gap:2px;margin:0;pointer-events:none}
.dd-note .dd{flex:none;width:62px;height:auto}
/* проекты сообщества: под сеткой едва заметный «пустой слот» — «следующий проект — твой» */
.nextcard{display:flex;align-items:center;gap:16px;margin-top:clamp(24px,3vw,40px);padding:14px 18px;border:1px dashed rgba(243,237,229,.11);border-radius:16px;color:var(--dim);text-decoration:none;transition:border-color .25s,color .25s}
.nextcard:hover{border-color:var(--accent-line);color:var(--muted)}
.nextcard__slot{display:grid;place-items:center;flex:none;width:30px;aspect-ratio:9/16;border:1px dashed rgba(243,237,229,.14);border-radius:6px}
.nextcard__slot .dd{width:20px;height:20px;opacity:.7}
.nextcard__text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.nextcard__title{font:600 15.5px/1.3 var(--sans);color:var(--muted)}
.nextcard__sub{font-size:13.5px;line-height:1.45}
.nextcard__go{display:inline-flex;align-items:center;gap:6px;flex:none;font:600 14px/1 var(--sans);white-space:nowrap}
.nextcard__go svg{width:14px;height:14px}
.nextcard:hover .nextcard__go{color:var(--accent)}
@media (max-width:639px){.nextcard{flex-wrap:wrap;align-items:flex-start;row-gap:10px}.nextcard__text{flex:1 1 calc(100% - 46px)}.nextcard__go{margin-left:46px}}
/* разбор: «бери и повторяй» → в промпт */
.peek__block{position:relative}
.dd-note--take{display:flex;justify-content:flex-end;margin:0 0 -4px}
.dd-note--take .dd{order:-1;margin-top:12px;scale:-1 1;rotate:-10deg}
/* автор: обведён маркером, «это я» */
.author__pic{position:relative;width:fit-content}
.author__ring{position:absolute;left:-9%;top:-9%;width:118%;height:118%;rotate:-8deg;pointer-events:none}
.dd-note--me{position:absolute;left:-2px;top:-24%;flex-direction:column;gap:0}
@media (min-width:800px){.dd-note--me{left:-14%}}
.dd-note--me .dd{width:54px;margin-left:30px;rotate:14deg}
/* бесплатный сетап: подарок-наклейка на углу карточки */
.starter{position:relative}
.starter__gift{position:absolute;right:clamp(14px,4vw,48px);top:-36px;width:clamp(64px,8vw,92px);height:auto;rotate:9deg}
/* вопросы: большой «?» */
.faq__head{position:relative}
.faq__ask{width:clamp(64px,9vw,120px);height:auto;margin-top:26px;rotate:9deg}
@media (max-width:799px){.faq__ask{position:absolute;right:4px;top:-4px;margin:0;width:58px}}
/* финал: «дверь открыта» ← к кнопке */
.outro__row{gap:8px 12px}
.dd-note--door{align-items:center}
.dd-note--door .dd{width:58px;scale:-1 1;rotate:24deg;margin-top:-18px}
@media (prefers-reduced-motion:reduce){
  [data-dd] .dd path{stroke-dashoffset:0;animation:none!important}
  [data-dd] .hn{clip-path:none;animation:none!important}
}
