/* Головна сторінка. Перенесено з design/prev/ (variants.css + final.css), 12.11.2026. */
/* Justera: 5 варіантів кожного блоку. Кольори й шрифт з макета Figma. Синій лише на кнопках і в логотипі. */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #101010; --panel: #181818; --panel-2: #1E1E1E; --line: #292A2C; --stone: #43454A;
  --text: #FCFCFC; --muted: #A7AAB9; --muted-2: #8C8F9B;
  --accent: #2E5DF3; --accent-hover: #4A73F5;
  --paper: #FCFCFC; --fill: #F1F1F3; --fill-line: #DEDEDF; --ink: #121314; --ink-muted: #43454A; --ink-soft: #8C8F9B;
  --r-sheet: 32px; --r-card: 20px; --r-inner: 12px; --r-btn: 8px;
  --ease: cubic-bezier(0.2, 1, 0.68, 1);
  --max: 1200px; --gutter: 16px; --hh: 72px;
  --pad: clamp(56px, 7vw, 104px);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (max-width: 767px) { :root { --r-sheet: 24px; --r-card: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
svg { display: block; flex: none; }
:focus-visible { outline: 2px solid var(--muted-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 12px 16px; border-radius: var(--r-btn); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.center { text-align: center; }
.muted { color: var(--muted-2); }
.dim { color: var(--muted); }

/* Типографіка */
.h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.02; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--muted); max-width: 36em; }
.small { font-size: 14px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--muted-2); }
.num { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; color: var(--muted-2); }

/* Кнопки: синій лише тут */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--r-btn); font-size: 16px; font-weight: 700; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .2s ease-in-out, color .2s ease-in-out; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--dark { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(252,252,252,.07); }
.btn--dark:hover { background: var(--line); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #E6E7EA; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2A2C30; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; opacity: .9; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btns--center { justify-content: center; }
@media (max-width: 559px) { .btns > .btn { flex: 1 1 100%; } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-btn); cursor: pointer; background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(252,252,252,.07); }
.icon-btn:hover { background: var(--line); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Блоки ---------- */
.blk { position: relative; }
.blk[data-theme="light"], .blk[data-theme="fill"] { color: var(--ink); border-radius: var(--r-sheet); }
.blk[data-theme="light"] { background: var(--paper); }
.blk[data-theme="fill"] { background: var(--fill); }
.blk[data-theme="light"] .muted, .blk[data-theme="fill"] .muted, .blk[data-theme="light"] .eyebrow, .blk[data-theme="fill"] .eyebrow, .blk[data-theme="light"] .num, .blk[data-theme="fill"] .num { color: var(--ink-soft); }
.blk[data-theme="light"] .lead, .blk[data-theme="fill"] .lead, .blk[data-theme="light"] .dim, .blk[data-theme="fill"] .dim { color: var(--ink-muted); }
.blk + .blk[data-theme="light"], .blk + .blk[data-theme="fill"] { margin-top: 0; }
.sec { padding-top: var(--pad); padding-bottom: var(--pad); }
.sec--tight-top { padding-top: clamp(24px, 3vw, 40px); }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head__aside { max-width: 26em; }
.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Шапка ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color .3s ease, box-shadow .3s ease; }
.hdr.is-scrolled:not(.hdr--4) { background: rgba(16,16,16,.84); box-shadow: 0 1px 0 rgba(252,252,252,.06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hdr__row { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; color: var(--text); border-radius: 6px; }
.logo svg { width: 128px; height: auto; aspect-ratio: 163 / 48; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); }
.hdr__act { display: flex; align-items: center; gap: 8px; }
.hdr__cta, .hdr__phone { display: none; }
.hdr__phone { font-size: 14px; font-weight: 700; color: var(--muted); }
.hdr__phone:hover { color: var(--text); }
.hdr__top { display: none; }
.capsule { background: rgba(24,24,24,.82); box-shadow: inset 0 0 0 1px rgba(252,252,252,.07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 12px; padding: 4px; }
.capsule a:hover { background: var(--paper); color: var(--ink); }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .hdr__cta, .hdr__phone { display: inline-flex; }
  .hdr__burger { display: none; }
  .logo svg { width: 140px; }
  .hdr--1 .nav { position: absolute; left: 50%; transform: translateX(-50%); }
  .hdr--2 .nav { display: none; }
  .hdr--2 .hdr__burger { display: inline-flex; }
  .hdr--3 .hdr__row { display: grid; grid-template-columns: 1fr auto 1fr; }
  .hdr--3 .hdr__act { justify-content: flex-end; }
  .hdr--3 .nav { margin-left: -12px; }
  .hdr--5 .hdr__top { display: block; border-bottom: 1px solid rgba(252,252,252,.06); }
  .hdr--5 .hdr__top .wrap { height: 36px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted-2); }
  .hdr--5 .hdr__top a:hover { color: var(--text); }
  .hdr--5 .hdr__top span + span::before { content: "·"; margin: 0 10px; }
  .hdr--5 .nav { margin-left: auto; margin-right: 16px; }
}
.hdr--3 .logo { justify-self: center; }
@media (max-width: 1023px) { .hdr--3 .nav { display: none; } }
.hdr--4 { top: 12px; }
.hdr--4 .hdr__row { height: 60px; max-width: 1040px; margin: 0 auto; padding: 0 8px 0 16px; }
.hdr--4 .wrap { padding: 0 12px; }
.hdr--4 .logo svg { width: 116px; }
.btn-menu { min-height: 44px; padding: 0 16px; }

.menu { position: fixed; inset: 0; z-index: 55; padding: calc(var(--hh) + 24px) var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu__nav { max-width: var(--max); width: 100%; margin: 0 auto; display: flex; flex-direction: column; }
.menu__nav a { padding: 14px 0; font-size: clamp(24px, 4vw, 40px); font-weight: 500; border-bottom: 1px solid var(--line); }
.menu__foot { max-width: var(--max); width: 100%; margin: 0 auto; display: grid; gap: 14px; }
body.menu-open { overflow: hidden; }

/* ---------- Основний екран ---------- */
.hero { padding-top: calc(var(--hh) + 24px); }
.hero__min { min-height: min(88svh, 860px); display: flex; flex-direction: column; justify-content: center; padding-bottom: 64px; }
.hero .h1 { max-width: 18ch; }
.hero .center .h1, .hero .h1.center { margin-left: auto; margin-right: auto; }
.hero .lead { margin-top: 20px; }
.hero .center .lead { margin-left: auto; margin-right: auto; }
.hero .btns { margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--muted-2); }
.hero__eyebrow { margin-bottom: 20px; }

