/* ARC AI. Палитра и типографика взяты с доски айдентики заказчика. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f5f2ed;
  --stone: #c7c0b8;
  --graphite: #3a3a40;
  --coal: #1c1c1f;
  --ink: #0b0b0d;

  --text: var(--paper);
  --text-2: #b9b3ac;
  --text-3: #85817c;
  --line: rgba(245, 242, 237, 0.1);
  --line-strong: rgba(245, 242, 237, 0.2);
  --panel: linear-gradient(180deg, rgba(245, 242, 237, 0.05), rgba(245, 242, 237, 0.012));

  --font: "Inter", "Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(40px, 9.57vw, 160px);
  --gutter-head: clamp(24px, 5.26vw, 88px);
  --header-h: 88px;
  --r-panel: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

svg {
  display: block;
}

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

::selection {
  background: var(--paper);
  color: var(--ink);
}

.defs {
  position: absolute;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}
.skip:focus {
  top: 16px;
}

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

/* Слово ARC AI: контур, толщина задается здесь */
.wordmark {
  overflow: visible;
  stroke: currentColor;
  stroke-width: 12;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.btn__icon {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__icon {
  transform: translateX(4px);
}
.btn--primary {
  color: var(--ink);
  background: linear-gradient(180deg, #fbf9f6, #e8e3dc);
  box-shadow: 0 10px 44px -10px rgba(245, 242, 237, 0.4);
}
.btn--primary:hover {
  background: #fff;
  box-shadow: 0 10px 54px -6px rgba(245, 242, 237, 0.6);
}
.btn--ghost {
  color: var(--paper);
  border-color: rgba(245, 242, 237, 0.42);
}
.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(245, 242, 237, 0.07);
}

/* ---------- Шапка ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding-inline: var(--gutter-head);
  transition: height 0.35s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 13, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  opacity: 0;
  transition: opacity 0.35s;
}
.header.is-stuck {
  height: 68px;
}
.header.is-stuck::before {
  opacity: 1;
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  justify-self: start;
}
.logo__mark {
  width: 76px;
  filter: drop-shadow(0 0 8px rgba(245, 242, 237, 0.35));
}
.logo__word {
  width: 132px;
  margin-top: 6px;
  stroke-width: 15;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.5vw, 59px);
}
.nav__link {
  position: relative;
  padding: 8px 0;
  font-size: 17px;
  color: var(--paper);
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}
.nav__cta {
  display: none;
}
.header__cta {
  justify-self: end;
  height: 50px;
  padding-inline: 28px;
}

.burger {
  position: relative;
  z-index: 2;
  display: none;
  justify-self: end;
  width: 48px;
  height: 48px;
  margin-right: -10px;
}
.burger__box {
  position: relative;
  display: block;
  width: 26px;
  height: 12px;
  margin: auto;
}
.burger__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.burger__box span:first-child {
  top: 0;
}
.burger__box span:last-child {
  top: 100%;
}
.burger[aria-expanded="true"] .burger__box span {
  top: 50%;
}
.burger[aria-expanded="true"] .burger__box span:first-child {
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] .burger__box span:last-child {
  transform: rotate(-45deg);
}

/* ---------- Первый экран ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(540px, 34.7vw, 720px);
  background: radial-gradient(58% 90% at 80% 0%, rgba(58, 58, 64, 0.26), transparent 72%);
}
.hero__planet {
  position: absolute;
  z-index: -1;
  top: 0;
  /* на ширинах уже макета планета чуть уезжает вправо, чтобы лимб не задевал кнопки */
  right: min(0px, (100vw - 1672px) * 0.15);
  width: min(68.9vw, 1500px);
}
.hero__planet img {
  display: block;
  width: 100%;
  height: auto;
}
.hero__inner {
  padding-top: clamp(108px, 8vw, 140px);
  padding-bottom: 64px;
}
.hero__title {
  font-size: inherit;
  font-weight: inherit;
}
.hero__lockup {
  width: clamp(280px, 25.1vw, 480px);
  margin-left: 0.3%;
}
.hero__mark {
  filter: drop-shadow(0 0 16px rgba(245, 242, 237, 0.3));
}
.hero__descriptor {
  display: block;
  margin-top: clamp(22px, 2vw, 34px);
  font-size: clamp(13px, 1.2vw, 20px);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
}
.hero__lead {
  max-width: 21.5em;
  margin-top: clamp(18px, 1.7vw, 28px);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.5;
  color: var(--text-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px clamp(14px, 1.7vw, 28px);
  margin-top: clamp(28px, 2.3vw, 38px);
}
.hero__actions .btn {
  height: clamp(44px, 3.1vw, 52px);
  padding-inline: clamp(20px, 1.8vw, 30px);
  font-size: clamp(15px, 1.02vw, 17px);
}

/* ---------- Полоса модулей ---------- */

.modules {
  position: relative;
  background: linear-gradient(180deg, rgba(28, 28, 31, 0.5), rgba(11, 11, 13, 0));
}
.modules::before,
.modules::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 3%, var(--line) 12%, var(--line) 88%, transparent 97%);
}
.modules::before {
  top: 0;
}
.modules::after {
  bottom: 0;
}
.modules__list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  margin-block: 0;
  padding-block: 0;
  list-style: none;
}
.module {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 44px);
  padding-block: 30px;
}
.module + .module {
  padding-left: clamp(20px, 3.4vw, 64px);
  background: linear-gradient(var(--line), var(--line)) left center / 1px 46px no-repeat;
}
.module__icon {
  flex: none;
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.module__title {
  font-size: 17px;
  font-weight: 500;
}
.module__sub {
  margin-top: 3px;
  font-size: 15px;
  color: var(--text-3);
}

/* ---------- Секции ---------- */

.section {
  padding-block: clamp(56px, 5.6vw, 96px);
}
.section__head {
  max-width: 470px;
  margin-bottom: clamp(36px, 4.2vw, 68px);
}
.section__num {
  margin-bottom: 20px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}
.section__title {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
  font-size: clamp(30px, 2.4vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.section__lead {
  margin-top: 20px;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.45;
  color: var(--text-2);
}

/* ---------- 01 Как это работает ---------- */

.how {
  padding-top: clamp(64px, 5.2vw, 88px);
}
.how__top {
  display: grid;
  grid-template-columns: minmax(0, 470px) 1fr;
  align-items: start;
  gap: 48px;
}
.how__top .section__head {
  margin-bottom: 0;
}

.glass {
  position: relative;
  height: clamp(230px, 20.5vw, 340px);
  margin-top: -36px;
}
.glass__beam {
  position: absolute;
  left: -6%;
  right: 30%;
  bottom: -2%;
  height: 46%;
  background: radial-gradient(50% 50% at 62% 62%, rgba(245, 242, 237, 0.3), rgba(245, 242, 237, 0.08) 46%, transparent 72%);
  filter: blur(14px);
  transform: rotate(-9deg);
}
.glass__card {
  position: absolute;
  top: 50%;
  right: 13%;
  width: min(56%, 470px);
  aspect-ratio: 1.52;
  border-radius: 12% / 18%;
  background: linear-gradient(100deg, rgba(245, 242, 237, 0.34), rgba(245, 242, 237, 0.09) 24%, transparent 56%), #111113;
  transform: translateY(-50%) rotate(-9deg) skewX(-15deg);
}
.glass__card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(118deg, #fff 4%, rgba(245, 242, 237, 0.55) 30%, rgba(245, 242, 237, 0.1) 62%, rgba(245, 242, 237, 0.32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass__card--2 {
  right: 3%;
  width: min(46%, 386px);
  opacity: 0.55;
  transform: translateY(-36%) rotate(-9deg) skewX(-15deg);
}
.glass__card--3 {
  right: -4%;
  width: min(36%, 300px);
  opacity: 0.3;
  transform: translateY(-16%) rotate(-9deg) skewX(-15deg);
}
.glass__mark {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 40%;
  transform: translate(-50%, -50%);
}

.cycle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
  margin: clamp(40px, 4vw, 64px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.cycle__step {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}
.cycle__step::before {
  content: counter(step);
  display: block;
  margin-bottom: clamp(20px, 2vw, 30px);
  font-size: 15px;
  color: var(--text-3);
}
.cycle__title {
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cycle__text {
  max-width: 27ch;
  margin-top: 10px;
  color: var(--text-2);
}

/* ---------- 02 Решения ---------- */

.solution {
  border-bottom: 1px solid var(--line);
}
.solution:first-child {
  border-top: 1px solid var(--line);
}
.solution__head {
  font-size: inherit;
  font-weight: inherit;
}
.solution__tab {
  position: relative;
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 20px 44px 20px 0;
  text-align: left;
}
.solution__tab::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--stone);
  border-bottom: 1.5px solid var(--stone);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.solution.is-active .solution__tab::after {
  transform: translateY(-30%) rotate(-135deg);
}
.solution__name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.solution__what {
  font-size: 15px;
  color: var(--text-3);
}
.solution__panel {
  padding: 8px 0 36px;
}
.js .solution:not(.is-active) .solution__panel {
  display: none;
}
html:not(.js) .solution__tab::after {
  display: none;
}

.status {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-2);
}
.status::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 10px 2px rgba(245, 242, 237, 0.55);
  transform: translateY(-1px);
}
.solution__lead {
  max-width: 34em;
  margin-bottom: clamp(26px, 2.6vw, 40px);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.42;
  letter-spacing: -0.005em;
}
.solution__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3vw, 52px);
}
.solution__label {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
}

