/* ==========================================================================
   Проводка: design system «Контрольный слой»
   Every area of accounting is a layer with a status, an owner and a next step.
   Light, structured, amber used only as the "attention / active" signal.
   ========================================================================== */

/* icons: CSS masks, colour = currentColor. Use <i class="ico ico--NAME" aria-hidden="true"></i> */
:root{
--i-bank:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 4l9 5.5M5.5 10.5v7M10 10.5v7M14 10.5v7M18.5 10.5v7M3.5 20h17'/%3E%3C/svg%3E");
--i-cash:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-2-1.4-2 1.4-2-1.4-2 1.4-2-1.4L6 21zM9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E");
--i-doc:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7zM14 3v4h4M9.5 14l2 2 3.5-4'/%3E%3C/svg%3E");
--i-box:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 7v10l8 4 8-4V7zM4 7l8 4 8-4M12 11v10'/%3E%3C/svg%3E");
--i-people:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM3.5 20c.5-3.2 2.7-5 5.5-5s5 1.8 5.5 5M16 6.2a3 3 0 0 1 0 5.6M17.5 15.3c1.7.6 2.8 2.2 3 4.7'/%3E%3C/svg%3E");
--i-web:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3zM3 9.5h18M6.5 7.2h.01M9.5 7.2h.01M8 14h8'/%3E%3C/svg%3E");
--i-chart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V4M4 20h16M8 16v-4M12 16V8M16 16v-6'/%3E%3C/svg%3E");
--i-inbox:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l2-8h12l2 8M4 13v6h16v-6M4 13h5l1 2h4l1-2h5'/%3E%3C/svg%3E");
--i-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
--i-clock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v5l3 2M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18z'/%3E%3C/svg%3E");
--i-eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12zM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
--i-chat:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H10l-5 4v-4H4z'/%3E%3C/svg%3E");
--i-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
--i-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
--i-minus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
--i-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6zM8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
--i-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 11h12v9H6zM8.5 11V8a3.5 3.5 0 0 1 7 0v3'/%3E%3C/svg%3E");
--i-pin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 1 0-14 0c0 5 7 11 7 11zM12 12a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E");
--i-phone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A15 15 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
--i-send:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3 10 14M21 3l-7 18-4-7-7-4z'/%3E%3C/svg%3E");
--i-menu:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
--i-close:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
--i-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
--i-book:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h12a2 2 0 0 1 2 2v14H7a2 2 0 0 1-2-2zM9 8h6M9 12h6'/%3E%3C/svg%3E");
--i-layers:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 8l9 5 9-5zM3 12l9 5 9-5M3 16l9 5 9-5'/%3E%3C/svg%3E");
--i-route:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 19a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM18 9a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM8 17h6a3 3 0 0 0 0-6h-4a3 3 0 0 1 0-6h6'/%3E%3C/svg%3E");
--i-refresh:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.5-4M4 4v4h4M4 13a8 8 0 0 0 14.5 4M20 20v-4h-4'/%3E%3C/svg%3E");
--i-dash:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E");
--i-tool:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6.5a4 4 0 0 0-5 5L4 17l3 3 5.5-5.5a4 4 0 0 0 5-5l-2.5 2.5-2.5-.5-.5-2.5z'/%3E%3C/svg%3E");
--i-sheet:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18H5zM9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E");
--i-user:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4.5 20c.7-4 3.6-6 7.5-6s6.8 2 7.5 6'/%3E%3C/svg%3E");
}
.ico--bank{--ico:var(--i-bank)}
.ico--cash{--ico:var(--i-cash)}
.ico--doc{--ico:var(--i-doc)}
.ico--box{--ico:var(--i-box)}
.ico--people{--ico:var(--i-people)}
.ico--web{--ico:var(--i-web)}
.ico--chart{--ico:var(--i-chart)}
.ico--inbox{--ico:var(--i-inbox)}
.ico--check{--ico:var(--i-check)}
.ico--clock{--ico:var(--i-clock)}
.ico--eye{--ico:var(--i-eye)}
.ico--chat{--ico:var(--i-chat)}
.ico--arrow{--ico:var(--i-arrow)}
.ico--plus{--ico:var(--i-plus)}
.ico--minus{--ico:var(--i-minus)}
.ico--shield{--ico:var(--i-shield)}
.ico--lock{--ico:var(--i-lock)}
.ico--pin{--ico:var(--i-pin)}
.ico--phone{--ico:var(--i-phone)}
.ico--send{--ico:var(--i-send)}
.ico--menu{--ico:var(--i-menu)}
.ico--close{--ico:var(--i-close)}
.ico--chev{--ico:var(--i-chev)}
.ico--book{--ico:var(--i-book)}
.ico--layers{--ico:var(--i-layers)}
.ico--route{--ico:var(--i-route)}
.ico--refresh{--ico:var(--i-refresh)}
.ico--dash{--ico:var(--i-dash)}
.ico--tool{--ico:var(--i-tool)}
.ico--sheet{--ico:var(--i-sheet)}
.ico--user{--ico:var(--i-user)}

/* ---------- 1. tokens ---------- */
:root {
  color-scheme: light;
  --dust: #F3F6F5; --dust-2: #E6EDEB; --dust-3: #D2DFDC; --white: #fff;
  --depth: #123B4A; --depth-2: #0C2B37; --depth-3: #1D5266;
  --steel: #4C8793; --steel-ink: #2B6270; --steel-soft: #DEEBED; --steel-mid: #B4CFD4;
  --amber: #F6B81C; --amber-hi: #FFCB45; --amber-deep: #B27800; --amber-soft: #FDF0CC; --amber-ink: #6A4800;
  --ok: #2E7D6B; --ok-ink: #1F5E4F; --ok-soft: #DDF0EA;
  --ink: #123B4A; --muted: #4B6470; --faint: #7D949C;
  --line: rgba(18, 59, 74, .14); --line-2: rgba(18, 59, 74, .08);
  --r: 16px; --r-s: 10px; --r-l: 24px;
  --sh-1: 0 1px 2px rgba(18, 59, 74, .06), 0 14px 34px -18px rgba(18, 59, 74, .26);
  --sh-2: 0 2px 4px rgba(18, 59, 74, .06), 0 30px 64px -26px rgba(18, 59, 74, .36);
  --font-display: "Merriweather", Georgia, Cambria, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px; --gut: clamp(16px, 4.4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--dust); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
li { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--depth); outline-offset: 3px; border-radius: 6px; }
.on-depth :focus-visible, .foot :focus-visible { outline-color: var(--amber); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--amber); color: var(--depth); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.mt-xs { margin-top: 8px; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 28px; }

h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(1.95rem, 1.1rem + 2.9vw, 3.05rem); line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 1.05rem + 1.9vw, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 650; }
.lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); line-height: 1.65; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.note { font-size: 13px; line-height: 1.55; color: var(--muted); }
.demo-tag { display: inline-block; font: 700 10.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; background: var(--amber-soft); color: var(--amber-ink); padding: 4px 7px; border-radius: 6px; vertical-align: 2px; }

