/* Tredexa — база й кіт компонентів. Перевикористовуй, не вигадуй ad-hoc. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Контейнер — 1320 по центру */
.container {
  width: 100%;
  max-width: calc(var(--content-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 1024px) {
  .container { max-width: var(--content-width); padding-inline: 0; }
}

/* ── Типографіка ── */
.h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
.h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
.lead { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: var(--ls-lead); }
.h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); }
.h4 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h4); line-height: var(--lh-h4); }
.h5 { font-family: var(--font-label); font-weight: 400; font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: var(--ls-h5); text-transform: uppercase; }
.body { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); }
.muted { color: var(--c-text-muted); }
.accent { color: var(--c-primary); }
.label {
  font-family: var(--font-label); font-size: var(--fs-label); line-height: var(--lh-label);
  letter-spacing: var(--ls-label); text-transform: uppercase;
}

/* Надзаголовок секції: золота риска 24×1 + підпис */
.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 12px;
  font-family: var(--font-label); font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-primary);
}
.eyebrow::before {
  content: ""; flex: none; width: 24px; height: 1px; margin-top: 7px; background: var(--c-primary);
}

/* ── Кнопка ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--btn-h); min-width: 220px; padding: 0 32px;
  background: var(--c-primary); color: var(--c-bg); border: 0; border-radius: 0;
  font-family: var(--font-label); font-size: var(--fs-label); line-height: var(--lh-label);
  letter-spacing: var(--ls-label); text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.2s ease;
  position: relative; overflow: hidden; isolation: isolate;
}
@media (hover: hover) { .btn:hover { background: var(--c-primary-hover); } }
/* відблиск: при наведенні по кнопці один раз пробігає світла смуга */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 246, 220, 0.55) 50%, transparent 75%);
  translate: -130% 0;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after { translate: 130% 0; transition: translate 0.9s cubic-bezier(.3,.6,.2,1); }
}
.btn:active { background: var(--c-primary-active); }
.btn:disabled { opacity: 0.5; cursor: default; }

/* ── Плашка (LICENSED / TRUSTED / BUILT TO LAST) ── */
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 142px; height: 49px; padding: 18px 7px 17px;
  background: var(--c-chip); border: 1px solid var(--c-chip-border); border-radius: var(--radius);
  font-family: var(--font-label); font-size: var(--fs-chip); line-height: 16.5px;
  letter-spacing: 2.75px; text-transform: uppercase; color: var(--c-text); white-space: nowrap;
}

/* ── Картка переваги ── */
.card {
  background: var(--c-card); border: 1px solid var(--c-border-soft); border-radius: var(--radius);
}
.icon-tile {
  display: flex; width: 62px; height: 62px; padding: 14px;
  background: var(--c-icon-tile); border-radius: var(--radius);
}
.icon-tile img { width: 34px; height: 34px; }

/* ── Велика картка й панель (SiGMA) ── */
.card-lg { background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-lg); }
.panel { background: var(--c-panel); border-radius: var(--radius); }

/* ── Поле форми: підпис-плейсхолдер + золота лінія знизу ── */
.field { display: block; position: relative; }
.field input,
.field textarea {
  display: block; width: 100%; padding: 0 0 12px; background: transparent;
  border: 0; border-bottom: 1px solid var(--c-border); border-radius: 0;
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-text);
  transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 82px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--c-text-muted); opacity: 1; }
.field input:focus-visible,
.field textarea:focus-visible { outline: none; border-bottom-color: var(--c-primary); }
.field[data-invalid] input,
.field[data-invalid] textarea { border-bottom-color: var(--c-sigma); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 16px; background: var(--c-primary); color: var(--c-bg); text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ═══════════ ШАПКА ═══════════ */
.top { position: relative; }
.site-header { position: absolute; z-index: 20; left: 0; right: 0; top: 36px; }
.site-header__in { position: relative; height: 120px; }

.site-header__logos { position: absolute; left: 0; top: -0.73px; width: 293px; height: 86.46px; display: block; }
.site-header__logos .logo-tredexa { position: absolute; left: 0; top: 0; width: 123.22px; height: 86.46px; }
.site-header__logos .logo-sigma { position: absolute; left: 160.1px; top: 60.42px; width: 132.896px; height: 26.04px; object-fit: cover; }
/* кожне лого — окреме посилання (Tredexa — нагору сторінки, SiGMA — на сайт виставки); картинка заповнює бокс посилання */
.site-header__logos a { display: block; }
.site-header__logos a > img { display: block; width: 100%; height: 100%; }
.site-header__logos .logo-sigma > img { object-fit: cover; }

.site-nav__list {
  position: absolute; left: calc(50% + 21.5px); top: 52px; transform: translateX(-50%);
  display: flex; gap: 28px; margin: 0; padding: 0; list-style: none;
  font-family: var(--font-body); font-size: 17px; line-height: 29.75px; white-space: nowrap;
}
.site-nav__list a { color: var(--c-text-muted); text-decoration: none; transition: color 0.2s ease; }
@media (hover: hover) { .site-nav__list a:hover { color: var(--c-text); } }
/* меню на компʼютері: під пунктом зліва направо виростає тонка золота лінія */
@media (min-width: 1024px) and (hover: hover) {
  .site-nav__list a { position: relative; }
  .site-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--c-primary);
    scale: 0 1; transform-origin: right; transition: scale 0.45s cubic-bezier(.65,0,.35,1);
  }
  .site-nav__list a:hover::after { scale: 1 1; transform-origin: left; }
}
.site-nav__cta { position: absolute; right: 0; top: 32px; width: 251px; }
.nav-toggle { display: none; }

