/* Лендинг СтройПартнёра — «лист исполнительной»: бумага, тушь, сигнальный оранжевый. Поверх ds.css. */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-size: 16px; overflow-x: hidden; background: var(--bg); }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 28px; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; max-width: 780px; font-weight: 600; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
.mono { font-family: var(--mono); }

/* шапка */
.hdr { position: sticky; top: 0; z-index: 30; transition: background .25s, border-color .25s, box-shadow .25s; border-bottom: 1px solid transparent; }
.hdr.scrolled { background: var(--glass); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.logo .mark { width: 30px; height: 30px; transition: transform .4s var(--ease); }
.logo:hover .mark { transform: rotate(-8deg) scale(1.05); }
.logo b { color: var(--accent); font-weight: 600; }
.hdr-nav { display: flex; gap: 26px; margin-left: 16px; color: var(--text2); font-size: 14.5px; }
.hdr-nav a { position: relative; padding: 6px 0; }
.hdr-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hdr-nav a:hover { color: var(--text); } .hdr-nav a:hover::after { transform: none; }
.hdr-r { margin-left: auto; display: flex; gap: 8px; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* первый экран */
.hero { position: relative; padding: 40px 0 120px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(rgba(22,24,27,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(22,24,27,.025) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; min-height: calc(100svh - 68px - 128px); }
.stamp { display: inline-flex; border: 1.5px solid var(--text); border-radius: 4px; font-family: var(--mono); font-size: 12px; font-weight: 500; margin-bottom: 26px; }
.stamp span { padding: 5px 10px; } .stamp span + span { border-left: 1.5px solid var(--text); }
h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; }
h1 em { font-style: normal; color: var(--accent); position: relative; }
h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: under 1s .9s var(--ease) forwards; opacity: .35; }
@keyframes under { to { transform: none; } }
.lead { font-size: 18px; line-height: 1.6; color: var(--text2); margin: 24px 0 32px; max-width: 540px; font-weight: 350; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.where { margin-top: 26px; color: var(--mute); font-size: 14px; } .where b { color: var(--text); font-weight: 500; }

/* лист чертежа */
.hero-v { position: relative; }
.sheet { position: relative; background: var(--s1); border-radius: 6px; box-shadow: var(--shadow-lg); padding: 10px; transform: rotate(.6deg); transition: transform .6s var(--ease); }
.sheet:hover { transform: rotate(0); }
.draw-svg { display: block; width: 100%; height: auto; }
.draw-svg text { font-family: var(--mono); font-size: 8.5px; fill: var(--mute); stroke: none; }
.draw-svg text.b { fill: var(--text); font-weight: 500; } .draw-svg text.acc { fill: var(--accent); font-weight: 500; }
.ln-frame { stroke: var(--line2); stroke-width: 1; }
.ln-frame2 { stroke: var(--text); stroke-width: 1.6; }
.ln-ink { stroke: var(--text); stroke-width: 1.6; }
.ln-thin { stroke: var(--text); stroke-width: .8; opacity: .7; }
.ln-axis { stroke: var(--mute); stroke-width: .8; stroke-dasharray: 14 3 2 3; }
.bub circle { stroke: var(--text); stroke-width: 1.2; fill: var(--s1); } .bub text { font-size: 11px; text-anchor: middle; fill: var(--text); font-weight: 500; }
.ln-acc { stroke: var(--accent); stroke-width: 1.8; }
.ln-acc-thin { stroke: var(--accent); stroke-width: .9; opacity: .8; }
.ln-plan { stroke: var(--mute); stroke-width: 1; stroke-dasharray: 5 4; }
.prog { fill: var(--accent-soft); }
.tri { fill: var(--text); stroke: none; }
.load { fill: var(--accent); stroke: none; }
.dot { fill: var(--accent); stroke: none; }
.d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; }
.crane .d { animation-delay: .5s; animation-duration: 2s; }
.fl { opacity: 0; animation: rise .7s var(--ease) forwards; }
.f1 { animation-delay: .5s; } .f2 { animation-delay: .75s; } .f3 { animation-delay: 1s; } .f4 { animation-delay: 1.3s; } .f5 { animation-delay: 1.6s; }
.f4 .prog { transform-box: fill-box; transform-origin: left; animation: fillx 2.4s 1.6s var(--ease) both; }
.lvl, .axes, .tb, .callout { opacity: 0; animation: fade .8s 1.4s forwards; }
.axes { animation-delay: .2s; }
.hook { animation: swing 5s 2.4s ease-in-out infinite; transform-origin: 330px 76px; transform-box: view-box; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes fillx { from { transform: scaleX(0); } }
@keyframes swing { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(2.2deg); } 70% { transform: rotate(-1.6deg); } }
.tag { position: absolute; font-size: 12.5px; padding: 6px 10px; border-radius: 6px; background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px var(--accent);
  opacity: 0; animation: pop .5s 2.2s var(--ease) forwards; white-space: nowrap; }
.tag b { font-weight: 600; }
.t-floor { left: 13%; top: 20%; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
.chat { position: absolute; left: -64px; bottom: -92px; width: 268px; height: 196px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 34px 14px 14px; border-radius: 18px;
  background: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat::before { content: 'Чат с помощником'; position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: 11px; color: #8A8C92; }
.chat::after { content: ''; position: absolute; left: 0; right: 0; top: 28px; height: 28px; background: linear-gradient(var(--ink), transparent); pointer-events: none; }
.msg { max-width: 90%; padding: 8px 11px; border-radius: 13px; font-size: 13px; line-height: 1.4; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s, transform .35s var(--ease); }
.msg.in { opacity: 1; transform: none; }
.msg.me { align-self: flex-end; background: #2A2C31; color: #EDECE8; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--accent); color: #fff; border-bottom-left-radius: 4px; }
.msg.typing { display: flex; gap: 4px; padding: 11px 12px; }
.msg.typing i { width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .5; animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; } }

/* бегущая строка документов */
.ticker { border-block: 1px solid var(--line); background: var(--s1); overflow: hidden; padding: 16px 0; }
.tk-in { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .tk-in { animation-play-state: paused; }
.tk-in span { font-family: var(--mono); font-size: 13.5px; color: var(--text2); padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; }
.tk-in span::after { content: ''; width: 7px; height: 7px; border: 1.5px solid var(--accent); transform: rotate(45deg); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* секции */
.sec { padding-block: clamp(80px, 10vw, 128px); }
.sec-alt { background: var(--s2); border-block: 1px solid var(--line); }
.sh { margin-bottom: 48px; display: grid; gap: 14px; justify-items: start; }
.sh .sub { color: var(--text2); font-size: 17px; max-width: 600px; line-height: 1.6; font-weight: 350; }
.ax { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); position: relative; }
.ax::after { content: ''; position: absolute; left: 100%; top: 50%; width: 48px; border-top: 1.5px dashed currentColor; opacity: .5; }

/* появление при прокрутке */
[data-r] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-r].on { opacity: 1; transform: none; }
.no-js [data-r] { opacity: 1; transform: none; }

/* день с помощником */
.day { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; counter-reset: d; }
.day::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.day::after { content: ''; position: absolute; left: 0; top: 7px; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--accent); transition: width .2s linear; }
.day li { position: relative; padding: 40px 28px 0 0; display: grid; gap: 10px; align-content: start; }
.day li::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text); z-index: 1; transition: background .3s, border-color .3s; }
.day li.lit::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.day time { font-family: var(--mono); font-size: 14px; color: var(--accent-ink); font-weight: 500; }
.day p { color: var(--text2); line-height: 1.6; font-size: 15px; }

/* модули */
.mtabs { display: flex; gap: 6px; margin-bottom: 36px; overflow-x: auto; scrollbar-width: none; padding: 4px; background: var(--s3); border-radius: 12px; width: max-content; max-width: 100%; }
.mtabs::-webkit-scrollbar { display: none; }
.mtabs button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; background: none; color: var(--text2); font-weight: 500; font-size: 15px; cursor: pointer; border-radius: 9px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.mtabs button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mtabs button:hover { color: var(--text); }
.mtabs button.on { background: var(--s1); color: var(--text); box-shadow: var(--shadow); }
.mtabs button.on svg { stroke: var(--accent); }
.mods { display: grid; }
.mod { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
.mod.on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mod-t h3 { font-size: 30px; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 14px; }
.mod-t p { color: var(--text2); line-height: 1.65; font-weight: 350; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.ticks li { padding-left: 30px; position: relative; color: var(--text); font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: 7px; width: 6px; height: 3.5px; border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }
.mock { border: 1px solid var(--line); border-radius: 14px; background: var(--s1); overflow: hidden; box-shadow: var(--shadow-lg); }
.mk-h { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--text2); font-weight: 500; }
.mk-h .mono { font-size: 12px; color: var(--mute); font-weight: 400; }
.mk-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mod.on .mk-row { animation: rowin .5s var(--ease) both; }
.mod.on .mk-row:nth-child(3) { animation-delay: .08s; } .mod.on .mk-row:nth-child(4) { animation-delay: .16s; } .mod.on .mk-row:nth-child(5) { animation-delay: .24s; }
@keyframes rowin { from { opacity: 0; transform: translateX(-8px); } }
.mk-row:last-child { border-bottom: 0; }
.mk-row b { display: block; font-weight: 500; font-size: 14.5px; } .mk-row small { color: var(--mute); font-size: 12.5px; }
.mk-row em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 13.5px; }
.files { list-style: none; padding: 10px 18px 4px; }
.files li { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13.5px; padding: 9px 0; color: var(--text2); border-bottom: 1px dashed var(--line); }
.mod.on .files li { animation: rowin .45s var(--ease) both; }
.mod.on .files li:nth-child(2) { animation-delay: .1s; } .mod.on .files li:nth-child(3) { animation-delay: .2s; } .mod.on .files li:nth-child(4) { animation-delay: .3s; } .mod.on .files li:nth-child(5) { animation-delay: .4s; }
.files em { font-style: normal; color: var(--ok); font-weight: 600; }
.mk-ok { margin: 12px 18px 18px; display: inline-block; padding: 7px 11px; border-radius: 6px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 500; }
.bars { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 12px; align-items: end; height: 240px; padding: 38px 20px 32px; border-bottom: 1px solid var(--line); position: relative;
  background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 25%; background-position: 0 38px; }
.bars div { height: var(--h); background: var(--text); border-radius: 3px 3px 1px 1px; position: relative; transform-origin: bottom; }
.mod.on .bars div { animation: grow .9s var(--ease) both; }
.mod.on .bars div:nth-child(2) { animation-delay: .06s; } .mod.on .bars div:nth-child(3) { animation-delay: .12s; } .mod.on .bars div:nth-child(4) { animation-delay: .18s; }
.mod.on .bars div:nth-child(5) { animation-delay: .24s; } .mod.on .bars div:nth-child(6) { animation-delay: .3s; } .mod.on .bars div:nth-child(7) { animation-delay: .36s; } .mod.on .bars div:nth-child(8) { animation-delay: .42s; }
.bars:not(.cash) div:first-child { background: var(--accent); }
.bars.cash div { background: var(--line2); }
.bars div.neg { background: var(--bad); }
.bars span { position: absolute; top: -22px; left: -6px; right: -6px; text-align: center; font-size: 12px; font-weight: 500; font-family: var(--mono); }
.bars i { position: absolute; bottom: -24px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11.5px; color: var(--mute); font-family: var(--mono); }
@keyframes grow { from { transform: scaleY(0); } }
.mk-foot { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 18px; flex-wrap: wrap; color: var(--text2); font-size: 13.5px; }
.mk-foot b { color: var(--text); }

/* роли */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1.5px solid var(--text); }
.role { padding: 28px 24px 8px 0; display: grid; gap: 12px; align-content: start; }
.role + .role { padding-left: 24px; border-left: 1px solid var(--line); }
.ri { width: 48px; height: 48px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.ri .a { stroke: var(--accent); stroke-width: 2; }
.role:hover .ri .a { animation: nudge .6s var(--ease); }
@keyframes nudge { 50% { transform: translateY(-3px); } }
.role p { color: var(--text2); font-size: 15px; line-height: 1.6; }

/* тёмный блок кабинета */
.dark { background: var(--ink); color: #EDECE8; padding-block: clamp(80px, 10vw, 128px); position: relative; overflow: hidden; }
.dark::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 75% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000, transparent 70%); }
.cab-in { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.cab-t { display: grid; gap: 20px; justify-items: start; }
.cab-t p { color: #B6B5B0; font-size: 17px; line-height: 1.6; font-weight: 350; }
.cab-l { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; }
.cab-l li { padding-left: 24px; position: relative; color: #EDECE8; }
.cab-l li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--accent); }
.app { border-radius: 14px; background: #16181B; border: 1px solid #2A2C31; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); overflow: hidden; }
.app-top { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #26282D; font-size: 12px; color: #82838A; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2F3136; }
.app-b { padding: 18px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis > div { padding: 14px; border-radius: 10px; background: #1C1E22; border: 1px solid #26282D; display: grid; gap: 4px; }
.kpis small { color: #82838A; font-size: 12px; } .kpis b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gantt { position: relative; padding: 14px; border-radius: 10px; background: #1C1E22; border: 1px solid #26282D; display: grid; gap: 10px; }
.gh, .gr { display: grid; grid-template-columns: 150px 1fr 52px; gap: 12px; align-items: center; font-size: 13px; }
.gh { grid-template-columns: 150px repeat(3, 1fr) 52px; color: #6F7077; font-size: 11.5px; } .gh::after { content: ''; }
.gr > span { color: #D6D5D0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr > b { font-family: var(--mono); font-size: 12px; font-weight: 500; text-align: right; color: #EDECE8; }
.gr > b.ok { color: #3DBE8B; } .gr > b.bad { color: #EC5B52; } .gr > b.mute { color: #6F7077; }
.gt { position: relative; height: 18px; border-radius: 4px; background: repeating-linear-gradient(90deg, transparent 0 calc(33.33% - 1px), #2A2C31 calc(33.33% - 1px) 33.33%); }
.gb { position: absolute; left: var(--l); width: var(--w); top: 2px; bottom: 2px; border-radius: 4px; background: #34363C; overflow: hidden; transform-origin: left; }
.on .gb { animation: fillx 1s var(--ease) both; }
.gr:nth-child(3) .gb { animation-delay: .1s; } .gr:nth-child(4) .gb { animation-delay: .2s; } .gr:nth-child(5) .gb { animation-delay: .3s; }
.gb u { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: var(--accent); }
.gb.ok u { background: #3DBE8B; } .gb.bad { box-shadow: inset 0 0 0 1px #EC5B52; } .gb.bad u { background: #EC5B52; }
.gb.plan { background: transparent; box-shadow: inset 0 0 0 1px #4A4C52; background-image: repeating-linear-gradient(45deg, transparent 0 4px, #2A2C31 4px 5px); }
.today { position: absolute; top: 34px; bottom: 10px; left: calc(14px + 150px + 12px + (100% - 28px - 150px - 24px - 52px) * var(--t) / 100); width: 0; border-left: 1.5px dashed #EDECE8; opacity: .6; }
.today span { position: absolute; top: -18px; left: -24px; font-family: var(--mono); font-size: 10.5px; color: #EDECE8; }
.att { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: rgba(236,91,82,.08); border: 1px solid rgba(236,91,82,.25); font-size: 13.5px; }
.att .mono { margin-left: auto; color: #82838A; font-size: 12px; }
.att .b-bad { background: rgba(236,91,82,.15); color: #EC5B52; }

/* сравнение */
.cmp-w { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--s1); }
.cmp { width: 100%; border-collapse: collapse; min-width: 760px; }
.cmp th, .cmp td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; font-size: 14.5px; }
.cmp th { color: var(--mute); font-weight: 500; font-size: 13px; }
.cmp td:first-child, .cmp th:first-child { text-align: left; color: var(--text); }
.cmp td { color: var(--mute); }
.cmp .hl { color: var(--text); background: var(--accent-soft); font-weight: 600; }
.cmp th.hl { color: var(--accent-ink); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp tr.cost td { font-family: var(--mono); font-size: 13.5px; }
.cmp tbody tr { transition: background .15s; } .cmp tbody tr:hover { background: var(--s2); }

/* тарифы */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tier { padding: 26px; display: grid; gap: 14px; align-content: start; background: var(--s1); border: 1px solid var(--line); border-radius: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier .who { font-size: 13px; color: var(--mute); display: flex; justify-content: space-between; gap: 8px; }
.tier .who em { font-style: normal; color: var(--accent-ink); font-family: var(--mono); font-size: 11.5px; }
.tier h3 { font-size: 22px; }
.tier .pr { font-size: 32px; font-weight: 600; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tier .pr small { font-size: 14px; color: var(--mute); font-weight: 400; letter-spacing: 0; }
.tier ul { list-style: none; display: grid; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--line2); color: var(--text2); font-size: 14.5px; margin-bottom: 6px; }
.tier ul li { padding-left: 18px; position: relative; } .tier ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 1.5px; background: var(--accent); }
.tier.hot { border: 1.5px solid var(--text); box-shadow: 6px 6px 0 var(--text); }
.tier.hot:hover { box-shadow: 10px 10px 0 var(--text); }

/* вопросы */
.faq-w { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.safe { list-style: none; display: grid; gap: 14px; margin-top: 18px; color: var(--text2); font-size: 15px; line-height: 1.55; max-width: 380px; }
.safe b { color: var(--text); font-weight: 600; display: block; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1.5px solid var(--text); }
.faq summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; position: relative; padding: 22px 40px 22px 0; letter-spacing: -.01em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.8px; background: currentColor; transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--text2); padding: 0 40px 22px 0; line-height: 1.65; animation: rise .4s var(--ease); }
.faq a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* финальный блок */
.cta { padding-top: 0; }
.cta-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.cta-a, .cta-b { padding: 40px; display: grid; gap: 16px; align-content: start; border-radius: 18px; }
.cta-a { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.cta-a::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.35); }
.cta-a::before { content: ''; position: absolute; right: 30px; bottom: 30px; width: 80px; height: 80px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); }
.cta-a h2 { font-size: clamp(34px, 4vw, 52px); }
.cta-a p { color: rgba(255,255,255,.88); font-size: 17px; max-width: 460px; line-height: 1.6; }
.cta-a .btn.primary { background: var(--ink); border-color: var(--ink); box-shadow: none; }
.cta-a .btn.primary:hover { background: #000; }
.cta-a .ondark { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-a .ondark:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cta-a .ctas { position: relative; z-index: 1; margin-top: 8px; }
.cta-b { background: var(--s1); border: 1px solid var(--line); }
.cta-b h2 { font-size: 30px; }
.cta-b .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta-b .input { height: 48px; }
.fine { font-size: 12.5px; color: var(--mute); } .fine a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.done { padding: 12px 14px; border-radius: var(--r1); background: var(--ok-soft); color: var(--ok); }
.ftr { border-top: 1px solid var(--line); padding: 32px 0; }
.ftr-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ftr nav { display: flex; gap: 22px; color: var(--mute); font-size: 14px; flex-wrap: wrap; } .ftr nav a:hover { color: var(--text); }
.op { color: var(--mute); font-size: 12px; margin-top: 14px; }

@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .hero-in, .mod, .faq-w, .cta-in, .cab-in { grid-template-columns: 1fr; }
  .hero-in { min-height: 0; gap: 48px; }
  .hero-v { margin: 0 0 40px 36px; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .role:nth-child(3) { padding-left: 0; border-left: 0; }
  .role:nth-child(n+3) { border-top: 1px solid var(--line); }
  .day { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .day::before, .day::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding-inline: 16px; }
  .hdr-in { height: 60px; gap: 12px; }
  .hdr-r .ghost { display: none; }
  .hero { padding: 20px 0 56px; }
  .lead { font-size: 16.5px; }
  .ctas .btn.lg { width: 100%; }
  .stamp { font-size: 11px; } .stamp span { padding: 4px 8px; }
  .hero-v { margin: 0; }
  .sheet { transform: none; padding: 6px; }
  .chat { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 12px; height: 210px; }
  .t-floor { font-size: 11px; padding: 4px 8px; }
  .day, .roles, .tiers { grid-template-columns: 1fr; }
  .day { row-gap: 26px; padding-left: 34px; }
  .day::before { display: block; left: 7px; top: 8px; bottom: 8px; right: auto; width: 2px; height: auto; }
  .day::after { display: block; left: 7px; top: 8px; width: 2px; height: calc(var(--p, 0) * (100% - 16px)); }
  .day li { padding: 0; } .day li::before { left: -34px; top: 2px; }
  .role, .role + .role { padding: 22px 0 14px; border-left: 0; }
  .role + .role { border-top: 1px solid var(--line); }
  .mtabs { width: auto; }
  .mod { gap: 28px; }
  .mod-t h3 { font-size: 24px; }
  .mk-row { grid-template-columns: 1fr; gap: 6px; }
  .gh, .gr { grid-template-columns: 112px 1fr 44px; font-size: 12px; } .gh { grid-template-columns: 112px repeat(3, 1fr) 44px; }
  .today { left: calc(14px + 112px + 12px + (100% - 28px - 112px - 24px - 44px) * var(--t) / 100); }
  .kpis b { font-size: 20px; }
  .cta-a, .cta-b { padding: 26px 22px; }
  .cta-b .row2 { grid-template-columns: 1fr; }
  .faq summary { font-size: 16.5px; }
  .ax::after { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-r] { opacity: 1; transform: none; }
  .d { stroke-dashoffset: 0; } .fl, .lvl, .axes, .tb, .callout, .tag { opacity: 1; }
  .tk-in { animation: none; }
}
