/* ============ Шрифты ============ */
@font-face { font-family: "Onest"; font-weight: 200 700; font-display: swap; src: url(fonts/onest-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-weight: 200 700; font-display: swap; src: url(fonts/onest-latext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+20A0-20AB, U+20AD-20C4; }
@font-face { font-family: "Onest"; font-weight: 200 700; font-display: swap; src: url(fonts/onest-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ============ Токены ============ */
:root {
  --bg: #f7f8f8;
  --ink: #1f333b;
  --ink-2: #4c5d64;
  --mute: #a9b2b6;
  --line: #dde2e4;
  --panel: #dfe6e9;
  --panel-2: #eef2f3;
  --white: #ffffff;
  --cyan: #00ffff;
  --cyan-ink: #00a3a8;
  --led: #0c0d0f;
  --ok: #1b8a5a;
  --err: #c2412d;
  --gut: 24px;
  --hdr: 76px;
  --sans: "Onest", "Segoe UI", system-ui, sans-serif;
  --mono: var(--sans);
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
img, svg, canvas { display: block; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; font-weight: 400; color: var(--ink-2); line-height: 1.5; }
.mute { color: var(--mute); }
.ink { color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan-ink); outline-offset: 2px; }

/* ============ Header ============ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--hdr);
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px;
  padding: 0 var(--gut);
  background: rgba(247, 248, 248, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 400;
}
.hdr__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { width: 24px; height: 24px; flex: none; }
.hdr__name { font-weight: 500; font-size: 15px; }
.hdr__sep { width: 4px; height: 4px; background: var(--mute); flex: none; margin: 0 4px; }
.hdr__sub, .hdr__mid, .hdr__time { color: var(--ink-2); white-space: nowrap; }
.hdr__mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hdr__time { justify-self: end; padding-right: 62px; }
.hdr__actions { display: flex; align-items: center; gap: 8px; }
.hdr__cta { background: var(--ink); color: #fff; padding: 6px 14px; font-weight: 500; transition: background .2s; white-space: nowrap; }
.hdr__cta:hover { background: #2b4651; }
.hdr__cta-short { display: none; }
.hdr__menu { background: #eceeef; padding: 6px 14px; font-weight: 500; transition: background .2s; }
.hdr__menu:hover { background: #e2e5e6; }

.menu { position: fixed; inset: 0; z-index: 60; background: rgba(31, 51, 59, .18); display: flex; justify-content: flex-end; }
.menu[hidden] { display: none; }
.menu__inner {
  width: min(420px, 100%); height: 100%; background: var(--bg); padding: 24px var(--gut) 32px;
  display: flex; flex-direction: column; gap: 4px;
  animation: menuIn .45s var(--ease);
}
@keyframes menuIn { from { transform: translateX(40px); opacity: 0; } }
.menu__close { align-self: flex-end; background: #eceeef; padding: 6px 14px; font-weight: 500; font-size: 14px; margin-bottom: 40px; }
.menu a:not(.btn) { display: flex; align-items: baseline; gap: 16px; font-size: 40px; letter-spacing: -0.04em; padding: 6px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.menu a:not(.btn):hover { color: var(--ink-2); }
.menu__cta { margin-top: auto; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 32px; font-weight: 500; font-size: 15px; transition: background .2s, opacity .2s; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2b4651; }

/* ============ Светофор ============ */
.tl {
  position: fixed; left: 0; top: 0; z-index: 3;
  width: 400px; height: 500px;
  pointer-events: none;
  will-change: transform, opacity;
}
.tl__body { position: absolute; inset: 0; }
.tl__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl__led { position: absolute; }
.tl__img { }
.tl-key { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.tl.is-clickable .tl__body { pointer-events: auto; cursor: pointer; }

/* ============ Hero ============ */
.hero { position: relative; height: 100svh; min-height: 640px; padding: var(--hdr) var(--gut) 0; display: flex; flex-direction: column; }
.hero__panel {
  position: relative; flex: 1; overflow: hidden;
  background: linear-gradient(180deg, #dfe6e9 0%, #eaeff1 48%, var(--bg) 100%);
}
.hero__word {
  position: absolute; left: 0; right: 0; top: 10%;
  font-size: 25vw; line-height: 1; font-weight: 360; letter-spacing: -0.065em; white-space: nowrap; text-align: center;
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .92) 40%, rgba(255, 255, 255, .25) 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 1px rgba(120, 145, 155, .32);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 98%);
          mask-image: linear-gradient(to bottom, #000 45%, transparent 98%);
  user-select: none;
}
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px 0 24px; position: relative; z-index: 4; }
.hero__title { margin: 0; font-weight: 300; font-size: clamp(20px, 1.85vw, 27px); line-height: 1.22; letter-spacing: -0.035em; display: flex; flex-direction: column; }
.scrolldown { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 400; padding-bottom: 6px; }

.dots9 { display: grid; grid-template-columns: repeat(3, 4px); gap: 2px; }
.dots9 i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); animation: dotBlink 1.8s infinite; }
.dots9 i:nth-child(2n) { animation-delay: .3s; }
.dots9 i:nth-child(3n) { animation-delay: .6s; }
.dots9 i:nth-child(5) { animation-delay: .9s; }
@keyframes dotBlink { 0%, 100% { opacity: 1; } 50% { opacity: .12; } }
.dots9--spin { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Statement ============ */
.intro { position: relative; min-height: 130svh; padding: 0 var(--gut); display: flex; align-items: center; }
.intro__text { position: relative; z-index: 4; width: min(640px, calc(50% - 48px)); font-size: clamp(28px, 3vw, 44px); line-height: 1.12; letter-spacing: -0.045em; font-weight: 300; }
[data-reveal-words] .w { color: #c3cacd; transition: color .5s var(--ease); }
[data-reveal-words] .w.on { color: var(--ink); }

/* ============ Свой канал ============ */
.gear { position: relative; min-height: 150svh; padding: 0 var(--gut) 120px; }
.giant { margin: 0; font-weight: 400; font-size: clamp(64px, 15.6vw, 240px); line-height: .92; letter-spacing: -0.06em; }
.gear__title { position: relative; z-index: 2; padding-top: 24px; }
.gear__row { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30svh; }
.gear__text { grid-column: 2; max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.label-dot { display: inline-flex; align-items: center; gap: 10px; align-self: start; }
.lead { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -0.035em; }
.facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 0 0; }
.facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.facts b { font-weight: 300; font-size: 32px; letter-spacing: -0.05em; }

/* ============ Эффект ============ */
.stats { position: relative; height: 320svh; }
.stats__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.stats__arc { position: absolute; left: 50%; bottom: 31%; width: min(860px, 62vw); height: min(442px, 31.9vw); transform: translateX(-50%); color: #cfd6d9; overflow: visible; }
.prot__ring { transform-origin: 350px 350px; transform-box: view-box; }
.prot__mark { transform-origin: 350px 350px; transform-box: view-box; transition: transform 1s var(--ease); }
.stats__tag { position: absolute; left: 50%; bottom: calc(31% + 72px); transform: translateX(-50%); z-index: 4; }
.stats__knob { position: absolute; left: 50%; bottom: 31%; transform: translate(-50%, 50%); z-index: 5; width: 92px; height: 92px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; }
.stats__row { position: absolute; left: var(--gut); right: var(--gut); bottom: 6%; height: 25%; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #c9cfd2; transition: color .6s var(--ease); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-weight: 300; font-size: clamp(36px, 3.4vw, 50px); letter-spacing: -0.06em; white-space: nowrap; }
.stat .mono { color: inherit; }
.stat.is-on { color: var(--ink); }
.stat.is-on .mono { color: var(--ink-2); }
.stats__note { position: absolute; left: var(--gut); bottom: 2%; font-size: 12px; color: var(--mute); font-weight: 400; }

/* ============ Общие секции ============ */
.sec-head { position: relative; display: flex; justify-content: space-between; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 28px; }
.pill { font-family: var(--mono); font-size: 13px; border: 1px solid #cfd5d8; border-radius: 16px; min-width: 44px; height: 32px; display: grid; place-items: center; margin-top: 12px; color: var(--ink-2); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 40px; margin: 48px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.tabs button { font-size: clamp(30px, 3.3vw, 50px); letter-spacing: -0.05em; line-height: 1.1; color: #b6bec2; font-weight: 300; position: relative; transition: color .3s; }
.tabs button:hover { color: var(--ink-2); }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); }

/* ============ Кейсы ============ */
.cases { position: relative; padding: 120px var(--gut) 120px; }
.cases__body { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.cases__left { padding: 56px 0 0; display: flex; flex-direction: column; gap: 48px; }
.cases__quote { margin: 0; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -0.035em; max-width: 600px; }
.cases__quote.swap { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.cells { display: grid; grid-template-columns: 1fr 1fr; max-width: 580px; }
.cell { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: -1px; }
.cell:nth-child(2n) { padding-left: 12px; border-left: 1px solid var(--line); }
.cell b { font-weight: 300; font-size: 26px; letter-spacing: -0.045em; line-height: 1.1; }
.cases__right { display: flex; flex-direction: column; gap: 24px; }
.led-panel { position: relative; aspect-ratio: 16 / 10; background: var(--led); overflow: hidden; }
.led-panel canvas { width: 100%; height: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chips span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid #cfd5d8; border-radius: 16px; padding: 7px 14px; color: var(--ink-2); }

/* ============ Интерфейс ============ */
.demo { position: relative; padding: 0 var(--gut) 120px; }
.demo__grid { display: grid; grid-template-columns: 1fr minmax(0, 2fr) 1fr; border-top: 1px solid var(--line); margin-top: 48px; }
.demo__list { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding-right: 24px; }
.demo__list button { font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -0.05em; color: #bcc3c6; font-weight: 300; transition: color .3s; line-height: 1.1; }
.demo__list button:hover { color: var(--ink-2); }
.demo__list button[aria-selected="true"] { color: var(--ink); }
.demo__hint { margin-top: 24px; color: var(--mute); }
.demo__stage { position: relative; background: var(--panel); height: min(720px, 86svh); min-height: 600px; overflow: hidden; }
.demo__pane { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.demo__pane.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.demo__side { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-left: 24px; }
.demo__num { font-weight: 300; font-size: clamp(40px, 3.6vw, 52px); letter-spacing: -0.06em; line-height: 1; }
.demo__side p { font-size: 19px; line-height: 1.3; letter-spacing: -0.025em; max-width: 320px; }
.demo__labels { display: flex; justify-content: space-between; padding-top: 16px; }
.demo__labels .mono { color: var(--mute); }

/* --- переключатель --- */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-size: 14px; font-weight: 400; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { width: 36px; height: 20px; border-radius: 10px; background: #c5cdd0; position: relative; transition: background .25s; flex: none; }
.switch__ui::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.switch input:checked + .switch__ui { background: var(--ink); }
.switch input:checked + .switch__ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--cyan-ink); outline-offset: 2px; }

.seg { display: inline-flex; background: #fff; padding: 4px; gap: 2px; border-radius: 8px; }
.seg button { padding: 7px 14px; border-radius: 4px; font-size: 14px; font-weight: 400; color: var(--ink-2); transition: background .2s, color .2s; }
.seg button:hover { color: var(--ink); }
.seg button.is-on, .seg button[aria-checked="true"] { background: var(--ink); color: #fff; }

/* --- телефон и приложение гостя --- */
.phone { width: 300px; height: 600px; max-height: 100%; background: #111416; border-radius: 40px; padding: 10px; position: relative; box-shadow: 0 30px 60px rgba(31, 51, 59, .22); }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; border-radius: 11px; background: #111416; transform: translateX(-50%); z-index: 3; }
.app { position: relative; height: 100%; background: #fff; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; font-weight: 400; font-size: 13px; }
.app__top { display: flex; align-items: center; justify-content: space-between; padding: 48px 16px 12px; }
.app__brand { display: flex; align-items: center; gap: 10px; }
.app__brand b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
.app__brand span { color: #7f8b90; font-size: 12px; }
.app__logo { width: 36px; height: 36px; border-radius: 10px; background: #111416; color: #ff7a2f; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.app__bonus { background: #111416; color: var(--cyan); font-weight: 600; font-size: 12px; padding: 6px 10px; border-radius: 12px; transition: transform .3s var(--ease); }
.app__bonus.bump { transform: scale(1.15); }
.app__chips { display: flex; gap: 6px; padding: 4px 16px 10px; overflow-x: auto; scrollbar-width: none; }
.app__chips button { padding: 7px 12px; border-radius: 16px; background: #f0f3f4; font-size: 12px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.app__chips button.is-on { background: #111416; color: #fff; }
.app__list { list-style: none; margin: 0; padding: 0 16px; flex: 1; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.app__list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef1f2; animation: fadeUp .35s var(--ease) both; }
.app__pic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; background: #fff3ea; }
.app__pic--rolls { background: #fdf0f0; }
.app__pic--wok { background: #f4f1e8; }
.app__name { font-weight: 600; font-size: 13px; line-height: 1.2; }
.app__meta { color: #8a959a; font-size: 11px; margin-top: 2px; }
.app__price { font-weight: 600; font-size: 13px; margin-top: 4px; }
.qty { display: flex; align-items: center; gap: 2px; background: #f0f3f4; border-radius: 16px; padding: 2px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 500; line-height: 1; }
.qty button:hover { background: #e2e7e9; }
.qty span { min-width: 16px; text-align: center; font-weight: 600; font-size: 12px; }
.add { width: 30px; height: 30px; border-radius: 50%; background: #111416; color: #fff; font-size: 18px; line-height: 1; display: grid; place-items: center; transition: transform .2s; }
.add:hover { transform: scale(1.08); }
.app__cart { border-top: 1px solid #eef1f2; padding: 12px 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; background: #fff; }
.app__cart .switch { grid-column: 1 / -1; font-size: 12px; }
.app__cart .switch__ui { width: 30px; height: 18px; }
.app__cart .switch__ui::after { width: 14px; height: 14px; }
.app__cart .switch input:checked + .switch__ui::after { transform: translateX(12px); }
.app__sum { display: flex; flex-direction: column; }
.app__sum span { color: #7f8b90; font-size: 12px; }
.app__sum b { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.app__cashback { grid-column: 1 / -1; grid-row: 3; font-size: 11px; color: var(--cyan-ink); font-weight: 500; }
.app__buy { grid-column: 2; grid-row: 2; background: #ff7a2f; color: #fff; font-weight: 600; font-size: 13px; padding: 11px 14px; border-radius: 14px; transition: opacity .2s; }
.app__buy:disabled { opacity: .35; cursor: default; }
.app__toast { position: absolute; left: 12px; right: 12px; top: 44px; background: #111416; color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 12px; line-height: 1.35; transform: translateY(calc(-100% - 60px)); transition: transform .45s var(--ease); z-index: 4; }
.app__toast b { color: var(--cyan); font-weight: 600; }
.app__toast.show { transform: none; }

/* --- доска заказов --- */
.board { width: 100%; max-width: 640px; height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(31, 51, 59, .12); font-weight: 400; font-size: 14px; }
.board__top { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 24px; align-items: end; padding: 20px 20px 16px; border-bottom: 1px solid #edf0f1; }
.board__kpi { display: flex; flex-direction: column; gap: 4px; }
.board__kpi .mono { font-size: 10px; }
.board__kpi b { font-weight: 400; font-size: 26px; letter-spacing: -0.05em; line-height: 1; }
.board__auto { justify-self: end; font-size: 13px; }
.board__filters { display: flex; gap: 6px; padding: 14px 20px 0; flex-wrap: wrap; }
.board__filters button { padding: 6px 12px; border-radius: 16px; border: 1px solid #dfe4e6; font-size: 13px; transition: background .2s, color .2s, border-color .2s; }
.board__filters button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.board__status { display: flex; gap: 20px; padding: 14px 20px 0; border-bottom: 1px solid #edf0f1; }
.board__status button { padding: 0 0 10px; font-size: 15px; color: #8a959a; position: relative; }
.board__status button i { font-style: normal; font-size: 11px; background: #edf0f1; color: var(--ink-2); padding: 1px 6px; border-radius: 8px; margin-left: 4px; }
.board__status button.is-on { color: var(--ink); }
.board__status button.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.board__list { list-style: none; margin: 0; padding: 8px 20px 20px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.order { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f0f2f3; animation: fadeUp .35s var(--ease) both; }
.order.out { animation: slideOut .3s var(--ease) forwards; }
@keyframes slideOut { to { opacity: 0; transform: translateX(30px); } }
.order__num { font-weight: 500; }
.order__items { color: var(--ink-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order__meta { grid-column: 2; display: flex; gap: 8px; align-items: center; font-size: 12px; color: #8a959a; }
.tag { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; background: #edf0f1; color: var(--ink-2); }
.tag--app { background: #dffcfc; color: #007b80; }
.tag--site { background: #e9eefc; color: #3953a8; }
.tag--agg { background: #fdecea; color: #b2412f; }
.order__btn { grid-row: 1 / 3; grid-column: 3; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; padding: 8px 12px; border-radius: 6px; white-space: nowrap; transition: background .2s; }
.order__btn:hover { background: #2b4651; }
.order.is-new { background: linear-gradient(90deg, rgba(0, 255, 255, .12), transparent 60%); }
.board__empty { padding: 32px 20px; color: #8a959a; text-align: center; font-size: 14px; }

/* --- маршруты --- */
.routes { width: 100%; max-width: 640px; height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(31, 51, 59, .12); font-weight: 400; }
.routes__ctrl { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 16px; }
.routes__ctrl .seg { background: #eef2f3; }
.routes__map { flex: 1; min-height: 0; background: #f3f6f7; position: relative; }
.routes__map svg { width: 100%; height: 100%; }
.routes__foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #edf0f1; }
.routes__foot div { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.routes__foot div + div { border-left: 1px solid #edf0f1; }
.routes__foot .mono { font-size: 10px; }
.routes__foot b { font-weight: 400; font-size: 24px; letter-spacing: -0.05em; }
.map-street { stroke: #e2e8ea; stroke-width: 10; stroke-linecap: square; }
.map-block { fill: #e9eef0; }
.map-route { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; transition: opacity .3s; }
.map-order circle { transition: r .2s; }
.map-order text { font-family: var(--sans); font-weight: 500; fill: var(--ink); }
.map-order { cursor: pointer; }

/* ============ Калькулятор ============ */
.calc { padding: 0 var(--gut) 120px; }
.calc__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; padding: 96px 0 72px; }
.calc__lead { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.18; letter-spacing: -0.04em; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.calc__inputs { display: flex; flex-direction: column; padding: 8px 24px 0 0; }
.range { display: flex; flex-direction: column; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; }
.range output { font-size: 26px; letter-spacing: -0.05em; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; margin: 0; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--ink) var(--p), var(--line) var(--p)); }
input[type="range"]::-moz-range-track { height: 2px; background: linear-gradient(to right, var(--ink) var(--p), var(--line) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); margin-top: -8px; transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
.calc__out { border-left: 1px solid var(--line); padding: 8px 0 0 23px; display: flex; flex-direction: column; }
.calc__res { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.calc__res b { font-weight: 300; font-size: clamp(34px, 3.3vw, 48px); letter-spacing: -0.06em; line-height: 1; }
.calc__res--main b { font-size: clamp(48px, 5.6vw, 84px); }

.calc__bar { display: flex; height: 8px; margin-top: 28px; background: var(--line); }
.calc__bar i { display: block; height: 100%; transition: width .5s var(--ease); }
.calc__bar i:first-child { background: var(--ink); }
.calc__bar i:last-child { background: var(--cyan); }
.calc__legend { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 12px; font-size: 11px; }
.calc__legend span { display: inline-flex; align-items: center; gap: 8px; }
.calc__legend b { font-weight: 400; color: var(--ink); }
.sw { width: 8px; height: 8px; display: inline-block; }
.sw--own { background: var(--ink); }
.sw--move { background: var(--cyan); }
.calc__note { margin-top: 24px; font-size: 14px; color: var(--ink-2); max-width: 440px; }

/* ============ LED-лента ============ */
.band { position: relative; padding: 0 var(--gut) 0; }
.band__led { height: min(64svh, 620px); min-height: 360px; background: var(--led); }
.band__led canvas { width: 100%; height: 100%; }
.band__labels { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }

/* ============ Заявка ============ */
.lead-sec { position: relative; padding: 0 var(--gut); }
.lead-sec__stage { position: relative; height: 108svh; }
.lead-sec__labels { display: flex; justify-content: space-between; padding: 120px 0 32px; border-bottom: 1px solid var(--line); position: relative; z-index: 4; }
.lead-sec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; padding: 120px 0 96px; position: relative; z-index: 4; }
.lead-sec__left { display: flex; flex-direction: column; gap: 20px; padding-right: 48px; }
.lead-sec__title { margin: 0; font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -0.045em; max-width: 560px; }
.lead-sec__sub { font-size: 19px; line-height: 1.3; letter-spacing: -0.025em; max-width: 480px; }

.form { position: relative; max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; transition: opacity .3s; }
.field--wide { grid-column: 1 / -1; }
.field input[type="number"]::-webkit-inner-spin-button { opacity: .4; }
.form.is-sending .form__fields { opacity: .45; pointer-events: none; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; }
.field .mono, .field legend { font-size: 11px; padding: 0; }
.field input { font: inherit; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #cfd6d9; padding: 6px 0 10px; border-radius: 0; outline: none; transition: border-color .2s; width: 100%; }
.field input::placeholder { color: #bcc3c6; }
.field input:focus { border-bottom-color: var(--ink); }
.field.is-bad input { border-bottom-color: var(--err); }
.field__err { font-style: normal; font-size: 13px; color: var(--err); min-height: 18px; font-weight: 400; }
.field--seg legend { margin-bottom: 8px; }
.seg--form { background: transparent; padding: 0; gap: 8px; flex-wrap: wrap; }
.seg--form button { border: 1px solid #cfd6d9; border-radius: 6px; padding: 10px 20px; font-size: 16px; }
.field.is-bad .seg--form button { border-color: var(--err); }
.check { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 400; cursor: pointer; color: var(--ink-2); padding-top: 8px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 20px; height: 20px; border: 1px solid #b9c1c4; border-radius: 4px; flex: none; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box::after { content: ""; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible + .check__box { outline: 2px solid var(--cyan-ink); outline-offset: 2px; }
.check.is-bad .check__box { border-color: var(--err); }
.form__submit { align-self: flex-start; position: relative; min-width: 220px; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.form.is-sending .spinner { display: block; }
.form.is-sending .form__submit { pointer-events: none; }
.form__result { padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; animation: fadeUp .4s var(--ease); }
.form__result.ok { background: #e3f6ee; }
.form__result.bad { background: #fbe9e5; }
.form__result .ico { grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; }
.form__result.ok .ico { background: var(--ok); }
.form__result.bad .ico { background: var(--err); }
.form__result b { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.form__result p { font-size: 15px; color: var(--ink-2); }
.form__result button { grid-column: 2; justify-self: start; margin-top: 8px; font-weight: 500; font-size: 14px; border-bottom: 1px solid currentColor; }

.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; padding: 56px 0 56px; position: relative; z-index: 4; border-top: 1px solid var(--line); }
.foot__logo { font-size: 40px; font-weight: 500; letter-spacing: -0.06em; line-height: 1; }
.foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 400; }
.foot__col .mute { margin-bottom: 12px; }
.foot__col a:hover { color: var(--ink-2); }
.legal { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 400; color: var(--ink-2); position: relative; z-index: 4; }
.legal span:first-child { max-width: 620px; }

/* ============ Мобильная версия ============ */
@media (max-width: 1100px) {
  .hdr__mid { display: none; }
  .hdr { grid-template-columns: 1fr auto auto; }
  .hdr__time { padding-right: 16px; }
  .demo__grid { grid-template-columns: 1fr; }
  .demo__list { flex-direction: row; flex-wrap: wrap; gap: 8px 28px; padding: 24px 0; }
  .demo__hint { display: none; }
  .demo__side { padding: 24px 0 0; flex-direction: row; align-items: baseline; gap: 24px; }
  .demo__side p { max-width: 520px; }
}

@media (max-width: 760px) {
  :root { --gut: 16px; --hdr: 60px; }
  .hdr { grid-template-columns: 1fr auto; gap: 12px; }
  .hdr__sub, .hdr__sep, .hdr__time { display: none; }
  .giant { font-size: 13.2vw; }
  .pill { flex: none; min-width: 36px; height: 28px; margin-top: 4px; }
  .hero { min-height: 560px; }
  .hero__word { font-size: 40vw; top: 14%; -webkit-text-stroke-width: 1px; }
  .hero__foot { flex-direction: column; align-items: flex-start; padding-bottom: 20px; }
  .hero__title { font-size: 22px; }
  .scrolldown { display: none; }

  .intro { min-height: 100svh; }
  .intro__text { width: 100%; font-size: 30px; }

  .gear { min-height: 0; padding-bottom: 96px; }
  .gear__row { grid-template-columns: 1fr; margin-top: 48px; }
  .gear__text { grid-column: 1; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts b { font-size: 24px; }
  .facts .mono { font-size: 10px; }

  .stats { height: 300svh; }
  .stats__arc { width: 92vw; height: 47.3vw; bottom: 38%; }
  .stats__knob { bottom: 38%; width: 64px; height: 64px; }
  .stats__tag { bottom: calc(38% + 48px); }
  .stats__row { grid-template-columns: 1fr; height: 30%; }
  .stat { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
  .stat + .stat { border-left: 0; }
  .stat.is-on { opacity: 1; }
  .stat b { font-size: 48px; }

  .cases { padding: 72px var(--gut) 72px; }
  .tabs { gap: 4px 24px; margin-top: 32px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gut) * -1); padding-right: var(--gut); }
  .tabs button { font-size: 30px; white-space: nowrap; }
  .cases__body { grid-template-columns: 1fr; }
  .cases__left { padding-top: 32px; gap: 32px; }
  .cases__quote { font-size: 22px; }
  .cases__right { margin-top: 32px; }
  .cell b { font-size: 21px; }
  .chips { justify-content: flex-start; }

  .demo__list button { font-size: 28px; }
  .demo__stage { height: auto; min-height: 0; }
  .demo__pane { position: relative; inset: auto; padding: 16px; display: none; }
  .demo__pane.is-on { display: grid; }
  .demo__side { flex-direction: column; gap: 8px; }
  .phone { width: 100%; max-width: 320px; height: 600px; }
  .board, .routes { height: 600px; }
  .board__top { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; }
  .board__auto { grid-column: 1 / -1; justify-self: start; }
  .board__filters, .board__status { padding-left: 16px; padding-right: 16px; }
  .board__status { gap: 14px; }
  .board__status button { font-size: 14px; }
  .board__list { padding: 4px 16px 16px; }
  .routes__ctrl { padding: 12px; }
  .routes__foot b { font-size: 20px; }

  .calc__intro { grid-template-columns: 1fr; padding: 48px 0 40px; }
  .calc__grid { grid-template-columns: 1fr; }
  .calc__inputs { padding-right: 0; }
  .calc__out { border-left: 0; padding: 24px 0 0; }

  .band__led { height: 56svh; min-height: 300px; }
  .lead-sec__stage { height: 92svh; }
  .lead-sec__grid { grid-template-columns: 1fr; padding: 40px 0 64px; gap: 32px; }
  .lead-sec__left { padding-right: 0; }
  .form__submit { align-self: stretch; }
  .form__fields { grid-template-columns: 1fr; }
  .hdr__cta-long { display: none; }
  .hdr__cta-short { display: inline; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot__logo { grid-column: 1 / -1; order: 3; margin-top: 24px; }
  .legal { flex-direction: column; gap: 8px; }
}

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

/* ============ Сетка ============ */
.split { position: relative; border-bottom: 1px solid var(--line); margin: 0 var(--gut); }
.split::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); z-index: 1; }
.split > section { padding-left: 0; padding-right: 0; }
.split .gear__row { gap: 0; }
.split .gear__text { padding-left: 24px; }

/* ============ Фото в кейсах ============ */
.case-photo { position: relative; margin: 0; aspect-ratio: 16 / 10; background: var(--panel); overflow: hidden; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform .8s var(--ease); }
.case-photo.swap img { opacity: 0; transform: scale(1.03); }
.case-photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(247, 248, 248, .92); padding: 6px 10px; color: var(--ink-2); }
.case-photo figcaption:empty { display: none; }

/* ============ Партнёры ============ */
.partners { padding: 0 var(--gut) 120px; }
.partners__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; padding: 96px 0 72px; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { position: relative; aspect-ratio: 2 / 1; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos img { max-width: 56%; max-height: 34%; width: auto; height: auto; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos__cta a { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 20px; font-size: 22px; letter-spacing: -0.035em; background: var(--ink); color: #fff; transition: background .2s; }
.logos__cta a:hover { background: #2b4651; }

/* ============ Видео ============ */
.reel { position: relative; padding: 0 var(--gut); }
.reel__box { position: relative; background: #0c0d0f; aspect-ratio: 16 / 9; max-height: 92svh; width: 100%; overflow: hidden; }
.reel__video { width: 100%; height: 100%; object-fit: cover; }
.reel__btn { position: absolute; left: 16px; bottom: 16px; background: rgba(247, 248, 248, .92); padding: 8px 12px; color: var(--ink); }
.reel__labels { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }

/* ============ Аналитика ============ */
.dash { width: 100%; max-width: 640px; height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(31, 51, 59, .12); font-weight: 400; overflow: hidden; }
.dash__top { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #edf0f1; }
.dash__top .seg { background: #eef2f3; }
.dash__kpis { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; border-bottom: 1px solid #edf0f1; }
.dash__kpi { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dash__kpi + .dash__kpi { border-left: 1px solid #edf0f1; }
.dash__kpi .mono { font-size: 9px; }
.dash__kpi b { font-weight: 400; font-size: 22px; letter-spacing: -0.05em; line-height: 1.1; white-space: nowrap; }
.dash__kpi--main b { font-size: 26px; }
.dash__kpi em { font-style: normal; font-size: 12px; min-height: 16px; }
.dash__kpi em.up { color: var(--ok); }
.dash__kpi em.down { color: var(--err); }
.dash__block { padding: 14px 16px; }
.dash__h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.dash__h i { font-style: normal; background: var(--err); color: #fff; border-radius: 50%; width: 18px; height: 18px; display: inline-grid; place-items: center; font-size: 10px; font-weight: 600; letter-spacing: 0; line-height: 1; }
.dash__bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dash__bars li { display: grid; grid-template-columns: 96px 1fr 84px; gap: 12px; align-items: center; font-size: 13px; }
.dash__track { position: relative; height: 10px; background: #f0f3f4; }
.dash__fill, .dash__ghost { position: absolute; left: 0; top: 0; height: 100%; transition: width .6s var(--ease); }
.dash__fill { background: var(--ink); }
.dash__fill--app { background: #00c7cc; }
.dash__fill--agg { background: #e2826f; }
.dash__ghost { top: auto; bottom: -5px; height: 2px; background: #9aa6ab; }
.dash__bars b { font-weight: 500; text-align: right; }
.dash__alerts { flex: 1; min-height: 0; border-top: 1px solid #edf0f1; overflow-y: auto; }
.dash__alerts ul { list-style: none; margin: 0; padding: 0; }
.dash__alerts li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f2f3; font-size: 13px; animation: fadeUp .35s var(--ease) both; }
.dash__alerts li.out { animation: slideOut .3s var(--ease) forwards; }
.dash__alerts li span { color: #8a959a; font-size: 12px; display: block; }
.dash__alerts button { background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; padding: 7px 10px; border-radius: 6px; }
.dash__ok { color: var(--ok); font-size: 13px; padding: 10px 0; }

@media (max-width: 760px) {
  .split::before { display: none; }
  .split .gear__text { padding-left: 0; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos__cta a { font-size: 18px; padding: 14px; }
  .partners { padding-bottom: 72px; }
  .partners__intro { grid-template-columns: 1fr; padding: 48px 0 40px; }
  .reel__box { aspect-ratio: 4 / 5; }
  .dash { height: 640px; }
  .dash__kpis { grid-template-columns: 1fr 1fr; }
  .dash__kpi:nth-child(3) { border-left: 0; }
  .dash__kpi:nth-child(n+3) { border-top: 1px solid #edf0f1; }
  .dash__bars li { grid-template-columns: 82px 1fr 70px; gap: 8px; font-size: 12px; }
}

/* ============ Точки логотипа ============ */
.gdots { display: grid; grid-template-columns: repeat(4, 4px); grid-template-rows: repeat(4, 4px); gap: 2px; }
.gdots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); animation: gdot 2.4s calc(var(--i) * .12s) infinite; }
@keyframes gdot { 0%, 60%, 100% { opacity: 1; transform: none; } 30% { opacity: .15; transform: scale(.6); } }
.gdots--knob { grid-template-columns: repeat(4, 6px); grid-template-rows: repeat(4, 6px); gap: 3px; }
.gdots--knob i { width: 6px; height: 6px; animation: none; }
.gdots--knob.play i { animation: gdotIn .6s calc(var(--i) * .06s) var(--ease) both; }
@keyframes gdotIn { from { opacity: 0; transform: scale(0); } 60% { transform: scale(1.4); } }

/* ============ Заявка: расчёт и юридический текст ============ */
.calc__cta { align-self: flex-start; margin-top: 28px; }
.form__calc { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #e3f7f7; padding: 10px 12px; font-size: 14px; font-weight: 400; animation: fadeUp .4s var(--ease); }
.form__calc button { width: 24px; height: 24px; display: grid; place-items: center; font-size: 18px; color: var(--ink-2); }
.form__legal { font-size: 12px; line-height: 1.45; color: var(--mute); max-width: 520px; font-weight: 400; }
@media (max-width: 760px) { .calc__cta { align-self: stretch; } }

/* ============ Пиксели логотипа квадратные ============ */
.gdots i { border-radius: 0; }

/* ============ Лента клиентов ============ */
.clients { position: relative; z-index: 4; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px; height: 76px; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients__label { white-space: nowrap; }
.clients__track { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clients__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: none; animation: clientsRun 48s linear infinite; }
.clients:hover .clients__list { animation-play-state: paused; }
.clients__list img { height: 26px; width: auto; max-width: 140px; filter: grayscale(1) contrast(.9); opacity: .55; transition: filter .3s, opacity .3s; }
.clients__list li:hover img { filter: none; opacity: 1; }
@keyframes clientsRun { to { transform: translateX(-100%); } }
.hero { height: 100svh; }

/* ============ География ============ */
.geo { padding: 0 var(--gut) 120px; }
.geo__map { position: relative; aspect-ratio: 1200 / 672; border-top: 1px solid var(--line); }
.geo__map svg { width: 100%; height: 100%; display: block; }
.geo__map path[fill="#222222"] { fill: var(--ink); transition: fill .25s; }
.geo__map path[fill="#222222"]:hover { fill: #35525d; }
.geo__map path[fill="#ECECEC"] { fill: #e3e8ea; }
.geo__map .pin { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); }
.geo__map.on .pin { animation: pinIn .5s var(--ease) calc(var(--d) * 1s) forwards; }
@keyframes pinIn { 0% { transform: scale(0); } 70% { transform: scale(1.35); } 100% { transform: scale(1); } }
.geo__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.geo__stats li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 24px 0; }
.geo__stats li + li { padding-left: 23px; border-left: 1px solid var(--line); }
.geo__stats b { font-weight: 300; font-size: clamp(36px, 3.4vw, 50px); letter-spacing: -0.06em; line-height: 1; }

@media (max-width: 760px) {
  .clients { grid-template-columns: 1fr; gap: 10px; height: auto; padding: 14px 0; }
  .clients__list img { height: 22px; }
  .geo { padding-bottom: 72px; }
  .geo__stats { grid-template-columns: 1fr 1fr; }
  .geo__stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .geo__stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .geo__stats b { font-size: 36px; }
  .lead-sec__labels { padding-top: 72px; }
}

/* ============ Контакты ============ */
.contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 480px; }
.contacts .mono { margin-bottom: 6px; }
.contacts__big { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.04em; line-height: 1.15; transition: color .2s; }
.contacts__big:hover, .contacts__addr:hover { color: #35525d; }
.contacts__addr { font-size: 17px; font-weight: 400; margin-top: 8px; border-bottom: 1px solid var(--line); }
.contacts__note { font-size: 15px; color: var(--mute); font-weight: 400; }
.contacts__soc, .foot__soc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.contacts__soc a, .foot__soc a { font-size: 13px; font-weight: 400; border: 1px solid #cfd5d8; border-radius: 16px; padding: 6px 12px; transition: background .2s, color .2s, border-color .2s; }
.contacts__soc a:hover, .foot__soc a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============ Вопросы ============ */
.faq { padding: 0 var(--gut) 120px; }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; padding-top: 96px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__h { margin: 0; font: inherit; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; text-align: left; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -0.03em; line-height: 1.2; transition: color .2s; }
.faq__q:hover { color: #35525d; }
.faq__sign { position: relative; width: 16px; height: 16px; flex: none; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.faq__sign::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); font-weight: 400; max-width: 640px; }
.faq__item.open .faq__a { grid-template-rows: 1fr; }

/* ============ Карьера ============ */
.career { padding: 0 var(--gut) 120px; }
.career__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.perks { list-style: none; margin: 0; padding: 0 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.perks li { display: flex; flex-direction: column; gap: 8px; padding: 24px 16px 24px 0; border-bottom: 1px solid var(--line); }
.perks li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
.perks b { font-weight: 400; font-size: 22px; letter-spacing: -0.035em; }
.perks span { font-size: 15px; color: var(--ink-2); font-weight: 400; line-height: 1.4; }
.jobs { border-left: 1px solid var(--line); padding: 24px 0 0 23px; display: flex; flex-direction: column; gap: 16px; }
.jobs__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.jobs__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.jobs__filters button { padding: 6px 12px; border-radius: 16px; border: 1px solid #cfd5d8; font-size: 13px; font-weight: 400; transition: background .2s, color .2s, border-color .2s; }
.jobs__filters button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.jobs__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.jobs__list li { border-bottom: 1px solid var(--line); animation: fadeUp .35s var(--ease) both; }
.jobs__list li[hidden] { display: none; }
.jobs__list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; transition: padding .3s var(--ease), color .2s; }
.jobs__list a:hover { padding-left: 8px; color: #35525d; }
.job__t { font-size: 19px; letter-spacing: -0.03em; }
.job__m { grid-column: 1; font-size: 14px; color: var(--ink-2); font-weight: 400; }
.job__go { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 20px; }
.jobs__note { font-size: 12px; color: var(--mute); font-weight: 400; }
.jobs__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.jobs__more { font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; }

/* ============ Подвал ============ */
.foot__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.foot__brand p { font-size: 15px; color: var(--ink-2); font-weight: 400; max-width: 280px; }
.foot__sk img { height: 36px; width: auto; opacity: .7; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.foot__sk:hover img { opacity: 1; filter: none; }
.foot__sub { margin-top: 20px; }

@media (max-width: 1100px) {
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .faq, .career { padding-bottom: 72px; }
  .faq__grid { grid-template-columns: 1fr; padding-top: 40px; }
  .faq__a p { padding-right: 0; }
  .career__grid { grid-template-columns: 1fr; }
  .perks { padding-right: 0; }
  .perks b { font-size: 19px; }
  .jobs { border-left: 0; padding: 32px 0 0; }
  .job__t { font-size: 17px; }
  .lead-sec__grid { padding-top: 72px; }
  .contacts { margin-top: 24px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ============ Центральная ось ============ */
.axis { position: relative; }
.axis .partners__intro, .axis .calc__intro, .axis .faq__grid { padding-top: 72px; padding-bottom: 72px; }
.axis .logos { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .axis .partners__intro, .axis .calc__intro, .axis .faq__grid { padding-top: 40px; padding-bottom: 40px; }
  .calc__out { padding-left: 0; border-left: 0; }
  .jobs { padding-left: 0; border-left: 0; }
}

/* ============ Система отступов ============ */
:root { --sec: 120px; --in: 72px; --cap: 16px; }
@media (max-width: 760px) { :root { --sec: 72px; --in: 40px; } }
.cases { padding: var(--sec) var(--gut); }
.geo, .partners, .calc, .faq, .career, .demo { padding: 0 var(--gut) var(--sec); }
.cases .tabs { margin-top: var(--in); }
.partners__intro, .calc__intro, .axis .partners__intro, .axis .calc__intro { padding: var(--in) 0; }
.faq__grid, .axis .faq__grid { padding: var(--in) 0 0; }
.cases__left { padding-top: 40px; }
.cases__right { padding-top: 40px; margin-top: 0; }
.sec-cap { padding: var(--in) 0 var(--cap); }
.demo__grid { margin-top: 0; }
.reel { padding: 0 var(--gut) var(--sec); }
.reel .sec-cap { border-top: 1px solid var(--line); padding-top: 28px; }
.lead-sec__grid { border-top: 1px solid var(--line); padding: var(--in) 0 var(--sec); }

/* ============ Подписи всегда над значением, одинаковый зазор ============ */
.facts li, .stat, .geo__stats li, .cell, .calc__res { gap: 10px; }
.facts li .mono, .stat .mono, .geo__stats li .mono { order: -1; }

/* ============ Видео: целиком, 16:9 ============ */
.reel__box { aspect-ratio: 16 / 9; max-height: none; cursor: pointer; }
.reel__video { object-fit: cover; }
.reel__btns { position: absolute; left: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.reel__btns .reel__btn { position: static; }
.reel__video:fullscreen { object-fit: contain; }

@media (max-width: 760px) {
  /* кейсы: высота цитаты по содержимому */
  .cases__left { padding-top: 32px; }
  .cases__right { padding-top: 32px; }

  /* вкладки интерфейса как в кейсах: слева и со скроллом */
  .demo__list { flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: flex-end; gap: 24px; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gut) * -1); padding: 0 var(--gut) 16px 0; border-bottom: 1px solid var(--line); }
  .demo__list::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
  .demo__list button { font-size: 30px; white-space: nowrap; position: relative; }
  .demo__list button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); }
  .demo__stage { margin-top: 16px; }

  /* крупные цифры в демо не вылезают из ячеек */
  .dash__kpi b, .dash__kpi--main b { font-size: 20px; }
  .dash__kpi { padding: 12px; }
  .board__kpi b { font-size: 22px; }
  .routes__foot b { font-size: 18px; }
  .routes__foot div { padding: 12px; min-width: 0; }

  /* калькулятор помещается в 812 px */
  .calc__inputs { padding-top: 0; }
  .range { padding: 8px 0; gap: 2px; }
  .range output { font-size: 22px; }
  .calc__out { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; padding: 0; }
  .calc__res { padding: 10px 0; gap: 6px; min-width: 0; }
  .calc__res b { font-size: 26px; }
  .calc__res--main { grid-column: 1 / -1; order: -1; }
  .calc__res--main b { font-size: 40px; }
  .calc__bar, .calc__legend, .calc__note, .calc__cta { grid-column: 1 / -1; }
  .calc__bar { margin-top: 16px; }
  .calc__legend { margin-top: 8px; }
  .calc__note { margin-top: 10px; font-size: 13px; }
  .calc__cta { margin-top: 16px; }

  /* видео на телефоне тоже 16:9 */
  .reel__box { aspect-ratio: 16 / 9; }
  .reel__btns { left: 8px; bottom: 8px; gap: 6px; }
  .reel__btn { padding: 6px 8px; font-size: 10px; }

  /* подвал: контакты на всю ширину */
  .foot__col:last-child { grid-column: 1 / -1; }
}

/* ============ Подпись в скобках → контент: один зазор везде ============ */
:root { --cap: 24px; }
@media (max-width: 760px) {
  .partners__intro, .calc__intro, .faq__grid { row-gap: var(--cap); }
  .jobs__top { flex-direction: column; align-items: flex-start; gap: var(--cap); }
}
.sec-cap { padding-bottom: var(--cap); line-height: 0; }
.sec-cap .mono { display: block; }

/* ============ Кнопка в первом экране ============ */
.hero__title { flex: 1; }
.hero__cta { flex: none; }
.hero__foot { align-items: flex-end; }

/* ============ Переключатели и кнопки демо: прямые углы, как у основных кнопок ============ */
.seg, .seg button, .order__btn, .dash__alerts button, .tag, .seg--form button { border-radius: 0; }
.board__filters { padding: 14px 20px 0; }
.board__filters .seg { background: #eef2f3; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.board__filters .seg::-webkit-scrollbar, .jobs__filters::-webkit-scrollbar { display: none; }
.board__filters .seg button { white-space: nowrap; }
.jobs__filters { background: #eef2f3; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.jobs__filters button { white-space: nowrap; }

/* ============ Доска заказов: строки не мигают при обновлении ============ */
.order { animation: none; }
.order.enter { animation: fadeUp .35s var(--ease) both; }

/* ============ Вакансии без ховера ============ */
.jobs__list a, .jobs__list a:hover { padding-left: 0; color: inherit; transition: none; }

@media (max-width: 760px) {
  .hero__foot { flex-direction: column; align-items: stretch; gap: 20px; }
  .hero__cta { width: 100%; }
  .gear__row { margin-top: var(--in); }
  .board__filters { padding-left: 16px; padding-right: 16px; }
  .jobs__cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .jobs__cta .btn { width: 100%; }
  .jobs__more { align-self: flex-start; }
}

/* ============ Первый экран: кнопка под заголовком ============ */
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__title { flex: none; }
@media (max-width: 760px) {
  .hero__copy { align-items: stretch; gap: 20px; }
  /* кнопка строки заказа уходит под описание, чтобы не обрезалась */
  .order { grid-template-columns: auto 1fr; }
  .order__btn { grid-row: auto; grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
}
@media (max-width: 760px) {
  .order__meta { grid-column: 1 / -1; grid-row: 2; }
  .order__btn { grid-row: 3; }
}

/* ============ Мобильный первый экран по макету Figma ============ */
@media (max-width: 760px) {
  .hero__word { left: 0; right: auto; top: 0; transform-origin: 0 0; text-align: left; line-height: 1; }
}

/* ============ Переключатели без обводки ============ */
.seg button, .board__filters .seg button, .jobs__filters button { border: 0; border-radius: 0; }

/* ============ Ничего не распирает колонки ============ */
.demo__grid > *, .career__grid > *, .demo__stage, .demo__pane, .board, .jobs, .perks, .jobs__top { min-width: 0; }

/* ============ Доска заказов: отступ снизу, без подсветки новых ============ */
.board__list { min-height: 0; }
.order.is-new { background: none; }

/* ============ Кнопки в «Требует внимания» одной ширины ============ */
.dash__alerts button { width: 152px; text-align: center; }

/* ============ Светофор на телефоне: стоит в первом экране, как в Figma ============ */
@media (max-width: 760px) {
  .tl { position: absolute; transform: none !important; opacity: 1 !important; will-change: auto; }
  .dash__alerts button { width: 148px; padding-left: 8px; padding-right: 8px; }
}
.demo__pane { grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); justify-items: center; }
.board, .routes, .dash { max-height: 100%; }

/* ============ Переключатели в заказах и вакансиях как в курьерах и аналитике ============ */
.board__filters .seg, .jobs__filters { padding: 4px; gap: 2px; background: #eef2f3; }
.board__filters .seg button, .jobs__filters button { padding: 7px 14px; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.board__filters .seg button.is-on, .jobs__filters button.is-on { color: #fff; }

@media (max-width: 760px) {
  /* аналитика: у всех блоков один отступ от края, как у карточек показателей */
  .dash__top, .dash__block, .dash__kpi { padding: 12px; }
  /* легенда калькулятора: между строками тот же зазор, что от полосы до первой строки */
  .calc__legend { gap: 8px 24px; }
}

/* ============ Переключатели на телефоне не обрываются, а уходят под край ============ */
@media (max-width: 760px) {
  .board__filters { padding-right: 0; }
  .board__filters .seg { display: flex; max-width: none; }
  .jobs__filters { align-self: stretch; min-width: 0; max-width: none; width: calc(100% + var(--gut)); margin-right: calc(var(--gut) * -1); }
}
