/* sprinten.md. Семья Dovetly: кобальт = услуги Sprinten, чернильный = платформа Dovetly.
   Без теней и градиентов, кнопки-пилюли. RO/EN: Gabarito + Figtree. RU: Geologica + Onest. */
:root {
  --ink: #1f2430; --cob: #1d4ed8; --cob-d: #1a41bb; --tint: #e6ecfb; --stone: #f4f4f2; --line: #e9e7e4;
  --muted: #5f6673; --white: #fff; --on-ink: #c9ccd3; --on-cob: #dbe5ff; --line-d: #dcdad5;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dock: cubic-bezier(.3, 1.32, .5, 1);      /* приехало и защёлкнулось */
  --hf: 'Gabarito', Arial, sans-serif; --bf: 'Figtree', Arial, sans-serif;
  --gap: clamp(56px, 7vw, 88px);
}
html[lang="ru"] { --hf: 'Geologica', Arial, sans-serif; --bf: 'Onest', Arial, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--bf); font-size: 17px; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--cob); }
input, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cob); outline-offset: 3px; border-radius: 4px; }
p, h1, h2, h3, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { max-width: 1184px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
::selection { background: var(--cob); color: var(--white); }
input, textarea { caret-color: var(--cob); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.h1, .h2, .h3 { font-family: var(--hf); font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
html[lang="ru"] .h1, html[lang="ru"] .h2, html[lang="ru"] .h3 { letter-spacing: -0.025em; }
.h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; }
.h1--page { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; }
.h3 { font-size: 22px; line-height: 1.15; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cob); }
.lead { font-size: 19px; line-height: 1.45; color: var(--muted); max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.big { font-size: 19px; max-width: 560px; }
.sec { padding: 0 0 var(--gap); }
.sec__head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 32px; }
.sec__head p { font-size: 19px; color: var(--muted); }
.sec--band { background: var(--stone); padding: var(--gap) 0; margin-bottom: var(--gap); }
.after-link { margin-top: 28px; }

/* кнопки */
.pill { display: inline-block; border: 0; cursor: pointer; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: var(--white);
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background .15s, transform .12s var(--ease); }
.pill:active { transform: scale(.97); }
.pill:hover { background: #000; color: var(--white); }
.pill--cob { background: var(--cob); }
.pill--cob:hover { background: var(--cob-d); }
.pill--white { background: var(--white); color: var(--ink); }
.pill--white:hover { background: var(--tint); color: var(--ink); }
.pill--sm { padding: 11px 20px; font-size: 15px; }
.pill--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill--line:hover { background: var(--ink); color: var(--white); }
.pill--xl { display: inline-flex; align-items: center; gap: 10px; padding: 17px 28px; font-size: 18px; }
.arr { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pill .arr { transition: transform .2s var(--ease); }
.pill:hover .arr { transform: translateX(3px); }
.ok { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--tint); padding: 4px; fill: none; stroke: var(--cob); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--cob); font-weight: 600; font-size: 16px; text-decoration: none; }
.more::after { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat; transition: transform .2s var(--ease); }
a.more:hover::after, a:hover > .more::after { transform: translateX(3px); }
.x { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.more--white { color: var(--white); }
.more--white:hover { color: var(--on-cob); }

/* шапка */
.hd { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 20; }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; min-height: 76px; padding-top: 10px; padding-bottom: 10px; }
.hd__logo img { height: 50px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; white-space: nowrap; }
.nav a[aria-current] { color: var(--cob); }
.hd__right { display: flex; gap: 12px; align-items: center; }
.langs { display: inline-flex; gap: 2px; align-items: center; font-size: 14px; font-weight: 600; }
.langs a, .langs span { padding: 6px 9px; border-radius: 999px; text-decoration: none; color: var(--muted); }
.langs span { background: var(--stone); color: var(--ink); }
.burger { display: none; border: 0; background: var(--stone); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.burger svg { margin: auto; }
.burger .x, .burger[aria-expanded="true"] .burger__o { display: none; }
.burger[aria-expanded="true"] .x { display: block; }
.mnav { display: none; border-top: 1px solid var(--line); max-height: calc(100vh - 76px); overflow-y: auto; }
.mnav.is-open { display: block; }
.mnav__in { display: flex; flex-direction: column; padding-top: 6px; padding-bottom: 22px; }
.mnav__in > a { padding: 15px 0; text-decoration: none; font-family: var(--hf); font-weight: 700; font-size: 22px; border-bottom: 1px solid var(--line); }
.mnav__in > a[aria-current] { color: var(--cob); }
.mnav__in > a.mnav__sub { padding: 10px 0 15px 20px; margin-top: -1px; font-family: var(--bf); font-weight: 500; font-size: 17px; color: var(--muted); }
.mnav__in > a.mnav__sub[aria-current] { color: var(--cob); }
/* «О нас» в шапке: список «О компании» и «Платформа Dovetly», открывается наведением и фокусом с клавиатуры */
.nav__dd { position: relative; display: inline-flex; align-items: center; padding: 14px 0; margin: -14px 0; }
.nav__dd > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s var(--ease); }
.nav__dd:hover > a::after, .nav__dd:focus-within > a::after { transform: translateY(0) rotate(225deg); }
.nav__m { position: absolute; top: 100%; left: -20px; z-index: 30; width: 360px; padding: 8px; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-d); border-radius: 20px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s linear, transform .2s var(--ease), visibility 0s .2s; }
.nav__dd:hover .nav__m, .nav__dd:focus-within .nav__m { opacity: 1; visibility: visible; transform: none; transition: opacity .15s linear, transform .2s var(--ease); }
.nav .nav__m a { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 14px; white-space: normal; }
.nav .nav__m a:hover { background: var(--stone); color: var(--ink); }
.nav__m b { font-weight: 600; font-size: 16px; }
.nav__m small { font-size: 14px; line-height: 1.35; color: var(--muted); font-weight: 400; }
.nav__m a:hover b, .nav__m a[aria-current] b { color: var(--cob); }
.mnav__ft { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 20px; }
.mnav__ft .langs a, .mnav__ft .langs span { padding: 10px 14px; font-size: 15px; }
.mnav__ft .pill { flex: 1 1 220px; text-align: center; }
.mcta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line); }
.mcta .pill { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 20px; font-size: 17px; }