.steps,
.features {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.steps {
  counter-reset: s;
}
.steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  counter-increment: s;
}
.steps li::before {
  content: counter(s);
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}
.features li {
  position: relative;
  padding-left: 22px;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 1px;
  background: var(--stone);
}
.features b {
  font-weight: 500;
  color: var(--paper);
}
.features--cols {
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
}

@media (min-width: 961px) {
  .js .solutions {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    grid-template-rows: repeat(5, auto) 1fr;
    column-gap: clamp(24px, 3vw, 56px);
    row-gap: 6px;
  }
  .js .solution {
    display: contents;
  }
  .js .solution__head {
    grid-column: 1;
  }
  .js .solution__tab {
    padding: 18px 22px;
    border: 1px solid transparent;
    border-radius: 18px;
    transition: background-color 0.2s, border-color 0.2s;
  }
  .js .solution__tab::after {
    display: none;
  }
  .js .solution__tab:hover {
    background: rgba(245, 242, 237, 0.03);
  }
  .js .solution.is-active .solution__tab {
    border-color: var(--line-strong);
    background: rgba(245, 242, 237, 0.06);
  }
  .js .solution:not(.is-active) .solution__name {
    color: var(--text-2);
  }
  .js .solution__panel {
    grid-column: 2;
    grid-row: 1 / -1;
    padding: clamp(26px, 3vw, 44px);
    border: 1px solid var(--line);
    border-radius: var(--r-panel);
    background: var(--panel);
  }
}

