/* ============================================================
   электрон: стили сайта
   Спокойная редакционная система: тёплая бумага, тонкие линейки,
   типографика вместо украшений.
   ============================================================ */

:root {
  --paper: #f5f4f0;
  --paper-2: #efeee8;
  --white: #fffffd;
  --ink: #18191c;
  --ink-2: #44464c;
  --gray: #6a6c72;
  --blue: #3d5df5;
  --blue-dark: #2b46cc;
  --blue-soft: #e9edfd;
  --hairline: #e3e1da;
  --hairline-dark: rgba(255, 255, 255, 0.13);
  --radius: 10px;
  --font-display: 'Onest', system-ui, sans-serif;
  --font-body: 'Golos Text', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  font-feature-settings: 'tnum' 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }

.container { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
i { font-style: normal; }

/* Мелкие подписи. Раньше это был моноширинный капс, теперь обычный текст. */
.mono {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
}
.code { font-family: var(--font-mono); font-size: 0.8em; }

/* ============================================================
   Buttons & links
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.94rem;
  padding: 14px 24px; border-radius: var(--radius);
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--blue); color: #fff; }
.btn--line { border: 1px solid #cfccc3; color: var(--ink); background: var(--white); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 0.84rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 1rem; color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  transition: color 0.25s, border-color 0.25s;
}
.link-arrow svg { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--blue); border-color: var(--blue); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 244, 240, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.is-scrolled { border-bottom-color: var(--hairline); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__atom { width: 32px; height: 32px; color: var(--blue); overflow: visible; transition: transform 0.6s var(--ease); }
.logo:hover .logo__atom { transform: rotate(120deg); }
.logo__word {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em;
  color: var(--ink);
}
.logo--invert .logo__word { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 500; font-size: 0.92rem; color: var(--ink-2);
  padding: 9px 14px; border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--ink); background: rgba(24, 25, 28, 0.05); }
.nav__link svg { width: 10px; height: 7px; transition: transform 0.25s var(--ease); }

.nav__item--drop { position: relative; }
.nav__item--drop.is-open .nav__drop-btn svg,
.nav__item--drop:hover .nav__drop-btn svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  width: 360px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(16, 18, 24, 0.12);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav__item--drop:hover .dropdown,
.nav__item--drop.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }

.dropdown__item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 14px; border-radius: 8px;
  transition: background 0.2s;
}
.dropdown__item:hover { background: var(--paper); }
.dropdown__num {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  color: var(--blue); padding-top: 3px;
}
.dropdown__name { display: block; font-weight: 600; font-size: 0.95rem; }
.dropdown__desc { display: block; font-size: 0.82rem; color: var(--gray); margin-top: 2px; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.header__login {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--ink);
  padding: 9px 14px; border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: var(--white);
  transition: border-color 0.2s, color 0.2s;
}
.header__login svg { width: 16px; height: 16px; }
.header__login:hover { border-color: var(--ink); }

.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-switch__btn {
  font-family: var(--font-body); font-size: 0.84rem; font-weight: 600;
  color: var(--gray); padding: 4px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn.is-active { color: var(--ink); border-bottom-color: var(--blue); }
.lang-switch__sep { color: var(--hairline); }

.burger { display: none; flex-direction: column; gap: 6px; padding: 10px 4px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: 0.3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 90;
  background: var(--paper);
  padding: 40px 0;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: 0.35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__label { font-size: 0.86rem; font-weight: 500; color: var(--gray); margin: 28px 0 6px; }
.mobile-menu__label:first-child { margin-top: 0; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
}
.mobile-menu__nav a span { font-size: 0.85rem; font-weight: 500; color: var(--blue); }
.mobile-menu__cta { margin-top: 32px; width: 100%; }
.mobile-menu__login { margin-top: 12px; width: 100%; }

/* ============================================================
   Reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 104px 0; border-top: 1px solid var(--hairline); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
  font-weight: 600; line-height: 1.14; letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 22px;
}
.section__lead { color: var(--ink-2); font-size: 1.1rem; max-width: 660px; }

/* ============================================================
   Hero (home)
   ============================================================ */
.hero { position: relative; padding: 110px 0 0; overflow: hidden; }

.hero__atom {
  position: absolute; top: -40px; right: -160px;
  width: 620px; opacity: 0.7;
  pointer-events: none;
}
.hero__ring { transform-origin: 300px 300px; }
.hero__ring--1 { animation: ringSpin 60s linear infinite; }
.hero__ring--2 { animation: ringSpin 80s linear infinite reverse; }
.hero__ring--3 { animation: ringSpin 100s linear infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.4vw, 5.2rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.028em;
  margin-bottom: 52px;
}
.hero__title .accent { color: var(--blue); }

.hero__row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: end;
  padding-bottom: 72px;
}
.hero__lead { max-width: 580px; color: var(--ink-2); font-size: 1.12rem; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__facts { border-top: 1px solid var(--hairline); background: var(--white); }
.hero__facts-row {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 20px 0; color: var(--gray);
}

/* ============================================================
   Manifesto
   ============================================================ */
.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  font-weight: 500; line-height: 1.34; letter-spacing: -0.012em;
  max-width: 980px;
}
.manifesto__muted { color: var(--gray); }

/* ============================================================
   Product index rows
   ============================================================ */
.products .container { margin-bottom: 36px; }
.product-index { border-top: 1px solid var(--hairline); }
.product-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.3fr 60px;
  align-items: center; gap: 32px;
  width: min(1280px, calc(100% - 48px)); margin-inline: auto;
  padding: 38px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding 0.3s var(--ease);
}
.product-row__num { color: var(--blue); }
.product-row__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 600; letter-spacing: -0.02em;
  transition: color 0.25s;
}
.product-row__desc { color: var(--gray); font-size: 0.95rem; max-width: 480px; }
.product-row__arrow { justify-self: end; }
.product-row__arrow svg {
  width: 30px; height: 30px; color: var(--ink);
  transition: transform 0.3s var(--ease), color 0.25s;
}
.product-row:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--hairline); padding-left: 20px; padding-right: 20px; }
.product-row:hover .product-row__name { color: var(--blue); }
.product-row:hover .product-row__arrow svg { transform: translateX(8px); color: var(--blue); }

/* ============================================================
   Industries ticker
   ============================================================ */
.industries .container { margin-bottom: 56px; }
.ticker {
  overflow: hidden; border-top: 1px solid var(--hairline);
  padding: 26px 0;
}
.ticker:last-child { border-bottom: 1px solid var(--hairline); }
.ticker__track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  animation: tick 40s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
  white-space: nowrap;
}
.ticker--reverse .ticker__track { animation-direction: reverse; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ============================================================
   Processes grid
   ============================================================ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
  margin-top: 56px;
}
.process-cell {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 30px 26px 36px;
  background: var(--paper);
  transition: background 0.3s;
}
.process-cell:hover { background: var(--white); }
.process-cell h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.process-cell p { color: var(--ink-2); font-size: 0.92rem; line-height: 1.55; }

/* ============================================================
   Integrations teaser
   ============================================================ */
.int-teaser__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.int-teaser__grid .section__title { margin-bottom: 0; }
.int-teaser__body p { color: var(--ink-2); margin-bottom: 28px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--ink); color: #fff;
  padding: 110px 0;
  text-align: left;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 600; letter-spacing: -0.022em; line-height: 1.1;
  margin-bottom: 22px; max-width: 760px;
}
.cta-band__sub { color: rgba(255, 255, 255, 0.65); max-width: 560px; margin-bottom: 40px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: #fff; overflow: hidden; }
.footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; padding: 72px 0 56px;
  border-top: 1px solid var(--hairline-dark);
}
.footer__brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.92rem; margin-top: 18px; max-width: 260px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { color: rgba(255, 255, 255, 0.45); margin-bottom: 8px; font-weight: 500; }
.footer__col a { color: rgba(255, 255, 255, 0.85); font-size: 0.93rem; width: fit-content; transition: color 0.2s; }
.footer__col a:hover { color: #8fa3ff; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 22px 0; color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid var(--hairline-dark);
}

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero { padding: 90px 0 70px; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.026em;
  margin-bottom: 30px; max-width: 960px;
}
/* вторая строка заголовка продолжает фразу, поэтому она серая, а не синяя */
.page-hero__title .accent { color: var(--gray); font-weight: 600; }
.page-hero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; margin-bottom: 44px; }
.page-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }


/* ============================================================
   Экран Станции: статичный макет доски задач
   ============================================================ */