/* хлебные крошки и шапка внутренней страницы */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cob); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.phero { padding: 28px 0 56px; }
.phero__in { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.phero__row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 8px; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--cob); font-weight: 600; font-size: 14px; }
.notice { background: var(--tint); border-radius: 20px; padding: 18px 22px; max-width: 760px; }
.facts--hero { width: 100%; margin-top: 20px; }
.facts--hero .fact { flex: 1 1 240px; }

/* первый экран главной */
.hero { padding: 44px 0 var(--gap); }
.hero__in { display: flex; flex-direction: column; gap: 32px; }
.hero__top { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: flex-end; justify-content: space-between; }
.hero__top .h1 { flex: 1 1 520px; }
.hero__top .lead { flex: 1 1 320px; max-width: 440px; }
.seam { display: flex; flex-wrap: wrap; }
.seam__p { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.seam__p--l { background: var(--cob); padding: 36px 20px 36px 44px; border-radius: 36px 0 0 36px; }
.seam__p--r { background: var(--ink); padding: 36px 44px 36px 20px; border-radius: 0 36px 36px 0; }
.seam__p .kicker { color: var(--on-cob); }
.seam__p--r .kicker { color: var(--on-ink); }
.seam__t { font-family: var(--hf); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; color: var(--white); }
.seam__p--r p { color: var(--on-ink); }
.seam__p--l p { color: var(--on-cob); }
.seam__p .seam__t { color: var(--white); }
.seam--home .seam__j { aspect-ratio: 168 / 250; }
.seam--home .seam__p { padding-top: 32px; padding-bottom: 32px; }
.seam--who .seam__j { aspect-ratio: 168 / 210; }
.seam--who .seam__p { justify-content: flex-start; padding-top: 40px; padding-bottom: 40px; }
.seam--who .seam__p p:not(.seam__t) { font-size: 17px; max-width: 460px; }
.seam__j { flex: none; width: 168px; aspect-ratio: 168 / 320; align-self: stretch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: 15px; text-decoration: none; transition: border-color .15s, background .15s; }
a.chip:hover { border-color: var(--cob); }
.chip--cob { background: var(--cob-d); border-color: var(--cob-d); color: var(--white); padding: 9px 16px; }
a.chip--cob:hover { color: var(--white); background: #16379f; }
.chip--ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
a.chip--ink:hover { color: var(--white); }
.chip--stone { background: var(--stone); border-color: var(--stone); font-weight: 600; font-size: 17px; padding: 14px 22px; }
.chips__label { font-size: 15px; color: var(--muted); margin-right: 6px; }
.chips--row { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.chip--lg { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; background: var(--white); }
.chip--onink { border-color: rgba(255, 255, 255, .32); color: var(--white); }
.lg { width: 24px; height: 24px; flex: none; object-fit: contain; border-radius: 6px; }
.lg--32 { width: 32px; height: 32px; border-radius: 8px; }
.lg--mono { display: inline-grid; place-items: center; background: var(--tint); color: var(--cob); font-weight: 700; font-size: 13px; line-height: 1; }
.lg--32.lg--mono { font-size: 16px; }
.tile { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.ask { display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 2px solid var(--ink); border-radius: 28px;
  padding: 22px 18px 18px 28px; cursor: text; transition: border-color .15s; }
.ask:focus-within { border-color: var(--cob); }
.ask textarea { display: block; width: 100%; min-height: 62px; border: 0; padding: 0; background: transparent; resize: none;
  font-size: clamp(19px, 1.85vw, 24px); line-height: 1.3; font-weight: 500; }
.ask textarea::placeholder { color: var(--muted); opacity: 1; }
.ask textarea:focus-visible { outline: 0; }
.ask__row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.ask__note { font-size: 15px; color: var(--muted); }
.ask__tip { font-size: 15px; font-weight: 600; color: #b42318; }
.ask__row .pill { margin-left: auto; }

/* карточки */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--stone); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: background .15s, border-color .15s; }
.card p { font-size: 16px; color: var(--muted); flex: 1; }
.card .h3 { margin-top: 4px; }
a.card:hover { background: var(--tint); color: var(--ink); }
.card--line { background: var(--white); border: 1px solid var(--line); }
a.card--line:hover { background: var(--white); border-color: var(--cob); }
.card .badge { align-self: flex-start; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.after { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; margin-top: 32px; }
.after > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.after p { color: var(--muted); }
.ico { width: 28px; height: 28px; flex: none; stroke: var(--cob); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.group + .group { margin-top: 48px; }
.group__h { font-family: var(--hf); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; margin-bottom: 20px; }
.rows { border-top: 2px solid var(--ink); }
.rrow { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6px 48px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rrow p { color: var(--muted); max-width: 640px; }
.rrow .list { margin-top: 0; }
.rrow .chips { margin-top: 14px; }
.sec--band .rrow { border-bottom-color: var(--line-d); }

/* панели */
.panel { border-radius: 36px; padding: clamp(28px, 5vw, 64px); }
.panel--ink { background: var(--ink); color: var(--white); }
.panel--ink .kicker { color: var(--on-ink); }
.panel--ink p { color: var(--on-ink); }
.panel--tint { background: var(--tint); }
.panel--stone { background: var(--stone); }
.split { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.split > * { flex: 1 1 380px; min-width: 0; }
.split__main { flex: 1.3 1 420px; display: flex; flex-direction: column; gap: 20px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--s { gap: 10px; }
.point b { display: block; font-weight: 600; font-size: 18px; color: var(--white); }
.point p { font-size: 16px; }
.pcard { background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 14px; align-self: center; }
.pcard p { color: var(--muted); font-size: 16px; }
.pcard p.strong { color: var(--ink); font-weight: 600; }
.pcard img { height: 52px; width: auto; margin: -8px 0 -4px -12px; }
.strip { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); }
.strip > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.strip .h3 { font-size: 26px; }
.strips { display: flex; flex-direction: column; gap: 20px; }
.strips--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strips--2 .strip { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 24px; }
.strips--2 .strip > div { flex: 1 0 auto; }
.note { padding: 28px 32px; }
.note p { max-width: 760px; }
.split--mid { align-items: center; }
.incl { background: var(--stone); border-radius: 36px; padding: clamp(24px, 3.4vw, 44px); min-width: 0; }

/* факты, шаги, списки */
.facts { display: flex; flex-wrap: wrap; gap: 16px; }
.fact { flex: 1 1 200px; background: var(--white); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.fact b { font-family: var(--hf); font-weight: 800; letter-spacing: -0.02em; font-size: 30px; line-height: 1.05; color: var(--cob); }
.fact span { font-size: 15px; line-height: 1.4; color: var(--muted); }
.fact--stone { background: var(--stone); }
.facts--rule { gap: 20px 32px; }
.facts--rule .fact { background: none; border-radius: 0; padding: 16px 0 0; border-top: 2px solid var(--ink); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: st; }
.step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 18px; counter-increment: st; }
.step::before { content: counter(st); font-family: var(--hf); font-weight: 800; font-size: 22px; color: var(--cob); }
.step p { font-size: 16px; color: var(--muted); }
.steps--5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.steps--5 .h3 { font-size: 20px; }
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 56px; }
.list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.list li { position: relative; padding-left: 30px; }
.list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-radius: 5px; background: var(--cob); }
.list--ink li::before { background: var(--ink); }
.list--x li::before { background: var(--muted); height: 3px; top: 11px; }
.olist { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; list-style: decimal; font-size: 16px; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 20px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.table th { font-size: 14px; font-weight: 600; color: var(--muted); }
.table td:nth-child(2) { font-family: var(--hf); font-weight: 800; font-size: 24px; color: var(--cob); }
.table tr:last-child td { border-bottom: 0; }
.dl { display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 10px 24px; font-size: 16px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* вопросы */
.faq { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.faq > .h2 { flex: 1 1 280px; }
.faq__list { flex: 2.2 1 480px; border-top: 1px solid var(--line); min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .fold summary::after { content: ""; flex: none; width: 16px; height: 16px; margin-top: 6px;
  background: linear-gradient(var(--cob), var(--cob)) center / 100% 2px no-repeat, linear-gradient(var(--cob), var(--cob)) center / 2px 100% no-repeat;
  transition: transform .2s var(--ease); }
.faq details[open] summary::after, .fold[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 760px; }

/* форма */
.cta2 { background: var(--cob); color: var(--white); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 500px); gap: 32px 64px; align-items: center; }
.cta2__t { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cta2 .h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.06; }
.cta2__t > p { font-size: 19px; color: var(--on-cob); max-width: 460px; }
.cta2__pts { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.cta2__pts li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 17px; line-height: 1.3; }
.cta2__pts .ok { background: var(--white); }
.form__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.form__row label { flex: 1 1 190px; min-width: 0; }
.form .form__row .pill { flex: 1 0 auto; align-self: flex-end; min-height: 54px; text-align: center; }
.form.form--lite input, .form.form--lite textarea { background: var(--stone); border-color: var(--stone); }
.form.form--lite input:focus-visible, .form.form--lite textarea:focus-visible { border-color: var(--cob); background: var(--white); }
.form.form--lite textarea { min-height: 108px; font-size: 18px; }
.contact { display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: center; }
.contact > div { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.contact > div p { font-size: 18px; max-width: 460px; }
.form { flex: 1 1 380px; background: var(--white); color: var(--ink); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; font-size: 17px; font-weight: 400; background: var(--white); transition: border-color .15s; }
.form input { min-height: 54px; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--cob); outline-offset: 0; border-color: var(--cob); }
.form textarea { resize: vertical; min-height: 96px; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); opacity: 1; }
.form .pill { align-self: flex-start; padding: 16px 26px; font-size: 17px; }
.form__note { font-size: 14px; line-height: 1.45; color: var(--muted) !important; }
.form__note a { color: var(--muted); }
.form__msg { font-weight: 600; font-size: 16px; color: var(--cob) !important; }
.form__msg[data-kind="err"] { color: #b42318 !important; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form--stone { background: var(--stone); }

/* окно с формой */
.modal { border: 0; padding: 0; border-radius: 28px; width: min(520px, calc(100vw - 24px)); background: var(--white); color: var(--ink); }
.modal::backdrop { background: rgba(31, 36, 48, .55); }
.modal__in { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.modal__top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.modal__x { border: 0; background: var(--stone); width: 44px; height: 44px; border-radius: 999px; cursor: pointer; flex: none; padding: 0; }
.modal__x svg { margin: auto; }
.modal .form { padding: 0; background: transparent; }

/* о нас */
.founder { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: 32px 56px; align-items: center; }
.founder img { border-radius: 28px; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.founder__t { display: flex; flex-direction: column; gap: 16px; }
.founder__t p { color: var(--muted); max-width: 640px; }
.founder__n { font-family: var(--hf); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.founder__r { font-weight: 600; color: var(--ink) !important; }
.quote { font-family: var(--hf); font-weight: 700; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -0.02em; max-width: 820px; }
.quote::before { content: ""; display: block; width: 48px; height: 27px; border-radius: 14px; background: var(--cob); margin-bottom: 20px; }

/* интеграции */
.sysgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.sys { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s; }
.sys b { font-family: var(--hf); font-weight: 700; font-size: 19px; line-height: 1.15; }
.sys__hd { display: flex; align-items: center; gap: 12px; }
.sys .tile { width: 40px; height: 40px; border-radius: 12px; }
.sysgrid--2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
/* каталог на хабе: плотная сетка «знак и название», поиск и выбор рынка */
.sysgrid--mini { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.sysm { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .15s; }
.sysm[hidden], .catrow[hidden] { display: none; }
.sysm .tile { width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--stone); }
.sysm .lg--32 { width: 24px; height: 24px; border-radius: 6px; }
.sysm > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.sysm b { font-weight: 600; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.sysm i { font-style: normal; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
a.sysm:hover { border-color: var(--cob); color: var(--ink); }
.catf { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.catf[hidden] { display: none; }
.catf__find { flex: 1 1 260px; max-width: 380px; }
.catf__find input { width: 100%; font: inherit; font-size: 16px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); }
.catf__find input:focus-visible { outline: 2px solid var(--cob); outline-offset: 2px; border-color: var(--cob); }
.catf__mk { display: flex; flex-wrap: wrap; gap: 6px; }
.catf__b { font: inherit; font-size: 15px; font-weight: 500; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.catf__b i { font-style: normal; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.catf__b:hover { border-color: var(--ink); }
.catf__b.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.catf__b.is-on i { color: rgba(255, 255, 255, .7); }
.catf__none { padding: 28px 0 4px; font-size: 18px; }
.sys > span:last-child { font-size: 14px; line-height: 1.4; color: var(--muted); }
a.sys:hover { border-color: var(--cob); color: var(--ink); }
.pairs { display: flex; flex-wrap: wrap; gap: 8px; }
.folds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; align-items: start; }
.folds__col { border-top: 1px solid var(--line); }
.fold { border-bottom: 1px solid var(--line); padding: 16px 0; }
.fold summary { cursor: pointer; font-family: var(--hf); font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 12px; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { margin: 0 0 0 auto; }
.fold .pairs { margin-top: 14px; }
/* хвост длинной строки связок: «+N» стоит последним в ряду, по нажатию остальные программы открываются следующей строкой */
.pmore > summary { list-style: none; cursor: pointer; color: var(--cob); font-weight: 600; background: var(--tint); border-color: var(--tint); }
.pmore > summary::-webkit-details-marker { display: none; }
.pmore > summary:hover { border-color: var(--cob); }
.pmore[open] { flex: 1 0 100%; }
.pmore[open] > summary { display: none; }
.catrow { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 12px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.catrow > b { font-weight: 600; padding-top: 8px; }
.catrow .sysgrid + * { margin-top: 0; }
.xhero { padding: 28px 0 var(--gap); }
.xhero__in { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 36px 56px; align-items: center; }
.xhero__t { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; min-width: 0; }
.moves { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.moves > span:first-child { font-size: 15px; color: var(--muted); margin-right: 4px; }
.stage { margin: 0; min-width: 0; }
.stage__in { background: var(--cob); border-radius: 36px; padding: clamp(16px, 2.6vw, 32px); }
.stage--rise .stage__in { padding-bottom: 0; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.stage--rise .win { width: 100%; border-radius: 22px 22px 0 0; }
.stage figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
.win { background: var(--white); color: var(--ink); border-radius: 22px; overflow: hidden; font-size: 16px; container-type: inline-size; }
@container (max-width: 540px) { .win__time { display: none; } }
.win__hd { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.win__logos { display: inline-flex; flex: none; }
.win__logos .tile { width: 40px; height: 40px; border-radius: 12px; }
.win__logos .tile + .tile { margin-left: -8px; }
.win__t { flex: 1; min-width: 0; font-family: var(--hf); font-weight: 700; font-size: 18px; line-height: 1.2; }
.win__st { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 5px 11px; border-radius: 999px; background: var(--tint); color: var(--cob); font-size: 13px; font-weight: 600; }
.win__st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cob); }
.win__row { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.win__row:last-child { border-bottom: 0; }
a.win__row { text-decoration: none; color: var(--ink); transition: background .15s; }      /* строка окна-ссылки: «Услуги», «Решения» */
a.win__row:hover { background: var(--tint); color: var(--ink); }
.win__done.win__done--next { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.win__rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.win__rt b { font-weight: 600; line-height: 1.3; }
.win__rt small { font-size: 13px; color: var(--muted); }
.win__time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.win__done { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--stone); font-size: 13px; font-weight: 600; }
.win__done--now { display: inline-flex; align-items: center; gap: 7px; background: var(--tint); color: var(--cob); }
.win__done--now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cob); }
.win__dir { display: inline-flex; align-items: center; gap: 3px; flex: none; }
/* окно платформы: группы внутри окна и шапка с логотипом */
.win__grp { margin: 0; padding: 9px 18px; background: var(--stone); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.win__hd--brand { justify-content: space-between; }
.win__hd--brand img { display: block; height: 30px; width: auto; }
.win--plat .win__row:last-of-type { border-bottom: 0; }
/* окно гранта: пример расчёта и три цифры программы */
.gwin__tag { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--stone); font-size: 13px; font-weight: 600; }
.gwin__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; padding: 20px 18px 12px; }
.gwin__split > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gwin__split > div:last-child { text-align: right; align-items: flex-end; }
.gwin__split span { font-size: 14px; color: var(--muted); }
.gwin__split b { font-family: var(--hf); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(21px, 2.1vw, 29px); line-height: 1.1; white-space: nowrap; }
.gwin__g { color: var(--cob); }
.gwin__bar { display: flex; gap: 4px; height: 16px; margin: 0 18px 20px; }
.gwin__bar i { display: block; min-width: 16px; border-radius: 999px; background: var(--ink); }
.gwin__bar i:first-child { background: var(--cob); }
.gwin__f { display: grid; grid-template-columns: minmax(0, 178px) minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 13px 18px; border-top: 1px solid var(--line); }
.gwin__f b { font-family: var(--hf); font-weight: 800; letter-spacing: -0.01em; font-size: 20px; line-height: 1.15; color: var(--cob); }
.gwin__f span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.gwin__more { display: flex; padding: 14px 18px 16px; border-top: 1px solid var(--line); }
@container (max-width: 440px) { .gwin__f { grid-template-columns: minmax(0, 1fr); } .gwin__split { grid-template-columns: minmax(0, 1fr); } .gwin__split > div:last-child { text-align: left; align-items: flex-start; } }
.win__dir .lg { width: 26px; height: 26px; border-radius: 7px; }
.win__dir .arr { width: 14px; height: 14px; stroke: var(--muted); }
.win__foot { padding: 13px 18px 16px; font-size: 13px; color: var(--muted); background: var(--stone); }
.chat { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.chat__q { align-self: flex-end; max-width: 88%; padding: 10px 16px; border-radius: 18px 18px 4px 18px; background: var(--ink); color: var(--white); }
.chat__src { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.chat__src .lg { width: 18px; height: 18px; border-radius: 4px; }
.chat__tb { border-top: 1px solid var(--line); font-size: 15px; }
.chat__tb div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.chat__tb b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chat__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 14px 14px; padding: 11px 12px 11px 18px; border-radius: 999px; background: var(--stone); color: var(--muted); font-size: 15px; }
.chat__in .arr { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--ink); stroke: var(--white); transform: rotate(-90deg); }
.seam--data .seam__j { aspect-ratio: 168 / 230; }
.seam--data .seam__p { gap: 20px; justify-content: flex-start; padding-top: 44px; padding-bottom: 44px; }
.seam__sys { display: flex; align-items: center; gap: 14px; }
.seam--data .chip { font-size: 16px; }
.prose { display: flex; flex-direction: column; gap: 28px; max-width: 760px; }
.prose h2 { font-family: var(--hf); font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.prose p { color: var(--muted); }

/* подвал */
.ft { background: var(--stone); padding: 56px 0 36px; }
.ft__in { display: flex; flex-direction: column; gap: 36px; }
.ft__top { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, auto); gap: 32px 56px; align-items: start; }
.ft__about { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.ft__about img { height: 56px; width: auto; align-self: flex-start; }
.ft__about p { font-size: 15px; color: var(--muted); }
.ft__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; min-width: 0; }
.ft__col b { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.ft__col a { text-decoration: none; }
.ft__legal { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line-d); padding-top: 20px; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .cta2 { grid-template-columns: minmax(0, 1fr); }
  .ft__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft__about { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 900px) {
  .seam { gap: 10px; }
  .seam__j { display: none; }
  .seam__p--l, .seam__p--r { border-radius: 28px; padding: 28px; }
  .founder { grid-template-columns: 1fr; }
  .founder img { max-width: 420px; }
  .catrow { grid-template-columns: 1fr; }
  .hd__logo img { height: 44px; }
  .ask { padding: 18px; border-radius: 24px; }
  .ask__row .pill { width: 100%; justify-content: center; white-space: normal; }
  .xhero__in { grid-template-columns: minmax(0, 1fr); }
  .stage--rise .stage__in { min-height: 0; padding-top: 20px; }
  .strips--2, .folds, .rrow { grid-template-columns: minmax(0, 1fr); }
  .folds__col + .folds__col { border-top: 0; }
  .rrow { gap: 6px; padding: 18px 0; }
  .incl { border-radius: 28px; }
  .mcta:not([hidden]) { display: block; }
  .w-dock .mcta { display: none !important; }
  .has-mcta .ft { padding-bottom: 104px; }
  .chip { padding: 10px 14px; }
  .chip--lg { padding: 8px 14px 8px 8px; }
  .sysgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catf__find { max-width: none; }
  .sysgrid--2 { grid-template-columns: minmax(0, 1fr); }
  .sys { padding: 14px; }
  .sys b { font-size: 17px; }
  .faq summary { font-size: 18px; }
  .stage__in { border-radius: 28px; }
  .win__time { display: none; }
  .win__t { font-size: 17px; }
  .seam--data .seam__p { padding-top: 28px; padding-bottom: 28px; }
  .panel { border-radius: 28px; }
  .table th, .table td { padding: 12px 12px; }
  .table td:nth-child(2) { font-size: 20px; }
}
@media (max-width: 640px) {
  .hd__right .pill, .hd__right .langs { display: none; }
  .ft__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .ft__col a { padding: 4px 0; overflow-wrap: anywhere; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; }
  .table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table tr:last-child { border-bottom: 0; }
  .table td { padding: 0; border: 0; }
  .table td:first-child { font-weight: 600; margin-bottom: 6px; }
  .table td:nth-child(n+2) { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--bf); font-size: 16px; font-weight: 600; color: var(--ink); }
  .table td:nth-child(n+2)::before { content: attr(data-l); font-weight: 400; color: var(--muted); }
  .table td:nth-child(2) { color: var(--cob); }
}
@media (max-width: 480px) {
  .win__st { display: none; }
  .win__row { padding: 13px 14px; gap: 10px; }
  .win__dir .lg { width: 22px; height: 22px; }
  .win__done { display: none; }
  .win__done--now { display: inline-flex; }
  /* плашка «идёт сейчас» уходит под текст строки, а не сжимает его в узкий столбец */
  .win__row:has(> .win__done--now) { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; }
  .win__row > .win__done--now { grid-column: 2; justify-self: start; }
  .h1--page { font-size: 30px; }
  .sys__hd { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sys b { font-size: 16px; overflow-wrap: anywhere; }
  .form .form__row .pill { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .stage--rise .win__row { animation: win-in .5s var(--ease) both; animation-delay: calc(.25s + var(--i, 0) * .14s); }
  .win__done--now::before { animation: win-dot 1.6s ease-in-out infinite; }
}
@media (max-width: 400px) { .ft__top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 359px) {      /* самые узкие телефоны: длинные слова в заголовках не должны раздвигать страницу */
  .h1 { font-size: 32px; } .h1--page { font-size: 28px; }
  .h1, .h2, .h3 { overflow-wrap: anywhere; }
  .dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .dl dd { margin-bottom: 12px; overflow-wrap: normal; }
}
@keyframes win-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes win-dot { 50% { opacity: .25; } }

/* Общее движение. Скрипт помечает только то, что при загрузке лежит ниже экрана: без скрипта и при reduced motion всё видно сразу. */
[data-in] { opacity: 0; transform: translate3d(0, 22px, 0); }
[data-in].is-in { opacity: 1; transform: translate3d(0, 0, 0); transition: transform .7s var(--dock), opacity .3s linear; transition-delay: calc(var(--n, 0) * 80ms); }
.steps--thread .step { position: relative; border-top-color: transparent; }
.steps--thread .step::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); transition-delay: calc(var(--n, 0) * 220ms); }
.steps--thread .step::before { align-self: flex-start; opacity: 0; transform: scale(.4); transform-origin: 0 70%;
  transition: transform .5s var(--dock), opacity .15s linear; transition-delay: calc(var(--n, 0) * 220ms + 140ms); }
.steps--thread .step > * { opacity: 0; transform: translate3d(0, 10px, 0);
  transition: transform .6s var(--ease), opacity .35s linear; transition-delay: calc(var(--n, 0) * 220ms + 220ms); }
.steps--thread.is-in .step::after { transform: scaleX(1); }
.steps--thread.is-in .step::before { opacity: 1; transform: scale(1); }
.steps--thread.is-in .step > * { opacity: 1; transform: translate3d(0, 0, 0); }
.steps .step:nth-child(2) { --n: 1; } .steps .step:nth-child(3) { --n: 2; } .steps .step:nth-child(4) { --n: 3; }
.steps .step:nth-child(5) { --n: 4; } .steps .step:nth-child(6) { --n: 5; }
.faq details[open] > p { animation: faq-in .45s var(--ease) both; }
.faq details.is-closing > p { animation: none; opacity: 0; transition: opacity .15s linear; }
.faq details.is-closing summary::after { transform: none; }
.faq summary:hover { color: var(--cob); }
@keyframes faq-in { from { opacity: 0; transform: translate3d(0, -8px, 0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; }
  .faq details[open] > p { animation: none; }
}

/* ---------------------------------------------------------------- «Услуги»: цепочка бизнеса и карточки направлений (page_services) */
.up-tls { display: inline-flex; gap: 6px; }
.up-tl { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--white); border: 1px solid var(--line); flex: none; }
.up-tl .lg { width: 22px; height: 22px; border-radius: 6px; }
.up-soon { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--cob);
  font-family: var(--bf); font-size: 12px; font-weight: 600; letter-spacing: 0; }

/* ---------- A: цепочка бизнеса, линия с остановками ---------- */
.ua-hero { padding: 24px 0 36px; }
.ua-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.ua-top .h1 { font-size: clamp(36px, 4.6vw, 64px); }
.ua-top__r { display: flex; flex-direction: column; gap: 20px; padding-bottom: 8px; }
.ua-map { --ua-gap: 20px; border-radius: 36px; overflow: hidden; background: var(--cob); color: var(--white); }
.ua-line { list-style: none; margin: 0; padding: 44px 40px 40px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--ua-gap); }
.ua-st { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; min-width: 0; }
.ua-line { grid-template-rows: auto 44px auto 1fr; }
.ua-st__n { align-self: end; font-family: var(--hf); font-weight: 800; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.1; letter-spacing: -0.02em; padding-bottom: 14px; }
/* остановка: кружок с белым кольцом на линии; линия тянется от кружка до следующей остановки */
.ua-stop { position: relative; align-self: center; height: 22px; }
.ua-stop::before { content: ""; position: absolute; top: 9px; left: 11px; right: calc(-1 * var(--ua-gap)); height: 4px; background: var(--white); border-radius: 2px; }
.ua-stop::after { content: ""; position: absolute; top: 0; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--cob); border: 5px solid var(--white); box-sizing: border-box; }
.ua-st:last-child .ua-stop::before { display: none; }
.ua-st .up-tls { padding: 16px 0 18px; }
.ua-st .up-tl { width: 34px; height: 34px; border: 0; border-radius: 10px; }
.ua-st .up-tl .lg { width: 21px; height: 21px; }
.ua-st__l { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .24); }
.ua-st__l a { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .24);
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.3; }
.ua-st__l .arr { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  opacity: .5; transition: transform .2s var(--ease), opacity .2s; }
.ua-st__l a:hover { color: var(--white); }
.ua-st__l a:hover .arr { opacity: 1; transform: translateX(3px); }
.ua-st__l a:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; border-radius: 4px; }
.ua-base { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding: 26px 40px 28px; background: var(--ink); }
.ua-base b { font-family: var(--hf); font-weight: 800; font-size: 20px; letter-spacing: -0.015em; }
.ua-base__l { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.ua-base__l a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; }
.ua-base__l a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ua-base .up-soon { background: rgba(255, 255, 255, .14); color: var(--white); margin-left: 6px; }

/* ---------- общая нижняя часть: карточки по направлениям ---------- */
.up-dir { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.up-dir:first-child { border-top: 0; padding-top: 0; }
.up-dir__h { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 6px; }
.up-dir__h .h2 { font-size: clamp(26px, 2.6vw, 34px); }
.up-dir__h span { color: var(--muted); font-size: 15px; }
.up-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.up-cards--odd > :last-child { grid-column: 1 / -1; }
.up-card { background: var(--stone); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--stone); transition: border-color .15s; }
.up-card:hover { border-color: var(--cob); }
.up-card--tint { background: var(--tint); border-color: var(--tint); }
.up-card .h3 a { color: var(--ink); text-decoration: none; }
.up-card .h3 a:hover { color: var(--cob); }
.up-card > p { color: var(--muted); font-size: 16px; }
.up-card .more { margin-top: auto; }
.up-start { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line-d); }
.up-start > p { font-size: 13px; font-weight: 600; color: var(--muted); }
.up-sol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 10px 14px; border-radius: 14px; background: var(--white);
  color: var(--ink); text-decoration: none; transition: background .15s; }
.up-sol span { flex-basis: 100%; font-weight: 600; font-size: 15px; line-height: 1.3; }
.up-sol b { font-family: var(--hf); font-weight: 800; color: var(--cob); font-size: 15px; }
.up-sol small { font-size: 13px; color: var(--muted); }
.up-sol:hover { background: var(--tint); color: var(--ink); }

@media (max-width: 1100px) {
  .up-dir { grid-template-columns: minmax(0, 1fr); }
  .up-dir__h { position: static; }
}
@media (max-width: 900px) {
  .ua-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .up-cards { grid-template-columns: minmax(0, 1fr); }
  .up-card { padding: 20px; }
}

/* A: на средних ширинах колонки уже: меньше поля и шрифт ссылок, чтобы «ИИ-ассистенты» не рвались по дефису */
@media (max-width: 1240px) and (min-width: 1024px) {
  .ua-map { --ua-gap: 16px; }
  .ua-line { padding: 36px 28px 32px; }
  .ua-st__l a { font-size: 15px; gap: 6px; }
  .ua-st__l .arr { width: 14px; height: 14px; }
  .ua-base { padding: 24px 28px 26px; }
}
/* A: на узких экранах линия встаёт вертикально, остановки идут сверху вниз */
@media (max-width: 1023px) {
  .ua-line { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding: 32px 28px 8px; }
  .ua-st { grid-template-rows: none; grid-row: auto; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding-bottom: 26px; position: relative; }
  .ua-st__n { grid-column: 2; grid-row: 1; padding-bottom: 10px; align-self: start; }
  .ua-stop { grid-column: 1; grid-row: 1 / span 3; align-self: stretch; height: auto; }
  .ua-stop::before { left: 9px; right: auto; top: 14px; bottom: -26px; width: 4px; height: auto; }
  .ua-stop::after { top: 3px; left: 0; }
  .ua-st .up-tls { grid-column: 2; grid-row: 2; padding: 0 0 12px; }
  .ua-st__l { grid-column: 2; grid-row: 3; }
  .ua-top { grid-template-columns: minmax(0, 1fr); margin-bottom: 28px; }
  .ua-base { padding: 22px 28px 26px; }
}
@media (max-width: 480px) {
  .ua-map { border-radius: 28px; }
  .ua-line { padding: 26px 20px 4px; }
  .ua-base { padding: 20px; flex-direction: column; gap: 10px; }
  .ua-base__l { flex-direction: column; gap: 0; width: 100%; }
  .ua-base__l a { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
}

/* ---------------------------------------------------------------- баннер cookie (Google Analytics только с согласия) */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; display: flex; flex-direction: column; gap: 12px;
  padding: 18px 20px; border-radius: 22px; background: var(--ink); color: var(--white); border: 1px solid var(--ink); }
.consent[hidden] { display: none; }
.consent p { font-size: 15px; line-height: 1.45; color: var(--on-ink); }
.consent a { color: var(--white); }
.consent__b { display: flex; gap: 8px; justify-content: flex-end; }
.consent .pill:not(.pill--cob) { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.ft__cookie { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.ft__cookie:hover { color: var(--cob); }
