/* Цифровой Кооператив. Один акцент — бирюзовый, второй цвет — чернила подписи. Цвета только через токены, две темы. */
:root {
  color-scheme: dark;
  --bg: #070b0d;
  --bg-2: #0c1316;
  --bg-3: #121c20;
  --ink: #e9efee;
  --ink-2: #a9b8b6;
  --ink-3: #6b7c7a;
  --line: rgba(233, 239, 238, 0.1);
  --line-2: rgba(233, 239, 238, 0.22);
  --acc: #2dd4bf;
  --acc-soft: rgba(45, 212, 191, 0.12);
  --on-acc: #04110f;
  --sig: #f5b547;

  --sans: 'Golos Text Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --r: 14px;
  --nav-h: 64px;
}
@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    color-scheme: light;
    --bg: #f3f5f4; --bg-2: #ffffff; --bg-3: #e8edeb;
    --ink: #0b1514; --ink-2: #3d4b49; --ink-3: #74827f;
    --line: rgba(11, 21, 20, 0.12); --line-2: rgba(11, 21, 20, 0.28);
    --acc: #0b8074; --acc-soft: rgba(11, 128, 116, 0.1); --on-acc: #ffffff; --sig: #b56d06;
  }
}
html[data-theme='light'] {
  color-scheme: light;
  --bg: #f3f5f4; --bg-2: #ffffff; --bg-3: #e8edeb;
  --ink: #0b1514; --ink-2: #3d4b49; --ink-3: #74827f;
  --line: rgba(11, 21, 20, 0.12); --line-2: rgba(11, 21, 20, 0.28);
  --acc: #0b8074; --acc-soft: rgba(11, 128, 116, 0.1); --on-acc: #ffffff; --sig: #b56d06;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-feature-settings: 'tnum';
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.028em; }
em { font-style: normal; color: var(--acc); }
button { font: inherit; color: inherit; }
::selection { background: var(--acc); color: var(--on-acc); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

.W { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ───────── типографика ───────── */
.display { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 600; text-wrap: balance; }
.t2 { font-size: clamp(30px, 3.9vw, 54px); line-height: 1.05; letter-spacing: -0.034em; text-wrap: balance; }
.t3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.body { color: var(--ink-2); text-wrap: pretty; }
.cap, .mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--acc); }
.dim { color: var(--ink-3); }

