:root {
  --ink: #101a2b;
  --ink-soft: #263246;
  --navy: #0b1526;
  --navy-2: #111f34;
  --navy-3: #172842;
  --paper: #f4f1ea;
  --paper-2: #ebe8df;
  --white: #ffffff;
  --blue: #2459f5;
  --blue-dark: #1746d1;
  --blue-soft: #dfe7ff;
  --green: #70a88a;
  --green-light: #dbe9df;
  --warm: #d8a15c;
  --line: #d9d6ce;
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted: #667083;
  --danger: #b63e48;
  --shadow: 0 24px 70px rgba(12, 24, 43, 0.12);
  --radius: 22px;
  --radius-sm: 12px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid #88a8ff;
  outline-offset: 3px;
}

::selection {
  background: #bfd0ff;
  color: #091223;
}

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

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 108px 0;
}

.section-compact {
  padding: 78px 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: #f9f8f4;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px max(24px, calc(50vw - 590px));
  color: var(--white);
  background: rgba(11, 21, 38, 0.94);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.brand-text small {
  margin-top: 3px;
  overflow: hidden;
  color: #9da7b8;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.primary-nav > a:not(.button) {
  position: relative;
  color: #c1c8d3;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.18s;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--white);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s;
}

.primary-nav > a:not(.button):hover {
  color: var(--white);
}

.primary-nav > a:not(.button):hover::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.language-switch a,
.language-switch span {
  display: grid;
  place-items: center;
  min-width: 31px;
  height: 28px;
  padding: 0 7px;
  border-radius: 5px;
  color: #9da7b8;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.language-switch [aria-current="page"] {
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition:
    transform 0.18s,
    opacity 0.18s;
}

.menu-button[aria-expanded="true"] > span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 11px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}

.button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 12px;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.button-light {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-light:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
}

.text-link:hover {
  color: var(--blue-dark);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.eyebrow,
.kicker {
  margin-bottom: 22px;
  color: #8ba8ff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.kicker-dark {
  color: #506ba9;
}

.hero {
  position: relative;
  min-height: 800px;
  padding: 162px 0 96px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 22%;
  left: -10%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.025),
    0 0 0 160px rgba(255, 255, 255, 0.015);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 72px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(50px, 5.45vw, 78px);
  font-weight: 620;
  letter-spacing: -0.058em;
  line-height: 1.01;
  overflow-wrap: break-word;
}

.hub-hero h1 {
  font-size: clamp(52px, 5.8vw, 84px);
}

.hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: #c9d0db;
  font-size: 19px;
  line-height: 1.65;
}

.hero-positioning {
  max-width: 650px;
  margin: 18px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--green);
  color: #9faabd;
  font-size: 14px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 30px;
  color: #8e99ab;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trust-line span {
  position: relative;
  padding-left: 12px;
}

.trust-line span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  transform: translateY(-50%);
}

.system-visual {
  position: relative;
  min-height: 540px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: #0e1b2e;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.24);
}

.system-visual::before {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(transparent, #000 18% 82%, transparent);
}

.visual-head,
.visual-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  color: #7f8ba0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.visual-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.visual-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  letter-spacing: 0.04em;
}

.live-dot {
  color: #a9c5b2;
}

.live-dot::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(112, 168, 138, 0.1);
  content: "";
}

.system-paths {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 13px;
}

.system-path {
  position: relative;
  min-height: 175px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(18, 35, 58, 0.94);
  transition:
    border-color 0.18s,
    transform 0.18s;
}

.system-path:hover {
  border-color: rgba(139, 168, 255, 0.6);
  transform: translateY(-2px);
}

