/* Hallmark · theme: custom (by request, sports-foundation reference recast as «Капитанский мостик») · genre: modern-minimal · shape: classic hero plus sections · job: sign up · hero: stage, a vivid blue rounded deck with sea waves, a generated captain cut out and breaking out of its top edge, two warm ticket cards overlapping its foot · nav: wordmark left, five quiet links, a hot pill action · footer: wordmark and two link columns · imagery: Codex-generated sailors, real product screens and fragments
/* Hallmark · critique (sea-2: one grotesk, lighter weights, softer shadows): the reference's energy comes from saturated blue against warm orange and people breaking out of their frames; the page keeps that and spends it on one idea, the crew of a ship, where each sailor stands for one section of the product; the blocks carried over from the previous landing (before and after, features, functions with modules, AI agents, hiring, who it is for) keep that voice: soft and blue rounded cards inside the column, real product fragments instead of drawn screens, and the two overlapping old lists of five functions and eight modules merged into one */
/* Hallmark · dismissed F7 · Ivan's rule: big blocks are rounded cards inside the 1180 column, never full-width bands */
/* Hallmark · waive 24b · small controls and pills use 6/10/14/18/22 px · the reference's optical rhythm inside controls, the section scale stays on 8 */

/* Токены: все цвета и шрифты только здесь */
:root {
  --blue: #1b78f9;
  --blue-deep: #1463d8;
  --blue-soft: #e6f0fe;
  --sky: #45b6ff;
  --orange: #ff7a1a;
  --green: #79c043;
  --orange-deep: #f06a0a;
  --ink: #1a1a1a;
  --muted: #626262;
  --line: #e2e7f0;
  --soft: #f3f5f9;
  --paper: #ffffff;
  --on-color: #ffffff;
  --wave: rgba(255, 255, 255, 0.12);
  --shadow: rgba(26, 26, 26, 0.14);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-12: rgba(255, 255, 255, 0.12);
  --white-86: rgba(255, 255, 255, 0.86);
  --ink-25: rgba(26, 26, 26, 0.25);
  --ink-50: rgba(26, 26, 26, 0.5);
  --ink-08: rgba(26, 26, 26, 0.08);
  --blue-14: rgba(27, 120, 249, 0.14);
  --blue-45: rgba(27, 120, 249, 0.45);
  --port: #a4a4a4;
  --white-25: rgba(255, 255, 255, 0.25);
  --white-40: rgba(255, 255, 255, 0.4);
  --mask: #000;
  --display: 'Onest', system-ui, sans-serif;
  --body: 'Onest', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--on-color); z-index: 10; }
.skip:focus-visible { top: 12px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; font: 500 15px/1 var(--body); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform 300ms var(--ease), background-color 300ms var(--ease), color 300ms var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:disabled, .round:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-hot { background: var(--orange); color: var(--ink); }
.btn-hot:hover { background: var(--orange-deep); }
.btn-sky { background: var(--sky); color: var(--ink); }
.btn-line { color: var(--on-color); box-shadow: inset 0 0 0 1px var(--white-70); } /* taste-skill-ignore: floating cards and cut-out figures are the reference look */
.btn-line:hover { background: var(--white-12); }
/* Второстепенная кнопка на светлом фоне: белая «таблетка» с синим текстом, без тёмной рамки */
.btn-line-ink { color: var(--blue); background: var(--paper); box-shadow: 0 1px 2px var(--ink-08), inset 0 0 0 1px var(--line); } /* taste-skill-ignore: lift of a pill on the grey card */
.btn-line-ink:hover { color: var(--blue-deep); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue-soft); } /* taste-skill-ignore: pill hover */
.btn-ink { background: var(--ink); color: var(--on-color); }
.btn-blue { background: var(--blue); color: var(--on-color); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-white { background: var(--paper); color: var(--blue); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.more { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
.more:hover { color: var(--blue); }

/* Шапка */
.top { display: flex; align-items: center; gap: 32px; padding: 22px 0; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 14px/1.15 var(--body); letter-spacing: -0.01em; color: var(--blue); }
.brand .brand-logo { width: auto; height: 36px; }
.menu { display: flex; gap: 26px; margin-right: auto; }
.menu a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); transition: color 200ms var(--ease); }
.menu a:hover { color: var(--ink); }
.top-act { display: flex; align-items: center; gap: 18px; }
.login { font-size: 14px; font-weight: 500; text-decoration: none; }
.login:hover { color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 300ms var(--ease); }
.burger[aria-expanded='true'] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded='true'] i:last-child { transform: translateY(-4px) rotate(-45deg); }
.phone-menu { display: none; }