/* ---------- 3. layout ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sec { position: relative; padding-block: clamp(56px, 8vw, 112px); }
.sec--white { background: var(--white); }
.sec + .sec { border-top: 1px solid var(--line-2); }
.sec + .sec::before { content: ""; position: absolute; top: -2px; left: max(var(--gut), (100% - var(--wrap)) / 2); width: 64px; height: 3px; border-radius: 0 0 3px 3px; background: var(--amber); }
.sec[id], .hero[id] { scroll-margin-top: 70px; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); max-width: 780px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--steel-ink); }
.eyebrow__n { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 7px; border-radius: 7px; background: var(--amber); color: var(--depth); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.eyebrow--plain::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--amber); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* ---------- 4. atoms ---------- */
.ico { display: inline-block; flex: none; width: 1.25em; height: 1.25em; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1.1 var(--font-body); text-decoration: none; text-align: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn--amber { background: var(--amber); color: var(--depth); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 18px -8px rgba(178, 120, 0, .7); }
.btn--amber:hover { background: var(--amber-hi); }
.btn--ghost { background: transparent; border-color: var(--depth); color: var(--depth); }
.btn--ghost:hover { background: var(--depth); color: #fff; }
.btn--depth { background: var(--depth); color: #fff; }
.btn--depth:hover { background: var(--depth-3); }
.btn--light { background: #fff; border-color: var(--line); color: var(--depth); }
.btn--light:hover { border-color: var(--depth); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.linklike { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font-weight: 600; color: var(--depth); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; cursor: pointer; }

.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 11px; border-radius: 999px; background: var(--dust); border: 1px solid var(--line); font: 500 12.5px/1 var(--font-body); color: var(--depth); }
.chip--on { background: var(--steel-soft); border-color: var(--steel-mid); }

/* status chips: shape + words, never colour alone */
.st { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 11px 0 9px; border-radius: 999px; border: 1px solid transparent; font: 600 12.5px/1 var(--font-body); white-space: nowrap; }
.st::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.st--ok { --ico: var(--i-check); background: var(--ok-soft); color: var(--ok-ink); }
.st--work { --ico: var(--i-clock); background: var(--steel-soft); color: #214F5B; }
.st--wait { --ico: var(--i-chat); background: var(--amber-soft); color: var(--amber-ink); border-color: var(--amber); }
.st--check { --ico: var(--i-eye); background: #fff; color: var(--depth); border-color: var(--depth); }
.st--idle { --ico: var(--i-dash); background: var(--dust-2); color: var(--muted); }

/* owner: who holds the layer */
.owner { display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px/1 var(--font-body); color: var(--depth); white-space: nowrap; }
.owner i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--depth); color: #fff; font: 700 11px/1 var(--font-body); font-style: normal; }
.owner--client i { background: var(--amber); color: var(--depth); }
.owner--spec i { background: var(--steel-ink); }

.mk { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; }
.cell { display: flex; gap: 10px; align-items: flex-start; }
.mk::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.mk--yes { --ico: var(--i-check); background: var(--ok-soft); color: var(--ok-ink); }
.mk--ext { --ico: var(--i-plus); background: var(--amber-soft); color: var(--amber-ink); }

/* layered sheet: the signature "stack" device */
.stack { position: relative; isolation: isolate; margin: 0 22px 22px 0; }
.stack::before, .stack::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-l); border: 1px solid var(--line); background: #fff; transition: transform .7s var(--ease); }
.stack::before { transform: translate(11px, 11px); opacity: .85; }
.stack::after { transform: translate(22px, 22px); background: var(--steel-soft); opacity: .7; }
.stack--sm { margin: 0 14px 14px 0; }
.stack--sm::before { transform: translate(7px, 7px); }
.stack--sm::after { transform: translate(14px, 14px); }

/* ---------- 5. header, rail ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(243, 246, 245, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.hdr.is-stuck { background: rgba(255, 255, 255, .92); border-color: var(--line); }
.hdr__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.hdr__bar i { display: block; height: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hdr__in { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__txt { display: grid; line-height: 1.1; }
.brand__txt b { font: 700 19px/1.1 var(--font-display); letter-spacing: -.01em; }
.brand__txt small { margin-top: 3px; font: 600 10.5px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; text-decoration: none; font: 500 15px/1 var(--font-body); color: var(--depth); transition: background .2s; }
.nav a:hover { background: var(--dust-2); }
.nav a[aria-current="page"] { background: var(--depth); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; margin-left: auto; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico--close { display: none; }
.hdr.is-open .nav-toggle .ico--menu { display: none; }
.hdr.is-open .nav-toggle .ico--close { display: inline-block; }

.rail { position: fixed; left: 14px; top: 50%; z-index: 40; transform: translateY(-50%); display: none; }
.rail ol { display: grid; gap: 2px; }
.rail a { display: flex; align-items: center; gap: 8px; min-height: 28px; text-decoration: none; font: 700 10.5px/1 var(--font-body); letter-spacing: .04em; color: var(--faint); font-variant-numeric: tabular-nums; }
.rail a::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--dust-3); transition: width .3s var(--ease), background .3s; }
.rail a span { position: absolute; left: 40px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); white-space: nowrap; background: var(--depth); color: #fff; padding: 6px 10px; border-radius: 8px; font: 600 12px/1 var(--font-body); letter-spacing: 0; pointer-events: none; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: none; }
.rail a.is-on { color: var(--depth); }
.rail a.is-on::before { width: 20px; background: var(--amber); }
@media (min-width: 1400px) { .rail { display: block; } }

/* ---------- 6. hero: hub-and-spoke map, status panel ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(28px, 3.4vw, 48px) clamp(44px, 5.5vw, 84px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(44% 38% at 50% 64%, rgba(246, 184, 28, .16), transparent 72%), radial-gradient(46% 56% at 100% 0%, rgba(76, 135, 147, .15), transparent 66%), radial-gradient(46% 56% at 0% 100%, rgba(76, 135, 147, .15), transparent 66%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, var(--line-2) 1px, transparent 1px), linear-gradient(to bottom, var(--line-2) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 82%); mask-image: linear-gradient(180deg, #000 0, transparent 82%); }
.hub { display: grid; justify-items: center; gap: clamp(22px, 2.6vw, 34px); }
.hub__head { display: grid; justify-items: center; gap: clamp(14px, 1.5vw, 18px); max-width: 940px; text-align: center; }
.hub__head h1 { max-width: 28ch; }
.hub__head .lead { max-width: 60rem; font-size: clamp(1rem, .96rem + .22vw, 1.1rem); line-height: 1.6; text-wrap: pretty; }
.hub__head .eyebrow--plain::after { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--amber); }
.hl { padding: 0 .08em; margin: 0 -.08em; background: linear-gradient(transparent 64%, var(--amber) 64%, var(--amber) 93%, transparent 93%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.pts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; }
.hub .pts { max-width: 1040px; }
.pts li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.pts__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--steel-soft); color: var(--steel-ink); }
.pts__ic .ico { width: 16px; height: 16px; }
.pts b { color: var(--depth); font-weight: 600; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-2); overflow: hidden; }
.panel__hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 14px; }
.panel__k { font: 600 11.5px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-ink); }
.panel__t { margin-top: 8px; font: 700 clamp(1rem, .95rem + .3vw, 1.15rem)/1.3 var(--font-display); letter-spacing: -.005em; }
.panel__date { flex: none; font: 600 12px/1 var(--font-body); padding: 7px 10px; border-radius: 8px; background: var(--dust); color: var(--muted); font-variant-numeric: tabular-nums; }
.panel__sum { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0 22px 16px; font: 500 12.5px/1.2 var(--font-body); color: var(--muted); }
.panel__sum li { display: inline-flex; align-items: center; gap: 6px; }
.panel__sum b { font: 700 14px/1 var(--font-body); color: var(--depth); font-variant-numeric: tabular-nums; }
.panel__sum i { width: 9px; height: 9px; border-radius: 3px; background: var(--c, var(--dust-3)); }
.panel__sum .c-ok { --c: var(--ok); }
.panel__sum .c-work { --c: var(--steel); }
.panel__sum .c-wait { --c: var(--amber); }
.panel__sum .c-check { --c: var(--depth); }
.panel__rows { border-top: 1px solid var(--line); }
.panel__ft { padding: 14px 22px 16px; background: var(--dust); border-top: 1px solid var(--line-2); font-size: 12.5px; line-height: 1.5; color: var(--muted); }

.prow { position: relative; border-bottom: 1px solid var(--line-2); }
.prow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--stripe, var(--dust-3)); }
.prow[data-state="ok"] { --stripe: var(--ok); }
.prow[data-state="work"] { --stripe: var(--steel); }
.prow[data-state="wait"] { --stripe: var(--amber); }
.prow[data-state="check"] { --stripe: var(--depth); }
.prow summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 20px; gap: 12px; align-items: center; min-height: 62px; padding: 10px 18px 10px 24px; cursor: pointer; list-style: none; transition: background .2s; }
.prow summary::-webkit-details-marker { display: none; }
.prow summary:hover { background: var(--dust); }
.prow__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--dust); color: var(--depth); }
.prow__n b { display: block; font: 650 15px/1.25 var(--font-body); }
.prow__n small { display: block; margin-top: 1px; font: 400 12.5px/1.35 var(--font-body); color: var(--muted); }
.prow__chev { color: var(--faint); transition: transform .25s var(--ease); }
.prow[open] .prow__chev { transform: rotate(180deg); }
.prow[open] { background: linear-gradient(90deg, rgba(246, 184, 28, .07), transparent 60%); }
.prow__body { display: grid; gap: 12px; padding: 2px 22px 18px 76px; animation: reveal .45s var(--ease); }
.prow__body dl { display: grid; gap: 10px; }
.prow dt { font: 600 11px/1 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--steel-ink); margin-bottom: 4px; }
.prow dd { font-size: 14px; line-height: 1.5; }

/* ---------- 6b. hero map: 1С in the middle, six systems around it; «Контрольный слой» helpers ---------- */
@property --hc { syntax: "<integer>"; inherits: false; initial-value: 6; }
.hubfig { display: grid; justify-items: center; gap: clamp(16px, 2vw, 24px); width: 100%; margin: 0; }
.hubfig__stage { --t0: 1s; --st: .75s; --hn-h: 78px; --cg: 28px; position: relative; width: min(100%, 1040px); aspect-ratio: 1040 / 380; }
.hubfig__tag { position: absolute; z-index: 3; top: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.hubfig__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hubfig__ring { fill: none; stroke: var(--steel-mid); stroke-width: 1.25; stroke-dasharray: 3 9; opacity: .75; }
.hubfig__ring--o { opacity: .4; }
.sp path { fill: none; stroke-linecap: round; }
.sp .sp__base { stroke: rgba(18, 59, 74, .24); stroke-width: 1.5; stroke-dasharray: 2 7; }
.sp .sp__on { stroke: var(--steel-ink); stroke-width: 2.5; stroke-linecap: butt; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.sp .sp__flow { stroke: var(--amber); stroke-width: 5; stroke-dasharray: .1 16; }
.hubfig__spine { display: none; }

.hubfig__hub { position: absolute; left: 50%; top: 50%; z-index: 3; width: 124px; height: 124px; transform: translate(-50%, -50%); }
.hubfig__core { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(160deg, var(--depth-3), var(--depth) 55%, var(--depth-2)); box-shadow: 0 28px 54px -24px rgba(18, 59, 74, .65); }
.hubfig__core::before, .hubfig__core::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; pointer-events: none; }
.hubfig__core::before { border: 1.5px solid var(--steel-mid); }
.hubfig__core::after { border: 2px solid var(--amber); opacity: 0; }
.hubfig__core b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; color: var(--depth); font: 900 28px/1 var(--font-display); letter-spacing: -.03em; box-shadow: 0 0 0 4px var(--amber); }
.hubfig__lbl { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); display: grid; gap: 3px; justify-items: center; width: max-content; padding: 9px 18px 10px; border-radius: 16px; background: var(--depth); color: #fff; text-align: center; box-shadow: var(--sh-1); }
.hubfig__lbl b { font: 650 14px/1.2 var(--font-body); }
.hubfig__lbl > span { font: 500 12px/1.3 var(--font-body); color: #C6D9DE; }
.hubfig__lbl .hubfig__n { display: inline-block; min-width: .7em; color: var(--amber); font-weight: 700; font-variant-numeric: tabular-nums; }

.hubfig__nodes { position: absolute; inset: 0; z-index: 2; margin: 0; }
.hn { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; width: 216px; padding: 11px 14px 11px 12px; background: #fff; border: 1.5px solid var(--steel-mid); border-radius: 18px; box-shadow: var(--sh-1); }
.hn__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--depth); color: #fff; }
.hn__ic .ico { width: 20px; height: 20px; }
.hn__tx { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.hn b { font: 650 15px/1.2 var(--font-body); }
.hn__ln { display: none; }

.hubfig__cap { display: grid; justify-items: center; gap: 12px; width: min(100%, 780px); text-align: center; }
.slip { display: grid; gap: 6px; justify-items: center; width: 100%; padding: 16px clamp(16px, 3vw, 28px) 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-1); }
.slip__k { font: 600 11.5px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-ink); }
.slip__t { font: 700 clamp(1rem, .95rem + .3vw, 1.15rem)/1.3 var(--font-display); letter-spacing: -.005em; text-wrap: balance; }
.slip__d { max-width: 62ch; font-size: 14px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.slip__d b { color: var(--depth); font-weight: 650; }
.slip__dk { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 7px; background: var(--depth); color: #fff; font: 700 12px/1 var(--font-body); vertical-align: 1px; }
.hubfig__note { max-width: 66ch; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* narrow: the map stands up: 1С on top, a trunk line, two columns of systems hanging off it */
@media (max-width: 1080px) {
  .hubfig__stage { display: flex; flex-direction: column; align-items: center; width: min(100%, 520px); aspect-ratio: auto; padding-top: 34px; }
  .hubfig__lines { display: none; }
  .hubfig__hub { position: relative; left: auto; top: auto; z-index: 3; display: grid; justify-items: center; gap: 18px; width: auto; height: auto; transform: none; }
  .hubfig__core { width: 116px; height: 116px; }
  .hubfig__lbl { position: static; transform: none; }
  .hubfig__spine { display: block; position: absolute; z-index: 1; left: calc(50% - 1px); top: calc(34px + 58px); bottom: calc(var(--hn-h) / 2); width: 2px; background: repeating-linear-gradient(to bottom, var(--steel-mid) 0 4px, transparent 4px 8px); }
  .hubfig__spine::after { content: ""; position: absolute; inset: 0; background: var(--steel-ink); transform-origin: 50% 0; }
  .hubfig__nodes { position: relative; inset: auto; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: var(--hn-h); gap: 14px var(--cg); width: 100%; margin-top: 26px; }
  .hn { position: relative; left: auto; top: auto; transform: none; width: auto; height: var(--hn-h); padding-block: 0; }
  .hn__ln { display: block; position: absolute; top: calc(50% - 1px); width: calc(var(--cg) / 2); height: 2px; background: var(--steel-mid); }
  .hn:nth-child(odd) .hn__ln { left: calc(100% + 1.5px); }
  .hn:nth-child(even) .hn__ln { right: calc(100% + 1.5px); }
  .hn__ln::after { content: ""; position: absolute; inset: 0; background: var(--steel-ink); }
  .hn:nth-child(odd) .hn__ln::after { transform-origin: 100% 50%; }
  .hn:nth-child(even) .hn__ln::after { transform-origin: 0 50%; }
}
@media (max-width: 560px) {
  .hubfig__stage { --hn-h: 82px; --cg: 24px; }
  .hn { grid-template-columns: 28px minmax(0, 1fr); gap: 6px 8px; align-content: center; padding-inline: 10px; border-radius: 16px; }
  .hn__tx { display: contents; }
  .hn__ic { grid-area: 1 / 1; width: 28px; height: 28px; border-radius: 9px; }
  .hn__ic .ico { width: 16px; height: 16px; }
  .hn b { grid-area: 1 / 2; font-size: 13.5px; }
  .hn .st { grid-area: 2 / 1 / 3 / 3; justify-self: start; }
  .hub__head .eyebrow--plain { flex-direction: column; gap: 10px; line-height: 1.35; text-align: center; }
  .hub__head .eyebrow--plain::after { display: none; }
}
@media (max-width: 380px) {
  .hn { grid-template-columns: 24px minmax(0, 1fr); gap: 6px; padding-inline: 9px; }
  .hn__ic { width: 24px; height: 24px; border-radius: 8px; }
  .hn__ic .ico { width: 14px; height: 14px; }
  .hn b { min-width: 0; font-size: 12.5px; overflow-wrap: anywhere; }
}
@media (max-width: 340px) {
  .hn__ic { display: none; }
  .hn b { grid-area: 1 / 1 / 2 / 3; }
}

/* ---------- 6c. section «Контрольный слой» ---------- */
.pnl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.pnl__copy { display: grid; gap: 22px; min-width: 0; }
.pnl .sec-head { margin-bottom: 0; }
.pstack { margin: 0 22px 22px 0; }
.tri { display: grid; gap: 14px; }
.tri li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
.tri__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); font: 700 17px/1 var(--font-display); color: var(--amber-deep); }
.tri h3 { font: 650 16.5px/1.3 var(--font-body); }
.tri p { margin-top: 3px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 980px) { .pnl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .pstack { margin: 0 14px 14px 0; }
}
/* ---------- 7. integrations strip ---------- */
.strip { background: #fff; border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden; }
.strip__row { --ml-gap: 1.3rem; gap: 1.3rem; font: 600 14px/1 var(--font-body); letter-spacing: .02em; color: var(--depth); }
.strip__row span { display: inline-flex; align-items: center; gap: 1.3rem; white-space: nowrap; }
.strip__row span::after { content: ""; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }

/* ---------- 8. «Карта учётных систем» (signature) ---------- */
.kmap { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 3.2vw, 40px); box-shadow: var(--sh-1); }
.kmap__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-bottom: clamp(20px, 3vw, 36px); padding-bottom: clamp(18px, 2.4vw, 28px); border-bottom: 1px dashed var(--line); }
.field-inline { display: inline-flex; align-items: center; gap: 12px; font: 600 14.5px/1.3 var(--font-body); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--dust); }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--depth); }
.stepper button:hover { background: var(--dust-2); }
.stepper input { width: 46px; min-height: 44px; padding: 0; border: 0; background: transparent; text-align: center; font: 700 17px/1 var(--font-body); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font: 500 14.5px/1.35 var(--font-body); }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.switch__ui { position: relative; flex: none; width: 48px; height: 28px; border-radius: 999px; background: var(--dust-3); transition: background .25s; }
.switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(18, 59, 74, .35); transition: transform .3s var(--ease); }
.switch input:checked + .switch__ui { background: var(--depth); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); background: var(--amber); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--depth); outline-offset: 3px; }
.kmap__cnt { margin-left: auto; font: 600 14px/1 var(--font-body); color: var(--muted); }
.kmap__cnt b { color: var(--depth); font-variant-numeric: tabular-nums; }