.system-path small {
  color: #76849a;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-path h2,
.system-path h3 {
  margin: 12px 0 8px;
  color: #f3f6fb;
  font-size: 25px;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.system-path p {
  max-width: 380px;
  margin: 0;
  color: #98a5b8;
  font-size: 13px;
  line-height: 1.55;
}

.path-index {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #8ba8ff;
  font-family: var(--mono);
  font-size: 10px;
}

.path-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.path-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  color: #aeb8c8;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.route-strip {
  padding: 34px 0;
  border-bottom: 1px solid #c9d8cd;
  background: #dde8df;
}

.route-strip-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.route-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.route-strip-item:last-child {
  justify-content: flex-end;
  text-align: right;
}

.route-strip-item strong {
  display: block;
  color: #244b37;
  font-size: 14px;
}

.route-strip-item span {
  display: block;
  color: #597062;
  font-size: 12px;
}

.route-strip-arrow {
  color: #769080;
  font-family: var(--mono);
  font-size: 12px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 52px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.section-heading > p:not(.kicker),
.about-copy > p:not(.kicker),
.contact-copy > p:not(.kicker) {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading.light > p:not(.kicker),
.contact-copy > p:not(.kicker) {
  color: #aab4c3;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 88px;
  max-width: none;
}

.split-heading > p {
  margin-bottom: 0;
}

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

.direction-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid #dfddd6;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 35px rgba(26, 38, 58, 0.04);
  transition:
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}

.direction-card:hover {
  border-color: #bfc5cf;
  box-shadow: 0 18px 45px rgba(26, 38, 58, 0.08);
  transform: translateY(-3px);
}

.direction-card.dark {
  border-color: var(--navy-2);
  background: var(--navy-2);
  color: var(--white);
}

.direction-card::after {
  position: absolute;
  right: -110px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(36, 89, 245, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(36, 89, 245, 0.04);
  content: "";
}

.direction-number {
  color: #8992a0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.direction-card h3 {
  max-width: 470px;
  margin: 60px 0 16px;
  font-size: 36px;
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.direction-card > p {
  max-width: 500px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.direction-card.dark > p {
  color: #aab4c3;
}

.direction-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
}

.direction-list li {
  position: relative;
  padding-left: 19px;
  color: var(--ink-soft);
  font-size: 13px;
}

.direction-card.dark .direction-list li {
  color: #c5cdd9;
}

.direction-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.direction-card .text-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.direction-card.dark .text-link {
  color: #9db3ff;
}

.value-grid,
.service-grid,
.process-grid,
.format-grid,
.case-grid,
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card,
.problem-card,
.process-card,
.format-card,
.case-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.value-card span,
.problem-card > span,
.process-card > span,
.format-card > span,
.case-card > span {
  color: #8992a0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.value-card h3,
.problem-card h3,
.process-card h3,
.format-card h3,
.case-card h3 {
  margin: 42px 0 11px;
  font-size: 23px;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.value-card p,
.problem-card p,
.process-card p,
.format-card p,
.case-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 490px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid #dfddd6;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 35px rgba(26, 38, 58, 0.04);
  transition:
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}

.service-card:hover {
  border-color: #bfc5cf;
  box-shadow: 0 18px 45px rgba(26, 38, 58, 0.08);
  transform: translateY(-3px);
}

.service-card.featured {
  border-color: var(--navy-2);
  background: var(--navy-2);
  color: var(--white);
}

.service-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 30px;
}

.service-topline > span {
  color: #8992a0;
  font-family: var(--mono);
  font-size: 10px;
}

.service-topline > em {
  padding: 5px 9px;
  border: 1px solid rgba(112, 168, 138, 0.25);
  border-radius: 99px;
  background: rgba(112, 168, 138, 0.12);
  color: #b6d0be;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 480px;
  margin: 28px 0 14px;
  font-size: 29px;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.service-card > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}

.service-card.featured > p {
  color: #aeb8c7;
}

.service-details {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.service-card.featured .service-details {
  border-color: var(--line-dark);
}

.service-details small,
.price small {
  color: #7c8798;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service-details ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.service-details li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 13px;
}

.service-card.featured .service-details li {
  color: #c5cdd9;
}

.service-details li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 28px;
}

.price strong {
  font-size: 18px;
}

.service-card .text-link {
  margin-top: 22px;
}

.service-card.featured .text-link {
  color: #9db3ff;
}

.pricing-note {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.budget-list {
  overflow: hidden;
  border: 1px solid #d9dce2;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 55px rgba(26, 38, 58, 0.06);
}

.budget-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 24px;
  align-items: center;
  min-height: 165px;
  padding: 30px 34px;
  border-bottom: 1px solid #e1e3e7;
}

.budget-row:last-child {
  border-bottom: 0;
}

.budget-row-featured {
  background: var(--navy-2);
  color: var(--white);
}

.budget-index {
  align-self: start;
  color: #8a93a1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.budget-copy h3 {
  max-width: 620px;
  margin: 0 0 9px;
  font-size: 23px;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.budget-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.budget-row-featured .budget-copy p {
  color: #b9c2d0;
}

.budget-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  width: 100%;
  max-width: 270px;
  padding-left: 28px;
  border-left: 1px solid #d9dce2;
}

.budget-row-featured .budget-amount {
  border-color: var(--line-dark);
}

.budget-amount small {
  color: #7c8798;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.budget-amount strong {
  margin-top: 8px;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.rub-price {
  margin-top: 8px;
  color: #4f6e5a;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.budget-row-featured .rub-price {
  color: #9fd5ad;
}

.budget-meta {
  max-width: 900px;
  margin-top: 25px;
}

.budget-note,
.rate-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.rate-note {
  margin-top: 9px;
  font-size: 11px;
}

.rate-note a {
  margin-left: 6px;
  color: #536d9f;
  text-decoration: underline;
  text-decoration-color: #b8c2d7;
  text-underline-offset: 3px;
}

.metrics-strip {
  padding: 40px 0;
  border-bottom: 1px solid #c9d8cd;
  background: #dde8df;
}

.metrics-caption {
  margin: 0 0 22px;
  color: #597062;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metrics-grid article {
  display: flex;
  flex-direction: column;
  min-height: 90px;
  padding: 0 28px;
  border-left: 1px solid #b8c9bd;
}

.metrics-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.metrics-grid strong {
  color: #244b37;
  font-size: 36px;
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.metrics-grid span {
  max-width: 190px;
  margin-top: 7px;
  color: #4e6657;
  font-size: 12px;
  line-height: 1.4;
}

.outcome-list {
  border-top: 1px solid var(--line-dark);
}

.outcome-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(160px, 0.34fr);
  align-items: center;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
}

.outcome-index {
  color: #718097;
  font-family: var(--mono);
  font-size: 10px;
}

.outcome-row h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 620;
}

.outcome-row p {
  max-width: 690px;
  margin: 0;
  color: #aeb8c7;
  font-size: 14px;
}

.outcome-metric {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.outcome-metric strong {
  color: #9bbda8;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.outcome-metric span {
  color: #7f8ba0;
  font-size: 10px;
  text-transform: uppercase;
}

.brand-disclaimer {
  margin: 22px 0 0;
  color: #7f8ba0;
  font-size: 11px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  min-height: 290px;
}

.process-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 34px;
  border: 1px solid #cfd4dc;
  border-radius: 50%;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 15px;
}

.process-card h3 {
  margin-top: 22px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: stretch;
  gap: 70px;
}

.about-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 34px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy-2);
  color: var(--white);
}

.about-panel::after {
  position: absolute;
  right: -110px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(255, 255, 255, 0.025);
  content: "";
}

.panel-label {
  color: #8b96a8;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.about-monogram {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 70px auto 0;
  border: 1px solid rgba(139, 168, 255, 0.32);
  border-radius: 40px;
  background: rgba(36, 89, 245, 0.18);
  color: var(--white);
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.08em;
  transform: rotate(-5deg);
}

.about-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.about-status > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(112, 168, 138, 0.1);
}

.about-status strong,
.about-status span {
  display: block;
}

.about-status strong {
  font-size: 13px;
}

.about-status span {
  color: #8995a7;
  font-size: 11px;
}

.about-copy {
  align-self: center;
}

.about-copy > p:not(.kicker) {
  max-width: 720px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.about-facts article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.about-facts strong,
.about-facts span {
  display: block;
}

.about-facts strong {
  font-size: 14px;
}

.about-facts span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

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

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 34px;
  background: var(--white);
}

.case-card h3 {
  margin-top: 58px;
  font-size: 28px;
}

.case-card .case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.case-meta em {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
}

.case-card .text-link {
  margin-top: auto;
  padding-top: 28px;
}

.format-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  background: var(--white);
}

