/* ============================================================================
   vendum.ai — home page redesign v2.1 (Atlas design language, own stack)
   Branch: vendum-dev/site-redesign-v2. Used by index.html ONLY.
   v2.1 after Nick's side-by-side review (2026-08-25 evening):
   - exact Atlas faces: Inter Display 700 headings, Source Serif 4 Italic tails
   - white page with the dark hero as an INSET ROUNDED PANEL (the "frame")
   - light navbar on the white field, black CTA
   - tile wall with visible running waves (their amplitude, not a faint breathe)
   - live workflow scene sits IN the hero (right slot), 6 mini-steps under it,
     autoplay ~2s/step
   Constraints: self-hosted assets only; opacity/transform animations only;
   no position:fixed anywhere; reduced-motion keeps the layer, stops motion.
   ========================================================================== */

/* ---------- fonts (self-hosted, assets/fonts/) ---------- */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src:url(fonts/Inter-400-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src:url(fonts/Inter-400-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src:url(fonts/Inter-500-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src:url(fonts/Inter-500-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url(fonts/Inter-600-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url(fonts/Inter-600-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src:url(fonts/Inter-400-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src:url(fonts/Inter-500-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url(fonts/Inter-600-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Inter, UI symbols (F-FONTS): none of the
   four downloaded Inter weights contain ✓ ✕ ☰ -- see the fonts report
   for the full inventory and coverage table. U+2713 (✓) is
   subset from the already-licensed assets/fonts/InterDisplay-Bold.woff2
   (which does contain it); U+2630/U+2715 (☰ ✕) are absent from every local
   font, so subset from Noto Sans Symbols 2 (google/fonts, OFL) instead. Both
   declared under family 'Inter' so --body's existing stack picks them up
   with no HTML/JS change.
   Each declared at exactly ONE weight -- the pre-existing 'exact' bucket for
   its heaviest real consumer -- never as a font-weight RANGE and never at a
   brand-new weight value. Both were tried and measured (with the same CDP
   check qa.mjs uses) to corrupt Chromium's weight-bucket selection for the
   WHOLE 'Inter' family, not just the new unicode-range: a font-weight:400 700
   range face here made ordinary Cyrillic body text (bucket 400/500/600)
   fall back to the system font everywhere on the page; a lone new EXACT
   weight:700 face (with no 700 face for anything else) made unrelated
   weight:700 text with no glyph in that narrow unicode-range (plain digits
   in .pilot-point .on-mark) do the same, because Chromium picks ONE weight
   bucket per (family, requested-weight) for the whole element -- once an
   EXACT bucket exists it commits to it and does not retry a neighboring
   bucket per character. U+2713 (.approve-btn, weight 600) is declared at
   600, its own exact, pre-existing bucket. U+2715 (.on-mark, weight 700) is
   also declared at 600: no exact 700 bucket exists anywhere in this family,
   so 700 already nearest-matches to the existing 600 bucket (confirmed:
   .on-mark's own ✓ use at weight 700 -- and the unrelated digits in
   .pilot-point .on-mark, also weight 700 -- both resolve through bucket
   600 today); adding ✕ there needs no new bucket. U+2630 (.mobile-toggle,
   weight 400, no explicit override) is declared at 400: bucket 400 is ALSO
   pre-existing and exact for this family, so (per the same rule) it would
   NOT fall through to 600 on its own -- it needs its own 400 declaration.
   See FONTS-REPORT.md for the full isolation steps and CDP evidence. */
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url(fonts/Inter-symbols.woff2) format('woff2');
  unicode-range:U+2713; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src:url(fonts/NotoSansSymbols2-subset.woff2) format('woff2');
  unicode-range:U+2630; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url(fonts/NotoSansSymbols2-subset.woff2) format('woff2');
  unicode-range:U+2715; }
/* Inter Display — the Atlas heading face (official Inter release, OFL, full Cyrillic) */
@font-face { font-family:'Inter Display'; font-style:normal; font-weight:700; font-display:swap;
  src:url(fonts/InterDisplay-Bold.woff2) format('woff2'); }
/* Source Serif 4 Italic — the Atlas serif-italic face (variable 400-700, OFL) */
@font-face { font-family:'Source Serif 4'; font-style:italic; font-weight:400 700; font-display:swap;
  src:url(fonts/SourceSerif4-Italic-var-cyrillic.woff2) format('woff2');
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Source Serif 4'; font-style:italic; font-weight:400 700; font-display:swap;
  src:url(fonts/SourceSerif4-Italic-var-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ------------------------------- tokens ---------------------------------- */
:root{
  --page:#ffffff;             /* the white field around the framed panels */
  --night:#070b12;
  --ink:#101623; --ink-dim:rgba(16,22,35,.64);
  --snow:#eff6fc; --snow-dim:rgba(239,246,252,.8);
  --g1:#070b12; --g2:#0a1630; --g3:#113e9c; --g4:#0070f0; --g5:#00d9e8;
  --accent:#0095e8; --accent-deep:#0070f0; --focus:#59d9f9;
  --glass-bg:rgba(255,255,255,.055);
  --glass-brd:rgba(255,255,255,.18);
  --card-brd:rgba(16,22,35,.10);
  --tile-w:82px; --tile-h:32px; --tile-gap:9px; --tile-r:10px;
  --head:'Inter Display','Inter',system-ui,sans-serif;
  --serif:'Source Serif 4',Georgia,serif;
  --body:'Inter',system-ui,sans-serif;
  --frame-m:14px;             /* the white frame width around dark panels */
  --frame-r:34px;             /* panel corner radius */
  --container:1180px;
}

/* ------------------------------- reset ----------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
html.no-js{scroll-behavior:auto}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:var(--body);font-size:16px;line-height:1.55;color:var(--ink);
  background:var(--page);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,h4{margin:0;font-family:var(--head);font-weight:700;line-height:1.05;letter-spacing:-.035em}
p{margin:0}
button{font:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
.tail{font-family:var(--serif);font-style:italic;font-weight:500;letter-spacing:-.01em}

/* eyebrow pill */
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;
  font-size:13px;font-weight:500;letter-spacing:.02em}
.eyebrow .edot{width:6px;height:6px;border-radius:50%;background:var(--g5)}
.eyebrow.on-dark{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:var(--snow)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 24px;
  border-radius:999px;font-weight:600;font-size:15px;text-decoration:none;border:0;cursor:pointer;
  transition:transform .18s ease,opacity .18s ease}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn-dark{background:#0a0d12;color:#fff}
.btn-light{background:#fff;color:#0f1522}

/* demo marker */
.demo-pill{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;
  font-size:10.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;
  background:rgba(255,193,7,.14);color:#8a6d00;border:1px solid rgba(255,193,7,.35)}
.demo-pill.on-dark{background:rgba(255,193,7,.1);color:#ffd54d;border-color:rgba(255,213,77,.28)}

/* ---------------------- header: light, on the white field ----------------- */
.header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.85);
  backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2)}
.navbar{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:12px 0;min-height:76px}
.logo{flex:none}
.logo img{height:36px;width:auto;max-width:none;flex:none}
.nav-links{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.nav-links a{font-size:14px;font-weight:500;color:var(--ink-dim);text-decoration:none;
  padding:7px 11px;border-radius:10px;transition:color .15s ease}
.nav-links a:hover{color:var(--ink)}
.nav-cta{white-space:nowrap;padding:11px 20px;font-size:14px}
.mobile-toggle{display:none;background:#fff;border:1px solid rgba(16,22,35,.16);color:var(--ink);
  border-radius:10px;padding:6px 12px;font-size:18px;cursor:pointer}
@media (max-width:1020px){
  .mobile-toggle{display:block}
  .nav-links{display:none;position:absolute;left:16px;right:16px;top:calc(100% + 4px);
    flex-direction:column;align-items:stretch;background:#fff;
    border:1px solid rgba(16,22,35,.12);border-radius:16px;padding:10px;
    box-shadow:0 18px 50px rgba(4,16,40,.14)}
  .navbar{position:relative}
  .navbar.open .nav-links{display:flex}
  .nav-links a{padding:11px 14px}
  .logo img{height:30px}
}
@media (max-width:560px){
  .container{padding:0 16px}
  .navbar{min-height:64px;gap:12px}
  .logo img{height:22px}
  .nav-cta{font-size:13px;padding:9px 12px;min-height:40px;margin-left:auto}
  .mobile-toggle{order:3;width:40px;height:40px;padding:0}
}
@media (max-width:360px){
  .logo img{height:20px}
  .navbar{gap:10px}
}

/* --------------- the framed dark panel (the Atlas "рамка") ---------------- */
.panel{border-radius:var(--frame-r);margin:0 var(--frame-m);position:relative;overflow:hidden}

/* ------------------------------- hero ------------------------------------ */
.hero{background:
  linear-gradient(180deg,var(--g1) 0%,var(--g2) 20%,var(--g3) 42%,var(--g4) 58%,var(--g5) 72%,#f7fcff 92%)}
/* tile wall v3 — the Atlas snake mechanic (measured frame-by-frame from
   Nick's 2026-08-25 recording): the wall itself is calm; every ~1.8s a single
   pulse climbs from the bottom row to the top at ~85ms/row, meandering one
   column at a time, and each brick it passes glows ~.4s and fades behind it.
   Bricks are Atlas-scale (their 105x40 at 1728 viewport ~= 82x32 at ours).
   redesign.js drives the climb by toggling .lit; motion here is opacity only. */
.tiles{position:absolute;inset:0;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(var(--tile-w),1fr));
  grid-auto-rows:var(--tile-h);gap:var(--tile-gap);padding:var(--tile-gap);
  pointer-events:none;z-index:0;overflow:hidden}
.tiles i{position:relative;border-radius:var(--tile-r);background:rgba(224,242,255,.55);
  opacity:.07;transition:opacity .5s ease}          /* slow fade = the tail */
.tiles i.lit{opacity:.65;transition:opacity .12s ease-out}   /* fast attack = the head */
.hero-inner{position:relative;z-index:1;display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;align-items:center;
  text-align:left;padding-top:40px;padding-bottom:6px}
.hero-copy{color:var(--snow);display:flex;flex-direction:column;align-items:flex-start}
.hero h1{font-size:clamp(28px,3.4vw,46px);color:#fff;margin:18px 0 12px}
.hero h1 .tail{font-weight:480;font-size:1em}
.hero .lead{font-size:15px;line-height:1.55;max-width:52ch;color:rgba(255,255,255,.92)}

/* live workflow scene — transparent glass, the wall runs THROUGH it */
.wf-scene{border-radius:26px;padding:18px 18px 14px;position:relative;
  width:100%;margin:4px 0 0;align-self:start;text-align:left;   /* lifted (Nick, round 9) */
  background:rgba(7,14,24,.55);border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14), 0 24px 60px rgba(4,10,20,.35)}
.wf-scene-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;
  font-size:12.5px;color:var(--snow-dim)}
/* upcoming steps stay as faint ghosts — the screen "lights up" as the
   dialogue runs through them (Nick, 2026-08-25) */
.scene-el{opacity:.08;transform:translateY(4px);transition:opacity .38s ease,transform .38s ease;margin:8px 0}
.scene-el[data-at="6"]{opacity:0;position:absolute;pointer-events:none}   /* replaces the draft in place */
.scene-el[data-at="6"].shown{position:static;pointer-events:auto}
.scene-el.shown{opacity:1;transform:none}
/* the client's yes stays IN FLOW as a ghost like every other step element —
   the panel must not grow when it lights up (Nick: «всё прыгает», round 8) */
.scene-el[data-reply]{opacity:.08;position:static;pointer-events:auto}
.scene-el[data-reply].shown{opacity:1;transition-delay:.55s}
.scene-el.gone{opacity:0;position:absolute;pointer-events:none}
.bubble{max-width:88%;padding:10px 14px;border-radius:15px;font-size:13.5px;line-height:1.42}
.bubble .b-meta{display:block;margin-top:5px;font-size:11px;opacity:.75}
.bubble.client{margin-left:auto;background:rgba(255,255,255,.94);color:var(--ink);border-bottom-right-radius:6px}
.bubble.draft{background:rgba(6,10,18,.25);border:1.5px dashed rgba(89,217,249,.55);color:var(--snow);border-bottom-left-radius:6px}
.bubble.sent{background:rgba(89,217,249,.2);border:1px solid rgba(89,217,249,.45);color:#fff;border-bottom-left-radius:6px}
.scene-row{display:flex;align-items:center;gap:9px;padding:9px 13px;border-radius:13px;
  background:rgba(6,10,18,.3);border:1px solid rgba(255,255,255,.14);font-size:12.5px;color:var(--snow)}
.scene-row .dot{flex:none;width:7px;height:7px;border-radius:50%;background:#ffd54d}
.scene-1c{padding:11px 13px;border-radius:13px;background:rgba(8,28,20,.42);
  border:1px solid rgba(66,227,154,.4);font-size:12.5px;color:var(--snow)}
.scene-1c b{color:#9af0c8}
.scene-1c .b-meta{display:block;margin-top:5px;font-size:11px;color:rgba(154,240,200,.7)}
.approve-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 18px;border-radius:11px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:var(--snow);
  font-weight:600;font-size:13px;transition:background .3s ease,border-color .3s ease,box-shadow .3s ease}
.approve-note{margin-left:16px;font-size:12.5px;font-weight:500;color:rgba(239,246,252,.88)}
.scene-el[data-approve]{display:flex;align-items:center;flex-wrap:wrap;row-gap:4px}
.scene-el.armed .approve-btn{background:#2fbf7f;border-color:#2fbf7f;color:#06130c;box-shadow:0 0 22px rgba(66,227,154,.4)}
.scene-el.done .approve-btn{background:rgba(66,227,154,.16);border-color:rgba(66,227,154,.45);color:#9af0c8}

/* six mini-steps under the hero grid, synced with the scene */
/* the one-line idea under the demo scene (Nick's line, round 9) — set in the
   Atlas serif italic like the H1 tail, centered between the scene and steps */
.wf-idea{position:relative;z-index:1;text-align:center;font-family:var(--serif);
  font-style:italic;font-weight:500;font-size:clamp(19px,2.1vw,26px);
  letter-spacing:-.012em;color:#fff;margin:36px 0 24px}
.wf-steps{position:relative;z-index:1;display:grid;grid-template-columns:repeat(6,1fr);gap:8px;
  padding-top:26px}
.wf-step{position:relative;text-align:left;background:rgba(6,12,22,.62);border:1px solid rgba(255,255,255,.17);
  border-radius:14px;padding:11px 12px 13px;cursor:pointer;color:var(--snow);
  transition:background .25s ease,border-color .25s ease}
/* hover/active tints ride ON a dark base layer, never replace it: the strip
   sits over the bright end of the hero gradient, and a lone light tint there
   leaves the white card text unreadable (QA 2026-08-26, M-1: active card
   measured 1.26:1 while autoplay makes every card active for 1.4s) */
.wf-step:hover{background:linear-gradient(rgba(255,255,255,.10),rgba(255,255,255,.10)),rgba(6,12,22,.74)}
.wf-step.active{border-color:rgba(89,217,249,.8);
  background:linear-gradient(rgba(89,217,249,.16),rgba(89,217,249,.16)),rgba(6,12,22,.74)}
.wf-num{display:inline-flex;padding:2px 7px;border-radius:7px;background:rgba(255,255,255,.12);
  font-size:10.5px;font-weight:700;letter-spacing:.07em;margin-bottom:7px}
.wf-step.active .wf-num{background:rgba(89,217,249,.3)}
.wf-step h3{font-size:14.5px;letter-spacing:-.015em;margin-bottom:3px;color:#fff}
.wf-step p{font-size:12.5px;line-height:1.4;color:rgba(255,255,255,.88)}
.wf-step .wf-progress{position:absolute;left:12px;right:12px;bottom:6px;height:2px;border-radius:2px;
  background:rgba(255,255,255,.15);overflow:hidden;opacity:0}
.wf-step.active .wf-progress{opacity:1}
.wf-step .wf-progress i{display:block;height:100%;background:var(--focus);
  transform:scaleX(0);transform-origin:left}
.wf-step.active.playing .wf-progress i{animation:wfbar var(--wf-dur,1.4s) linear forwards}
@keyframes wfbar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.wf-stat{position:relative;z-index:1;text-align:center;padding:16px 24px 6px;
  font-size:14px;color:rgba(16,22,35,.92)}
.wf-stat b{font-family:var(--head);font-size:15px;letter-spacing:-.02em;color:var(--ink)}
@media (max-width:1060px){.wf-steps{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){
  .wf-steps{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
  .wf-step{flex:0 0 62%;scroll-snap-align:start}
}

/* property chips at the hero base (on the light fade, inside the panel) */
.chips-row{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;
  padding-bottom:20px;padding-top:6px}
.chip{display:flex;align-items:center;gap:11px;padding:14px 18px;border-radius:15px;
  background:rgba(255,255,255,.92);border:1px solid rgba(16,22,35,.06);
  box-shadow:0 10px 26px rgba(4,16,40,.16);font-weight:600;font-size:14.5px;color:var(--ink)}
.chip svg{flex:none;width:22px;height:22px;color:#101623}
@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr;gap:26px;padding-top:32px;text-align:center}
  .wf-scene{margin-top:6px}
  .hero-copy{align-items:center}
  .wf-scene{text-align:left}
  .chips-row{grid-template-columns:1fr}
}

/* --------------------------- integrations row ---------------------------- */
.integrations-row{padding:34px 0 6px;text-align:center}
.integrations-row .int-label{font-size:12.5px;letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink-dim);font-weight:600;margin-bottom:13px}
.int-items{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.int-item{padding:11px 24px;border-radius:13px;background:#fff;border:1px solid var(--card-brd);
  font-family:var(--head);font-weight:700;font-size:15.5px;letter-spacing:-.01em;color:var(--ink)}

/* ------------------------------ sections --------------------------------- */
.section{padding:64px 0}
.section-head{max-width:820px;margin:0 auto 36px;text-align:center}
.section-head h2{font-size:clamp(28px,3.4vw,42px)}
.section-head .tail{display:block;font-size:.95em;font-weight:600;margin-top:3px}
.section-head .sub{margin-top:13px;color:var(--ink-dim);font-size:15.5px}
.on-dark .section-head h2{color:#fff}
.on-dark .section-head .sub{color:var(--snow-dim)}

/* --------------------------- old way / new way ---------------------------- */
.oldnew{display:grid;grid-template-columns:1fr 1fr;border-radius:24px;overflow:hidden;
  border:1px solid var(--card-brd);background:#fff;box-shadow:0 14px 44px rgba(4,16,40,.06)}
.oldnew-col{padding:30px 30px}
.oldnew-col h3{font-size:19px;margin-bottom:16px}
.oldnew-col.now h3{color:var(--ink-dim)}
.oldnew-col.new{background:linear-gradient(180deg,#0c1730 0%,#113e9c 55%,#0086d8 100%);color:var(--snow)}
.oldnew-col.new h3{color:#fff}
.on-row{display:flex;gap:11px;align-items:flex-start;padding:11px 0;font-size:14.5px;line-height:1.42}
.oldnew-col.now .on-row{color:var(--ink-dim);border-bottom:1px solid rgba(16,22,35,.06)}
.oldnew-col.new .on-row{border-bottom:1px solid rgba(255,255,255,.12)}
.on-row:last-child{border-bottom:0}
.on-mark{flex:none;width:21px;height:21px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  font-size:11.5px;font-weight:700;margin-top:1px}
.now .on-mark{background:rgba(16,22,35,.07);color:var(--ink-dim)}
.new .on-mark{background:rgba(255,255,255,.16);color:#fff}
@media (max-width:820px){.oldnew{grid-template-columns:1fr}}

/* -------------------------- ERP / order card ------------------------------ */
.erp-tabs{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:0 0 22px}
.erp-tab{padding:9px 18px;border-radius:999px;border:1px solid var(--card-brd);background:#fff;
  font:inherit;font-size:13.5px;font-weight:600;color:var(--ink-dim);cursor:pointer;
  transition:color .15s ease,border-color .15s ease,background .15s ease}
.erp-tab:hover{color:var(--ink)}
.erp-tab.active{background:#101623;border-color:#101623;color:#fff}

.erp-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}
.erp-card{border-radius:22px;border:1px solid var(--card-brd);background:#fff;
  padding:20px;box-shadow:0 14px 44px rgba(4,16,40,.07)}
.erp-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:10px}
.erp-card-head b{font-family:var(--head);font-size:15px;letter-spacing:-.015em}
.chat{display:flex;flex-direction:column;gap:9px}
.chat .bubble.client{background:#ecf1f7;color:var(--ink)}
.chat .bubble.agent{background:linear-gradient(135deg,#e7f4fb,#e0f0fa);color:var(--ink);border-bottom-left-radius:6px;max-width:88%}
.kpi-row{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:11px}
.kpi{border:1px solid var(--card-brd);border-radius:13px;padding:12px}
.kpi b{display:block;font-family:var(--head);font-size:23px;letter-spacing:-.03em}
.kpi span{font-size:12px;color:var(--ink-dim)}
.panel-rows{display:flex;flex-direction:column;gap:7px}
.panel-row{display:flex;justify-content:space-between;gap:10px;padding:9px 13px;border-radius:11px;
  background:#f2f5fa;font-size:13px}
.panel-row .tag{font-weight:600;color:var(--accent-deep);white-space:nowrap}
@media (max-width:820px){.erp-grid{grid-template-columns:1fr}}

/* ------------------------------ calculator ------------------------------- */
.calc{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:34px;align-items:start}
.calc h2{font-size:clamp(26px,3vw,38px)}
.calc-note{font-size:14px;color:var(--ink-dim);margin-top:14px;max-width:40ch}
.calc-card{border-radius:22px;border:1px solid var(--card-brd);background:#fff;
  padding:24px;box-shadow:0 14px 44px rgba(4,16,40,.07)}
.calc-field{margin-bottom:14px}
.calc-field label{display:block;font-size:13px;font-weight:600;margin-bottom:5px}
.calc-field input{width:100%;padding:11px 13px;border-radius:11px;border:1px solid rgba(16,22,35,.16);
  font:inherit;font-size:15px;background:#fafcfd}
.calc-field input:focus{outline:2px solid var(--accent);outline-offset:1px}
.calc-out{margin-top:18px;padding-top:16px;border-top:1px dashed rgba(16,22,35,.14)}
.calc-line{display:flex;justify-content:space-between;align-items:baseline;padding:6px 0}
.calc-line span{font-size:14px;color:var(--ink-dim)}
.calc-line b{font-family:var(--head);font-size:25px;letter-spacing:-.03em;color:var(--accent-deep)}
.calc-line.year b{font-size:31px}
.calc-formula{margin-top:11px;font-size:12px;color:var(--ink-dim)}
@media (max-width:860px){.calc{grid-template-columns:1fr}}

/* --------------------------- pilot + lead form ---------------------------- */
.pilot-band{background:linear-gradient(180deg,#091430 0%,#113e9c 55%,#0086d8 100%);
  padding:56px 0}
.pilot-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px;align-items:start}
.pilot-copy{color:var(--snow)}
.pilot-copy h2{font-size:clamp(26px,3.2vw,40px);color:#fff}
.pilot-points{margin-top:22px;display:flex;flex-direction:column;gap:13px}
.pilot-point{display:flex;gap:11px;font-size:14.5px;color:var(--snow-dim)}
.pilot-point b{color:var(--snow)}
.pilot-point .on-mark{background:rgba(255,255,255,.16);color:#fff}
.form-card{border-radius:22px;padding:26px;background:rgba(255,255,255,.07);border:1px solid var(--glass-brd);
  backdrop-filter:blur(14px) saturate(1.25);-webkit-backdrop-filter:blur(14px) saturate(1.25)}
.form-card .field{margin-bottom:13px}
.form-card .form-closed{margin-top:11px;font-size:12px;color:var(--snow-dim)}
.form-card label{display:block;font-size:12.5px;font-weight:600;color:var(--snow);margin-bottom:5px}
.form-card .input{width:100%;padding:11px 13px;border-radius:11px;border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.09);color:#fff;font:inherit;font-size:15px}
.form-card .input::placeholder{color:rgba(239,246,252,.45)}
.form-card .input:focus{outline:2px solid var(--focus);outline-offset:1px}
.hp-field{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.consent-field{display:flex;gap:10px;align-items:flex-start;margin:15px 0;font-size:12.5px;color:var(--snow-dim)}
.consent-field a{color:#c2e6fc}
.form-card .btn{width:100%}
.form-card .micro{margin-top:11px;font-size:12px;color:var(--snow-dim)}
@media (max-width:860px){.pilot-grid{grid-template-columns:1fr}}

/* --------------------------------- faq ------------------------------------ */
.faq{max-width:760px;margin:0 auto}
.faq details{border:1px solid var(--card-brd);border-radius:16px;background:#fff;
  padding:4px 22px;margin-bottom:10px}
.faq summary{cursor:pointer;font-weight:700;font-family:var(--head);letter-spacing:-.015em;
  font-size:15.5px;padding:14px 0;list-style:none;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);
  font-size:20px;color:var(--accent)}
.faq details[open] summary::after{content:"–"}
.faq details p{padding:0 0 15px;color:var(--ink-dim);font-size:14px}

/* -------------------------------- footer ---------------------------------- */
.footer{background:linear-gradient(180deg,#070b12 0%,#0a1630 34%,#113e9c 62%,#0070f0 82%,#00d9e8 100%);
  color:var(--snow-dim);padding:48px 0 0;overflow:hidden;
  border-radius:var(--frame-r);margin:0 var(--frame-m) var(--frame-m)}
.giant{display:block;text-align:center;font-family:var(--head);font-weight:700;
  letter-spacing:-.04em;line-height:.78;font-size:clamp(110px,15.5vw,230px);
  color:rgba(255,255,255,.32);margin:34px 0 -0.16em;user-select:none;pointer-events:none}
.footer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:34px;align-items:start}
.footer img{height:24px;width:auto;margin-bottom:12px}
.footer .micro{font-size:12.5px;line-height:1.6}
.footer-links{display:block;columns:2;column-gap:34px;max-width:440px}
.footer-links a{display:block;margin-bottom:7px;break-inside:avoid;color:var(--snow-dim);text-decoration:none;font-size:13.5px}
.footer-links a:hover{color:var(--snow)}
.footer-bottom{margin-top:28px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);font-size:12.5px}
@media (max-width:820px){.footer-grid{grid-template-columns:1fr}.footer-links{columns:1}}

/* --------------------------- reveal on scroll ----------------------------- */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease;transition-delay:var(--d,0s)}
.reveal.in{opacity:1;transform:none}
.no-js .reveal{opacity:1;transform:none}

/* --------------------- reduced motion & no-JS honesty --------------------- */
@media (prefers-reduced-motion:reduce){
  .tiles i{transition:none;opacity:.2}         /* the layer stays, the run stops */
  .tiles i.lit{opacity:.2}
  .reveal{opacity:1;transform:none;transition:none}
  .wf-step,.btn{transition:none}
  .wf-step.active.playing .wf-progress i{animation:none;transform:scaleX(1)}
  .scene-el{transition:none}
}
.no-js .scene-el{opacity:1;transform:none;position:static}
.no-js .wf-scene .scene-el[data-at="4"]{display:none}
.no-js .scene-el[data-at="6"]{opacity:1}

/* --------------------- «Обсудить пилот» button (T05, design §3.2) --------------------- */
:root{--brand:#0038A8;--brand-glow:rgba(0,56,168,.35)}
a.btn.btn-pilot,button.btn.btn-pilot,
a.btn.btn-pilot:hover,button.btn.btn-pilot:hover,
a.btn.btn-pilot:active,button.btn.btn-pilot:active,
a.btn.btn-pilot:focus-visible,button.btn.btn-pilot:focus-visible,
button.btn.btn-pilot:disabled{background:var(--brand);color:#fff}
a.btn.btn-pilot,button.btn.btn-pilot{border:2px solid transparent;padding:11px 22px;
  transition:transform .18s ease,box-shadow .15s ease}
a.btn.btn-pilot:hover,button.btn.btn-pilot:hover{transform:translateY(-1px);box-shadow:0 6px 16px var(--brand-glow)}
a.btn.btn-pilot:active,button.btn.btn-pilot:active{transform:translateY(0);box-shadow:inset 0 2px 4px rgba(0,0,0,.35);
  transition:transform .18s ease,box-shadow 0s} /* pressed shadow is instant: outer→inset cannot interpolate */
a.btn.btn-pilot:focus-visible,button.btn.btn-pilot:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
/* dark and blue surfaces: white border in every state, white focus ring, halo on hover */
.page-hero a.btn.btn-pilot,.section.band a.btn.btn-pilot,.pilot-band a.btn.btn-pilot,
.page-hero button.btn.btn-pilot,.section.band button.btn.btn-pilot,.pilot-band button.btn.btn-pilot,
.page-hero a.btn.btn-pilot:hover,.section.band a.btn.btn-pilot:hover,.pilot-band a.btn.btn-pilot:hover,
.page-hero button.btn.btn-pilot:hover,.section.band button.btn.btn-pilot:hover,.pilot-band button.btn.btn-pilot:hover,
.page-hero a.btn.btn-pilot:active,.section.band a.btn.btn-pilot:active,.pilot-band a.btn.btn-pilot:active,
.page-hero button.btn.btn-pilot:active,.section.band button.btn.btn-pilot:active,.pilot-band button.btn.btn-pilot:active,
.page-hero a.btn.btn-pilot:focus-visible,.section.band a.btn.btn-pilot:focus-visible,.pilot-band a.btn.btn-pilot:focus-visible,
.page-hero button.btn.btn-pilot:focus-visible,.section.band button.btn.btn-pilot:focus-visible,
.pilot-band button.btn.btn-pilot:focus-visible{border-color:#fff;outline-color:#fff}
/* fill must also beat `.section.band .btn-primary{background:#fff}` (0,3,0) in redesign-pages.css */
.page-hero a.btn.btn-pilot,.section.band a.btn.btn-pilot,.pilot-band a.btn.btn-pilot,
.page-hero button.btn.btn-pilot,.section.band button.btn.btn-pilot,.pilot-band button.btn.btn-pilot,
.page-hero a.btn.btn-pilot:hover,.section.band a.btn.btn-pilot:hover,.pilot-band a.btn.btn-pilot:hover,
.page-hero button.btn.btn-pilot:hover,.section.band button.btn.btn-pilot:hover,.pilot-band button.btn.btn-pilot:hover,
.page-hero a.btn.btn-pilot:active,.section.band a.btn.btn-pilot:active,.pilot-band a.btn.btn-pilot:active,
.page-hero button.btn.btn-pilot:active,.section.band button.btn.btn-pilot:active,.pilot-band button.btn.btn-pilot:active,
.page-hero a.btn.btn-pilot:focus-visible,.section.band a.btn.btn-pilot:focus-visible,.pilot-band a.btn.btn-pilot:focus-visible,
.page-hero button.btn.btn-pilot:focus-visible,.section.band button.btn.btn-pilot:focus-visible,
.pilot-band button.btn.btn-pilot:focus-visible{background:var(--brand);color:#fff}
.page-hero a.btn.btn-pilot:hover,.section.band a.btn.btn-pilot:hover,.pilot-band a.btn.btn-pilot:hover,
.page-hero button.btn.btn-pilot:hover,.section.band button.btn.btn-pilot:hover,
.pilot-band button.btn.btn-pilot:hover{box-shadow:0 0 0 3px rgba(255,255,255,.28)}
/* must follow the dark hover rule (same specificity) so pressing while hovering shows the pressed state */
.page-hero a.btn.btn-pilot:active,.section.band a.btn.btn-pilot:active,.pilot-band a.btn.btn-pilot:active,
.page-hero button.btn.btn-pilot:active,.section.band button.btn.btn-pilot:active,
.pilot-band button.btn.btn-pilot:active{box-shadow:inset 0 2px 4px rgba(0,0,0,.35)}
a.nav-cta.btn-pilot{padding:9px 18px}
@media (max-width:560px){a.nav-cta.btn-pilot{padding:7px 10px}}
button.btn.btn-pilot:disabled,button.btn.btn-pilot:disabled:hover,
button.btn.btn-pilot:disabled:active{transform:none;box-shadow:none;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){
  a.btn.btn-pilot,button.btn.btn-pilot,a.btn.btn-pilot:active,button.btn.btn-pilot:active{transition:none}
  a.btn.btn-pilot:hover,button.btn.btn-pilot:hover,a.btn.btn-pilot:active,button.btn.btn-pilot:active{transform:none}
}
/* T11 axe: client bubbles are light, so their small meta and voice tag need dark text (≥ 4.5:1) */
.bubble.client .b-meta,.bubble.client .voice-tag,.chat .bubble.agent .voice-tag{opacity:1;color:#4f5a6b}