.kmap__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 224px) minmax(0, 1fr); column-gap: clamp(64px, 9vw, 130px); align-items: center; isolation: isolate; }
.kmap__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.kmap__col { display: grid; gap: 12px; align-content: center; min-width: 0; }
.kmap__col > .kmap__cap { margin-bottom: 2px; }
.kmap__cap { font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-ink); }
.kmap__arrow { display: none; }

.ksrc { position: relative; z-index: 1; }
.ksrc__in { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ksrc__lb { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; align-items: center; gap: 12px; min-height: 68px; padding: 10px 14px 10px 12px; background: var(--dust); border: 1.5px solid var(--line); border-radius: 16px; transition: background .25s, border-color .25s, box-shadow .25s; }
.ksrc:hover .ksrc__lb { border-color: var(--steel); }
.ksrc__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--steel-ink); transition: background .25s, color .25s, border-color .25s; }
.ksrc__ic .ico { width: 22px; height: 22px; }
.ksrc__tx b { display: block; font: 650 15px/1.2 var(--font-body); }
.ksrc__tx small { display: block; margin-top: 2px; font: 400 12.5px/1.35 var(--font-body); color: var(--muted); }
.ksrc__ck { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--steel-mid); background: #fff; color: transparent; transition: background .25s, border-color .25s, color .25s; }
.ksrc__ck::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.ksrc__in:checked + .ksrc__lb { background: var(--steel-soft); border-color: var(--depth); box-shadow: 0 12px 26px -16px rgba(18, 59, 74, .55); }
.ksrc__in:checked + .ksrc__lb .ksrc__ic { background: var(--depth); border-color: var(--depth); color: #fff; }
.ksrc__in:checked + .ksrc__lb .ksrc__ck { background: var(--amber); border-color: var(--amber); color: var(--depth); }
.ksrc__in:focus-visible + .ksrc__lb { outline: 3px solid var(--depth); outline-offset: 3px; }

.klay { position: relative; z-index: 1; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 62px; padding: 9px 14px 9px 12px; background: #fff; border: 1.5px dashed var(--steel-mid); border-radius: 16px; transition: background .35s, border-color .35s; }
.klay__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--dust); color: var(--faint); transition: background .35s, color .35s; }
.klay__tx b { display: block; font: 650 14.5px/1.2 var(--font-body); }
.klay__tx small { display: block; margin-top: 2px; font: 400 12.5px/1.35 var(--font-body); color: var(--muted); }
.klay.is-fed { border-style: solid; border-color: var(--amber); background: var(--amber-soft); }
.klay.is-fed .klay__ic { background: var(--amber); color: var(--depth); }