.pillars { position: relative; margin: 48px auto 0; width: min(520px, 78vw); height: clamp(200px, 26vw, 320px); overflow: hidden; }
.pillars svg { width: 100%; height: auto; }
.pillars::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, var(--bg)); }

.hero3 { display: grid; gap: 32px; align-items: end; }
.facts { display: grid; margin-top: 32px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.facts li b { color: var(--text); font-weight: 600; }
@media (min-width: 1024px) { .hero3 { grid-template-columns: 7fr 5fr; gap: 64px; } .hero3 .h1 { font-size: clamp(44px, 5.2vw, 76px); } }

.entries { display: grid; margin-top: 56px; border-top: 1px solid var(--line); text-align: left; }
.entries a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; transition: color .2s; }
.entries a span { color: var(--muted-2); font-size: 14px; font-weight: 500; }
.entries a:hover { color: var(--muted); }
@media (min-width: 768px) { .entries { grid-template-columns: repeat(3, 1fr); border-top: 0; } .entries a { flex-direction: column; align-items: flex-start; border: 0; border-left: 1px solid var(--line); padding: 4px 24px; } .entries a:first-child { border-left: 0; padding-left: 0; } }

.panel { background: var(--panel); border-radius: calc(var(--r-sheet) + 4px); box-shadow: inset 0 0 0 1px rgba(252,252,252,.05); padding: clamp(24px, 4vw, 56px); display: grid; gap: 32px; }
.contacts-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; transition: color .2s; }
.contacts-list a:hover { color: var(--muted); }
.contacts-list a span { color: var(--muted-2); font-weight: 500; font-size: 14px; }
.contacts-list li:first-child a { border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .panel--hero { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; } }

/* ---------- Практики ---------- */
.acc { border-top: 1px solid var(--fill-line); }
.acc details { border-bottom: 1px solid var(--fill-line); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 24px 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .h3 { font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; }
.acc summary .dim { grid-column: 2; font-size: 15px; display: none; }
.acc .plus { width: 40px; height: 40px; border-radius: var(--r-btn); background: var(--fill); display: grid; place-items: center; transition: transform .5s var(--ease); }
.acc details[open] .plus { transform: rotate(45deg); }
.acc__body { padding: 0 0 28px; display: grid; gap: 20px; }
@media (min-width: 768px) { .acc summary .dim { display: block; } .acc__body { padding-left: calc(24px + 2ch); } }

.prices a, .prices > li > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--fill-line); font-weight: 600; font-size: 15px; line-height: 1.35; }
.prices a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.prices em { font-style: normal; font-weight: 500; font-size: 13px; color: var(--ink-muted); white-space: nowrap; flex: none; }
.prices a span { min-width: 0; }
.prices--2 { display: grid; column-gap: 32px; }
@media (min-width: 768px) { .prices--2 { grid-template-columns: 1fr 1fr; } }
.prices--dots a span { flex: 0 1 auto; }
.prices--dots a::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted #C5C8CF; transform: translateY(-4px); min-width: 12px; }
.prices--dots a em { order: 2; }
.prices--dots a { border-bottom: 0; padding: 9px 0; }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--fill); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 10px 16px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--ink-muted); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(18,19,20,.08); }
.blk[data-theme="dark"] .tabs { background: var(--panel); }
.blk[data-theme="dark"] .tabs button { color: var(--muted); }
.blk[data-theme="dark"] .tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.tabpanel { margin-top: 28px; display: grid; gap: 24px; }
@media (min-width: 1024px) { .tabpanel--split { grid-template-columns: 5fr 7fr; gap: 56px; } }