/* ═══════════ ПЕРШИЙ ЕКРАН ═══════════ */
.hero { position: relative; height: 1200px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(70.71% 70.71% at 50% 50%, rgba(58, 106, 180, 0.08) 0%, rgba(58, 106, 180, 0) 60%),
    radial-gradient(113.14% 113.13% at 80% 20%, rgba(212, 168, 67, 0.06) 0%, rgba(212, 168, 67, 0) 50%);
}
/* Золоте сяйво: еліпс 1129×65 на top 1122, блюр 250 — експорт Figma з полями під розмиття */
.hero__glow {
  position: absolute; left: calc(50% - 0.5px); top: calc(1122px - 500px); width: 2129px; height: 1065px;
  max-width: none; transform: translateX(-50%);
}
/* Живе небо (малює js/main.js): поверх зоряної картинки, під світінням і текстом */
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__glow { animation: hero-glow 7s ease-in-out infinite alternate; }
}
@keyframes hero-glow {
  from { opacity: 0.7; scale: 0.96; }
  to   { opacity: 1;   scale: 1.04; }
}

/* Поява першого екрана (один раз при відкритті): кутики → лінії рамки від кутиків → текст по черзі → плашки → кнопка.
   Лише translate/scale — вони не чіпають transform, яким елементи позиціоновані. */
@property --hero-frame { syntax: '<percentage>'; inherits: false; initial-value: 51%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__corner { animation: hero-pop 0.5s cubic-bezier(.2,.7,.2,1) both; }
  .hero__corner--tl { animation-delay: 0.10s; }
  .hero__corner--tr { animation-delay: 0.18s; }
  .hero__corner--br { animation-delay: 0.26s; }
  .hero__corner--bl { animation-delay: 0.34s; }
  .hero__frame {
    mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
    mask-position: 0 0, 100% 0, 0 100%, 100% 100%;
    mask-size: var(--hero-frame) var(--hero-frame);
    mask-repeat: no-repeat;
    animation: hero-frame 1.1s cubic-bezier(.65,0,.35,1) 0.4s both;
  }
  .hero__kicker, .hero__title, .hero__lead, .hero__booth, .hero__cta, .hero__find {
    animation: hero-rise 0.9s cubic-bezier(.2,.7,.2,1) both;
  }
  .hero__kicker { animation-delay: 0.55s; }
  .hero__title  { animation-delay: 0.68s; }
  .hero__lead   { animation-delay: 0.86s; }
  .hero__booth  { animation-delay: 0.98s; }
  .hero__chip { animation: hero-chip 0.6s cubic-bezier(.2,.7,.2,1) both; }
  .hero__chip--licensed { animation-delay: 1.10s; }
  .hero__chip--trusted  { animation-delay: 1.20s; }
  .hero__chip--built    { animation-delay: 1.30s; }
  .hero__cta  { animation-delay: 1.30s; }
  .hero__find { animation-delay: 1.42s; }
}
@keyframes hero-pop   { from { opacity: 0; scale: 0; } }
@keyframes hero-frame { from { --hero-frame: 0%; } }
@keyframes hero-rise  { from { opacity: 0; translate: 0 24px; } }
@keyframes hero-chip  { from { opacity: 0; translate: 0 8px; scale: 0.92; } }

/* ── Планшет і телефон: рефлоу ── */
@media (max-width: 1023px) {
  .site-header { top: 30px; }
  .site-header__in { height: 82px; }
  .site-header__logos { left: var(--gutter); top: 0; width: 257px; height: 85px; }
  .site-header__logos .logo-tredexa { width: 118.29px; height: 83px; }
  .site-header__logos .logo-sigma { left: 146px; top: 61px; width: 111px; height: 22px; }

  .nav-toggle {
    display: block; position: absolute; right: var(--gutter); top: 40px;
    width: 43px; height: 43px; padding: 0; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle svg { display: block; }
  .nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none !important; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block !important; }

  .site-nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 100px;
    display: grid; gap: 28px; padding: 28px;
    background: var(--c-card); border: 1px solid var(--c-border-soft); border-radius: var(--radius);
  }
  .site-nav[hidden] { display: none; }
  .site-nav__list {
    position: static; transform: none; flex-direction: column; gap: 16px;
    font-size: 20px; line-height: 29.75px;
  }
  .site-nav__list a { color: var(--c-text); }
  .site-nav__cta { position: static; width: 100%; }

  .hero { height: 932px; }
  /* у макеті 768 зоряний фон: ширина 100%, висота 110.41% кадру 932 */
  .hero__stars { bottom: auto; height: 1029px; object-fit: fill; }
  .hero__tint { display: none; } /* у макеті 768 шару Gradient немає */
}
@media (max-width: 599px) {
  .site-header { top: 20px; }
  /* логотипи на телефоні — на ~15% менші, низи на одній лінії */
  .site-header__logos { width: 183px; height: 59px; }
  .site-header__logos .logo-tredexa { width: 84px; height: 59px; }
  .site-header__logos .logo-sigma { left: 104px; top: 43.4px; width: 79px; height: 15.6px; }
  .nav-toggle { top: 30px; display: flex; align-items: center; justify-content: flex-end; }
  /* іконка на ~20% менша, а зона натискання лишається 43×43; лінії тієї ж товщини */
  .nav-toggle svg { width: 34px; height: 34px; }
  .nav-toggle svg path { vector-effect: non-scaling-stroke; }
  .site-nav { top: 84px; }
}