/* Первый экран */
.hero { position: relative; padding-top: 64px; padding-bottom: 8px; }
.deck { position: relative; min-height: 500px; border-radius: var(--r-xl); background: var(--blue); color: var(--on-color); overflow: hidden; padding: 72px 56px 140px; }
.deck .waves { position: absolute; inset: auto 0 0 0; width: 100%; height: 60%; fill: var(--wave); pointer-events: none; }
.deck-text { position: relative; z-index: 1; max-width: 540px; }
.deck h1 { font-size: clamp(40px, 5vw, 66px); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; }
.deck p { margin-top: 24px; max-width: 420px; font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--white-86); }
.deck .acts { margin-top: 32px; }
.stage { position: relative; }
.captain { position: absolute; right: 4%; bottom: 0; width: min(37%, 420px); z-index: 2; pointer-events: none; filter: drop-shadow(0 18px 30px var(--ink-08)); } /* taste-skill-ignore: floating cards and cut-out figures are the reference look */
.tickets { position: relative; z-index: 3; display: flex; gap: 16px; margin: -96px 0 0 56px; max-width: 560px; }
.ticket { flex: 1; display: grid; gap: 6px; padding: 22px 22px 24px; border-radius: var(--r-lg); color: var(--on-color); text-decoration: none; box-shadow: 0 10px 30px var(--ink-08); transition: transform 300ms var(--ease); } /* taste-skill-ignore: floating cards and cut-out figures are the reference look */
.ticket:hover { transform: translateY(-4px); }
.ticket svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.ticket strong { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.ticket span { font-size: 14px; opacity: 0.9; }
.t-orange { background: var(--orange); color: var(--ink); }
.t-amber { background: var(--orange); color: var(--ink); }

/* Экипаж */
.crew { margin-top: 120px; padding: 56px; border-radius: var(--r-xl); background: var(--soft); }
.crew-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.crew-head h2 { font-size: clamp(30px, 3.4vw, 42px); max-width: 640px; }
.crew-nav { display: flex; align-items: center; gap: 10px; }
.round { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--blue); color: var(--on-color); cursor: pointer; display: grid; place-items: center; transition: transform 300ms var(--ease), background-color 300ms var(--ease); }
.round:hover { background: var(--blue-deep); transform: translateY(-2px); }
.round svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cards { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.card { position: relative; flex: 1 1 0; min-width: 0; display: flex; border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.card[data-open] { flex: 2.6 1 0; }
.card-btn { position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.card[data-open] .card-btn { flex: 0 0 46%; cursor: default; }
.card-btn img { width: 100%; height: 380px; object-fit: cover; transition: transform 600ms var(--ease); }
.card:not([data-open]) .card-btn:hover { transform: translateY(-4px); }
.card-btn { transition: transform 300ms var(--ease); }
.card .name { position: absolute; left: 16px; right: 16px; bottom: 16px; font: 500 19px/1.15 var(--display); letter-spacing: -0.02em; color: var(--on-color); text-shadow: 0 2px 12px var(--ink-50); } /* taste-skill-ignore: floating cards and cut-out figures are the reference look */
.card[data-open] .name { display: none; }
.tag { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--ink); }
.tag.t-blue { color: var(--on-color); }
.t-blue { background: var(--blue); }
.t-green { background: var(--green); color: var(--ink); }
.t-sky { background: var(--sky); color: var(--ink); }
.card-text { display: none; flex: 1 1 0; min-width: 0; padding: 28px 24px; flex-direction: column; gap: 14px; }
.card[data-open] .card-text { display: flex; animation: rise-in 500ms var(--ease) both; }
.card-text h3 { font-size: 23px; }
.card-text p { color: var(--muted); font-size: 15px; }
.card-text a { margin-top: auto; font-weight: 500; font-size: 14px; color: var(--blue); text-decoration: none; }
.card-text a:hover { text-decoration: underline; }

/* Настоящий экран */
.view { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; }
.view-text h2 { font-size: clamp(32px, 3.6vw, 46px); }
.view-text p { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 340px; }
.shot { margin: 0; }
.shot img { border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), 0 24px 60px var(--ink-08); }
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Три шага */
.steps { margin-top: 120px; }
.steps-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 56px; border-radius: var(--r-xl); background: var(--paper); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.steps-text { position: relative; }
.steps-text h2 { font-size: clamp(32px, 3.6vw, 46px); margin-top: 20px; max-width: 440px; }
.steps-text ol { margin: 28px 0 32px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; max-width: 460px; }
.steps-text li { counter-increment: s; position: relative; min-height: 40px; padding: 8px 0 0 56px; color: var(--muted); }
.steps-text li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; color: var(--blue); background: var(--blue-soft); }
.steps-text li strong { color: var(--ink); font-weight: 600; }
.badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--on-color); box-shadow: 0 8px 20px var(--ink-08); }
.badge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.b-green { background: var(--green); }
.b-sky { background: var(--sky); }
.b-orange { background: var(--orange); }
.b-blue { background: var(--blue); }
.steps-art { position: relative; height: 460px; align-self: stretch; margin-bottom: -56px; }
.blob { position: absolute; border-radius: 50%; }
.c-blue { width: 62%; aspect-ratio: 1; left: 6%; top: 10%; background: var(--blue); border-radius: 46% 54% 40% 60%; }
.c-orange { width: 48%; aspect-ratio: 1; right: 0; top: 26%; background: var(--orange); }
.c-sky { width: 30%; aspect-ratio: 1; left: 0; bottom: 4%; background: var(--sky); }
.c-green { width: 16%; aspect-ratio: 1; right: 10%; top: 6%; background: var(--green); }
.chief { position: absolute; left: 50%; bottom: -24px; width: min(74%, 400px); transform: translateX(-50%); z-index: 1; filter: drop-shadow(0 20px 36px var(--ink-25)); }
.steps-art .badge { position: absolute; z-index: 2; }
.s1 { left: 2%; top: 32%; }
.s2 { right: 4%; top: 60%; }
.s3 { right: 22%; top: 0; }

