/* eslyai — «бумага и пиксели»: тёплый светлый фон, плотные заголовки, рукописные подписи, пиксельные человечки.
   Без внешних библиотек и шрифтов. Стили только в этом файле (политика безопасности запрещает инлайн-стили). */

:root {
  --paper: #f6f1e8;
  --paper-2: #ede5d4;
  --card: #fffdf7;
  --ink: #17171a;
  --ink-2: #26262c;
  --muted: #55555e;
  --orange: #f05a28;
  --orange-d: #c4431a;
  --blue: #2f5bff;
  --yellow: #ffc93d;
  --green: #38b24a;
  --pink: #ff8fb1;
  --display: 'Fira Sans Extra Condensed', Impact, 'Arial Narrow', sans-serif;
  --hand: 'Caveat', 'Comic Sans MS', cursive;
  --pixel: 'Manrope', system-ui, sans-serif;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
  --hard: 4px 4px 0 var(--ink);
  --hard-lg: 8px 8px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .98; letter-spacing: .005em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

@view-transition { navigation: auto; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.progress { position: fixed; left: 0; top: 0; right: 0; height: 4px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* пиксели */
.px { image-rendering: pixelated; image-rendering: crisp-edges; height: auto; max-width: 100%; user-select: none; -webkit-user-drag: none; }
.bob { animation: bob 1.4s steps(2) infinite; }
.bob2 { animation: bob 1.9s steps(2) infinite reverse; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.twinkle { animation: tw 1.8s steps(2) infinite; }
@keyframes tw { 50% { opacity: .15; } }
.spin { animation: spin8 3.2s steps(8) infinite; }
@keyframes spin8 { to { transform: rotate(360deg); } }
.spark { position: absolute; z-index: 0; pointer-events: none; }

/* ---------- Шапка ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 2px solid transparent; }
.site-header.is-scrolled { background: rgba(246, 241, 232, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--ink); }
.bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 900 30px/1 var(--display); text-transform: lowercase; letter-spacing: -.01em; }
.logo .px { width: 22px; }
.logo b { color: var(--orange); font-weight: 900; }
.nav { display: none; margin-left: auto; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 10px; font: 800 15px/1.1 var(--pixel); text-transform: uppercase; letter-spacing: .05em; border: 2px solid transparent; transition: background .15s, border-color .15s; }
.nav a:hover { background: var(--card); border-color: var(--ink); }
.nav a.is-active { background: var(--yellow); border-color: var(--ink); }
.head-cta { display: none; }
.burger { margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--ink); background: var(--card); box-shadow: 3px 3px 0 var(--ink); display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; cursor: pointer; }
.burger span { width: 20px; height: 3px; background: var(--ink); transition: transform .2s; }
.burger[aria-expanded='true'] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
@media (max-width: 899px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 4px; padding: 16px 20px 24px; background: var(--paper); border-bottom: 2px solid var(--ink); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s; display: flex; }
  .nav a { font-size: 22px; padding: 14px 12px; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
}
@media (min-width: 900px) { .nav { display: flex; } .head-cta { display: inline-flex; } .burger { display: none; } }
@media (max-width: 479px) { .site-header .head-cta { display: none; } }

/* ---------- Кнопки и метки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 12px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); font: 800 18px/1.1 var(--pixel); letter-spacing: .01em; cursor: pointer; box-shadow: var(--hard); transition: transform .12s steps(2), box-shadow .12s steps(2), background .12s; white-space: nowrap; text-transform: none; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-sm { padding: 11px 18px; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); }
.btn-orange { background: var(--orange); }
.btn-yellow { background: var(--yellow); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--orange); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--orange); }
.btn .arr { display: inline-block; transition: transform .15s steps(2); }
.btn:hover .arr { transform: translateX(4px); }
.tag-px { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); font: 800 13px/1.1 var(--pixel); text-transform: uppercase; letter-spacing: .08em; }
.tag-px::before { content: ''; width: 8px; height: 8px; background: var(--orange); animation: tw 1.2s steps(2) infinite; }
.o { color: var(--orange); }
.b { color: var(--blue); }
.u { position: relative; display: inline-block; }
.u svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .26em; overflow: visible; }
.u svg path { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.band-ink .u svg path { stroke: var(--yellow); }
.note { font: 700 clamp(22px, 2.6vw, 30px)/1.1 var(--hand); color: var(--ink); margin: 0; }
.note-arrow { display: block; width: 60px; height: 60px; overflow: visible; }
.note-arrow path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.band-ink .note { color: var(--paper); }
.band-ink .note-arrow path { stroke: var(--paper); }
.flip { transform: scaleX(-1); }
.rot-l { transform: rotate(-4deg); }

/* ---------- Заголовки ---------- */
.h1 { font-size: clamp(50px, 11.4vw, 156px); line-height: .88; letter-spacing: -.005em; }
.h2 { font-size: clamp(40px, 7.4vw, 96px); line-height: .92; }
@media (max-width: 359px) { .h2 { font-size: 34px; } .page-hero .h1 { font-size: 40px; } }
.h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1; }
section { position: relative; padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.s-head { max-width: 900px; margin-bottom: 52px; }
.s-head .tag-px { margin-bottom: 22px; }
.s-head p { margin: 22px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 60ch; }
.page-hero { padding: 132px 0 28px; overflow: hidden; }
.page-hero .h1 { font-size: clamp(40px, 6.6vw, 92px); max-width: none; }
.page-hero .lead { margin-top: 26px; max-width: 58ch; color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); }
.page-hero .tag-px { margin-bottom: 22px; }
.ph-grid { display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .ph-grid { grid-template-columns: 1.4fr .6fr; } }
.ph-art { display: flex; align-items: flex-end; justify-content: center; gap: 14px; min-height: 220px; border-bottom: 3px dashed var(--ink); padding-bottom: 0; }
.tight-top { padding-top: 24px; }

/* ---------- Появление ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s steps(6), transform .6s steps(6); transition-delay: var(--d, 0ms); animation: revealFallback .01s 3s forwards; }
[data-reveal].is-in { opacity: 1; transform: none; }
@keyframes revealFallback { to { opacity: 1; transform: none; } }

/* ---------- Главный экран ---------- */
.hero { padding: 104px 0 0; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.desk { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.desk i { position: absolute; top: 14%; width: 46%; height: 52%; background: linear-gradient(#d7dae0, #b2b8c4); border-radius: 12px; filter: blur(6px); opacity: .36; }
.desk i:nth-child(1) { left: 2%; transform: perspective(900px) rotateY(10deg); }
.desk i:nth-child(2) { right: 2%; transform: perspective(900px) rotateY(-10deg); }
.desk i::after { content: ''; position: absolute; inset: 10% 8%; background: repeating-linear-gradient(180deg, #5b6577 0 3px, transparent 3px 12px); opacity: .55; }
.desk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--paper) 0%, rgba(246, 241, 232, 0) 24%, rgba(246, 241, 232, 0) 52%, var(--paper) 92%); }
.hero-top { text-align: center; padding-top: 24px; }
.hero-top .h1 { margin-top: 26px; font-size: clamp(50px, 11.4vw, 124px); }
.nw { white-space: nowrap; }
.hero-top .note { margin-top: 24px; }
.hero-top .sub { margin: 14px auto 0; max-width: 56ch; color: var(--muted); font-size: clamp(18px, 2.1vw, 21px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 2px solid var(--ink); font-size: 14.5px; font-weight: 700; }
.chip .px { width: 16px; }

.stage { position: relative; z-index: 1; display: grid; gap: 26px; margin-top: 56px; align-items: end; border-bottom: 3px dashed var(--ink); padding-bottom: 0; }
@media (min-width: 1000px) { .stage { grid-template-columns: 210px minmax(0, 1fr) 240px; gap: 30px; } }
.actor { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 0; }
.actor .note { text-align: center; max-width: 12ch; }
.actor-row { display: flex; align-items: flex-end; justify-content: center; gap: 12px; }
.stage .left { order: 2; } .stage .demo { order: 1; } .stage .right { order: 3; }
@media (min-width: 1000px) { .stage .left { order: 1; } .stage .demo { order: 2; } .stage .right { order: 3; } }
.stage .px-ground { margin-bottom: -3px; }

.demo { border: 2px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: var(--hard-lg); overflow: hidden; margin-bottom: 26px; }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.demo-bar i { width: 11px; height: 11px; background: var(--ink); }
.demo-bar i:nth-child(1) { background: var(--orange); } .demo-bar i:nth-child(2) { background: var(--yellow); } .demo-bar i:nth-child(3) { background: var(--green); }
.demo-bar span { margin-left: 8px; font: 800 14px/1.1 var(--pixel); color: var(--muted); }
.demo-prompt { padding: 18px 20px 8px; font: 700 18px/1.35 var(--pixel); min-height: 92px; }
.demo-prompt .p { color: var(--orange); margin-right: 8px; }
.demo-prompt .caret { display: inline-block; width: 9px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-stage { position: relative; padding: 6px 20px 20px; height: 236px; }
.demo-out { position: absolute; inset: 6px 20px 20px; opacity: 0; transform: translateY(10px); transition: opacity .35s steps(4), transform .35s steps(4); pointer-events: none; }
.demo-out.is-on { opacity: 1; transform: none; }
.demo-status { display: inline-flex; align-items: center; gap: 8px; font: 800 14px/1.1 var(--pixel); background: var(--yellow); border: 2px solid var(--ink); padding: 6px 10px; margin-bottom: 14px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slots span { padding: 11px 0; text-align: center; border: 2px solid var(--ink); border-radius: 8px; font: 800 15px/1.1 var(--pixel); background: var(--paper); }
.slots span.pick { background: var(--orange); box-shadow: 3px 3px 0 var(--ink); }
.tgmsg { margin-top: 14px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px 12px 12px 2px; background: #dde6ff; font-size: 14.5px; line-height: 1.45; font-weight: 600; }
.bub { max-width: 84%; padding: 9px 13px; border: 2px solid var(--ink); border-radius: 12px; font-size: 14.5px; line-height: 1.4; font-weight: 600; margin-bottom: 9px; }
.bub.u { margin-left: auto; background: #dde6ff; border-bottom-right-radius: 2px; }
.bub.a { background: var(--paper); border-bottom-left-radius: 2px; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 138px; border-bottom: 2px solid var(--ink); }
.bars span { flex: 1; border: 2px solid var(--ink); border-bottom: 0; background: var(--orange); height: 0; transition: height .8s steps(8); }
.bars span:nth-child(even) { background: var(--blue); }
.demo-out.is-on .bars span { height: var(--h); }
.bars-note { margin-top: 10px; font: 700 14px/1.4 var(--pixel); color: var(--muted); }
.dots { display: flex; gap: 8px; justify-content: center; padding: 0 0 16px; }
.dots button { width: 26px; height: 8px; padding: 0; border: 2px solid var(--ink); background: var(--card); cursor: pointer; }
.dots button.is-on { background: var(--orange); width: 42px; }

/* бегущая строка */
.ticker { margin: 56px -3% 0; padding: 16px 0; background: var(--orange); border-block: 3px solid var(--ink); transform: rotate(-1.4deg); overflow: hidden; position: relative; z-index: 2; }
.ticker-track { display: flex; gap: 34px; width: max-content; animation: marquee 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font: 900 clamp(24px, 3.4vw, 38px)/1 var(--display); text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 34px; }
.ticker span::after { content: ''; width: 22px; height: 22px; background: url('/assets/img/px/star.svg') center / contain no-repeat; image-rendering: pixelated; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Карточки ---------- */
.grid { display: grid; gap: 20px; }
.cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; border: 2px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: var(--hard); padding: 26px; display: flex; flex-direction: column; transition: transform .15s steps(3), box-shadow .15s steps(3), background .15s; }
a.card:hover, .card.hov:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); background: #fff; }
.card .ico { min-height: 76px; display: flex; align-items: flex-end; margin-bottom: 18px; }
.card:hover .ico .px { animation: bob .7s steps(2) infinite; }
.card h3 { font-size: 30px; line-height: .98; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .more { margin-top: auto; padding-top: 18px; font: 800 17px/1.1 var(--pixel); color: var(--orange-d); }
.card-wide { grid-column: 1 / -1; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--yellow); }
@media (min-width: 720px) { .card-wide { flex-direction: row; align-items: center; } }
.card-wide h3 { font-size: clamp(30px, 4vw, 44px); }
.card-wide p { color: var(--ink); }

/* ---------- Шаги ---------- */
.steps { display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 26px; border: 2px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: var(--hard); }
.step .n { font: 900 78px/.8 var(--display); color: var(--orange); -webkit-text-stroke: 2px var(--ink); margin-bottom: 18px; }
.step h3 { font-size: 30px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (min-width: 900px) { .step:not(:last-child)::after { content: ''; position: absolute; top: 56px; right: -20px; width: 20px; height: 0; border-top: 3px dashed var(--ink); } }

/* ---------- Границы ---------- */
.bounds { grid-template-columns: 1fr; }
@media (min-width: 900px) { .bounds { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .bounds.two { grid-template-columns: repeat(2, 1fr); } }
ul.flow li { padding-left: 0; display: grid; grid-template-columns: 62px 1fr; gap: 10px; }
ul.flow li::before { display: none; }
ul.flow .t { font: 800 15px/1.5 var(--pixel); color: var(--orange-d); }
.bound .sum { margin: 16px 0 0; padding-top: 14px; border-top: 2px solid var(--ink); font-weight: 800; }
.bound { padding: 26px; border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--hard); background: var(--card); }
.bound.ok { background: #e4f6dc; } .bound.mid { background: #fff3cf; } .bound.no { background: #fde1e1; }
.bound .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bound .tag { display: inline-block; font: 800 15px/1.1 var(--pixel); padding: 7px 10px; border: 2px solid var(--ink); background: var(--card); text-transform: lowercase; }
.bound h3 { font-size: 30px; margin-bottom: 14px; }
.bound li { position: relative; padding: 9px 0 9px 24px; font-size: 16px; font-weight: 600; border-top: 2px dashed rgba(23, 23, 26, .35); }
.bound li:first-child { border-top: 0; }
.bound li::before { content: ''; position: absolute; left: 0; top: 17px; width: 10px; height: 10px; background: var(--ink); }

/* ---------- Тёмная секция ---------- */
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .s-head p, .band-ink .muted { color: #c9c4b8; }
.course { display: grid; gap: 34px; align-items: end; }
@media (min-width: 1000px) { .course { grid-template-columns: 1.3fr .7fr; } }
.course .h2 { font-size: clamp(40px, 6.2vw, 80px); max-width: 15ch; }
.course p.lead { color: #d6d1c5; font-size: 19px; max-width: 54ch; margin: 22px 0 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 18px; border: 2px solid var(--paper); border-radius: 14px; background: var(--ink-2); }
.stat b { display: block; font: 900 clamp(38px, 5vw, 58px)/.9 var(--display); color: var(--yellow); }
.stat span { display: block; margin-top: 8px; color: #d6d1c5; font-size: 14.5px; line-height: 1.35; }
.band-ink .btn { box-shadow: 4px 4px 0 var(--orange); }
.band-ink .btn-orange { color: var(--ink); }
.course-art { display: flex; align-items: flex-end; justify-content: center; gap: 12px; border-bottom: 3px dashed var(--paper); }

/* ---------- Принципы ---------- */
.pr { grid-template-columns: 1fr; }
@media (min-width: 900px) { .pr { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border: 2px solid var(--ink); border-radius: 14px; background: var(--card); margin-bottom: 14px; box-shadow: 3px 3px 0 var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; font: 800 clamp(20px, 2.6vw, 27px)/1.1 var(--display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 36px; height: 36px; border: 2px solid var(--ink); display: grid; place-items: center; font: 800 24px/1.1 var(--pixel); background: var(--paper); }
.faq details[open] summary::after { content: '−'; background: var(--orange); }
.faq details[open] { background: #fff; }
.faq .ans { padding: 0 22px 22px; color: var(--muted); max-width: 70ch; }
.faq .ans p:last-child { margin: 0; }
.faq-h { font-size: clamp(34px, 5vw, 56px); margin-bottom: 20px; }

/* ---------- Призыв ---------- */
.cta-band { position: relative; text-align: center; padding: clamp(40px, 6vw, 80px) 20px clamp(200px, 22vw, 250px); background: var(--orange); border: 3px solid var(--ink); border-radius: 28px; box-shadow: var(--hard-lg); overflow: hidden; }
.cta-band .h2 { font-size: clamp(40px, 6.4vw, 84px); max-width: 17ch; margin: 0 auto; }
.cta-band p { max-width: 52ch; margin: 20px auto 0; font-size: 19px; font-weight: 600; }
.cta-band .hero-cta { margin-top: 28px; }
.cta-band .scene { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: flex-end; gap: 16px; pointer-events: none; }
.cta-band .scene .px { margin-bottom: -3px; }

/* ---------- Подстраницы ---------- */
.two { display: grid; gap: 40px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.two-center { align-items: center; }
.check li { position: relative; padding: 14px 0 14px 40px; border-top: 2px dashed rgba(23, 23, 26, .3); font-weight: 600; }
.check li:first-child { border-top: 0; }
.check li::before { content: ''; position: absolute; left: 0; top: 15px; width: 24px; height: 24px; border: 2px solid var(--ink); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='square'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.check.no li::before { background-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='square'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.panel { border: 2px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: var(--hard); padding: clamp(24px, 4vw, 38px); }
.panel h3 { font-size: 32px; margin-bottom: 16px; }
.muted { color: var(--muted); }

.timeline { display: grid; gap: 20px; }
.week { color: var(--ink); display: grid; gap: 14px; padding: 26px; border: 2px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: var(--hard); transition: transform .15s steps(3), box-shadow .15s steps(3); }
.week:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
@media (min-width: 900px) { .week { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 32px; } }
.week .wk { font: 800 17px/1.1 var(--pixel); background: var(--yellow); display: inline-block; padding: 7px 10px; border: 2px solid var(--ink); margin-bottom: 14px; text-transform: lowercase; }
.week .wt { font: 900 clamp(32px, 4.2vw, 52px)/.95 var(--display); text-transform: uppercase; }
.week ul { display: grid; gap: 10px; }
.week li { position: relative; padding-left: 24px; color: var(--ink); font-size: 17px; font-weight: 600; }
.week li b { color: var(--ink); font-weight: 800; }
.week li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; background: var(--orange); border: 2px solid var(--ink); }
.week .wtags { gap: 10px; }
.week .wtags span { padding: 9px 14px; font-size: 16px; background: var(--paper); text-transform: none; box-shadow: 3px 3px 0 var(--ink); }
.week .wres { margin: 18px 0 0; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); font: 800 clamp(17px, 1.6vw, 20px)/1.35 var(--pixel); }
.week .wres span { display: block; margin-bottom: 4px; font: 800 13px/1.1 var(--pixel); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }

.svc { display: grid; gap: 20px; padding: clamp(24px, 4vw, 38px); border: 2px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: var(--hard); scroll-margin-top: 100px; }
@media (min-width: 900px) { .svc { grid-template-columns: 150px 1.1fr 1fr; gap: 40px; align-items: start; } }
.svc .ico { height: 110px; display: flex; align-items: flex-end; }
.svc h3 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 12px; }
.svc .lead { color: var(--muted); font-size: 17px; margin: 0 0 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 11px; border: 2px solid var(--ink); background: var(--paper); font: 800 15px/1.1 var(--pixel); text-transform: lowercase; }
.svc h4 { font: 800 16px/1.1 var(--pixel); text-transform: lowercase; color: var(--orange-d); margin-bottom: 12px; }
.svc ul.dots-li li { position: relative; padding: 8px 0 8px 24px; font-size: 16px; font-weight: 600; }
.svc ul.dots-li li::before { content: ''; position: absolute; left: 0; top: 17px; width: 10px; height: 10px; background: var(--orange); border: 2px solid var(--ink); }
.svc-list { display: grid; gap: 22px; }
.svc-cta { margin: 18px 0 0; }
.legal { max-width: 70ch; }
.legal h2 { font-size: clamp(26px, 3vw, 34px); margin: 36px 0 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin: 6px 0; }
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.svc-nav a { padding: 9px 15px; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); font: 800 17px/1.1 var(--pixel); text-transform: lowercase; transition: background .12s; }
.svc-nav a:hover { background: var(--yellow); }

.frame { position: relative; border: 3px solid var(--ink); border-radius: 24px; background: var(--yellow); box-shadow: var(--hard-lg); display: flex; align-items: flex-end; justify-content: center; padding: 28px 20px 0; min-height: 340px; overflow: hidden; }
.frame .px { margin-bottom: -3px; }
.frame::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(23, 23, 26, .06) 0 2px, transparent 2px 28px); }
.frame > * { position: relative; }

/* ---------- Форма ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 700 15px/1.3 var(--font); }
.field input, .field textarea, .field select { width: 100%; padding: 15px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); font: 600 17px/1.4 var(--font); transition: box-shadow .12s, background .12s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a867b; font-weight: 500; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: 4px 4px 0 var(--orange); }
.field .hint { font-size: 14px; color: var(--muted); }
.opt { color: var(--muted); font-weight: 500; }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.radio { display: flex; flex-wrap: wrap; gap: 10px; }
.radio label { cursor: pointer; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio span { display: inline-flex; padding: 11px 16px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); font: 800 17px/1.1 var(--pixel); transition: background .1s, box-shadow .1s, transform .1s; }
.radio input:checked + span { background: var(--orange); box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.radio input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.agree input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--orange); }
.agree a { white-space: nowrap; }
.form-msg { display: none; padding: 16px 18px; border: 2px solid var(--ink); border-radius: 12px; font-weight: 700; }
.form-msg.ok { display: block; background: #d8f3cf; }
.form-msg.err { display: block; background: #fde1e1; }
.form-msg a { text-decoration: underline; }
.form-done { display: grid; gap: 14px; justify-items: start; padding: 22px; border: 2px solid var(--ink); border-radius: 12px; background: #d8f3cf; }
.form[hidden], .form-done[hidden] { display: none; }
.form-done h3 { font-size: clamp(30px, 5vw, 40px); }
.form-done p { margin: 0; font-size: 18px; }
.form-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: start; } }
.contact-card { padding: 26px; border: 2px solid var(--ink); border-radius: 18px; background: var(--card); box-shadow: var(--hard); }
.contact-card + .contact-card { margin-top: 20px; }
.contact-card h3 { font-size: 30px; margin-bottom: 12px; }
.contact-card p { color: var(--muted); font-size: 15.5px; }
.contact-card .btn { width: 100%; }
.contact-card .scene-s { display: flex; align-items: flex-end; justify-content: center; gap: 10px; margin-top: 14px; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 70px 0 28px; margin-top: 40px; position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; background: repeating-linear-gradient(90deg, var(--ink) 0 22px, transparent 22px 44px); }
.foot { display: grid; gap: 36px; }
@media (min-width: 800px) { .foot { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; } }
.foot-brand p { color: #c9c4b8; max-width: 40ch; margin: 18px 0 0; font-size: 15.5px; }
.foot-note { font: 800 15px/1.1 var(--pixel); color: var(--yellow) !important; }
.foot-col h3 { font: 800 16px/1.1 var(--pixel); text-transform: lowercase; color: var(--yellow); margin-bottom: 16px; }
.foot-col a { display: block; padding: 6px 0; color: #e6e1d4; font-size: 15.5px; font-weight: 600; transition: color .12s, transform .12s steps(2); }
.foot-col a:hover { color: var(--orange); transform: translateX(4px); }
.site-footer .logo { color: var(--paper); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 46px; padding-top: 22px; border-top: 2px dashed #55555e; color: #a9a496; font-size: 14px; }
.to-top:hover { color: var(--orange); }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 20px 60px; }
.nf .h1 { font-size: clamp(120px, 28vw, 320px); }
.nf p { color: var(--muted); font-size: 20px; margin: 10px 0 30px; }
.nf .px { margin: 0 auto; }

/* вспомогательные */
.mt-16 { margin-top: 16px; } .mt-22 { margin-top: 22px; } .mt-28 { margin-top: 28px; } .mt-40 { margin-top: 40px; }
.link { color: var(--orange-d); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 700; }
.link:hover { color: var(--ink); }
.row-links { display: flex; flex-wrap: wrap; gap: 14px; }
.svc .tags { list-style: none; }
.center { text-align: center; }
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: block; } }

/* ---------- Уменьшенное движение ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

.corner { position: absolute; right: 18px; top: 18px; }
.sp-a { left: 7%; top: 24%; } .sp-b { right: 8%; top: 18%; } .sp-c { left: 21%; top: 12%; } .sp-d { right: 22%; top: 30%; } .sp-e { left: 3%; top: 46%; } .sp-f { right: 4%; top: 52%; }
.hero-float { position: absolute; z-index: 0; pointer-events: none; }
.hf-1 { left: 5%; top: 34%; } .hf-2 { right: 5%; top: 30%; } .hf-3 { left: 11%; top: 58%; } .hf-4 { right: 10%; top: 60%; }
@media (max-width: 1099px) { .hero-float { display: none; } }
.stats.light .stat { background: var(--card); border-color: var(--ink); box-shadow: var(--hard); }
.stats.light .stat b { color: var(--orange); -webkit-text-stroke: 2px var(--ink); }
.stats.light .stat span { color: var(--muted); font-weight: 600; }
.hero-cta.left { justify-content: flex-start; }
.page-hero .stats { margin-bottom: 8px; }

.band-ink .tag-px { color: var(--ink); }
.faq-grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 1fr) 260px; } }
.faq-art { display: none; flex-direction: column; align-items: center; gap: 6px; border-bottom: 3px dashed var(--ink); }
@media (min-width: 1000px) { .faq-art { display: flex; } }
.faq-art .note { text-align: center; max-width: 11ch; }
.svc .tags + h3 { margin-top: 18px; }

.h1-m { font-size: clamp(40px, 6.6vw, 92px) !important; max-width: none !important; }
@media (min-width: 900px) { .two-hero { grid-template-columns: 1.5fr .5fr; } }
