:root {
  --bg: #14120f;
  --surface: #1a1815;
  --surface-2: #201d19;
  --line: #332f29;
  --line-2: #423d34;
  --text: #f7f4ef;
  --text-2: #b5aea1;
  --text-3: #a49c8f;

  /* Теплий бурштин — головний акцент. Бірюза — другорядний,
     тільки для контрасту в парних елементах (blob'и, ховери). */
  --accent: #f5a524;
  --accent-ink: #e0901a;
  --accent-2: #2dd4bf;
  --gold: #ffb800;
  --upwork: #6fda44;

  --accent-soft: rgba(245, 165, 36, 0.1);
  --accent-line: rgba(245, 165, 36, 0.28);
  --accent-2-soft: rgba(45, 212, 191, 0.09);

  --glass: rgba(255, 236, 209, 0.055);
  --glass-line: rgba(255, 238, 214, 0.17);
  --ink: #17140f;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --display-width: 82;
  --container: 970px;
  --gutter: 24px;

  --fs-h1: 48px;
  --lh-h1: 61px;
  --fs-h2: 32px;
  --lh-h2: 40px;
  --fs-h3: 24px;
  --fs-body: 18px;
  --lh-body: 30px;
  --fs-sm: 16px;
  --fs-nav: 15px;
  --fs-xs: 13px;

  --sec-gap: 112px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Safari (особливо iOS) не завжди пробрасує overflow-x: clip з body
     на в'юпорт. html — це і є контейнер прокрутки, тут hidden надійний. */
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--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;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  html {
    overflow-x: hidden;
  }
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.h1 {
  font-family: var(--font-display);
  font-variation-settings:
    "wdth" var(--display-width),
    "wght" 700;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.h2 {
  font-family: var(--font-display);
  font-variation-settings:
    "wdth" var(--display-width),
    "wght" 700;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-sub {
  color: var(--text-2);
  max-width: 560px;
  font-size: 16px;
}

.section-head {
  margin-bottom: 34px;
}
.section-head .h2 {
  margin-bottom: 20px;
}

/* Бурштиновий надзаголовок — дає секціям колір і ритм,
   не чіпаючи самі h2 (їх переписує splitLines у main.js). */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* .kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
} */

.pill {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
}

.nav {
  position: fixed;
  top: 47px;
  /* без 100vw і без transform: якір по краях + auto-поля.
     Заразом transform лишається вільним для GSAP. */
  left: 24px;
  right: 24px;
  width: auto;
  max-width: 970px;
  margin-inline: auto;
  height: 55px;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 9px 0 19px;
  border-radius: 27.5px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(13.6px);
  -webkit-backdrop-filter: blur(13.6px);
  transition:
    top 0.4s var(--ease),
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.nav.is-stuck {
  top: 20px;
  background: rgba(26, 24, 21, 0.78);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.nav__mark {
  width: 25px;
  height: 24px;
  fill: var(--accent);
}

.nav__word {
  font-family: var(--font-display);
  font-variation-settings:
    "wdth" var(--display-width),
    "wght" 700;
  color: var(--accent);
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.nav__nav {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav__list > li {
  display: flex;
}

.nav__link {
  position: relative;
  z-index: 2;
  display: inline-block;
  text-align: center;
  font-size: var(--fs-nav);
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
  padding: 6px 0;
  opacity: 0.78;
  transition: opacity 0.25s var(--ease);
}

.nav__link::after {
  content: attr(data-label);
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 700;
  pointer-events: none;
}

.nav__link:hover,
.nav__link.is-active {
  opacity: 1;
}
.nav__link.is-active {
  font-weight: 700;
}

.nav__indicator {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  height: 40px;
  margin-top: -20px;
  border-radius: 20px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  opacity: 0;
  transform: translateX(0);
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease),
    opacity 0.3s var(--ease);
  pointer-events: none;
  will-change: transform, width;
}

.nav__indicator.is-on {
  opacity: 1;
}

.nav__cta {
  margin-left: auto;
  flex-shrink: 0;
  height: 40px;
  padding: 0 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--accent), var(--accent-ink));
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  white-space: nowrap;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(245, 165, 36, 0.32);
}

.nav__burger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.35s var(--ease),
    opacity 0.2s var(--ease);
}

.nav__burger span:nth-child(1) {
  top: 15px;
}
.nav__burger span:nth-child(2) {
  top: 20px;
}
.nav__burger span:nth-child(3) {
  top: 25px;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(15, 13, 11, 0.93);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 100px 32px 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

@media (min-width: 1081px) {
  .drawer {
    display: none;
  }
}

.drawer a {
  font-family: var(--font-display);
  font-variation-settings:
    "wdth" var(--display-width),
    "wght" 700;
  font-size: 34px;
  line-height: 1.5;
  text-transform: uppercase;
  opacity: 0.55;
  transform: translateY(14px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.drawer.is-open a {
  opacity: 0.9;
  transform: none;
}
.drawer a:nth-child(2) {
  transition-delay: 0.04s;
}
.drawer a:nth-child(3) {
  transition-delay: 0.08s;
}
.drawer a:nth-child(4) {
  transition-delay: 0.12s;
}
.drawer a:nth-child(5) {
  transition-delay: 0.16s;
}
.drawer a:nth-child(6) {
  transition-delay: 0.2s;
}

.hero {
  position: relative;
  /* padding-top: 242px; */
  /* padding-bottom: 304px; */
  text-align: center;
  overflow: hidden;
  background: #1a1815;
  height: 100vh;
}

/* Тепле світло за частинками — головне джерело кольору на першому екрані. */
/* .hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      52% 46% at 50% 26%,
      rgba(245, 165, 36, 0.16),
      rgba(245, 165, 36, 0.05) 45%,
      transparent 72%
    ),
    radial-gradient(
      40% 40% at 88% 70%,
      rgba(45, 212, 191, 0.07),
      transparent 70%
    );
} */

.hero .container {
  position: relative;
  z-index: 3;
  height: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Нейронні зв'язки. Canvas прибитий до меж героя й нікуди далі не тягнеться.
   Прозорість вмикається класом is-in після першого намальованого кадру,
   щоб мережа не блимала порожнім прямокутником на завантаженні. */
.hero__neural {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.hero__neural.is-in {
  opacity: 1;
}

.hero__particles {
  position: absolute;
  top: -291px;
  right: 0px;
  left: 0px;
  z-index: 1;
  width: 100%;
  height: 1226px;
  opacity: 0.3;
  /* screen прибирає чорну підкладку webp, тож частинки лягають
     поверх світла; sepia перефарбовує їх з білого в бурштин. */
  mix-blend-mode: screen;
  filter: sepia(1) saturate(3.4) hue-rotate(-14deg) brightness(0.95);
  transform: scaleX(-1);
  object-fit: cover;
  pointer-events: none;
  will-change: transform;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 20px;
  border-radius: 19px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* .hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 1px rgba(245, 165, 36, 0.7);
} */

.hero .h1 {
  margin: 28px auto 0;
  max-width: 900px;
  font-size: 48px;
}

.hero__sub {
  margin: 18px auto 0;
  color: var(--text-2);
  font-size: 16px;
}

.hero__sub strong {
  color: var(--text);
  opacity: 0.92;
  font-weight: 700;
}
.hero__sub span {
  display: block;
  color: var(--text);
  opacity: 0.86;
  font-weight: 700;
}

.hero__actions {
  margin-top: 53px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 60px;
  padding: 0 34px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.btn--solid {
  background: linear-gradient(180deg, var(--accent), var(--accent-ink));
  color: var(--ink);
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(245, 165, 36, 0.18);
}

.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(245, 165, 36, 0.137);
}

.btn--ghost {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  color: var(--text);
  min-width: 310px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}

.btn svg {
  flex-shrink: 0;
}
.btn--ghost svg {
  transition: transform 0.3s var(--ease);
}
.btn--ghost:hover svg {
  transform: translateX(5px);
}

.wave {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.wave path {
  fill: var(--surface);
}

.reviews {
  padding-top: 94px;
}

.marquee {
  margin-top: 41px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 14%,
    #000 86%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 14%,
    #000 86%,
    transparent
  );
}

.marquee__track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: marquee 46s linear infinite;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee__track {
    animation-play-state: paused;
  }
}

/* лишається для клавіатури: Tab у картку — стрічка стає */
.marquee__track:focus-within {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 12.5px));
  }
}

.review {
  flex: 0 0 331px;
  width: 331px;
  min-height: 315px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .review:hover {
    border-color: var(--accent-line);
  }
}

.review__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.review__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.review__org {
  margin-top: 6px;
  font-size: var(--fs-xs);
  line-height: 1.3;
  color: var(--text-3);
}

.review__badge {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  background: rgba(111, 218, 68, 0.11);
  border: 1px solid rgba(111, 218, 68, 0.26);
}

.review__badge svg {
  width: 15px;
  height: 11px;
  fill: var(--upwork);
}

.review__rating {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.review__stars {
  display: flex;
  gap: 3px;
}
.review__stars svg {
  width: 12px;
  height: 12px;
  fill: var(--gold);
}
.review__score {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.review__quote {
  margin-top: auto;
  padding-top: 24px;
  font-size: 16px;
  line-height: 25px;
  font-style: italic;
  color: var(--text-2);
}

.services {
  padding-top: 106px;
}

.steps {
  position: relative;
  width: 1000px;
  height: 1680px;
  margin: 44px auto 0;
  max-width: 100%;
}

.steps__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

[data-blob="glow"] .blob {
  fill: url(#blobGlow);
  fill-opacity: 1;
  stroke: #343434;
  stroke-opacity: 0.75;
}

/* Кроки чергуються ліворуч/праворуч — hue чергується разом з ними,
   тож два кольори читаються як ритм, а не як райдуга. */
[data-blob="ramp"] .blob {
  fill-opacity: 1;
}

[data-blob="ramp"] .blob--1,
[data-blob="ramp"] .blob--3 {
  fill: url(#blobAmber);
  stroke: rgba(245, 165, 36, 0.2);
}

[data-blob="ramp"] .blob--2,
[data-blob="ramp"] .blob--4 {
  fill: url(#blobTeal);
  stroke: rgba(45, 212, 191, 0.18);
}

[data-blob="ramp"] ~ .step--1 .step__title i,
[data-blob="ramp"] ~ .step--3 .step__title i {
  color: var(--accent);
}

[data-blob="ramp"] ~ .step--2 .step__title i,
[data-blob="ramp"] ~ .step--4 .step__title i {
  color: var(--accent-2);
}

[data-blob="wire"] .blob {
  fill: #ffffff;
  fill-opacity: 0.018;
  stroke: #3a3a3a;
  stroke-dasharray: 2 5;
  stroke-linecap: round;
}

[data-blob="surface"] .blob {
  fill: var(--surface);
  fill-opacity: 1;
  stroke: var(--line);
}

.step__title i {
  font-style: normal;
  margin-right: 8px;
}
.steps__canvas .link {
  fill: rgba(245, 165, 36, 0.34);
}

.step {
  position: absolute;
  text-align: center;
  width: 34%;
  margin-left: -17%;
}

.step--1 {
  left: 22.6%;
  top: 6.92%;
}
.step--2 {
  left: 75.4%;
  top: 30.07%;
}
.step--3 {
  left: 24.4%;
  top: 56.68%;
}
.step--4 {
  left: 77.6%;
  top: 80.67%;
}

.step__title {
  font-family: var(--font-display);
  font-variation-settings:
    "wdth" var(--display-width),
    "wght" 700;
  font-size: var(--fs-h3);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.step__lead {
  margin-top: 27px;
  font-size: var(--fs-body);
  line-height: 1.4;
}
.step__text {
  margin-top: 20px;
  font-size: 16px;
  line-height: var(--lh-body);
  color: var(--text-2);
}

.why {
  padding-top: 95px;
}
.why .section-head .h2 {
  margin-bottom: 34px;
}
.why__list {
  counter-reset: why;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}

.why__item {
  position: relative;
  overflow: hidden;
  min-height: 194px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

/* Кольорова засічка на лівому краї — видна завжди, яскравішає на ховері.
   Тільки-ховер акцент не рахується: на тачі його ніхто не побачить. */
.why__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--accent), rgba(245, 165, 36, 0.12));
  opacity: 0.5;
  transition: opacity 0.35s var(--ease);
}

.why__item:nth-child(even)::before {
  background: linear-gradient(
    180deg,
    var(--accent-2),
    rgba(45, 212, 191, 0.12)
  );
}

.why__item:hover::before {
  opacity: 1;
}

.why__item:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.why__item h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
}

/* Нумерація секції — ще одна точка кольору, яка не залежить від ховера. */
.why__item h3::before {
  counter-increment: why;
  content: counter(why, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.why__item:nth-child(even) h3::before {
  color: var(--accent-2);
}
.why__item p {
  margin-top: 22px;
  color: var(--text-2);
  font-size: 16px;
}

.showcase {
  padding-top: 106px;
}
.showcase__list {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-top: 32px;
}

.case {
  display: grid;
  grid-template-columns: 477px 1fr;
  gap: 56px;
  align-items: center;
}

.case--flip .case__media {
  order: 2;
}

.case__media {
  position: relative;
  height: 358px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

/* Тепла підсвітка знизу скріншота — прив'язує його до палітри сторінки. */
.case__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(245, 165, 36, 0.1) 100%
  );
}

.case--flip .case__media::after {
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(45, 212, 191, 0.09) 100%
  );
}

.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  will-change: transform;
}

.case__brand {
  font-family: var(--font-display);
  font-variation-settings:
    "wdth" var(--display-width),
    "wght" 700;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

.case--flip .case__brand {
  color: var(--accent-2);
}

.case__title {
  margin-top: 16px;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.4;
}
.case__text {
  margin-top: 22px;
  font-size: 16px;
  line-height: var(--lh-body);
  color: var(--text-2);
}

.case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.case__tags li {
  height: 38px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 19px;
  background: var(--glass);
  border: 1px solid transparent;
  color: var(--text-2);
  font-size: var(--fs-nav);
  font-weight: 700;
  line-height: 1;
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.case:hover .case__tags li {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}

.case--flip:hover .case__tags li {
  border-color: rgba(45, 212, 191, 0.26);
  background: var(--accent-2-soft);
  color: var(--accent-2);
}

.footer {
  position: relative;
  padding: 104px 0 26px;
}

/* .footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    60% 80% at 50% 100%,
    rgba(245, 165, 36, 0.08),
    transparent 70%
  );
} */

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer__mark {
  width: 25px;
  height: 24px;
  fill: var(--accent);
}

.heo_accent {
  background: var(--accent);
  color: #1a1815;
  border-radius: 12px;
  padding-inline: 12px;
  display: -webkit-inline-box;
}

.footer__word {
  font-family: var(--font-display);
  font-variation-settings:
    "wdth" var(--display-width),
    "wght" 700;
  font-size: 17px;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.footer__tagline {
  margin-top: 16px;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: var(--fs-sm);
}
.footer__nav a {
  opacity: 0.8;
  transition:
    opacity 0.25s var(--ease),
    color 0.25s var(--ease);
}
.footer__nav a:hover {
  opacity: 1;
  color: var(--accent);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  height: min(780px, calc(100vh - 48px));
  height: min(780px, calc(100dvh - 48px));
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 0.4s var(--ease),
    transform 0.45s var(--ease);
}

.modal__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-line),
    transparent
  );
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}
.modal.is-open .modal__panel {
  opacity: 1;
  transform: none;
}

.modal__head {
  flex: none;
  padding: 34px 34px 22px;
  border-bottom: 1px solid var(--line);
}

.modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--text-2);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.modal__close:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.34);
}

.modal__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.modal__sub {
  margin: 0 0 22px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-2);
}

.modal__tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-line);
}