.app {
  margin: 48px 0 0;
  border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(24, 25, 28, 0.03), 0 24px 60px rgba(24, 25, 28, 0.07);
}
.app__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 16px; border-bottom: 1px solid var(--hairline); background: var(--paper);
}
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcd9d0; }
.app__addr {
  margin-inline: auto; transform: translateX(-28px);
  font-size: 0.8rem; color: var(--gray);
  background: var(--white); border: 1px solid var(--hairline); border-radius: 6px; padding: 3px 18px;
}
.app__body { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 420px; }
.app__side {
  display: flex; flex-direction: column; gap: 2px;
  padding: 18px 12px; border-right: 1px solid var(--hairline); background: #fbfaf7;
}
.app__org { padding: 4px 10px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--hairline); }
.app__org b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.app__org i { font-size: 0.8rem; color: var(--gray); }
.app__nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; border-radius: 8px; font-size: 0.9rem; color: var(--ink-2);
}
.app__nav em {
  font-style: normal; font-size: 0.74rem; font-weight: 600; color: var(--gray);
  background: var(--paper-2); border-radius: 999px; padding: 1px 8px;
}
.app__nav.is-active { background: var(--blue-soft); color: var(--blue-dark); font-weight: 600; }
.app__nav.is-active em { background: var(--white); color: var(--blue); }
.app__main { padding: 22px 24px 26px; min-width: 0; }
.app__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.app__head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.app__filter { font-size: 0.82rem; color: var(--ink-2); border: 1px solid var(--hairline); border-radius: 8px; padding: 5px 12px; white-space: nowrap; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.board__col { display: flex; flex-direction: column; gap: 10px; background: var(--paper); border-radius: 10px; padding: 12px; }
.board__title { display: flex; justify-content: space-between; padding: 2px 4px 4px; font-size: 0.84rem; font-weight: 600; color: var(--ink-2); }
.board__title em { font-style: normal; font-weight: 500; color: var(--gray); }
.card { background: var(--white); border: 1px solid var(--hairline); border-radius: 9px; padding: 11px 12px; font-size: 0.88rem; line-height: 1.4; }
.card__note { margin-top: 7px; padding: 6px 8px; border-radius: 6px; background: var(--blue-soft); font-size: 0.8rem; color: var(--ink-2); }
.card__meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.78rem; color: var(--gray); }
.ava {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #c07a4f; color: #fff; font-size: 0.6rem; font-weight: 600;
}
.ava--2 { background: #5f8a6a; }
.ava--3 { background: #7a6fb3; }
.tag { padding: 1px 6px; border-radius: 4px; background: #fbe9e4; color: #b5462f; font-weight: 600; }
.card--ai { border-color: rgba(61, 93, 245, 0.35); }
.card--done > p:first-child { color: var(--gray); text-decoration: line-through; text-decoration-color: rgba(106, 108, 114, 0.5); }

/* ============================================================
   Feature table (rows with icon)
   ============================================================ */
.feature-table { border-top: 1px solid var(--hairline); margin-top: 56px; }
.feature-row {
  display: grid; grid-template-columns: 60px 1fr 1.4fr;
  gap: 32px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--hairline);
  transition: background 0.25s;
}
.feature-row__icon {
  width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); background: var(--white);
}
.feature-row__icon svg { width: 20px; height: 20px; }
.feature-row h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; letter-spacing: -0.01em;
  padding-top: 8px;
}
.feature-row p { color: var(--ink-2); font-size: 0.97rem; padding-top: 8px; }
.feature-row p b { color: var(--ink-2); font-weight: 600; }

/* ============================================================
   Two-column feature blocks
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split h2 { margin-bottom: 22px; }
.split .section__lead { margin-bottom: 30px; }

.checklist { list-style: none; display: flex; flex-direction: column; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--hairline);
  font-size: 0.96rem;
}
.checklist li:first-child { border-top: 1px solid var(--hairline); }
.checklist li svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 4px; }
.checklist b { font-weight: 600; }
.checklist span { color: var(--gray); display: block; font-size: 0.88rem; }

/* ============================================================
   Deploy cards
   ============================================================ */
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; margin-top: 56px; }
.deploy-card { padding: 44px 40px; background: var(--white); }
.deploy-card + .deploy-card { border-left: 1px solid var(--hairline); }
.deploy-card .mono { color: var(--blue); display: block; margin-bottom: 16px; }
.deploy-card h3 {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 600;
  letter-spacing: -0.015em; margin-bottom: 12px;
}
.deploy-card > p { color: var(--gray); font-size: 0.95rem; margin-bottom: 26px; }
.deploy-card ul { list-style: none; }
.deploy-card li {
  display: flex; gap: 12px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--hairline);
  font-size: 0.92rem; font-weight: 500;
}
.deploy-card li:last-child { border-bottom: 0; }
.deploy-card li svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }

/* ============================================================
   Телефон: экран прораба
   ============================================================ */
