/* ==========================================================================
   rocket science — лендинг «Сопровождение и развитие крупных веб-приложений»
   ========================================================================== */

@font-face {
  font-family: "PP Neue Montreal";
  src: url("assets/fonts/PPNeueMontreal-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --surface: #111214;
  --surface-2: #17181b;
  --surface-3: #1f2024;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #e3e9ef;
  --text-strong: #f4f7fa;
  --muted: #7d8791;
  --dim: #3b4046;
  --accent: #0057f3;
  --accent-hover: #1f6dff;
  --accent-glow: #4d8dff;
  --ok: #3ddc84;
  --warn: #ffb547;
  --danger: #ff5a5f;

  --radius-sm: 12px;
  --radius: 24px;
  --radius-lg: 36px;

  --container: 1360px;
  --gutter: clamp(16px, 3vw, 40px);
  --section: clamp(96px, 12vw, 176px);

  --font: "PP Neue Montreal", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

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

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

.section {
  padding: var(--section) 0 0;
}

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

/* ---------- Typography ---------- */

.h1,
.h2,
.h3,
.statement {
  margin: 0;
  font-weight: 420;
  color: var(--text-strong);
  letter-spacing: -0.035em;
}

.h1 {
  font-size: clamp(40px, 5.2vw, 80px);
  line-height: 0.98;
}

.h2 {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
}

.h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.statement {
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.04;
}

.fade {
  color: var(--dim);
}

.caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
}

.caption::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-glow);
  box-shadow: 0 0 12px var(--accent-glow);
}

.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

.pill-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 450;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(0, 87, 243, 0.7);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 40px -10px rgba(31, 109, 255, 0.85);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--light {
  background: #eef2f5;
  color: #0b0c0e;
}

.btn--light:hover {
  background: #fff;
}

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s var(--ease);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
  font-size: 15px;
}

.arrow-link .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.arrow-link:hover .arrow {
  background: var(--accent);
  transform: translateX(3px);
}

.arrow-link svg {
  width: 14px;
  height: 14px;
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  transition: background-color 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  padding: 10px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  color: #fff;
  flex: none;
}

.logo svg {
  width: 112px;
  height: auto;
}

.nav {
  display: flex;
  gap: 28px;
  margin: 0 auto;
  font-size: 14px;
}

.nav a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100vh, 980px);
  padding: 150px 0 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 70% at 70% 100%, rgba(150, 178, 186, 0.55) 0%, rgba(80, 104, 112, 0.35) 35%, transparent 70%),
    radial-gradient(60% 50% at 20% 110%, rgba(170, 190, 196, 0.35), transparent 70%),
    linear-gradient(180deg, #000 0%, #05080a 40%, #1b2a2f 78%, #6f878d 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
  opacity: 0.6;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 24px;
  align-items: end;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__tag .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(61, 220, 132, 0.15);
}

.hero__tag .dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero__title {
  max-width: 960px;
}

.hero__text {
  margin-top: 32px;
  max-width: 600px;
  color: rgba(227, 233, 239, 0.78);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  color: rgba(227, 233, 239, 0.62);
}

.hero__note svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Hero visual: glass mark + monitoring cards */
.hero__visual {
  position: relative;
  height: 520px;
}

