/* Selge Data — «технологичный» первый экран главной (ET и RU, класс tech у <body>).
   Тёмная шапка с видео «туннель данных» во всю ширину, тонкая сетка поверх и плавный переход в светлую страницу.
   Остальные страницы и блоки ниже — в обычной светлой палитре.
   Видео без звука, по кругу (ролик зациклен без шва); запускает hero-video.js, при «уменьшить движение» — постер.
   «Живая» таблица (hero-visual) скрыта, но не удалена: чтобы вернуть её, удалите правило .hero-visual ниже. */
body.tech{--t-bg:#06100b;--t-ink:#eef7f0;--t-muted:#bcd2c3;--t-mint:#9be3b4;--t-mint-h:#bdeecd;--t-line:#ffffff24}
.hero-visual{display:none}

/* шапка сайта на главной — тёмная, в тон видео */
body.tech .masthead{background:var(--t-bg);color:var(--t-ink)}
body.tech .masthead .logo,body.tech .masthead nav a{color:var(--t-ink)}
body.tech .masthead nav a:hover{color:var(--t-mint)}
body.tech .masthead .languages{border-color:var(--t-line);background:#ffffff0f}
body.tech .masthead .logo small{color:var(--t-muted)}
body.tech .masthead .languages a{color:var(--t-ink)}
body.tech .masthead .languages a[aria-current=page]{background:var(--t-ink);color:var(--t-bg)}
body.tech :focus-visible{outline-color:var(--t-mint)}

/* первый экран */
body.tech .hero-shell{position:relative;isolation:isolate;background:var(--t-bg);border-radius:0;padding-bottom:0;overflow:hidden}
body.tech .hero-shell>.flow-bg,body.tech .hero-shell>.flow{display:none}
.hero-vid{position:absolute;inset:0;z-index:0;overflow:hidden;
  -webkit-mask-image:linear-gradient(180deg,#0000 0%,#000 14%);mask-image:linear-gradient(180deg,#0000 0%,#000 14%)}
.hero-video{width:100%;height:100%;object-fit:cover;object-position:72% 50%;display:block}
/* слева тёмная вуаль под текстом, справа видео открыто */
.hero-vid:after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,#06100b 0%,#06100bf2 32%,#06100bcc 49%,#06100b40 72%,#06100b00 88%)}
/* тонкая сетка — как миллиметровка под данными; ярче там, где видео */
body.tech .hero-shell:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background-image:linear-gradient(#9be3b414 1px,#0000 1px),linear-gradient(90deg,#9be3b414 1px,#0000 1px);background-size:56px 56px;background-position:-1px -1px;
  -webkit-mask-image:radial-gradient(70% 90% at 78% 42%,#000 0%,#0000 100%);mask-image:radial-gradient(70% 90% at 78% 42%,#000 0%,#0000 100%)}
/* низ: тёмная шапка плавно перетекает в светлый фон страницы */
body.tech .hero-shell:after{content:"";position:absolute;left:0;right:0;bottom:0;height:230px;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,#06100b00 0%,#0a1a1199 22%,#1d3a28 46%,#6f987d 70%,#d6eadb 88%,#fff 100%)}
body.tech .hero{position:relative;z-index:2;padding-bottom:230px}
@media(min-width:851px){body.tech .hero{min-height:min(640px,76vh)}}

/* текст на тёмном */
body.tech .hero-copy .eyebrow{color:var(--t-mint)}
body.tech .hero-copy h1{color:var(--t-ink)}
body.tech .hero-copy .hero-summary{color:var(--t-muted)}
body.tech .hero-copy .intro{color:var(--t-ink)}
body.tech .hero-actions .button{background:var(--t-mint);color:#06100b;box-shadow:0 0 0 1px #9be3b44d,0 12px 34px -10px #9be3b466}
body.tech .hero-actions .button:hover{background:var(--t-mint-h)}
body.tech .hero-actions .text-arrow{color:var(--t-ink);border-color:#eef7f066}
body.tech .hero-actions .text-arrow:hover{color:var(--t-mint)}

/* кнопка паузы */
.hero-pause{position:absolute;right:22px;top:20px;z-index:3;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid #ffffff59;background:#06100b99;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background-color .2s}
.hero-pause:hover{background:#06100bdd}
.hero-pause:focus-visible{outline:3px solid var(--t-mint,#9be3b4);outline-offset:2px}
.hero-pause svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.hero-pause .i-play{display:none;fill:currentColor;stroke:none}
.hero-pause.is-paused .i-pause{display:none}
.hero-pause.is-paused .i-play{display:block}

/* телефон и планшет: видео под текстом, края растворяются в тёмном фоне — без рамки */
@media(max-width:850px){
  body.tech .hero-shell{display:flex;flex-direction:column}
  body.tech .hero-shell>.hero{order:1;padding-bottom:8px}
  .hero-vid{position:relative;inset:auto;order:2;z-index:2;margin:-8px 0 0;aspect-ratio:4/3;
    -webkit-mask-image:radial-gradient(62% 58% at 50% 50%,#000 55%,#0000 100%);mask-image:radial-gradient(62% 58% at 50% 50%,#000 55%,#0000 100%)}
  .hero-vid:after{display:none}
  body.tech .hero-shell:before{-webkit-mask-image:radial-gradient(80% 50% at 50% 70%,#000 0%,#0000 100%);mask-image:radial-gradient(80% 50% at 50% 70%,#000 0%,#0000 100%)}
  body.tech .hero-shell:after{position:relative;display:block;order:3;height:150px;margin-top:-40px}
  .hero-pause{right:22%;top:18%}
}
@media(max-width:640px){.hero-pause{right:18%;top:16%}}
@media print{.hero-vid{display:none}body.tech .hero-shell{background:none}}