/* Тарифы */
.price { margin-top: 120px; }
.price h2 { font-size: clamp(32px, 3.6vw, 46px); max-width: 640px; }
.plans { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plans li { display: flex; flex-direction: column; gap: 8px; padding: 30px 28px; border-radius: var(--r-lg); background: var(--soft); }
.plans h3 { font-size: 20px; }
.plans .sum { margin-top: 12px; font: 500 46px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plans .per { font-size: 14px; color: var(--muted); }
.plans p:not(.sum):not(.per) { margin: 8px 0 18px; color: var(--muted); font-size: 15px; }
.plans .btn { margin-top: auto; align-self: flex-start; }
.plans .plan-main { background: var(--paper); box-shadow: 0 0 0 1.5px var(--blue), 0 20px 50px var(--blue-14); }

/* Блог */
.blog { margin-top: 120px; }
.blog h2 { font-size: clamp(32px, 3.6vw, 46px); }
.posts { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--soft); overflow: hidden; text-decoration: none; transition: transform 300ms var(--ease); }
.post:hover { transform: translateY(-4px); }
.post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.post-wide img { height: 100%; aspect-ratio: auto; }
.post-text { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.post-text strong { font: 500 18px/1.3 var(--display); letter-spacing: -0.02em; }
.post-text span { font-size: 14px; color: var(--muted); }
.post-text em { margin-top: auto; font-style: normal; font-weight: 500; font-size: 14px; color: var(--blue); }
.journal { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border-radius: var(--r-lg); background: var(--blue); color: var(--on-color); }
.journal h3 { font-size: 22px; }
.journal p { font-size: 15px; color: var(--white-86); }
.journal .btn { margin-top: auto; align-self: flex-start; }

/* Подключения */
.ports { margin-top: 96px; text-align: center; }
.ports-title { font: 400 16px/1.4 var(--body); color: var(--muted); }
.port-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.port-list li { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; color: var(--port); }

/* Финальный призыв */
.final { margin-top: 96px; }
.final-band { position: relative; overflow: hidden; padding: 64px 32px; border-radius: var(--r-xl); background: var(--blue); color: var(--on-color); text-align: center; display: grid; justify-items: center; gap: 14px; }
.final-band .waves { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; fill: var(--wave); }
.final-band h2, .final-band p, .final-band .btn { position: relative; }
.final-band h2 { font-size: clamp(30px, 3.4vw, 44px); max-width: 640px; }
.final-band p { color: var(--white-86); }
.final-band .btn { margin-top: 10px; }

/* Подвал */
.foot { margin-top: 72px; padding: 40px 0 48px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; } /* taste-skill-ignore: floating cards and cut-out figures are the reference look */
.foot-brand p { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 300px; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav a { font-size: 14px; text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
.credit { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* Появление при прокрутке: без скрипта всё видно сразу */
.js .rise { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .rise.on { opacity: 1; transform: none; }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, -12px); } }
.captain { animation: bob 7s ease-in-out infinite; }
.blob { animation: drift 12s ease-in-out infinite; }
.c-orange { animation-duration: 15s; animation-direction: reverse; }
.c-sky { animation-duration: 10s; }
.steps-art .badge { animation: bob 6s ease-in-out infinite; }
.s2 { animation-delay: -2s; }
.s3 { animation-delay: -4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .captain, .blob, .steps-art .badge { animation: none; }
  .js .rise { transform: none; transition: opacity 300ms linear; }
  .btn, .ticket, .post, .round, .card-btn img { transition: none; }
  .card[data-open] .card-text { animation: none; }
}

/* Планшет */
@media (max-width: 1020px) {
  .menu { display: none; }
  .burger { display: flex; }
  .login { display: none; }
  .phone-menu:not([hidden]) { display: grid; position: absolute; left: 0; right: 0; top: 100%; gap: 4px; padding: 12px; border-radius: var(--r-md); background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 24px 50px var(--shadow); }
  .phone-menu a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; animation: rise-in 400ms var(--ease) both; }
  .phone-menu a:hover { background: var(--soft); }
  .phone-menu a:nth-child(2) { animation-delay: 60ms; } .phone-menu a:nth-child(3) { animation-delay: 120ms; } .phone-menu a:nth-child(4) { animation-delay: 180ms; } .phone-menu a:nth-child(5) { animation-delay: 240ms; } .phone-menu a:nth-child(6) { animation-delay: 300ms; }
  .cards { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .card { flex: 0 0 220px; scroll-snap-align: start; }
  .card[data-open] { flex: 0 0 min(560px, 86%); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-wide { grid-column: 1 / -1; }
  .view { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Телефон */
@media (max-width: 720px) {
  .top { gap: 12px; padding: 14px 0; }
  .top-act { gap: 8px; }
  .top-act .btn-hot { padding: 0 14px; font-size: 13px; min-height: 40px; white-space: nowrap; }
  .brand { font-size: 12px; }
  .brand img { width: 30px; height: 30px; }
  .brand .brand-logo { width: auto; height: 30px; }
  .hero { padding-top: 24px; }
  .deck { padding: 40px 24px 300px; min-height: 0; }
  .deck h1 { font-size: 38px; }
  .deck p { font-size: 16px; }
  .captain { position: relative; right: auto; width: 78%; max-width: 330px; margin: -300px auto 0; animation: none; }
  .stage { display: flex; flex-direction: column; }
  .tickets { margin: 16px 0 0; flex-direction: column; max-width: none; }
  .steps-art { margin-bottom: -32px; }
  .crew, .steps-card { padding: 32px 20px; }
  .crew { margin-top: 72px; }
  .crew-head { flex-direction: column; align-items: flex-start; }
  .card[data-open] { flex-direction: column; flex: 0 0 86%; }
  .card[data-open] .card-btn { flex: none; }
  .card-btn img { height: 300px; }
  .view, .steps, .price, .blog { margin-top: 80px; }
  .steps-card { grid-template-columns: minmax(0, 1fr); }
  .steps-art { height: 340px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .post-wide { grid-template-columns: minmax(0, 1fr); }
  .post-wide img { aspect-ratio: 3 / 2; }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}

/* Отрасли */
.trades { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; align-items: start; }
.trades h2 { font-size: clamp(30px, 3.2vw, 40px); }
.trades > p { grid-column: 1; color: var(--muted); font-size: 16px; max-width: 420px; }
.trade-list { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trade-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.trade-list a:hover { background: var(--blue); color: var(--on-color); }

/* Вопросы */
.faq { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.faq h2 { font-size: clamp(32px, 3.6vw, 46px); }
.faq-list { display: grid; gap: 8px; }
.faq details { border-radius: var(--r-md); background: var(--soft); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 640px; }
.credit a { color: inherit; }
@media (max-width: 720px) {
  .trades, .faq { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 80px; }
  .trade-list { grid-column: 1; grid-row: auto; }
  .faq summary { padding: 18px 48px 18px 18px; font-size: 16px; }
  .faq details p { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after, .trade-list a { transition: none; } }

/* Плашка cookie из общего скрипта сайта (/variants/…/cookie.js) */
.cookie-bar { position: fixed; z-index: 20; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(640px, calc(100% - 32px)); display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); color: var(--ink); font-size: 13px; line-height: 1.45; box-shadow: 0 0 0 1px var(--line), 0 16px 40px var(--ink-08); }
.cookie-bar a { color: var(--blue); }
.cookie-bar button { flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--blue); color: var(--on-color); font: 500 14px/1 var(--body); cursor: pointer; }
.cookie-bar button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- Слой анимаций (motion.js): объекты и состояния, которые нужны GSAP ---------- */
/* Слова заголовков поднимаются из-под маски */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; will-change: transform; }
/* Полоса прокрутки сверху */
.scroll-bar { position: fixed; z-index: 30; left: 0; top: 0; width: 100%; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
/* Кольцо-компас за капитаном и плавающие кружки на палубе */
.compass { position: absolute; right: 6%; top: 50%; width: min(42%, 460px); aspect-ratio: 1; margin-top: calc(min(42%, 460px) / -2); fill: none; stroke: var(--white-25); stroke-width: 1.2; pointer-events: none; }
.compass .c-in { stroke-dasharray: 3 7; }
.compass .ticks { stroke: var(--white-40); stroke-width: 2; }
.compass .needle { fill: var(--white-25); stroke: none; }
.floaters { position: absolute; inset: 0; pointer-events: none; }
.floaters i { position: absolute; display: block; border-radius: 50%; }
.floaters .f1 { width: 18px; height: 18px; left: 46%; top: 16%; background: var(--orange); }
.floaters .f2 { width: 56px; height: 56px; left: 52%; top: 64%; border: 2px solid var(--white-40); }
.floaters .f3 { width: 10px; height: 10px; left: 38%; top: 72%; background: var(--paper); opacity: 0.7; }
.floaters .f4 { width: 26px; height: 26px; right: 6%; top: 12%; background: var(--sky); }
.floaters .f5 { width: 8px; height: 8px; left: 8%; top: 12%; background: var(--paper); opacity: 0.5; }
.floaters .f6 { width: 90px; height: 90px; right: 30%; bottom: -30px; border: 2px dashed var(--white-25); }
/* Пузыри в финальной полосе */
.final-band .bubbles { position: absolute; inset: 0; pointer-events: none; }
.final-band .bubbles i { position: absolute; display: block; border-radius: 50%; }
.final-band .bubbles i:nth-child(1) { width: 120px; height: 120px; left: 6%; top: 20%; background: var(--white-12); }
.final-band .bubbles i:nth-child(2) { width: 40px; height: 40px; right: 12%; top: 18%; background: var(--orange); }
.final-band .bubbles i:nth-child(3) { width: 70px; height: 70px; right: 22%; bottom: 14%; border: 2px solid var(--white-40); }
.final-band .bubbles i:nth-child(4) { width: 14px; height: 14px; left: 24%; bottom: 22%; background: var(--sky); }
/* Лента сервисов: исходный список остаётся для чтения экраном, на экране бежит его копия */
.port-list.is-marquee { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.marquee-track { margin-top: 24px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, var(--mask) 10%, var(--mask) 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, var(--mask) 10%, var(--mask) 90%, transparent); }
.marquee-track ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 48px; width: max-content; }
.marquee-track li { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; color: var(--port); white-space: nowrap; }
/* Карточки команды наклоняются в 3D */
.motion .cards { perspective: 1200px; }
.motion .card { transform-style: preserve-3d; }
/* GSAP сам двигает кнопки и карточки: CSS-переходы по transform им мешают */
.motion .btn, .motion .ticket, .motion .card-btn, .motion .post { transition: background-color 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease); }
.motion .btn:hover, .motion .ticket:hover, .motion .post:hover, .motion .card:not([data-open]) .card-btn:hover { transform: none; }
.motion .captain { animation: none; }
.motion .blob, .motion .steps-art .badge { animation: none; }
@media (max-width: 720px) { .compass { width: 70%; right: 15%; top: auto; bottom: 40px; margin-top: 0; } .floaters .f2, .floaters .f6 { display: none; } }
@media (prefers-reduced-motion: reduce) { .compass, .floaters, .final-band .bubbles { display: none; } }

/* ---------- Блоки, перенесённые из прошлой версии лендинга ---------- */
/* Было и стало: серая карточка «было», синяя «стало», оранжевая стрелка между ними */
.shift { margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.shift article { padding: 40px 44px 44px; border-radius: var(--r-xl); min-height: 100%; }
.shift h2 { font-size: clamp(30px, 3.4vw, 42px); }
.shift ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.shift li { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.shift li svg { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.shift-was { background: var(--soft); color: var(--muted); }
.shift-was h2 { color: var(--ink); }
.shift-was li svg { background: var(--paper); }
.shift-now { background: var(--blue); color: var(--on-color); }
.shift-now li svg { background: var(--orange); color: var(--ink); }
.shift-arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.shift-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Возможности: плитки с настоящими фрагментами экранов, снимок уходит за нижний правый край плитки */
.tools { margin-top: 120px; }
.tools-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.tools-head h2 { font-size: clamp(32px, 3.6vw, 46px); max-width: 620px; }
.tools-head p { color: var(--muted); font-size: 17px; max-width: 420px; }
.tiles { margin-top: 36px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { grid-column: span 5; display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--soft); overflow: hidden; }
.tile-wide { grid-column: span 7; }
.tile-text { padding: 36px 36px 0; display: grid; gap: 12px; }
.tile-text h3 { font-size: 24px; }
.tile-text p { color: var(--muted); font-size: 15px; max-width: 460px; }
.tile-shot { margin: 28px 0 0 36px; flex: 1; min-height: 0; }
.tile-shot img { width: 100%; height: 300px; object-fit: cover; object-position: left top; border-radius: var(--r-md) 0 0 0; box-shadow: 0 0 0 1px var(--line), 0 18px 40px var(--ink-08); } /* taste-skill-ignore: a real screen fragment lifted off the grey tile */

/* Функции и модули: слева заголовок, справа пять функций, под каждой её модули и сервисы */
.mods { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.mods-head { position: sticky; top: 32px; display: grid; gap: 20px; justify-items: start; }
.mods-head h2 { font-size: clamp(32px, 3.6vw, 46px); }
.mods-head p { color: var(--muted); font-size: 17px; max-width: 340px; }
.mod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mod { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding: 32px; border-radius: var(--r-lg); background: var(--soft); }
.mod .badge { grid-row: span 3; }
.mod-main h3 { font-size: 23px; }
.mod-main p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.mod-parts { grid-column: 2; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.mod-parts dt { font-weight: 600; font-size: 15px; }
.mod-parts dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.mod-svc { grid-column: 2; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--blue); }

/* ИИ-агенты: синяя карточка, снимок помощника выходит за правый край, шесть агентов списком */
.agents { margin-top: 120px; }
.agents-card { padding: 56px; border-radius: var(--r-xl); background: var(--blue); color: var(--on-color); overflow: hidden; }
.agents-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.agents-text h2 { font-size: clamp(32px, 3.6vw, 46px); }
.agents-text p { margin-top: 18px; max-width: 380px; font-size: 17px; color: var(--white-86); }
.agents-shot { margin: 0 -56px 0 0; }
.agents-shot img { border-radius: var(--r-lg) 0 0 var(--r-lg); box-shadow: 0 24px 60px var(--ink-25); } /* taste-skill-ignore: a real screen fragment lifted off the blue card */
.agent-list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 48px; }
.agent-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.agent-list h3 { font-size: 20px; }
.agent-list p { font-size: 15px; color: var(--white-86); }
.agent-list span { margin-top: auto; padding: 4px 12px; border-radius: 999px; background: var(--white-12); font-size: 13px; font-weight: 500; }

/* Подбор персонала: серая карточка, снимок раздела уходит за правый край */
.recruit { margin-top: 120px; }
.recruit-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 56px; border-radius: var(--r-xl); background: var(--soft); overflow: hidden; }
.recruit-text h2 { font-size: clamp(32px, 3.6vw, 46px); }
.recruit-text > p { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 420px; }
.recruit-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.recruit-list h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.recruit-list p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.recruit-shot { margin: 0 -56px 0 0; }
.recruit-shot img { border-radius: var(--r-lg) 0 0 var(--r-lg); box-shadow: 0 0 0 1px var(--line), 0 24px 60px var(--ink-08); } /* taste-skill-ignore: a real screen fragment lifted off the grey card */
.recruit-shot figcaption { margin-top: 12px; padding-right: 56px; font-size: 13px; color: var(--muted); }

/* Для кого: четыре роли, ровно по сетке соседних «Отраслей» */
.roles { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; align-items: start; }
.roles h2 { font-size: clamp(30px, 3.2vw, 40px); }
.role-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.role-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
.role-list .badge { grid-row: span 2; }
.role-list h3 { font-size: 20px; align-self: end; }
.role-list p { color: var(--muted); font-size: 15px; }
.roles + .trades { margin-top: 72px; }

@media (max-width: 1020px) {
  .tools-head, .mods, .agents-top, .recruit-card, .roles { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile-wide { grid-column: span 6; }
  .mods-head { position: static; }
  .agent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agents-shot, .recruit-shot { margin-right: -56px; }
}
@media (max-width: 720px) {
  .shift { margin-top: 72px; grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .shift article { padding: 28px 24px 32px; }
  .shift-arrow { justify-self: center; transform: rotate(90deg); width: 48px; height: 48px; margin: -4px 0; }
  .tools, .mods, .agents, .recruit, .roles { margin-top: 80px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile-wide { grid-column: auto; }
  .tile-text { padding: 28px 24px 0; }
  .tile-text h3 { font-size: 21px; }
  .tile-shot { margin: 24px 0 0 24px; }
  /* На телефоне фрагмент экрана крупнее: показываем его левый верхний угол, остальное обрезает плитка */
  .tile-shot img { width: 180%; max-width: none; height: 260px; }
  .agents-shot img { width: 170%; max-width: none; }
  .recruit-shot img { width: 130%; max-width: none; }
  .mod { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; row-gap: 14px; }
  .mod .badge { grid-row: auto; }
  .mod-parts, .mod-svc { grid-column: 1; }
  .mod-parts { grid-template-columns: minmax(0, 1fr); margin-top: 4px; }
  .mod-svc { margin-top: 0; }
  .mod-main h3 { font-size: 21px; }
  .agents-card, .recruit-card { padding: 32px 20px; }
  .agents-shot, .recruit-shot { margin-right: -20px; }
  .recruit-shot figcaption { padding-right: 20px; }
  .agent-list { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 32px; }
  .role-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .roles + .trades { margin-top: 56px; }
}

/* Слова с дефисом не рвём по строкам (бизнес-процессами) */
.nowrap { white-space: nowrap; }

/* ---------- Что получает собственник ---------- */
/* Слева три выгоды, справа серая «рамка» с настоящим экраном, который уходит за её правый и нижний край */
.owner { margin-top: 120px; }
.owner-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.owner-head h2 { font-size: clamp(32px, 3.6vw, 46px); max-width: 620px; }
.owner-head p { color: var(--muted); font-size: 17px; max-width: 420px; }
.owner-body { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.owner-list { display: grid; }
.owner-list > .more { justify-self: start; margin-top: 28px; color: var(--blue-deep); }
.owner-list > .more:hover { color: var(--ink); }
.gain { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding: 32px 0 40px; }
.gain:first-child { padding-top: 8px; }
.gain .badge { grid-row: span 2; transition: background-color 400ms var(--ease), color 400ms var(--ease), transform 400ms var(--ease); }
.gain h3 { font-size: 24px; align-self: center; }
.gain ul { grid-column: 2; list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.gain li { color: var(--muted); font-size: 16px; max-width: 520px; }
.gain li strong { color: var(--ink); font-weight: 600; }
.gain-shot { position: relative; margin: 0; aspect-ratio: 11 / 10; border-radius: var(--r-xl); background: var(--soft); overflow: hidden; }
.gain-shot img { position: absolute; box-shadow: 0 0 0 1px var(--line), 0 18px 40px var(--ink-08); } /* taste-skill-ignore: a real screen fragment lifted off the grey frame */
.gs-report img, .gs-calls img { left: 40px; top: 40px; width: 150%; max-width: none; border-radius: var(--r-md) 0 0 0; }
.gs-calls img { width: 180%; }
.gs-signals .gs-main { left: 40px; top: 40px; width: 56%; border-radius: var(--r-md); }
.gs-signals .gs-sub { right: 28px; bottom: 36px; width: 66%; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line), 0 24px 50px var(--ink-25); } /* taste-skill-ignore: a real screen fragment lifted off the grey frame */
.owner-stage { display: grid; gap: 16px; }
.owner-cap { font-size: 13px; color: var(--muted); }
/* Со скриптом на ПК: снимки лежат в одной ячейке и сменяют друг друга, рамка «прилипает» при прокрутке */
@media (min-width: 1021px) {
  .js .owner-stage { position: sticky; top: 40px; grid-template-rows: auto auto; }
  .js .gain-shot { grid-area: 1 / 1; opacity: 0; transform: translateY(18px) scale(0.98); clip-path: inset(6% 0 0 0 round var(--r-xl)); transition: opacity 600ms var(--ease), transform 700ms var(--ease), clip-path 700ms var(--ease); }
  .js .gain-shot.is-on { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--r-xl)); }
  .js .owner-cap { grid-area: 2 / 1; }
  .js .gain:not(.is-on) .badge { background: var(--blue-soft); color: var(--blue); box-shadow: none; } /* taste-skill-ignore: removes the badge shadow, adds none */
}

/* ---------- Как это выглядит в вашем бизнесе ---------- */
.cases { margin-top: 120px; }
.cases-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.cases-head h2 { font-size: clamp(32px, 3.6vw, 46px); max-width: 620px; }
.cases-head p { color: var(--muted); font-size: 17px; max-width: 420px; }
.cases-bar { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.case-tabs::-webkit-scrollbar { display: none; }
.case-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.case-tabs a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.case-tabs a[aria-current='true'] { background: var(--blue-deep); color: var(--on-color); }
.cases-nav { display: flex; gap: 10px; flex: none; }
.case-track { margin-top: 20px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--r-xl); }
.case-track::-webkit-scrollbar { display: none; }
.case { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 40px 56px 40px 40px; border-radius: var(--r-xl); background: var(--soft); scroll-margin-top: 24px; }
.case-pic { position: relative; margin: 0 24px 0 0; }
.case-photo { width: 100%; aspect-ratio: 3 / 4; max-height: 540px; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-lg); }
.case-shot { position: absolute; right: -40px; bottom: 32px; width: 62%; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line), 0 24px 50px var(--ink-25); transition: opacity 600ms var(--ease), transform 700ms var(--ease); } /* taste-skill-ignore: a real screen fragment lifted off the photo */
.case-shot-tall { width: 46%; bottom: 24px; }
.case-day h3 { font-size: clamp(28px, 2.8vw, 36px); }
.moments { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; position: relative; }
.moments li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.moments p { font-size: 16px; max-width: 520px; }
.when { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.case-uses { margin-top: 28px; display: grid; gap: 10px; }
.case-uses h4 { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; }
.case-link { display: inline-block; margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--blue-deep); text-decoration: none; }
.case-link::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.case-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.cases-note { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 760px; }
/* Со скриптом снимок экрана «подъезжает» к фото, когда карточка встаёт на место */
.js .case:not(.is-on) .case-shot { opacity: 0; transform: translate(24px, 16px); }
::selection { background: var(--blue-soft); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .case-track { scroll-behavior: auto; }
  .js .gain-shot, .case-shot, .gain .badge, .case-tabs a { transition: none !important; }
  .js .case:not(.is-on) .case-shot { opacity: 1; transform: none; }
}
@media (max-width: 1020px) {
  .owner-head, .owner-body, .cases-head { grid-template-columns: minmax(0, 1fr); }
  .owner-body { gap: 32px; }
  /* На планшете и телефоне снимки идут сразу под заголовком, до текста выгод */
  .owner-stage { order: -1; }
  /* Снимки выгод — лентой под пальцем */
  .owner-stage { grid-auto-flow: column; grid-auto-columns: min(420px, 82%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .owner-stage::-webkit-scrollbar { display: none; }
  .gain-shot { scroll-snap-align: start; }
  .owner-cap { grid-row: 2; grid-column: 1 / span 3; }
  .case { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px; padding: 32px; }
  .case-shot { right: -24px; }
}
@media (max-width: 720px) {
  .owner, .cases { margin-top: 80px; }
  .gain { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 28px 0; }
  .gain .badge { width: 40px; height: 40px; }
  .gain h3 { font-size: 22px; }
  .gain ul { grid-column: 1 / -1; }
  .gs-report img, .gs-calls img { left: 24px; top: 24px; width: 190%; }
  .gs-calls img { width: 230%; }
  .gs-signals .gs-main { left: 24px; top: 24px; width: 60%; }
  .gs-signals .gs-sub { right: 16px; bottom: 20px; width: 78%; }
  .cases-bar { margin-top: 24px; }
  .cases-nav { display: none; }
  .case-tabs { margin-right: -16px; padding-right: 16px; }
  .case-track { margin-right: -16px; padding-right: 16px; gap: 12px; scroll-padding-left: 0; border-radius: 0; }
  .case { flex-basis: 88%; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 16px 16px 24px; align-items: start; align-content: start; border-radius: var(--r-lg); }
  .case-pic { margin: 0; }
  .case-photo { aspect-ratio: 4 / 3.4; max-height: none; object-position: 50% 18%; border-radius: var(--r-md); }
  .case-shot { right: 12px; bottom: 12px; width: 52%; }
  .case-shot-tall { width: 38%; }
  .case-day { padding: 0 4px; }
  .case-day h3 { font-size: 26px; }
  .moments { margin-top: 18px; gap: 14px; }
  .moments li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .moments p { font-size: 15px; }
  .chips li { font-size: 13px; padding: 5px 12px; }
}
/* Узкий ПК: меню плотнее, чтобы шапка не выходила за колонку */
@media (min-width: 1021px) and (max-width: 1180px) { .top { gap: 22px; } .menu { gap: 18px; } .top-act { gap: 14px; } }

/* ---------- Данные из локальных программ (17.11.2026) ---------- */
/* Серая карточка как у «Подбора»: сверху маршрут из трёх кружков (программа → файл → Мостик), под ним три способа и предложение команды */
.local { margin-top: 120px; }
.local-card { padding: 56px; border-radius: var(--r-xl); background: var(--soft); }
.local-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.local-head h2 { font-size: clamp(32px, 3.6vw, 46px); max-width: 620px; }
.local-head p { color: var(--muted); font-size: 17px; max-width: 420px; }
.route { position: relative; list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.route-step { position: relative; z-index: 1; display: grid; justify-items: start; align-content: start; gap: 8px; }
.route-step h3 { margin-top: 16px; font-size: 21px; }
.route-step p { color: var(--muted); font-size: 15px; max-width: 300px; }
.route-dot { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; color: var(--blue); background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 12px 28px var(--ink-08); } /* taste-skill-ignore: a route stop lifted off the grey card */
.route-dot svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.route-end .route-dot { color: var(--on-color); background: var(--blue); box-shadow: 0 12px 28px var(--blue-14); }
/* Линия маршрута идёт через центры кружков: от первого до последнего */
.route-line { position: absolute; z-index: 0; top: 43px; left: 44px; right: calc((100% - 64px) / 3 - 44px); height: 0; border-top: 2px dashed var(--blue-45); transform-origin: 0 50%; }
.packet { display: none; position: absolute; left: 0; top: -1px; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-14); }
.motion .packet { display: block; }
.ways { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ways li { padding-top: 24px; border-top: 1px solid var(--ink-08); }
.ways h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.ways p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.local-ask { margin-top: 40px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; border-radius: var(--r-lg); background: var(--blue-soft); }
.local-ask h3 { font-size: 21px; }
.local-ask p { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 640px; }
.local-ask .btn { flex: none; }

/* ---------- Защита данных (17.11.2026) ---------- */
/* Как «Функции и модули»: слева заголовок со знаком-щитом прилипает, справа шесть фактов в две колонки, разделены линиями */
.safe { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.safe-head { position: sticky; top: 32px; display: grid; gap: 20px; justify-items: start; }
.safe-head h2 { font-size: clamp(32px, 3.6vw, 46px); }
.safe-head p { color: var(--muted); font-size: 17px; max-width: 340px; }
.safe-head .more { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.safe-head .more:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
.safe-mark { width: 76px; height: auto; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sm-shield { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 4; }
.sm-check { stroke: var(--blue); stroke-width: 7; }
.safe-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.safe-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; align-content: start; padding: 28px 0 32px; border-top: 1px solid var(--line); }
.safe-list svg { grid-row: span 2; width: 26px; height: 26px; margin-top: 1px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.safe-list h3 { font-size: 20px; }
.safe-list p { margin-top: 8px; color: var(--muted); font-size: 15px; }

@media (max-width: 1020px) {
  .local-head, .safe { grid-template-columns: minmax(0, 1fr); }
  .safe-head { position: static; }
  .ways { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ways li { padding: 20px 0; }
  .local-ask { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .local, .safe { margin-top: 80px; }
  .local-card { padding: 32px 20px; }
  .local-head h2, .safe-head h2 { font-size: 32px; }
  /* На телефоне маршрут вертикальный: кружок слева, текст справа, линия идёт вниз через центры кружков */
  .route { margin-top: 36px; grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .route-step { grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; }
  .route-dot { grid-row: span 2; width: 64px; height: 64px; }
  .route-dot svg { width: 26px; height: 26px; }
  .route-step h3 { margin-top: 6px; font-size: 19px; }
  .route-line { top: 32px; bottom: 48px; left: 31px; right: auto; width: 0; height: auto; border-top: 0; border-left: 2px dashed var(--blue-45); transform-origin: 50% 0; }
  .packet { left: -1px; top: 0; }
  .ways { margin-top: 36px; }
  .local-ask { margin-top: 24px; padding: 24px 20px; }
  .local-ask h3 { font-size: 19px; }
  .safe { gap: 32px; }
  .safe-mark { width: 60px; }
  .safe-list { grid-template-columns: minmax(0, 1fr); }
  .safe-list li { padding: 22px 0 24px; }
  .safe-list h3 { font-size: 18px; }
}