/* ═══════════ ПЕРШИЙ ЕКРАН — ЦЕНТР ═══════════
   Десктоп: сцена 1920×1200, позиції дослівно з Figma (відлік бокса — 365/324). */
.hero__stage { position: absolute; left: 50%; top: 0; width: 1920px; height: 1200px; transform: translateX(-50%); }
.hero__box { position: absolute; left: 365px; top: 324px; width: 1189px; height: 569px; }
.hero__frame { position: absolute; left: 9px; top: 9px; width: 1171px; height: 551px; border: 1px solid #605d59; }
.hero__corner { position: absolute; width: 18px; height: 18px; background: var(--c-primary); }
.hero__corner--tl { left: 0; top: 0; }
.hero__corner--tr { left: 1171px; top: 0; }
.hero__corner--bl { left: 0; top: 551px; }
.hero__corner--br { left: 1171px; top: 551px; }
.hero__chip { position: absolute; z-index: 1; }
.hero__chip--licensed { left: -48px; top: 276px; }
.hero__chip--trusted  { left: 1111px; top: 366px; }
.hero__chip--built    { left: 836px; top: 536px; }

.hero__text { position: absolute; inset: 0; text-align: center; }
.hero__text > * { position: absolute; left: 50%; transform: translateX(-50%); }
.hero__kicker {
  top: 74.25px; width: 624px;
  font-family: var(--font-label); font-size: var(--fs-eyebrow); line-height: var(--lh-eyebrow);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-primary);
}
.hero__kicker-text { white-space: pre; }
/* «&» у макеті — окремий шар Inter 18 поверх трьох пробілів (left 207 від початку рядка 624) */
.hero__amp {
  position: absolute; left: 207px; top: 2px;
  font-family: var(--font-body); font-size: 18px; line-height: 16.5px; letter-spacing: 2.75px;
}
.hero__title { top: 87px; width: 1003px; }
.hero__lead { top: 371.2px; width: 666px; color: var(--c-text-muted); }
.hero__booth {
  top: 465.25px; white-space: nowrap; color: #fff;
  font-family: var(--font-label); font-size: 24px; line-height: 28.5px; letter-spacing: 1.75px; text-transform: uppercase;
}
.hero__red { color: var(--c-sigma); }

.hero__cta { position: absolute; left: 50%; top: 952px; width: 220px; transform: translateX(-50%); }
.hero__find {
  position: absolute; left: calc(50% + 0.5px); top: 1062.25px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 16px; line-height: 20.5px; letter-spacing: 1.75px;
  text-transform: uppercase; color: var(--c-text-muted); text-decoration: none; white-space: nowrap;
  transition: color 0.2s ease;
}
.hero__find span { width: 165px; }
.hero__find img { width: 16.5px; height: 7.364px; transition: transform 0.2s ease; }
@media (hover: hover) {
  .hero__find:hover { color: var(--c-text); }
  .hero__find:hover img { transform: translateX(3px); }
}