.cols3 { display: grid; gap: 40px; }
@media (min-width: 900px) { .cols3 { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.idx h3 { padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.idx p { margin: 14px 0 6px; font-size: 15px; }
.idx ul a { display: block; padding: 10px 0; border-bottom: 1px solid var(--fill-line); font-size: 15px; font-weight: 600; }
.idx ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.idx .link { margin-top: 16px; }

.feature { display: grid; gap: 24px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-card); background: var(--ink); color: var(--paper); }
.feature .lead { color: var(--muted); }
.feature .num { color: var(--muted-2); }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr auto; align-items: end; } }
.tiles { display: grid; gap: 8px; margin-top: 8px; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r-card); background: var(--fill); transition: background-color .2s; min-height: 150px; }
.tile:hover { background: #E8E9EC; }
.tile .h3 { margin-top: auto; }
.tile__row { display: flex; justify-content: space-between; align-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--center { justify-content: center; }
.chip { border: 0; cursor: pointer; padding: 10px 16px; border-radius: 999px; background: var(--fill); color: var(--ink-muted); font-size: 15px; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.blk[data-theme="dark"] .chip { background: var(--panel); color: var(--muted); box-shadow: inset 0 0 0 1px rgba(252,252,252,.06); }
.blk[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.chip--lg { padding: 14px 22px; font-size: 17px; }
.pricegroup + .pricegroup { margin-top: 32px; }
.pricegroup h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 6px; }
.fineprint { margin-top: 24px; font-size: 13px; color: var(--ink-muted); max-width: 60em; }

/* ---------- Чому ми ---------- */
.split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .split { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; } .split__sticky { position: sticky; top: calc(var(--hh) + 24px); } }
.rows > li { display: grid; grid-template-columns: 3ch 1fr; gap: 6px 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows > li p { grid-column: 2; color: var(--muted); }
.blk[data-theme="light"] .rows > li, .blk[data-theme="fill"] .rows > li { border-color: var(--fill-line); }
.blk[data-theme="light"] .rows > li p, .blk[data-theme="fill"] .rows > li p { color: var(--ink-muted); }
@media (min-width: 768px) { .rows--wide > li { grid-template-columns: 3ch 2fr 3fr; } .rows--wide > li p { grid-column: auto; } }

.grid3 { display: grid; gap: 32px 32px; }
@media (min-width: 640px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.plain { padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.plain p { color: var(--muted); font-size: 15px; }
.blk[data-theme="light"] .plain, .blk[data-theme="fill"] .plain { border-color: var(--ink); }
.blk[data-theme="light"] .plain p, .blk[data-theme="fill"] .plain p { color: var(--ink-muted); }

.card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--panel); box-shadow: inset 0 0 0 1px rgba(252,252,252,.04); display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--muted); }
.card--tall { min-height: 280px; justify-content: flex-end; }
.blk[data-theme="light"] .card, .blk[data-theme="fill"] .card { background: var(--paper); box-shadow: none; }
.blk[data-theme="light"] .card { background: var(--fill); }
.blk[data-theme="light"] .card p, .blk[data-theme="fill"] .card p { color: var(--ink-muted); }
.card--ink { background: var(--ink) !important; color: var(--paper); }
.card--ink p { color: var(--muted) !important; }

.statement { font-size: clamp(26px, 3.4vw, 48px); line-height: 1.15; font-weight: 500; letter-spacing: -0.015em; max-width: 22ch; margin: 0 auto; text-align: center; text-wrap: balance; }
.statement .muted { color: var(--muted-2); }
.five { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 640px) { .five { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .five { grid-template-columns: repeat(5, 1fr); text-align: center; } }
.five h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.five p { font-size: 14px; color: var(--muted); }

.scroller { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { flex: 0 0 min(340px, 84%); scroll-snap-align: start; }
.scroller-nav { display: flex; gap: 8px; }

/* ---------- Індустрії ---------- */
.ind-rows > li { display: grid; gap: 4px 24px; padding: 22px 0; border-top: 1px solid var(--fill-line); }
.ind-rows > li:last-child { border-bottom: 1px solid var(--fill-line); }
.ind-rows .tagline { font-size: 14px; color: var(--ink-soft); }
@media (min-width: 900px) { .ind-rows > li { grid-template-columns: 4fr 4fr 4fr; align-items: baseline; } }
.ind-detail { margin: 32px auto 0; max-width: 640px; text-align: center; display: grid; gap: 12px; min-height: 120px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 5px 10px; border-radius: 6px; background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.blk[data-theme="light"] .tags li { background: var(--fill); }
.tags--center { justify-content: center; }
.mini-list > li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--fill-line); }
.mini-list > li p { grid-column: 2; font-size: 15px; color: var(--ink-muted); }
.mini-list svg { color: var(--ink-muted); margin-top: 2px; }
.vtabs { display: grid; gap: 24px; }
.vtabs__list { display: grid; gap: 2px; }
.vtabs__list button { text-align: left; border: 0; background: none; cursor: pointer; padding: 14px 16px; border-radius: 10px; font-size: 17px; font-weight: 600; color: var(--ink-muted); }
.vtabs__list button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.vtabs__panel { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--paper); display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) { .vtabs { grid-template-columns: 4fr 8fr; } }

/* ---------- Аналітика ---------- */
.art-rows > li a { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--fill-line); transition: color .2s; }
.art-rows > li:last-child a { border-bottom: 1px solid var(--fill-line); }
.art-rows h3 { font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; line-height: 1.3; }
.art-rows a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.art-rows .eyebrow { grid-column: 1; }
@media (min-width: 900px) { .art-rows > li a { grid-template-columns: 220px 1fr auto; } .art-rows .eyebrow { grid-column: auto; } }
.tag { display: inline-flex; width: max-content; padding: 5px 10px; border-radius: 6px; background: var(--fill); color: var(--ink-muted); font-size: 13px; font-weight: 700; }
.blk[data-theme="fill"] .tag { background: var(--paper); }
.acard { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-card); background: var(--fill); transition: background-color .2s; }
.blk[data-theme="fill"] .acard { background: var(--paper); }
.acard:hover { background: #E8E9EC; }
.acard h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
.acard--big { min-height: 320px; justify-content: flex-end; }
.acard--big h3 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.12; font-weight: 500; }
.grid-feat { display: grid; gap: 8px; }
@media (min-width: 900px) { .grid-feat { grid-template-columns: 7fr 5fr; gap: 48px; } }
.grid22 { display: grid; gap: 8px; }
@media (min-width: 768px) { .grid22 { grid-template-columns: 1fr 1fr; } .grid22 .acard--big { grid-column: 1 / -1; min-height: 240px; } }
.cover { height: 170px; border-radius: 12px; background: var(--panel); display: flex; align-items: flex-end; padding: 16px; overflow: hidden; }
.cover span { font-size: 34px; line-height: 1; font-weight: 500; color: var(--stone); letter-spacing: -0.02em; }
.cover--light { background: #DCDDE1; }
.cover--light span { color: #A0A3AC; }
.mag { display: grid; gap: 32px; }
@media (min-width: 768px) { .mag { grid-template-columns: repeat(3, 1fr); } }
.mag a { display: grid; gap: 10px; align-content: start; padding-top: 16px; border-top: 1px solid var(--ink); }
.mag .big-n { font-size: 56px; line-height: 1; font-weight: 500; color: #C5C8CF; letter-spacing: -0.03em; }
.mag a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.mag h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }

/* ---------- Як ми працюємо ---------- */
.steps4 { display: grid; gap: 28px; counter-reset: s; }
@media (min-width: 640px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps4 { grid-template-columns: repeat(4, 1fr); } }
.steps4 li { padding-top: 18px; border-top: 1px solid var(--stone); display: grid; gap: 10px; align-content: start; }
.steps4 p { color: var(--muted); font-size: 15px; }
.timeline { position: relative; display: grid; gap: 32px; padding-left: 36px; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--stone); }
.timeline li { position: relative; display: grid; gap: 8px; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--muted); }
.timeline p { color: var(--muted); }
.list22 { display: grid; gap: 0 48px; }
@media (min-width: 900px) { .list22 { grid-template-columns: 1fr 1fr; } }
.list22 li { display: grid; grid-template-columns: 3ch 1fr; gap: 4px 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.list22 li p { grid-column: 2; color: var(--muted); font-size: 15px; }
.steptabs { display: grid; gap: 24px; }
.steptabs__btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.steptabs__btns button { border: 0; cursor: pointer; text-align: left; padding: 14px 12px; border-radius: 10px; background: var(--panel); color: var(--muted); font-weight: 600; font-size: 14px; box-shadow: inset 0 0 0 1px rgba(252,252,252,.05); }
.steptabs__btns button b { display: block; font-size: 13px; color: var(--muted-2); }
.steptabs__btns button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.steptabs__panel { display: grid; gap: 12px; max-width: 640px; min-height: 96px; }
.steptabs__panel p { color: var(--muted); font-size: 18px; }
.band { display: grid; border-radius: var(--r-card); background: var(--panel); box-shadow: inset 0 0 0 1px rgba(252,252,252,.05); }
.band li { padding: 24px; display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--line); }
.band li:first-child { border-top: 0; }
.band p { color: var(--muted); font-size: 15px; }
@media (min-width: 1024px) { .band { grid-template-columns: repeat(4, 1fr); } .band li { border-top: 0; border-left: 1px solid var(--line); padding: 32px 28px; } .band li:first-child { border-left: 0; } }

