.hero-iskra-float {
  --ink: #0f1728;
  --navy: #1b2643;
  --paper: #f3f7fb;
  --paper-2: #e8f0f7;
  --text: #1b2643;
  --muted: #5a6b86;
  --line: rgba(48, 72, 112, 0.08);
  --spark: #1ec8ff;
  --spark-hot: #1678a5;
  --spark-core: #dff6ff;
  --garant: #d63e46;
  position: relative;
  isolation: isolate;
  overflow: visible;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--text);
  z-index: 3;
  text-align: left;
}
.hero-iskra-float .studio {
  position: absolute;
  inset: 0;
  background: transparent;
  overflow: visible;
}
.hero-iskra-float .iskra-genie-logo {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 24;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 22px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(30, 200, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.84);
  transform-origin: center center;
}
.hero-iskra-float .iskra-genie-logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
/* Логотип интро — ровно в центре блока видео (ПК и телефон) */
.hero-direct > .iskra-genie-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 18;
  width: 92px;
  height: 92px;
  margin: 0;
  border-radius: 22px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.38),
    0 0 36px rgba(30, 200, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.84);
  transform-origin: center center;
}
.hero-direct > .iskra-genie-logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
@media (max-width: 980px) {
  .hero-iskra-float .iskra-genie-logo,
  .hero-direct > .iskra-genie-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
  }
  .hero-iskra-float .iskra-genie-logo {
    margin: -40px 0 0 -40px;
    top: 46%;
  }
  .hero-iskra-float .iskra-genie-logo img,
  .hero-direct > .iskra-genie-logo img {
    width: 54px;
    height: 54px;
  }
}
.hero-iskra-float .stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1440px;
  height: 900px;
  transform-origin: center center;
  overflow: visible;
}

    

    
    

    

    .hero-iskra-float .studio::before{
      content: "";
      position: absolute;
      left: 18%;
      right: 18%;
      top: 22%;
      bottom: 18%;
      background: radial-gradient(ellipse at center, rgba(30, 200, 255, 0.16), transparent 68%);
      filter: blur(18px);
      animation: breathe 7.4s ease-in-out infinite;
      pointer-events: none;
    }

    .hero-iskra-float .studio::after{ display: none; }

    @keyframes breathe {
      0%, 100% { opacity: 0.55; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.06); }
    }

    .hero-iskra-float .wordmark, .hero-iskra-float .endcard, .hero-iskra-float .vignette, .hero-iskra-float .grain, .hero-iskra-float .flicker, .hero-iskra-float .cursor, .hero-iskra-float .click-ripple{
      display: none !important;
    }

    .hero-iskra-float canvas#sparks{
      display: none !important;
    }

    

    .hero-iskra-float .wordmark{
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      z-index: 30;
      pointer-events: none;
    }

    .hero-iskra-float .wordmark-logo{
      display: block;
      width: 72px;
      height: 72px;
      margin: 0 auto 22px;
      border-radius: 20px;
      padding: 8px;
      object-fit: contain;
      background: #fff;
      box-shadow: 0 12px 40px rgba(30, 200, 255, 0.28);
      opacity: 0;
    }
    .hero-iskra-float .brand-mark{
      width: 22px;
      height: 22px;
      border-radius: 6px;
      padding: 2px;
      object-fit: contain;
      background: #fff;
    }
    .hero-iskra-float .endcard-logo{
      display: block;
      width: 64px;
      height: 64px;
      margin: 0 auto 22px;
      border-radius: 18px;
      padding: 7px;
      background: #fff;
      box-shadow: 0 12px 40px rgba(30, 200, 255, 0.28);
    }

    .hero-iskra-float .wordmark h1{
      font-family: Manrope, system-ui, sans-serif;
      font-weight: 800;
      font-size: 92px;
      letter-spacing: 0.28em;
      color: #e8f4fb;
      text-indent: 0.28em;
      text-shadow: 0 0 40px rgba(30, 200, 255, 0.45);
      filter: blur(8px);
      opacity: 0;
    }

    .hero-iskra-float .wordmark p{
      margin-top: 18px;
      text-align: center;
      font-size: 13px;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: rgba(232, 244, 251, 0.55);
      opacity: 0;
    }

    .hero-iskra-float .product{
      position: absolute;
      left: 50%;
      top: 50%;
      width: 1180px;
      height: 740px;
      margin: -370px 0 0 -590px;
      transform: perspective(1800px) rotateX(0deg) rotateY(0deg) scale(1);
      transform-origin: center center;
      opacity: 0;
      cursor: default;
      filter: none;
      overflow: visible;
      will-change: transform, opacity;
      pointer-events: none;
    }
    .hero-iskra-float .product::after{
      content: "";
      position: absolute;
      left: -22%;
      right: -22%;
      top: 18%;
      bottom: -42%;
      z-index: 0;
      pointer-events: none;
      border-radius: 50%;
      background: radial-gradient(ellipse at 50% 58%, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 28%, rgba(0, 0, 0, 0.06) 52%, transparent 74%);
      transform: translate3d(0, 18px, 0);
    }

    .hero-iskra-float .glass{
      position: absolute;
      inset: 0;
      border-radius: 18px;
      overflow: hidden;
      pointer-events: none;
      z-index: 8;
      background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0) 50%, transparent 60%);
    }

    .hero-iskra-float .window{
      height: 100%;
      border-radius: 18px;
      overflow: hidden;
      background: var(--paper);
      color: var(--text);
      border: 1px solid rgba(255, 255, 255, 0.14);
      display: grid;
      grid-template-rows: 42px 46px 1fr;
      position: relative;
      z-index: 1;
      box-shadow: 0 0 0 1px rgba(30, 200, 255, 0.14);
    }

    .hero-iskra-float .chrome{
      background: var(--navy);
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 0 16px;
      color: #c9c3b8;
    }

    .hero-iskra-float .dots{ display: flex; gap: 7px; }
    .hero-iskra-float .dots i{
      width: 10px; height: 10px; border-radius: 50%; display: block;
      background: #3d4554;
    }
    .hero-iskra-float .dots i:nth-child(1){ background: #ff5f57; opacity: 0.85; }
    .hero-iskra-float .dots i:nth-child(2){ background: #febc2e; opacity: 0.85; }
    .hero-iskra-float .dots i:nth-child(3){ background: #28c840; opacity: 0.85; }

    .hero-iskra-float .brand{
      display: none;
    }

    .hero-iskra-float .brand b{
      color: #fff;
      font-weight: 700;
      letter-spacing: 0.16em;
    }

    .hero-iskra-float .brand b span{ color: var(--garant); }

    .hero-iskra-float .tab{
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 0;
      border-radius: 0;
      background: transparent;
      color: #fff;
      font-weight: 700;
      letter-spacing: 0.14em;
    }

    .hero-iskra-float .tab svg{ display: block; }

    .hero-iskra-float .toolbar{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 0 12px 0 0;
      border-bottom: 1px solid var(--line);
      background: #f8fbfd;
      min-height: 46px;
      overflow: hidden;
    }

    .hero-iskra-float .profiles{
      display: flex;
      align-items: center;
      gap: 6px;
      padding-left: 12px;
      min-width: 0;
      flex: 1 1 auto;
    }

    .hero-iskra-float .pill{
      flex: 0 0 auto;
      width: 34px;
      height: 34px;
      padding: 0;
      border-radius: 10px;
      color: var(--muted);
      background: transparent;
      border: 1px solid transparent;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0;
      line-height: 0;
      white-space: nowrap;
    }
    .hero-iskra-float .pill svg{
      display: block;
      width: 16px;
      height: 16px;
    }

    .hero-iskra-float .pill.on{
      background: rgba(30, 200, 255, 0.14);
      color: #1678a5;
      border-color: rgba(30, 200, 255, 0.32);
      font-weight: 600;
    }

    .hero-iskra-float .tools{
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--muted);
      font-size: 0;
      font-weight: 500;
      flex: 0 0 auto;
    }

    .hero-iskra-float .tools span{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      width: 34px;
      height: 34px;
      padding: 0;
      border-radius: 10px;
      border: 1px solid var(--line);
      background: #fff;
      font-size: 0;
      line-height: 0;
      white-space: nowrap;
    }
    .hero-iskra-float .tools span svg{
      display: block;
      width: 14px;
      height: 14px;
    }

    .hero-iskra-float .body{
      display: grid;
      grid-template-columns: 248px 1fr;
      min-height: 0;
    }

    .hero-iskra-float .side{
      background: #eceff3;
      border-right: 1px solid rgba(48, 72, 112, 0.08);
      padding: 10px 8px 10px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      color: #1b2643;
      min-height: 0;
      overflow-x: hidden;
      overflow-y: auto;
    }
    .hero-iskra-float .side-brand{
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px 12px;
      font-weight: 700;
      font-size: 15px;
      letter-spacing: 0.06em;
      color: #1b2643;
    }
    .hero-iskra-float .side-iskra-logo{
      width: 22px;
      height: 22px;
      object-fit: contain;
      border-radius: 6px;
      background: #fff;
      padding: 2px;
      flex: 0 0 auto;
    }
    .hero-iskra-float .side-brand svg{
      opacity: 0.45;
    }

    .hero-iskra-float .side-link{
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border-radius: 8px;
      font-size: 13.5px;
      line-height: 1.2;
      color: #1b2643;
      white-space: nowrap;
    }
    .hero-iskra-float .side-link svg{
      flex: 0 0 auto;
      opacity: 0.72;
      color: #4a5a74;
    }

    .hero-iskra-float .side-section{
      margin-top: 12px;
      flex: 0 0 auto;
      min-height: auto;
      padding-bottom: 4px;
    }

    .hero-iskra-float .side h3{
      font-size: 11px;
      letter-spacing: 0.02em;
      text-transform: none;
      color: #8a96ab;
      padding: 4px 10px 6px;
      font-weight: 600;
    }

    .hero-iskra-float .hist{
      padding: 9px 10px 10px;
      margin-bottom: 2px;
      border-radius: 8px;
      font-size: 12.5px;
      color: #3c4a63;
      line-height: 1.4;
      overflow: visible;
    }

    .hero-iskra-float .hist.live{
      background: #fff;
      box-shadow: none;
      outline: 1px solid rgba(30, 200, 255, 0.45);
      color: #1b2643;
      opacity: 0;
      transform: translateY(6px);
      padding: 9px 10px 10px;
    }

    .hero-iskra-float .side-foot{
      margin-top: auto;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 12px 16px;
      border-top: 1px solid rgba(48, 72, 112, 0.08);
      color: #1b2643;
      font-size: 13px;
      font-weight: 600;
    }
    .hero-iskra-float .side-ntpc-logo{
      width: 40px;
      height: 40px;
      padding: 7px;
      box-sizing: border-box;
      object-fit: contain;
      flex: 0 0 auto;
      border-radius: 12px;
      background: #fff;
      box-shadow:
        0 0 0 1px rgba(48, 72, 112, 0.1),
        0 4px 12px rgba(48, 72, 112, 0.08);
    }
    .hero-iskra-float .side-avatar{
      display: none;
    }

    .hero-iskra-float .main{
      display: grid;
      grid-template-rows: 1fr auto;
      min-height: 0;
      background: var(--paper);
      position: relative;
    }

    .hero-iskra-float .chat{
      padding: 28px 36px 12px;
      overflow-x: hidden;
      overflow-y: auto;
      overflow-anchor: none;
      scrollbar-width: none;
      display: flex;
      flex-direction: column;
      gap: 18px;
      scroll-behavior: auto;
    }
    .hero-iskra-float .chat::-webkit-scrollbar{ display: none; }

    .hero-iskra-float .msg{
      max-width: 92%;
      opacity: 0;
      transform: translateY(8px);
      filter: blur(3px);
    }

    .hero-iskra-float .msg.user{
      align-self: flex-end;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 16px 16px 4px 16px;
      padding: 12px 16px;
      font-size: 14px;
      line-height: 1.5;
      text-align: left;
      box-shadow: 0 8px 24px rgba(26, 31, 43, 0.04);
    }

    .hero-iskra-float .msg.ai{
      align-self: flex-start;
      width: 100%;
    }

    .hero-iskra-float .ai-head{
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #1b2643;
      font-weight: 700;
    }

    .hero-iskra-float .ember{ display: none; }

    .hero-iskra-float .ai-logo{
      width: 22px;
      height: 22px;
      object-fit: contain;
      filter: grayscale(1) contrast(1.8);
      background: transparent;
      padding: 0;
      border-radius: 0;
    }

    .hero-iskra-float .ai-card{
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 18px 20px 16px;
      box-shadow: 0 10px 30px rgba(26, 31, 43, 0.04);
    }

    .hero-iskra-float .ai-card h4{
      font-size: 13px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #1678a5;
      margin-bottom: 8px;
    }

    .hero-iskra-float .ai-card p{
      font-size: 14.5px;
      line-height: 1.55;
      color: var(--text);
    }

    .hero-iskra-float .calc{
      margin-top: 12px;
      padding: 10px 12px;
      border-radius: 10px;
      background: rgba(30, 200, 255, 0.10);
      font-size: 13.5px;
      font-weight: 600;
      color: #1678a5;
      opacity: 0;
    }

    .hero-iskra-float .chips{
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 14px;
    }

    .hero-iskra-float .chip{
      font-size: 11.5px;
      padding: 5px 9px;
      border-radius: 999px;
      border: 1px solid rgba(30, 200, 255, 0.28);
      background: #eaf6fb;
      color: #24769b;
      box-shadow: inset 0 0 12px rgba(30, 200, 255, 0.08);
      opacity: 0;
      transform: translateY(4px);
    }

    .hero-iskra-float .think{
      display: none;
      gap: 5px;
      padding: 6px 2px;
      opacity: 0;
      flex: 0 0 auto;
    }
    .hero-iskra-float .think.is-on{
      display: flex;
      opacity: 1;
    }

    .hero-iskra-float .think b{
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--spark);
      opacity: 0.25;
      animation: think 1.1s ease-in-out infinite;
    }
    .hero-iskra-float .think b:nth-child(2){ animation-delay: 0.15s; }
    .hero-iskra-float .think b:nth-child(3){ animation-delay: 0.3s; }

    @keyframes think {
      0%, 100% { opacity: 0.2; transform: translateY(0); }
      50% { opacity: 1; transform: translateY(-2px); }
    }

    .hero-iskra-float .composer{
      padding: 14px 18px 18px;
      background: linear-gradient(180deg, transparent, var(--paper) 18%);
    }

    .hero-iskra-float .input{
      display: flex;
      align-items: flex-end;
      gap: 10px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 12px 12px 12px 16px;
      box-shadow: 0 10px 30px rgba(26, 31, 43, 0.05);
      min-height: 56px;
    }

    .hero-iskra-float .input-text{
      flex: 1;
      font-size: 14.5px;
      line-height: 1.45;
      color: var(--text);
      min-height: 22px;
      text-align: left;
    }

    .hero-iskra-float .caret{
      display: inline-block;
      width: 1.5px;
      height: 14px;
      background: var(--spark-hot);
      margin-left: 1px;
      vertical-align: -2px;
      opacity: 0;
    }

    .hero-iskra-float .send{
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: none;
      background: transparent;
      display: grid;
      place-items: center;
      box-shadow: none;
      padding: 0;
      cursor: pointer;
      transition: transform 0.16s ease, background 0.16s ease;
    }
    .hero-iskra-float .send.is-press,
    .hero-iskra-float .send:active{
      transform: scale(0.82);
      background: #e8edf3;
    }
    .hero-iskra-float .send svg{
      display: block;
      transition: transform 0.16s ease;
    }
    .hero-iskra-float .send.is-press svg{
      transform: translateX(1px);
    }

    .hero-iskra-float .paper{
      display: none !important;
      position: absolute;
      right: 28px;
      top: 86px;
      width: 340px;
      height: 430px;
      background:
        repeating-linear-gradient(transparent, transparent 27px, rgba(26, 31, 43, 0.035) 28px),
        #f8fbfd;
      border-radius: 4px 10px 10px 4px;
      padding: 28px 26px;
      box-shadow:
        0 24px 50px rgba(26, 31, 43, 0.18),
        0 0 0 1px rgba(26, 31, 43, 0.06);
      transform: translateX(24px) rotateX(8deg);
      opacity: 0;
      z-index: 6;
      overflow: hidden;
    }

    .hero-iskra-float .paper::before{
      content: "";
      position: absolute;
      inset: 0;
      opacity: 0.04;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
      pointer-events: none;
    }

    .hero-iskra-float .paper h2{
      font-family: Manrope, system-ui, sans-serif;
      font-size: 22px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-align: center;
      margin-bottom: 16px;
    }

    .hero-iskra-float .paper .meta{
      font-size: 11px;
      color: var(--muted);
      line-height: 1.5;
      margin-bottom: 12px;
    }

    .hero-iskra-float .paper .body-text{
      font-family: Manrope, system-ui, sans-serif;
      font-size: 14.5px;
      line-height: 1.55;
      color: #2a2430;
    }

    .hero-iskra-float .paper .sum{
      margin-top: 14px;
      font-weight: 600;
      font-size: 14px;
    }

    .hero-iskra-float .endcard{
      position: absolute;
      inset: 0;
      z-index: 32;
      display: grid;
      place-items: center;
      opacity: 0;
      pointer-events: none;
    }

    .hero-iskra-float .endcard h1{
      font-family: Manrope, system-ui, sans-serif;
      font-size: 72px;
      font-weight: 800;
      letter-spacing: 0.22em;
      text-indent: 0.22em;
      color: #e8f4fb;
      text-align: center;
      text-shadow: 0 0 48px rgba(30, 200, 255, 0.4);
    }

    .hero-iskra-float .endcard p{
      margin-top: 14px;
      text-align: center;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      font-size: 13px;
      color: rgba(232, 244, 251, 0.55);
    }

    .hero-iskra-float .endcard small{
      display: block;
      margin-top: 28px;
      text-align: center;
      letter-spacing: 0.4em;
      font-size: 11px;
      font-weight: 800;
      color: var(--cyan, #1ec8ff);
    }

    .hero-iskra-float .cursor{
      position: fixed;
      z-index: 50;
      width: 18px;
      height: 18px;
      pointer-events: none;
      filter: drop-shadow(0 0 10px rgba(30, 200, 255, 0.35));
      opacity: 0;
      left: 0;
      top: 0;
    }

    .hero-iskra-float .click-ripple{
      position: absolute;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 1.5px solid rgba(30, 200, 255, 0.7);
      transform: translate(-50%, -50%) scale(0.2);
      opacity: 0;
      pointer-events: none;
      z-index: 49;
    }

    .hero-iskra-float .flicker{
      position: absolute;
      inset: 0;
      z-index: 42;
      pointer-events: none;
      background: #fff;
      opacity: 0;
      mix-blend-mode: overlay;
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-iskra-float .grain, .hero-iskra-float .studio::before, .hero-iskra-float .studio::after{ animation: none; }
      .hero-iskra-float html, .hero-iskra-float body{ cursor: auto; }
      .hero-iskra-float .cursor{ display: none; }
    }
  
body.page-home .hero-direct.is-fullscreen {
  justify-content: stretch;
}
body.page-home .hero-direct-inner {
  display: flex !important;
  flex-direction: column;
  grid-template-columns: none !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  /* Как у синей плашки «Направления»: те же боковые отступы */
  width: var(--page-width) !important;
  max-width: var(--page-width) !important;
  flex: 1 1 auto;
  min-height: 0;
  text-align: center;
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.page-home .hero-home-copy {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  margin-top: 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}
body.page-home .hero-home-copy.is-in {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  body.page-home .hero-home-copy {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
}
body.page-home .hero-home-copy .hero-kicker {
  margin-bottom: 8px !important;
  text-align: center;
  width: 100%;
}
body.page-home .hero-home-copy h1,
body.page-home .hero-direct-inner .hero-home-copy h1,
body.page-home .hero-direct h1 {
  margin: 0 0 10px !important;
  font-size: clamp(36px, 4.4vw, 58px) !important;
  line-height: .95 !important;
  text-align: center !important;
  max-width: none !important;
}
body.page-home .hero-home-copy .hero-lead,
body.page-home .hero-lead {
  max-width: none;
  margin: 0 auto;
  font-size: 16px;
  text-align: center;
}
body.page-home .hero-iskra-float {
  flex: 1 1 auto;
  justify-self: stretch;
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  pointer-events: none !important;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
body.page-home .hero-iskra-float,
body.page-home .hero-iskra-float * {
  pointer-events: none !important;
}
body.page-home .hero-iskra-float .chat {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: none;
  scrollbar-width: none;
  touch-action: none;
  -webkit-overflow-scrolling: auto;
}
body.page-home .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  width: 100%;
}
body.page-home .hero-cta-row .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
body.page-home .hero-cta-row .hero-cta--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
body.page-home .hero-cta-row .hero-cta--light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
@media (min-width: 981px) {
  body.page-home .hero-direct,
  body.page-home .hero-direct.is-fullscreen {
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh;
    padding: 0 !important;
    justify-content: stretch !important;
  }
  body.page-home .hero-direct-inner {
    display: grid !important;
    grid-template-columns: minmax(280px, 0.9fr) minmax(520px, 1.35fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    gap: clamp(28px, 3.5vw, 48px) !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: calc(96px + env(safe-area-inset-top, 0px)) 0 32px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.page-home .hero-home-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 420px !important;
    margin-top: 0 !important;
    text-align: left !important;
  }
  body.page-home .hero-home-copy .hero-kicker {
    width: auto;
    margin-bottom: 16px !important;
    text-align: left !important;
  }
  body.page-home .hero-title-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: 100%;
  }
  body.page-home .hero-home-copy h1,
  body.page-home .hero-direct-inner .hero-home-copy h1,
  body.page-home .hero-direct h1,
  body.page-home .hero-title-row h1 {
    flex: none !important;
    margin: 0 !important;
    font-size: clamp(42px, 4.6vw, 64px) !important;
    line-height: 0.98 !important;
    text-align: left !important;
    white-space: normal !important;
    max-width: none !important;
  }
  body.page-home .hero-home-copy .hero-lead,
  body.page-home .hero-lead,
  body.page-home .hero-title-row .hero-lead {
    flex: none !important;
    margin: 0 !important;
    max-width: 340px !important;
    font-size: clamp(15px, 1.2vw, 18px) !important;
    line-height: 1.45 !important;
    text-align: left !important;
    white-space: normal !important;
  }
  body.page-home .hero-cta-row {
    margin-top: 22px;
    gap: 12px;
  }
  body.page-home .hero-iskra-float {
    flex: none !important;
    width: 100% !important;
    min-height: 0 !important;
    height: min(100%, 560px) !important;
    max-height: calc(100dvh - 200px) !important;
    align-self: center !important;
  }
  /* Окно заполняет правую колонку без съезда сетки */
  body.page-home .hero-iskra-float .studio {
    inset: 0 !important;
  }
  body.page-home .hero-iskra-float .stage {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }
  body.page-home .hero-iskra-float .product {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    transform-origin: center center;
  }
  body.page-home .hero-iskra-float .product::after {
    left: -10%;
    right: -10%;
    top: 24%;
    bottom: -30%;
  }
  body.page-home .hero-iskra-float .window {
    height: 100%;
    border-radius: 20px;
    display: grid !important;
    grid-template-rows: 42px 46px minmax(0, 1fr) !important;
    overflow: hidden;
  }
  body.page-home .hero-iskra-float .chrome {
    display: flex !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    height: 42px !important;
    border-radius: 0 !important;
    justify-content: flex-start !important;
  }
  body.page-home .hero-iskra-float .dots {
    display: flex !important;
  }
  body.page-home .hero-iskra-float .brand {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
  }
  body.page-home .hero-iskra-float .brand-copy {
    display: flex;
    flex-direction: row-reverse;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
  }
  body.page-home .hero-iskra-float .brand-hint {
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: rgba(232, 244, 251, 0.82);
    white-space: nowrap;
  }
  body.page-home .hero-iskra-float .tab {
    display: inline-flex !important;
    color: #fff;
    background: transparent;
    padding: 0;
  }
  body.page-home .hero-iskra-float .toolbar {
    display: flex !important;
    align-items: center;
  }
  body.page-home .hero-iskra-float .body {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    min-height: 0;
  }
  body.page-home .hero-iskra-float .side {
    display: flex !important;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body.page-home .hero-iskra-float .main {
    min-height: 0;
  }
  body.page-home .hero-iskra-float .chat {
    padding: 20px 24px 10px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}
@media (max-width: 980px) {
  body.page-home .hero-direct,
  body.page-home .hero-direct.is-fullscreen {
    height: calc(var(--hero-face-h, 100svh) + 40px) !important;
    min-height: calc(var(--hero-face-h, 100svh) + 40px) !important;
  }
  body.page-home .hero-direct-inner {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    /* Бока 18px; низ — через margin у Искры, чтобы flex его не съел */
    padding: calc(118px + env(safe-area-inset-top, 0px)) 18px 0 !important;
    gap: 28px !important;
    box-sizing: border-box;
  }
  /* Пока Искра выезжает вниз из лого — не обрезаем путь анимации */
  body.iskra-slide-intro.page-home .hero-direct-inner {
    overflow: visible !important;
  }
  body.iskra-slide-intro.page-home .hero-iskra-float {
    z-index: 22;
  }
  body.iskra-slide-intro.page-home .hero-iskra-float .product {
    transform-origin: 50% 0%;
  }
  body.page-home .hero-iskra-float {
    order: 2 !important;
    flex: 1 1 auto !important;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto !important;
    justify-self: stretch;
    overflow: visible;
    /* Зазор до края видео снизу = как по бокам: 16px (max-width) + 18px (padding) */
    margin: 8px 0 34px !important;
  }
  body.page-home .hero-home-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center;
    margin-top: 0;
    margin-bottom: 4px;
    width: 100%;
    order: 1 !important;
  }
  body.page-home .hero-home-copy .hero-kicker {
    order: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    width: 100%;
  }
  body.page-home .hero-home-copy .hero-title-row {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
    gap: 8px;
  }
  body.page-home .hero-home-copy .hero-cta-row {
    order: 3 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: stretch;
    align-items: stretch;
    gap: 6px;
    margin-top: 14px;
    width: 100%;
  }
  body.page-home .hero-cta-row .hero-cta,
  body.page-home .hero-cta-row .btn {
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 0 8px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  body.page-home .hero-home-copy h1,
  body.page-home .hero-home-copy .hero-lead {
    order: unset !important;
  }
  body.page-home .hero-title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 8px;
  }
  body.page-home .hero-kicker {
    margin-top: 0 !important;
    text-align: center !important;
  }
  body.page-home .hero-home-copy h1,
  body.page-home .hero-direct-inner .hero-home-copy h1,
  body.page-home .hero-title-row h1 {
    text-align: center !important;
    white-space: normal;
  }
  body.page-home .hero-home-copy .hero-lead,
  body.page-home .hero-title-row .hero-lead {
    max-width: none;
    text-align: center !important;
    white-space: normal;
  }

  .hero-iskra-float .stage {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none !important;
    perspective: 1400px;
    perspective-origin: 50% 42%;
    overflow: visible;
  }

  .hero-iskra-float .product {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    transform: none;
    transform-origin: center center;
    transform-style: preserve-3d;
    filter: none;
  }

  .hero-iskra-float .product::after {
    left: -28%;
    right: -28%;
    top: 22%;
    bottom: -36%;
    background: radial-gradient(ellipse at 50% 62%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.16) 30%, rgba(0, 0, 0, 0.05) 54%, transparent 76%);
  }

  .hero-iskra-float .glass {
    border-radius: 22px;
  }

  .hero-iskra-float .window {
    position: relative;
    border-radius: 22px;
    grid-template-rows: 1fr;
    background: transparent;
    border: 1.5px solid var(--navy);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
    overflow: visible;
    isolation: isolate;
  }

  /* Верхняя грань как на телефоне: чат плавно уходит в размытие под таблеткой */
  .hero-iskra-float .window::before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 72px;
    z-index: 5;
    pointer-events: none;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.42) 38%,
      rgba(255, 255, 255, 0.12) 68%,
      rgba(255, 255, 255, 0) 100%
    );
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 28%,
      rgba(0, 0, 0, 0.55) 58%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 28%,
      rgba(0, 0, 0, 0.55) 58%,
      transparent 100%
    );
  }

  .hero-iskra-float .window::after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 40px;
    z-index: 5;
    pointer-events: none;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.18) 55%,
      rgba(255, 255, 255, 0) 100%
    );
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
  }

  .hero-iskra-float .dots {
    display: none;
  }

  .hero-iskra-float .chrome {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -46%);
    z-index: 7;
    width: max-content;
    max-width: min(94vw, 420px);
    height: 48px;
    padding: 4px 14px 4px 8px;
    gap: 0;
    justify-content: center;
    border-radius: 999px;
    background: var(--navy);
    box-shadow: 0 8px 20px rgba(48, 72, 112, 0.35);
    overflow: hidden;
  }

  .hero-iskra-float .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }

  .hero-iskra-float .brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    line-height: 1.1;
  }

  .hero-iskra-float .brand-hint {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
  }

  .hero-iskra-float .brand-mark {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    padding: 0;
  }

  .hero-iskra-float .tab {
    font-size: 13px;
    letter-spacing: 0.14em;
    background: transparent;
    padding: 0;
    color: #fff;
    font-weight: 800;
  }

  /* Иконки живут внутри тёмной таблетки; разъезжается после появления окна */
  .hero-iskra-float .toolbar {
    display: none !important;
  }

  .hero-iskra-float .chrome .profiles,
  .hero-iskra-float .chrome .tools {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    min-width: 0;
    padding-left: 0;
    margin: 0;
    opacity: var(--pill-open, 0);
    max-width: calc(var(--pill-open, 0) * 168px);
    transform: translateX(calc((1 - var(--pill-open, 0)) * -12px));
    overflow: hidden;
    pointer-events: none;
  }

  .hero-iskra-float .chrome .profiles {
    margin-left: calc(var(--pill-open, 0) * 8px);
    padding-left: calc(var(--pill-open, 0) * 8px);
    border-left: solid rgba(255, 255, 255, 0.18);
    border-left-width: calc(var(--pill-open, 0) * 1px);
  }

  .hero-iskra-float .chrome .tools {
    max-width: calc(var(--pill-open, 0) * 84px);
  }

  .hero-iskra-float .chrome .pill,
  .hero-iskra-float .chrome .tools span {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 9px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    box-shadow: none;
  }

  .hero-iskra-float .chrome .pill svg,
  .hero-iskra-float .chrome .tools span svg {
    display: block;
    width: 14px;
    height: 14px;
    color: #fff;
    stroke: #fff;
  }

  .hero-iskra-float .chrome .pill.on {
    background: rgba(30, 200, 255, 0.32);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
  }

  .hero-iskra-float .body {
    grid-template-columns: 1fr;
    grid-row: 1;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 22px;
    overflow: hidden;
  }

  .hero-iskra-float .side {
    display: none;
  }

  .hero-iskra-float .main {
    position: relative;
    z-index: 1;
    background: transparent;
  }

  /* Ещё один слой размытия прямо над лентой сообщений */
  .hero-iskra-float .main::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 58px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.28) 48%,
      rgba(255, 255, 255, 0) 100%
    );
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 100%);
  }

  .hero-iskra-float .chat {
    padding: 48px 14px 8px;
    gap: 12px;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0,
      rgba(0, 0, 0, 0.28) 24px,
      #000 52px,
      #000 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0,
      rgba(0, 0, 0, 0.28) 24px,
      #000 52px,
      #000 100%
    );
  }

  .hero-iskra-float .msg {
    max-width: 100%;
  }

  .hero-iskra-float .msg.user {
    align-self: stretch;
    font-size: 13px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f3f6fa;
    border: 0;
    box-shadow: none;
  }

  .hero-iskra-float .ai-card {
    padding: 12px 14px;
    border-radius: 16px;
    background: #f3f6fa;
    border: 0;
    box-shadow: none;
  }

  .hero-iskra-float .ai-card h4 {
    font-size: 11px;
  }

  .hero-iskra-float .ai-card p {
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-iskra-float .calc {
    font-size: 12px;
    padding: 8px 10px;
  }

  .hero-iskra-float .chip {
    font-size: 10.5px;
  }

  .hero-iskra-float .composer {
    padding: 10px 12px 14px;
  }

  .hero-iskra-float .input {
    min-height: 48px;
    padding: 10px 10px 10px 14px;
    border-radius: 22px;
  }

  .hero-iskra-float .input-text {
    font-size: 13px;
    text-align: left;
  }

  .hero-iskra-float .send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
  }

  .hero-iskra-float .paper {
    display: none !important;
  }

  .hero-iskra-float .paper h2 {
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 0.14em;
  }

  .hero-iskra-float .paper .meta {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .hero-iskra-float .paper .body-text {
    font-size: 12px;
    line-height: 1.4;
  }

  .hero-iskra-float .paper .sum {
    font-size: 12px;
    margin-top: 8px;
  }

  .hero-iskra-float .studio::before {
    left: 8%;
    right: 8%;
    top: 8%;
    bottom: 8%;
  }
}