.mark3d {
  position: absolute;
  right: 2%;
  top: 0;
  width: min(280px, 70%);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

.status-card {
  position: absolute;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(16, 18, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.status-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
}

.status-card__meta {
  color: var(--muted);
  font-size: 12px;
}

.status-card--monitor {
  left: 0;
  bottom: 170px;
  width: 300px;
  animation: float-sm 7s ease-in-out infinite;
}

.status-card--release {
  right: 0;
  bottom: 0;
  width: 280px;
  animation: float-sm 8s ease-in-out infinite reverse;
}

.status-card--incident {
  left: 4%;
  bottom: 98px;
  width: 230px;
  animation: float-sm 9s ease-in-out infinite;
}

@keyframes float-sm {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.svc-row {
  display: flex;
  gap: 12px;
  white-space: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-row span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok);
  font-size: 12px;
}

.svc-row span:last-child::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.spark {
  width: 100%;
  height: 38px;
  margin-top: 6px;
}

.spark path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 2.6s var(--ease) 0.6s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.progress {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  box-shadow: 0 0 12px var(--accent-glow);
  animation: fill 5s var(--ease) 1s infinite;
}

@keyframes fill {
  0% {
    width: 8%;
  }
  70%,
  100% {
    width: 100%;
  }
}

.steps-mini {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

.steps-mini span {
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.steps-mini span.on {
  color: #fff;
  background: rgba(0, 87, 243, 0.35);
}

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-line .ic {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(61, 220, 132, 0.14);
  color: var(--ok);
}

.check-line .ic svg {
  width: 14px;
  height: 14px;
}

/* ---------- Clients ---------- */

.clients {
  padding: 72px 0 0;
}

.clients__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.clients__head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 360px;
}

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

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

.client-tile {
  flex: none;
  width: 168px;
  height: 128px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.client-tile:hover {
  background: var(--surface-3);
  border-color: var(--line-strong);
}

.client-tile img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.client-tile:hover img {
  opacity: 1;
}

/* Логотипы с непрозрачным белым фоном: инвертируем и «вырезаем» фон */
.client-tile img.is-boxed {
  filter: grayscale(1) invert(1) brightness(1.6);
  mix-blend-mode: lighten;
}

.client-tile--text {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- About / numbers ---------- */

.about__statement {
  max-width: 1080px;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin-top: clamp(56px, 7vw, 110px);
  row-gap: 56px;
  align-items: start;
}

.num {
  border-left: 1px solid var(--line-strong);
  padding-left: 22px;
}

.num:nth-child(1) {
  grid-column: 4 / span 3;
}

.num:nth-child(2) {
  grid-column: 7 / span 3;
}

.num:nth-child(3) {
  grid-column: 10 / span 3;
}

.numbers--stagger .num {
  grid-row: 1;
}

.numbers--stagger .num:nth-child(2) {
  margin-top: 120px;
}

.numbers--stagger .num:nth-child(3) {
  margin-top: 240px;
}

.num__value {
  font-size: clamp(72px, 9vw, 136px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 400;
  color: #dfe6ee;
}

.num__value sup {
  font-size: 0.36em;
  vertical-align: top;
  position: relative;
  top: 0.3em;
  margin-left: 4px;
  letter-spacing: 0;
}

.num__text {
  margin: 22px 0 10px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text);
  max-width: 260px;
}

.num__label {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Section head ---------- */

.s-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.s-head .lead {
  justify-self: end;
}

/* ---------- Risks ---------- */

.risks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.risk {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.risk::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(255, 90, 95, 0.22), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.risk:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

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

.risk__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #000;
  border: 1px solid var(--line);
  color: #fff;
}

.risk__icon svg {
  width: 26px;
  height: 26px;
}

.risk__label {
  margin-top: auto;
  font-size: 13px;
  color: var(--muted);
}

.risk__title {
  margin: 10px 0 12px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  font-weight: 450;
}

.risk__text {
  margin: 0;
  font-size: 15px;
  color: rgba(227, 233, 239, 0.66);
}

.risks__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
}

.risks__foot p {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.015em;
  color: #fff;
}

/* ---------- Scope (services list) ---------- */

.scope__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}

.scope__aside {
  position: sticky;
  top: 120px;
}

.scope__aside .h2 {
  margin-bottom: 28px;
}

.scope__aside .lead {
  margin-bottom: 36px;
}

.scope__list {
  border-top: 1px solid var(--line);
}

.scope-item {
  border-bottom: 1px solid var(--line);
}

.scope-item__btn {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
}

.scope-item__btn .pill-num {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.scope-item__title {
  flex: 1;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dim);
  transition: color 0.3s var(--ease);
}

.scope-item__plus {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.35s var(--ease), background-color 0.3s;
}

.scope-item__plus svg {
  width: 14px;
  height: 14px;
}

.scope-item__btn:hover .scope-item__title {
  color: #9aa3ad;
}

.scope-item.is-open .scope-item__title {
  color: #fff;
}

.scope-item.is-open .pill-num {
  opacity: 1;
  transform: none;
}

.scope-item.is-open .scope-item__plus {
  transform: rotate(45deg);
  background: var(--accent);
}

.scope-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.scope-item.is-open .scope-item__body {
  grid-template-rows: 1fr;
}

.scope-item__body > div {
  overflow: hidden;
}

.scope-item__content {
  padding: 0 50px 28px 52px;
}

.scope-item__content p {
  margin: 0 0 16px;
  color: rgba(227, 233, 239, 0.72);
  max-width: 560px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- One team (comparison) ---------- */

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

.compare__col {
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.compare__col--ours {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0a1a3d 0%, #07101f 45%, #0b0c0e 100%);
  border-color: rgba(77, 141, 255, 0.3);
}

.compare__col--ours::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(0, 87, 243, 0.45), transparent);
  pointer-events: none;
}

.compare__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.compare__col .h3 {
  margin-bottom: 32px;
  max-width: 420px;
}

.compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.compare__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: rgba(227, 233, 239, 0.8);
}

.compare__list li b {
  display: block;
  font-weight: 450;
  color: #fff;
  margin-bottom: 4px;
}

.compare__list .mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.compare__list .mark svg {
  width: 14px;
  height: 14px;
}

.mark--no {
  background: rgba(255, 90, 95, 0.12);
  color: var(--danger);
}

.mark--yes {
  background: rgba(77, 141, 255, 0.18);
  color: var(--accent-glow);
}

/* ---------- Onboarding ring ---------- */

.onboard__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vw, 72px);
}

.onboard__head .caption {
  justify-content: center;
}

.onboard__head .lead {
  margin: 20px auto 0;
  max-width: 600px;
}

.onboard__stage {
  display: grid;
  grid-template-columns: 1fr minmax(0, 560px) 1fr;
  gap: 40px;
  align-items: center;
}

.team-stack {
  display: grid;
  gap: 18px;
  justify-self: start;
}

.team-stack__title {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.person__ava {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: #cfd6de;
}

.person__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person__ava svg {
  width: 20px;
  height: 20px;
}

.person__name {
  font-size: 15px;
  color: #fff;
  line-height: 1.2;
}

.person__role {
  font-size: 12px;
  color: var(--muted);
}

.ring {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
}

.ring svg.ring__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.ring__track {
  stroke: #1c1d20;
}

.ring__progress {
  stroke: url(#ringGrad);
  transition: stroke-dashoffset 0.9s var(--ease);
  filter: drop-shadow(0 0 10px rgba(77, 141, 255, 0.9));
}

.ring__center {
  position: absolute;
  inset: 16%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ring__title {
  margin: 14px 0 14px;
  font-weight: 420;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.ring__text {
  margin: 0;
  font-size: 15px;
  color: rgba(227, 233, 239, 0.72);
  max-width: 330px;
}

.ring__center > * {
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.ring__center.is-swapping > * {
  opacity: 0;
  transform: translateY(6px);
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: end;
  display: grid;
  gap: 2px;
}

.steps-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--dim);
  text-align: left;
  transition: color 0.25s;
}

.steps-list button::before {
  content: "↳";
  color: var(--accent-glow);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}

.steps-list button:hover {
  color: #9aa3ad;
}

.steps-list button.is-active {
  color: #fff;
}

.steps-list button.is-active::before {
  opacity: 1;
  transform: none;
}

.onboard__guarantee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(48px, 6vw, 88px);
}

.g-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.g-card b {
  display: block;
  font-weight: 450;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.g-card p {
  margin: 0;
  font-size: 15px;
  color: rgba(227, 233, 239, 0.66);
}

/* ---------- Cases ---------- */

.cases__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.case-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(90% 90% at 90% 100%, rgba(122, 150, 158, 0.45), transparent 60%),
    linear-gradient(180deg, #0c0f11 0%, #151c1f 100%);
  border: 1px solid var(--line);
}

.case-main__body {
  padding: clamp(28px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
}

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.case-main__title {
  margin: 22px 0 16px;
}

.case-main__task {
  margin: 0 0 28px;
  color: rgba(227, 233, 239, 0.74);
  max-width: 520px;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0 0 28px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
}

.case-facts div {
  padding: 18px 20px;
  background: rgba(10, 12, 14, 0.85);
}

.case-facts dt {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.case-facts dd {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.case-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.case-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 15px;
  color: rgba(227, 233, 239, 0.82);
}

.case-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin: 9px 0 0 6px;
  border-radius: 50%;
  background: var(--accent-glow);
}

.case-main__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) 0;
}

.case-main__media img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5));
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.case-card {
  display: flex;
  flex-direction: column;
}

.case-card__cover {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.case-card__cover .tag {
  position: absolute;
  top: 18px;
  left: 18px;
}

.case-card__cover img {
  width: 44%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: transform 0.6s var(--ease);
}

.case-card__cover .wordmark {
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.04em;
  color: #fff;
  font-weight: 500;
  transition: transform 0.6s var(--ease);
}

.case-card:hover .case-card__cover img,
.case-card:hover .case-card__cover .wordmark {
  transform: scale(1.06);
}

.case-card__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(closest-side, #000, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}

.cover--red {
  background: radial-gradient(80% 80% at 50% 110%, #e2323a 0%, #5a0a10 45%, #0b0203 100%);
}

.cover--green {
  background: radial-gradient(80% 80% at 50% 110%, #1cb36a 0%, #0a4029 45%, #020806 100%);
}

.cover--violet {
  background: radial-gradient(80% 80% at 50% 110%, #6a3dff 0%, #221063 45%, #05030b 100%);
}

.case-card__body {
  padding: 18px 6px 0;
}

.case-card__title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 450;
  letter-spacing: -0.015em;
  color: #fff;
}

.case-card__meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}

.case-card__text {
  margin: 0;
  font-size: 15px;
  color: rgba(227, 233, 239, 0.7);
}

/* ---------- CTA banner ---------- */

.banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px;
  min-height: 380px;
  padding: clamp(32px, 5vw, 72px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(80% 110% at 80% 110%, rgba(190, 206, 210, 0.9) 0%, rgba(110, 134, 140, 0.6) 35%, transparent 70%),
    linear-gradient(180deg, #0a0d0f 0%, #25333a 70%, #8fa4a9 100%);
}

.banner .h2 {
  font-size: clamp(30px, 3.6vw, 52px);
}

.banner p {
  margin: 18px 0 30px;
  color: rgba(240, 245, 248, 0.82);
  max-width: 520px;
}

.banner__mark {
  position: absolute;
  right: 4%;
  bottom: -18%;
  width: min(420px, 42%);
  z-index: -1;
  opacity: 0.95;
  transform: rotate(-10deg);
}

/* ---------- Formats ---------- */

.formats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.format {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}

.format:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.format--accent {
  background: linear-gradient(180deg, #0b1a3a 0%, #0b0e14 70%);
  border-color: rgba(77, 141, 255, 0.35);
}

.format__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}

.format__cover {
  display: flex;
  gap: 4px;
}

.format__cover i {
  width: 10px;
  height: 26px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.format__cover i.on {
  background: var(--accent-glow);
  box-shadow: 0 0 10px rgba(77, 141, 255, 0.7);
}

.format__title {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.03em;
  font-weight: 420;
  color: #fff;
}

.format__hours {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--accent-glow);
}

.format__for {
  margin: 0 0 22px;
  font-size: 15px;
  color: rgba(227, 233, 239, 0.7);
}

.format ul {
  list-style: none;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.format li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: rgba(227, 233, 239, 0.84);
}

.format li svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--accent-glow);
}

.formats__extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.extra-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.extra-card .h3 {
  margin-bottom: 12px;
}

.extra-card > p {
  margin: 0 0 24px;
  color: rgba(227, 233, 239, 0.68);
  font-size: 15px;
  max-width: 520px;
}

.pay-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-split div {
  padding: 18px;
  border-radius: 18px;
  background: #0a0b0c;
  border: 1px solid var(--line);
}

.pay-split b {
  display: block;
  font-weight: 450;
  color: #fff;
  margin-bottom: 6px;
}

.pay-split span {
  font-size: 14px;
  color: var(--muted);
}

.report {
  border-radius: 18px;
  background: #0a0b0c;
  border: 1px solid var(--line);
  overflow: hidden;
  font-size: 14px;
}

.report__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  color: rgba(227, 233, 239, 0.84);
}

.report__row:first-child {
  border-top: 0;
  color: var(--muted);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.report__row em {
  font-style: normal;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(61, 220, 132, 0.12);
  color: var(--ok);
}

/* ---------- Stack ---------- */

.stack__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 24px;
}

.stack__col h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.stack__col ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 1px solid var(--line-strong);
  display: grid;
  gap: 6px;
  font-size: 17px;
  color: #fff;
}

.stack__note {
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  color: var(--muted);
  font-size: 15px;
}

.stack__note b {
  color: #fff;
  font-weight: 450;
}

/* ---------- Security ---------- */

.security__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sec-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.sec-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #000;
  border: 1px solid var(--line);
  margin-bottom: 40px;
  color: #fff;
}