.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1px solid var(--line-2); color: var(--ink); background: transparent; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, color 0.25s; }
.btn:hover { border-color: var(--acc); color: var(--acc); }
.btn-g { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.btn-g:hover { color: var(--on-acc); transform: translateY(-2px); box-shadow: 0 14px 40px -14px var(--acc); }

/* появление при прокрутке */
.r { opacity: 0; transform: translateY(18px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.r.v { opacity: 1; transform: none; }
.r.d2 { transition-delay: 0.08s; } .r.d3 { transition-delay: 0.16s; } .r.d4 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .r { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ───────── шапка ───────── */
#nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad); border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
#nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.ck { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--acc); color: var(--on-acc); font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; line-height: 1; }
.wordmark { display: inline-block; padding: 7px 10px 6px 12px; border-radius: 6px; border: 2px solid var(--acc); color: var(--acc); background: transparent; font-family: var(--mono); font-weight: 500; font-size: 17px; letter-spacing: 0.18em; line-height: 1; }
.nav-logo .mark { box-sizing: border-box; width: 38px; height: 38px; padding: 5px; border-radius: 10px; background: var(--acc); color: var(--on-acc); flex-shrink: 0; }
.nav-logo .word { height: 21px; width: auto; color: var(--ink); flex-shrink: 0; }
.nav-logo .mark .spin { transform-origin: 32px 32px; animation: mark-breathe 4.5s ease-in-out infinite alternate; }
@keyframes mark-breathe { from { transform: rotate(55deg) scale(0.86); } to { transform: rotate(-55deg) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .nav-logo .mark .spin { animation: none; } }
.wordmark.plain { border: 0; padding: 0; font-size: 19px; letter-spacing: 0.2em; color: var(--ink); }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a:hover { color: var(--acc); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: border-color 0.25s, color 0.25s; }
.nav-cta:hover { border-color: var(--acc); color: var(--acc); }
.nav-theme-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.nav-theme-btn:hover { border-color: var(--acc); }
.theme-icon { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink); background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ───────── первый экран ───────── */
#hero { padding: calc(var(--nav-h) + clamp(32px, 5vw, 64px)) 0 0; position: relative; overflow: hidden; }
#hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 85% 0%, var(--acc-soft), transparent 70%); }
.hero-top { position: relative; display: grid; gap: 20px; max-width: 980px; }
.hero-top .cap { font-size: 14px; }
.hero-top .lead { max-width: 760px; font-size: clamp(17px, 1.35vw, 20px); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ───────── линия ───────── */
.line-wrap { position: relative; width: 100%; height: clamp(230px, 24vw, 330px); margin-top: clamp(28px, 3.5vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, transparent, var(--bg-2)); }
.line-wrap canvas, .story-pin canvas { display: block; width: 100%; height: 100%; }
.story-pin canvas[data-map] { background: radial-gradient(80% 70% at 50% 45%, var(--bg-2), var(--bg-3)); }
.story-map { grid-template-columns: 4fr 8fr; }
.story-map .step p { max-width: 40ch; }
.line-note { padding: 16px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3); }

/* ───────── процесс: сцена стоит, шаги идут ───────── */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.story-scene { order: 2; position: sticky; top: calc(var(--nav-h) + 20px); height: calc(100vh - var(--nav-h) - 40px); min-height: 420px; }
.story-pin { position: relative; height: 100%; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); overflow: hidden; }
.story-cap { position: absolute; left: 22px; top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.story-cap b { color: var(--acc); font-weight: 500; }
.story-steps { order: 1; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 24px 0; opacity: 0.32; transition: opacity 0.4s; }
.step.on { opacity: 1; }
.step .mono { color: var(--ink-3); }
.step.on .mono { color: var(--acc); }
.step h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; text-wrap: balance; }
.step p { color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-scene { order: 1; top: var(--nav-h); height: 44vh; min-height: 300px; z-index: 5; background: var(--bg); padding: 10px 0; }
  .story-steps { order: 2; }
  .step { min-height: 56vh; }
}

/* ───────── одна среда ───────── */
.quad { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.quad > div { background: var(--bg-2); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.quad h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; }
.quad p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .quad { grid-template-columns: 1fr; } }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.trio > div { background: var(--bg-2); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.trio h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; }
.trio p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ───────── бейджи ───────── */
.b { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-3); white-space: nowrap; }
.b-live { border-color: var(--acc); color: var(--acc); }

/* ───────── тарифы ───────── */
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.price-cols-one { grid-template-columns: 1fr; max-width: 620px; }
.price-col-card { height: 100%; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.price-col-head { padding: 26px 26px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.price-col-cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.price-col-title { font-size: 22px; }
.price-col-total { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; color: var(--acc); line-height: 1.05; }
.price-col-body { padding: 10px 26px 24px; flex: 1; }
.pci { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pci:last-child { border-bottom: none; }
.pci-l { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.pci-v { font-family: var(--mono); font-size: 13px; color: var(--ink); flex-shrink: 0; }
.pci-muted .pci-l { color: var(--ink-3); font-size: 14px; }
.pci-muted .pci-v { color: var(--ink-3); }
.tar-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; margin-top: 40px; }
@media (max-width: 1100px) { .tar-cols { grid-template-columns: 1fr 1fr; } }
.tar-cols-5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1100px) { .tar-cols-5 { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 760px) { .tar-cols-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .tar-cols, .tar-cols-5, .price-cols { grid-template-columns: 1fr; } }
.tar-cols .price-col-total { font-size: clamp(22px, 2vw, 28px); white-space: nowrap; }
.tar-cols .price-col-title { font-size: 19px; }
.tar-cols .pci-v { white-space: normal; }
.tar-cols .price-col-head { padding: 22px 22px 18px; }
.tar-cols .price-col-body { padding: 8px 22px 20px; }
.tar-cols .pci { flex-direction: column; align-items: flex-start; gap: 4px; }
.tar-sub { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.pr-note { margin-top: 24px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; color: var(--ink-3); line-height: 1.6; }
.sub-head { display: grid; gap: 14px; margin-top: clamp(48px, 6vw, 80px); max-width: 760px; }

.store-list { margin-top: 32px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.sa { display: grid; grid-template-columns: 240px 1fr 160px; gap: 28px; align-items: start; padding: 26px 28px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.sa:last-child { border-bottom: none; }
.sa.feat { background: var(--acc-soft); }
.sa-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.sa h4 { font-size: 19px; line-height: 1.2; }
.sa p { color: var(--ink-2); font-size: 15.5px; }
.sa-st { text-align: right; }
.ent-price { font-family: var(--mono); font-size: 13px; color: var(--ink); white-space: nowrap; }
.ent-price-total { font-family: var(--sans); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--acc); }
@media (max-width: 900px) { .sa { grid-template-columns: 1fr; gap: 10px; } .sa-st { text-align: left; } }

/* сравнительная таблица тарифов: строки-показатели одни для всех */
.tarif-wrap { overflow-x: auto; }
.tarif { display: grid; grid-template-columns: 1.15fr repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-top: 40px; min-width: 960px; }
.tarif > div { background: var(--bg-2); padding: 14px 16px; font-size: 14px; line-height: 1.4; color: var(--ink-2); display: flex; align-items: center; }
.tarif-corner { background: var(--bg-2); }
.tarif-head { flex-direction: column; align-items: flex-start !important; justify-content: flex-start; gap: 6px; padding: 22px 16px 18px !important; }
.tarif-head .price-col-total { font-size: clamp(20px, 1.8vw, 26px); white-space: nowrap; }
.tarif-head .price-col-title { font-size: 18px; color: var(--ink); }
.tarif-label { color: var(--ink); font-weight: 500; background: var(--bg-3) !important; }
.tarif-cell { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.tar-fed { background: var(--acc-soft) !important; }
.tk { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); position: relative; }
.tk::after { content: ''; position: absolute; left: 9px; top: 5px; width: 6px; height: 12px; border: solid var(--on-acc); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tn { display: inline-block; width: 14px; height: 2px; margin-left: 6px; border-radius: 2px; background: var(--line-2); }
@media (max-width: 1000px) { .tarif { min-width: 900px; } }

/* ───────── запуск ───────── */
.timeline { display: flex; flex-direction: column; max-width: 820px; }
.tl { display: grid; grid-template-columns: 26px 1fr; gap: 22px; align-items: start; }
.tl-left { display: flex; flex-direction: column; align-items: center; padding-top: 10px; align-self: stretch; }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg); flex-shrink: 0; }
.tl-dot.active, .tl-dot.special { border-color: var(--acc); background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.tl-line { width: 1px; flex: 1; min-height: 22px; background: var(--line); margin: 4px 0; }
.tl:last-child .tl-line { display: none; }
.tl-body { padding: 0 0 34px; display: grid; gap: 8px; }
.tl-step { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--acc); }
.tl-body h4 { font-size: 20px; line-height: 1.2; }
.tl-body p { color: var(--ink-2); font-size: 16px; max-width: 64ch; }

/* ───────── заявка ───────── */
.step-btn { margin-top: 6px; align-self: flex-start; }

/* ───────── призыв ───────── */
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.cta-card { padding: clamp(26px, 3vw, 40px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-card.gold { border-color: var(--acc); }
.cta-demo { max-width: 640px; }
.cta-card-wide { grid-column: 1 / -1; }
.cta-card p { color: var(--ink-2); font-size: 16px; max-width: 70ch; }
.cta-wrapper { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.demo-cred-block { width: 100%; display: grid; gap: 10px; }
.demo-cred-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.demo-cred-lbl { flex: 0 0 64px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.demo-cred-inp { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13px; color: var(--acc); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; outline: none; }
.demo-copy-btn { font-size: 13px; padding: 9px 14px; background: transparent; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink-2); cursor: pointer; transition: all 0.2s; }
.demo-copy-btn:hover, .demo-copy-btn.copied { border-color: var(--acc); color: var(--acc); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ───────── подвал ───────── */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; }
.foot-brand span { color: var(--ink-3); }
.foot-copy { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink-2); max-width: 640px; }
.foot-links a:hover { color: var(--acc); }

/* ───────── отдельные страницы ───────── */
.contacts-section, .documents-section, .proposal-section { padding: calc(var(--nav-h) + 64px) 0 88px; min-height: 70vh; }
.contacts-section .cap, .documents-section .cap, .proposal-section .cap { display: block; margin-bottom: 14px; }
.contacts-block { max-width: 620px; padding: 32px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; }
.contacts-name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 20px; line-height: 1.25; }
.contacts-list { margin: 0; }
.contacts-row { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contacts-row:last-child { border-bottom: none; }
.contacts-row dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.contacts-row dd { margin: 0; font-size: 15.5px; color: var(--ink); }
.contacts-row dd a, .proposal-body a { color: var(--acc); }
.doc-list { max-width: 720px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.doc-item { display: flex; align-items: baseline; gap: 14px; padding: 17px 22px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 15.5px; transition: color 0.2s, background 0.2s; }
.doc-item:last-child { border-bottom: none; }
.doc-item::before { content: '↗'; font-family: var(--mono); font-size: 12px; color: var(--acc); }
.doc-item:hover { color: var(--acc); background: var(--bg-3); }
.proposal-doc { max-width: 720px; }
.proposal-lead { font-size: 20px; font-weight: 600; }
.proposal-body p { font-size: 17px; line-height: 1.75; color: var(--ink-2); margin-bottom: 20px; }

/* ── окно ИСТОКА: интерфейс по шагам истории ── */
.story-ui .story-pin { container-type: size; display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 45%, var(--bg-2), var(--bg-3)); }
.screen { --u: calc(min(94cqw, 117cqh) / 62); --side: 15em; font-size: var(--u); width: 62em; height: 49.6em; display: grid; grid-template-rows: 2.6em 1fr; border: 1px solid var(--line-2); border-radius: 1.2em; background: var(--bg); overflow: hidden; box-shadow: 0 2.4em 5em -3em rgba(0, 0, 0, 0.55); position: relative; }
.screen svg.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: currentColor; }
.scr-bar { display: flex; align-items: center; gap: 1.2em; padding: 0 1.1em; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.scr-dots { display: flex; gap: 0.4em; width: 4em; }
.scr-dots i { width: 0.65em; height: 0.65em; border-radius: 50%; background: var(--line-2); }
.scr-url { flex: 1; max-width: 24em; margin: 0 auto; padding: 0.2em 1em; border-radius: 99em; background: var(--bg-2); font-family: var(--mono); font-size: 0.9em; color: var(--ink-3); text-align: center; white-space: nowrap; overflow: hidden; }
.scr-bar::after { content: ''; width: 4em; }
.scr-body { position: relative; min-height: 0; overflow: hidden; }
/* боковое меню стола */
.scr-side { position: absolute; left: 0; top: 0; bottom: 0; width: var(--side); border-right: 1px solid var(--line); background: var(--bg-2); transition: transform 0.5s; }
.screen[data-step="0"] .scr-side, .screen[data-step="1"] .scr-side { transform: translateX(-101%); }
.nav-g { display: none; flex-direction: column; height: 100%; padding: 0.9em 0.7em; gap: 0.15em; }
.screen[data-step="0"] .nav-g[data-on~="0"], .screen[data-step="1"] .nav-g[data-on~="1"], .screen[data-step="2"] .nav-g[data-on~="2"], .screen[data-step="3"] .nav-g[data-on~="3"], .screen[data-step="4"] .nav-g[data-on~="4"], .screen[data-step="5"] .nav-g[data-on~="5"], .screen[data-step="6"] .nav-g[data-on~="6"] { display: flex; }
.sw { border: 1px solid var(--line); border-radius: 0.8em; margin-bottom: 0.9em; overflow: hidden; }
.sw-top { padding: 0.7em 0.8em 0.6em; display: grid; gap: 0.15em; }
.sw-top small { font-size: 0.8em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sw-top b { font-size: 1.2em; font-weight: 600; color: var(--ink); white-space: nowrap; }
.sw-row { display: flex; align-items: center; justify-content: space-between; padding: 0.45em 0.8em; background: var(--bg-3); border-top: 1px solid var(--line); font-size: 0.95em; color: var(--ink-3); }
.sw-row kbd { font-family: var(--mono); font-size: 0.85em; padding: 0.05em 0.45em; border: 1px solid var(--line-2); border-radius: 0.35em; background: var(--bg-2); }
.nav-i { display: flex; align-items: center; gap: 0.7em; padding: 0.5em 0.7em; border-radius: 0.6em; font-size: 1.08em; color: var(--ink-2); white-space: nowrap; }
.nav-i svg.ic { color: var(--ink-3); }
.screen[data-step="0"] .nav-i[data-act~="0"], .screen[data-step="1"] .nav-i[data-act~="1"], .screen[data-step="2"] .nav-i[data-act~="2"], .screen[data-step="3"] .nav-i[data-act~="3"], .screen[data-step="4"] .nav-i[data-act~="4"], .screen[data-step="5"] .nav-i[data-act~="5"], .screen[data-step="6"] .nav-i[data-act~="6"] { background: var(--acc-soft); color: var(--acc); }
.screen[data-step="0"] .nav-i[data-act~="0"] svg.ic, .screen[data-step="1"] .nav-i[data-act~="1"] svg.ic, .screen[data-step="2"] .nav-i[data-act~="2"] svg.ic, .screen[data-step="3"] .nav-i[data-act~="3"] svg.ic, .screen[data-step="4"] .nav-i[data-act~="4"] svg.ic, .screen[data-step="5"] .nav-i[data-act~="5"] svg.ic, .screen[data-step="6"] .nav-i[data-act~="6"] svg.ic { color: var(--acc); }
.who { margin-top: auto; border: 1px solid var(--line); border-radius: 0.8em; padding: 0.7em 0.8em; display: grid; grid-template-columns: auto 1fr; gap: 0.1em 0.7em; align-items: center; }
.who i { grid-row: span 2; display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%; background: var(--acc-soft); color: var(--acc); font-style: normal; font-weight: 600; font-size: 0.95em; }
.who b { font-size: 1em; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { font-size: 0.9em; color: var(--ink-3); }
/* страницы */
.pane { position: absolute; top: 0; bottom: 0; right: 0; left: var(--side); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
.pane.full { left: 0; }
.pane.on { opacity: 1; visibility: visible; transition: opacity 0.45s 0.1s; }
.pane-h { display: flex; align-items: center; justify-content: space-between; gap: 1em; height: 4.2em; flex-shrink: 0; padding: 0 1.8em; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.pane-h h4 { font-size: 1.3em; font-weight: 600; white-space: nowrap; }
.pane-h .urow { gap: 0.6em; }
.pane-b { flex: 1; min-height: 0; padding: 1.5em 1.8em; display: flex; flex-direction: column; gap: 1em; }
.pane .a { opacity: 0; transform: translateY(0.9em); }
.pane.on .a { opacity: 1; transform: none; transition: opacity 0.5s var(--d, 0s), transform 0.5s var(--d, 0s); }
.ucard { border: 1px solid var(--line); border-radius: 1em; background: var(--bg-2); padding: 1.2em 1.4em; }
.ulbl { font-size: 0.95em; color: var(--ink-3); margin-bottom: 0.35em; }
.uinp { border: 1px solid var(--line-2); border-radius: 0.6em; padding: 0.6em 0.9em; font-size: 1.15em; color: var(--ink); background: var(--bg-2); min-height: 2.5em; white-space: nowrap; overflow: hidden; }
.ty { display: inline-block; clip-path: inset(0 100% 0 0); }
.pane.on .ty { animation: ui-type 0.9s steps(18) var(--d, 0s) both; }
@keyframes ui-type { to { clip-path: inset(0 0 0 0); } }
.ubtn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.6em 1.3em; border-radius: 0.6em; font-size: 1.1em; font-weight: 600; background: var(--acc); color: var(--on-acc); white-space: nowrap; position: relative; }
.ubtn.sm { font-size: 0.98em; padding: 0.5em 1em; }
.ubtn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
.ubtn.flat { background: transparent; color: var(--acc); padding-left: 0.4em; padding-right: 0.4em; }
.pane.on .ubtn.press { animation: ui-press 0.5s var(--d, 0s) both; }
@keyframes ui-press { 0% { transform: none; box-shadow: 0 0 0 0 var(--acc); } 40% { transform: scale(0.94); box-shadow: 0 0 0 0.5em var(--acc-soft); } 100% { transform: none; box-shadow: 0 0 0 0 transparent; } }
.cur { position: absolute; right: -0.9em; bottom: -1.3em; width: 1.5em; height: 1.5em; opacity: 0; pointer-events: none; z-index: 3; }
.cur::before { content: ''; position: absolute; inset: 0; background: var(--ink); clip-path: polygon(0 0, 0 86%, 26% 64%, 44% 100%, 60% 92%, 42% 58%, 76% 58%); }
.pane.on .cur { animation: ui-cur 1.5s var(--d, 0s) both; }
@keyframes ui-cur { 0% { opacity: 0; transform: translate(7em, 5em); } 20% { opacity: 1; } 60% { opacity: 1; transform: none; } 70% { transform: scale(0.82); } 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.ubadge { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.22em 0.75em; border-radius: 99em; font-size: 0.92em; font-weight: 500; background: var(--bg-3); color: var(--ink-2); white-space: nowrap; }
.ubadge.ok { color: var(--acc); background: var(--acc-soft); }
.ubadge.wait { color: var(--sig); background: color-mix(in srgb, var(--sig) 14%, transparent); }
.swap { position: relative; display: inline-grid; }
.swap > * { grid-area: 1 / 1; justify-self: start; }
.swap.end > * { justify-self: end; }
.swap > .to { opacity: 0; }
.pane.on .swap > .from { animation: ui-out 0.35s var(--d, 0s) both; }
.pane.on .swap > .to { animation: ui-in 0.45s calc(var(--d, 0s) + 0.25s) both; }
@keyframes ui-out { to { opacity: 0; transform: scale(0.9); } }
@keyframes ui-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
.urow { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
/* вступление: две панели */
.auth { display: grid; grid-template-columns: 17em 1fr; height: 100%; }
.auth-l { background: #141416; color: #fafafa; padding: 2em 1.6em; display: flex; flex-direction: column; gap: 0.5em; }
.auth-l small { font-size: 0.85em; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250, 250, 250, 0.5); }
.auth-l h4 { font-size: 1.6em; font-weight: 600; line-height: 1.15; margin-bottom: 0.7em; }
.auth-s { display: flex; align-items: center; gap: 0.75em; padding: 0.42em 0; font-size: 1.05em; color: rgba(250, 250, 250, 0.5); white-space: nowrap; }
.auth-s::before { content: attr(data-n); display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; border: 1px solid rgba(250, 250, 250, 0.25); font-size: 0.85em; flex-shrink: 0; }
.auth-s.done { color: rgba(250, 250, 250, 0.8); }
.auth-s.done::before { content: '✓'; background: #2dd4bf; border-color: #2dd4bf; color: #06201c; }
.auth-s.now { color: #2dd4bf; font-weight: 600; }
.auth-s.now::before { border-color: #2dd4bf; }
.auth-l .foot { margin-top: auto; font-size: 0.95em; color: rgba(250, 250, 250, 0.5); }
.auth-r { padding: 2.2em 2.4em; display: flex; flex-direction: column; gap: 1.1em; min-width: 0; }
.auth-r > small { font-size: 0.85em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.auth-r > h4 { font-size: 1.9em; font-weight: 600; line-height: 1.1; margin-top: -0.4em; }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7em; }
.kinds span { border: 1px solid var(--line-2); border-radius: 0.7em; padding: 0.6em 0.8em; font-size: 1.05em; color: var(--ink-2); text-align: center; }
.kinds span.sel { border-color: var(--acc); color: var(--acc); background: var(--acc-soft); font-weight: 600; }
.uform { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9em 1.1em; }
.sign { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.3em; flex: 1; min-height: 0; }
.sheet { background: var(--bg-2); border: 1px solid var(--line); border-radius: 0.6em; padding: 1.5em 1.6em; display: flex; flex-direction: column; gap: 0.7em; position: relative; overflow: hidden; }
.sheet h5 { font-size: 1.15em; font-weight: 600; text-align: center; line-height: 1.25; margin: 0 0 0.4em; }
.sheet i { display: block; height: 0.5em; border-radius: 99em; background: var(--line); flex-shrink: 0; }
.sheet i.s { width: 62%; } .sheet i.m { width: 84%; }
.stamp { margin-top: auto; border: 0.15em solid var(--acc); border-radius: 0.7em; padding: 0.6em 0.8em; color: var(--acc); font-family: var(--mono); font-size: 0.85em; line-height: 1.5; opacity: 0; }
.stamp b { display: block; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.pane.on .stamp { animation: ui-stamp 0.5s var(--d, 0s) both; }
@keyframes ui-stamp { from { opacity: 0; transform: scale(1.25) rotate(-3deg); } to { opacity: 1; transform: none; } }
.sign-side { display: flex; flex-direction: column; gap: 1em; min-width: 0; }
.autograph { display: block; width: 100%; height: 6.5em; border: 1px dashed var(--line-2); border-radius: 0.6em; margin-top: 0.3em; }
.autograph path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pane.on .autograph path { animation: ui-draw 1.2s 0.9s ease-in-out both; }
@keyframes ui-draw { to { stroke-dashoffset: 0; } }
/* повестка совета */
.agenda { display: grid; gap: 0.9em; border-radius: 1.3em; padding: 1.1em 1.3em; }
.agenda.dim { opacity: 0.6; }
.ag-top { display: grid; grid-template-columns: auto 1fr auto; gap: 1em; align-items: start; }
.ag-num { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 0.6em; background: var(--acc); color: var(--on-acc); font-weight: 600; font-size: 1.1em; }
.ag-t { min-width: 0; }
.q-title { font-size: 1.2em; font-weight: 600; line-height: 1.25; }
.ag-vote { display: flex; align-items: flex-start; gap: 0.7em; }
.vcol { display: grid; gap: 0.3em; justify-items: start; min-width: 6.4em; }
.vcol small { font-size: 0.88em; color: var(--ink-3); white-space: nowrap; }
.vbtn { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.35em 0.8em; border: 1px solid var(--line-2); border-radius: 0.6em; font-size: 1.15em; font-weight: 600; color: var(--ink-3); }
.vbtn.pos { color: var(--acc); border-color: var(--acc); }
.cnt { display: inline-grid; }
.cnt span { grid-area: 1 / 1; opacity: 0; }
.pane.on .cnt span { animation: ui-in 0.2s var(--d) both, ui-out 0.2s var(--e) forwards; }
.vmark { width: 1.9em; height: 1.9em; margin-top: 0.15em; border-radius: 50%; border: 0.14em solid var(--line-2); position: relative; }
.vmark.yes { background: var(--acc); border-color: var(--acc); }
.vmark.yes::after { content: ''; position: absolute; left: 32%; top: 18%; width: 28%; height: 50%; border: solid var(--on-acc); border-width: 0 0.2em 0.2em 0; transform: rotate(45deg); }
.ag-foot { padding-top: 0.8em; border-top: 1px solid var(--line); font-size: 0.98em; color: var(--ink-3); }
/* таблицы и строки */
.utable { border: 1px solid var(--line); border-radius: 1em; background: var(--bg-2); overflow: hidden; }
.utr { display: grid; gap: 1em; align-items: center; padding: 0.75em 1.3em; border-bottom: 1px solid var(--line); font-size: 1.08em; color: var(--ink-2); }
.utr:last-child { border-bottom: 0; }
.utr > * { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utr.uth { font-size: 0.85em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-3); }
.utr b { font-weight: 500; color: var(--ink); }
.utr.new { background: var(--acc-soft); }
.pane .utr.new { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; border-bottom-width: 0; }
.pane.on .utr.new { max-height: 4em; padding-top: 0.75em; padding-bottom: 0.75em; opacity: 1; border-bottom-width: 1px; transition: max-height 0.6s var(--d, 0s), padding 0.6s var(--d, 0s), opacity 0.6s var(--d, 0s); }
.t-members .utr { grid-template-columns: 1.9fr 1fr 1.25fr; }
.utabs { display: flex; gap: 1.6em; border-bottom: 1px solid var(--line); font-size: 1.08em; color: var(--ink-3); }
.utabs span { padding-bottom: 0.6em; }
.utabs .sel { color: var(--acc); font-weight: 600; box-shadow: 0 0.14em 0 var(--acc); }
.usearch { display: flex; align-items: center; gap: 0.7em; border: 1px solid var(--line-2); border-radius: 0.6em; padding: 0.5em 0.9em; font-size: 1.05em; color: var(--ink-3); background: var(--bg-2); }
.wrow { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1em; align-items: center; border: 1px solid var(--line); border-radius: 1em; background: var(--bg-2); padding: 0.95em 1.3em; }
.wrow .tile { display: grid; place-items: center; width: 2.9em; height: 2.9em; border-radius: 0.7em; background: var(--bg-3); border: 1px solid var(--line); color: var(--ink-2); }
.wrow .tile.blue { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.wrow b { display: block; font-size: 1.2em; font-weight: 600; }
.wrow small { display: block; font-size: 0.98em; color: var(--ink-3); }
.wrow .sum { text-align: right; }
.wrow .sum b { font-size: 1.45em; letter-spacing: -0.01em; white-space: nowrap; }
.wrow .sum b u { text-decoration: none; font-size: 0.6em; font-weight: 500; color: var(--ink-3); margin-left: 0.35em; }
.flow { display: grid; grid-template-columns: auto auto 1fr; row-gap: 0.6em; gap: 1em; align-items: center; border: 1px dashed var(--acc); border-radius: 1em; padding: 0.9em 1.3em; background: var(--acc-soft); font-size: 1.05em; color: var(--ink); }
.flow span { display: flex; align-items: center; gap: 0.6em; white-space: nowrap; }
.flow em { font-size: 1.3em; }
.flow .ubadge { grid-column: 1 / -1; justify-self: start; background: var(--bg-2); }
/* открытый документ */
.doc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.3em; flex: 1; min-height: 0; }
.kv { display: grid; gap: 0.25em; align-content: start; font-size: 1.02em; color: var(--ink-2); }
.kv > b { font-size: 0.85em; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.kv code { font-family: var(--mono); font-size: 0.95em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig { display: grid; grid-template-columns: auto 1fr; gap: 0.1em 0.6em; align-items: center; padding: 0.55em 0; border-top: 1px solid var(--line); }
.sig svg.ic { grid-row: span 2; color: var(--acc); width: 1.5em; height: 1.5em; }
.sig span { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sig small { font-size: 0.88em; color: var(--acc); }
/* навигатор столов */
.pane.modal { background: color-mix(in srgb, var(--bg) 78%, transparent); display: grid; place-items: center; }
.navi { width: 50em; height: 37em; display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--line-2); border-radius: 1.1em; background: var(--bg-2); overflow: hidden; box-shadow: 0 2em 4em -2em rgba(0, 0, 0, 0.5); }
.navi-s { display: flex; align-items: center; gap: 0.8em; padding: 1em 1.4em; border-bottom: 1px solid var(--line); font-size: 1.2em; color: var(--ink-3); }
.navi-b { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 0; }
.navi-l { padding: 0.8em; display: flex; flex-direction: column; gap: 0.1em; border-right: 1px solid var(--line); }
.navi-r { padding: 1.1em 1.4em; display: flex; flex-direction: column; gap: 0.1em; }
.navi-r h5 { display: flex; align-items: center; gap: 0.6em; font-size: 1.35em; font-weight: 600; padding-bottom: 0.7em; margin: 0 0 0.5em; border-bottom: 1px solid var(--line); }
.navi-r h5 .ubadge { font-size: 0.68em; }
.navi-r h5 svg.ic { color: var(--acc); }
.navi .nav-i { font-size: 1.12em; }
.navi .nav-i.sel { background: var(--acc-soft); color: var(--acc); box-shadow: inset 0 0 0 0.12em var(--acc); }
.navi .nav-i.sel svg.ic { color: var(--acc); }
.navi-cap { font-size: 0.85em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 0.9em 0.8em 0.3em; }
.navi-f { display: flex; gap: 1.6em; padding: 0.7em 1.4em; border-top: 1px solid var(--line); background: var(--bg-3); font-size: 0.92em; color: var(--ink-3); }
.navi-f kbd { font-family: var(--mono); padding: 0.05em 0.45em; border: 1px solid var(--line-2); border-radius: 0.35em; background: var(--bg-2); margin-right: 0.4em; }
@media (max-width: 900px) {
  .screen { --u: calc(min(96cqw, 124cqh) / 46); --side: 0em; width: 46em; height: 37em; }
  .scr-side, .auth-l { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-r { padding: 1.4em 1.6em; gap: 0.8em; }
  .pane-b { padding: 1.1em 1.3em; gap: 0.8em; }
  .pane-h { height: 3.6em; padding: 0 1.3em; }
  .navi { width: 42em; height: 30em; }
  .agenda.dim { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pane .a, .pane .stamp, .swap > .to { opacity: 1; transform: none; }
  .pane .ty { clip-path: none; }
  .pane .swap > .from, .pane .cur { display: none; }
  .pane .utr.new { max-height: none; padding: 0.75em 1.3em; opacity: 1; }
  .autograph path { stroke-dashoffset: 0; }
  .cnt span:last-child { opacity: 1; }
  .pane.on .a, .pane.on .ty, .pane.on .stamp, .pane.on .swap > *, .pane.on .ubtn.press, .pane.on .utr.new, .pane.on .cnt span, .pane.on .autograph path { animation: none; transition: none; }
  .scr-side { transition: none; }
}
