:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f3f7ff;
  --ink: #0f172a;
  --text: #24324a;
  --muted: #475569;
  --muted-soft: #64748b;
  --primary: #4f46ff;
  --primary-deep: #332fd6;
  --blue: #3b82f6;
  --accent: #14b8a6;
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(100, 116, 139, 0.24);
  --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.08);
  --shadow-panel: 0 18px 48px rgba(30, 41, 59, 0.09);
  --container: 1280px;
  --page-pad: 40px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  overflow-x: hidden;
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 24%, #f8fafc 48%, #f8fafc 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

::selection {
  background: rgba(79, 70, 255, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  width: min(var(--container), calc(100% - var(--page-pad) * 2));
  margin: 0 auto;
  padding: 18px 0 15px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 52px;
  color: #172239;
  font-size: 14px;
  font-weight: 560;
  letter-spacing: 0;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--primary);
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(600px, 1.1fr);
  gap: 50px;
  align-items: center;
  width: min(var(--container), calc(100% - var(--page-pad) * 2));
  min-height: 612px;
  margin: 0 auto;
  padding: 30px 0 48px;
}

.hero::after {
  position: absolute;
  right: -5%;
  bottom: 0;
  left: -5%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.28), transparent);
}

.hero__content {
  max-width: 586px;
}

.hero h1 {
  max-width: 630px;
  color: var(--ink);
  font-size: 47px;
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 530px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  margin-top: 38px;
  padding: 0 29px;
  border: 1px solid rgba(79, 70, 255, 0.88);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(135deg, var(--primary), var(--blue));
  box-shadow:
    0 18px 42px rgba(79, 70, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 16px;
  font-weight: 720;
  line-height: 1;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover,
.button:focus-visible {
  box-shadow:
    0 22px 54px rgba(79, 70, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  filter: saturate(1.06);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  align-items: center;
  justify-items: center;
  isolation: isolate;
  margin-right: -26px;
}

.orchestration-scene {
  width: min(100%, 800px);
  height: auto;
  overflow: visible;
}

.scene-lighting {
  pointer-events: none;
}

.infrastructure-map path {
  fill: none;
  stroke: rgba(99, 102, 241, 0.12);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 11;
}

.floating-panel {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.analytics-panel {
  transform: rotate(-4deg) translateY(-2px);
}

.integrations-panel {
  transform: rotate(4deg) translateY(-4px);
}

.services-panel {
  transform: rotate(4deg) translateY(2px);
}

.ai-panel {
  transform: rotate(-3deg);
}

.floating-panel text {
  fill: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
}

.services-panel text {
  fill: #ffffff;
}

.section {
  width: min(var(--container), calc(100% - var(--page-pad) * 2));
  margin: 0 auto;
  padding: 54px 0;
}

.section-label {
  display: block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section h2 {
  max-width: 790px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 94px;
  align-items: center;
  padding-top: 48px;
}

.section__intro p {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.proof-list {
  border-top: 1px solid var(--border-strong);
}

.proof-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-strong);
}

.proof-item svg,
.service-card svg,
.advantage-grid svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.proof-item h3,
.service-card h3,
.process-line h3,
.project-card h3,
.tech-grid h3,
.advantage-grid h3 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 740;
  line-height: 1.3;
  letter-spacing: 0;
}

.proof-item p,
.service-card p,
.process-line p,
.project-card p,
.tech-grid p,
.advantage-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 58px;
}

.service-card {
  position: relative;
  min-width: 0;
}

.service-card svg {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  stroke-width: 1.65;
}

.service-card:nth-child(2) svg,
.service-card:nth-child(3) svg {
  stroke: var(--accent);
}

.process {
  padding-top: 44px;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
}

.process-line::before {
  position: absolute;
  top: 30px;
  right: 76px;
  left: 28px;
  height: 1px;
  content: "";
  background: repeating-linear-gradient(90deg, rgba(99, 102, 241, 0.22) 0 7px, transparent 7px 15px);
}

.process-line li {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.process-line span {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  box-shadow: 0 14px 30px rgba(79, 70, 255, 0.22);
  color: #ffffff;
  font-size: 14px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 306px;
  padding: 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 32px 80px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  border-color: rgba(99, 102, 241, 0.26);
  box-shadow:
    0 38px 90px rgba(15, 23, 42, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(-3px);
}

.project-card > div:first-child {
  position: relative;
  z-index: 1;
}

.project-card::after {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  content: "";
  border-radius: 50%;
  background: rgba(79, 70, 255, 0.08);
  filter: blur(22px);
}

.project-card--blue {
  background: linear-gradient(135deg, #f0f6ff 0%, rgba(255, 255, 255, 0.88) 72%);
}

.project-card--teal {
  background: linear-gradient(135deg, #eafbf8 0%, rgba(255, 255, 255, 0.9) 74%);
}

.project-card--violet {
  background: linear-gradient(135deg, #f5f3ff 0%, rgba(255, 255, 255, 0.9) 72%);
}

.project-card p,
.project-card ul {
  max-width: min(220px, calc(100% - 174px));
}

.project-card ul {
  display: grid;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.42;
  list-style: none;
}

.project-card li {
  position: relative;
  padding-left: 16px;
}

.project-card li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--primary);
}

.project-card--teal li::before {
  background: var(--accent);
}

.project-visual {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 0;
  width: 118px;
  height: 92px;
  opacity: 0.94;
}

.project-visual--dashboard {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 7px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #dce6ff, #ffffff) border-box;
  box-shadow: 0 18px 38px rgba(68, 90, 140, 0.14);
}

.project-visual--dashboard i {
  position: absolute;
  display: block;
  border-radius: 2px;
  background: #dfe7fb;
}

.project-visual--dashboard i:nth-child(1) {
  top: 16px;
  left: 17px;
  width: 64px;
  height: 7px;
  background: var(--primary);
}

.project-visual--dashboard i:nth-child(2) {
  top: 38px;
  left: 17px;
  width: 48px;
  height: 6px;
}

.project-visual--dashboard i:nth-child(3) {
  top: 57px;
  left: 17px;
  width: 78px;
  height: 6px;
}

.project-visual--dashboard i:nth-child(4) {
  right: 17px;
  bottom: 17px;
  width: 28px;
  height: 40px;
  background: linear-gradient(180deg, #8ee7dc, var(--accent));
}

.project-visual--bank {
  display: grid;
  place-items: center;
}

.project-visual--bank::before,
.project-visual--bank::after,
.project-visual--bank span {
  position: absolute;
  width: 68px;
  height: 40px;
  content: "";
  border: 1px solid rgba(20, 184, 166, 0.28);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(79, 70, 255, 0.07));
  transform: rotate(45deg) skew(-10deg, -10deg);
}

.project-visual--bank::before {
  top: 8px;
}

.project-visual--bank span {
  top: 32px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.34), rgba(79, 70, 255, 0.11));
}

.project-visual--bank::after {
  top: 56px;
}

.project-visual--cashflow {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 7px;
  padding: 15px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(79, 70, 255, 0.1);
}

.project-visual--cashflow i {
  width: 11px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #a5b4fc, var(--primary));
}

.project-visual--cashflow i:nth-child(1) { height: 29px; }
.project-visual--cashflow i:nth-child(2) { height: 48px; }
.project-visual--cashflow i:nth-child(3) { height: 37px; }
.project-visual--cashflow i:nth-child(4) { height: 58px; }
.project-visual--cashflow i:nth-child(5) { height: 45px; }

.tech {
  padding-top: 42px;
}

.tech-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.64);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.055);
}