.format-card .text-link {
  margin-top: auto;
  padding-top: 24px;
}

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 25px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 620;
  list-style: none;
}

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

.faq-list summary span {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.18s;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 820px;
  margin: -2px 0 25px;
  color: var(--muted);
}

.contact-section {
  padding: 110px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: start;
  gap: 74px;
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-copy h2 {
  font-size: clamp(40px, 4.7vw, 64px);
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 42px;
}

.contact-details a,
.contact-details > div {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line-dark);
}

.contact-details small,
.contact-details strong {
  display: block;
}

.contact-details small {
  margin-bottom: 4px;
  color: #77849a;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-details strong {
  color: #d9dfe8;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.form-panel {
  padding: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

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

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid label > span {
  color: #b7c0cd;
  font-size: 11px;
  font-weight: 600;
}

.form-grid label > span em {
  margin-left: 5px;
  color: #748095;
  font-size: 9px;
  font-style: normal;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  transition:
    border-color 0.18s,
    background 0.18s;
}

.form-grid textarea {
  min-height: 132px;
  resize: vertical;
}

.form-grid select {
  color-scheme: dark;
}

.form-grid select option {
  background: #ffffff;
  color: var(--ink);
}

.form-grid select option:disabled {
  color: #667083;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #7f9df8;
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #657287;
}

.privacy-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  margin: 20px 0 0;
  color: #9ca7b7;
  font-size: 11px;
  line-height: 1.55;
}