.phone__status { display: flex; justify-content: space-between; padding: 14px 24px 4px; font-size: 0.72rem; font-weight: 600; }
.ph-head { padding: 10px 20px 14px; }
.ph-head__date { font-size: 0.78rem; color: var(--gray); }
.ph-head__title { margin: 2px 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.1; }
.ph-head__obj { font-size: 0.82rem; color: var(--ink-2); }
.ph-approve { margin: 0 14px; padding: 14px 16px; border: 1px solid var(--hairline); border-radius: 16px; background: var(--white); }
.ph-approve__label { font-size: 0.74rem; font-weight: 600; color: var(--blue); }
.ph-approve__title { margin: 4px 0 2px; font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.ph-approve__sum { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.ph-approve__btns { display: flex; gap: 8px; margin-top: 12px; }
.ph-btn { flex: 1; padding: 9px 0; border: 1px solid var(--hairline); border-radius: 10px; text-align: center; font-size: 0.8rem; font-weight: 600; }
.ph-btn--ok { background: var(--blue); border-color: var(--blue); color: #fff; }
.ph-list { list-style: none; flex: 1; margin: 12px 14px 0; }
.ph-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 4px; border-bottom: 1px solid var(--hairline); font-size: 0.84rem; line-height: 1.4; }
.ph-time { min-width: 36px; font-weight: 600; color: var(--blue); }
.ph-check { width: 18px; height: 18px; flex-shrink: 0; margin: 1px 18px 0 0; border: 1.5px solid #c9c6bd; border-radius: 50%; }
.ph-check.is-done {
  border-color: var(--blue);
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ph-check.is-done + span { color: var(--gray); text-decoration: line-through; }
.phone__dock {
  display: flex; justify-content: space-around;
  padding: 12px 10px 18px; border-top: 1px solid var(--hairline); background: var(--white);
  font-size: 0.72rem; font-weight: 600; color: var(--gray);
}
.phone__dock .is-active { color: var(--blue); }

/* ============================================================
   нода 0: чертёж
   ============================================================ */
.drawing-section { padding-top: 56px; }
.drawing { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.drawing__fig {
  margin: 0; padding: 28px;
  border: 1px solid var(--hairline); border-radius: 14px;
  background-color: #fbfaf7;
  background-image: linear-gradient(rgba(24, 25, 28, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 25, 28, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}
.drawing__fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.dw-body { fill: var(--white); stroke: var(--ink); stroke-width: 1.4; }
.dw-screen { fill: #18191c; }
.dw-code { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.12em; fill: #8fa3ff; }
.dw-ring { fill: none; stroke: var(--blue); stroke-width: 1.4; }
.dw-line { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.dw-fine { fill: none; stroke: var(--gray); stroke-width: 1; stroke-linecap: round; }
.dw-part { fill: var(--ink); }
.dw-hidden { fill: none; stroke: var(--gray); stroke-width: 1; stroke-dasharray: 5 4; }
.dw-dim line { stroke: var(--gray); stroke-width: 1; }
.dw-dimtext text { font-family: var(--font-mono); font-size: 13px; fill: var(--ink-2); }
.dw-label text { font-family: var(--font-body); font-size: 13px; fill: var(--gray); }
.dw-num circle { fill: var(--blue); }
.dw-num text { font-family: var(--font-body); font-size: 12px; font-weight: 600; fill: #fff; text-anchor: middle; }
.drawing__side .section__title { margin-bottom: 16px; }
.drawing__legend { list-style: none; counter-reset: dl; }
.drawing__legend li {
  counter-increment: dl;
  display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--hairline);
  font-size: 0.95rem; line-height: 1.5; color: var(--ink-2);
}
.drawing__legend li::before {
  content: counter(dl); flex-shrink: 0;
  width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 600;
}
.drawing__note { margin-top: 16px; font-size: 0.86rem; color: var(--gray); }

/* specs table */
.spec-table { border-top: 1px solid var(--hairline); margin-top: 56px; }
.spec-row {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 32px; padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}
.spec-row dt { font-size: 0.92rem; font-weight: 500; color: var(--gray); padding-top: 1px; }
.spec-row dd { font-weight: 500; font-size: 1rem; }

/* radio protocol band */
.radio-band { background: var(--ink); color: #fff; padding: 110px 0; }
.radio-band .section__title { color: #fff; }
.radio-band .section__lead { color: rgba(255,255,255,0.65); }
.radio-band .feature-table { border-top-color: var(--hairline-dark); }
.radio-band .feature-row { border-bottom-color: var(--hairline-dark); }
.radio-band .feature-row__icon { background: transparent; border-color: var(--hairline-dark); color: #7b94ff; }
.radio-band .feature-row p { color: rgba(255,255,255,0.55); }
.radio-band .feature-row p b { color: rgba(255,255,255,0.85); }

.radio-diagram {
  display: flex; align-items: center; justify-content: space-between; gap: 0;
  border: 1px solid var(--hairline-dark); border-radius: 12px;
  padding: 44px 48px; margin-top: 56px;
  position: relative; overflow: hidden;
}
.radio-node { text-align: center; position: relative; z-index: 1; min-width: 120px; }
.radio-node__box {
  width: 74px; height: 74px; margin: 0 auto 14px;
  border: 1px solid var(--hairline-dark); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: #7b94ff;
}
.radio-node__box svg { width: 30px; height: 30px; }
.radio-node .mono { color: rgba(255, 255, 255, 0.55); }
.radio-link { flex: 1; height: 0; margin: 0 18px 34px; border-top: 1px dashed rgba(143, 163, 255, 0.5); }
/* ============================================================
   Integrations page
   ============================================================ */
.int-count {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  color: var(--blue);
}
.int-group { border-top: 1px solid var(--hairline); padding: 44px 0; }
.int-group__grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.int-group__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.int-group__title .mono { display: block; color: var(--blue); margin-bottom: 10px; font-weight: 500; }
.int-list { display: flex; flex-wrap: wrap; gap: 10px; }
.int-item {
  border: 1px solid var(--hairline); border-radius: 999px;
  background: var(--white);
  padding: 9px 20px; font-size: 0.9rem; font-weight: 500;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.int-item:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.int-item--more { border-style: dashed; color: var(--gray); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.08;
  margin-bottom: 24px;
}
.contact-info > p { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 40px; max-width: 460px; }
.contact-steps { list-style: none; counter-reset: step; }
.contact-steps li {
  counter-increment: step;
  display: flex; gap: 16px; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--hairline);
  color: var(--ink-2); font-size: 0.96rem;
}
.contact-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue);
  font-size: 0.82rem; font-weight: 600;
}
.contact-email { margin-top: 40px; }
.contact-email .mono { color: var(--gray); display: block; margin-bottom: 8px; }
.contact-email a { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; border-bottom: 2px solid var(--blue); transition: color 0.2s; }
.contact-email a:hover { color: var(--blue); }

.wform {
  background: var(--white); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 44px 40px;
  display: flex; flex-direction: column; gap: 18px;
}
.wform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wform__field label {
  display: block;
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink-2); margin-bottom: 7px;
}
.wform__field input, .wform__field textarea, .wform__field select {
  width: 100%; padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--hairline); border-radius: 8px;
  color: var(--ink); font: inherit; font-size: 0.95rem;
  outline: none; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  resize: vertical;
}
.wform__field select { appearance: none; cursor: pointer; }
.wform__field input:focus, .wform__field textarea:focus, .wform__field select:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(61, 93, 245, 0.12);
}
.wform__field.is-error input, .wform__field.is-error select { border-color: #d23c50; box-shadow: 0 0 0 3px rgba(210, 60, 80, 0.1); }
.wform__select-wrap { position: relative; }
.wform__select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.6px solid var(--gray); border-bottom: 1.6px solid var(--gray);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.wform__submit { justify-content: center; margin-top: 8px; }
.wform__note { color: var(--gray); font-size: 0.78rem; text-align: center; }

.wform__success { display: none; text-align: center; padding: 40px 0 20px; }
.wform__success.is-shown { display: block; animation: successIn 0.6s var(--ease); }
@keyframes successIn { from { opacity: 0; transform: translateY(18px); } }
.wform__success svg { width: 72px; height: 72px; margin: 0 auto 22px; }
.success__circle { stroke: var(--blue); stroke-width: 2.2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 0.8s var(--ease) 0.1s forwards; }
.success__check { stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s var(--ease) 0.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wform__success h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin-bottom: 10px; }
.wform__success p { color: var(--gray); }

/* ============================================================
   Форма: согласие, ловушка для ботов, ошибка
   ============================================================ */
.wform { position: relative; }
.wform__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wform__consent { display: flex; gap: 10px; align-items: flex-start; }
.wform__field.wform__consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; padding: 0; accent-color: var(--blue); cursor: pointer; }
.wform__field.wform__consent label { margin: 0; font-size: 0.9rem; font-weight: 400; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.wform__consent a { color: var(--blue); border-bottom: 1px solid currentColor; }
.wform__consent.is-error label { color: #b5302f; }
.wform__error { padding: 10px 14px; border-radius: 8px; background: #fbe9e4; color: #9c2b22; font-size: 0.9rem; }
.wform__submit[disabled] { opacity: 0.6; cursor: progress; }

/* ============================================================
   Документы: переключатель между страницами
   ============================================================ */
.legal__nav { display: flex; flex-wrap: wrap; gap: 6px; }
.legal__nav a {
  padding: 6px 12px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--white);
  font-size: 0.88rem; font-weight: 500; color: var(--ink-2); transition: border-color 0.2s;
}
.legal__nav a:hover { border-color: var(--ink); }
.legal__nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ============================================================
   404
   ============================================================ */
.nf { padding: 110px 0 140px; }
.nf__code {
  margin-bottom: 4px;
  font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  font-size: clamp(5rem, 16vw, 11rem); color: #dde3fb;
}

/* ============================================================
   Note strip (cross-product hints)
   ============================================================ */
.note-strip {
  border: 1px solid var(--hairline); border-left: 3px solid var(--blue);
  border-radius: 8px; background: var(--white);
  padding: 22px 26px; margin-top: 48px;
  display: flex; gap: 16px; align-items: flex-start;
  font-size: 0.95rem; color: var(--ink-2);
}
.note-strip svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.note-strip a { color: var(--blue); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .drawing { grid-template-columns: 1fr; gap: 36px; }
  .app__body { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .int-teaser__grid { grid-template-columns: 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .split--rev > :first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__row { grid-template-columns: 1fr; align-items: start; }
  .hero__atom { right: -260px; opacity: 0.3; }
  .product-row { grid-template-columns: 50px 1fr 60px; }
  .product-row__desc { display: none; }
}


@media (max-width: 880px) {
  .nav { display: none; }
  .header .btn { display: none; }
  .burger { display: flex; }
  .feature-row { grid-template-columns: 60px 1fr; }
  .feature-row p { grid-column: 2; padding-top: 0; margin-top: -8px; }
  .deploy-grid { grid-template-columns: 1fr; }
  .deploy-card + .deploy-card { border-left: 0; border-top: 1px solid var(--hairline); }
  .int-group__grid { grid-template-columns: 1fr; gap: 22px; }
  .radio-diagram { flex-direction: column; gap: 30px; }
  .radio-link { width: 0; height: 44px; flex: none; margin: 0; border-top: 0; border-left: 1px dashed rgba(143, 163, 255, 0.5); }
}

@media (max-width: 600px) {
  .board { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .board__col { scroll-snap-align: start; }
  .app__main { padding: 16px; }
  .app__addr { transform: none; }
  .drawing__fig { padding: 14px; }
  .nf { padding: 72px 0 96px; }
  .header__login { display: none; }
  .section { padding: 72px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .wform { padding: 30px 22px; }
  .wform__row { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
  .hero__facts-row { flex-direction: column; gap: 10px; }
}

/* ============================================================
   Прелоадер (только при первом заходе за визит)
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.75s;
}
.preloader.is-done { transform: translateY(-100%); visibility: hidden; }
.no-intro .preloader { display: none; }
.preloader__mark { display: flex; align-items: center; gap: 14px; color: var(--blue); }
.preloader__atom { width: 54px; height: 54px; overflow: visible; animation: plSpin 2.4s linear 0.9s infinite; }
.pl-orbit { stroke-dasharray: 100; stroke-dashoffset: 100; animation: plDraw 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.pl-orbit--2 { animation-delay: 0.12s; }
.pl-orbit--3 { animation-delay: 0.24s; }
.pl-core { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: plPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s forwards; }
.preloader__word {
  display: inline-block; overflow: hidden; padding-bottom: 0.08em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ink);
}
.preloader__word i { display: inline-block; transform: translateY(110%); animation: plWord 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards; }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
@keyframes plPop { to { transform: scale(1); } }
@keyframes plWord { to { transform: none; } }
@keyframes plSpin { to { transform: rotate(360deg); } }

/* ============================================================
   Scroll progress
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--blue); z-index: 300;
}

/* ============================================================
   Split-title word reveal
   ============================================================ */
.split-w {
  display: inline-block; overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em; margin-bottom: -0.12em;
}
.split-w i {
  display: inline-block;
  transform: translateY(118%);
  transition: transform 0.85s var(--ease);
}
body.intro-done .split-w i { transform: none; }

/* ============================================================
   Hero extras: electrons, quick links
   ============================================================ */
.hero > .container { position: relative; z-index: 1; }
.hero__atom { z-index: 0; }
.hero__electron {
  position: absolute; top: 50%; left: 50%;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(61, 93, 245, 0.65);
}
.hero__facts { position: relative; z-index: 1; }
.hero__quick {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gray);
  transition: color 0.25s;
  padding: 2px 0;
}
.hero__quick span { color: var(--blue); font-weight: 600; }
.hero__quick i { color: var(--ink-2); font-weight: 500; }
.hero__quick:hover i { color: var(--ink); }
.hero__quick svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.hero__quick:hover { color: var(--ink); }
.hero__quick:hover svg { transform: translateX(4px); }

/* ============================================================
   Made in Russia: badges + trust grid
   ============================================================ */
.footer__badges { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.ru-badge {
  display: inline-flex; align-items: center; gap: 9px;
  width: fit-content;
  border: 1px solid var(--hairline-dark); border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.76rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}
.ru-badge svg { width: 15px; height: 15px; color: #7b94ff; flex-shrink: 0; }
.ru-flag {
  display: inline-flex; flex-direction: column;
  width: 17px; height: 12px; border-radius: 2px; overflow: hidden;
  flex-shrink: 0;
}
.ru-flag i { flex: 1; }
.ru-flag i:nth-child(1) { background: #f2f3f7; }
.ru-flag i:nth-child(2) { background: #2f5bd7; }
.ru-flag i:nth-child(3) { background: #d6453d; }

.footer__legal { display: flex; gap: 22px; }
.footer__legal a { color: rgba(255, 255, 255, 0.45); transition: color 0.2s; }
.footer__legal a:hover { color: #7b94ff; }

.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 52px;
}
.trust-card {
  border: 1px solid var(--hairline); border-radius: 12px;
  background: var(--white);
  padding: 30px 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.trust-card:hover { border-color: rgba(61, 93, 245, 0.4); box-shadow: 0 18px 44px rgba(16, 18, 24, 0.07); }
.trust-card__icon {
  width: 46px; height: 46px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); color: var(--blue);
  margin-bottom: 20px;
}
.trust-card__icon svg { width: 21px; height: 21px; }
.trust-card h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.trust-card p { color: var(--ink-2); font-size: 0.92rem; line-height: 1.6; }

/* ============================================================
   Pricing
   ============================================================ */
.price-toggle {
  display: inline-flex; gap: 4px;
  border: 1px solid var(--hairline); border-radius: 10px;
  padding: 4px; background: var(--white);
}
.price-toggle__btn {
  padding: 9px 18px; border-radius: 7px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--gray);
  transition: background 0.25s, color 0.25s;
}
.price-toggle__btn:hover { color: var(--ink); }
.price-toggle__btn.is-active { background: var(--ink); color: #fff; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.price-card {
  position: relative;
  border: 1px solid var(--hairline); border-radius: 14px;
  background: var(--white);
  padding: 36px 32px;
  display: flex; flex-direction: column;
}
.price-card__tag { color: var(--blue); margin-bottom: 16px; }
.price-card h2 {
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 600;
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.price-card__desc { color: var(--gray); font-size: 0.9rem; min-height: 44px; margin-bottom: 24px; }
.price-card__value {
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: 24px; margin-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
}
.price-num, .price-card__custom {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-card__custom { font-size: 1.9rem; }
.price-card__unit { font-size: 0.95rem; font-weight: 600; }
.price-card__unit i { display: block; font-size: 0.76rem; color: var(--gray); font-weight: 500; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; }
.price-list svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; margin-top: 4px; }
.price-card__btn { justify-content: center; }
.price-card__badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--blue); color: #fff;
  border-radius: 999px; padding: 5px 14px;
}
.price-card--featured {
  background: var(--ink); color: #fff;
  border-color: var(--ink);
  box-shadow: 0 30px 70px rgba(16, 18, 24, 0.25);
}
.price-card--featured .price-card__desc,
.price-card--featured .price-card__unit i { color: rgba(255, 255, 255, 0.55); }
.price-card--featured .price-card__value { border-bottom-color: var(--hairline-dark); }
.price-card--featured .price-list svg { color: #7b94ff; }
.price-card--featured .price-card__tag { color: #7b94ff; }

.hw-strip {
  display: flex; align-items: center; gap: 30px;
  border: 1px solid var(--hairline); border-radius: 14px;
  background: var(--white);
  padding: 30px 34px; margin-top: 28px;
}
.hw-strip__device {
  width: 76px; height: 76px; border-radius: 18px; flex-shrink: 0;
  background: linear-gradient(150deg, #1a1d26, #0d0f15);
  border: 1px solid #2a2e3c;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.hw-strip__device svg { width: 34px; height: 34px; }
.hw-strip__body { flex: 1; }
.hw-strip__body h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.hw-strip__body p { color: var(--gray); font-size: 0.9rem; max-width: 440px; }
.hw-strip__price { text-align: right; }
.hw-strip__price .mono { display: block; color: var(--gray); margin-bottom: 6px; }
.hw-strip__price strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.hw-strip__price strong i { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--gray); font-weight: 500; }
.hw-strip__sub { display: block; color: var(--gray); font-size: 0.78rem; margin-top: 8px; max-width: 260px; }

/* ============================================================
   Legal pages
   ============================================================ */
.legal { max-width: 760px; }
.legal__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700; letter-spacing: -0.022em; line-height: 1.08;
  margin: 22px 0 12px;
}
.legal__updated { color: var(--gray); margin-bottom: 50px; }
.legal__body h2 {
  display: flex; gap: 14px; align-items: baseline;
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  padding-top: 30px; border-top: 1px solid var(--hairline);
}
.legal__body h2 .mono { color: var(--blue); }
.legal__body p { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }

/* ============================================================
   Cookie bar
   ============================================================ */
.cookie-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 700;
  max-width: 400px;
  background: var(--white);
  border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(16, 18, 24, 0.18);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 16px;
  animation: cookieIn 0.6s var(--ease) 1.2s backwards;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(24px); } }
.cookie-bar.is-hidden { opacity: 0; transform: translateY(24px); pointer-events: none; }
.cookie-bar p { font-size: 0.86rem; color: var(--ink-2); line-height: 1.55; }
.cookie-bar a { color: var(--blue); font-weight: 600; border-bottom: 1px solid currentColor; }
.cookie-bar .btn { align-self: flex-start; }
@media (max-width: 600px) {
  .board { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .board__col { scroll-snap-align: start; }
  .app__main { padding: 16px; }
  .app__addr { transform: none; }
  .drawing__fig { padding: 14px; }
  .nf { padding: 72px 0 96px; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ============================================================
   Page transitions
   ============================================================ */
body { opacity: 1; transition: opacity 0.22s ease; }
body.page-leaving { opacity: 0; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Отступы секций и сетки (вместо inline-стилей)
   ============================================================ */
.section--first { border-top: 0; padding-top: 80px; }
.section--tight { padding-top: 64px; }
.int-group:first-child { border-top: 0; }
.int-group:last-child { border-bottom: 1px solid var(--hairline); }
.process-grid--2 { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
@media (max-width: 600px) {
  .process-grid--2 { grid-template-columns: 1fr; }
  .section--first { padding-top: 56px; }
}

/* ============================================================
   Адаптив для блоков, объявленных ниже основного адаптива
   (иначе базовые правила перебивают медиазапросы)
   ============================================================ */
@media (max-width: 1080px) and (min-width: 881px) {
  .trust-grid, .price-grid { gap: 12px; }
  .price-card { padding: 28px 22px; }
}
@media (max-width: 880px) {
  .trust-grid, .price-grid { grid-template-columns: 1fr; }
  .price-card--featured { order: -1; margin-top: 14px; }
  .hw-strip { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hw-strip__price { text-align: left; }
}

/* ============================================================
   Сцены продуктов. Секция высотой в несколько экранов, внутри
   липкая сцена; js пишет прогресс прокрутки в CSS-переменные.
   Без js или при «уменьшить движение» сцена статична.
   ============================================================ */
.scene { position: relative; border-top: 1px solid var(--hairline); }
.scene.is-live { height: var(--scene-h, 420vh); }
.scene__stage {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 96px 0 80px;
  overflow: hidden;
}
.scene.is-live .scene__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  padding: 104px 0 56px;
}
.scene__caps {
  position: relative; flex: none;
  width: min(780px, calc(100% - 48px));
  margin: 0 auto 28px;
  text-align: center;
}
.scene.is-live .scene__caps { min-height: 8.2em; margin-bottom: 0; }
.scene__cap { margin: 0; }
.scene:not(.is-live) .scene__cap + .scene__cap { margin-top: 22px; }
.scene.is-live .scene__cap {
  position: absolute; left: 0; right: 0; top: 0;
  opacity: 0; transform: translateY(26px); filter: blur(10px);
  pointer-events: none;
}
.scene.is-live .scene__cap.is-past { transform: translateY(-26px); }
.scene.is-live .scene__cap span { opacity: 0; transform: translateY(12px); }
.scene.is-live .scene__cap.is-active { opacity: 1; transform: none; filter: blur(0); pointer-events: auto; }
.scene.is-live .scene__cap.is-active span { opacity: 1; transform: none; }
.scene.is-ready .scene__cap { transition: opacity 0.6s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease); }
.scene.is-ready .scene__cap span { transition: opacity 0.6s var(--ease) 0.12s, transform 0.9s var(--ease) 0.12s; }
.scene__cap b {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.022em;
  color: var(--ink);
}
.scene__cap span { display: block; max-width: 580px; margin: 12px auto 0; font-size: 1.08rem; line-height: 1.5; color: var(--gray); }
.scene--dark .scene__cap b { color: #fff; }
.scene--dark .scene__cap span { color: rgba(255, 255, 255, 0.6); }

/* полоски хода сцены: сколько осталось до конца */
.scene__prog {
  position: absolute; left: 50%; bottom: 24px; z-index: 6;
  display: flex; gap: 6px;
  transform: translateX(-50%);
}
.scene__prog i {
  position: relative; overflow: hidden;
  width: 22px; height: 3px; border-radius: 2px;
  background: rgba(24, 25, 28, 0.12);
  transition: width 0.5s var(--ease);
}
.scene__prog i.is-on { width: 44px; }
.scene__prog i::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--ink);
  transform: scaleX(var(--f, 0)); transform-origin: 0 50%;
}
.scene--dark .scene__prog i { background: rgba(255, 255, 255, 0.16); }
.scene--dark .scene__prog i::after { background: #fff; }

.scene__fit {
  --fit: 1;
  position: relative; flex: none;
  margin: auto;
  width: calc(var(--dw) * var(--fit) * 1px);
  height: calc(var(--dh) * var(--fit) * 1px);
}
.scene__device {
  position: absolute; left: 0; top: 0;
  width: calc(var(--dw) * 1px); height: calc(var(--dh) * 1px);
  transform: scale(var(--fit)); transform-origin: 0 0;
}

/* ---------- Станция: ноутбук ---------- */
.scene--station {
  --scene-h: 540vh;
  --s1: 1; --boot: 0; --wk: 1; --bloom: 0;
  --nb1: 0; --nb2: 0; --nb3: 0; --nbo: 1;
  --s2: 1; --ca: 0; --prs: 0; --m: 0; --lift: 0; --dn: 0; --cl: 0;
  --scan: 0; --scano: 0; --h: 1; --ty: 1; --tt: 0; --zoom: 0;
  background: radial-gradient(60% 55% at 50% 72%, #ffffff 0%, var(--paper) 72%);
}
.scene--station .scene__fit { --dw: 1100; --dh: 690; }
.lap {
  position: absolute; inset: 0; perspective: 2400px; perspective-origin: 50% -10%;
  transform: translateY(calc((1 - var(--s1)) * -380px)) scale(calc(0.86 + var(--s1) * 0.14));
  transform-origin: 50% 100%;
}
.lap__spill {
  position: absolute; left: 10%; right: 10%; top: 590px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 138, 255, 0.3), rgba(110, 138, 255, 0));
  filter: blur(20px);
  opacity: var(--wk);
}
.lap__lid {
  position: absolute; left: 50px; top: 14px; width: 1000px; height: 640px;
  transform-origin: 50% 100%;
  transform: rotateX(calc((1 - var(--s1)) * -84deg));
  transform-style: preserve-3d;
}
.lap__screen, .lap__back {
  position: absolute; inset: 0;
  border-radius: 24px 24px 8px 8px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.lap__screen {
  padding: 16px 16px 22px;
  background: #0b0c0f;
  box-shadow: inset 0 0 0 1px #2b2d33, 0 0 0 1px rgba(0, 0, 0, 0.35), 0 40px 80px rgba(24, 25, 28, calc(var(--s1) * 0.18));
  overflow: hidden;
}
.lap__back {
  transform: rotateY(180deg);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(165deg, #eceef1 0%, #cfd2d8 55%, #b9bcc3 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  color: rgba(24, 25, 28, 0.28);
}
.lap__back svg { width: 96px; height: 96px; }
.lap__cam {
  position: absolute; top: 5px; left: 50%; z-index: 3;
  width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  background: #1c1f26; box-shadow: inset 0 0 0 1.5px #2e323b;
}
/* экран просыпается: чёрный, логотип, вспышка, интерфейс */
.lap__wake {
  position: absolute; inset: 16px 16px 22px; z-index: 7;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: #050608; color: #fff;
  opacity: calc(1 - var(--wk));
}
.lap__wake svg { width: 76px; height: 76px; opacity: var(--boot); transform: scale(calc(0.88 + var(--boot) * 0.12)); }
.lap__bloom {
  position: absolute; inset: 16px 16px 22px; z-index: 8; pointer-events: none;
  border-radius: 6px;
  background: radial-gradient(70% 60% at 50% 42%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 72%);
  opacity: calc(var(--bloom) * 0.6);
}
.lap__glare {
  position: absolute; inset: 0; z-index: 9; pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.09) 44%, rgba(255, 255, 255, 0) 58%);
  background-size: 250% 100%;
  background-position: calc(100% - var(--s1) * 100%) 0;
}
.lap__base {
  position: absolute; left: 0; right: 0; top: 652px; height: 24px;
  border-radius: 3px 3px 26px 26px / 3px 3px 16px 16px;
  background: linear-gradient(180deg, #f1f2f4 0%, #c9ccd2 40%, #9a9da5 100%);
  box-shadow: inset 0 1px 0 #fff;
}
.lap__base i {
  position: absolute; top: 0; left: 50%;
  width: 160px; height: 9px; margin-left: -80px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(#a9acb3, #c8cbd1);
}
.lap__shadow {
  position: absolute; left: 7%; right: 7%; top: 664px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(24, 25, 28, 0.3), transparent);
  filter: blur(6px);
}

.app--scene {
  --zk: 0.3; --zc: 0.45;
  position: relative;
  height: 100%; margin: 0;
  display: flex; flex-direction: column;
  border: 0; border-radius: 6px; box-shadow: none;
  transform:
    translate(calc(var(--zoom) * var(--ztx, 0px)), calc(var(--zoom) * var(--zty, 0px)))
    scale(calc(1 + var(--zoom) * var(--zk)));
  transform-origin: var(--zox, 50%) var(--zoy, 60%);
}
.app--scene .app__body { flex: 1; min-height: 0; grid-template-columns: 190px minmax(0, 1fr); }
/* экран ноутбука всегда в настольной раскладке, какой бы узкой ни была страница */
.app--scene .app__side { display: flex; }
.app--scene .app__main { position: relative; padding: 22px 24px 26px; }
.app--scene .app__addr { transform: translateX(-28px); }
.app--scene .board {
  position: relative;
  grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto;
  overflow: visible; scroll-snap-type: none; padding-bottom: 0;
}
.app--scene .board__col { min-height: 340px; }

/* карточки приземляются с лёгким отскоком */
.app--scene .card {
  --c: clamp(0, calc(var(--s2) * 6 - var(--i, 0)), 1);
  opacity: var(--c);
  translate: 0 calc((1 - var(--c)) * 34px - sin(calc(var(--c) * 180deg)) * 7px);
  scale: calc(0.94 + var(--c) * 0.06);
  rotate: calc((1 - var(--c)) * -2.5deg);
}
.app--scene .card--move {
  position: relative; z-index: 3;
  border-color: rgba(17, 154, 100, calc(var(--dn) * 0.5));
  transform: translate(calc(var(--m) * var(--colstep, 248px)), calc(var(--lift) * -14px)) rotate(calc(var(--lift) * 2.4deg));
  box-shadow: 0 calc(var(--lift) * 18px) calc(var(--lift) * 36px) rgba(24, 25, 28, calc(var(--lift) * 0.22));
}
.app--scene .card--move > p:first-child { padding-right: 24px; }
.app--scene .board__col:nth-child(2) .card--after { transform: translateY(calc(var(--m) * -1 * var(--shift, 86px))); }
.app--scene .board__col:nth-child(3) .card--after { transform: translateY(calc(var(--m) * var(--shift, 86px))); }
.scene.is-moved .card--move > p:first-child { color: var(--gray); }
.card__ok { display: none; }
.app--scene .card__ok {
  position: absolute; right: 9px; top: 9px;
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #119a64; color: #fff;
  opacity: var(--dn);
  transform: scale(calc(0.4 + var(--dn) * 0.6 + sin(calc(var(--dn) * 180deg)) * 0.28));
}
.app--scene .card__ok svg { width: 13px; height: 13px; }
.board__title em i { font-style: normal; }
.n-now, .scene.is-moved .n-was, .n-a1, .scene.is-ai .n-a0 { display: none; }
.scene.is-moved .n-now, .scene.is-ai .n-a1 { display: inline; }
.scene--station:not(.is-live) .n-a0 { display: none; }
.scene--station:not(.is-live) .n-a1 { display: inline; }

/* курсор берёт карточку и переносит её */
.app__cursor { display: none; }
.app--scene .app__cursor {
  display: block;
  position: absolute; left: 0; top: 0; z-index: 8;
  width: 26px; height: 26px; overflow: visible;
  fill: #111215; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
  opacity: clamp(0, calc(var(--ca) - var(--cl)), 1);
  transform-origin: 5px 3px;
  transform:
    translate(
      calc(var(--cx0, 400px) + var(--m) * var(--colstep, 248px) + (1 - var(--ca)) * 190px + var(--cl) * 130px),
      calc(var(--cy0, 100px) - var(--lift) * 14px + (1 - var(--ca)) * 170px + var(--cl) * 170px))
    scale(calc((1 - var(--prs) * 0.14) * var(--cs, 1)));
}

/* ИИ: луч проходит по доске, затем появляется карточка */
.app__scan { display: none; }
.app--scene .app__scan {
  display: block;
  position: absolute; left: 0; right: 0; top: 0; z-index: 4; pointer-events: none;
  height: 150px;
  background: linear-gradient(180deg, rgba(61, 93, 245, 0) 0%, rgba(61, 93, 245, 0.09) 78%, rgba(61, 93, 245, 0.4) 99%, rgba(61, 93, 245, 0) 100%);
  border-bottom: 2px solid rgba(98, 124, 255, 0.85);
  box-shadow: 0 8px 26px rgba(61, 93, 245, 0.35);
  opacity: var(--scano);
  transform: translateY(calc(var(--scan) * 640px - 150px));
}
.card__ai-tag { display: none; }
.app--scene .card--ai {
  position: relative; isolation: isolate; overflow: hidden;
  border-color: transparent;
  opacity: var(--h);
  translate: 0 calc((1 - var(--h)) * 20px);
  scale: calc(0.9 + var(--h) * 0.1);
  rotate: 0deg;
  box-shadow: 0 calc(var(--h) * 16px) calc(var(--h) * 38px) rgba(61, 93, 245, calc(var(--h) * 0.24));
}
.app--scene .card--ai::before {
  content: ''; position: absolute; left: 50%; top: 50%; z-index: -2;
  width: 220%; aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(from 0deg, #3d5df5, #8fa3ff, #c65df0, #3d5df5 45%, rgba(61, 93, 245, 0.15) 65%, #3d5df5);
  animation: aiSpin 3.2s linear infinite paused;
}
.scene.is-ai .card--ai::before { animation-play-state: running; }
.app--scene .card--ai::after {
  content: ''; position: absolute; inset: 1.5px; z-index: -1;
  border-radius: 8px; background: #fff;
}
@keyframes aiSpin { to { rotate: 360deg; } }
.app--scene .card__ai-tag {
  display: inline-flex; align-items: center; gap: 4px;
  margin-bottom: 6px; padding: 2px 8px 2px 6px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 0.72rem; font-weight: 600;
}
.app--scene .card__ai-tag svg { width: 12px; height: 12px; }
.app--scene .card--ai .card__note { clip-path: inset(0 calc((1 - var(--ty)) * 100%) 0 0 round 6px); }

/* уведомления: откуда приходят задачи */
.app__notes { display: none; }
.app--scene .app__notes {
  display: flex; flex-direction: column; gap: 8px;
  position: absolute; right: 16px; top: 14px; z-index: 6;
  width: 318px;
  transform-origin: 100% 0;
  scale: var(--nbs, 1);
}
.app__note {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 1px; align-items: center;
  margin: 0; padding: 10px 12px; border-radius: 14px;
  background: rgba(250, 250, 252, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(24, 25, 28, 0.06);
  box-shadow: 0 12px 32px rgba(24, 25, 28, 0.14);
  font-size: 0.8rem; line-height: 1.35;
  opacity: calc(var(--n) * (1 - var(--nbo)));
  transform: translateX(calc((1 - var(--n)) * 112%)) translateY(calc(var(--nbo) * -14px)) scale(calc(1 - var(--nbo) * 0.08));
}
.app__note:nth-child(1) { --n: var(--nb1); }
.app__note:nth-child(2) { --n: var(--nb2); }
.app__note:nth-child(3) { --n: var(--nb3); }
.app__note-ic {
  grid-row: span 2;
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  color: #fff; font-style: normal; font-weight: 700; font-size: 0.72rem;
}
.app__note-ic svg { width: 16px; height: 16px; }
.app__note-ic--chat { background: #2a9fd8; }
.app__note-ic--erp { background: #f0c23b; color: #3b2d00; }
.app__note-ic--mail { background: #6c7280; }
.app__note b { font-weight: 600; font-size: 0.78rem; }
.app__note em { font-style: normal; font-size: 0.7rem; color: var(--gray); }
.app__note span { grid-column: 2 / 4; color: var(--ink-2); }

.app__toast {
  position: absolute; left: 50%; bottom: 40px; z-index: 6;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 14px;
  background: rgba(24, 25, 28, 0.92); color: #fff; font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 40px rgba(24, 25, 28, 0.3);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: var(--tt);
  transform: translate(-50%, calc((1 - var(--tt)) * 24px)) scale(calc((0.94 + var(--tt) * 0.06) * var(--ts, 1)));
  transform-origin: 50% 100%;
}
.app__toast svg { width: 16px; height: 16px; flex-shrink: 0; color: #8fa3ff; }

/* ---------- э.мобайл: телефон ---------- */
.scene--mobile {
  --scene-h: 500vh;
  --e1: 1; --nt: 0; --ntap: 0; --npr: 0; --op: 1; --lc: 1;
  --tap: 0; --prs: 0; --ap1: 0; --sp: 0; --ap2: 0; --hap: 0; --isl: 0;
  --shift: 0; --tilt: 0; --sw: 0; --pl: 0; --fl: 0;
  background: radial-gradient(55% 50% at 50% 64%, #e7ecfd 0%, var(--paper) 72%);
}
.scene--mobile .scene__fit { --dw: 900; --dh: 720; }
.mob { position: absolute; inset: 0; perspective: 1700px; }
.iph {
  position: absolute; left: 50%; top: 10px;
  width: 330px; height: 676px; margin-left: -165px;
  padding: 11px; border-radius: 58px;
  background: linear-gradient(135deg, #9a9da3 0%, #55575d 16%, #2b2c30 48%, #4f5157 80%, #a3a6ac 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35), inset 0 0 0 5px #19191c, 0 50px 90px rgba(24, 25, 28, calc(0.1 + var(--e1) * 0.16));
  transform:
    translateX(calc(var(--shift) * var(--shx, -195px) + var(--hap) * 3px))
    translateY(calc((1 - var(--e1)) * 150px))
    rotateX(calc((1 - var(--e1)) * 32deg))
    rotateY(calc((1 - var(--e1)) * -40deg + var(--tilt) * 10deg))
    rotateZ(calc((1 - var(--e1)) * 9deg))
    scale(calc(0.82 + var(--e1) * 0.18 - var(--tilt) * 0.04));
}
.iph__key { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #36383d, #7b7e84); }
.iph__key--act { left: -3px; top: 118px; height: 30px; }
.iph__key--up { left: -3px; top: 172px; height: 56px; }
.iph__key--down { left: -3px; top: 240px; height: 56px; }
.iph__key--side { right: -3px; top: 196px; height: 88px; background: linear-gradient(270deg, #36383d, #7b7e84); }
.iph__screen {
  position: relative; height: 100%;
  border-radius: 47px; overflow: hidden;
  background: #141a3d;
}
.iph__island {
  position: absolute; top: 11px; left: 50%; z-index: 5;
  height: calc(31px + var(--isl) * 9px);
  width: calc(104px + var(--isl) * 158px);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 22px; background: #000; color: #fff;
  font-size: 0.74rem; font-weight: 600; white-space: nowrap; overflow: hidden;
}
.iph__island > * { opacity: clamp(0, calc(var(--isl) * 2 - 1), 1); }
.iph__island svg { width: 16px; height: 16px; flex-shrink: 0; color: #3fd27e; }

/* приложение раскрывается из уведомления */
.iph__app {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--paper);
  opacity: var(--op);
  transform: translateY(calc((1 - var(--op)) * -70px)) scale(calc(0.84 + var(--op) * 0.16));
  transform-origin: 50% 26%;
  border-radius: calc((1 - var(--op)) * 30px + 47px);
}
.iph__screen .phone__status { padding: 17px 30px 4px; }
.iph__screen .ph-head { padding-top: 20px; }
.iph__bar { position: absolute; bottom: 8px; left: 50%; z-index: 3; width: 120px; height: 5px; margin-left: -60px; border-radius: 3px; background: rgba(24, 25, 28, 0.85); }
.iph__glare {
  position: absolute; inset: 11px; border-radius: 47px; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.28) 47%, rgba(255, 255, 255, 0) 60%);
  background-size: 300% 100%;
  background-position: calc(100% - var(--e1) * 100%) 0;
  opacity: calc(1 - var(--e1) * 0.75);
}

/* экран блокировки */
.iph__lock {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center;
  color: #fff;
  background:
    radial-gradient(90% 55% at 15% 8%, rgba(111, 134, 255, 0.95) 0%, rgba(111, 134, 255, 0) 62%),
    radial-gradient(80% 55% at 95% 85%, rgba(198, 93, 240, 0.75) 0%, rgba(198, 93, 240, 0) 60%),
    linear-gradient(180deg, #2b3a92 0%, #12173a 100%);
  opacity: calc(1 - var(--op));
  transform: scale(calc(1 + var(--op) * 0.12));
  pointer-events: none;
}
.iph__lock .phone__status { align-self: stretch; color: #fff; }
.iph__date { margin-top: 36px; font-size: 0.92rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.iph__time {
  margin-top: 2px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 5.6rem; line-height: 1; letter-spacing: -0.035em;
}
.iph__notif {
  position: relative; align-self: stretch;
  margin: 40px 12px 0;
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: start;
  padding: 12px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.74); color: var(--ink);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  opacity: var(--nt);
  transform: translateY(calc((1 - var(--nt)) * -46px)) scale(calc(0.9 + var(--nt) * 0.1 - var(--npr) * 0.035));
}
.iph__notif-ic {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--blue); color: #fff;
}
.iph__notif-ic svg { width: 22px; height: 22px; }
.iph__notif-text { margin: 0; }
.iph__notif-text b { display: block; font-size: 0.82rem; font-weight: 600; line-height: 1.3; }
.iph__notif-text span { display: block; margin-top: 1px; font-size: 0.78rem; line-height: 1.35; color: var(--ink-2); }
.iph__notif em { font-style: normal; font-size: 0.7rem; color: var(--gray); }
.iph__ntap {
  position: absolute; left: 50%; top: 50%;
  width: 70px; height: 70px; margin: -35px 0 0 -35px;
  border-radius: 50%; background: rgba(61, 93, 245, 0.25);
  opacity: var(--npr);
  transform: scale(calc(0.4 + var(--ntap) * 1.6));
}
.iph__lockbar { position: absolute; bottom: 8px; left: 50%; width: 120px; height: 5px; margin-left: -60px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); }

.iph__screen .ph-approve {
  --c: clamp(0, calc(var(--lc) * 4), 1);
  opacity: var(--c); translate: 0 calc((1 - var(--c)) * 16px);
  border-color: rgba(17, 154, 100, calc(var(--ap2) * 0.55));
  box-shadow: 0 0 0 calc(var(--ap2) * 3px) rgba(17, 154, 100, 0.12);
}
.iph__screen .ph-list li {
  --c: clamp(0, calc(var(--lc) * 4 - 1 - var(--i, 0)), 1);
  opacity: var(--c); translate: 0 calc((1 - var(--c)) * 16px);
}
.ph-approve__label { position: relative; }
.ph-was { opacity: calc(1 - var(--ap2)); }
.ph-now { position: absolute; left: 0; top: 0; color: #119a64; opacity: var(--ap2); white-space: nowrap; }

/* кнопка «Согласовать» превращается в отметку о согласовании */
.ph-approve__act { position: relative; height: 38px; margin-top: 12px; }
.ph-approve__act .ph-approve__btns { position: absolute; inset: 0; margin: 0; gap: calc((1 - var(--ap1)) * 8px); }
.iph .ph-btn { display: flex; align-items: center; justify-content: center; min-width: 0; white-space: nowrap; overflow: hidden; }
.iph .ph-btn--ok {
  position: relative; flex: 1 1 0;
  border-color: transparent;
  background: color-mix(in srgb, #119a64 calc(var(--ap2) * 100%), #3d5df5);
  transform: scale(calc(1 - var(--prs) * 0.05));
}
.iph .ph-btn--alt {
  flex: calc(1 - var(--ap1)) 1 0;
  border-width: calc((1 - var(--ap1)) * 1px);
  opacity: calc(1 - var(--ap1) * 1.6);
}
.ph-btn__label { display: inline-block; opacity: calc(1 - var(--ap1)); transform: translateY(calc(var(--ap1) * -8px)); }
.ph-btn__spin {
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  opacity: var(--sp);
  animation: phSpin 0.7s linear infinite;
}
@keyframes phSpin { to { rotate: 360deg; } }
.ph-approve__done {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-size: 0.82rem; font-weight: 600;
  opacity: var(--ap2);
  transform: translateY(calc((1 - var(--ap2)) * 6px));
  pointer-events: none;
}
.ph-approve__done svg { width: 16px; height: 16px; }
.ph-tick { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--ap2)); }
.iph__tap {
  position: absolute; left: 25%; top: 50%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.45);
  opacity: var(--prs);
  transform: scale(calc(0.3 + var(--tap) * 1.3));
  pointer-events: none;
}

/* окно Станции в офисе */
.mob__win {
  position: absolute; left: 488px; top: 168px; z-index: 2;
  width: 400px;
  border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid var(--hairline);
  box-shadow: 0 30px 70px rgba(24, 25, 28, 0.16);
  opacity: var(--sw);
  transform: translateX(calc((1 - var(--sw)) * 70px)) scale(calc(0.96 + var(--sw) * 0.04));
}
.mob__win-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.mob__win-addr { margin-inline: auto; transform: translateX(-24px); padding: 2px 14px; border: 1px solid var(--hairline); border-radius: 6px; background: #fff; font-size: 0.72rem; color: var(--gray); }
.mob__win-body { padding: 16px 16px 14px; }
.mob__win-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.mob__win-head b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.mob__win-head span { font-size: 0.74rem; color: var(--gray); }
.mob__row {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 -10px; padding: 11px 10px;
  border-top: 1px solid var(--hairline); border-radius: 9px;
  font-size: 0.84rem;
}
.mob__row--live { background: rgba(17, 154, 100, calc(var(--fl) * 0.08)); }
.mob__st {
  padding: 3px 9px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-2);
  font-style: normal; font-size: 0.72rem; font-weight: 600; white-space: nowrap;
}
.mob__st--ok { background: rgba(17, 154, 100, 0.12); color: #0d8455; }
.mob__st--wait { background: rgba(232, 160, 30, 0.16); color: #93600a; }
.mob__row--live .mob__st--wait { opacity: calc(1 - var(--fl)); }
.mob__row--live .mob__st--new {
  position: absolute; right: 10px;
  opacity: var(--fl);
  transform: scale(calc(0.8 + var(--fl) * 0.2 + sin(calc(var(--fl) * 180deg)) * 0.08));
}
.mob__win-feed {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 12px 0 0; padding: 10px 12px; border-radius: 10px;
  background: var(--blue-soft); color: var(--ink-2);
  font-size: 0.8rem; line-height: 1.45;
  opacity: var(--fl);
  transform: translateY(calc((1 - var(--fl)) * 8px));
}
.mob__win-feed svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--blue); }
.mob__link { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mob__link-path {
  fill: none; stroke: rgba(61, 93, 245, 0.55); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--pl));
  opacity: calc(var(--sw) * (1 - var(--fl) * 0.7));
}
.mob__pulse {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(61, 93, 245, 0.18), 0 0 18px rgba(61, 93, 245, 0.8);
  offset-path: path('M410 262 C 452 262, 444 384, 490 384');
  offset-distance: calc(var(--pl) * 100%);
  offset-anchor: 50% 50%;
  offset-rotate: 0deg;
  opacity: clamp(0, calc(sin(calc(var(--pl) * 180deg)) * 2), 1);
}
.mob__shadow {
  position: absolute; left: 50%; top: 676px;
  width: 260px; height: 28px; margin-left: -130px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(24, 25, 28, 0.32), transparent);
  filter: blur(4px);
  opacity: calc(0.3 + var(--e1) * 0.7);
  transform: translateX(calc(var(--shift) * var(--shx, -195px) + var(--tilt) * 18px));
}
.split--text { align-items: start; }

/* ---------- нода 0: устройство в 3D ---------- */
.scene--node {
  --scene-h: 580vh;
  --on: 1; --gl: 0; --pop: 0; --popo: 0; --sh: 0; --mt: 0; --sign: 0; --done: 0; --hk: 0;
  --rx: 23.2; --rz: -16; --ex: 0; --lb: 0; --dim: 0; --lk: 0;
  border-top: 0;
  background: radial-gradient(70% 60% at 50% 62%, #141a33 0%, #0a0b0e 62%);
}
.scene--node .scene__fit { --dw: 900; --dh: 640; }
.nd-world {
  position: absolute; inset: 0; perspective: 2300px; perspective-origin: 50% 25%;
  transform: translate(calc(var(--sh) * var(--shx, 175px) + var(--hk) * 4px), calc(var(--sh) * var(--shy, 0px)));
}
.nd-glow {
  position: absolute; left: 50%; top: 56%;
  width: 640px; height: 420px; margin: -210px 0 0 -320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, rgba(63, 210, 126, 0.32) calc(var(--done) * (1 - var(--lk)) * 100%), rgba(61, 93, 245, 0.34)), transparent);
  filter: blur(26px);
  opacity: calc(0.45 + var(--ex) * 0.55);
}
.nd {
  position: absolute; left: 50%; top: 52%;
  width: 300px; height: 300px; margin: -150px 0 0 -150px;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--rx) * 1deg)) rotateZ(calc(var(--rz) * 1deg)) translateZ(calc(var(--ex) * -210px));
}
.nd__layer, .nd__edge i {
  position: absolute; inset: 0;
  border-radius: 64px;
  transform-style: preserve-3d;
}
.nd__edge { position: absolute; inset: 0; transform-style: preserve-3d; }
.nd__edge i {
  background: linear-gradient(145deg, #5a5d65, #2b2d32 45%, #63666e);
  opacity: clamp(0, calc(1 - var(--ex) * 2.5), 1);
}
.nd__edge i:nth-child(1) { transform: translateZ(0px); }
.nd__edge i:nth-child(2) { transform: translateZ(4.6px); }
.nd__edge i:nth-child(3) { transform: translateZ(9.2px); }
.nd__edge i:nth-child(4) { transform: translateZ(13.8px); }
.nd__edge i:nth-child(5) { transform: translateZ(18.4px); }
.nd__edge i:nth-child(6) { transform: translateZ(23px); }
.nd__edge i:nth-child(7) { transform: translateZ(27.6px); }
.nd__edge i:nth-child(8) { transform: translateZ(32.2px); }
.nd__edge i:nth-child(9) { transform: translateZ(36.8px); }
.nd__edge i:nth-child(10) { transform: translateZ(41.4px); }
.nd__back, .nd__mag, .nd__bat, .nd__pcb, .nd__sen, .nd__dsp { opacity: clamp(0, calc(var(--ex) * 3), 1); }
.nd__back { transform: translateZ(-1px); background: linear-gradient(145deg, #25272d, #15161a); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.nd__mag { transform: translateZ(calc(6px + var(--ex) * 64px)); inset: 4px; border-radius: 50%; }
.nd__mag::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(#a6abb5 0deg 19deg, #5c616b 19deg 22.5deg);
  -webkit-mask: radial-gradient(circle, transparent 0 39%, #000 39.5% 47.5%, transparent 48%);
  mask: radial-gradient(circle, transparent 0 39%, #000 39.5% 47.5%, transparent 48%);
}
.nd__bat {
  transform: translateZ(calc(14px + var(--ex) * 126px));
  inset: 40px; border-radius: 26px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #dadde3, #8f949d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.nd__bat b { font: 600 15px var(--font-mono); letter-spacing: 0.06em; color: rgba(24, 25, 28, 0.55); }
.nd__pcb {
  transform: translateZ(calc(24px + var(--ex) * 186px));
  inset: 14px; border-radius: 52px;
  background: radial-gradient(circle at 30% 30%, #1e2b55, #0f1631);
  box-shadow: inset 0 0 0 1px rgba(143, 163, 255, 0.28);
}
.nd__chip { position: absolute; border-radius: 6px; background: linear-gradient(145deg, #2b386a, #18224a); box-shadow: inset 0 0 0 1px rgba(143, 163, 255, 0.35); }
.nd__chip--se {
  left: 50px; top: 56px; width: 66px; height: 66px;
  display: flex; align-items: center; justify-content: center;
  font: 600 13px var(--font-mono); font-style: normal; color: #8fa3ff;
  box-shadow: inset 0 0 0 1px rgba(143, 163, 255, 0.5), 0 0 calc(var(--ex) * 26px) rgba(61, 93, 245, 0.7);
}
.nd__chip--soc { right: 48px; top: 66px; width: 82px; height: 82px; }
.nd__chip--rf { left: 66px; bottom: 52px; width: 112px; height: 30px; }
.nd__trace {
  position: absolute; left: 116px; top: 86px; width: 70px; height: 2px;
  background: rgba(214, 170, 80, 0.6);
  box-shadow: 0 30px 0 rgba(214, 170, 80, 0.45), 0 60px 0 rgba(214, 170, 80, 0.35);
}
.nd__sen { transform: translateZ(calc(32px + var(--ex) * 248px)); }
.nd__ring {
  position: absolute; left: 50%; top: 66%;
  width: 96px; height: 96px; margin: -48px 0 0 -48px;
  border-radius: 50%; border: 3px solid var(--blue);
  background: radial-gradient(circle, #1a1d26 0 58%, transparent 59%);
  box-shadow: 0 0 26px rgba(61, 93, 245, 0.8), inset 0 0 18px rgba(61, 93, 245, 0.6);
}
.nd__dsp { transform: translateZ(calc(38px + var(--ex) * 312px)); }
.nd__panel {
  position: absolute; left: 50%; top: 18%;
  width: 156px; height: 66px; margin-left: -78px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #050608;
  box-shadow: inset 0 0 0 1px #2c3040, 0 0 34px rgba(61, 93, 245, 0.28);
  font-style: normal;
}
.nd__panel b { font: 600 16px var(--font-mono); letter-spacing: 0.14em; color: #8fa3ff; }
.nd__top { transform: translateZ(calc(46px + var(--ex) * 374px)); }
.nd__face {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: radial-gradient(120% 90% at 28% 12%, #2d3039 0%, #131419 55%, #0b0c0f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: calc(1 - var(--ex));
}
/* блик проходит по стеклу */
.nd__face::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.16) 46%, rgba(255, 255, 255, 0) 60%);
  background-size: 260% 100%;
  background-position: calc(110% - var(--gl) * 120%) 0;
}
.nd__screen {
  position: absolute; left: 50%; top: 18%;
  width: 156px; height: 66px; margin-left: -78px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #030405;
  box-shadow:
    inset 0 0 0 1px #262a36,
    0 0 calc(var(--on) * 30px) color-mix(in srgb, rgba(63, 210, 126, 0.4) calc(var(--done) * (1 - var(--lk)) * 100%), rgba(61, 93, 245, calc(var(--on) * 0.3)));
  overflow: hidden;
}
.nd__codebox {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 8px; border-radius: 7px;
  box-shadow: 0 0 0 calc(var(--mt) * 1.5px) rgba(255, 210, 62, calc(var(--mt) * 0.9));
  opacity: calc(var(--on) * (1 - var(--done)));
}
.nd__code { font: 600 16px var(--font-mono); letter-spacing: 0.14em; color: #8fa3ff; }
.nd__chipc { display: block; width: 8px; height: 18px; border-radius: 2px; }
.nd__chipc--a { background: #ffd23e; }
.nd__chipc--b { background: #c65df0; }
.nd__signed, .nd__lock {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px var(--font-body);
}
.nd__signed { color: #3fd27e; opacity: calc(var(--done) * (1 - var(--lk))); }
.nd__lock { color: #8fa3ff; font-size: 14px; opacity: var(--lk); }
.nd__signed svg { width: 18px; height: 18px; }
.nd__lock svg { width: 17px; height: 17px; }
.nd__sensor { position: absolute; left: 50%; top: 66%; width: 100px; height: 100px; margin: -50px 0 0 -50px; }
.nd__sensor > svg:not(.nd__fp) { position: absolute; inset: 0; width: 100%; height: 100%; }
.nd__track { fill: #0e1015; stroke: rgba(255, 255, 255, 0.09); stroke-width: 3; }
.nd__prog {
  fill: none; stroke: color-mix(in srgb, #3fd27e calc(var(--done) * 100%), #3d5df5); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--sign) * 100);
  transform: rotate(-90deg); transform-box: fill-box; transform-origin: center;
  filter: drop-shadow(0 0 5px rgba(61, 93, 245, 0.9));
}
.nd__fp { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; color: rgba(143, 163, 255, 0.3); }
.nd__fp--lit { color: color-mix(in srgb, #3fd27e calc(var(--done) * 100%), #b7c5ff); filter: drop-shadow(0 0 4px rgba(143, 163, 255, 0.9)); }
.nd__fp--lit path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--sign)); }
.nd__ripple { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(143, 163, 255, 0.6); opacity: 0; }
.scene.is-scanning .nd__ripple { animation: ndRipple 1.4s var(--ease) infinite; }
.scene.is-scanning .nd__ripple + .nd__ripple { animation-delay: 0.7s; }
@keyframes ndRipple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }
.nd__pane {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  opacity: var(--ex);
}
.nd__label {
  position: absolute; left: 100%; top: 50%; margin-left: 46px;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
  font: 500 15px var(--font-body); color: rgba(255, 255, 255, 0.88);
  transform-origin: 0 50%;
  /* разворачиваем к зрителю и выносим вперёд, чтобы слои не перекрывали подпись */
  transform: rotateZ(calc(var(--rz) * -1deg)) rotateX(calc(var(--rx) * -1deg)) translateZ(240px);
  opacity: var(--lb);
  pointer-events: none;
}
.nd__label::before { content: ''; width: 28px; height: 1px; background: rgba(143, 163, 255, 0.7); }
.nd-dim {
  position: absolute; left: 50%; top: 52%;
  margin: 70px 0 0 190px;
  display: flex; align-items: center; gap: 10px;
  font: 500 15px var(--font-mono); color: rgba(255, 255, 255, 0.82);
  opacity: var(--dim);
}
.nd-dim i { width: 1px; height: 46px; background: rgba(255, 255, 255, 0.5); }

/* окно подписи на компьютере */
.nd-pop {
  position: absolute; left: 20px; top: 172px; z-index: 3;
  width: 350px;
  border-radius: 16px; overflow: hidden;
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: calc(var(--pop) * (1 - var(--popo)));
  transform: translateX(calc((1 - var(--pop)) * -50px - var(--popo) * 40px)) scale(calc(0.96 + var(--pop) * 0.04 - var(--popo) * 0.04));
}
.nd-pop__bar {
  display: flex; align-items: center; gap: 12px;
  margin: 0; padding: 10px 14px;
  background: var(--paper); border-bottom: 1px solid var(--hairline);
  font-size: 0.78rem; font-weight: 600; color: var(--ink-2);
}
.nd-pop__body { padding: 18px 18px 14px; }
.nd-pop__doc { display: flex; align-items: center; gap: 12px; margin: 0; }
.nd-pop__file {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--blue-soft); color: var(--blue);
}
.nd-pop__file svg { width: 20px; height: 20px; }
.nd-pop__doc b { display: block; font-size: 0.92rem; font-weight: 600; }
.nd-pop__doc em { display: block; font-style: normal; font-size: 0.78rem; color: var(--gray); }
.nd-pop__label { margin: 16px 0 0; font-size: 0.74rem; color: var(--gray); }
.nd-pop__code {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 6px 0 0; padding: 11px 12px; border-radius: 10px;
  background: #0b0c0f;
  box-shadow: 0 0 0 calc(var(--mt) * 2px) rgba(255, 210, 62, calc(var(--mt) * (1 - var(--done)) * 0.9));
}
.nd-pop__code b { font: 600 17px var(--font-mono); letter-spacing: 0.14em; color: #8fa3ff; }
.nd-pop__state { position: relative; height: 38px; margin-top: 10px; }
.nd-pop__s {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600;
}
.nd-pop__s svg { width: 16px; height: 16px; flex-shrink: 0; }
.nd-pop__s--1 { color: var(--ink-2); opacity: calc(1 - var(--mt)); }
.nd-pop__s--2 { color: var(--blue); opacity: calc(var(--mt) * (1 - var(--done))); }
.nd-pop__s--3 { color: #119a64; opacity: var(--done); }
.nd-pop__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: ndBlink 1.2s ease-in-out infinite; }
@keyframes ndBlink { 50% { opacity: 0.25; } }

@media (prefers-reduced-motion: reduce) {
  .ph-btn__spin, .nd-pop__dot, .card--ai::before { animation: none; }
}

/* ============================================================
   Подвал-шторка: страница заканчивается ссылками на документы,
   а при прокрутке дальше из-под неё «вытягивается» название
   ============================================================ */
main { position: relative; z-index: 1; background: var(--paper); }
.footer {
  position: relative; z-index: 1;
  border-radius: 0 0 32px 32px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px rgba(0, 0, 0, 0.55);
}
.reveal-space { height: var(--reveal-h, 30vw); }
.footer-reveal {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 0;
  height: var(--reveal-h, 30vw);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: var(--reveal-pad, 2.4vw);
  overflow: hidden;
  background: radial-gradient(70% 120% at 50% 130%, rgba(61, 93, 245, 0.32), transparent 70%), #0c0d10;
}
.footer-reveal__word {
  display: flex;
  font-family: var(--font-display); font-weight: 700;
  font-size: 27vw; line-height: 0.92; letter-spacing: -0.02em;
  white-space: nowrap;
  color: #4b68ff;
  user-select: none;
}
.footer-reveal__word span { display: inline-block; transform-origin: 50% 100%; will-change: transform; }

/* адаптив сцен (после базовых правил) */
@media (max-width: 1180px) { .scene:not(.is-live) .scene__fit { --fit: 0.8; } }
@media (max-width: 900px) { .scene:not(.is-live) .scene__fit { --fit: 0.6; } }
@media (max-width: 700px) {
  .scene.is-live { height: calc(var(--scene-h, 420vh) * 0.85); }
  .scene.is-live .scene__caps { min-height: 10.4em; }
  .scene.is-live .scene__stage { padding-top: 92px; padding-bottom: 48px; }
  .scene__prog { bottom: 20px; }
  .scene__cap span { font-size: 0.98rem; }
  .app--scene { --zk: 2.1; --zc: 1; }
  .app__toast { --ts: 2.25; bottom: 34px; }
  .app--scene .app__notes { --nbs: 1.85; }
  .app--scene .app__cursor { --cs: 2.2; }
  .scene--mobile { --shx: 0px; }
  .mob__win {
    left: 14px; right: 14px; top: 404px; width: auto; z-index: 6;
    box-shadow: 0 26px 60px rgba(24, 25, 28, 0.24);
    transform: translateY(calc((1 - var(--sw)) * 50px)) scale(calc(0.95 + var(--sw) * 0.05));
  }
  .mob__win-body { padding: 14px 16px 12px; }
  .mob__row, .mob__win-head b { font-size: 0.95rem; }
  .mob__win-feed { font-size: 0.9rem; }
  .mob__link, .mob__pulse { display: none; }
  .scene--node { --shx: 0px; --shy: 100px; }
  .nd-pop { left: 30px; top: 0; width: 380px; }
  .nd__label { display: none; }
  .nd-dim { margin-left: 150px; }
  .footer { border-radius: 0 0 22px 22px; }
}
@media (max-width: 600px) { .scene:not(.is-live) .scene__fit { --fit: 0.32; } }

/* подвал на узких экранах */
@media (max-width: 880px) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; padding: 56px 0 40px; }
  .footer__brand p { max-width: 320px; }
  .footer__col a { font-size: 0.95rem; }
  .footer__legal { flex-wrap: wrap; gap: 10px 20px; }
}