.sec-card__icon svg {
  width: 22px;
  height: 22px;
}

.sec-card b {
  display: block;
  font-weight: 450;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
}

.sec-card p {
  margin: 0;
  font-size: 15px;
  color: rgba(227, 233, 239, 0.66);
}

.integr {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  align-items: center;
}

.integr span:first-child {
  margin-right: 12px;
  color: var(--muted);
  font-size: 14px;
}

.integr .chip {
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: #fff;
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}

.faq__aside {
  position: sticky;
  top: 120px;
}

.faq__aside .lead {
  margin: 24px 0 32px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  color: #fff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .scope-item__plus {
  transition: transform 0.35s var(--ease), background-color 0.3s;
}

.faq-item[open] summary .scope-item__plus {
  transform: rotate(45deg);
  background: var(--accent);
}

.faq-item p {
  margin: 0;
  padding: 0 60px 26px 0;
  color: rgba(227, 233, 239, 0.72);
  max-width: 680px;
}

/* ---------- Request (form) ---------- */

.request {
  padding-bottom: var(--section);
}

.request__box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.request__info {
  position: relative;
  padding: clamp(28px, 4vw, 56px);
  background:
    radial-gradient(90% 60% at 20% 110%, rgba(0, 87, 243, 0.45), transparent 70%),
    linear-gradient(180deg, #07090c 0%, #0a1224 100%);
  display: flex;
  flex-direction: column;
}

.request__info .h2 {
  font-size: clamp(30px, 3.4vw, 50px);
}

.kp-list {
  list-style: none;
  margin: 36px 0 40px;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: kp;
}

.kp-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: rgba(227, 233, 239, 0.85);
}