.khub { display: grid; justify-items: center; }
.khub__card { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: center; width: 100%; padding: 26px 18px 20px; border-radius: 26px; text-align: center; color: #fff; background: linear-gradient(160deg, var(--depth-3), var(--depth) 55%, var(--depth-2)); box-shadow: 0 28px 54px -24px rgba(18, 59, 74, .65); }
.khub__card::before, .khub__card::after { content: ""; position: absolute; z-index: -1; border-radius: 32px; }
.khub__card::before { inset: -8px; border: 1.5px solid var(--steel-mid); }
.khub__card::after { inset: -16px; border: 1.5px dashed var(--line); border-radius: 38px; }
.khub__logo { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 24px; background: #fff; color: var(--depth); font: 900 34px/1 var(--font-display); letter-spacing: -.03em; box-shadow: 0 0 0 5px var(--amber); }
.khub b { font: 650 15px/1.25 var(--font-body); }
.khub small { font: 400 12.5px/1.45 var(--font-body); color: #C6D9DE; }
.khub__badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .13); font: 600 13px/1 var(--font-body); }
.khub__badge b { color: var(--amber); font-variant-numeric: tabular-nums; font-size: 14px; }
.khub.is-pulse .khub__logo { animation: pulse .9s var(--ease); }

.kl { fill: none; stroke-linecap: round; }
.kl--base { stroke: rgba(18, 59, 74, .22); stroke-width: 1.5; stroke-dasharray: 2 7; }
.kl--on { stroke: var(--depth); stroke-width: 2.25; opacity: 0; transition: stroke-dashoffset .8s var(--ease), opacity .25s; }
.kl--on.is-on { opacity: 1; stroke-dashoffset: 0 !important; }
.kl--flow { stroke: var(--amber); stroke-width: 5; stroke-dasharray: .1 15.9; opacity: 0; transition: opacity .4s .5s; }
.kl--flow.is-on { opacity: 1; animation: kflow 1.1s linear infinite; }

.kout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(24px, 3.5vw, 44px); align-items: start; }
.kout__det { display: grid; gap: 14px; }
.kout__h { font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-ink); }
.kdet { display: grid; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--dust); }
.kdet header { display: flex; align-items: center; gap: 12px; }
.kdet header .ico { width: 24px; height: 24px; color: var(--steel-ink); }
.kdet h4 { font: 650 16px/1.25 var(--font-body); }
.kdet__h { margin-left: auto; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 12.5px/1 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kdet dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.kdet dt { margin-bottom: 4px; font: 600 11px/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--steel-ink); }
.kdet dd { font-size: 14px; line-height: 1.5; }
.kdet.is-new { animation: reveal .5s var(--ease); }
.kout__empty { padding: 22px; border: 1.5px dashed var(--steel-mid); border-radius: 18px; color: var(--muted); }

.est { position: sticky; top: 92px; display: grid; gap: 14px; padding: 24px; border: 1.5px solid var(--amber); border-radius: 22px; background: var(--amber-soft); }
.est__k { font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-ink); }
.est .est__big { font: 700 clamp(2rem, 1.4rem + 1.6vw, 2.6rem)/1.05 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--depth); }
.est .est__big small { font: 500 15px/1.3 var(--font-body); letter-spacing: 0; color: var(--amber-ink); }
.est .est__price { font-size: 16px; line-height: 1.45; color: var(--depth); }
.est .est__price b { font: 700 24px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.est__in { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .7); font-size: 13.5px; line-height: 1.4; }
.est__in div { display: flex; justify-content: space-between; gap: 10px; }
.est__in dt { color: var(--muted); }
.est__in dd { font-weight: 600; text-align: right; }
.est .est__note { font-size: 13px; line-height: 1.55; color: #4a4020; }
.est .est__note b { color: var(--depth); }
.est .est__tag { padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--amber); font-size: 13px; line-height: 1.5; font-weight: 600; color: var(--depth); }
.est .est__legal { font-size: 12.5px; line-height: 1.55; color: #5a4a1c; }
.est__act { display: grid; gap: 10px; }

/* ---------- 9. steps ---------- */
.steps-wrap { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps-fig { position: sticky; top: 96px; }
.steps-fig img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-l); }
.steps-fig figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); font-size: 13.5px; line-height: 1.45; box-shadow: var(--sh-1); }
.steps-fig figcaption b { display: block; font-weight: 650; }
.steps { display: grid; gap: 0; }
.step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding-bottom: 38px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: var(--dust-3); transition: background .5s; }
.step:last-child::before { display: none; }
.step__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: 700 18px/1 var(--font-display); color: var(--steel-ink); transition: background .35s, color .35s, border-color .35s, box-shadow .35s; }
.step.is-done .step__n { background: var(--depth); border-color: var(--depth); color: #fff; }
.step.is-done::before { background: var(--depth); }
.step.is-active .step__n { background: var(--amber); border-color: var(--amber); color: var(--depth); box-shadow: 0 0 0 6px rgba(246, 184, 28, .24); }
.step h3 { font: 700 clamp(1.1rem, 1.02rem + .4vw, 1.3rem)/1.25 var(--font-display); letter-spacing: -.005em; padding-top: 10px; }
.step__b > p { margin-top: 8px; color: var(--muted); }
.step__meta { display: grid; gap: 6px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--dust); font-size: 14px; line-height: 1.5; }
.step__meta b { font-weight: 650; color: var(--steel-ink); }