/* ── Планшет (макет 768) і телефон: потік замість сцени ── */
@media (max-width: 1023px) {
  .btn { height: auto; padding: 25px 58px; }

  .hero { height: auto; min-height: 932px; padding: 237px 0 64px; }
  .hero__stage { position: relative; left: auto; top: auto; width: auto; height: auto; transform: none; }
  .hero__box { position: relative; left: auto; top: auto; width: auto; height: auto; margin-inline: calc(var(--gutter) - 9px); padding: 9px; }
  .hero__frame { left: 9px; top: 9px; right: 9px; bottom: 9px; width: auto; height: auto; }
  .hero__corner--tl { left: 0; top: 0; }
  .hero__corner--tr { left: auto; right: 0; top: 0; }
  .hero__corner--bl { left: 0; top: auto; bottom: 0; }
  .hero__corner--br { left: auto; right: 0; top: auto; bottom: 0; }
  .hero__chip--licensed { left: 103px; top: -15px; }
  .hero__chip--built { left: auto; right: 48px; top: auto; bottom: -16px; }
  .hero__chip--trusted { display: none; }
  .hero__booth { margin-top: 28px; font-size: 20px; line-height: 24px; letter-spacing: 1.5px; }

  .hero__text {
    position: relative; inset: auto; padding: 84px 25px 84px;
    display: flex; flex-direction: column; align-items: center;
  }
  .hero__text > * { position: static; left: auto; top: auto; transform: none; }
  .hero__kicker { width: auto; margin-bottom: 16px; }
  .hero__title { width: auto; margin-bottom: 18px; }
  .hero__lead { width: auto; max-width: 518px; }

  .hero__actions { display: flex; flex-direction: column; align-items: center; gap: 45px; margin-top: 45px; }
  .hero__cta, .hero__find { position: static; transform: none; width: auto; }
  .hero__find { font-size: 14px; line-height: 15px; letter-spacing: 3px; }
  .hero__text > .hero__kicker { position: relative; width: 624px; max-width: 100%; height: 17px; line-height: 17px; }
  .hero__amp { top: 0; }
}
@media (max-width: 599px) {
  .hero { min-height: 0; padding: 150px 0 56px; }
  .hero__chip--licensed { left: 33px; }
  .hero__chip--built { right: 33px; }
  .hero__text { padding: 64px 16px 64px; }
  .hero__booth { margin-top: 22px; font-size: 17px; line-height: 21px; letter-spacing: 1.4px; }
  .hero__text > .hero__kicker { width: auto; height: auto; line-height: 18px; font-size: 13px; letter-spacing: 1.4px; }
  .hero__kicker-text { white-space: normal; }
  .hero__kicker-text, .hero__amp { display: none; }
  .hero__kicker .visually-hidden { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
  .hero__actions { gap: 36px; margin-top: 40px; }
}
@media (max-width: 599px) {
  .hero__stars { bottom: 0; height: 100%; object-fit: cover; }
}

/* ═══════════ ABOUT ═══════════ */
.about { margin-top: var(--section-gap); }
.about__in { display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 323px; text-align: center; }
/* Figma: текстовий бокс 279 при 4 рядках по 77 — рядки виходять на 14.5 вгору/вниз */
.about__in > .eyebrow { width: 196px; height: 16px; } /* бокс підпису в макеті — 160 + риска */
.about__text { max-width: 1131px; margin-block: -14.5px; color: var(--c-primary); }
/* Ефект «слова загоряються» вмикає JS; без JS текст просто золотий і читабельний */
.about__text.is-reveal .w {
  color: color-mix(in srgb, var(--c-primary) calc(var(--t, 0) * 100%), var(--c-dim));
}
/* Телефон і планшет: блок займає екран і «тримається» (липкий), поки прокрутка запалює слова.
   Висота секції = екран + шлях прокрутки на весь текст. Клас ставить js/main.js (без JS і з «менше руху» — звичайний блок). */
@media (max-width: 1023px) {
  /* --about-h (висота вмісту) міряє JS. Відступи до сусідніх блоків — звичайні; блок «чіпляється» посередині екрана
     і тримається 150svh прокрутки, потім їде далі */
  .about.is-pinned { height: calc(var(--about-h, 300px) + 150svh); }
  .about.is-pinned .about__in { position: sticky; top: calc(50svh - var(--about-h, 300px) / 2); }
}

@media (max-width: 1023px) {
  .about__in { gap: 28px; min-height: 0; }
  .about__text { max-width: 634px; margin-block: -10.8px; } /* бокс 180 при 4 рядках по 50.4 */
}
@media (max-width: 599px) {
  /* телефон: текст на всю ширину, трохи менший кегль, рядки рівні за довжиною — без слова-«вдовиці» в останньому рядку */
  .about__text { font-size: 26px; text-wrap: balance; }
}

/* ═══════════ PRODUCT VISION — три картки ═══════════ */
.vision { margin-top: var(--section-gap); }
.vision__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 733px; }
.vision__head > .eyebrow { height: 16px; }
.vision__title { margin-block: 0.6px; } /* бокс 170 при 2 рядках по 84.4 */
.vision__grid { display: grid; grid-template-columns: repeat(3, 424px); gap: 24px; margin: 57px 0 0; padding: 0; list-style: none; }

.feature {
  height: 344px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.feature .icon-tile { margin-bottom: 36px; }
.feature .icon-support { width: 34.4px; height: 34.4px; margin: -0.2px; max-width: none; }

/* Картки: золотий «прожектор» і світло на рамці йдуть за курсором (--mx/--my ставить js/main.js) */
.feature { position: relative; isolation: isolate; transition: translate 0.5s cubic-bezier(.2,.7,.2,1), border-color 0.4s ease; }
.feature > * { position: relative; z-index: 1; }
.feature::before, .feature::after {
  content: ""; position: absolute; pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 168, 67, 0.13), transparent 70%);
}
.feature::before { inset: 0; border-radius: inherit; }
.feature::after { /* лише рамка: градієнт, вирізаний маскою по 1px */
  inset: -1px; padding: 1px; border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 196, 104, 0.95), transparent 70%);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.feature .icon-tile { transition: scale 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s ease; }
/* дотик (телефон): світло швидко спалахує в місці дотику й повільно гасне */
.feature.is-touched::before, .feature.is-touched::after { opacity: 1; transition-duration: 0.15s; }
@media (hover: none) { .feature::before, .feature::after { transition-duration: 0.9s; } }
.feature.is-touched .icon-tile,
.anim .feature[data-anim].is-in.is-touched .icon-tile { scale: 1.08; box-shadow: 0 0 28px rgba(212, 168, 67, 0.22); transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .feature:hover { translate: 0 -6px; }
  .feature:hover::before, .feature:hover::after { opacity: 1; }
  .feature:hover .icon-tile { scale: 1.08; box-shadow: 0 0 28px rgba(212, 168, 67, 0.22); }
}
/* у макеті заголовок — бокс 46 (рядки виходять за нього), опис — бокс 80/65: центр як у Figma */
.feature__title { width: var(--tw); height: 46px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.feature__desc { width: 322px; height: var(--dh); display: flex; align-items: center; color: var(--c-text-muted); }

/* ── Планшет (макет 768) і телефон ── */
@media (max-width: 1023px) {
  .vision__head { width: auto; max-width: 663px; }
  .vision__title { margin-block: 5px; } /* бокс 120 при 2 рядках по 55 */
  .vision__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 48px; }
  .feature { height: 319px; padding-bottom: 1px; }
  .feature__title { width: 436px; max-width: 100%; height: 41px; margin: 0 0 12px; }
  .feature__title--2l { height: 57px; margin-block: -2px 10px; } /* бокс 53 при 2 рядках */
  .feature__desc { width: 436px; max-width: 100%; height: 55px; }
}
@media (max-width: 599px) {
  .br-desk { display: none; }
  .feature { height: auto; padding: 44px 20px; }
  .feature__title, .feature__title--2l { height: auto; margin: 0 0 12px; }
  .feature__desc { height: auto; }
}