/* ---------- Розкажіть про ситуацію ---------- */
.cta-copy { display: grid; gap: 20px; }
.urgent { padding: 14px 18px; border-radius: var(--r-inner); background: var(--panel); color: var(--muted); font-size: 15px; max-width: 36em; }
.urgent b { color: var(--text); }
.center .urgent { margin: 0 auto; }
.big-rows a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2.4vw, 32px); font-weight: 500; transition: color .2s; }
.big-rows li:first-child a { border-top: 1px solid var(--line); }
.big-rows a:hover { color: var(--muted); }
.big-rows a span { font-size: 14px; color: var(--muted-2); font-weight: 600; }
.text-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; }
.text-links a { border-bottom: 1px solid var(--stone); padding-bottom: 2px; }
.text-links a:hover { border-color: var(--text); }
.center .text-links { justify-content: center; }

.form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-card); background: var(--paper); color: var(--ink); text-align: left; }
.form[hidden] { display: none; }
.form__title { font-size: 22px; font-weight: 600; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 700; padding: 0; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid var(--fill-line); border-radius: var(--r-btn); background: var(--fill); font-size: 16px; color: var(--ink); }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field [aria-invalid="true"] { border-color: #C62828; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
@media (min-width: 560px) { .seg { grid-template-columns: repeat(4, 1fr); } }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: var(--r-btn); background: var(--fill); font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--muted-2); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-muted); }
.check span { min-width: 0; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); text-decoration: underline; }
.check.is-error { color: #C62828; }
.status { font-size: 14px; font-weight: 600; }
.status.is-ok { padding: 12px 14px; border-radius: var(--r-btn); background: var(--fill); }
.inline-form { display: grid; gap: 8px; padding: 8px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px rgba(252,252,252,.06); max-width: 860px; margin: 0 auto; }
.inline-form input { min-height: 52px; padding: 0 16px; border: 0; border-radius: var(--r-btn); background: var(--panel-2); color: var(--text); font-size: 16px; width: 100%; }
.inline-form input::placeholder { color: var(--muted-2); }
.inline-form input:focus { outline: 2px solid var(--muted-2); outline-offset: 0; }
.inline-form .status { grid-column: 1 / -1; color: var(--muted); padding: 0 8px; }
.inline-form .status.is-ok { background: var(--panel-2); color: var(--text); }
.inline-form .check { grid-column: 1 / -1; color: var(--muted-2); padding: 0 8px 4px; }
.inline-form .check a { color: var(--muted); }
@media (min-width: 768px) { .inline-form { grid-template-columns: 1fr 1fr auto; } }

/* ---------- Підвал ---------- */
.foot { padding: 56px 0 calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: var(--pad); }
.foot__row { display: grid; gap: 28px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--muted); }
.foot__links a:hover { color: var(--text); }
.foot__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted-2); }
@media (min-width: 900px) { .foot__row { grid-template-columns: auto 1fr; align-items: center; } .foot__links { justify-content: flex-end; } .foot { padding-bottom: 40px; } }