.tech-grid article {
  min-height: 190px;
  padding: 24px 22px;
  border-right: 1px solid var(--border);
}

.tech-grid article:last-child {
  border-right: 0;
}

.tech-grid h3 {
  min-height: 44px;
  font-size: 15px;
}

.advantages {
  padding-top: 42px;
  padding-bottom: 64px;
}

.advantage-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
}

.advantage-grid article {
  min-width: 0;
  padding: 24px 22px 26px;
  border-right: 1px solid var(--border);
}

.advantage-grid article:last-child {
  border-right: 0;
}

.advantage-grid svg {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  stroke-width: 1.75;
}

.advantage-grid article:nth-child(2) svg,
.advantage-grid article:nth-child(3) svg {
  stroke: var(--accent);
}

.official-summary {
  padding-top: 42px;
  padding-bottom: 86px;
}

.official-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.official-summary__grid article,
.legal-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68)),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.055);
}

.official-summary__grid article {
  min-height: 182px;
  padding: 24px 22px;
}

.official-summary__grid span {
  display: block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.official-summary__grid strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: 0;
}

.official-summary__grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.text-link,
.footer__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.3;
}

.text-link {
  margin-top: 26px;
}

.text-link::after,
.footer__link::after {
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.legal-hero {
  width: min(var(--container), calc(100% - var(--page-pad) * 2));
  margin: 0 auto;
  padding: 88px 0 52px;
  border-bottom: 1px solid var(--border-strong);
}

.legal-hero > div {
  max-width: 820px;
}

.legal-hero h1 {
  color: var(--ink);
  font-size: 58px;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

.legal-hero p {
  max-width: 660px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.legal-page {
  padding-top: 54px;
  padding-bottom: 96px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.legal-card {
  padding: 28px;
}

.legal-card--wide {
  grid-column: 1 / -1;
}

.legal-card h2 {
  max-width: none;
  margin-bottom: 22px;
  font-size: 24px;
  line-height: 1.25;
}

.legal-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.legal-card p + p {
  margin-top: 14px;
}

.details-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.details-list div {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.details-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.details-list dt {
  color: var(--muted-soft);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}

.details-list dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.62;
}

.details-list a {
  color: var(--primary);
  font-weight: 680;
}

.footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr) minmax(280px, 0.78fr);
  gap: 48px;
  width: 100%;
  padding: 38px max(var(--page-pad), calc((100vw - var(--container)) / 2)) 26px;
  background:
    linear-gradient(135deg, rgba(15, 42, 78, 0.95), rgba(4, 16, 34, 1) 58%, #06142c),
    #061326;
  color: #ffffff;
}

.footer::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(79, 70, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%);
}

.footer > * {
  position: relative;
  z-index: 1;
}

.brand--footer {
  color: #ffffff;
  font-size: 27px;
}

.footer p,
.footer a,
.footer span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.58;
  letter-spacing: 0;
}

.footer__brand p {
  max-width: 430px;
  margin-top: 18px;
}

.footer h2 {
  margin: 0 0 18px;
  color: #8f9cff;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer__contacts,
.footer__requisites {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.footer__contacts a {
  display: inline-block;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 620;
}

.footer__contacts a + a {
  display: block;
}

.footer__requisites p + p {
  margin-top: 8px;
}

.footer__link {
  margin-top: 14px;
  color: #ffffff;
  font-size: 14px;
}

.footer__bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}

@media (max-width: 1180px) {
  :root {
    --page-pad: 32px;
  }

  .nav {
    gap: 28px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding-top: 42px;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: 58px;
  }

  .hero-visual {
    min-height: 560px;
    margin-right: 0;
  }

  .orchestration-scene {
    width: min(100%, 820px);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line,
  .tech-grid,
  .advantage-grid,
  .official-summary__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-line::before {
    display: none;
  }

  .tech-grid article:nth-child(3n),
  .advantage-grid article:nth-child(3n) {
    border-right: 0;
  }

  .tech-grid article:nth-child(-n + 3),
  .advantage-grid article:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 860px) {
  :root {
    --page-pad: 24px;
  }

  .site-header {
    position: static;
    display: grid;
    padding-top: 18px;
  }

  .brand {
    font-size: 26px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav {
    justify-content: flex-start;
    gap: 12px 22px;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .hero {
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.14;
  }

  .hero p {
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .orchestration-scene {
    width: min(100%, 730px);
  }

  .section {
    padding: 76px 0;
  }

  .section h2 {
    font-size: 36px;
  }

  .service-grid,
  .process-line,
  .tech-grid,
  .advantage-grid,
  .official-summary__grid,
  .legal-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    padding-top: 62px;
  }

  .legal-hero h1 {
    font-size: 46px;
  }

  .legal-hero p {
    font-size: 17px;
  }

  .legal-card--wide {
    grid-column: auto;
  }

  .service-grid {
    gap: 44px;
  }

  .process-line {
    gap: 26px;
  }

  .process-line li {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 18px;
  }

  .process-line span {
    margin-bottom: 0;
  }

  .tech-grid article,
  .advantage-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .tech-grid article:last-child,
  .advantage-grid article:last-child {
    border-bottom: 0;
  }

  .footer {
    gap: 34px;
  }

  .footer__contacts,
  .footer__requisites {
    padding-left: 0;
    border-left: 0;
  }

  .footer__bottom {
    display: grid;
  }
}

@media (max-width: 980px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

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

  .legal-card--wide {
    grid-column: auto;
  }

  .project-card {
    min-height: 292px;
  }

  .project-card p,
  .project-card ul {
    max-width: min(500px, calc(100% - 188px));
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 14px;
  }

  .site-header {
    padding-bottom: 14px;
  }

  .nav {
    gap: 10px 15px;
    font-size: 13px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.16;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.66;
  }

  .button {
    width: 100%;
    min-height: 58px;
    margin-top: 32px;
    font-size: 16px;
  }

  .hero-visual {
    overflow: hidden;
    min-height: 438px;
    margin-inline: -14px;
  }

  .orchestration-scene {
    width: 630px;
    max-width: none;
    transform: translateX(-72px);
  }

  .section {
    padding: 64px 0;
  }

  .section-label {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .section h2 {
    font-size: 31px;
  }

  .legal-hero {
    padding-top: 44px;
    padding-bottom: 40px;
  }

  .legal-hero h1 {
    font-size: 36px;
    line-height: 1.16;
  }

  .legal-hero p {
    font-size: 16px;
    line-height: 1.66;
  }

  .legal-card {
    padding: 24px;
  }

  .legal-card h2 {
    font-size: 23px;
  }

  .details-list div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .proof-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card {
    min-height: auto;
    padding: 24px;
  }

  .project-card p,
  .project-card ul {
    max-width: 100%;
  }

  .project-visual {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 28px 0 0 auto;
  }

  .tech-grid article,
  .advantage-grid article {
    padding: 25px 22px;
  }

  .footer {
    padding-right: 22px;
    padding-left: 22px;
  }
}

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