/* ---------- 10. responsibility ---------- */
.resp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.resp__list { display: grid; gap: 12px; }
.rrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s; }
.rrow:hover { border-color: var(--steel); box-shadow: var(--sh-1); }
.rrow__n { font: 700 22px/1.2 var(--font-display); color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.rrow h3 { font: 650 16.5px/1.3 var(--font-body); }
.rrow p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.journal { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1); }
.journal__hd { padding: 20px 22px 14px; }
.journal__t { margin-top: 8px; font: 700 1.1rem/1.3 var(--font-display); }
.jrow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; padding: 14px 22px; border-top: 1px solid var(--line-2); }
.jrow__id { align-self: start; padding: 3px 8px; border-radius: 7px; background: var(--steel-soft); color: var(--steel-ink); font: 600 12.5px/1.3 var(--font-body); font-variant-numeric: tabular-nums; }
.jrow__t { font-size: 14.5px; line-height: 1.4; font-weight: 500; }
.jrow__m { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.journal__ft { padding: 14px 22px 18px; border-top: 1px solid var(--line-2); background: var(--dust); border-radius: 0 0 var(--r-l) var(--r-l); font-size: 13px; line-height: 1.5; color: var(--muted); }

.scope-wrap { margin-top: clamp(44px, 6vw, 80px); }
.scope-wrap .sub { margin-bottom: 8px; font: 700 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.25 var(--font-display); }
.scope-wrap .lead { margin-bottom: 24px; font-size: 1rem; }
.scope { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.scope th, .scope td { padding: 16px 20px; text-align: left; vertical-align: top; font-size: 15px; line-height: 1.5; border-top: 1px solid var(--line-2); }
.scope thead th { border-top: 0; border-bottom: 2px solid var(--amber); background: var(--steel-soft); font: 600 12.5px/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--depth); }
.scope tbody th { width: 26%; font-weight: 650; }
.scope td { color: var(--muted); }
.scope td:nth-child(2) { width: 37%; }

/* ---------- 11. team ---------- */
.team { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tfig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.tfig__a, .tfig__b { position: absolute; display: grid; gap: 6px; max-width: 250px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: var(--sh-2); font-size: 13px; line-height: 1.4; }
.tfig__a { left: 14px; top: 14px; }
.tfig__b { right: 14px; bottom: 14px; }
.tfig__a b, .tfig__b b { font-weight: 650; font-size: 13.5px; }
.tfig__a small, .tfig__b small { color: var(--muted); }
.tfig__a .st, .tfig__b .st { justify-self: start; }
.people { display: grid; gap: 12px; margin-top: 26px; }
.person { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--dust); }
.avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--depth); color: #fff; font: 700 19px/1 var(--font-display); }
.avatar--steel { background: var(--steel-ink); }
.avatar--amber { background: var(--amber); color: var(--depth); }
.person b { display: block; font: 650 16px/1.25 var(--font-body); }
.person .role { display: block; margin-top: 2px; font: 600 12px/1.3 var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: var(--steel-ink); }
.person p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 5vw, 56px); }
.cred { display: grid; gap: 8px; align-content: start; padding: 16px; border: 1.5px dashed var(--steel-mid); border-radius: 16px; background: #fff; font-size: 14px; line-height: 1.45; }
.cred .ico { width: 24px; height: 24px; color: var(--steel-ink); }
.cred b { font-weight: 650; }
.cred span.v { color: var(--muted); }

/* ---------- 12. cases ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case { display: grid; gap: 16px; align-content: start; padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; transition: box-shadow .3s, border-color .3s; }
.case:hover { border-color: var(--steel); box-shadow: var(--sh-1); }
.case__tag { justify-self: start; padding: 6px 10px; border: 1px dashed var(--amber-deep); border-radius: 8px; background: var(--amber-soft); color: var(--amber-ink); font: 600 11.5px/1.2 var(--font-body); letter-spacing: .05em; text-transform: uppercase; }
.case h3 { font: 700 19px/1.3 var(--font-display); letter-spacing: -.005em; }
.flow { display: grid; gap: 8px; }
.flow__s { padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.flow__s b { display: block; margin-bottom: 3px; font: 600 11px/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; }
.flow__s--was { background: var(--dust-2); color: var(--muted); }
.flow__s--now { background: var(--steel-soft); }
.flow__s--now b { color: var(--steel-ink); }
.flow__ar { justify-self: center; display: grid; place-items: center; width: 28px; height: 28px; margin-block: -2px; border-radius: 50%; background: var(--amber); color: var(--depth); }
.flow__ar .ico { width: 15px; height: 15px; transform: rotate(90deg); }
.case__chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* filter bar (cases, systems): <div data-filter-group><div class="fbar"><button class="fbtn" data-filter="all" aria-pressed="true">Все</button>...</div> ... <article data-filter-item data-tags="bank mkt"> */
.fbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.fbtn { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 14px/1 var(--font-body); color: var(--depth); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.fbtn:hover { border-color: var(--depth); }
.fbtn[aria-pressed="true"] { background: var(--depth); border-color: var(--depth); color: #fff; }
[data-filter-item][hidden] { display: none !important; }

/* ---------- 13. prices (ledger) ---------- */
.pr { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.lrow { padding: 24px 0; border-bottom: 1px solid var(--line); }
.lrow:first-child { padding-top: 0; }
.lrow__top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.lrow__name { font: 700 clamp(1.1rem, 1rem + .5vw, 1.35rem)/1.2 var(--font-display); }
.lrow__dots { flex: 1; min-width: 24px; border-bottom: 2px dotted rgba(18, 59, 74, .3); transform: translateY(-5px); }
.lrow__sum { font: 700 clamp(1.2rem, 1rem + .9vw, 1.7rem)/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lrow__sum small { font: 500 .56em/1 var(--font-body); color: var(--muted); }
.lrow p { margin-top: 8px; max-width: 56ch; color: var(--muted); }
.drivers { display: grid; gap: 16px; padding: 26px; border: 1px solid var(--steel-mid); border-radius: var(--r-l); background: var(--steel-soft); }
.drivers h3 { font: 700 1.2rem/1.3 var(--font-display); }
.drivers li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.5; }
.drivers li .ico { width: 22px; height: 22px; color: var(--steel-ink); }
.drivers ul { display: grid; gap: 12px; }
.legal { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; }

/* ---------- 14. FAQ ---------- */
.faqw { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 0; cursor: pointer; list-style: none; font: 650 17px/1.35 var(--font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 24px; height: 24px; background: var(--steel-ink); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 40px 22px 0; color: var(--muted); animation: reveal .45s var(--ease); }
.callout { display: grid; gap: 14px; padding: 28px; border: 1px solid var(--steel-mid); border-radius: var(--r-l); background: var(--steel-soft); }
.callout__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--steel-ink); }
.callout__ic .ico { width: 22px; height: 22px; }
.callout h3 { font: 700 1.25rem/1.3 var(--font-display); }
.callout ul { display: grid; gap: 10px; }
.callout li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.5; }
.callout li .ico { width: 22px; height: 22px; color: var(--ok-ink); }
.callout--no li .ico { color: var(--amber-deep); }

/* ---------- 15. form + contacts ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-2); }
.form__t { font: 700 clamp(1.3rem, 1.1rem + .8vw, 1.7rem)/1.25 var(--font-display); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font: 600 14px/1.3 var(--font-body); }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--steel-mid); border-radius: 12px; background: var(--dust); font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123B4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--depth); background-color: #fff; box-shadow: 0 0 0 4px rgba(246, 184, 28, .4); }
.field input:user-invalid { border-color: var(--amber-deep); }
.hint { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--amber); border-radius: 12px; background: var(--amber-soft); color: var(--amber-ink); font: 500 14px/1.45 var(--font-body); }
.hint .ico { margin-top: 1px; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--depth); cursor: pointer; }
.check a { color: var(--depth); font-weight: 600; text-underline-offset: 3px; }
.form__note { font-size: 13px; line-height: 1.55; color: var(--muted); }

.info { display: grid; gap: 18px; }
.info__card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); }
.info__map { background: var(--dust-2); }
.info__body { display: grid; gap: 16px; padding: 22px; }
.irow { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; }
.irow .ico { margin-top: 2px; color: var(--steel-ink); }
.irow small { display: block; color: var(--muted); font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--dust); font: 600 13px/1.2 var(--font-body); }
.badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.badge.is-open { background: var(--ok-soft); color: var(--ok-ink); border-color: transparent; }
.badge.is-open .badge__dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(46, 125, 107, .2); }
.badge.is-closed { background: var(--amber-soft); color: var(--amber-ink); border-color: transparent; }
.badge.is-closed .badge__dot { background: var(--amber-deep); }
.chan { display: flex; flex-wrap: wrap; gap: 10px; }
.chan .btn { flex: 1 1 auto; }
.geo { display: block; width: 100%; height: auto; }
.g-bg { fill: var(--dust-2); }
.g-river { fill: none; stroke: #CBDFE4; stroke-width: 52; stroke-linecap: round; }
.g-river2 { fill: none; stroke: #DCEBEE; stroke-width: 44; stroke-linecap: round; }
.g-blk { fill: #fff; }
.g-blk2 { fill: var(--dust); }
.g-bridge { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; }
.g-park { fill: var(--steel-soft); }
.g-st { fill: none; stroke: #fff; stroke-width: 11; stroke-linecap: round; }
.g-st2 { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.g-route { fill: none; stroke: var(--amber-deep); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.g-lab { font: 600 9.5px var(--font-body); fill: var(--muted); letter-spacing: .02em; }
.g-lab--r { font-style: italic; fill: var(--steel-ink); }
.g-lab--s { font-size: 9px; }
.g-pin { fill: var(--amber); stroke: var(--depth); stroke-width: 3; }
.g-pinbox { fill: var(--depth); }
.g-pintx { font: 600 10.5px var(--font-body); fill: #fff; }

/* ---------- 16. footer, mobile bar ---------- */
.foot { padding: clamp(40px, 5vw, 64px) 0 30px; background: var(--depth); color: #D4E3E7; }
.foot a { color: #fff; text-underline-offset: 3px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .brand__txt b { color: #fff; }
.foot .brand__txt small { color: #A9C1C8; }
.foot__about { margin-top: 14px; max-width: 42ch; font-size: 14px; line-height: 1.6; }
.foot h2 { margin-bottom: 12px; font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #A9C1C8; }
.foot ul { display: grid; gap: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 15px; text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.foot__legal { display: grid; gap: 6px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 13px; line-height: 1.55; color: #B3C8CE; }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; gap: 8px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mbar .btn { flex: 1 1 auto; min-height: 44px; padding: 0 10px; font-size: 14px; }
.mbar .btn--amber { flex: 1.5 1 auto; }
.mbar__tel { flex: 0 0 44px !important; width: 44px; padding: 0 !important; }

/* ---------- 17. document pages (privacy, consent) ---------- */
.doc { padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.doc__in { width: min(100% - 2 * var(--gut), 800px); margin-inline: auto; display: grid; gap: 18px; }
.doc h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.doc h2 { scroll-margin-top: 90px; margin-top: 18px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
.doc p, .doc li { line-height: 1.7; }
.doc ul { display: grid; gap: 8px; padding-left: 22px; }
.doc li { list-style: disc; }
.doc ul li::marker { color: var(--amber-deep); }
.doc a { color: var(--depth); font-weight: 600; text-underline-offset: 3px; }
.doc__demo { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--amber); border-radius: 14px; background: var(--amber-soft); color: var(--amber-ink); font-size: 14.5px; line-height: 1.55; }
.doc__meta { font-size: 14px; color: var(--muted); }
.doc__box { display: grid; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }

/* ---------- 18. motion ---------- */
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes sweep { from { background-size: 0% 100%; } }
@keyframes kflow { to { stroke-dashoffset: -16; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 5px var(--amber), 0 0 0 5px rgba(246, 184, 28, .55); } 100% { box-shadow: 0 0 0 5px var(--amber), 0 0 0 26px rgba(246, 184, 28, 0); } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes fadein { from { opacity: 0; } }
@keyframes sp-draw { from { stroke-dashoffset: 1; } }
@keyframes sp-flow { to { stroke-dashoffset: 16.1; } }
@keyframes hn-in { from { opacity: .55; border-color: var(--line); } }
@keyframes hn-pop { from { box-shadow: 0 0 0 0 rgba(246, 184, 28, .65), var(--sh-1); } to { box-shadow: 0 0 0 16px rgba(246, 184, 28, 0), var(--sh-1); } }
@keyframes hn-ic { from { background: var(--dust-2); color: var(--faint); } }
@keyframes hn-chip { from { opacity: 0; translate: 0 5px; } }
@keyframes hub-ping { 0% { transform: scale(.92); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes spine-draw { from { transform: scaleY(0); } }
@keyframes stub-draw { from { transform: scaleX(0); } }
@keyframes hcount { 0%, 25.8% { --hc: 0; } 25.9%, 39.2% { --hc: 1; } 39.3%, 52.6% { --hc: 2; } 52.7%, 66% { --hc: 3; } 66.1%, 79.4% { --hc: 4; } 79.5%, 92.8% { --hc: 5; } 92.9%, 100% { --hc: 6; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (prefers-reduced-motion: no-preference) {
  .js .hub__head > * { animation: rise .85s var(--ease) both; }
  .js .hub__head > :nth-child(2) { animation-delay: .08s; }
  .js .hub__head > :nth-child(3) { animation-delay: .18s; }
  .js .hub__head > :nth-child(4) { animation-delay: .28s; }
  .js .hl { animation: sweep 1.1s .7s var(--ease) both; }
  .js .hubfig__stage { animation: rise .9s .2s var(--ease) both; }
  .js .sp__on { animation: sp-draw .6s var(--ease) calc(var(--t0) + var(--i) * var(--st)) both; }
  .js .sp__flow { animation: fadein .5s ease calc(var(--t0) + var(--i) * var(--st) + .6s) both, sp-flow 1.1s linear calc(var(--t0) + var(--i) * var(--st) + .6s) infinite; }
  .js .hn { animation: hn-in .5s ease calc(var(--t0) + var(--i) * var(--st) + .4s) both, hn-pop .9s ease-out calc(var(--t0) + var(--i) * var(--st) + .45s) both; }
  .js .hn__ic { animation: hn-ic .5s ease calc(var(--t0) + var(--i) * var(--st) + .4s) both; }
  .js .hn .st { animation: hn-chip .5s var(--ease) calc(var(--t0) + var(--i) * var(--st) + .6s) both; }
  .js .hubfig__core::after { animation: hub-ping 3.4s ease-out var(--t0) infinite; }
  .js .hubfig__n { font-size: 0; counter-reset: hc var(--hc, 6); animation: hcount 5.6s linear both; }
  .js .hubfig__n::before { content: counter(hc); content: counter(hc) / ""; font-size: 12px; }
  .prow[data-state="wait"] summary .prow__ic { position: relative; }
  .prow[data-state="wait"] summary .prow__ic::after { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 2px #fff; }
  .prow[data-state="wait"] summary .prow__ic::before { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); animation: ping 1.8s ease-out infinite; }
  .tfig__a { animation: bob 6s ease-in-out infinite; }
  .tfig__b { animation: bob 7s -2s ease-in-out infinite; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 1080px) {
  .js .hubfig__spine::after { animation: spine-draw .8s var(--ease) .2s both; }
  .js .hn__ln::after { animation: stub-draw .35s var(--ease) calc(var(--t0) + var(--i) * var(--st) + .1s) both; }
}
@keyframes stk1 { from { transform: translate(0, 0); opacity: 0; } to { transform: translate(11px, 11px); opacity: .85; } }
@keyframes stk2 { from { transform: translate(0, 0); opacity: 0; } to { transform: translate(22px, 22px); opacity: .7; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .ml-marquee { flex-wrap: wrap; white-space: normal; row-gap: 12px; }
  .ml-marquee__track { flex-wrap: wrap; row-gap: 12px; animation: none; }
  .ml-marquee__track[aria-hidden="true"] { display: none; }
  .kl--flow.is-on { animation: none; }
  .kl--on { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- 19. responsive ---------- */
/* shared ribbon: hide its long note a bit earlier so the button never gets clipped */
@media (max-width: 900px) { .nx-ribbon__note { display: none; } }
@media (max-width: 1100px) {
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1120px) {
  .kmap__stage { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .kmap__lines { display: none; }
  .kmap__col { gap: 10px; }
  .kmap__col--src, .kmap__col--lay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kmap__col > .kmap__cap { grid-column: 1 / -1; }
  .khub { margin-block: 28px; }
  .khub__card { max-width: 340px; }
  .kmap__arrow { display: block; justify-self: center; width: 2px; height: 28px; margin-top: 18px; background: repeating-linear-gradient(to bottom, var(--steel) 0 4px, transparent 4px 9px); }
  .kmap__arrow--b { margin-block: 18px 0; }
  .kout { grid-template-columns: minmax(0, 1fr); }
  .est { position: static; }
}
@media (max-width: 980px) {
  .steps-wrap, .resp, .team, .pr, .faqw, .contact { grid-template-columns: minmax(0, 1fr); }
  .steps-fig { position: relative; top: 0; max-width: 520px; }
  .steps-fig img { aspect-ratio: 4 / 3; }
  .journal { position: static; }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .cases .case { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .js .nav { display: none; }
  .js .nav-toggle { display: grid; }
  .js .hdr.is-open .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px var(--gut) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(18, 59, 74, .4); }
  .js .hdr.is-open .nav a { min-height: 52px; font-size: 17px; border-radius: 14px; }
  .js .hdr__cta { display: none; }
  .nav { margin-left: 0; flex-basis: 100%; order: 5; overflow-x: auto; }
  .js .nav { flex-basis: auto; }
  .mbar { display: flex; }
  body { padding-bottom: 72px; }
  .nx-dialog { z-index: 1000; }
}
@media (max-width: 760px) {
  .pts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .kdet dl { grid-template-columns: minmax(0, 1fr); }
  .rrow { grid-template-columns: 36px minmax(0, 1fr); }
  .rrow .owner { grid-column: 2; }
  .scope thead { display: none; }
  .scope, .scope tbody, .scope tr, .scope th, .scope td { display: block; width: auto !important; }
  .scope tr { padding: 14px 0; border-top: 1px solid var(--line-2); }
  .scope tr:first-child { border-top: 0; }
  .scope th, .scope td { padding: 4px 18px; border: 0; }
  .scope td::before { content: attr(data-label); display: block; margin: 8px 0 4px; font: 600 11px/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--steel-ink); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .lrow__dots { display: none; }
  .lrow__top { justify-content: space-between; }
}
@media (max-width: 560px) {
  .kmap__col--src, .kmap__col--lay { grid-template-columns: minmax(0, 1fr); }
  .kmap__cnt { margin-left: 0; width: 100%; }
  .prow summary { grid-template-columns: minmax(0, 1fr) auto 18px; padding-left: 20px; padding-right: 14px; }
  .prow__ic { display: none; }
  .prow__body { padding-left: 20px; padding-right: 18px; }
  .panel__hd { flex-direction: column; }
  .stack { margin: 0 14px 14px 0; }
  .stack::before { transform: translate(7px, 7px); }
  .stack::after { transform: translate(14px, 14px); }
  .tfig__a, .tfig__b { position: static; max-width: none; margin-top: 10px; animation: none !important; }
  .tfig { margin-bottom: 0; }
  .creds { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__cta .btn { flex: 1 1 100%; }
  .est__in div { flex-direction: column; gap: 2px; }
  .est__in dd { text-align: left; }
  .person { grid-template-columns: 48px minmax(0, 1fr); }
  .avatar { width: 48px; height: 48px; font-size: 17px; border-radius: 15px; }
}
@media (max-width: 380px) {
  .brand__txt small { display: none; }
  .mbar .btn { font-size: 13px; padding: 0 6px; }
}

/* ==========================================================================
   20. inner pages: systems, cases, prices, contacts
   Same tokens, same layered-sheet language; each page has its own rhythm.
   ========================================================================== */

/* page head (replaces the hero on inner pages) */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin-bottom: 6px; font: 500 13.5px/1.2 var(--font-body); color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--steel-ink); text-underline-offset: 3px; }
.crumbs [aria-hidden] { color: var(--faint); }
.phead { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(14px, 2.5vw, 34px) clamp(44px, 6vw, 92px); scroll-margin-top: 70px; }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(50% 58% at 96% 0%, rgba(246, 184, 28, .16), transparent 62%), radial-gradient(48% 60% at 0% 100%, rgba(76, 135, 147, .15), transparent 66%); }
.phead::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, var(--line-2) 1px, transparent 1px), linear-gradient(to bottom, var(--line-2) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 78%); mask-image: linear-gradient(180deg, #000 0, transparent 78%); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.phead__copy { display: grid; gap: clamp(16px, 2vw, 24px); justify-items: start; min-width: 0; }
.phead h1 { max-width: 20ch; }
.phead--wide h1 { max-width: 26ch; }
.phead .lead { max-width: 58ch; }
.phead__fig { min-width: 0; }

/* legal / disclaimer line under lists */
.legal--wide { margin-top: clamp(20px, 3vw, 32px); max-width: 860px; }
.sub { font: 700 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.25 var(--font-display); letter-spacing: -.005em; text-wrap: balance; }

/* shared photo figure with caption */
.pfig img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-l); }
.pfig--p img { aspect-ratio: 4 / 5; }
.pfig figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); font-size: 13.5px; line-height: 1.45; box-shadow: var(--sh-1); }
.pfig figcaption b { display: block; font-weight: 650; }

/* generic cards in a row / stage cards */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: stg; }
.stages--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stages--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stages--2 .stage::after { display: none; }
.stage { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .3s, box-shadow .3s; counter-increment: stg; }
.stage:hover { border-color: var(--steel); box-shadow: var(--sh-1); }
.stage::before { content: counter(stg, decimal-leading-zero); font: 700 24px/1 var(--font-display); color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.stage::after { content: ""; position: absolute; top: 33px; left: 66px; right: -17px; height: 2px; background: repeating-linear-gradient(to right, var(--steel-mid) 0 4px, transparent 4px 9px); }
.stage:last-child::after { display: none; }
.stage h3 { font: 700 1.1rem/1.3 var(--font-display); }
.stage p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.stage__fix { margin-top: 2px; padding: 10px 12px; border-radius: 12px; background: var(--dust); font-size: 13.5px; line-height: 1.5; }
.stage__fix b { display: block; margin-bottom: 2px; font: 600 11px/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--steel-ink); }
.stage .ico { width: 24px; height: 24px; color: var(--steel-ink); }

/* CTA band */
.band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 32px; align-items: center; margin-top: clamp(28px, 4vw, 52px); padding: clamp(22px, 3.4vw, 40px); border: 1.5px solid var(--amber); border-radius: var(--r-l); background: var(--amber-soft); }
.band h3 { font: 700 clamp(1.25rem, 1.1rem + .7vw, 1.65rem)/1.25 var(--font-display); text-wrap: balance; }
.band p { margin-top: 8px; color: #4a4020; }
.band__act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.band__act .btn { flex: 1 1 auto; }

/* ---------- systems ---------- */
.phead--sys .tfig { max-width: 560px; justify-self: end; width: 100%; }
.lf { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ltile { display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-areas: "i b" "i s"; column-gap: 10px; align-items: center; min-height: 66px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ltile:hover { border-color: var(--depth); }
.ltile__i { grid-area: i; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--dust); color: var(--steel-ink); transition: background .2s, color .2s; }
.ltile b { grid-area: b; align-self: end; font: 650 14px/1.2 var(--font-body); }
.ltile small { grid-area: s; align-self: start; font: 500 12px/1.3 var(--font-body); color: var(--muted); }
.ltile[aria-pressed="true"] { background: var(--depth); border-color: var(--depth); color: #fff; }
.ltile[aria-pressed="true"] .ltile__i { background: var(--amber); color: var(--depth); }
.ltile[aria-pressed="true"] small { color: #C6D9DE; }
.lf__cnt { margin: 14px 0 22px; font: 500 14px/1.4 var(--font-body); color: var(--muted); }
.lf__cnt b { color: var(--depth); font-variant-numeric: tabular-nums; }

.syslist { display: grid; gap: 22px; }
.sys { display: grid; gap: 22px; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); scroll-margin-top: 90px; }
.sec--white .sys { background: var(--dust); }
.sys__hd { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.sys__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: var(--depth); color: #fff; }
.sys__ic .ico { width: 26px; height: 26px; }
.sys__hd h3 { font: 700 clamp(1.25rem, 1.1rem + .7vw, 1.65rem)/1.2 var(--font-display); letter-spacing: -.005em; }
.sys__hd p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); max-width: 60ch; }
.sys__facts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.fact { display: grid; gap: 3px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; white-space: nowrap; }
.fact small { font: 600 10.5px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-ink); }
.fact b { font: 700 16px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.fact--price { border-color: var(--amber); background: var(--amber-soft); }
.fact--price small { color: var(--amber-ink); }

.sflow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(40px, .55fr) 64px minmax(40px, .55fr) minmax(0, 1fr); align-items: center; padding: 18px 20px; border: 1.5px dashed var(--steel-mid); border-radius: 18px; background: #fff; }
.sec--white .sflow { background: #fff; }
.sflow__col { display: grid; gap: 8px; min-width: 0; }
.snode, .slay { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 12px; font: 600 14px/1.25 var(--font-body); }
.snode { border: 1px solid var(--line); background: var(--dust); }
.snode .ico { color: var(--steel-ink); }
.slay { border: 1.5px solid var(--amber); background: var(--amber-soft); }
.slay .ico { color: var(--amber-ink); }
.sflow__hub { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 19px; background: var(--depth); color: #fff; font: 900 24px/1 var(--font-display); letter-spacing: -.03em; box-shadow: 0 0 0 4px var(--amber); }
.sflow__ln { position: relative; height: 2px; background: repeating-linear-gradient(to right, var(--steel) 0 4px, transparent 4px 9px); }
.sflow__ln::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.sys__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 22px; }
.sys__grid dt, .box h4 { margin-bottom: 5px; font: 600 11px/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--steel-ink); }
.sys__grid dd { font-size: 14.5px; line-height: 1.55; }
.sys__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.box { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--dust); }
.sec--white .box { background: #fff; }
.box h4 { margin-bottom: 10px; }
.bul { display: grid; gap: 8px; }
.bul li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.bul li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }
.bul--ext li::before { background: transparent; border: 1.5px solid var(--amber-deep); }
.sys__ft { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 18px; border-top: 1px dashed var(--line); }
.sys__ft .note { flex: 1 1 260px; }
.btn[aria-pressed="true"] { background: var(--depth); border-color: var(--depth); color: #fff; }

/* path of one operation */
.opath { padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--sh-1); }
.opath__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: clamp(22px, 3vw, 38px); padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--dust); }
.opath__op { display: flex; align-items: center; gap: 12px; min-width: 0; }
.opath__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--steel-ink); }
.opath__op b { display: block; font-weight: 650; }
.opath__op small { display: block; font-size: 13px; color: var(--muted); }
.opath__st { min-width: 150px; display: flex; justify-content: flex-end; }
.ost { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ostage { position: relative; display: grid; gap: 12px; align-content: start; padding-right: 16px; }
.ostage::before { content: ""; position: absolute; left: 56px; right: 8px; top: 23px; height: 2px; background: var(--dust-3); transition: background .5s; }
.ostage:last-child::before { display: none; }
.ostage.is-done::before { background: var(--depth); }
.ostage__b { display: grid; gap: 12px; justify-items: start; min-height: 44px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: 700 1.05rem/1.3 var(--font-display); color: var(--ink); }
.ostage__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: 700 18px/1 var(--font-display); color: var(--steel-ink); transition: background .35s, color .35s, border-color .35s, box-shadow .35s; }
.ostage.is-done .ostage__n { background: var(--depth); border-color: var(--depth); color: #fff; }
.ostage.is-active .ostage__n { background: var(--amber); border-color: var(--amber); color: var(--depth); box-shadow: 0 0 0 6px rgba(246, 184, 28, .24); }
.ostage p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.ostage .owner { margin-top: 2px; }
.owner--sys i { background: var(--steel); font-size: 9.5px; letter-spacing: -.02em; }
.opath__ft { margin-top: clamp(20px, 3vw, 30px); padding-top: 18px; border-top: 1px dashed var(--line); font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* 1C configurations */
.cfgs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cfg { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; align-content: start; padding: 22px 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.cfg:hover { border-color: var(--steel); box-shadow: var(--sh-1); }
.cfg__k { font: 600 11px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-ink); }
.cfg h3 { font: 700 1.15rem/1.3 var(--font-display); }
.cfg > p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.cfg dl { display: grid; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.cfg dt { margin-bottom: 4px; font: 600 11px/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--steel-ink); }
.cfg dd { font-size: 14px; line-height: 1.5; }
.pick { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(32px, 5vw, 60px); }
.qs { display: grid; gap: 10px; counter-reset: q; }
.qs li { position: relative; display: block; padding: 14px 16px 14px 56px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 15px; line-height: 1.5; counter-increment: q; }
.qs li::before { content: counter(q); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--amber); color: var(--depth); font: 700 15px/1 var(--font-display); }
.qs b { font-weight: 650; }

/* ---------- cases ---------- */
.phead--cases .phead__fig { max-width: 520px; justify-self: end; width: 100%; }
.phead--cases .pfig img { aspect-ratio: 5 / 4; object-position: 50% 52%; }
.ba { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--sh-2); }
.ba__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: clamp(18px, 2.4vw, 26px) clamp(18px, 3vw, 34px); border-bottom: 1px solid var(--line-2); }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--dust-2); }
.seg button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font: 600 14.5px/1 var(--font-body); color: var(--depth); cursor: pointer; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--depth); color: #fff; box-shadow: 0 6px 14px -8px rgba(18, 59, 74, .6); }
.js .ba .seg { display: inline-flex; }
.ba:not(.is-js) .seg { display: none; }
.ba__stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(48px, .5fr) minmax(150px, 210px) minmax(48px, .5fr) minmax(0, 1.15fr); align-items: center; padding: clamp(20px, 3.4vw, 40px); }
.ba__col { display: grid; gap: 10px; min-width: 0; }
.blay { display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-areas: "i n" "i s"; gap: 2px 12px; align-items: center; min-height: 64px; padding: 10px 14px 10px 12px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--dust); }
.blay__i { grid-area: i; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #fff; border: 1px solid var(--line); color: var(--steel-ink); }
.blay b { grid-area: n; font: 650 14.5px/1.2 var(--font-body); }
.blay .st { grid-area: s; justify-self: start; margin-top: 4px; }
.bline { position: relative; height: 2px; }
.bline::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); opacity: 0; }
.ba[data-state="now"] .bline { background: var(--depth); }
.ba[data-state="now"] .bline::after { opacity: 1; }
.ba[data-state="was"] .bline { background: repeating-linear-gradient(to right, var(--faint) 0 3px, transparent 3px 8px); }
.bmid { display: grid; place-items: center; }
.bmid__was, .bmid__now { display: grid; gap: 8px; justify-items: center; width: 100%; padding: 18px 14px; border-radius: 22px; text-align: center; font-size: 13px; line-height: 1.4; }
.bmid__was { border: 1.5px dashed var(--faint); background: var(--dust-2); color: var(--muted); }
.bmid__was .ico { width: 30px; height: 30px; color: var(--muted); }
.bmid__was b, .bmid__now b { font: 650 14px/1.25 var(--font-body); }
.bmid__now { color: #fff; background: linear-gradient(160deg, var(--depth-3), var(--depth) 55%, var(--depth-2)); box-shadow: 0 24px 46px -24px rgba(18, 59, 74, .65); }
.bmid__now small { color: #C6D9DE; }
.bmid__now .khub__logo { width: 58px; height: 58px; border-radius: 17px; font-size: 24px; box-shadow: 0 0 0 4px var(--amber); }
.ba[data-state="now"] .when-was, .ba[data-state="was"] .when-now { display: none !important; }
.ba__ft { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; padding: clamp(18px, 2.4vw, 26px) clamp(18px, 3vw, 34px); border-top: 1px solid var(--line-2); background: var(--dust); font-size: 14.5px; line-height: 1.55; }
.ba__ft h4 { margin-bottom: 4px; font: 600 11px/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--steel-ink); }
.ba__ft .when-was, .ba__ft .when-now { display: block; }

.cboard { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cside { position: sticky; top: 92px; display: grid; gap: 22px; }
.cside__t { font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-ink); }
.fbar--v { flex-direction: column; flex-wrap: nowrap; gap: 6px; margin: 10px 0 0; }
.fbar--v .fbtn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 0 14px; border-radius: 14px; text-align: left; }
.fbtn__n { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 7px; background: var(--dust-2); color: var(--muted); font: 700 12px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.fbtn[aria-pressed="true"] .fbtn__n { background: var(--amber); color: var(--depth); }
.cases--list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.case--wide { gap: 18px; padding: clamp(20px, 3vw, 32px); scroll-margin-top: 90px; }
.case__hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.case__no { font: 700 13px/1 var(--font-body); letter-spacing: .06em; color: var(--steel-ink); font-variant-numeric: tabular-nums; }
.case__sit { max-width: 64ch; color: var(--muted); }
.case--wide .flow { grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); align-items: stretch; gap: 10px; }
.case--wide .flow__ar { align-self: center; margin: 0; }
.case--wide .flow__ar .ico { transform: none; }
.case__dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 22px; padding-top: 16px; border-top: 1px dashed var(--line); }
.case__dl dt { margin-bottom: 5px; font: 600 11px/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--steel-ink); }
.case__dl dd { font-size: 14.5px; line-height: 1.55; }
.case__empty { padding: 22px; border: 1.5px dashed var(--steel-mid); border-radius: 18px; color: var(--muted); }
.scope--log tbody th { width: 9%; font-variant-numeric: tabular-nums; }
.scope--log td:nth-child(2) { width: 24%; }
.scope--log td:nth-child(3) { width: 22%; }
.scope--log td:nth-child(4) { width: 27%; }
.scope--log td:nth-child(5) { width: 18%; }
.scope--log td { color: var(--ink); }
.scope--log .st { margin-top: 2px; }