/* ═══════════ CONTACT — контакти й форма ═══════════ */
.contact { margin-top: var(--section-gap); }
.contact__in { display: flex; justify-content: space-between; align-items: center; min-height: 434px; }
.contact__info { width: 481px; display: flex; flex-direction: column; gap: 38px; }
.contact__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact__head > .eyebrow { height: 16px; }
.contact__head > .eyebrow::before { margin-top: 8.25px; }
.contact__title { margin-block: 0.1px; } /* бокс 169 при 2 рядках по 84.4 */
.contact__title .accent { white-space: nowrap; }
.contact__details { width: 334px; display: flex; flex-direction: column; gap: 27px; }
.contact__item { display: flex; flex-direction: column; color: var(--c-text); }
.contact__item--addr { gap: 16px; }
.contact__item--mail { gap: 10px; }
.contact__item .label { height: 16px; }
.contact__item--mail .label { height: 17px; }
.contact__value { font-style: normal; color: var(--c-text-muted); text-decoration: none; }
.contact__item--addr .contact__value { margin-block: -4.7px; } /* бокс 68 при 3 рядках по 25.8 */
.contact__item--mail .contact__value { margin-block: -2.9px; align-self: flex-start; } /* бокс 20 */
.contact__mail { transition: color 0.2s ease; }
@media (hover: hover) { .contact__mail:hover { color: var(--c-text); } }

/* Форма: позиції ліній і підписів — дослівно з Figma (бокс 648×434) */
.lead-form { display: flex; flex-direction: column; align-items: flex-start; }
.lead-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* пастка для ботів */
.lead-form .field { width: 100%; }
.contact__form { width: 648px; height: 434px; }
.lead-form__name  { margin-top: 26.1px; }
.lead-form__name input  { padding-bottom: 16.85px; }
.lead-form__email { margin-top: 53.85px; }
.lead-form__email input { padding-bottom: 16.35px; }
.lead-form__msg   { margin-top: 57.35px; }
.lead-form__msg textarea { height: 83.65px; min-height: 0; padding-bottom: 0; resize: none; }
.lead-form__submit { margin-top: 64.25px; width: 233px; }

/* ── Планшет (макет 768) і телефон ── */
@media (max-width: 1023px) {
  .contact__in { flex-direction: column; align-items: stretch; gap: 48px; min-height: 0; }
  .contact__info { width: auto; gap: 48px; }
  .contact__title { line-height: 84.4px; margin-block: -10.7px; } /* бокс 63, рядок 84.4 — як у макеті */
  .contact__form { width: 100%; height: 434px; }
  .lead-form__name input  { padding-bottom: 17.1px; }
  .lead-form__email { margin-top: 53.6px; }
  .lead-form__msg   { margin-top: 57.6px; }
  .lead-form__submit { margin-top: 40px; width: auto; } /* ближче до полів — прохання дизайнера (у макеті 768 було 64.5) */
}
@media (max-width: 599px) {
  .contact__title { line-height: var(--lh-h2); margin-block: 0; }
  .contact__details { width: auto; }
  .contact__form { height: auto; }
  .lead-form__submit { width: 100%; }
}