.modal__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 6px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-ink));
  transition: transform 0.42s var(--ease);
}

.modal[data-mode="brief"] .modal__thumb {
  transform: translateX(calc(100% + 4px));
}

.modal__tab {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 38px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-2);
  transition: color 0.3s var(--ease);
}

.modal__tab.is-on {
  color: var(--ink);
}
.modal__tab:not(.is-on):hover {
  color: var(--text);
}

.modal__body {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
}

.modal__pane {
  position: absolute;
  inset: 0;
  display: none;
}

.modal__pane.is-on {
  display: block;
}

.modal__pane[data-pane="call"] {
  background: #100e0c;
}
.modal__cal {
  height: 100%;
}
.modal__cal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.modal__note {
  padding: 60px 0;
  text-align: center;
  color: var(--text-2);
  font-size: var(--fs-sm);
}

.modal__pane[data-pane="brief"] {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px 34px 30px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.modal__pane[data-pane="brief"]::-webkit-scrollbar {
  width: 10px;
}
.modal__pane[data-pane="brief"]::-webkit-scrollbar-track {
  background: transparent;
}
.modal__pane[data-pane="brief"]::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  border: 3px solid transparent;
  background-clip: content-box;
}
.modal__pane[data-pane="brief"]::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
  background-clip: content-box;
}