/* ---------- prices ---------- */
.tariff { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(26px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; box-shadow: var(--sh-1); overflow: hidden; width: 100%; }
.tariff > div { display: grid; gap: 4px; padding: 20px 22px; border-left: 1px solid var(--line-2); }
.tariff > div:first-child { border-left: 0; }
.tariff small { font: 600 11px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-ink); }
.tariff b { font: 700 clamp(1.3rem, 1.05rem + 1.1vw, 1.9rem)/1.1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tariff b i { font: 500 .5em/1 var(--font-body); font-style: normal; color: var(--muted); letter-spacing: 0; }
.tariff span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.phead--price .pfig { max-width: 560px; justify-self: end; width: 100%; }
.pr--wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.drivers .legal { margin-top: 2px; }
.limit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(20px, 3.4vw, 48px); align-items: center; margin-top: clamp(28px, 4vw, 52px); padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.sec--white .limit { background: var(--dust); }
.limit h3 { font: 700 clamp(1.2rem, 1.05rem + .6vw, 1.5rem)/1.3 var(--font-display); }
.limit p { margin-top: 10px; color: var(--muted); }
.meter { display: grid; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.meter__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.meter__top b { font: 700 1.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.meter__top span { font-size: 13px; color: var(--muted); }
.meter__bar { display: flex; gap: 2px; height: 22px; padding: 2px; border-radius: 999px; background: repeating-linear-gradient(135deg, var(--dust-2) 0 6px, var(--dust) 6px 12px); border: 1px solid var(--line); overflow: hidden; }
.meter__bar i { display: block; width: calc(var(--h) / 5 * 100%); height: 100%; border-radius: 999px; background: var(--c); }
.meter__list { display: grid; gap: 4px; }
.meter__list li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 32px; font-size: 13.5px; line-height: 1.35; }
.meter__list li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.meter__list b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.scope--wide tbody th { width: 24%; }
.scope--wide td:nth-child(2) { width: 38%; }

.formula { display: grid; gap: 6px; margin-top: 20px; padding: 14px 16px; border: 1px dashed var(--steel-mid); border-radius: 14px; background: #fff; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 860px; }
.formula b { color: var(--depth); font-weight: 650; }
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: clamp(22px, 3vw, 36px); }
.calc__in { display: grid; gap: 24px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--sh-1); }
.calc fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.calc legend { padding: 0; margin-bottom: 12px; font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-ink); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-top: 20px; border-top: 1px dashed var(--line); }
.calc .est { position: sticky; top: 92px; }
.bd { display: grid; gap: 7px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .7); font-size: 13.5px; line-height: 1.4; }
.bd li { display: flex; align-items: baseline; gap: 8px; }
.bd li span { min-width: 0; }
.bd li i { flex: 1; min-width: 12px; border-bottom: 1.5px dotted rgba(18, 59, 74, .3); transform: translateY(-3px); }
.bd li b { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bd__h { margin-bottom: 2px; font: 600 11px/1.2 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--amber-ink); }