/* ═══════════ MEET US AT SIGMA ═══════════ */
.sigma { margin-top: var(--section-gap); }
.sigma__card { height: 507px; display: flex; align-items: center; justify-content: center; }
.sigma__in { width: 1105px; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.sigma__head { align-self: stretch; display: flex; flex-direction: column; gap: 14px; margin-bottom: -1px; } /* gap до панелі в макеті 35 */
.sigma__kicker { height: 13px; display: flex; align-items: center; }
.sigma__title { height: 53px; display: flex; align-items: center; line-height: 92.4px; }

.sigma__panel { position: relative; align-self: stretch; height: 161px; margin: 0; padding: 0; list-style: none; }
.meta-item { display: flex; align-items: center; gap: 21px; color: var(--c-text); }
.meta-item__mark { width: 16.327px; font-family: var(--font-body); font-size: 24px; line-height: 24px; color: var(--c-primary); }
.meta-item__text { display: flex; flex-direction: column; gap: 11px; }
.meta-item__text .label { height: 18px; display: flex; align-items: center; }
.meta-item__text .h4 { height: 25px; display: flex; align-items: center; white-space: nowrap; }
.meta-item--booth .h4 { height: 32px; }
/* позиції в панелі 1105×161 — дослівно з Figma */
.sigma__panel .meta-item { position: absolute; top: 52px; }
.meta-item--booth { left: 85px; }
.meta-item--date  { left: 342px; }
.meta-item--place { left: 736px; }
 /* розділювачі: x 273.5 і 667.5 у панелі — обидва рівно на 68.5 лівіше пункту */
.meta-item--date::before, .meta-item--place::before {
  content: ""; position: absolute; left: -68.5px; top: -4px; width: 1px; height: 62px; background: var(--c-dim);
}
.sigma__cta { width: 247px; }

/* ── Планшет (макет 768) і телефон ── */
@media (max-width: 1023px) {
  .sigma__card { height: auto; display: block; padding: 66px 34px 52px; }
  .sigma__in { width: auto; max-width: 624px; align-items: flex-start; gap: 40px; }
  .sigma__head { margin-bottom: -8px; } /* до панелей у макеті 32 */
  .sigma__panel { height: auto; background: none; display: flex; flex-direction: column; gap: 24px; }
  .sigma__panel .meta-item {
    position: static; height: 127px; padding-left: 28px;
    background: var(--c-panel); border-radius: var(--radius);
  }
  .meta-item--date::before, .meta-item--place::before { display: none; }
  .sigma__cta { width: auto; }
}
@media (max-width: 599px) {
  .sigma__card { padding: 44px 20px 40px; }
  .sigma__title { height: auto; line-height: 1.1; }
  .sigma__panel .meta-item { height: auto; min-height: 104px; padding: 20px 16px 20px 24px; }
  .meta-item__text .h4 { height: auto; white-space: normal; font-size: 28px; line-height: 30px; }
  .sigma__cta { width: 100%; margin-top: -16px; } /* до кнопки 24 — як між плашками */
}

/* ═══════════ ФУТЕР ═══════════ */
/* лінія #45381F на всю ширину — у макеті вона на 1px вище верху футера */
.site-footer { margin-top: calc(var(--section-gap) - 1px); border-top: 1px solid #45381f; }
.site-footer__in { position: relative; height: 216px; }
.site-footer__logo { position: absolute; left: 0; top: 69px; width: 118.29px; height: 83px; }
.site-footer__logo img { width: 100%; height: 100%; }
.site-footer__address {
  position: absolute; left: 334px; top: 79.75px; width: 351px;
  font-family: var(--font-label); font-size: 16px; line-height: 20.5px; letter-spacing: 1.75px;
  text-transform: uppercase; color: var(--c-text-muted);
}
.site-footer__meta { position: absolute; left: 901px; top: 84.1px; color: var(--c-text-muted); white-space: nowrap; }
.site-footer__meta p + p { margin-top: 1.2px; }
/* посилання серед тексту — з тонким підкресленням (не лише кольором: так його видно й тим, хто погано розрізняє кольори) */
.site-footer__meta a {
  color: var(--c-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgba(212, 168, 67, 0.45); transition: text-decoration-color 0.2s ease;
}
@media (hover: hover) { .site-footer__meta a:hover { text-decoration-color: var(--c-primary); } }
.br-tab { display: none; }

/* ── Планшет (макет 768) і телефон ── */
@media (max-width: 1023px) {
  /* макет 768: лого 36/39; адреса x36 y206.75 (w318); праворуч x397 y198.1 */
  .site-footer__in {
    height: 315px; display: grid; grid-template-columns: minmax(0, 318px) minmax(0, 1fr);
    column-gap: 43px; align-content: start; align-items: start; padding-top: 39px;
  }
  .site-footer__logo, .site-footer__address, .site-footer__meta { position: static; }
  .site-footer__logo { grid-column: 1 / -1; width: 158.2px; height: 111px; }
  .site-footer__address { width: auto; margin-top: 56.75px; }
  .site-footer__meta { margin-top: 48.1px; white-space: normal; }
  .br-tab { display: inline; }
}
@media (max-width: 599px) {
  .site-footer__in { height: auto; display: flex; flex-direction: column; gap: 28px; padding-block: 40px 48px; }
  .site-footer__address, .site-footer__meta { margin-top: 0; }
  .site-footer__logo { width: 128px; height: 90px; }
  .site-footer__address { width: auto; font-size: 14px; line-height: 19px; }
  .site-footer__meta { white-space: normal; font-size: 16px; line-height: 23px; }
  .site-footer__meta p + p { margin-top: 6px; }
}

/* ═══════════ ФОРМИ: стани ═══════════ */
.field__error {
  position: absolute; left: 0; top: calc(100% + 6px);
  font-family: var(--font-body); font-size: 14px; line-height: 18px; color: var(--c-sigma);
}
.field__error:empty { display: none; }
.lead-form [aria-busy="true"] { opacity: 0.7; cursor: progress; }
.lead-form__fail { margin-top: 20px; font-size: 15px; line-height: 21px; color: var(--c-sigma); }
.lead-form__fail a { color: var(--c-text); }
.lead-form__done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.lead-form__done[hidden] { display: none; }
.lead-form.is-done > :not(.lead-form__done) { display: none; }
.contact__form.is-done { justify-content: center; }
.lead-form__done-close { margin-top: 16px; }

/* ═══════════ СПЛИВНЕ ВІКНО «Leave your details» — макет 693×572 ═══════════ */
.lead-modal {
  width: 693px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid #2a2c33; border-radius: var(--radius);
  background: #11111b; color: var(--c-text); overflow: auto;
}
/* Плавне відкриття й закриття: вікно проявляється й трохи виростає, тло поступово темніє й розмивається */
.lead-modal {
  opacity: 0; translate: 0 18px; scale: 0.96;
  transition: opacity 0.35s ease, translate 0.5s cubic-bezier(.2,.8,.2,1), scale 0.5s cubic-bezier(.2,.8,.2,1),
              overlay 0.5s allow-discrete, display 0.5s allow-discrete;
}
.lead-modal[open] { opacity: 1; translate: none; scale: none; } /* none, а не 1 — інакше курсор усередині вікна зсунеться */
@starting-style { .lead-modal[open] { opacity: 0; translate: 0 18px; scale: 0.96; } }
.lead-modal::backdrop {
  background: rgba(8, 8, 16, 0); backdrop-filter: blur(0);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, overlay 0.4s allow-discrete, display 0.4s allow-discrete;
}
.lead-modal[open]::backdrop { background: rgba(8, 8, 16, 0.8); backdrop-filter: blur(4px); }
@starting-style { .lead-modal[open]::backdrop { background: rgba(8, 8, 16, 0); backdrop-filter: blur(0); } }
/* вміст вікна з'являється по черзі: заголовок → поля → кнопка */
@media (prefers-reduced-motion: no-preference) {
  .lead-modal[open] .modal-form__title,
  .lead-modal[open] .modal-form__fields > *,
  .lead-modal[open] .modal-form__submit { animation: modal-item 0.6s cubic-bezier(.2,.7,.2,1) both; }
  .lead-modal[open] .modal-form__fields > :nth-child(1) { animation-delay: 0.08s; }
  .lead-modal[open] .modal-form__fields > :nth-child(2) { animation-delay: 0.14s; }
  .lead-modal[open] .modal-form__fields > :nth-child(3) { animation-delay: 0.20s; }
  .lead-modal[open] .modal-form__fields > :nth-child(4) { animation-delay: 0.26s; }
  .lead-modal[open] .modal-form__submit { animation-delay: 0.3s; }
}
@keyframes modal-item { from { opacity: 0; translate: 0 12px; } }
.lead-modal__box { position: relative; padding: 57px; } /* 572 разом із рамкою */
.lead-modal__close {
  position: absolute; right: 61px; top: 66px; width: 24px; height: 24px; padding: 0;
  background: none; border: 0; cursor: pointer; transition: opacity 0.2s ease;
}
@media (hover: hover) { .lead-modal__close:hover { opacity: 0.7; } }
.lead-modal__close svg { display: block; }

.modal-form__title {
  height: 44px; display: flex; align-items: center; padding-right: 40px;
  font-family: var(--font-display); font-weight: 500; font-size: 48px; line-height: 92.4px; letter-spacing: -0.88px;
}
.modal-form__fields { align-self: stretch; display: flex; flex-direction: column; gap: 26px; margin-top: 35px; }
/* у вікні підказка про помилку — в потоці, щоб не налазила на наступне поле */
.modal-form .field__error { position: static; display: block; margin-top: 6px; }
.modal-form .field__error:empty { display: none; }
.mfield { display: block; }
.mfield__label { display: flex; align-items: center; height: 20px; font-size: 18px; line-height: 25.8px; color: var(--c-text-muted); }
.mfield__opt { margin-left: 6px; font-size: 14px; color: rgba(240, 234, 216, 0.5); }
.mfield .field { margin-top: 22px; }
.modal-form .field input {
  height: 30px; padding: 0 0 9px; font-size: 16px; line-height: 20px;
}
/* у макеті підказки rgba(114,111,105,.6) — майже зливаються з фоном; трохи світліші заради читабельності */
.modal-form .field input::placeholder { color: rgba(240, 234, 216, 0.35); }
.modal-form__submit { width: 100%; margin-top: 53px; }

@media (max-width: 599px) {
  .lead-modal__box { padding: 32px 20px; }
  .lead-modal__close { right: 20px; top: 42px; }
  .modal-form__title { font-size: 38px; }
  .modal-form__submit { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { .lead-modal, .lead-modal::backdrop { transition: none; } }

/* ── Кнопки на телефоні: компактніші (макета для телефона нема) ── */
@media (max-width: 599px) {
  .btn { height: 52px; padding: 0 32px; font-size: 14px; letter-spacing: 2.2px; }
  .hero__cta, .lead-form__submit { width: auto; min-width: 0; }
  .sigma__cta { width: 100%; min-width: 0; } /* на всю ширину — як плашки Booth / Date / Place */
  .modal-form__submit { width: 100%; }
  .site-nav__cta { width: 100%; }
  .hero__actions { gap: 28px; }
}

/* ── Телефон: кнопка першого екрана нижче від плашки «Built to last»; м'який край сяйва ── */
@media (max-width: 599px) {
  .hero__actions { margin-top: 72px; }
}
@media (max-width: 1023px) {
  /* перший екран коротший за макет — верхній край файлу сяйва потрапляє в кадр; розчиняємо його */
  .hero__glow {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
  }
}
@media (max-width: 599px) {
  /* низ першого екрана м'яко переходить у фон сторінки — без видимої межі під «Find us at SiGMA» */
  .hero__bg::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
    background: linear-gradient(to bottom, rgba(8, 8, 16, 0), var(--c-bg));
  }
}

/* ═══════════ КУРСОР: золота крапка + кільце (лише миша) ═══════════ */
.cursor { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity 0.25s ease;
  zoom: calc(1 / var(--zoom, 1)); } /* курсор не масштабується разом зі сторінкою */
.cursor.is-visible { opacity: 1; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--c-primary); transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, opacity 0.2s ease; }
.cursor__ring {
  width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border: 1.5px solid rgba(212, 168, 67, 0.75);
  transition: width 0.3s cubic-bezier(.2,.7,.2,1), height 0.3s cubic-bezier(.2,.7,.2,1), margin 0.3s cubic-bezier(.2,.7,.2,1), background-color 0.3s ease, border-color 0.3s ease;
}
/* над кнопками й посиланнями — кільце більшає й ледь заповнюється */
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--c-primary); }
.cursor.is-link .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
.cursor.is-down .cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
/* у полях введення — звичайний текстовий курсор, власний ховаємо */
.cursor.is-text { opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
}

/* ═══════════ ПОЯВА ПРИ ПРОКРУТЦІ ═══════════
   html.anim ставить js/main.js (без JS і з «менше руху» все видно одразу); .is-in — коли елемент доїхав у кадр. */
.anim [data-anim] { transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), translate 0.9s cubic-bezier(.2,.7,.2,1); }