.modal__foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 34px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-2);
}

.modal__foot[hidden] {
  display: none;
}

.modal__mail {
  color: var(--text);
  border-bottom: 1px solid var(--accent-line);
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.modal__mail:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field > span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--text-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.4;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}
.field select {
  appearance: none;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  background: rgba(245, 165, 36, 0.05);
}

.field.is-bad input,
.field.is-bad textarea {
  border-color: #ff5a3d;
}

.form__trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form__submit {
  width: 100%;
  margin-top: 8px;
  height: 52px;
}
.form__submit[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

.form__status {
  margin-top: 12px;
  min-height: 20px;
  font-size: 13px;
  color: #ff8a72;
}

.form__done {
  padding: 46px 0 26px;
  text-align: center;
}

.form__doneMark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border-radius: 23px;
  color: var(--accent-2);
  background: rgba(45, 212, 191, 0.11);
  border: 1px solid rgba(45, 212, 191, 0.28);
}

.form__doneTitle {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form__doneText {
  color: var(--text-2);
  font-size: var(--fs-sm);
}

@media (max-width: 620px) {
  .modal {
    padding: 0;
  }

  .modal__panel {
    max-width: none;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    border: 0;
  }

  .modal__panel::before {
    display: none;
  }
  .modal__head {
    padding: 24px 20px 18px;
  }
  .modal__title {
    font-size: 22px;
  }
  .modal__sub {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .modal__pane[data-pane="brief"] {
    padding: 22px 20px 28px;
  }
  .modal__foot {
    padding: 12px 20px;
  }
  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.ua {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 16px 9px 11px;
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.72);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    border-color 0.3s var(--ease);
}

.ua.is-in {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.ua:hover {
  border-color: rgba(255, 255, 255, 0.34);
}

.ua__flag {
  flex: none;
  width: 3px;
  height: 26px;
  border-radius: 2px;
  background: linear-gradient(#0057b7 0 50%, #ffd700 50% 100%);
  transition: height 0.35s var(--ease);
}

.ua:hover .ua__flag {
  height: 30px;
}

.ua__text {
  font-family: var(--font-display);
  font-variation-settings:
    "wdth" var(--display-width),
    "wght" 700;
  font-weight: 700;
  font-size: 10px;
  line-height: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.3s var(--ease);
}

.ua:hover .ua__text {
  color: rgba(255, 255, 255, 0.8);
}

.ua__text b {
  display: block;
  font-weight: inherit;
  color: #fff;
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 26px;
  background: linear-gradient(
      90deg,
      var(--accent-line),
      var(--line) 38%,
      transparent
    )
    top left / 100% 1px no-repeat;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: var(--text-2);
}

.js .reveal {
  opacity: 0;
}
.js .reveal-line > span {
  display: block;
  overflow: hidden;
}
.js .reveal-line > span > span {
  display: block;
  will-change: transform;
}

@media (max-width: 1200px) {
  .nav__list {
    margin-left: 40px;
    gap: 26px;
  }
}

@media (max-width: 1080px) {
  :root {
    --container: 100%;
    --gutter: 32px;
  }

  .nav {
    left: 20px;
    right: 20px;
    top: 20px;
    padding: 0 8px 0 16px;
  }
  .nav__nav,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: block;
  }

  .hero {
    padding-top: 190px;
    padding-bottom: 40px;
  }
  .hero__particles {
    right: -20%;
    width: 140%;
  }

  .steps {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 56px;
    padding-inline: 20px;
  }
  .steps__canvas {
    display: none;
  }

  .step {
    position: static;
    width: 100%;
    transform: none;
    margin-left: 0;
    padding: 48px 32px;
    border: 1px solid var(--line);
    border-radius: 40px;
  }

  [data-blob="glow"] ~ .step {
    background: rgba(255, 255, 255, 0.03);
    border-color: #343434;
  }

  [data-blob="ramp"] ~ .step--1,
  [data-blob="ramp"] ~ .step--3 {
    background: radial-gradient(
      120% 100% at 50% 38%,
      rgba(245, 165, 36, 0.11),
      rgba(245, 165, 36, 0.04) 55%,
      transparent 100%
    );
    border-color: rgba(245, 165, 36, 0.22);
  }

  [data-blob="ramp"] ~ .step--2,
  [data-blob="ramp"] ~ .step--4 {
    background: radial-gradient(
      120% 100% at 50% 38%,
      rgba(45, 212, 191, 0.1),
      rgba(45, 212, 191, 0.035) 55%,
      transparent 100%
    );
    border-color: rgba(45, 212, 191, 0.2);
  }

  [data-blob="wire"] ~ .step {
    background: rgba(255, 255, 255, 0.018);
    border-style: dashed;
    border-color: #3a3a3a;
  }

  [data-blob="surface"] ~ .step {
    background: var(--surface);
    border-color: var(--line);
  }

  .case {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .case--flip .case__media {
    order: 0;
  }
  .case__media {
    height: auto;
    aspect-ratio: 477 / 358;
  }
}

@media (max-width: 720px) {
  :root {
    --fs-h1: 34px;
    --lh-h1: 42px;
    --fs-h2: 26px;
    --lh-h2: 33px;
    --fs-h3: 20px;
    --fs-body: 16px;
    --lh-body: 27px;
    --fs-sm: 15px;
    --gutter: 20px;
    --sec-gap: 88px;
  }

  .hero {
    padding-top: 160px;
    padding-bottom: 180px;
  }
  .hero .h1 {
    font-size: 38px;
    margin-top: 30px;
  }
  .hero__sub {
    margin-top: 28px;
  }
  .hero__actions {
    margin-top: 34px;
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 24px;
  }

  .wave {
    margin-top: -90px;
  }
  .reviews {
    padding-top: 70px;
  }

  .review {
    flex-basis: 280px;
    width: 280px;
  }
  .marquee {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent
    );
  }

  .step {
    padding: 40px 26px;
    border-radius: 40px;
  }
  .why__item {
    padding: 30px 24px;
    min-height: 0;
  }
  .why__item p {
    margin-top: 16px;
  }

  .footer {
    padding: 80px 0 48px;
  }
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer__nav {
    gap: 18px 24px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 10px;
  }

  .ua {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin: 30px 0 4px;
  }
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

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