/* =====================================================================
   Neon — блоки лендингов под первым экраном.

   Одна подача для neon-hub/ и главной (index.html): раскладка повторяет
   infloww.com — «почему мы», пары «текст + карточка», сетка возможностей,
   FAQ, финальный призыв, подвал, — но в палитре Neon. Первый экран живёт
   в shared/hero.css, здесь его нет, кроме летающих значков и плашек
   скачивания, которые на нём стоят.

   Все классы начинаются с nh-, чтобы не пересекаться со стилями страниц
   (у главной, например, свои .reveal и .container со своей логикой).
   ===================================================================== */
:root{
  --nh-tint:#f5f9ff;
  --nh-band:#eaf3ff;
  --nh-card:#f1f6ff;
  --nh-card-hover:#e8f1ff;
  --nh-line:#dbe6f6;
  --nh-soft:#56678a;
  --nh-light-btn:#d6e7ff;
  --nh-light-btn-hover:#c4dcff;
  --nh-font:Inter,"Segoe UI",Arial,sans-serif;
  --nh-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

/* Линейные значки внутри блоков. :where() держит специфичность нулевой,
   чтобы любое правило компонента ниже перебивало эти умолчания. */
:where(.nh-section,.nh-start,.nh-footer,.nh-support,.nh-dl,.hero-orbit) svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.nh-container{width:min(1380px,calc(100% - 80px));margin-inline:auto}

/* ============================================ общие детали блоков */
.nh-section{position:relative;padding:96px 0;font-family:var(--nh-font)}
.nh-section--tint{background:var(--nh-tint)}
/* Первый блок под баннером — ровно тот цвет, в который растворяется снимок
   (--hero-fade-end у .hero--eco и .hero--hub), поэтому шва между экранами
   нет. Одинаково на главной и на Hub. */
.nh-section--first{background:#f1f6ff}
.nh-section--white{background:#fff}
.nh-h2{font-family:var(--nh-font);font-size:40px;line-height:1.2;font-weight:650;letter-spacing:-.04em;color:var(--ink)}
.nh-h2 em{font-style:normal;color:var(--blue)}
.nh-lead{margin-top:24px;max-width:560px;font-size:18px;line-height:1.35;color:#233657}
.nh-kicker{margin-bottom:24px;font-family:var(--nh-mono);font-size:15px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.nh-beta{display:inline-block;vertical-align:.95em;margin-left:2px;padding:3px 7px;border-radius:5px;background:linear-gradient(135deg,#6b8cff,#7759ed);color:#fff;font-family:var(--nh-font);font-size:12px;font-weight:700;letter-spacing:0;line-height:1.2}
.nh-soon{display:inline-block;vertical-align:.3em;margin-left:8px;padding:3px 7px;border-radius:5px;background:linear-gradient(135deg,#6b8cff,#7759ed);color:#fff;font-size:10px;font-weight:800;letter-spacing:.05em;line-height:1.2;text-transform:uppercase}

.nh-feature{position:relative;min-width:0}
.nh-feature__icon{display:block;width:32px;height:32px;color:var(--blue);stroke-width:1.5}
.nh-feature h3{margin:20px 0 8px;font-family:var(--nh-font);font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.035em;color:var(--ink)}
.nh-feature p{font-size:16px;line-height:1.3;color:var(--nh-soft)}
.nh-feature__more{position:absolute;top:0;right:0;display:grid;place-items:center;width:32px;height:32px;border-radius:6px;background:var(--nh-light-btn);color:var(--blue);transition:background .2s,transform .2s}
.nh-feature__more svg{width:16px;height:16px;stroke-width:2}
.nh-feature__more:hover{background:var(--nh-light-btn-hover);transform:translate(2px,-2px)}

.nh-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 22px;border-radius:12px;font-family:var(--nh-font);font-size:18px;font-weight:600;letter-spacing:-.02em;line-height:1;white-space:nowrap;transition:background .2s,transform .2s,box-shadow .2s}
.nh-btn svg{width:20px;height:20px;stroke-width:2}
.nh-btn--light{background:var(--nh-light-btn);color:var(--ink)}
.nh-btn--light:hover{background:var(--nh-light-btn-hover);transform:translateY(-2px)}
.nh-btn--primary{color:#fff;background:linear-gradient(135deg,#2799ff,#0968ff 58%,#0647e8);box-shadow:0 8px 24px rgba(9,104,255,.24)}
.nh-btn--primary:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(9,104,255,.32)}
.nh-btn:focus-visible,.nh-dl:focus-visible,.nh-fcard:focus-visible,.nh-faq__q:focus-visible,.nh-support:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.nh-cta-note{display:block;margin-top:8px;font-size:12px;font-weight:600;color:var(--nh-soft)}

/* Карточки-иллюстрации (у infloww это картинки 400×350 рядом с текстом). */
.nh-card{position:relative;width:100%;max-width:420px;padding:24px 26px 28px;border:1px solid #e1eaf7;border-radius:16px;background:#fff;box-shadow:0 30px 60px -28px rgba(20,62,125,.25),0 2px 10px rgba(20,62,125,.05)}
.nh-card__top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nh-card__label{font-family:var(--nh-mono);font-size:13px;color:#2a3b5c}
.nh-card__logo{width:26px;height:27px}

/* ==================================================== «Почему …?» */
.nh-why__grid{display:grid;grid-template-columns:minmax(0,384fr) minmax(0,880fr);align-items:start}
.nh-why__brand{display:block;width:34px;height:35px;margin-bottom:26px;border-radius:9px}
.nh-why__head{position:sticky;top:120px}
.nh-why__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px 32px}
.nh-why__list .nh-feature{max-width:340px}

/* ============================= пары «текст + карточка» */
.nh-duo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.nh-duo--reverse .nh-duo__art{order:-1}
.nh-duo__art{position:relative;display:flex;justify-content:center;min-width:0}
.nh-duo--grow{grid-template-columns:minmax(0,760fr) minmax(0,504fr);align-items:end}
.nh-duo--grow .nh-duo__art{justify-content:flex-end;padding-bottom:84px}
.nh-duo__features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 40px;margin-top:56px}
.nh-duo__features .nh-feature{max-width:320px}
.nh-duo__cta{margin-top:48px}

/* График выручки (у infloww — «Maximize efficiency»). */
.nh-chart__total{margin-top:26px;padding-left:4px}
.nh-chart__total small{display:block;font-size:12px;color:#6a7d9c}
.nh-chart__total b{display:block;margin-top:4px;font-size:22px;font-weight:600;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.nh-chart__plot{position:relative;height:190px;margin:18px 4px 0;padding:0 10px;border-bottom:3px solid #bfe6ff}
.nh-chart__bars{position:absolute;inset:0 10px 0;display:flex;align-items:flex-end;justify-content:space-around;gap:14px}
.nh-chart__bars i{flex:1;max-width:26px;height:var(--h);border-radius:3px 3px 0 0;background:linear-gradient(180deg,#9cc8ff,#cfe3ff);transform:scaleY(0);transform-origin:bottom;transition:transform .9s cubic-bezier(.2,.8,.2,1) var(--d,0s)}
.nh-chart__bars i:nth-last-child(-n+2){background:linear-gradient(180deg,#2f8cff,#8cc2ff)}
.nh-chart__line{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.nh-chart__line path{fill:none;stroke:#23c1ff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:600;stroke-dashoffset:600;transition:stroke-dashoffset 1.6s ease .35s}
.nh-chart__line circle{fill:#fff;stroke:#23c1ff;stroke-width:3;opacity:0;transition:opacity .3s ease 1.8s}
.nh-chart__month{margin-top:10px;text-align:center;font-size:13px;font-weight:600;color:#3a4b6b}
.is-inview .nh-chart__bars i{transform:scaleY(1)}
.is-inview .nh-chart__line path{stroke-dashoffset:0}
.is-inview .nh-chart__line circle{opacity:1}

/* Карточка чатера (у infloww — «Jessie»). */
.nh-chatter__who{display:flex;align-items:center;gap:22px}
.nh-chatter__ava{position:relative;flex:none;width:92px;height:92px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#9fd6ff,#3b8cff 55%,#5b4fe0);display:grid;place-items:center;color:#fff;font-size:34px;font-weight:700;letter-spacing:-.04em;box-shadow:inset 0 -8px 18px rgba(20,40,120,.25)}
.nh-chatter__ava:after{content:"";position:absolute;left:0;bottom:2px;width:26px;height:26px;border-radius:50%;background:#2ec26b;border:4px solid #fff}
.nh-chatter__name{font-size:30px;font-weight:500;letter-spacing:-.02em;color:var(--ink);line-height:1.2}
.nh-chatter__meta{margin-top:6px;font-size:15px;color:#33445f}
.nh-chatter__earned{margin-top:40px}
.nh-chatter__earned small{font-size:15px;color:#33445f}
.nh-chatter__earned b{display:block;margin-top:6px;font-family:var(--nh-mono);font-size:34px;font-weight:500;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.nh-chatter__stats{display:grid;grid-template-columns:repeat(3,auto);justify-content:space-between;gap:12px;margin-top:22px}
.nh-chatter__stats>span{display:flex;align-items:center;gap:9px;min-width:0}
.nh-chatter__stats>span>span{font-size:11px;font-weight:600;color:#33445f;line-height:1.3;white-space:nowrap}
.nh-chatter__stats svg{flex:none;width:26px;height:26px;color:var(--ink);stroke-width:1.5}
.nh-chatter__stats b{display:block;margin-top:2px;font-family:var(--nh-mono);font-size:15px;font-weight:500;color:var(--ink)}

/* Карточка ИИ (у infloww — «Select a response type»). */
.nh-ai{max-width:448px;padding:26px 24px 110px;background:#f7faff}
.nh-ai__badge{position:absolute;top:-26px;right:-22px;display:flex;align-items:center;gap:10px;padding:10px 18px 10px 12px;border-radius:12px;background:linear-gradient(135deg,#2799ff,#0968ff 58%,#0647e8);color:#fff;font-size:28px;font-weight:600;letter-spacing:-.02em;box-shadow:0 14px 30px -10px rgba(9,104,255,.55)}
.nh-ai__badge img{width:34px;height:35px;border-radius:9px;background:#fff}
.nh-ai__select{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;padding:9px 14px;border-radius:9px;background:#e6effc;font-size:16px;font-weight:600;color:var(--ink)}
.nh-ai__select svg{width:20px;height:20px}
.nh-ai__list{list-style:none;display:grid;gap:4px;margin:10px 0 0 16px}
.nh-ai__list li{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;font-size:16px;color:#4d5f80;transition:background .35s,color .35s}
.nh-ai__list li svg{width:18px;height:18px;stroke-width:1.8}
.nh-ai__list li.is-active{background:#dde9fb;color:var(--ink);font-weight:600}
.nh-ai__msg{position:absolute;left:24px;right:-36px;bottom:-30px;display:flex;align-items:flex-end;gap:14px;padding:18px 20px;border:1px solid #dfe8f5;border-radius:12px;background:#fff;box-shadow:0 20px 40px -22px rgba(20,62,125,.3);font-size:16px;line-height:1.7;color:var(--ink)}
.nh-ai__msg p{flex:1;min-height:3.4em}
.nh-ai__msg p:after{content:"";display:inline-block;width:2px;height:1.05em;margin-left:2px;vertical-align:-2px;background:var(--blue);animation:nhCaret 1s steps(1) infinite}
.nh-ai__msg svg{flex:none;width:20px;height:20px;color:var(--ink)}
@keyframes nhCaret{50%{opacity:0}}

.nh-float{position:absolute;display:flex;align-items:center;gap:10px;padding:11px 16px;border:1px solid #dde8f7;border-radius:12px;background:rgba(255,255,255,.95);box-shadow:0 18px 38px -18px rgba(20,62,125,.4);font-size:13px;font-weight:700;color:var(--ink);backdrop-filter:blur(10px);animation:nhFloat 6s ease-in-out infinite}
.nh-float small{display:block;font-size:11px;font-weight:600;color:var(--nh-soft)}
.nh-float i{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#e4f6ec;color:#15a15f;font-style:normal;font-size:13px;font-weight:900}
.nh-float--blue i{background:#e3eeff;color:var(--blue)}
@keyframes nhFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}

/* Профессиональный профиль (главная — репутация). */
.nh-profile__head{display:flex;align-items:center;gap:16px}
.nh-profile__ava{display:grid;place-items:center;flex:none;width:64px;height:64px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#9fd6ff,#3b8cff 55%,#5b4fe0);color:#fff;font-size:22px;font-weight:800;letter-spacing:-.03em}
.nh-profile__name{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:650;letter-spacing:-.02em;color:var(--ink)}
.nh-profile__name i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--blue);color:#fff;font-style:normal;font-size:11px;font-weight:900}
.nh-profile__role{margin-top:4px;font-size:13px;color:var(--nh-soft)}
.nh-profile__rating{margin-left:auto;padding:6px 10px;border-radius:9px;background:#fff6db;color:#9a6a00;font-size:14px;font-weight:800;white-space:nowrap}
.nh-profile__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}
.nh-profile__stats div{padding:12px;border-radius:12px;background:var(--nh-card);text-align:center}
.nh-profile__stats b{display:block;font-family:var(--nh-mono);font-size:24px;font-weight:500;color:var(--ink)}
.nh-profile__stats small{font-size:12px;color:var(--nh-soft)}
.nh-profile__skills{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}
.nh-profile__skills span{padding:5px 10px;border-radius:7px;background:#eef4ff;color:#3b5b8f;font-size:12px;font-weight:600}
.nh-profile__list{list-style:none;display:grid;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid #edf2fa}
.nh-profile__list li{display:flex;gap:10px;font-size:14px;line-height:1.35;color:var(--nh-soft)}
.nh-profile__list li:before{content:"✓";flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e4f6ec;color:#15a15f;font-size:11px;font-weight:900}
.nh-profile__list b{display:block;font-size:14px;color:var(--ink)}

/* Сделка (главная — маркетплейс). */
.nh-deal__status{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;background:#e4f6ec;color:#138a52;font-size:12px;font-weight:700;white-space:nowrap}
.nh-deal__status i{width:7px;height:7px;border-radius:50%;background:#22b86a;box-shadow:0 0 0 4px rgba(34,184,106,.18)}
.nh-deal__parties{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-top:24px}
.nh-deal__party{display:grid;justify-items:center;gap:4px;text-align:center}
.nh-deal__party b{font-size:14px;color:var(--ink)}
.nh-deal__party small{font-size:12px;color:var(--nh-soft)}
.nh-deal__ava{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#e3eeff;color:var(--blue);font-weight:800}
.nh-deal__ava--b{background:#efe9ff;color:#7759ed}
.nh-deal__link{display:grid;justify-items:center;gap:6px;min-width:110px}
.nh-deal__link small{font-size:11px;font-weight:700;color:#7759ed;white-space:nowrap}
.nh-deal__shield{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#6b8cff,#7759ed);color:#fff;box-shadow:0 12px 24px -10px rgba(119,89,237,.6)}
.nh-deal__shield svg{width:22px;height:22px}
.nh-deal__terms{list-style:none;display:grid;gap:0;margin-top:22px;border:1px solid #e6eef9;border-radius:12px;overflow:hidden}
.nh-deal__terms li{display:flex;justify-content:space-between;gap:16px;padding:11px 14px;font-size:14px;color:var(--nh-soft)}
.nh-deal__terms li+li{border-top:1px solid #eef3fa}
.nh-deal__terms b{color:var(--ink);font-variant-numeric:tabular-nums}
.nh-deal__foot{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:13px;font-weight:600;color:#138a52}

/* Фото в карточке (главная — безопасность). */
.nh-photo{position:relative;width:100%;max-width:600px;margin:0}
.nh-photo img{display:block;width:100%;height:auto;border-radius:20px;box-shadow:0 34px 70px -30px rgba(20,62,125,.35)}
.nh-photo .nh-float--tl{left:-18px;top:14%}
.nh-photo .nh-float--br{right:-14px;bottom:12%;animation-delay:-3s}

/* ================================================ сетка возможностей */
.nh-features__head{max-width:640px}
.nh-features__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:56px}
.nh-fcard{position:relative;display:flex;flex-direction:column;min-height:210px;padding:32px 24px 30px;border-radius:20px;background:var(--nh-card);color:inherit;transition:background .25s,transform .25s}
.nh-fcard:hover{background:var(--nh-card-hover);transform:translateY(-3px)}
.nh-fcard .nh-feature__icon{width:32px;height:32px}
.nh-fcard__img{display:block;width:40px;height:40px;border-radius:11px;object-fit:contain;background:#fff;box-shadow:0 6px 16px -8px rgba(20,62,125,.35)}
.nh-fcard h3{margin:22px 0 10px;font-family:var(--nh-font);font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.035em;color:var(--ink)}
.nh-fcard p{font-size:16px;line-height:1.3;color:var(--nh-soft)}
.nh-fcard__tag{position:absolute;top:30px;right:24px;font-size:13px;font-weight:700;color:var(--ink)}
.nh-fcard__tag--beta{padding:3px 7px;border-radius:5px;background:linear-gradient(135deg,#6b8cff,#7759ed);color:#fff;font-size:11px}
.nh-fcard__tag--live{display:inline-flex;align-items:center;gap:6px;color:#138a52;font-size:12px}
.nh-fcard__tag--live:before{content:"";width:7px;height:7px;border-radius:50%;background:#22b86a;box-shadow:0 0 0 4px rgba(34,184,106,.16)}
.nh-fcard .nh-feature__more{top:30px;right:24px}
.nh-fcard__go{margin-top:auto;padding-top:18px;font-size:14px;font-weight:700;color:var(--blue)}

/* ============================================================== FAQ */
.nh-faq__title{text-align:center;font-family:var(--nh-font);font-size:48px;line-height:1;font-weight:650;letter-spacing:-.04em;color:var(--ink)}
.nh-faq__list{max-width:784px;margin:64px auto 0}
.nh-faq__item{border-bottom:1px solid var(--nh-line)}
.nh-faq__item h3{margin:0;font-size:inherit;font-weight:inherit}
.nh-faq__q{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:34px 16px 34px 0;border:0;background:none;cursor:pointer;text-align:left;font-family:var(--nh-font);font-size:20px;font-weight:500;letter-spacing:-.02em;line-height:1.3;color:var(--ink)}
.nh-faq__q:hover{color:var(--blue)}
.nh-faq__plus{position:relative;flex:none;width:14px;height:14px;color:var(--ink)}
.nh-faq__plus:before,.nh-faq__plus:after{content:"";position:absolute;left:0;top:6px;width:14px;height:2px;border-radius:1px;background:currentColor;transition:transform .3s ease}
.nh-faq__plus:after{transform:rotate(90deg)}
.nh-faq__item.is-open .nh-faq__plus:after{transform:rotate(0)}
.nh-faq__a{display:grid;grid-template-rows:1fr;transition:grid-template-rows .35s ease}
.nh-faq__a>div{overflow:hidden}
.nh-faq__a p{padding:0 56px 30px 0;font-size:16px;line-height:1.6;color:var(--nh-soft)}
.nh-faq__a p+p{margin-top:-16px}
.nh-faq__a a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.nh-faq__list.is-js .nh-faq__item:not(.is-open) .nh-faq__a{grid-template-rows:0fr}

/* ================================================== финальный призыв */
.nh-start{padding:96px 0;background:var(--nh-band);text-align:center;font-family:var(--nh-font)}
.nh-start .nh-lead{margin:24px auto 0;max-width:620px}
.nh-start__actions{display:flex;justify-content:center;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-top:32px}
.nh-start__actions>div{display:flex;flex-direction:column;align-items:center}
.nh-start .nh-dl{min-height:56px;background:#fff}

/* ============================================================ подвал */
.nh-footer{padding:120px 0 40px;background:var(--nh-tint);border-top:1px solid #e3ecf8;font-family:var(--nh-font)}
.nh-footer__main{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,auto);gap:64px}
.nh-footer__brand{max-width:300px}
.nh-footer__logo{display:inline-flex;align-items:center;gap:10px;font-size:22px;font-weight:800;letter-spacing:-.04em;color:var(--ink)}
.nh-footer__logo img{width:34px;height:35px;border-radius:9px}
.nh-footer__logo span{color:var(--blue)}
.nh-footer__brand p{margin-top:14px;font-size:14px;line-height:1.45;color:var(--nh-soft)}
.nh-footer__social{display:flex;gap:10px;margin-top:18px}
.nh-footer__social a{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;transition:background .2s}
.nh-footer__social a:hover{background:var(--blue)}
.nh-footer__social svg{width:17px;height:17px;fill:currentColor;stroke:none}
.nh-footer__social a:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.nh-footer__social a.nh-social-instagram{background:radial-gradient(circle at 30% 105%,#ffd776 0%,#fa7e1e 22%,#d62976 50%,#962fbf 75%,#4f5bd5 100%);transition:transform .2s,filter .2s,box-shadow .2s}
.nh-footer__social a.nh-social-instagram:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 4px 12px rgba(214,41,118,.25)}
.nh-footer__social .nh-social-instagram svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* Колонок стало больше (добавились «Ресурсы» и полный список документов),
   и у разных страниц их разное число: лента с переносом подходит лучше
   жёсткой сетки — лишних пустых колонок не остаётся. */
.nh-footer__cols{display:flex;flex-wrap:wrap;gap:34px 40px;min-width:0}
.nh-footer__cols>div{flex:0 1 auto;min-width:134px}
.nh-footer__cols h2{margin-bottom:12px;font-family:var(--nh-font);font-size:16px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.nh-footer__cols ul{list-style:none;display:grid;gap:10px}
.nh-footer__cols a{font-size:16px;color:#2a3a58;transition:color .2s}
.nh-footer__cols a:hover{color:var(--blue)}
.nh-footer__legal{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:88px;padding-top:24px;border-top:1px solid var(--nh-line);font-size:13px;color:#7185a6}
.nh-footer__legal a{color:inherit}
.nh-footer__legal a:hover{color:var(--blue)}

/* Кнопка поддержки в углу — у infloww на этом месте чат-виджет, у нас
   (как и в самом приложении) — «Поддержка», ведущая в Telegram. */
.nh-support{position:fixed;right:24px;bottom:24px;z-index:70;display:inline-flex;align-items:center;gap:9px;padding:13px 20px 13px 17px;border:1px solid #d5e4f8;border-radius:999px;background:rgba(255,255,255,.92);color:var(--blue);font-family:var(--nh-font);font-size:15px;font-weight:700;box-shadow:0 18px 40px -16px rgba(20,62,125,.35),0 2px 8px rgba(20,62,125,.06);backdrop-filter:blur(12px);animation:nhSupportIn .6s cubic-bezier(.2,.8,.2,1) 1.2s both;transition:transform .2s,box-shadow .2s}
.nh-support svg{width:20px;height:20px}
.nh-support:hover{transform:translateY(-2px);box-shadow:0 22px 44px -16px rgba(20,62,125,.45),0 2px 8px rgba(20,62,125,.08)}
@keyframes nhSupportIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* Мягкое появление блоков при прокрутке. Прячется только при живом JS
   (класс js ставит строчка в <head>), иначе блоки видны сразу. */
.js .nh-reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.js .nh-reveal.is-inview{opacity:1;transform:none}

/* ===================================== кнопки скачивания под систему */
/* Плашки как у магазинов приложений: значок ОС и две строки — рядом
   с главной кнопкой влезают обе. */
.nh-dl{position:relative;display:inline-flex;align-items:center;gap:11px;min-height:54px;padding:8px 20px 8px 15px;border:1px solid rgba(30,104,211,.2);border-radius:12px;background:rgba(255,255,255,.8);color:var(--ink);font-family:var(--nh-font);line-height:1.15;text-align:left;white-space:nowrap;transition:transform .2s,box-shadow .2s,background .2s}
.nh-dl svg{flex:none;width:24px;height:24px;fill:currentColor;stroke:none}
.nh-dl[data-download-link] svg{color:#0a6cff}
.nh-dl>span{display:flex;flex-direction:column;font-size:16px;font-weight:750;letter-spacing:-.02em}
.nh-dl small{font-size:11px;font-weight:600;letter-spacing:0;color:var(--muted)}
a.nh-dl:hover{background:#fff;transform:translateY(-2px);box-shadow:0 10px 24px -12px rgba(20,62,125,.35)}
.nh-dl--soon{cursor:default;color:#51607c;background:rgba(255,255,255,.5);border-style:dashed}
.nh-dl>i{position:absolute;top:-9px;right:-8px;padding:3px 7px;border-radius:6px;background:linear-gradient(135deg,#6b8cff,#7759ed);color:#fff;font-size:10px;font-style:normal;font-weight:800;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 6px 14px -6px rgba(119,89,237,.6)}

/* =================================== летающие значки на первом экране */
/* Как у infloww: плитки с тенью, каждая покачивается и дрейфует в своём
   ритме. Внешняя обёртка уходит за курсором (sections.js пишет --px/--py),
   внутренняя плитка крутится своей keyframe-анимацией — две трансформации
   не затирают друг друга. Где стоят плитки, решает страница. */
.hero-orbit{position:absolute;inset:0;z-index:1;pointer-events:none}
.hero-orbit__item{position:absolute;width:var(--s,88px);height:var(--s,88px);transform:translate3d(calc(var(--px,0px) * var(--depth,1)),calc(var(--py,0px) * var(--depth,1)),0);transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.hero-orbit__item--small{--s:62px}
.hero-orbit__tile{display:grid;place-items:center;width:100%;height:100%;overflow:hidden;border-radius:24%;background:#fff;box-shadow:0 22px 44px -14px rgba(20,60,120,.34),0 4px 12px rgba(20,60,120,.1);animation:nhOrbitIn .9s cubic-bezier(.2,.8,.2,1) var(--in,0s) both,nhOrbitFloat var(--dur,7s) ease-in-out var(--delay,0s) infinite;will-change:transform}
.hero-orbit__tile img{width:66%;height:auto;pointer-events:none;user-select:none}
.hero-orbit__tile--full img{width:100%;height:100%}
.hero-orbit__tile--glyph{background:linear-gradient(145deg,#ffffff,#eaf3ff);color:var(--blue)}
.hero-orbit__tile--glyph svg{width:46%;height:46%;stroke-width:1.8}
.hero-orbit__tile--violet{background:linear-gradient(145deg,#7f8cff,#6a4fe6);color:#fff}
.hero-orbit__tile--blue{background:linear-gradient(145deg,#2f9bff,#0754ea);color:#fff}
.hero-orbit__item--small .hero-orbit__tile{border-radius:28%}
@keyframes nhOrbitIn{from{opacity:0;scale:.6}to{opacity:1;scale:1}}
@keyframes nhOrbitFloat{
  0%,100%{transform:translate3d(0,0,0) rotate(var(--r,0deg))}
  25%{transform:translate3d(calc(var(--dx,6px) * .6),calc(var(--dy,-8px) * -.4),0) rotate(calc(var(--r,0deg) + var(--dr,6deg) * .5))}
  50%{transform:translate3d(var(--dx,6px),var(--dy,-8px),0) rotate(calc(var(--r,0deg) + var(--dr,6deg)))}
  75%{transform:translate3d(calc(var(--dx,6px) * .3),calc(var(--dy,-8px) * .7),0) rotate(calc(var(--r,0deg) - var(--dr,6deg) * .4))}
}

/* ======================================================= адаптивность */
@media(max-width:1200px){
  .nh-container{width:calc(100% - 48px)}
  .nh-why__grid{grid-template-columns:minmax(0,300fr) minmax(0,880fr)}
  .nh-duo{gap:40px}
  .nh-duo--grow{grid-template-columns:minmax(0,1fr) minmax(0,440px)}
  .nh-duo__features{gap:40px 28px}
  .nh-features__grid{gap:24px}
  .nh-footer__cols{gap:36px}
  .nh-ai__badge{right:-8px}
  .nh-ai__msg{right:-12px}
  .nh-photo .nh-float--tl{left:-8px}
  .nh-photo .nh-float--br{right:-6px}
}
@media(max-width:1050px){
  .nh-footer__main{grid-template-columns:1fr}
  .nh-footer__cols{gap:34px 28px}
}
@media(max-width:960px){
  .nh-section,.nh-start{padding:80px 0}
  .nh-why__grid{grid-template-columns:1fr;gap:48px}
  .nh-why__head{position:static}
  .nh-duo,.nh-duo--grow{grid-template-columns:1fr;gap:56px}
  .nh-duo--reverse .nh-duo__art{order:0}
  .nh-duo__art,.nh-duo--grow .nh-duo__art{justify-content:center;padding-bottom:0}
  .nh-duo--ai .nh-duo__art{padding:26px 22px 40px 0}
  .nh-features__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .nh-container{width:calc(100% - 32px)}
  .nh-section,.nh-start{padding:64px 0}
  .nh-h2{font-size:32px}
  .nh-lead{font-size:17px;margin-top:18px}
  .nh-kicker{font-size:13px;margin-bottom:18px}
  .nh-why__list,.nh-duo__features{grid-template-columns:1fr;gap:36px}
  .nh-feature h3,.nh-fcard h3{font-size:22px}
  .nh-duo__features{margin-top:40px}
  .nh-duo__cta{margin-top:36px}
  .nh-features__grid{grid-template-columns:1fr;gap:16px;margin-top:40px}
  .nh-fcard{min-height:0}
  .nh-faq__title{font-size:36px}
  .nh-faq__list{margin-top:40px}
  .nh-faq__q{font-size:18px;padding:24px 8px 24px 0}
  .nh-faq__a p{padding-right:8px}
  .nh-footer{padding-top:72px}
  .nh-footer__cols>div{flex:1 1 40%}
  .nh-footer__legal{margin-top:56px}
  .nh-card{padding:20px 18px 22px}
  .nh-chatter__ava{width:72px;height:72px;font-size:28px}
  .nh-chatter__name{font-size:26px}
  .nh-chatter__earned b{font-size:28px}
  .nh-ai{padding-bottom:120px}
  .nh-ai__badge{font-size:22px;top:-22px;right:-6px;padding:8px 14px 8px 10px}
  .nh-ai__badge img{width:28px;height:29px}
  .nh-ai__msg{left:14px;right:-6px;font-size:15px}
  .nh-btn{font-size:17px}
  .nh-float{padding:9px 12px;font-size:12px}
  .nh-photo .nh-float--tl{left:8px;top:8px}
  .nh-photo .nh-float--br{right:8px;bottom:8px}
  .nh-deal__parties{grid-template-columns:1fr;justify-items:center;gap:14px}
  .hero-orbit__item{--s:54px}
  .hero-orbit__item--small{display:none}
}
@media(max-width:560px){
  .nh-h2 br{display:none}
  .nh-support{right:16px;bottom:16px;padding:14px}
  .nh-support span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .nh-profile__rating{display:none}
}
@media(max-width:420px){
  .nh-chatter__stats{grid-template-columns:1fr 1fr;row-gap:14px}
  .nh-start__actions>div,.nh-start__actions .nh-btn{width:100%}
  .nh-start__actions .nh-dl{flex:1 1 140px;justify-content:center}
}
@media(max-width:380px){
  /* «Конфиденциальность» одним словом не влезает в полколонки на 320 px. */
  .nh-footer__cols>div{flex:1 1 100%}
}
@media(prefers-reduced-motion:reduce){
  .nh-section *,.nh-section *:before,.nh-section *:after,.nh-start *,.nh-support,.hero-orbit *,.nh-float{animation:none!important;transition:none!important}
  .nh-btn:hover,.nh-fcard:hover,a.nh-dl:hover{transform:none}
  .hero-orbit__tile{transform:rotate(var(--r,0deg))}
  .js .nh-reveal{opacity:1;transform:none;transition:none}
  .nh-chart__bars i{transform:none}
  .nh-chart__line path{stroke-dashoffset:0}
  .nh-chart__line circle{opacity:1}
}