/* Product Vision: риска простягається → підпис → заголовок піднімається → «long game» пробігає відблиск */
.anim .vision__head { transition: none; }
.anim .vision__head .eyebrow { opacity: 0; transition: opacity 0.6s ease 0.1s; }
.anim .vision__head .eyebrow::before { scale: 0 1; transform-origin: left; transition: scale 0.7s cubic-bezier(.65,0,.35,1); }
.anim .vision__title { opacity: 0; translate: 0 32px; transition: opacity 1s cubic-bezier(.2,.7,.2,1) 0.2s, translate 1s cubic-bezier(.2,.7,.2,1) 0.2s; }
.anim .vision__head.is-in .eyebrow, .anim .vision__head.is-in .vision__title { opacity: 1; translate: none; }
.anim .vision__head.is-in .eyebrow::before { scale: 1; }
.anim .vision__head.is-in .vision__title .accent {
  background: linear-gradient(100deg, var(--c-primary) 40%, #fff1c4 50%, var(--c-primary) 60%) 100% 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 1.6s cubic-bezier(.45,0,.25,1) 0.9s both;
}
@keyframes shine { to { background-position: 0 0; } }

/* Картки виїжджають по черзі; плитка з іконкою «вистрілює»; верхня грань спалахує золотом */
.anim .feature[data-anim] { opacity: 0; translate: 0 56px; transition-delay: calc(var(--i, 0) * 0.14s); }
.anim .feature[data-anim].is-in { opacity: 1; translate: none; }
.anim .feature[data-anim] .icon-tile { opacity: 0; scale: 0.5; transition: opacity 0.5s ease, scale 0.7s cubic-bezier(.34,1.56,.64,1); }
.anim .feature[data-anim].is-in .icon-tile { opacity: 1; scale: 1; transition-delay: calc(var(--i, 0) * 0.14s + 0.35s); }
.anim .feature[data-anim].is-in::after { animation: edge-flash 1.4s ease calc(var(--i, 0) * 0.14s + 0.3s); }
@keyframes edge-flash { 0%, 100% { opacity: 0; } 35% { opacity: 1; } }
/* після появи — швидкі реакції на наведення */
.anim .feature[data-anim].is-settled { transition: translate 0.5s cubic-bezier(.2,.7,.2,1), border-color 0.4s ease; transition-delay: 0s; }
.anim .feature[data-anim].is-settled .icon-tile { transition-delay: 0s; transition: scale 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s ease; }
@media (hover: hover) and (pointer: fine) {
  .anim .feature[data-anim].is-settled:hover { translate: 0 -6px; }
  .anim .feature[data-anim].is-settled:hover .icon-tile { scale: 1.08; }
}

/* Решта блоків: м'який підйом і проявлення, всередині блоку — по черзі (--i) */
.anim [data-anim="rise"] { opacity: 0; translate: 0 40px; transition-delay: calc(var(--i, 0) * 0.12s); }
.anim [data-anim="rise"].is-in { opacity: 1; translate: none; }
.anim .btn[data-anim="rise"] { /* кнопка зберігає свою швидку зміну кольору при наведенні */
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 0.12s), translate 0.9s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 0.12s), background-color 0.2s ease;
}