.privacy-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.privacy-check a {
  color: #cbd6f7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.form-submit {
  width: 100%;
  margin-top: 20px;
}

.form-note,
.form-status {
  margin: 12px 0 0;
  color: #78859a;
  font-size: 10px;
  text-align: center;
}

.form-status {
  display: none;
  padding: 10px 12px;
  border-radius: 8px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(112, 168, 138, 0.13);
  color: #bed7c7;
}

.form-status.is-error {
  background: rgba(182, 62, 72, 0.14);
  color: #f1bfc3;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid #d9d6ce;
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto auto;
  align-items: center;
  gap: 28px;
}

.footer-grid > div > strong,
.footer-grid > div > span {
  display: block;
}

.footer-grid > div > strong {
  font-size: 12px;
}

.footer-grid > div > span,
.footer-grid p,
.footer-grid a {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.footer-grid a:hover {
  color: var(--ink);
}

.privacy-hero {
  padding: 150px 0 64px;
  background: var(--navy);
  color: var(--white);
}

.privacy-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.privacy-hero p {
  color: #aab4c3;
}

.privacy-content {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: space-between;
  gap: 70px;
}

.privacy-aside {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.privacy-aside strong,
.privacy-aside span,
.privacy-aside a {
  display: block;
}

.privacy-aside strong {
  margin-bottom: 5px;
  font-size: 13px;
}

.privacy-aside span,
.privacy-aside a {
  color: var(--muted);
  font-size: 11px;
}

.privacy-aside a {
  margin-top: 12px;
  color: var(--blue);
}

.privacy-body section {
  margin-bottom: 52px;
}

.privacy-body h2 {
  margin-bottom: 15px;
  font-size: 27px;
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.privacy-body p,
.privacy-body li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.privacy-body ul {
  padding-left: 22px;
}

.privacy-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 80px 24px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.not-found strong {
  display: block;
  color: #8ba8ff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.not-found h1 {
  max-width: 740px;
  margin: 24px auto 18px;
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1;
}

.not-found p {
  max-width: 560px;
  margin: 0 auto 30px;
  color: #aab4c3;
}

@media (max-width: 1080px) {
  .primary-nav {
    gap: 17px;
  }

  .primary-nav > a:not(.button) {
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    gap: 42px;
  }

  .system-visual {
    min-height: 520px;
  }

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

@media (max-width: 1120px) {
  .site-header {
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    align-items: stretch;
    max-height: calc(100vh - 68px);
    padding: 24px;
    overflow-y: auto;
    border-top: 1px solid var(--line-dark);
    background: var(--navy);
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav > a:not(.button) {
    padding: 11px 0;
    font-size: 16px;
  }

  .primary-nav > a:not(.button)::after {
    display: none;
  }

  .language-switch {
    align-self: flex-start;
    margin: 8px 0;
  }

  .hero {
    padding: 132px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .system-visual {
    width: 100%;
    max-width: 680px;
    min-height: 0;
  }

  .split-heading,
  .about-grid,
  .contact-grid,
  .privacy-content {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .direction-card {
    min-height: 480px;
  }

  .value-grid,
  .problem-grid,
  .format-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy,
  .privacy-aside {
    position: static;
  }

  .contact-copy {
    max-width: 760px;
  }

  .privacy-aside {
    max-width: 420px;
  }

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

@media (max-width: 720px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 76px 0;
  }

  .section-compact {
    padding: 58px 0;
  }

  .brand-text small {
    max-width: 170px;
  }

  .hero {
    min-height: 0;
    padding: 118px 0 66px;
  }

  .hero h1,
  .hub-hero h1 {
    font-size: clamp(39px, 11vw, 58px);
    letter-spacing: -0.052em;
    line-height: 1.02;
  }

  html[lang="ru"] .hero h1 {
    font-size: clamp(36px, 9.7vw, 52px);
    overflow-wrap: anywhere;
  }

  .hero-lead {
    margin-top: 23px;
    font-size: 16px;
    line-height: 1.6;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .button-row .button {
    width: 100%;
  }

  .trust-line {
    gap: 9px 17px;
    margin-top: 24px;
  }

  .system-visual {
    padding: 13px;
    border-radius: 19px;
  }

  .system-path {
    min-height: 165px;
    padding: 22px;
  }

  .system-path h2,
  .system-path h3 {
    max-width: calc(100% - 45px);
    font-size: 22px;
  }

  .path-tags {
    max-width: calc(100% - 25px);
  }

  .route-strip-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .route-strip-arrow {
    display: none;
  }

  .route-strip-item:last-child {
    justify-content: flex-start;
    text-align: left;
  }

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

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  html[lang="ru"] .section-heading h2,
  html[lang="ru"] .about-copy h2,
  html[lang="ru"] .contact-copy h2 {
    font-size: clamp(32px, 9.4vw, 46px);
    overflow-wrap: anywhere;
  }

  .section-heading > p:not(.kicker),
  .about-copy > p:not(.kicker),
  .contact-copy > p:not(.kicker) {
    font-size: 15px;
  }

  .direction-grid,
  .service-grid,
  .value-grid,
  .problem-grid,
  .format-grid,
  .case-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .direction-card {
    min-height: 0;
    padding: 28px;
  }

  .direction-card h3 {
    margin-top: 42px;
    font-size: 31px;
  }

  .service-card {
    min-height: 0;
    padding: 27px;
  }

  .budget-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding: 26px;
  }

  .budget-amount {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: none;
    padding: 19px 0 0;
    border-top: 1px solid #d9dce2;
    border-left: 0;
  }

  .budget-row-featured .budget-amount {
    border-color: var(--line-dark);
  }

  .budget-amount strong {
    font-size: clamp(28px, 8.4vw, 36px);
  }

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

  .metrics-grid article:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .metrics-grid strong {
    font-size: 31px;
  }

  .outcome-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 18px;
  }

  .outcome-metric {
    grid-column: 2;
    text-align: left;
  }

  .about-panel {
    min-height: 430px;
  }

  .about-monogram {
    margin-top: 45px;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .form-panel {
    padding: 25px;
  }

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

  .form-grid label.full {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .privacy-hero {
    padding: 125px 0 55px;
  }

  .privacy-hero h1 {
    font-size: clamp(38px, 11vw, 55px);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand-text small {
    max-width: 135px;
  }

  html[lang="ru"] .brand-text small {
    max-width: 120px;
  }

  .system-path p {
    font-size: 12px;
  }

  .path-tags span:nth-child(n + 4) {
    display: none;
  }

  .metrics-grid article {
    padding-right: 16px;
  }

  .form-panel {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