/* ---------- contacts ---------- */
.phead--contact .phead__grid { align-items: start; }
.phead--contact h1 { max-width: 16ch; }
.chans { display: grid; gap: 10px; width: 100%; max-width: 520px; }
.chcard { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 14px; align-items: center; min-height: 66px; width: 100%; padding: 10px 16px 10px 12px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.chcard:hover { border-color: var(--depth); box-shadow: var(--sh-1); }
.chcard__i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--dust); color: var(--steel-ink); }
.chcard--main { border-color: var(--amber); background: var(--amber-soft); }
.chcard--main .chcard__i { background: var(--amber); color: var(--depth); }
.chcard b { display: block; font: 650 16px/1.25 var(--font-body); }
.chcard small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.chcard > .ico { color: var(--faint); }
.hours { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14.5px; }
.phead--contact .form { box-shadow: var(--sh-2); }
.find { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(22px, 4vw, 52px); align-items: start; }
.find .info__map { background: var(--dust-2); }
.find .info__card { box-shadow: var(--sh-2); }
.way { display: grid; gap: 12px; counter-reset: w; margin-top: 18px; }
.way li { position: relative; padding: 14px 16px 14px 58px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 14.5px; line-height: 1.5; counter-increment: w; }
.way li::before { content: counter(w); position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--amber); color: var(--depth); font: 700 15px/1 var(--font-display); }
.find__side { display: grid; gap: 4px; }
.find__side .pfig { margin-top: 30px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.topic { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 14px/1.2 var(--font-body); color: var(--depth); cursor: pointer; transition: border-color .2s, background .2s; }
.topic:hover { border-color: var(--depth); background: var(--steel-soft); }
.req { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(24px, 3.4vw, 40px); padding: 8px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.req div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; line-height: 1.5; }
.req div:nth-child(-n+2) { border-top: 0; }
.req dt { color: var(--muted); }
.req dd { font-weight: 600; }
.docs { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(22px, 4vw, 52px); align-items: start; }

/* ---------- 21. motion for inner pages ---------- */
@keyframes sdot { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes sdotv { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .js .phead__copy > * { animation: rise .85s var(--ease) both; }
  .js .phead__copy > :nth-child(2) { animation-delay: .07s; }
  .js .phead__copy > :nth-child(3) { animation-delay: .15s; }
  .js .phead__copy > :nth-child(4) { animation-delay: .23s; }
  .js .phead__copy > :nth-child(5) { animation-delay: .31s; }
  .js .phead__fig { animation: rise .9s .15s var(--ease) both; }
  .js .phead .hl { animation: sweep 1.1s .6s var(--ease) both; }
  .sflow__ln::after { animation: sdot 2.6s linear infinite; }
  .sflow__ln:last-of-type::after { animation-delay: 1.3s; }
  .ba[data-state="now"] .bline::after { animation: sdot 2.2s linear infinite; }
  .js .chcard--main .chcard__i { animation: pulse 2.4s var(--ease) infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .sflow__ln::after, .bline::after { display: none; }
  .chcard--main .chcard__i { animation: none; }
}

/* ---------- 22. responsive for inner pages ---------- */
@media (max-width: 1200px) {
  .lf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cfgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sys__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .phead__grid { grid-template-columns: minmax(0, 1fr); }
  .phead h1, .phead--contact h1 { max-width: 22ch; }
  .phead--sys .tfig, .phead--price .pfig, .phead--cases .phead__fig { justify-self: start; }
  .stages, .stages--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage::after { display: none; }
  .cboard { grid-template-columns: minmax(0, 1fr); }
  .cside { position: static; grid-template-columns: minmax(0, 1fr); }
  .cside .fbar--v { flex-direction: row; flex-wrap: wrap; }
  .cside .fbar--v .fbtn { width: auto; }
  .cside .pfig { display: none; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc .est { position: static; }
  .find, .docs, .pick { grid-template-columns: minmax(0, 1fr); }
  .case__dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ost { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ostage { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 0 0 26px; }
  .ostage__b { grid-column: 1 / -1; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 16px; }
  .ostage p, .ostage .owner { grid-column: 2; }
  .ostage::before { left: 23px; right: auto; top: 52px; bottom: 4px; width: 2px; height: auto; }
  .band { grid-template-columns: minmax(0, 1fr); }
  .band__act { justify-content: flex-start; }
  .ba__stage { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bline { width: 2px; height: 32px; margin-inline: auto; }
  .bline::after { left: -3px; top: 0; }
  .ba[data-state="now"] .bline { background: var(--depth); }
  .ba[data-state="was"] .bline { background: repeating-linear-gradient(to bottom, var(--faint) 0 3px, transparent 3px 8px); }
  .bmid { max-width: 320px; width: 100%; margin-inline: auto; }
  .sflow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .sflow__ln { width: 2px; height: 30px; margin-inline: auto; background: repeating-linear-gradient(to bottom, var(--steel) 0 4px, transparent 4px 9px); }
  .sflow__ln::after { left: -3px; top: 0; }
  .sflow__hub { margin-inline: auto; }
  .limit, .tariff { grid-template-columns: minmax(0, 1fr); }
  .tariff > div { border-left: 0; border-top: 1px solid var(--line-2); }
  .tariff > div:first-child { border-top: 0; }
  .pr--wide { grid-template-columns: minmax(0, 1fr); }
  .case--wide .flow { grid-template-columns: minmax(0, 1fr); }
  .case--wide .flow__ar .ico { transform: rotate(90deg); }
  .ba__ft { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .sys__hd { grid-template-columns: 56px minmax(0, 1fr); }
  .sys__facts { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .scope--log tbody th { width: auto !important; }
  .req { grid-template-columns: minmax(0, 1fr); padding: 6px 18px; }
  .req div:nth-child(2) { border-top: 1px solid var(--line-2); }
  .sys__more { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sys__grid, .cfgs, .stages, .stages--2, .stages--3, .opts, .case__dl { grid-template-columns: minmax(0, 1fr); }
  .opath__st { justify-content: flex-start; min-width: 0; }
  .chcard { grid-template-columns: 44px minmax(0, 1fr); }
  .chcard > .ico { display: none; }
  .seg { width: 100%; }
  .seg button { flex: 1 1 0; padding: 0 12px; }
  .band__act .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .ltile { grid-template-columns: minmax(0, 1fr); grid-template-areas: "b" "s"; }
  .ltile__i { display: none; }
}