/* ---------- Перемикач варіантів ---------- */
.vs { position: absolute; top: 12px; right: 12px; z-index: 5; display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(18,19,20,.88); color: #fff; box-shadow: 0 6px 20px -8px rgba(0,0,0,.5), inset 0 0 0 1px rgba(252,252,252,.1); font-size: 12px; font-weight: 700; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.blk--hero .vs { top: calc(var(--hh) + 8px); }
.vs__name { padding: 0 8px; color: #C5C8CF; white-space: nowrap; }
.vs button { border: 0; background: none; color: #C5C8CF; cursor: pointer; min-width: 30px; height: 30px; border-radius: 7px; font-weight: 700; }
.vs button:hover { background: rgba(252,252,252,.1); color: #fff; }
.vs button[aria-pressed="true"] { background: #fff; color: var(--ink); }
body.no-vs .vs { display: none; }
@media (max-width: 767px) { .vs__name { display: none; } .vs { top: 8px; right: 8px; } }

.vpanel { position: fixed; left: 12px; bottom: 12px; z-index: 70; width: min(360px, calc(100vw - 24px)); max-height: calc(100svh - 24px); display: flex; flex-direction: column; border-radius: 16px; background: rgba(18,19,20,.94); color: var(--text); box-shadow: 0 20px 50px -16px rgba(0,0,0,.7), inset 0 0 0 1px rgba(252,252,252,.1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: 13px; }
.vpanel__toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; border: 0; background: none; cursor: pointer; padding: 12px 14px; font-weight: 700; font-size: 14px; color: inherit; }
.vpanel__body { overflow-y: auto; padding: 0 14px 14px; display: grid; gap: 12px; }
.vpanel[data-open="false"] .vpanel__body { display: none; }
.vpanel h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: 6px; }
.vrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 4px 0; }
.vrow span { color: #C5C8CF; }
.vbtns { display: flex; gap: 2px; }
.vbtns button { border: 0; cursor: pointer; width: 30px; height: 28px; border-radius: 7px; background: rgba(252,252,252,.06); color: #C5C8CF; font-weight: 700; }
.vbtns button:hover { background: rgba(252,252,252,.14); }
.vbtns button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.vpanel__presets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.vpanel__presets button { border: 0; cursor: pointer; padding: 8px 0; border-radius: 8px; background: rgba(252,252,252,.08); color: #fff; font-weight: 700; }
.vpanel__presets button:hover { background: rgba(252,252,252,.16); }
.vpanel__presets button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.vpanel__tools { display: flex; flex-wrap: wrap; gap: 6px; }
.vpanel__tools button, .vpanel__tools label { border: 0; cursor: pointer; padding: 7px 10px; border-radius: 8px; background: rgba(252,252,252,.06); color: #C5C8CF; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.vpanel__desc { color: var(--muted-2); line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}
/* Фінальна сторінка Justera. База: variants.css (кольори, шрифт, кнопки, шапка).
   Ритм фонів: темний, світлий, темний, світлий, темний, світлий, темний. Кожен блок розрахований на один екран. */

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tbd { text-decoration: underline dashed; text-underline-offset: 3px; }

/* ---------- Каркас блоку ---------- */
.scr { --sp: clamp(36px, 7svh, 88px); padding: var(--sp) 0; position: relative; }
.scr--light, .scr--fill { color: var(--ink); border-radius: var(--r-sheet); }
.scr--light { background: var(--paper); }
.scr--fill { background: var(--fill); }
.scr--light .muted, .scr--fill .muted { color: var(--ink-soft); }
.scr .h2 { font-size: clamp(28px, min(3.4vw, 5.6svh), 50px); }
main > section + section { margin-top: 8px; }

.shead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(20px, 3.5svh, 40px); }
.shead .h2 { max-width: 15em; }
.shead--stack { flex-direction: column; align-items: flex-start; }
.shead__lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-muted); max-width: 40em; }
.shead__btn { flex: none; }

/* На телефоні ряди карток гортаються вбік */
@media (max-width: 899px) {
  .rail { display: flex !important; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ---------- 1. Основний екран ---------- */
.hero-v { position: relative; overflow: hidden; isolation: isolate; min-height: max(100svh, 560px); display: flex; align-items: center; }
.hero-v__media { position: absolute; inset: 0; z-index: -1; }
.hero-v__poster, .hero-v__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-v__video { opacity: 0; transition: opacity 1.2s ease; }
.hero-v__video.is-ready { opacity: 1; }
.hero-v__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 62% 58% at 50% 52%, rgba(16,16,16,.74), rgba(16,16,16,.38) 72%), linear-gradient(rgba(16,16,16,.35), rgba(16,16,16,.1) 40%, rgba(16,16,16,.2) 75%, var(--bg)); }
.hero-v__in { text-align: center; padding-top: var(--hh); padding-bottom: 24px; }
.hero-v .h1 { max-width: 18ch; margin: 0 auto; }
.hero-v .lead { margin: 20px auto 0; }
.hero-v .btns { margin-top: 32px; }

/* ---------- 2. Практики ---------- */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pcard2 { display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--fill); padding: 8px; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.pcard2:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(18,19,20,.35); }
.pcard2__img { display: block; width: 100%; aspect-ratio: 2 / 1; max-height: 21svh; height: auto; object-fit: cover; border-radius: 14px; background: #E9EAED; }
.pcard2__body { display: flex; flex-direction: column; flex: 1; padding: 18px 14px 12px; }
.pcard2 h3 { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.pcard2__desc { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--ink-muted); min-height: 3em; }
.pcard2__list { margin: 14px 0 18px; border-top: 1px solid var(--fill-line); }
.pcard2__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--fill-line); font-size: 15px; font-weight: 600; line-height: 1.3; }
.pcard2__list svg { color: var(--ink-soft); transition: transform .3s var(--ease), color .2s; }
.pcard2__list a:hover svg { color: var(--ink); transform: translate(2px, -2px); }
.pcard2__more { margin-top: auto; align-self: flex-start; }

/* ---------- 3. Чому ми ---------- */
.why2__grid { display: grid; gap: 32px 72px; align-items: center; }
.why2__intro { display: grid; gap: 18px; justify-items: start; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #8FA9FF; background: rgba(46,93,243,.12); box-shadow: inset 0 0 0 1px rgba(46,93,243,.35); }
.why2 .h2 { max-width: 12em; }
.why2 .lead { margin: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 8px 0 10px; width: 100%; max-width: 460px; }
.stats div { padding-top: 14px; border-top: 1px solid var(--line); }
.stats dt { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.stats dd { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.why2__cards { display: grid; gap: 10px; }
.why2__cards li { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 24px; border-radius: var(--r-card); background: var(--panel); box-shadow: inset 0 0 0 1px rgba(252,252,252,.07); }
.why2__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--panel-2); box-shadow: inset 0 0 0 1px rgba(252,252,252,.08); color: var(--text); }
.why2__cards h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.why2__cards p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--muted); }
/* Акцент на головній перевазі */
.why2__cards li.is-key { padding: 28px 24px; background: radial-gradient(120% 140% at 0% 0%, rgba(46,93,243,.28), rgba(46,93,243,.06) 55%, var(--panel) 100%); box-shadow: inset 0 0 0 1px rgba(46,93,243,.55), 0 24px 60px -30px rgba(46,93,243,.6); }
.why2__cards li.is-key .why2__ic { background: var(--accent); box-shadow: none; color: #fff; }
.why2__cards li.is-key h3 { font-size: 21px; }
.why2__cards li.is-key p { color: #D6D8DE; }
.why2__badge { display: inline-block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8FA9FF; }
@media (min-width: 900px) { .why2__grid { grid-template-columns: 5fr 7fr; } }

/* ---------- 4. Індустрії ---------- */
.icards2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.icard2 { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--paper); padding: 8px; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .3s; }
.icard2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, #3D6BFF 0%, #2E5DF3 45%, #1F43C4 100%); opacity: 0; transition: opacity .45s ease; }
.icard2__media { display: block; border-radius: 14px; overflow: hidden; background: #E9EAED; }
.icard2__media img { display: block; width: 100%; aspect-ratio: 2.4 / 1; max-height: 15svh; height: auto; object-fit: cover; transition: transform 1s var(--ease); }
.icard2__body { display: grid; gap: 4px; padding: 14px 12px 8px; }
.icard2__title { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; line-height: 1.25; }
.icard2__title svg { flex: none; color: var(--ink-soft); transition: transform .4s var(--ease), color .3s; }
.icard2__desc { font-size: 14px; line-height: 1.45; color: var(--ink-muted); transition: color .3s; }
.icard2:not(.icard2--ask):hover, .icard2:not(.icard2--ask):focus-visible { transform: translateY(-4px); color: #fff; box-shadow: 0 24px 48px -24px rgba(46,93,243,.6); }
.icard2:not(.icard2--ask):hover::before, .icard2:not(.icard2--ask):focus-visible::before { opacity: 1; }
.icard2:hover .icard2__desc, .icard2:focus-visible .icard2__desc { color: rgba(255,255,255,.88); }
.icard2:hover .icard2__title svg, .icard2:focus-visible .icard2__title svg { color: #fff; transform: translate(3px, -3px); }
.icard2:hover .icard2__media img { transform: scale(1.04); }
.icard2--ask { background: transparent; border: 1.5px dashed #C5C8CF; justify-content: center; align-items: flex-start; gap: 8px; padding: 22px; }
.icard2--ask h3 { font-size: 19px; font-weight: 600; line-height: 1.25; }
.icard2--ask p { font-size: 14px; color: var(--ink-muted); margin-bottom: 8px; }
.icard2__q { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--fill-line); margin-bottom: 6px; }

/* ---------- 5. Аналітика (темний блок) ---------- */
.scr--dark .link { color: var(--text); }
.news { display: grid; gap: 28px; }
.news__main { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.news__img { position: relative; flex: 1; min-height: 200px; border-radius: var(--r-card); overflow: hidden; background: #E9EAED; }
.news__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news__main:hover .news__img img { transform: scale(1.03); }
.news__main h3 { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; font-weight: 600; }
.news__main:hover h3, .news__list a:hover .news__t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13.5px; color: var(--muted-2); }
.byline__a { color: var(--text); font-weight: 600; }
.ptag { display: inline-flex; width: max-content; padding: 4px 10px; border-radius: 999px; background: var(--panel-2); box-shadow: inset 0 0 0 1px rgba(252,252,252,.08); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ptag--on { position: absolute; top: 14px; left: 14px; background: rgba(252,252,252,.92); box-shadow: none; color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.news__list { border-top: 1px solid var(--line); }
.news__list a { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; padding: clamp(10px, 1.8svh, 18px) 0; border-bottom: 1px solid var(--line); }
.news__list img { width: 112px; height: 80px; object-fit: cover; border-radius: 12px; background: #E9EAED; }
.news__txt { display: grid; gap: 8px; justify-items: start; }
.news__t { font-size: 16.5px; line-height: 1.35; font-weight: 600; }
@media (min-width: 900px) {
  .news { grid-template-columns: 5fr 7fr; gap: 48px; align-items: stretch; }
  .news__list img { width: 128px; height: 88px; }
  .news__list a { grid-template-columns: 128px 1fr; }
}

/* ---------- 6. Як ми працюємо і заявка ---------- */
.work__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(18px, 3svh, 32px); }
.work__title { font-size: clamp(24px, min(2.4vw, 4svh), 34px); line-height: 1.1; font-weight: 500; letter-spacing: -0.015em; }
.work__sub { font-size: 15px; color: var(--ink-muted); }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stepper li { position: relative; display: grid; gap: 6px; align-content: start; }
.stepper li::before { content: ""; position: absolute; top: 18px; left: 48px; right: -12px; height: 1px; background: var(--fill-line); }
.stepper li:last-child::before { display: none; }
.stepper__n { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 8px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper h3 { font-size: 17px; font-weight: 700; }
.stepper p { font-size: 14.5px; line-height: 1.5; color: var(--ink-muted); max-width: 22em; }

.work__contact { display: grid; gap: 28px; margin-top: clamp(24px, 5svh, 56px); padding-top: clamp(24px, 5svh, 56px); border-top: 1px solid var(--fill-line); align-items: center; }
.work__copy { display: grid; gap: 12px; justify-items: start; }
.work__lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-muted); }
.work__phone { margin-top: 8px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.01em; }
.work__phone:hover { color: var(--ink-muted); }
.work__ch { display: flex; gap: 8px; }
.work__ch a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--fill); color: var(--ink); transition: background-color .2s, color .2s; }
.work__ch a:hover { background: var(--ink); color: var(--paper); }
@media (min-width: 900px) { .work__contact { grid-template-columns: 5fr 7fr; gap: 72px; } }

/* Форма (світла) */
.qform { display: grid; gap: 12px; }
.qform__row { display: grid; gap: 12px; }
.qform input[name="name"], .qform input[name="contact"], .qform textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--fill-line); background: var(--fill); color: var(--ink); font-size: 16px; transition: border-color .2s, background-color .2s; }
.qform textarea { min-height: 64px; resize: vertical; }
.qform ::placeholder { color: var(--ink-soft); }
.qform input:focus, .qform textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.qform [aria-invalid="true"] { border-color: #C62828 !important; }
.qform__ch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 0; margin: 0; padding: 0; }
.qform__ch legend { float: left; margin-right: 6px; font-size: 14px; color: var(--ink-muted); }
.qform__ch label { position: relative; }
.qform__ch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.qform__ch span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--fill); font-size: 14px; font-weight: 600; color: var(--ink-muted); transition: background-color .2s, color .2s; }
.qform__ch input:checked + span { background: var(--accent); color: #fff; }
.qform__ch input:focus-visible + span { outline: 2px solid var(--muted-2); outline-offset: 2px; }
.qform__consent { font-size: 13.5px; }
.qform .check input { accent-color: var(--accent); }
.qform .status:empty { display: none; }
.qform .status.is-ok { padding: 12px 14px; border-radius: 10px; background: var(--fill); }
@media (min-width: 560px) { .qform__row { grid-template-columns: 1fr 1fr; } }

/* ---------- 7. Футер ---------- */
.foot2 { padding: clamp(40px, 6svh, 64px) 0 calc(96px + env(safe-area-inset-bottom)); color: var(--muted); }
.foot2__grid { display: grid; gap: 32px 24px; grid-template-columns: 1fr 1fr; }
.foot2__brand { grid-column: 1 / -1; display: grid; gap: 14px; max-width: 320px; }
.foot2__brand .logo svg { width: 148px; }
.foot2__brand p { font-size: 15px; line-height: 1.55; color: var(--muted-2); }
.foot2__soc { display: flex; gap: 4px; margin-left: -10px; }
.foot2__soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--muted); transition: color .2s, background-color .2s; }
.foot2__soc a:hover { color: var(--text); background: var(--panel-2); }
.foot2__col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot2__col h3 { font-size: 13px; font-weight: 600; color: var(--muted-2); margin-bottom: 4px; }
.foot2__col a { color: #D6D8DE; line-height: 1.35; transition: color .2s; }
.foot2__col a:hover { color: #fff; }
.foot2__bottom { margin-top: clamp(28px, 5svh, 48px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13.5px; color: var(--muted-2); }
.foot2__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot2__bottom a:hover { color: var(--text); }
@media (min-width: 900px) { .foot2__grid { grid-template-columns: 1.6fr repeat(5, 1fr); } .foot2__brand { grid-column: auto; } }
@media (min-width: 1024px) { .foot2 { padding-bottom: 40px; } }

/* Нижня панель зв'язку на телефоні */
.dock { position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 8px; padding: 8px; border-radius: 16px; background: rgba(18,19,20,.88); box-shadow: inset 0 0 0 1px rgba(252,252,252,.08), 0 16px 40px -12px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: translateY(140%); transition: transform .7s var(--ease); }
.dock.is-visible { transform: none; }
.dock .btn { flex: 1; min-height: 44px; }
@media (min-width: 1024px) { .dock { display: none; } }

/* ---------- Підгонка під один екран ---------- */
@media (min-width: 900px) and (max-height: 820px) {
  .pcard2__body { padding-top: 14px; }
  .pcard2__list { margin: 10px 0 14px; }
  .pcard2__list a { padding: 8px 0; }
  .shead { margin-bottom: 18px; }
  .why2__cards li { padding: 18px 20px; }
  .why2__cards li.is-key { padding: 22px 20px; }
  .stats { gap: 12px 24px; }
  .work__contact { margin-top: 20px; padding-top: 20px; }
  .qform { gap: 10px; }
  .qform input[name="name"], .qform input[name="contact"] { min-height: 46px; padding: 11px 14px; }
  .qform textarea { min-height: 52px; }
}
@media (max-width: 899px) {
  .scr { --sp: clamp(28px, 5svh, 48px); }
  .shead__btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .pcard2__desc { min-height: 0; }
  .pcard2__list { margin: 10px 0 14px; }
  .pcard2__list a { padding: 9px 0; font-size: 14.5px; }
  .pcard2__more { align-self: stretch; }
  .why2__cards { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
  .why2__cards::-webkit-scrollbar { display: none; }
  .why2__cards li { flex: 0 0 84%; scroll-snap-align: start; padding: 18px; }
  .why2__intro { gap: 14px; }
  .stats { gap: 12px 18px; margin: 0; }
  .stats dt { font-size: 22px; }
  .stats dd { font-size: 13px; }
  /* Аналітика: усі статті в стрічці карток */
  .news { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
  .news::-webkit-scrollbar { display: none; }
  .news__main, .news__list li { flex: 0 0 84%; scroll-snap-align: start; }
  .news__list { display: contents; }
  .news__img { flex: none; height: clamp(130px, 20svh, 180px); min-height: 0; }
  .news__list img { width: 100%; height: clamp(130px, 20svh, 180px); border-radius: var(--r-card); }
  .news__main h3, .news__t { font-size: 17px; }
  .news__list a { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0; border: 0; align-items: start; }
  .stepper { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
  .stepper::-webkit-scrollbar { display: none; }
  .stepper li { flex: 0 0 62%; scroll-snap-align: start; padding: 16px; border-radius: 16px; background: var(--fill); }
  .stepper li::before { display: none; }
  .stepper__n { width: 30px; height: 30px; font-size: 13px; margin-bottom: 4px; }
  .work__contact { gap: 18px; margin-top: 20px; padding-top: 20px; }
  .work__copy { gap: 8px; }
  .work__phone { margin-top: 2px; font-size: 22px; }
  .qform { gap: 10px; }
  .qform textarea { min-height: 52px; }
  .qform__ch span { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
  .foot2__grid { gap: 24px 16px; }
  .foot2__col { gap: 8px; font-size: 14px; }
}

/* Телефон: дотискання двох найвищих блоків */
@media (max-width: 899px) {
  .why2 .lead { font-size: 15.5px; }
  .stats div { padding-top: 10px; }
  .why2 .h2 { font-size: 28px; }
  .work__sub { display: none; }
  .work__head { margin-bottom: 14px; }
  .stepper li { padding: 14px; }
  .stepper p { font-size: 13.5px; }
  .work__contact .h2 { font-size: 26px; }
  .work__lead { font-size: 15px; }
  .qform__row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .qform input[name="name"], .qform input[name="contact"] { min-height: 48px; padding: 12px; font-size: 16px; }
  .qform__ch { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .qform__ch::-webkit-scrollbar { display: none; }
  .qform__ch legend { display: none; }
  .qform__ch label { flex: none; }
  .qform__consent { font-size: 12.5px; }
  .why2__grid { gap: 22px; }
  .why2__cards li, .why2__cards li.is-key { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .why2__ic { width: 40px; height: 40px; }
  .why2__cards li.is-key h3 { font-size: 19px; }
  .why2__cards p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) { .hero-v__video { display: none; } }

/* ---------- Правки 10.11 ---------- */
/* Практики: послуга під курсором заливається чорним */
.pcard2__list li { border-bottom: 1px solid var(--fill-line); }
.pcard2__list a { border-bottom: 0; margin: 2px -10px; padding: 9px 10px; border-radius: 10px; transition: background-color .25s ease, color .25s ease; }
.pcard2__list a:hover, .pcard2__list a:focus-visible { background: var(--ink); color: var(--paper); }
.pcard2__list a:hover svg, .pcard2__list a:focus-visible svg { color: var(--paper); }

/* Аналітика: при наведенні стільниця стає синьою */
.news__img-alt { opacity: 0; transition: opacity .6s ease, transform 1s var(--ease) !important; }
.news__main:hover .news__img-alt, .news__main:focus-visible .news__img-alt { opacity: 1; }

/* Індустрії: картка запиту без значка, усі картки однакової висоти */
.icards2 { grid-auto-rows: 1fr; }
.icard2__body { padding: 14px 12px 6px; }
.icard2--ask { padding: 24px; gap: 10px; }
.icard2--ask .btn { margin-top: 4px; }

/* Єдиний стиль заголовків */
.why2 .h2, .work .h2, #contact .h2 { font-size: clamp(28px, min(3.4vw, 5.6svh), 50px); }
.work__contact .h2 { max-width: 12em; }
@media (max-width: 899px) {
  .why2 .h2, .work .h2, #contact .h2 { font-size: 28px; }
  .icards2 { grid-auto-rows: auto; }
}
@media (max-width: 899px) {
  .work .shead { margin-bottom: 14px; }
  .work .shead .muted { display: none; }
  .work__contact { margin-top: 16px; padding-top: 16px; }
}

/* Індикатор гортання стрічок на телефоні */
.rail-dots { display: none; }
@media (max-width: 899px) {
  .rail-dots { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; }
  .rail-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #C5C8CF; cursor: pointer; transition: width .35s var(--ease), background-color .25s; position: relative; }
  .rail-dots button::after { content: ""; position: absolute; inset: -12px -6px; }
  .rail-dots button[aria-selected="true"] { width: 24px; background: var(--ink); }
}

/* Аналітика: мініатюри теж отримують акцентний колір при наведенні */
.thumb { position: relative; display: block; width: 112px; height: 80px; border-radius: 12px; overflow: hidden; background: #E9EAED; flex: none; }
.thumb img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
.thumb__alt { opacity: 0; transition: opacity .5s ease; }
.news__list a:hover .thumb__alt, .news__list a:focus-visible .thumb__alt { opacity: 1; }
@media (min-width: 900px) { .thumb { width: 128px; height: 88px; } }
@media (max-width: 899px) { .thumb { width: 100%; height: clamp(130px, 20svh, 180px); border-radius: var(--r-card); } }

/* Практики: при наведенні на картку головний предмет стає синім */
.pthumb { position: relative; display: block; border-radius: 14px; overflow: hidden; }
.pthumb__alt { position: absolute; inset: 0; height: 100% !important; max-height: none !important; opacity: 0; transition: opacity .5s ease; }
.pcard2:hover .pthumb__alt, .pcard2:focus-within .pthumb__alt { opacity: 1; }

/* ---------- Доповнення для робочого сайту (12.11.2026) ---------- */

/* Аналітика на головній: у розмітці всі статті, майбутні прибирає functions/_middleware.js.
   Видно першу з решти як головну і ще чотири наступні в списку. */
.news__main ~ .news__main { display: none; }
.news__list li:first-child, .news__list li:nth-child(n+6) { display: none; }

/* Перемикач мови UA | EN */
.lng { display: flex; align-items: center; gap: 2px; }
.lng a { padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--muted-2); transition: color .2s, background-color .2s; }
.lng a:hover { color: var(--text); }
.lng a[aria-current] { color: var(--text); background: rgba(252,252,252,.08); }
.lng--menu { justify-content: center; }
.lng--menu a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; font-size: 16px; }

/* Кнопка «Налаштування cookies» у підвалі виглядає як посилання */
.foot2__bottom button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.foot2__bottom button:hover { color: var(--text); }

/* Вікно про cookies */
.cookie { position: fixed; z-index: 70; left: 16px; bottom: 16px; max-width: 460px; padding: 18px 20px; border-radius: var(--r-card); background: rgba(24,24,24,.97); box-shadow: inset 0 0 0 1px rgba(252,252,252,.08), 0 30px 70px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .5s; }
.cookie.on { transform: none; opacity: 1; }
.cookie p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.cookie a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cookie-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.cookie .btn { min-height: 44px; padding: 0 18px; background: var(--paper); color: var(--ink); font-size: 14px; }
.cookie .btn:hover { background: #fff; }
.cookie-no { min-height: 44px; border: 0; background: none; color: var(--muted-2); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
.cookie-on .dock { opacity: 0; pointer-events: none; }
@media (max-width: 559px) { .lng--hdr { display: none; } }

/* Виправлення з /prev/: на телефоні блок вибору месенджера (fieldset) розпирав форму ширше за екран. */
.work__contact > *, .qform > *, .qform__ch { min-width: 0; }
.work__contact { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .work__contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---------- Телефон: «Чому Justera», «Аналітика», «Як ми працюємо» (13.11.2026). ПК без змін. ---------- */
.news__tag, .news__by { display: none; }
@media (max-width: 899px) {
  /* Кнопка «Більше про Justera» і «Усі матеріали» — у правому куті на рівні заголовка, однаковим посиланням */
  #why .why2__intro { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  #why .why2__intro > :not(h2):not(.btn) { grid-column: 1 / -1; }
  #why .why2__intro h2 { grid-row: 1; }
  #why .why2__intro .btn { grid-row: 1; grid-column: 2; align-self: start; justify-self: end; }
  #why .why2__intro .btn, #analytics .shead .link { min-height: 44px; padding: 0; gap: 6px; background: none; border: 0; border-radius: 0; color: var(--text); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; white-space: nowrap; }
  #why .why2__intro .btn svg, #analytics .shead .link svg { width: 16px; height: 16px; }
  .work .shead .proc-dot { display: none; }  /* продовження заголовка на телефоні сховане, тож і крапка */
  #analytics .shead { flex-wrap: nowrap; align-items: flex-start; gap: 16px; }
  #analytics .shead .h2 { min-width: 0; }
  #analytics .shead .link { flex: none; margin-top: 2px; }
  /* Картки переваг: значок в одному рядку із заголовком, без порожнього місця, однакова висота */
  #why .why2__cards { align-items: stretch; }
  #why .why2__cards li, #why .why2__cards li.is-key { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-content: start; padding: 16px; }
  #why .why2__cards li > div { display: contents; }
  #why .why2__cards h3 { align-self: center; font-size: 16.5px; }
  #why .why2__cards p { grid-column: 1 / -1; margin: 0; }
  #why .why2__ic { width: 36px; height: 36px; border-radius: 10px; }
  #why .why2__ic svg { width: 18px; height: 18px; }
  /* Аналітика: перша стаття як інші — тег над заголовком, без автора, дата і час читання */
  #analytics .news__img .ptag--on, #analytics .byline__a { display: none; }
  #analytics .news__tag { display: inline-flex; }
  #analytics .news__main { gap: 12px; }
  #analytics .news__main h3 { margin-top: -4px; }
  #analytics .news__by { display: flex; }
  #analytics .news__txt { gap: 8px; }
  /* Точки гортання на темному тлі */
  .why2 .rail-dots button { background: var(--stone); }
  .why2 .rail-dots button[aria-selected="true"] { background: var(--text); }
}