/* ---------- 03 Сценарии ---------- */

.tag {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-3);
}

.case {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--panel);
}
.case__body {
  padding: clamp(24px, 3.2vw, 48px);
}
.case__title {
  max-width: 20em;
  margin-bottom: clamp(22px, 2.2vw, 32px);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.012em;
}
.case__story {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  margin-bottom: clamp(26px, 2.6vw, 38px);
}
.case__story dt {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
}
.case__story dd {
  color: var(--text-2);
}
.case__result {
  padding: clamp(24px, 3.2vw, 48px);
  border-left: 1px solid var(--line);
  background: radial-gradient(120% 70% at 100% 0%, rgba(245, 242, 237, 0.09), transparent 62%);
}
.results {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.results li {
  display: grid;
  gap: 8px;
  padding-block: clamp(20px, 2vw, 28px);
  border-top: 1px solid var(--line);
}
.results li:first-child {
  padding-top: 4px;
  border-top: 0;
}
.results b {
  font-size: clamp(34px, 3.1vw, 50px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.results span {
  max-width: 24ch;
  font-size: 15.5px;
  color: var(--text-2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--panel);
}
.card__title {
  margin-bottom: 14px;
  font-size: clamp(20px, 1.45vw, 23px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.card__text {
  margin-bottom: 22px;
  color: var(--text-2);
}
.card .more {
  margin-top: auto;
}
.more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.more summary::-webkit-details-marker {
  display: none;
}
.more summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 1.5px solid var(--stone);
  border-bottom: 1.5px solid var(--stone);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.more[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.more .features {
  margin-top: 18px;
}

/* ---------- 04 Дорожная карта ---------- */

.timeline__arc {
  width: 100%;
  height: auto;
  overflow: visible;
}
.timeline__line,
.timeline__glow {
  fill: none;
}
.timeline__line {
  stroke-width: 1.5;
}
.timeline__glow {
  stroke-width: 12;
  opacity: 0.3;
  filter: blur(7px);
}
.timeline__stems path {
  fill: none;
  stroke: var(--line-strong);
  stroke-dasharray: 2 6;
  vector-effect: non-scaling-stroke;
}
.timeline__dot {
  fill: var(--ink);
  stroke: var(--stone);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.timeline__dot--on {
  fill: var(--paper);
  stroke: var(--paper);
  filter: drop-shadow(0 0 9px rgba(245, 242, 237, 0.95));
}
.timeline__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.timeline__item {
  padding-inline: 12px;
  text-align: center;
}
.timeline__when {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.timeline__what {
  margin-top: 6px;
  color: var(--text-2);
}

/* ---------- 05 Контакты ---------- */

.contact {
  padding-bottom: clamp(64px, 7vw, 120px);
}
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(32px, 6vw, 112px);
}
.contact__inner .section__head {
  max-width: none;
  margin-bottom: 0;
}
.section__title.contact__title {
  padding-bottom: 0;
  border-bottom: 0;
  font-size: clamp(44px, 5.4vw, 92px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
}
.contact__inner .section__lead {
  max-width: 26em;
  margin-top: 28px;
}
.contact__list {
  border-top: 1px solid var(--line-strong);
}
.contact__list div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.contact__list dt {
  color: var(--text-3);
}
.contact__list dd {
  color: var(--text-2);
}

/* ---------- Подвал: название крупно ---------- */

.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 7.5vw, 120px);
  border-top: 1px solid var(--line);
  background: radial-gradient(46% 62% at 50% 0%, rgba(58, 58, 64, 0.34), transparent 72%);
}
.footer__brand {
  display: grid;
  justify-items: center;
  width: min(1180px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.footer__mark {
  width: 65.3%;
  filter: drop-shadow(0 0 30px rgba(245, 242, 237, 0.42));
}
.footer__word {
  width: 100%;
  margin-top: 3.7%;
  stroke-width: 9;
  -webkit-mask-image: linear-gradient(180deg, #000 10%, rgba(0, 0, 0, 0.12) 100%);
  mask-image: linear-gradient(180deg, #000 10%, rgba(0, 0, 0, 0.12) 100%);
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(44px, 5vw, 80px);
  padding-block: 30px 36px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-3);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.footer__nav a {
  transition: color 0.2s;
}
.footer__nav a:hover {
  color: var(--paper);
}

/* ---------- Движение: один выход при загрузке и дуга дорожной карты ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__planet {
    animation: planet-rise 2.4s var(--ease) both;
    transform-origin: 100% 0;
  }
  .hero__lockup {
    animation: fade 1.4s 0.2s var(--ease) both;
  }
  .hero__descriptor,
  .hero__lead,
  .hero__actions {
    animation: lift 1s var(--ease) both;
  }
  .hero__descriptor {
    animation-delay: 0.55s;
  }
  .hero__lead {
    animation-delay: 0.67s;
  }
  .hero__actions {
    animation-delay: 0.79s;
  }

  .js [data-reveal] .timeline__line,
  .js [data-reveal] .timeline__glow {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 2s var(--ease);
  }
  .js [data-reveal] .timeline__dot,
  .js [data-reveal] .timeline__stems,
  .js [data-reveal] .timeline__item {
    opacity: 0;
    transition: opacity 0.7s var(--ease);
  }
  .js [data-reveal].is-in .timeline__line,
  .js [data-reveal].is-in .timeline__glow {
    stroke-dashoffset: 0;
  }
  .js [data-reveal].is-in .timeline__dot,
  .js [data-reveal].is-in .timeline__stems,
  .js [data-reveal].is-in .timeline__item {
    opacity: 1;
  }
  .js [data-reveal] .timeline__dot:nth-of-type(1),
  .js [data-reveal] .timeline__item:nth-child(1) {
    transition-delay: 0.3s;
  }
  .js [data-reveal] .timeline__dot:nth-of-type(2),
  .js [data-reveal] .timeline__item:nth-child(2) {
    transition-delay: 0.65s;
  }
  .js [data-reveal] .timeline__dot:nth-of-type(3),
  .js [data-reveal] .timeline__item:nth-child(3) {
    transition-delay: 1s;
  }
  .js [data-reveal] .timeline__dot:nth-of-type(4),
  .js [data-reveal] .timeline__item:nth-child(4) {
    transition-delay: 1.35s;
  }
  .js [data-reveal] .timeline__stems {
    transition-delay: 1.2s;
  }
}

@keyframes planet-rise {
  from {
    opacity: 0;
    transform: translate3d(1.5%, 5%, 0) scale(1.035);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes lift {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
}

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

/* ---------- Адаптив ---------- */

@media (max-width: 1180px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    column-gap: 40px;
  }
  .card .tag,
  .card__title {
    grid-column: 1;
  }
  .card__text,
  .card .more {
    grid-column: 2;
  }
  .card__text {
    grid-row: 1 / span 2;
  }
  .card .more {
    grid-row: 3;
  }
}

/* Меню в бургер, планета уходит под текст, кейс в одну колонку */
@media (max-width: 1100px) {
  .header {
    grid-template-columns: 1fr auto;
  }
  .header__cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 96px var(--gutter) 48px;
    background: rgba(11, 11, 13, 0.94);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
  }
  .nav__link {
    padding: 10px 0;
    font-size: clamp(28px, 7.4vw, 40px);
    font-weight: 300;
    letter-spacing: -0.02em;
  }
  .nav__cta {
    display: inline-flex;
    margin-top: 28px;
  }
  .menu-open {
    overflow: hidden;
  }

  .hero {
    min-height: 0;
  }
  .hero__inner {
    padding-top: clamp(116px, 14vw, 150px);
    padding-bottom: 37vw;
  }
  .hero__planet {
    top: auto;
    right: -10vw;
    bottom: -6vw;
    width: 120vw;
    -webkit-mask-image: linear-gradient(transparent, #000 26%);
    mask-image: linear-gradient(transparent, #000 26%);
  }
  .hero__actions .btn {
    height: 50px;
    padding-inline: 24px;
    font-size: 16px;
  }
  .hero__lockup {
    width: clamp(280px, 38vw, 400px);
  }
  .hero__descriptor {
    font-size: clamp(13px, 1.7vw, 17px);
  }

  .case {
    grid-template-columns: 1fr;
  }
  .case__result {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .results {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .results li,
  .results li:first-child {
    padding-block: 4px 0;
    border-top: 0;
  }
}

@media (max-width: 960px) {
  :root {
    --gutter: clamp(20px, 5.6vw, 56px);
    --gutter-head: var(--gutter);
    --header-h: 68px;
  }

  .header.is-stuck {
    height: 60px;
  }
  .logo__mark {
    width: 60px;
  }
  .logo__word {
    width: 108px;
    margin-top: 5px;
  }

  .how__top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .glass {
    height: clamp(200px, 42vw, 320px);
    margin-top: 0;
  }
  .cycle {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .solution__cols {
    gap: 28px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 820px) {
  .hero__inner {
    padding-top: 116px;
    padding-bottom: 52vw;
  }
  .hero__planet {
    width: 150vw;
  }
  .hero__lockup {
    width: min(74vw, 340px);
  }
  .hero__descriptor {
    font-size: clamp(11px, 3vw, 15px);
    letter-spacing: 0.22em;
  }

  .modules__list {
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }
  .module {
    padding-block: 22px;
  }
  .module + .module {
    padding-left: 0;
    background: none;
  }
  .module:nth-child(even) {
    padding-left: 20px;
  }
  .module:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .module__icon {
    width: 38px;
    height: 38px;
  }

  .card {
    display: flex;
  }

  .timeline__arc {
    display: none;
  }
  .timeline__list {
    position: relative;
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 0;
    padding-left: 34px;
  }
  .timeline__list::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 10px;
    bottom: 14px;
    width: 1px;
    background: linear-gradient(180deg, var(--paper), var(--line-strong) 40%, var(--line));
  }
  .timeline__item {
    position: relative;
    padding-inline: 0;
    text-align: left;
  }
  .timeline__item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 9px;
    width: 13px;
    height: 13px;
    border: 1.5px solid var(--stone);
    border-radius: 50%;
    background: var(--ink);
  }
  .timeline__item:first-child::before {
    border-color: var(--paper);
    background: var(--paper);
    box-shadow: 0 0 12px 2px rgba(245, 242, 237, 0.7);
  }
}

@media (max-width: 640px) {
  .btn {
    height: 50px;
    padding-inline: 24px;
    font-size: 16px;
  }
  .hero__actions {
    gap: 12px;
  }
  .cycle {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .cycle__step::before {
    margin-bottom: 14px;
  }
  .solution__cols,
  .case__story,
  .features--cols {
    grid-template-columns: 1fr;
  }
  .results {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .results li {
    padding-block: 18px;
    border-top: 1px solid var(--line);
  }
  .results li:first-child {
    padding-block: 4px 18px;
  }
  .footer__row {
    flex-direction: column;
  }
}