.kp-list li::before {
  counter-increment: kp;
  content: "0" counter(kp);
  font-size: 12px;
  color: var(--accent-glow);
  padding-top: 4px;
}

.contact-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.contact-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.contact-card__name {
  color: #fff;
  font-size: 17px;
}

.contact-card__role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 14px;
}

.contact-card__links a {
  color: var(--accent-glow);
}

.contact-card__links a:hover {
  color: #fff;
}

.request__form {
  padding: clamp(28px, 4vw, 56px);
}

.form-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--muted);
}

.form-steps .bar {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.form-steps .bar i {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.5s var(--ease);
}

.form-step {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.form-step.is-active {
  display: block;
  animation: stepIn 0.5s var(--ease);
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.form-step__title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 420;
  letter-spacing: -0.025em;
  color: #fff;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

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

.field label,
.field .label {
  font-size: 14px;
  color: rgba(227, 233, 239, 0.8);
}

.field label i,
.field .label i {
  font-style: normal;
  color: var(--accent-glow);
}

.input,
.select {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  background: #0a0b0c;
  border: 1px solid var(--line);
  color: #fff;
  font-size: 16px;
  transition: border-color 0.2s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

textarea.input {
  height: 96px;
  padding: 14px 18px;
  resize: vertical;
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%237d8791' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.select option {
  background: #111;
}

.input::placeholder {
  color: #545b63;
}

.input:hover,
.select:hover {
  border-color: var(--line-strong);
}

.input:focus,
.select:focus {
  outline: none;
  border-color: var(--accent);
  background: #0b0f18;
}

.field.has-error .input,
.field.has-error .select {
  border-color: var(--danger);
}

.field__error {
  display: none;
  font-size: 13px;
  color: var(--danger);
}

.field.has-error .field__error {
  display: block;
}

.check-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-chips label {
  position: relative;
  cursor: pointer;
}

.check-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-chips span {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #0a0b0c;
  font-size: 14px;
  color: rgba(227, 233, 239, 0.8);
  transition: all 0.2s;
}

.check-chips label:hover span {
  border-color: var(--line-strong);
}

.check-chips input:checked + span {
  background: rgba(0, 87, 243, 0.2);
  border-color: var(--accent);
  color: #fff;
}

.check-chips input:focus-visible + span {
  outline: 2px solid var(--accent-glow);
  outline-offset: 2px;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  margin: 6px 0 24px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
}

.consent a {
  color: rgba(227, 233, 239, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent.has-error {
  color: var(--danger);
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.form-actions .btn--ghost {
  height: 52px;
}

.form-promise {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.form-success {
  display: none;
}

.form-success.is-active {
  display: block;
  animation: stepIn 0.5s var(--ease);
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(61, 220, 132, 0.14);
  color: var(--ok);
  margin-bottom: 24px;
}

.success-icon svg {
  width: 28px;
  height: 28px;
}

.next-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.next-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: 16px;
  background: #0a0b0c;
  border: 1px solid var(--line);
  font-size: 15px;
  color: rgba(227, 233, 239, 0.85);
}

.next-steps li b {
  display: block;
  font-weight: 450;
  color: #fff;
}

/* ---------- Footer ---------- */

.footer {
  padding: clamp(64px, 8vw, 110px) 0 32px;
  font-size: 15px;
  color: var(--muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(0, 440px);
  gap: 40px;
  align-items: start;
}

.footer__label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--muted);
}

.footer__address {
  font-style: normal;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
}

.btn--outline {
  height: 60px;
  padding: 0 26px;
  border: 1.5px solid var(--accent);
  color: #fff;
  background: transparent;
}

.btn--outline:hover {
  background: rgba(0, 87, 243, 0.16);
}

.footer__pres {
  margin-top: 56px;
  font-size: 18px;
}

.footer__contacts {
  display: grid;
  gap: 40px;
}

.footer__big {
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  transition: color 0.2s;
}

.footer__big:hover {
  color: var(--accent-glow);
}

.manager-card {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 20px 20px 20px 20px;
  border-radius: 32px;
  background: var(--surface-2);
  transition: background-color 0.3s var(--ease);
}

.manager-card:hover {
  background: var(--surface-3);
}

.manager-card__top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.manager-card__top img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  object-fit: cover;
  flex: none;
}

.manager-card__name {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
}

.manager-card__role {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  color: var(--muted);
}

.manager-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
}

.manager-card__cta .arrow {
  width: 56px;
  height: 38px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.manager-card__cta svg {
  width: 20px;
  height: 20px;
}

.manager-card:hover .manager-card__cta .arrow {
  background: var(--accent);
  transform: translateX(3px);
}

.to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  margin-top: clamp(56px, 7vw, 110px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 19px;
  color: #fff;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.to-top:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.wordmark-xl {
  margin-top: 32px;
  overflow: hidden;
  user-select: none;
}

.wordmark-xl span {
  display: block;
  width: max-content;
  font-size: 15.2vw;
  line-height: 0.82;
  font-weight: 700;
  letter-spacing: -0.055em;
  color: #dce6ee;
  white-space: nowrap;
  padding-top: 0.06em;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 28px;
  font-size: 18px;
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.footer__links a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
}

/* ---------- Anti-spam honeypot ---------- */

.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Modal ---------- */

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

.modal[hidden] {
  display: none;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s var(--ease);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
  animation: dialogIn 0.4s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.modal__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 420;
  letter-spacing: -0.03em;
  color: #fff;
  padding-right: 40px;
}

.modal__text {
  margin: 0 0 26px;
  color: rgba(227, 233, 239, 0.7);
  font-size: 16px;
}

.modal__submit {
  width: 100%;
}

.modal .form-success .btn {
  margin-top: 8px;
}

body.is-locked {
  overflow: hidden;
}

/* ---------- Mobile bar ---------- */

.mobile-bar {
  display: none;
}

.mobile-menu {
  display: none;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .spark path {
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .nav {
    display: none;
  }

  .header__actions {
    margin-left: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    height: 420px;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }

  .risks__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk {
    min-height: 300px;
  }

  .onboard__stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .team-stack {
    order: 3;
    justify-self: center;
    grid-template-columns: repeat(3, auto);
    gap: 24px;
  }

  .team-stack__title {
    grid-column: 1 / -1;
    text-align: center;
  }

  .steps-list {
    order: 2;
    justify-self: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .steps-list button {
    padding: 8px 14px;
    border-radius: 99px;
    border: 1px solid var(--line);
    font-size: 14px;
  }

  .steps-list button::before {
    display: none;
  }

  .steps-list button.is-active {
    border-color: var(--accent);
    background: rgba(0, 87, 243, 0.2);
  }

  .ring {
    order: 1;
    max-width: 520px;
  }

  .stack__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__col--card {
    grid-column: 1 / -1;
    max-width: 480px;
  }
}

@media (max-width: 960px) {
  body {
    font-size: 16px;
    padding-bottom: 84px;
  }

  .s-head,
  .scope__grid,
  .faq__grid,
  .case-main,
  .banner,
  .request__box,
  .compare,
  .formats__extra {
    grid-template-columns: 1fr;
  }

  .s-head .lead {
    justify-self: start;
  }

  .scope__aside,
  .faq__aside {
    position: static;
  }

  .formats__grid,
  .security__grid,
  .cases__grid,
  .onboard__guarantee {
    grid-template-columns: 1fr 1fr;
  }

  .case-main__media {
    padding: 0 24px 28px;
  }

  .case-main__media img {
    max-width: 520px;
  }

  .banner__mark {
    width: 260px;
    right: -40px;
    bottom: -60px;
    opacity: 0.5;
  }

  .numbers {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .numbers--stagger .num:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }

  .num:nth-child(2) {
    margin-left: 12%;
  }

  .num:nth-child(3) {
    margin-left: 24%;
  }

  .header .btn--primary {
    display: none;
  }

  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(20, 21, 24, 0.82);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }

  .mobile-bar .btn {
    flex: 1;
    height: 46px;
  }

  .mobile-bar .icon-btn {
    width: 46px;
    height: 46px;
    flex: none;
  }

  .mobile-menu {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 84px;
    z-index: 59;
    display: grid;
    gap: 2px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(20, 21, 24, 0.96);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .mobile-menu.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .mobile-menu a {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 18px;
    color: #fff;
  }

  .mobile-menu a:active {
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 112px;
    min-height: auto;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__visual {
    height: 340px;
  }

  .mark3d {
    width: 220px;
    right: 0;
  }

  .status-card--monitor {
    width: 240px;
    bottom: 120px;
  }

  .status-card--release {
    width: 220px;
    bottom: 30px;
  }

  .status-card--incident {
    display: none;
  }

  .clients__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-tile {
    width: 128px;
    height: 100px;
    border-radius: 22px;
  }

  .client-tile img {
    width: 92px;
    height: 92px;
  }

  .risks__grid,
  .formats__grid,
  .security__grid,
  .cases__grid,
  .onboard__guarantee,
  .pay-split,
  .field-row {
    grid-template-columns: 1fr;
  }

  .risk {
    min-height: 0;
  }

  .risk__icon {
    margin-bottom: 36px;
  }

  .scope-item__content {
    padding: 0 0 24px;
  }

  .scope-item__btn .pill-num {
    display: none;
  }

  .team-stack {
    grid-template-columns: 1fr;
    justify-self: start;
  }

  .team-stack__title {
    text-align: left;
  }

  .ring__text {
    font-size: 14px;
  }

  .ring__center {
    inset: 12%;
  }

  .case-facts dt {
    font-size: 30px;
  }

  .stack__grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-item p {
    padding-right: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__pres {
    margin-top: 28px;
  }

  .footer__bottom,
  .footer__label {
    font-size: 15px;
  }

  .manager-card__cta,
  .manager-card__name {
    font-size: 19px;
  }

  .manager-card__role {
    font-size: 15px;
  }

  .cases__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .num:nth-child(2),
  .num:nth-child(3) {
    margin-left: 0;
  }
}