/* Телефон і планшет: блоки стоять один під одним, тож затримки «по черзі» лише запізнюють появу.
   Коротший шлях, швидша поява, майже без черги — вміст встигає з'явитись, поки його ще не дочитали. */
@media (max-width: 1023px) {
  .anim [data-anim] { transition-duration: 0.7s; }
  .anim [data-anim="rise"] { translate: 0 24px; transition-delay: calc(var(--i, 0) * 0.05s); }
  .anim .btn[data-anim="rise"] {
    transition: opacity 0.7s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 0.05s), translate 0.7s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 0.05s), background-color 0.2s ease;
  }
  .anim .feature[data-anim] { translate: 0 32px; transition-delay: 0s; }
  .anim .feature[data-anim].is-in .icon-tile { transition-delay: 0.2s; }
  .anim .feature[data-anim].is-in::after { animation-delay: 0.15s; }
  .anim .vision__title { translate: 0 24px; }
}

/* Клавіатура: елемент, на який перейшов фокус, показується одразу, не чекаючи анімації */
.anim [data-anim]:focus-within, .anim [data-anim]:focus-visible { opacity: 1; translate: none; transition-delay: 0s; }

/* Зона натискання пунктів меню й «Find us at SiGMA» — не менше 24px заввишки (вигляд не змінюється) */
.site-nav__list a, .hero__find { padding-block: 4px; margin-block: -4px; }

/* Темна тема для системних елементів (смуги прокрутки, автозаповнення); дотики без синього спалаху й затримки */
html { color-scheme: dark; }
a, button, label, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.lead-modal { overscroll-behavior: contain; } /* прокрутка у вікні не «протікає» на сторінку */

/* Зони натискання ≥ 40px — невидимо, вигляд не змінюється (аудит перед продом) */
.logo-sigma::before, .hero__find::before, .contact__mail::before, .site-footer__meta a::before {
  content: ""; position: absolute; inset: -13px 0;
}
.contact__mail, .site-footer__meta a { position: relative; }
@media (min-width: 1024px) { .site-nav a::before { content: ""; position: absolute; inset: -11px 0; } }
