/* imecs сайт v2 (19.11): «ElevenLabs feel, embroidery soul». Монохромний інтерфейс, колір — лише в нитках
   (кульки-котушки, стібки, демо). Легкі великі заголовки Inter Tight, тіло — Inter. Рух — лише transform/opacity. */

/* ---------- 1. токени ---------- */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
:root {
  --bg: #FFFFFF; --bg-soft: #FAFAF9; --surface: #F5F5F4; --surface-2: #EDEDEB;
  --ink: #0C0C0D; --ink-2: #2A2A2E; --muted: #66666B; --subtle: #9A9AA0;
  --line: rgba(12,12,13,.08); --line-2: rgba(12,12,13,.14); --on-ink: #FFFFFF;
  --focus: #5468FF; --ok: #1F7A4D; --ok-bg: #E7F4EC; --demo-bg: #FAFAFB;
  --t-crimson: #D7263D; --t-coral: #FF6B4A; --t-saffron: #F4B23E; --t-emerald: #12A26B; --t-teal: #10A5B5;
  --t-cobalt: #2F5BEA; --t-violet: #7B5CFA; --t-rose: #F07AA8; --t-navy: #1E2A4A; --t-linen: #EFE6D2;
  --r-xs: 6px; --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --sh-ring: 0 0 0 1px rgba(12,12,13,.07);
  --sh-1: 0 0 0 1px rgba(12,12,13,.06), 0 1px 2px rgba(12,12,13,.04);
  --sh-2: 0 0 0 1px rgba(12,12,13,.06), 0 2px 4px rgba(12,12,13,.04), 0 12px 28px -12px rgba(12,12,13,.14);
  --sh-3: 0 0 0 1px rgba(12,12,13,.06), 0 1px 1px rgba(12,12,13,.03), 0 16px 40px -16px rgba(12,12,13,.18), 0 48px 96px -48px rgba(12,12,13,.24);
  --gutter: clamp(16px, 4vw, 32px); --container: 1200px; --container-wide: 1280px;
  --section-y: clamp(80px, 10vw, 148px); --header-h: 64px;
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(40px, 1.3rem + 3.7vw, 74px); --fs-h2: clamp(32px, 1.3rem + 2.6vw, 54px);
  --fs-h3: clamp(23px, 1.1rem + .9vw, 30px); --fs-lead: clamp(17px, 1rem + .3vw, 20px); --fs-num: clamp(44px, 2rem + 3vw, 72px);
  --ease-out: cubic-bezier(.22,1,.36,1); --ease-io: cubic-bezier(.65,0,.35,1); --ease-std: cubic-bezier(.2,.8,.2,1);
  --card: var(--surface); --win-frame: #F2F2F1; --mute-h: #85858B;
  --ink-panel: #0C0C0D; --ink-panel-ring: 0 0 0 0 transparent; --band-bg: #0A0A0B; --band-ring: 0 0 0 0 transparent;
  --needle-bar: #141416; --bar-top: #0C0C0D; --hot-bg: #0C0C0D; --hot-fg: #FFFFFF; --hot-mute: #A1A1A8;
  --hot-btn-bg: #FFFFFF; --hot-btn-fg: #0A0A0B; --hot-btn-hover: #E9E9EB; --hot-em-bg: #12271B; --hot-em-fg: #7FD1A3;
  --hot-shadow: 0 30px 60px -30px rgba(12,12,13,.5);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0A0B; --bg-soft: #0F0F11; --surface: #161618; --surface-2: #1E1E21;
    --ink: #F4F4F5; --ink-2: #D9D9DC; --muted: #A1A1A8; --subtle: #6F6F76;
    --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16); --on-ink: #0A0A0B;
    --focus: #8A98FF; --ok: #7FD1A3; --ok-bg: #12271B;
    --sh-ring: 0 0 0 1px rgba(255,255,255,.08);
    --sh-1: 0 0 0 1px rgba(255,255,255,.07), 0 1px 2px rgba(0,0,0,.5);
    --sh-2: 0 0 0 1px rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.4), 0 12px 28px -12px rgba(0,0,0,.6);
    --sh-3: 0 0 0 1px rgba(255,255,255,.08), 0 16px 40px -16px rgba(0,0,0,.6), 0 48px 96px -48px rgba(0,0,0,.7);
    --win-frame: #1C1C1F; --mute-h: #7E7E86; color-scheme: dark;
    --ink-panel: #1C1C20; --ink-panel-ring: 0 0 0 1px rgba(255,255,255,.14); --band-bg: #111113; --band-ring: 0 0 0 1px rgba(255,255,255,.08);
    --needle-bar: #26262B; --bar-top: #F4F4F5; --hot-bg: #F4F4F5; --hot-fg: #0A0A0B; --hot-mute: #55555B;
    --hot-btn-bg: #0A0A0B; --hot-btn-fg: #FFFFFF; --hot-btn-hover: #2A2A2E; --hot-em-bg: #E7F4EC; --hot-em-fg: #1F7A4D;
    --hot-shadow: 0 0 0 1px rgba(255,255,255,.1);
  }
}
:root[data-theme="dark"] {
  --bg: #0A0A0B; --bg-soft: #0F0F11; --surface: #161618; --surface-2: #1E1E21;
  --ink: #F4F4F5; --ink-2: #D9D9DC; --muted: #A1A1A8; --subtle: #6F6F76;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16); --on-ink: #0A0A0B;
  --focus: #8A98FF; --ok: #7FD1A3; --ok-bg: #12271B;
  --sh-ring: 0 0 0 1px rgba(255,255,255,.08);
  --sh-1: 0 0 0 1px rgba(255,255,255,.07), 0 1px 2px rgba(0,0,0,.5);
  --sh-2: 0 0 0 1px rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.4), 0 12px 28px -12px rgba(0,0,0,.6);
  --sh-3: 0 0 0 1px rgba(255,255,255,.08), 0 16px 40px -16px rgba(0,0,0,.6), 0 48px 96px -48px rgba(0,0,0,.7);
  --win-frame: #1C1C1F; --mute-h: #7E7E86; color-scheme: dark;
  --ink-panel: #1C1C20; --ink-panel-ring: 0 0 0 1px rgba(255,255,255,.14); --band-bg: #111113; --band-ring: 0 0 0 1px rgba(255,255,255,.08);
  --needle-bar: #26262B; --bar-top: #F4F4F5; --hot-bg: #F4F4F5; --hot-fg: #0A0A0B; --hot-mute: #55555B;
  --hot-btn-bg: #0A0A0B; --hot-btn-fg: #FFFFFF; --hot-btn-hover: #2A2A2E; --hot-em-bg: #E7F4EC; --hot-em-fg: #1F7A4D;
  --hot-shadow: 0 0 0 1px rgba(255,255,255,.1);
}

/* ---------- 2. основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; text-rendering: optimizeLegibility; }
img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--focus) 22%, transparent); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.sec { padding: var(--section-y) 0 0; }
main > .sec:last-child { padding-bottom: clamp(64px, 8vw, 112px); }
.center { text-align: center; }
.h1, .h2, .h3, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; color: var(--ink); }
.h1 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.035em; }
.h2, h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.03em; }
.h3, h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.02em; }
.h-mute { color: var(--mute-h); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); text-wrap: pretty; letter-spacing: -.005em; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- 3. кнопки, чипи ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r-pill);
  font: 500 15px/1 var(--font-body); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  background: var(--ink); color: var(--on-ink); transition: background-color .18s var(--ease-std), transform .12s var(--ease-std), box-shadow .18s var(--ease-std); }
.btn:hover { background: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn.lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.secondary { background: var(--bg); color: var(--ink); box-shadow: var(--sh-ring), 0 1px 2px rgba(12,12,13,.05); }
.btn.secondary:hover { background: var(--surface); }
.btn.on-dark { background: #FFFFFF; color: #0A0A0B; }
.btn.on-dark:hover { background: #E9E9EB; }
.btn[disabled] { cursor: default; opacity: .9; }
.btn .arr { transition: transform .2s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.play-ic { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); position: relative; flex: none; }
.play-ic::after { content: ""; position: absolute; left: 7px; top: 5px; border-left: 6px solid var(--bg); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.link { font: 500 15px/1.4 var(--font-body); color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--bg); box-shadow: var(--sh-ring); font: 500 13px/1 var(--font-body); color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font: 500 13px/1 var(--font-body); white-space: nowrap; }
.tag { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.86); color: #3B3B40; font: 500 12px/1 var(--font-body); box-shadow: 0 0 0 1px rgba(12,12,13,.06); backdrop-filter: blur(8px); }
.soon { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; margin-left: 6px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); font: 500 11.5px/1 var(--font-body); vertical-align: middle; letter-spacing: .01em; }
.live { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: var(--r-pill); background: var(--ok-bg); color: var(--ok); font: 500 12px/1 var(--font-body); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 4. кульки-котушки (наша «орба») ---------- */
.orb { --c1: #FF8A7A; --c2: var(--t-crimson); --c3: #7A0F1E; display: inline-block; width: 40px; aspect-ratio: 1; border-radius: 50%; position: relative; isolation: isolate; flex: none;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.85) 0 5%, rgba(255,255,255,0) 26%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.14) 0 1px, rgba(0,0,0,.09) 1px 2.4px),
    radial-gradient(circle at 40% 38%, var(--c1), var(--c2) 58%, var(--c3) 100%);
  box-shadow: inset 0 -6px 12px rgba(0,0,0,.26), inset 0 3px 8px rgba(255,255,255,.32), 0 8px 18px -8px var(--c2); }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: soft-light;
  background: conic-gradient(from var(--spin), transparent 0 70%, rgba(255,255,255,.6) 80%, transparent 90%); }
/* блиск крутиться лише там, де на нього дивляться (анiмацiя custom property перемальовує кадр) */
.mach.in .needles .orb::after, .tile:hover .orb::after { animation: orb-spin 16s linear infinite; }
@keyframes orb-spin { to { --spin: 360deg; } }
.o-crimson { --c1: #FF8A7A; --c2: #D7263D; --c3: #7A0F1E; }
.o-cobalt { --c1: #7FA2FF; --c2: #2F5BEA; --c3: #102E8C; }
.o-saffron { --c1: #FFE08A; --c2: #F4B23E; --c3: #9A5B00; }
.o-emerald { --c1: #7BE0B4; --c2: #12A26B; --c3: #075A3A; }
.o-violet { --c1: #B9A8FF; --c2: #7B5CFA; --c3: #3B1E9E; }
.o-rose { --c1: #FFC2D9; --c2: #F07AA8; --c3: #A3285A; }
.o-teal { --c1: #7FE3EC; --c2: #10A5B5; --c3: #06545C; }
.o-coral { --c1: #FFB09E; --c2: #FF6B4A; --c3: #A8321A; }
.o-ink { --c1: #6B6F7E; --c2: #1E2A4A; --c3: #070A14; }
.orb.c { --c1: color-mix(in srgb, var(--c) 45%, #fff); --c2: var(--c); --c3: color-mix(in srgb, var(--c) 55%, #000); }

/* ---------- 5. шапка ---------- */
.top { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background-color .25s var(--ease-std), box-shadow .25s var(--ease-std); }
.top.is-scrolled, .menu-open .top { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
/* backdrop-filter робить шапку контейнером для position:fixed меню (воно стискалось до 52 px) -- у вiдкритому меню без нього */
.menu-open .top, .menu-open .top.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
.top-in { height: 100%; max-width: calc(var(--container-wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
/* Логотип «ımecs.» -- як у Студії (власник 20.11): над «ı» крапки нема, вона в кінці слова */
.logo { font: 800 25px/1 "Manrope", var(--font-display); letter-spacing: -.03em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; white-space: nowrap; }
.logo i { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: currentColor; margin-left: .05em; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav > a:not(.btn) { font: 500 14px/1 var(--font-body); color: var(--muted); text-decoration: none; padding: 9px 12px; border-radius: var(--r-pill); transition: color .15s, background-color .15s; }
.nav > a:not(.btn):hover { color: var(--ink); background: var(--surface); }
.nav > a[aria-current="page"] { color: var(--ink); }
.nav .nav-m { display: none; }
.top-act { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav + .top-act { margin-left: 0; }
.nav-login { font: 500 14px/1 var(--font-body); color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: var(--r-pill); }
.nav-login:hover { background: var(--surface); }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out); }
.menu-btn span:first-child { top: 15px; } .menu-btn span:last-child { top: 21px; }
.menu-open .menu-btn span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- 6. hero ---------- */
.hero { position: relative; padding: clamp(36px, 5vw, 72px) 0 0; isolation: isolate; }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.announce { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 4px; border-radius: var(--r-pill); background: var(--bg); box-shadow: var(--sh-ring), 0 1px 3px rgba(12,12,13,.05);
  font: 500 13.5px/1 var(--font-body); color: var(--ink); text-decoration: none; transition: box-shadow .2s var(--ease-std); }
.announce:hover { box-shadow: var(--sh-2); }
.announce-new { background: var(--ink); color: var(--on-ink); border-radius: var(--r-pill); padding: 7px 10px; font-size: 12px; }
.announce .arr { transition: transform .2s var(--ease-out); color: var(--muted); }
.announce:hover .arr { transform: translateX(3px); }
.hero .h1 { margin-top: 24px; max-width: 100%; }
.br-d { display: inline; }
.h-arr { display: inline-block; color: var(--subtle); font-weight: 300; transform: translateY(-.04em); }
.u { position: relative; display: inline-block; white-space: nowrap; }
.stitch-u { position: absolute; left: -2%; right: -2%; bottom: -.12em; width: 104%; height: .24em; overflow: visible; }
.stitch-u path { fill: none; stroke: var(--t-crimson); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 7; vector-effect: non-scaling-stroke; }
.js .stitch-u { clip-path: inset(0 100% 0 0); animation: sew 1.3s .5s var(--ease-io) forwards; }
@keyframes sew { to { clip-path: inset(0 0 0 0); } }
.hero-lead { margin-top: 20px; max-width: 44ch; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.micro { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 20px; font: 500 14px/1.3 var(--font-body); color: var(--muted); }
.micro li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.aura { position: absolute; inset: 0 0 -1px; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(#000 55%, transparent 98%); mask-image: linear-gradient(#000 55%, transparent 98%); }
.aura i { position: absolute; width: 46vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; filter: blur(80px); opacity: .22; will-change: transform; }
.aura i:nth-child(1) { background: radial-gradient(circle, var(--t-crimson), transparent 66%); left: 4%; top: 34%; animation: drift1 26s var(--ease-io) infinite alternate; }
.aura i:nth-child(2) { background: radial-gradient(circle, var(--t-cobalt), transparent 66%); right: 2%; top: 30%; animation: drift2 30s var(--ease-io) infinite alternate; }
.aura i:nth-child(3) { background: radial-gradient(circle, var(--t-saffron), transparent 66%); left: 32%; top: 58%; animation: drift3 22s var(--ease-io) infinite alternate; }
@keyframes drift1 { to { transform: translate(8vw, -4vw) rotate(40deg) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-7vw, 5vw) rotate(-30deg) scale(.92); } }
@keyframes drift3 { to { transform: translate(5vw, -6vw) scale(1.15); } }

/* ---------- 7. вікно продукту ---------- */
.win { margin-top: clamp(40px, 4.5vw, 60px); background: var(--win-frame); border-radius: var(--r-xl); padding: 8px; box-shadow: var(--sh-3); position: relative; }
.win-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 12px 0 10px; }
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.win-title { font: 500 13.5px/1 var(--font-body); color: var(--ink); }
.win-badge { margin-left: auto; font: 500 12px/1 var(--font-body); color: var(--muted); background: var(--bg); box-shadow: var(--sh-ring); height: 24px; padding: 0 10px; border-radius: var(--r-pill); display: inline-flex; align-items: center; }
.win-body { --wb: #FFFFFF; display: grid; grid-template-columns: 196px minmax(0, 1fr) 264px; height: clamp(420px, 42vw, 560px); background: var(--demo-bg); border-radius: 24px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(12,12,13,.06); color: #0C0C0D; }
.win-side, .win-steps { background: var(--wb); padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.win-side { border-right: 1px solid #ECECEE; }
.win-steps { border-left: 1px solid #ECECEE; padding: 22px 20px; }
.win-lbl { font: 500 12px/1 var(--font-body); color: #6B6B70; min-height: 12px; }
.win-pic { flex: none; aspect-ratio: 1; min-height: 0; border-radius: 16px; background: #F4F4F6 radial-gradient(rgba(18,20,23,.08) 1px, transparent 1.4px) 0 0/12px 12px; display: grid; place-items: center; padding: 14px; box-shadow: inset 0 0 0 1px #ECECEE; }
.win-pic img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.win-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.win-pics button { aspect-ratio: 1; border: 0; padding: 6px; border-radius: 12px; background: #F4F4F6; cursor: pointer; box-shadow: inset 0 0 0 1px #ECECEE; transition: box-shadow .2s, transform .2s var(--ease-std); }
.win-pics button:hover { transform: translateY(-1px); }
.win-pics button.on { box-shadow: inset 0 0 0 1.5px #0C0C0D; background: #fff; }
.win-pics img { width: 100%; height: 100%; object-fit: contain; }
.win-params { margin: auto 0 0; display: flex; flex-direction: column; border-top: 1px solid #ECECEE; }
.win-params div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid #ECECEE; font: 500 13px/1.2 var(--font-body); }
.win-params dt { color: #6B6B70; } .win-params dd { margin: 0; color: #0C0C0D; text-align: right; }
.win-stage { position: relative; min-width: 0; background: radial-gradient(ellipse at center, #FFFFFF 0%, #F3F4F7 100%); overflow: hidden; }
.win-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(18,20,23,.11) 1px, transparent 1.3px) 50% 50%/22px 22px; opacity: .8; }
.win-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .45s var(--ease-std); }
.win-stage canvas.fade { opacity: 0; }
.win-poster { position: absolute; left: 50%; top: 50%; width: auto; height: 62%; max-width: 70%; object-fit: contain; transform: translate(-50%, -50%); opacity: 0; transition: opacity .5s; filter: drop-shadow(0 2px 3px rgba(30,24,16,.25)); }
.win.static .win-poster, html:not(.js) .win-poster { opacity: 1; }
.win.static canvas { display: none; }
.steps { display: flex; flex-direction: column; gap: 4px; }
.steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; column-gap: 10px; row-gap: 7px; padding: 9px 0; color: #6B6B70; font: 500 14.5px/1.25 var(--font-body); transition: color .3s; }
.st-ic { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #DCDCE0; position: relative; transition: background-color .3s, box-shadow .3s; }
.st-bar { grid-column: 2; height: 2px; border-radius: 2px; background: #EDEDF0; overflow: hidden; display: none; }
.st-bar i { display: block; height: 100%; background: #5468FF; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.steps li.now { color: #0C0C0D; }
.steps li.now .st-bar { display: block; }
.steps li.now .st-ic { box-shadow: inset 0 0 0 1.5px #5468FF; }
.steps li.now .st-ic::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #5468FF; animation: pulse 1.2s var(--ease-io) infinite alternate; }
.steps li.done { color: #0C0C0D; }
.steps li.done .st-ic { background: #1F7A4D; box-shadow: none; }
.steps li.done .st-ic::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
@keyframes pulse { from { transform: scale(.7); opacity: .6; } to { transform: scale(1); opacity: 1; } }
.win-threads { display: flex; flex-wrap: wrap; gap: 7px; min-height: 22px; }
.win-threads .orb { width: 20px; opacity: 0; transform: scale(.4); transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), box-shadow .3s; box-shadow: inset 0 -3px 6px rgba(0,0,0,.25), inset 0 2px 4px rgba(255,255,255,.3); }
.win-threads .orb::after { display: none; }
.win-threads .orb.on { opacity: 1; transform: scale(1); }
.win-threads .orb.dim { opacity: .3; }
.win-threads .orb.act { transform: scale(1.18); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--c2), inset 0 -3px 6px rgba(0,0,0,.25); }
.win-result { margin-top: auto; display: flex; flex-direction: column; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s; }
.win.is-done .win-result, .win.static .win-result, html:not(.js) .win-result { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.win-result .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.win-result .chip { background: #F2F2F4; color: #0C0C0D; height: 26px; font-size: 12.5px; }
.win-result .chip:empty { display: none; }
.win-dl { width: 100%; background: #0C0C0D; color: #fff; }
.win-dl:hover { background: #2A2A2E; }
.win-mbar { display: none; }

/* ---------- 8. смуга форматів ---------- */
.marq { padding: clamp(56px, 7vw, 96px) 0 0; }
.marq-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marq-list { display: flex; gap: 56px; width: max-content; padding: 6px 0; }
.js .marq-list.go { animation: marq var(--marq-d, 40s) linear infinite; }
.marq:hover .marq-list { animation-play-state: paused; }
.marq-list li { font: 500 24px/1 var(--font-display); letter-spacing: -.02em; color: var(--mute-h); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.marq-list li:hover { color: var(--ink); }
.marq-list small { font: 600 10.5px/1 var(--font-body); letter-spacing: .04em; color: var(--muted); padding: 5px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- 9. офери ---------- */
.offers { padding-top: clamp(48px, 6vw, 80px); }
.offer-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.offer { grid-column: span 2; position: relative; background: var(--card); border-radius: var(--r-lg); padding: 24px 24px 24px; display: flex; flex-direction: column; gap: 8px; min-height: 200px; min-width: 0; transition: transform .24s var(--ease-std); }
.offer.big { grid-column: span 3; min-height: 250px; padding: 28px; }
.of-t { margin-top: auto; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.offer::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--sh-2); opacity: 0; transition: opacity .24s var(--ease-std); pointer-events: none; }
.offer b { font: 500 20px/1.2 var(--font-display); letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.offer.big b { font: 400 var(--fs-h3)/1.12 var(--font-display); letter-spacing: -.02em; }
.of-t span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.offer.big .orb-ic { width: 56px; height: 56px; }
.offer.big .orb-ic svg { width: 26px; height: 26px; }
.orb-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; position: relative; margin-bottom: 18px;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.7) 0 4%, rgba(255,255,255,0) 26%), radial-gradient(circle at 40% 38%, var(--c1), var(--c2) 58%, var(--c3) 100%);
  box-shadow: inset 0 -5px 10px rgba(0,0,0,.24), inset 0 3px 6px rgba(255,255,255,.3), 0 10px 22px -10px var(--c2); transition: transform .5s var(--ease-out); }
.orb-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
@media (hover: hover) and (pointer: fine) {
  .offer:hover { transform: translateY(-3px); }
  .offer:hover::before { opacity: 1; }
  .offer:hover .orb-ic { transform: scale(1.08) rotate(-6deg); }
}

/* ---------- 10. порівняння ---------- */
.cmp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.ba { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: radial-gradient(ellipse at center, #FFFFFF 0%, #F1F2F5 100%); box-shadow: inset 0 0 0 1px rgba(12,12,13,.05); --pos: 50%; touch-action: pan-y; }
.ba::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(18,20,23,.1) 1px, transparent 1.3px) 50% 50%/22px 22px; }
.ba img { position: absolute; left: 50%; top: 50%; height: 74%; width: auto; max-width: 80%; object-fit: contain; transform: translate(-50%, -50%); }
.ba-b { clip-path: inset(0 0 0 var(--pos)); filter: drop-shadow(0 2px 3px rgba(30,24,16,.28)); }
.ba-a { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(12,12,13,.08); z-index: 3; pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: var(--sh-2);
  background-image: linear-gradient(90deg, transparent 13px, #0C0C0D 13px 14.5px, transparent 14.5px 29.5px, #0C0C0D 29.5px 31px, transparent 31px); }
.ba-range:focus-visible ~ .ba-handle::after { outline: 2px solid var(--focus); outline-offset: 3px; }
.ba-tag { position: absolute; bottom: 14px; z-index: 3; height: 26px; padding: 0 11px; border-radius: var(--r-pill); background: rgba(255,255,255,.9); color: #2A2A2E; font: 500 12.5px/26px var(--font-body); box-shadow: 0 0 0 1px rgba(12,12,13,.06); pointer-events: none; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; }
.cmp-cards { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; min-width: 0; }
.cc { background: var(--card); border-radius: var(--r-lg); padding: 28px 28px 26px; display: flex; flex-direction: column; min-width: 0; }
.cc-who { font: 500 15px/1 var(--font-body); color: var(--muted); }
.cc-num { margin-top: auto; padding-top: 18px; font: 300 var(--fs-num)/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cc-num small { font-size: .42em; letter-spacing: -.01em; color: var(--muted); font-weight: 400; }
.cc-time { margin-top: 10px; font: 400 19px/1.2 var(--font-display); color: var(--ink); }
.cc.dark { background: var(--ink-panel); box-shadow: var(--ink-panel-ring); color: #F4F4F5; }
.cc.dark .cc-who, .cc.dark .cc-num small { color: #A1A1A8; } .cc.dark .cc-num, .cc.dark .cc-time { color: #FFFFFF; }
.tbar { position: relative; margin-top: 18px; height: 8px; border-radius: 8px; background: var(--surface-2); overflow: visible; }
.tbar i { position: absolute; inset: 0; border-radius: inherit; background: var(--muted); transform-origin: 0 50%; transform: scaleX(0); }
.tbar.slow { background: repeating-linear-gradient(90deg, var(--surface-2) 0 calc(100% / 14 - 2px), var(--bg) calc(100% / 14 - 2px) calc(100% / 14)); }
.tbar.slow i { background: repeating-linear-gradient(90deg, var(--subtle) 0 calc(100% / 14 - 2px), transparent calc(100% / 14 - 2px) calc(100% / 14)); }
.cc.dark .tbar { background: #26262A; }
.tbar.fast i { background: linear-gradient(90deg, #12A26B, #7BE0B4); }
.tbar.fast b { position: absolute; right: -2px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: #1F7A4D; color: #fff; font: 700 13px/24px var(--font-body); text-align: center; transform: scale(0); }
.in .tbar.slow i, .tbar.slow.in i { animation: crawl 4.2s .3s linear forwards; }
.in .tbar.fast i, .tbar.fast.in i { animation: fill .7s .4s var(--ease-out) forwards; }
.in .tbar.fast b { animation: pop .4s 1.05s var(--ease-out) forwards; }
@keyframes crawl { to { transform: scaleX(.86); } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes pop { 60% { transform: scale(1.15); } to { transform: scale(1); } }
.cmp .fine { margin-top: 18px; }

/* ---------- 11. профіль машини ---------- */
.mech-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.mech-text .lead { margin-top: 18px; max-width: 30ch; }
.mech-steps { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; counter-reset: ms; }
.mech-steps li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font: 400 19px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--subtle); transition: color .4s var(--ease-std); counter-increment: ms; }
.mech-steps li::before { content: counter(ms, decimal-leading-zero); font: 500 12px/1 var(--font-body); color: var(--subtle); width: 22px; }
.mech.in .mech-steps li, .mech-text.in .mech-steps li { color: var(--ink); }
.mech-text.in .mech-steps li:nth-child(1) { transition-delay: .2s; } .mech-text.in .mech-steps li:nth-child(2) { transition-delay: 1.5s; } .mech-text.in .mech-steps li:nth-child(3) { transition-delay: 2.7s; }
.mach { position: relative; border-radius: var(--r-xl); background: var(--card); padding: clamp(56px, 6vw, 72px) clamp(20px, 3vw, 40px) clamp(24px, 3vw, 36px); min-height: 440px; overflow: hidden; }
.mach .tag { top: 18px; left: 18px; }
.mach-head { display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 24px); }
.mach-col { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.mach-col.grow { flex: 1; align-items: stretch; }
.mach-lbl { font: 500 13px/1.2 var(--font-body); color: var(--muted); text-align: center; white-space: nowrap; }
.needles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; background: var(--needle-bar); border-radius: 22px; padding: 20px 16px 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px -20px rgba(0,0,0,.5); min-width: 0; }
.needles li { display: flex; flex-direction: column; align-items: center; gap: 0; }
.needles .orb { width: min(40px, 100%); }
.needles li::after { content: ""; width: 2px; height: 58px; margin-top: 8px; background: linear-gradient(#8E939B, #E6E8EB 60%, #6E737B); border-radius: 2px; }
.mach-q { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 10px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line-2); border: 0; position: relative; }
.mach-q .orb { width: 30px; }
.mach-q svg { width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sheet { position: relative; margin: 26px 0 0 auto; width: min(76%, 360px); background: #FFFFFF; border-radius: 16px; padding: 18px 18px 12px; box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 9px; color: #0C0C0D; }
.sheet-h { font: 500 15px/1.2 var(--font-display); letter-spacing: -.01em; color: #0C0C0D; margin-bottom: 4px; }
.sr { display: grid; grid-template-columns: 16px 1fr 40px; gap: 10px; align-items: center; }
.sr i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -2px 4px rgba(0,0,0,.25); }
.sr b { height: 7px; border-radius: 4px; background: #E6E6EA; }
.sr u { height: 7px; border-radius: 4px; background: #F0F0F3; }
.sr.re { background: #FFF6E3; border-radius: 8px; margin: 0 -8px; padding: 4px 8px; }
.sr.re u { background: #F4B23E; }
.js .mach .needles .orb { opacity: 0; transform: translateY(-28px) scale(.7); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); }
.js .mach .mach-q > * { opacity: 0; transform: translateX(24px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.js .mach .sheet { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.js .mach.in .needles .orb, .js .mach.in .mach-q > *, .js .mach.in .sheet { opacity: 1; transform: none; }
.mach.in .needles li:nth-child(2) .orb { transition-delay: .1s; } .mach.in .needles li:nth-child(3) .orb { transition-delay: .2s; }
.mach.in .needles li:nth-child(4) .orb { transition-delay: .3s; } .mach.in .needles li:nth-child(5) .orb { transition-delay: .4s; }
.mach.in .needles li:nth-child(6) .orb { transition-delay: .5s; }
.mach.in .mach-q > :nth-child(1) { transition-delay: 1.3s; } .mach.in .mach-q > :nth-child(2) { transition-delay: 1.42s; }
.mach.in .mach-q > :nth-child(3) { transition-delay: 1.54s; } .mach.in .mach-q > :nth-child(4) { transition-delay: 1.7s; }
.mach.in .mach-q svg { animation: spin 3s 2.2s var(--ease-io) infinite; }
.mach.in .sheet { transition-delay: 2.5s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 12. вкладки ---------- */
.tabs { display: flex; flex-direction: column; align-items: center; }
.tablist { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); max-width: 100%; }
.tablist button { position: relative; z-index: 1; height: 42px; padding: 0 22px; border: 0; background: none; border-radius: var(--r-pill); cursor: pointer; font: 500 15px/1 var(--font-body); color: var(--muted); transition: color .25s; white-space: nowrap; overflow: hidden; }
.tablist button[aria-selected="true"] { color: var(--ink); }
.tablist button:hover { color: var(--ink); }
.tab-ind { position: absolute; z-index: 0; top: 4px; left: 0; height: 42px; width: var(--w, 0); border-radius: var(--r-pill); background: var(--bg); box-shadow: var(--sh-1); transform: translateX(var(--x, 4px)); transition: transform .32s var(--ease-out), width .32s var(--ease-out); }
.tprog { position: absolute; left: 22px; right: 22px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--focus); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
.tabs.auto [aria-selected="true"] .tprog { opacity: .9; animation: tprog 6.5s linear forwards; }
.tabs.paused .tprog { animation-play-state: paused !important; }
@keyframes tprog { to { transform: scaleX(1); } }
.tpanel { width: 100%; margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.tpanel[hidden] { display: none; }
.tpanel.show { animation: panel .36s var(--ease-out); }
.paused .tpanel.show, .tpanel.show { animation-play-state: running !important; }   /* пауза вкладок не має лишати панель прозорою */
@keyframes panel { from { opacity: 0; transform: translateY(8px); } }
.tp-text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; min-width: 0; }
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16.5px; line-height: 1.45; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-bg); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.ticks.no li::before { background: var(--surface-2); }
.ticks.no li::after { left: 6px; top: 11px; width: 8px; height: 1.8px; border: 0; background: var(--muted); transform: none; }
.tp-vis { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--card); overflow: hidden; display: grid; place-items: center; min-width: 0; }
.garment { width: 62%; height: auto; overflow: visible; filter: drop-shadow(0 18px 24px rgba(12,12,13,.18)); }
.garment .g-body { fill: #24324F; }
.garment .st-img { filter: drop-shadow(0 .6px .6px rgba(0,0,0,.45)); }
.garment .g-shade { fill: rgba(0,0,0,.18); }
.garment .g-collar { fill: #2E3D5E; stroke: rgba(255,255,255,.12); stroke-width: 1.5; }
.garment .g-plk { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.14); stroke-width: 1.5; }
.garment .g-btn { fill: #EDEDEB; opacity: .7; }
.logo-on { position: absolute; height: auto; filter: drop-shadow(0 1.5px 1.5px rgba(0,0,0,.35)); }
.vis-polo .garment { width: 56%; transform: translateY(5%); }
.vis-hoop .hoop { width: min(66%, 380px); aspect-ratio: 1; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 50% 40%, #F6F1E6, #E9E1D0 70%, #D9CFBA); box-shadow: 0 0 0 12px #C9A877, 0 0 0 13px #A88553, 0 0 0 15px rgba(255,255,255,.25), 0 26px 40px -14px rgba(60,40,10,.45); }
.vis-hoop .hoop::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-linear-gradient(0deg, rgba(120,100,70,.06) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px); }
.vis-hoop .hoop-screw { position: absolute; top: -26px; left: 50%; width: 26px; height: 16px; margin-left: -13px; border-radius: 5px; background: linear-gradient(90deg, #8F6B3D, #D7B98A, #8F6B3D); }
.hoop-img { position: absolute; left: 50%; top: 50%; width: 52%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 1.5px 1.5px rgba(60,40,10,.35)); }
.vis-phone .phone { width: min(40%, 230px); aspect-ratio: 9 / 18.5; border-radius: 34px; background: #F7F7F8; position: relative; box-shadow: 0 0 0 7px #121214, 0 0 0 8px #2A2A2E, 0 30px 50px -20px rgba(0,0,0,.45); display: grid; place-items: center; overflow: hidden; }
.phone-notch { position: absolute; top: 9px; left: 50%; width: 34%; height: 18px; margin-left: -17%; border-radius: 12px; background: #121214; }
.vis-phone .hoodie { width: 88%; filter: drop-shadow(0 10px 12px rgba(12,12,13,.18)); }
.vis-phone .hoodie .g-body { fill: #C3C6CD; } .vis-phone .hoodie .g-shade { fill: rgba(0,0,0,.08); }
.vis-phone .hoodie .g-hood { fill: none; stroke: rgba(0,0,0,.18); stroke-width: 3; } .vis-phone .hoodie .g-str { stroke: #F4F4F5; stroke-width: 3; stroke-linecap: round; }
.vis-phone .hoodie .g-pocket { fill: none; stroke: rgba(0,0,0,.14); stroke-width: 2.5; }

/* ---------- 13. відео й фото ---------- */
.media .h2 { margin-bottom: clamp(32px, 4.5vw, 52px); }
.vid { position: relative; margin: 0; min-width: 0; }
.vid-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1; background: #0E0E10; isolation: isolate; transform: translateZ(0); }
.vid-hero .vid-media { aspect-ratio: 16 / 9; border-radius: 28px; }
.vid-media video { width: 100%; height: 100%; object-fit: cover; }
.vid-poster { position: absolute; inset: -10%; transition: transform .7s var(--ease-out); }
.vid-poster i { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; filter: blur(42px); opacity: .85; will-change: transform; }
.vid-poster i:nth-child(1) { background: radial-gradient(circle, var(--o1), transparent 68%); left: -6%; top: 6%; animation: vd1 18s var(--ease-io) infinite alternate; }
.vid-poster i:nth-child(2) { background: radial-gradient(circle, var(--o2), transparent 68%); right: -8%; top: 22%; animation: vd2 22s var(--ease-io) infinite alternate; }
.vid-poster i:nth-child(3) { background: radial-gradient(circle, var(--o3), transparent 68%); left: 26%; bottom: -18%; animation: vd3 16s var(--ease-io) infinite alternate; }
.vid-poster::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(35deg, rgba(255,255,255,.05) 0 2px, transparent 2px 7px); mix-blend-mode: overlay; }
.vid-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.45)); pointer-events: none; }
@keyframes vd1 { to { transform: translate(18%, 14%) rotate(50deg) scale(1.15); } }
@keyframes vd2 { to { transform: translate(-20%, 10%) rotate(-40deg) scale(.9); } }
@keyframes vd3 { to { transform: translate(10%, -24%) scale(1.2); } }
.vid-cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: #fff; font: 500 15px/1.35 var(--font-body); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.vid-hero .vid-cap { left: 28px; bottom: 24px; font: 400 clamp(18px, 1rem + .6vw, 24px)/1.25 var(--font-display); letter-spacing: -.01em; }
.vid.is-real figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.vid.is-real figcaption b { color: var(--ink); font-weight: 500; }
.clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.media .vid-hero { max-width: 880px; margin: 0 auto; }
.media .clips, .media .photos { max-width: 880px; margin-left: auto; margin-right: auto; }
.media .more { margin-top: 28px; }
.clips .vid-poster i { animation-play-state: paused; }
.clips .vid:hover .vid-poster i, .clips .vid:focus-within .vid-poster i { animation-play-state: running; }
.vid-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 10px 30px rgba(0,0,0,.18);
  transition: transform .35s var(--ease-out), background .35s var(--ease-out); }
.vid-play::after { content: ""; position: absolute; left: 31px; top: 25px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.clips .vid-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.clips .vid-play::after { left: 21px; top: 17px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
.vid.is-slot:hover .vid-play { transform: scale(1.08); background: rgba(255,255,255,.26); }
.vid.is-slot:hover .vid-poster { transform: scale(1.05); }
.vid-dur { position: absolute; z-index: 2; top: 14px; right: 14px; height: 26px; font-size: 12.5px; background: rgba(0,0,0,.34); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ph { position: relative; margin: 0; aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); overflow: hidden; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; min-width: 0; transition: transform .24s var(--ease-std); }
.ph-media { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 4px); opacity: .55; }
.ph-hoop { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%; box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line-2); border: 1.5px dashed var(--subtle); display: grid; place-items: center; }
.ph-hoop i { width: 2px; height: 34px; background: linear-gradient(var(--subtle), var(--ink)); border-radius: 2px; transform: rotate(35deg); }
.ph-hoop i::after { content: ""; display: block; width: 6px; height: 6px; margin: -3px 0 0 -2px; border-radius: 50%; border: 1.5px solid var(--subtle); }
.ph figcaption { position: relative; z-index: 1; font: 400 18px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--muted); max-width: 16ch; }
.ph-chip { position: absolute; top: 14px; left: 14px; z-index: 1; }
.ph:has(.ph-chip) { padding-top: 54px; }
@media (max-width: 560px) { .ph-hoop { width: 72px; height: 72px; } .ph-hoop i { height: 26px; } }
.pf { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--card); min-width: 0; }
.pf img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pf figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--muted); }
.pf figcaption b { color: var(--ink); font-weight: 500; font-size: 15px; }
.pf-tag { align-self: flex-start; margin-top: 4px; }
@media (hover: hover) and (pointer: fine) { .ph:hover { transform: translateY(-3px); } }

/* ---------- 14. ціна ---------- */
.price-card { background: var(--card); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.price-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.price-text .h2 .num { font-weight: 300; letter-spacing: -.045em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cap-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.cap-note svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; flex: none; }
.bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; height: 300px; }
.bar { display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; justify-content: flex-end; min-width: 0; }
.bar-col { width: 100%; height: calc(var(--h) * 230px); border-radius: 18px 18px 10px 10px; background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 70%, var(--surface-2))); box-shadow: var(--sh-1); display: flex; justify-content: center; padding-top: 12px; transform-origin: 50% 100%; }
.bar-col .orb { width: 30px; height: 30px; }
.bar b { font: 400 17px/1 var(--font-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.bar small { margin-top: -4px; font: 500 12.5px/1.2 var(--font-body); color: var(--muted); }
.bar:last-child .bar-col { background: var(--bar-top); box-shadow: none; }
.js .bars .bar-col { transform: scaleY(.15); opacity: 0; transition: transform .9s var(--ease-out), opacity .5s var(--ease-out); transition-delay: calc(var(--i) * .12s + .2s); }
.js .in .bars .bar-col, .js .bars.in .bar-col { transform: none; opacity: 1; }

/* ---------- 15. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
details::details-content { height: 0; overflow: clip; transition: height .28s var(--ease-out), content-visibility .28s allow-discrete; }
details[open]::details-content { height: auto; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font: 500 19px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) 50% 50%/14px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) 50% 50%/1.6px 14px no-repeat; transition: transform .25s var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--ink-2); }
.faq-a { padding: 0 40px 22px 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq-a p + p { margin-top: 8px; }

/* ---------- 16. фінальна смуга ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--band-bg); box-shadow: var(--band-ring); color: #F4F4F5; padding: clamp(64px, 9vw, 128px) clamp(24px, 6vw, 96px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.band .h2, .band h2 { color: #FFFFFF; max-width: 16ch; }
.band .lead { color: #A1A1A8; }
.band-note { font-size: 14px; color: #A1A1A8; margin-top: -12px; }
.band-orbs { position: absolute; inset: 0; z-index: -1; opacity: .55; }
.band-orbs .orb { position: absolute; width: 340px; filter: blur(40px); will-change: transform; }
.band-orbs .orb::after { display: none; }
.band-orbs .orb:nth-child(1) { left: -80px; top: -110px; animation: bo1 20s var(--ease-io) infinite alternate; }
.band-orbs .orb:nth-child(2) { right: -90px; bottom: -150px; animation: bo2 24s var(--ease-io) infinite alternate; }
.band-orbs .orb:nth-child(3) { right: 18%; top: -190px; width: 260px; animation: bo1 18s var(--ease-io) infinite alternate-reverse; }
@keyframes bo1 { to { transform: translate(40px, 30px) scale(1.06); } }
@keyframes bo2 { to { transform: translate(-50px, -24px) scale(1.04); } }
.stitch-line { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 96px; z-index: -1; opacity: .9; }
.stitch-line path { fill: none; stroke: #F4B23E; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 10 8; vector-effect: non-scaling-stroke; }
.js .stitch-line { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s .3s var(--ease-io); }
.js .in .stitch-line, .js .in.band .stitch-line { clip-path: inset(0 0 0 0); }

/* ---------- 17. підвал ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 36px; }
main > .doc:last-child, main > :last-child:not(.sec) { margin-bottom: var(--section-y); }
main > .sec.final + * { margin-top: 0; }
.foot-in, .foot-note { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-note { margin-top: 28px; font-size: 12.5px; color: var(--muted); }

/* ---------- 18. внутрішні сторінки ---------- */
.hero-page { padding-bottom: 0; }
.hero-page .h1 { max-width: 16ch; }
.page-head { padding-top: clamp(48px, 7vw, 96px); }
.page-head .h1, .page-head h1 { font-size: clamp(40px, 1.3rem + 3.6vw, 68px); line-height: 1.04; letter-spacing: -.033em; }
.page-head .lead { margin-top: 18px; max-width: 46ch; }
.page-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .lead { margin-top: 14px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.tile { grid-column: span 4; position: relative; background: var(--card); border-radius: var(--r-lg); padding: 26px 24px; min-height: 200px; display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: transform .24s var(--ease-std); }
.tile.w6 { grid-column: span 6; } .tile.w3 { grid-column: span 3; } .tile.w12 { grid-column: span 12; }
.tile .orb-ic { margin-bottom: auto; }
.tile .orb { margin-bottom: auto; }
.tile h3 { margin-top: 20px; font: 500 21px/1.22 var(--font-display); letter-spacing: -.015em; }
.tile p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--sh-2); opacity: 0; transition: opacity .24s; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-3px); } .tile:hover::before { opacity: 1; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); min-width: 0; }
.card h3 { font: 500 22px/1.25 var(--font-display); letter-spacing: -.015em; margin-bottom: 16px; }
.card.ink { background: var(--ink-panel); box-shadow: var(--ink-panel-ring); color: #F4F4F5; }
.card.ink h3 { color: #fff; }
.card.ink .ticks li { color: #E9E9EB; }
.card.ink .ticks li::before { background: #12271B; } .card.ink .ticks li::after { border-color: #7FD1A3; }
.honest { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; justify-content: space-between; }
.honest h3 { margin: 0; flex: 1 1 220px; }
.honest .ticks { flex: 2 1 320px; }
.files { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 8px; }
.file { background: #161618; border-radius: 16px; padding: 16px; text-align: left; display: flex; flex-direction: column; gap: 26px; min-width: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.file small { align-self: flex-start; font: 600 10.5px/1 var(--font-body); letter-spacing: .05em; color: #0A0A0B; background: #F4F4F5; padding: 5px 7px; border-radius: 6px; }
.file b { font: 400 17px/1.25 var(--font-display); color: #fff; letter-spacing: -.01em; }
.math { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.math .cc-num { padding-top: 26px; }
.tw { overflow-x: auto; border-radius: var(--r-lg); background: var(--card); padding: 8px clamp(12px, 2vw, 24px); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
th { font: 500 13.5px/1.3 var(--font-body); color: var(--muted); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 5vw, 56px); }
.pk { position: relative; background: var(--bg); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; transition: transform .24s var(--ease-std), box-shadow .24s var(--ease-std); }
@media (hover: hover) and (pointer: fine) { .pk:hover { transform: translateY(-3px); box-shadow: var(--sh-2); } }
.pk-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; margin-bottom: 18px; }
.pk-orbs { display: flex; }
.pk-orbs .orb { width: 26px; margin-right: -7px; box-shadow: 0 0 0 2px var(--bg), inset 0 -3px 6px rgba(0,0,0,.25); }
.pk-orbs .orb::after { display: none; }
.pk-tag { height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: var(--hot-fg); color: var(--hot-bg); font: 500 12px/24px var(--font-body); }
.pk-name { font: 500 22px/1.2 var(--font-display); letter-spacing: -.015em; }
.pk-who { font-size: 14px; color: var(--muted); min-height: 42px; }
.pk-price { margin-top: 14px; font: 300 var(--fs-num)/1 var(--font-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.pk-price span { font: 400 14px/1 var(--font-body); letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.pk-tok { margin-top: 10px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.pk-tok b { font-weight: 600; }
.pk-tok em { font-style: normal; font: 600 12px/1 var(--font-body); color: var(--ok); background: var(--ok-bg); padding: 5px 8px; border-radius: var(--r-pill); }
.pk-per { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.pk .btn { margin-top: auto; width: 100%; }
.pk.hot { background: var(--hot-bg); color: var(--hot-fg); box-shadow: var(--hot-shadow); }
.pk.hot .pk-who, .pk.hot .pk-per, .pk.hot .pk-price span { color: var(--hot-mute); }
.pk.hot .pk-name, .pk.hot .pk-price, .pk.hot .pk-tok { color: var(--hot-fg); }
.pk.hot .pk-orbs .orb { box-shadow: 0 0 0 2px var(--hot-bg), inset 0 -3px 6px rgba(0,0,0,.25); }
.pk.hot .pk-tok em { background: var(--hot-em-bg); color: var(--hot-em-fg); }
.pk.hot .btn.on-dark { background: var(--hot-btn-bg); color: var(--hot-btn-fg); }
.pk.hot .btn.on-dark:hover { background: var(--hot-btn-hover); }
.note-c { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.flow3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.flow3 .tile h3 { margin-top: 26px; }
.flow3 .k { font: 500 12px/1 var(--font-body); color: var(--subtle); }
.cmp-t td:last-child, .cmp-t th:last-child { background: var(--bg); }
.cmp-t tr:first-child th:last-child { border-radius: 14px 14px 0 0; }
.cmp-t tr:last-child td:last-child { border-radius: 0 0 14px 14px; }
.cmp-t td:last-child { color: var(--ink); font-weight: 500; }
.cmp-t td:first-child { color: var(--ink); }
.cmp-t td { color: var(--muted); }
.doc { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) 0; }
.doc h1 { font-size: clamp(36px, 1.2rem + 3vw, 56px); line-height: 1.05; letter-spacing: -.03em; }
.doc .note { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--surface); color: var(--muted); font-size: 14.5px; }
.doc h2 { margin-top: 40px; font: 500 22px/1.25 var(--font-display); letter-spacing: -.015em; }
.doc p, .doc li { margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.doc ul { padding-left: 20px; list-style: disc; }
.doc li { margin-top: 8px; }
.log-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.hero-page { padding-bottom: 0; }
.hero-page .h1 { font-size: clamp(38px, 1.2rem + 3.3vw, 64px); max-width: 18ch; }
.hero-page .pk-grid { margin-top: clamp(48px, 6vw, 72px); }
.flow-k { font: 500 13px/1 var(--font-body); color: var(--muted); margin-bottom: auto; }
.bento.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento.two .tile { grid-column: auto; min-height: 180px; }
.wide-vis { aspect-ratio: 21 / 8; }
.vid-wrap { min-width: 0; }
.price-card .card.honest { flex-direction: column; align-self: end; justify-content: flex-start; gap: 16px; }
/* у стовпчику flex-basis (220/320 px) ставав висотою -- картка «Поки не…» була розтягнута й порожня (21.11) */
.price-card .card.honest > * { flex: none; }
.band .files + *, .band .lead + .files { margin-top: 8px; }
.doc .pill + h1 { margin-top: 18px; }

/* ---------- 19. поява при прокрутці, пауза, менше руху ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }
.paused, .paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .marq-list { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 18px; }
  .marq-track { -webkit-mask-image: none; mask-image: none; }
  .js .stitch-u, .js .stitch-line { clip-path: none; }
  .aura i, .vid-poster i { animation: none !important; }
}

/* ---------- 20. адаптив ---------- */
@media (max-width: 1100px) {
  .win-body { grid-template-columns: minmax(0, 1fr) 248px; }
  .win-side { display: none; }
  .tile.w3 { grid-column: span 6; }
  .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .files { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px; background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease-std), transform .3s var(--ease-out), visibility 0s .3s; }
  .nav > a:not(.btn) { font: 400 26px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn):hover { background: none; }
  .nav > a.nav-m:not(.btn) { display: block; }
  .nav .btn.nav-m { display: flex; width: 100%; margin-top: 28px; flex: none; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .menu-open { overflow: hidden; }
  .menu-btn { display: inline-block; }
  .nav-login { display: none; }
  .top-act, .nav + .top-act { margin-left: auto; }
  .cmp-grid, .mech-grid, .tpanel, .price-card, .faq-grid, .split, .math { grid-template-columns: minmax(0, 1fr); }
  .cmp-cards { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ba { min-height: 0; aspect-ratio: 4 / 3; }
  .tile, .tile.w6, .tile.w3 { grid-column: span 6; }
  .flow3, .log-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .wide-only, .br-d { display: none; }
  .wide-vis { aspect-ratio: 4 / 3; }
  .bento.two { grid-template-columns: minmax(0, 1fr); }
  .hero .h1 { margin-top: 22px; }
  .win { padding: 6px; border-radius: 24px; }
  .win-bar { height: 34px; }
  .win-title { display: none; }
  .win-body { grid-template-columns: minmax(0, 1fr); height: auto; border-radius: 19px; }
  .win-steps { display: none; }
  .win-stage { aspect-ratio: 4 / 3.4; }
  .win-mbar { display: flex; position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.92); box-shadow: 0 6px 18px -6px rgba(18,20,23,.18), 0 0 0 1px rgba(12,12,13,.05); }
  .win-mlbl { font: 500 13px/1 var(--font-body); color: #0C0C0D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
  .win-segs { display: flex; gap: 4px; flex: none; }
  .win-segs i { width: 22px; height: 4px; border-radius: 2px; background: #E3E4E8; overflow: hidden; position: relative; }
  .win-segs i::after { content: ""; position: absolute; inset: 0; background: #5468FF; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  .win-segs i.done::after { background: #1F7A4D; transform: none; }
  .clips, .photos, .pk-grid, .files { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 10px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .clips::-webkit-scrollbar, .photos::-webkit-scrollbar, .pk-grid::-webkit-scrollbar, .files::-webkit-scrollbar { display: none; }
  .clips > *, .photos > *, .files > * { flex: 0 0 72%; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .pk-grid > * { flex: 0 0 84%; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  /* офери й порiвняння -- без гортання вбiк: усе видно одразу (рецензенти 19.11) */
  .offer-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .offer, .offer.big { grid-column: auto; flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 14px 16px; border-radius: 18px; }
  .offer .orb-ic, .offer.big .orb-ic { width: 38px; height: 38px; margin: 0; flex: none; }
  .offer .orb-ic svg, .offer.big .orb-ic svg { width: 19px; height: 19px; }
  .of-t { margin: 0; gap: 2px; }
  .offer b, .offer.big b { font: 500 17px/1.25 var(--font-display); letter-spacing: -.01em; }
  .of-t span { font-size: 13.5px; }
  .cmp-cards { gap: 10px; }
  .cc { padding: 16px; }
  .cc-num { font-size: clamp(26px, 8vw, 40px); padding-top: 14px; }
  .cc-time { font-size: 15px; }
  .vid-hero .vid-media { aspect-ratio: 4 / 3; }
  .vid-hero .vid-cap { left: 18px; bottom: 16px; }
  .tablist { overflow-x: auto; scrollbar-width: none; }
  .tablist button { padding: 0 16px; font-size: 14.5px; }
  .tprog { left: 16px; right: 16px; }
  .tile, .tile.w6, .tile.w3 { grid-column: span 12; min-height: 0; }
  .bars { height: 240px; }
  .bar-col { height: calc(var(--h) * 170px); }
  .faq-a { padding-right: 0; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .band { border-radius: 24px; }
  .band-orbs .orb { width: 220px; }
  .mach { min-height: 0; }
  .needles li::after { height: 40px; }
  .ph figcaption { font-size: 16px; }
  .stitch-line { bottom: -14px; height: 64px; }
}
@media (max-width: 420px) {
  .cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-row .btn { width: 100%; }
  .btn.lg { height: 50px; }
  .top-in { gap: 12px; }
}

/* ---- Сайт v3 (власник 20–21.11): тур справжніми знімками Студії, рілси 9:16 ---- */
.tp-tour { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.shot { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--win-frame); padding: 6px; box-shadow: var(--sh-3); min-width: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: calc(var(--r-lg) - 6px); }
.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: clamp(28px, 4vw, 44px) auto 0; max-width: 1000px; }
.vid-reel .vid-media { aspect-ratio: 9 / 16; border-radius: 22px; }
.reels .vid-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.reels .vid-play::after { left: 21px; top: 17px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
.reels .vid-poster i { animation-play-state: paused; }
.reels .vid:hover .vid-poster i, .reels .vid:focus-within .vid-poster i { animation-play-state: running; }
@media (max-width: 900px) {
  .tp-tour { grid-template-columns: 1fr; }
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .reels .vid { scroll-snap-align: start; }
}
.media .reels { max-width: 880px; }
.tour .tabs { margin-top: 18px; }

/* ---- Власник 21.11: продажна головна -- логотип кидають прямо на першому екранi ---- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.drop { width: min(560px, 100%); margin: 28px auto 0; }
.drop-zone { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 20px 18px; border: 1.5px dashed var(--line-2, #CFCFD4); border-radius: 22px; background: var(--card); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.drop-zone:hover, .drop-zone.over { border-color: var(--ink); }
.drop-zone.over { transform: scale(1.01); }
.drop-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop-t { font: 500 16px/1.3 var(--font-body); color: var(--ink); }
.drop-or { color: var(--muted); font-weight: 400; }
.drop-btn { pointer-events: none; }
.drop-s { font: 400 13px/1.3 var(--font-body); color: var(--muted); }
.drop-msg { min-height: 0; margin-top: 10px; font: 500 14px/1.4 var(--font-body); color: var(--ink); text-align: center; }
.drop-msg:empty { display: none; }
.drop-msg a { color: var(--ink); text-decoration: underline; }
.drop.busy .drop-zone { opacity: .6; pointer-events: none; }
#dropFile:focus-visible + .drop-zone { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 600px) { .drop-t { display: none; } .drop-zone { padding: 16px; } }

.made { padding-block: clamp(18px, 3vw, 34px) 0; }
.made-in { text-align: center; }
.made-t { font: 400 clamp(18px, 2.1vw, 24px)/1.35 var(--font-display); letter-spacing: -.01em; color: var(--ink); max-width: 46ch; margin: 0 auto; }
.made-t b { font-weight: 500; }

/* плашка стану для «Спробувати…» з будь-якої сторiнки (форма схована, видно лише повiдомлення) */
.drop-global { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; display: none; width: min(460px, calc(100% - 32px)); margin: 0; }
.drop-global.show { display: block; }
.drop-global .drop-msg { margin: 0; padding: 14px 18px; border-radius: 14px; background: #121417; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 15px; line-height: 1.4; text-align: center; }
.drop-global .drop-msg a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ---------- 21. продажна головна (власник 21.11): професiйно, довiра, справжнi рендери Студiї ---------- */
.aura.soft i { opacity: .12; }
.p-hero { padding-bottom: clamp(28px, 4vw, 56px); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.p-hero-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
.p-hero .h1 { margin-top: 20px; font-size: clamp(40px, 1.2rem + 3.3vw, 68px); }
.p-hero .h1 .h-mute { display: block; }
.p-hero .hero-lead { margin-top: 18px; max-width: 40ch; }
.p-hero .drop { margin: 26px 0 0; width: min(520px, 100%); }
.p-hero .drop-zone { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 12px 16px; padding: 16px; border-style: solid; border-color: var(--line-2); background: var(--bg); box-shadow: var(--sh-2); }
.p-hero .drop-ic { display: none; }
.p-hero .micro { justify-content: flex-start; margin-top: 18px; }
.p-eyebrow { height: 32px; font-weight: 600; }
.p-stage { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 28px; background: #F1F0EC; box-shadow: var(--sh-3); overflow: hidden; isolation: isolate; }
.p-stage-main { position: absolute; inset: 6% 6% 10%; width: 88%; height: 84%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(40,25,10,.22)); }
.p-src { position: absolute; top: 18px; left: 18px; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: var(--sh-2); font: 600 13px/1 var(--font-body); color: #0C0C0D; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.p-src img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; background: #fff; }
.p-hud { position: absolute; left: 18px; bottom: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.p-hud span { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 9px; background: rgba(12,12,13,.78); color: #E9E9EB; font: 500 12.5px/1 var(--font-body); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.p-hud b { color: #fff; font-weight: 700; }
.p-hud .ok { background: #12271B; color: #7FD1A3; }
.p-watch { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.92); box-shadow: var(--sh-2); font: 600 13px/1 var(--font-body); color: #0C0C0D; }
.p-watch .play-ic { background: #0C0C0D; } .p-watch .play-ic::after { border-left-color: #fff; }
.p-cap { position: absolute; right: 18px; bottom: 22px; font: 500 12px/1 var(--font-body); color: rgba(12,12,13,.5); }

.p-proof { padding: clamp(20px, 3vw, 32px) 0 0; }
.p-proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-proof-row li { display: flex; flex-direction: column; gap: 4px; padding: 20px 18px; min-width: 0; }
.p-proof-row li + li { border-left: 1px solid var(--line); }
.p-proof-row b { font: 500 clamp(18px, 1rem + .5vw, 22px)/1.15 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
.p-proof-row span { font-size: 13.5px; line-height: 1.35; color: var(--muted); }

.p-types .h2, .p-how .h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.p-type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
a.p-type, .p-watch, .p-type * { text-decoration: none; }
.p-type { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); overflow: hidden; color: var(--ink); min-width: 0; transition: transform .25s var(--ease-std), box-shadow .25s; }
.p-type:not(.big) { flex-direction: row; align-items: center; }
.p-type:not(.big) .p-type-img { flex: 0 0 38%; align-self: stretch; aspect-ratio: auto; min-height: 150px; }
a.p-type:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.p-type.dark { background: #121214; color: #F4F4F5; }
.p-type-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #EFEDE8; }
.p-type.dark .p-type-img { background: #EFEBE4; }
.p-type.dark .p-type-img img { padding: 0; object-fit: cover; object-position: 50% 30%; }
.p-type-img img { width: 100%; height: 100%; object-fit: contain; padding: 5%; transition: transform .6s var(--ease-out); }
a.p-type:hover .p-type-img img { transform: scale(1.04); }
.p-type-t { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.p-type-t b { font: 500 21px/1.2 var(--font-display); letter-spacing: -.015em; }
.p-type-t span { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.p-type.dark .p-type-t span { color: #A1A1A8; }
.p-type-t em { font-style: normal; font: 600 13.5px/1 var(--font-body); margin-top: 6px; }
.p-badge { position: absolute; top: 14px; left: 14px; height: 26px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: #0C0C0D; color: #fff; font: 600 12px/1 var(--font-body); }
.p-badge.soft { background: rgba(255,255,255,.9); color: #0C0C0D; box-shadow: var(--sh-ring); }
.p-ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--surface-2) 0 1px, transparent 1px 9px), var(--card); }
.p-ph-aa { font: 600 64px/1 var(--font-display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--subtle); }
.p-ph-vec { position: relative; width: 120px; height: 84px; }
.p-ph-vec i { position: absolute; border: 1.5px solid var(--subtle); border-radius: 50%; }
.p-ph-vec i:nth-child(1) { inset: 6px 30px 6px 6px; } .p-ph-vec i:nth-child(2) { inset: 18px 6px 18px 46px; border-radius: 12px; } .p-ph-vec i:nth-child(3) { width: 8px; height: 8px; left: 42px; top: 2px; background: var(--subtle); }

.p-art { }
.p-art-in { border-radius: var(--r-xl); background: #0E0E10; color: #F4F4F5; padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; overflow: hidden; }
.p-kicker { font: 600 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.p-art .p-kicker { color: #E9B872; }
.p-art .h2 { color: #fff; font-size: clamp(30px, 1.1rem + 2.2vw, 46px); } .p-art .h-mute { color: #8B8B92; }
.p-ticks { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 30px; }
.p-ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.45; color: #D9D9DC; }
.p-ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid #7FD1A3; border-bottom: 2px solid #7FD1A3; transform: rotate(-45deg); }
.p-art-vis { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) auto minmax(0, 1.2fr); align-items: center; gap: 14px; }
.p-art-vis figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #EEEAE3; }
.p-art-vis img { display: block; width: 100%; height: auto; }
.p-art-vis figcaption { position: absolute; left: 10px; bottom: 10px; height: 24px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 8px; background: rgba(12,12,13,.72); color: #fff; font: 500 12px/1 var(--font-body); }
.p-art-photo { aspect-ratio: 880 / 758; }
.p-art-arrow { font: 300 32px/1 var(--font-display); color: #8B8B92; }
.p-art-zoom { position: absolute !important; right: -14px; top: -26px; width: 30%; border-radius: 50% !important; aspect-ratio: 1; border: 4px solid #0E0E10; box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.p-art-zoom img { width: 100%; height: 100%; object-fit: cover; }
.p-art-zoom figcaption { left: 50% !important; transform: translateX(-50%); bottom: 12px !important; }

.p-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.p-steps li { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.p-steps figure { margin: 0 0 10px; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: var(--sh-2); aspect-ratio: 1600 / 956; }
.p-steps img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.p-steps b { display: flex; align-items: center; gap: 10px; font: 500 21px/1.2 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.p-steps b i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 600 13px/1 var(--font-body); font-style: normal; }
.p-steps span { font-size: 15px; line-height: 1.5; color: var(--muted); padding-left: 36px; }

.p-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.p-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-pair figure { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: #EFEDE8; }
.p-pair img { width: 100%; height: 100%; object-fit: cover; }
.p-pair figcaption { position: absolute; left: 10px; bottom: 10px; height: 24px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 8px; background: rgba(12,12,13,.72); color: #fff; font: 500 12px/1 var(--font-body); }
.p-photo-slot, .p-prod-photo { display: grid; place-items: center; align-content: center; gap: 12px; background: repeating-linear-gradient(135deg, var(--surface-2) 0 1px, transparent 1px 9px), var(--card) !important; }
.p-photo-slot figcaption, .p-prod-photo figcaption { position: static !important; background: none !important; color: var(--muted) !important; font: 400 16px/1.3 var(--font-display) !important; height: auto !important; text-align: center; padding: 0 12px !important; }
.p-photo-slot .chip, .p-prod-photo .chip { position: absolute; top: 12px; left: 12px; background: var(--bg); box-shadow: var(--sh-ring); }
.p-cam { width: 54px; height: 40px; border: 1.5px solid var(--subtle); border-radius: 10px; position: relative; }
.p-cam::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 1.5px solid var(--subtle); border-radius: 50%; }
.p-cam::after { content: ""; position: absolute; left: 10px; top: -6px; width: 14px; height: 5px; border: 1.5px solid var(--subtle); border-bottom: 0; border-radius: 3px 3px 0 0; }

.p-prod-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.p-prod-photo { position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: var(--r-xl); }
.p-facts { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.p-facts li { font-size: 16.5px; line-height: 1.5; color: var(--ink-2); padding-left: 18px; border-left: 2px solid var(--line-2); }
.p-facts b { color: var(--ink); font-weight: 600; }
.p-founder { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px; border-radius: 18px; background: var(--card); }
.p-ava { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 600 18px/1 var(--font-display); }
.p-founder p { font: 400 17px/1.45 var(--font-display); color: var(--ink); }
.p-founder small { display: block; margin-top: 8px; font: 500 13px/1 var(--font-body); color: var(--muted); }

.p-table { margin: clamp(28px, 4vw, 44px) auto 16px; max-width: 980px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.p-tr { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr 1fr; }
.p-tr > span { padding: 15px 18px; font-size: 15px; line-height: 1.35; color: var(--ink-2); border-top: 1px solid var(--line); min-width: 0; }
.p-th > span { border-top: 0; font: 600 13px/1.3 var(--font-body); color: var(--muted); background: var(--bg-soft); }
.p-tr [role="rowheader"] { font-weight: 600; color: var(--ink); }
.p-tr .me { background: #0C0C0D; color: #fff; font-weight: 600; border-top-color: rgba(255,255,255,.08); }
.p-th .me { color: #fff; background: #0C0C0D; }

.p-guar { display: flex; flex-direction: column; gap: 10px; }
.p-guar li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.p-guar li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.p-guar b { color: var(--ink); }
.seg .h2 { margin-bottom: 8px; }
.vid-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.82); transform: scale(1.02); }
.vid.is-slot .vid-media { background: #1A1A1C; }

@media (max-width: 980px) {
  .p-hero-grid, .p-art-in, .p-prod-in { grid-template-columns: minmax(0, 1fr); }
  .p-proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-proof-row li:nth-child(3) { border-left: 0; } .p-proof-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .p-steps, .p-pairs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .p-hero .h1 { font-size: clamp(36px, 9.4vw, 44px); }
  .p-type-grid { grid-template-columns: minmax(0, 1fr); }
  .p-type.big { grid-column: auto; }
  .p-art-vis { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr); gap: 8px; }
  .p-art-zoom { width: 36%; top: -34px; right: -6px; }
  .p-type:not(.big) { flex-direction: column; } .p-type:not(.big) .p-type-img { flex: none; min-height: 120px; }
  .p-tr { grid-template-columns: 1fr 1fr 1fr; }
  .p-tr > span:nth-child(3) { display: none; }
  .p-tr > span { padding: 12px 10px; font-size: 13.5px; }
  .p-hud span:not(.ok) { display: none; }
  .p-cap { display: none; }
}
@media (max-width: 640px) { .p-src span { display: none; } .p-src { padding: 5px; } .bar b { font-size: 13px; } }

/* «Що на картинцi?» -- вибiр виду пiсля завантаження (власник 21.11) */
.kind { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(10,10,11,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kind[hidden] { display: none; }
body.kind-open { overflow: hidden; }
.kind-box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--bg); border-radius: 24px; padding: 28px; box-shadow: var(--sh-3); display: flex; flex-direction: column; gap: 12px; }
.kind-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 20px; cursor: pointer; }
.kind-pic { width: 96px; height: 96px; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--sh-ring); }
.kind-pic img { width: 100%; height: 100%; object-fit: contain; }
.kind-lead { color: var(--muted); font-size: 15px; line-height: 1.45; }
.kind-opts { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.kind-opts button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 15px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: border-color .15s, background .15s, transform .15s; }
.kind-opts button:hover, .kind-opts button:focus-visible { border-color: var(--ink); background: var(--bg-soft); }
.kind-opts button:active { transform: scale(.99); }
.kind-opts b { font: 600 17px/1.2 var(--font-body); }
.kind-opts span { font-size: 13.5px; color: var(--muted); }
.kind.busy .kind-opts button { opacity: .5; pointer-events: none; }
.kind-msg { font: 500 14px/1.4 var(--font-body); color: var(--ink); min-height: 1px; }
.kind-msg:empty { display: none; }

/* ---------- 22. головна v5 (власник 21.11, 2-й прохiд): вiдео виробництва, «зайшла → вийшла», експертиза ---------- */
.p-hero { padding-top: clamp(28px, 4vw, 56px); }
@media (min-width: 981px) { .p-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.p-hero .h1 .h-mute { display: inline; }
.p-hero-vid .vid { margin: 0; }
.p-hero-vid .vid-media { aspect-ratio: 16 / 10; border-radius: 24px; box-shadow: var(--sh-3); }
.p-hero-vid .vid-cap { font: 500 clamp(17px, 1rem + .4vw, 21px)/1.3 var(--font-display); left: 24px; right: 24px; bottom: 22px; }
.p-hero-vid .vid-still { filter: saturate(.85) brightness(.62); }
.p-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.p-head .h2 { max-width: 18ch; }
.p-head .lead { max-width: 32ch; }
.p-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.p-kind { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); overflow: hidden; min-width: 0; }
.p-kind.dark { background: #121214; color: #F4F4F5; }
.p-kind.dark .h3 { color: #fff; } .p-kind.dark .p-kind-t p { color: #A1A1A8; }
.p-io { position: relative; display: grid; grid-template-columns: minmax(0, .72fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 16px 16px 0; }
.p-io figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--sh-1); aspect-ratio: 1 / 1; }
.p-io .p-out { background: #EFEDE8; }
.p-io img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.p-io .p-out img { padding: 5%; }
.p-kind.dark .p-io .p-out img, .p-kind.dark .p-io .p-in img { padding: 0; object-fit: cover; }
.p-io figcaption { position: absolute; left: 8px; bottom: 8px; height: 22px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 7px; background: rgba(12,12,13,.72); color: #fff; font: 500 11.5px/1 var(--font-body); }
.p-arr { font: 300 26px/1 var(--font-display); color: var(--subtle); }
.p-kind-t { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 22px; }
.p-kind-t .h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: clamp(21px, 1rem + .6vw, 26px); }
.p-kind-t p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.p-kind-t em { font-style: normal; font: 600 13.5px/1 var(--font-body); margin-top: 4px; }
.p-new { height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: #E9B872; color: #241707; font: 600 12px/1 var(--font-body); letter-spacing: 0; }
.p-new.soft { background: var(--surface-2); color: var(--ink); }
.p-kind.is-soon .p-io figure { box-shadow: none; }
.p-types > .wrap > .fine { margin-top: 14px; }

.p-inside-in { border-radius: var(--r-xl); background: #0E0E10; color: #F4F4F5; padding: clamp(32px, 5vw, 72px); }
.p-inside .p-kicker { color: #E9B872; }
.p-inside .h2 { color: #fff; max-width: 22ch; } .p-inside .h-mute { color: #8B8B92; }
.p-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(28px, 4vw, 48px); background: rgba(255,255,255,.08); border-radius: 18px; overflow: hidden; }
.p-feats li { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 24px; background: #0E0E10; min-width: 0; }
.p-feats b { font: 500 18px/1.25 var(--font-display); letter-spacing: -.01em; color: #fff; }
.p-feats span { font-size: 14.5px; line-height: 1.5; color: #A1A1A8; }
.p-feats li::before { content: ""; width: 22px; height: 2px; background: #E9B872; border-radius: 2px; margin-bottom: 6px; }

.media .reels { max-width: none; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 23%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.media .reels .vid { scroll-snap-align: start; }
.p-prod .lead { margin-top: 18px; }

@media (max-width: 980px) {
  .p-kinds { grid-template-columns: minmax(0, 1fr); }
  .p-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-hero-vid { order: 2; }
}
@media (max-width: 640px) {
  .p-feats { grid-template-columns: minmax(0, 1fr); }
  .media .reels { grid-auto-columns: 62%; }
  .p-io { gap: 6px; padding: 12px 12px 0; }
  .p-arr { font-size: 20px; }
}
.p-hero .h1 { font-size: clamp(38px, 1.1rem + 2.9vw, 60px); }

/* CMO 21.11: на телефонi -- одна колонка, кнопка вище згину; заглушка вiдео без «▶» (не грає -- не обiцяємо) */
@media (max-width: 980px) { .p-hero-grid { grid-template-columns: minmax(0, 1fr); } .p-hero-vid { order: 2; } }
@media (max-width: 640px) {
  .p-hero .h1 { font-size: clamp(32px, 8.6vw, 38px); }
  .p-eyebrow { height: auto; padding: 6px 12px; line-height: 1.3; }
  .p-hero .hero-lead { font-size: 16px; }
  .p-hero .drop-zone { padding: 12px; }
}
.vid.is-slot .vid-play { display: none; }
.p-hero .stitch-u { display: none; }
.phone .phone-shot { width: 86%; height: auto; margin: 22% auto 0; display: block; border-radius: 50%; filter: drop-shadow(0 10px 18px rgba(0,0,0,.18)); }

/* головна v6 (власник 21.11, 3-й прохiд): перший екран по центру, блок функцiй зi збiльшеним iнтерфейсом */
.p-center .hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.p-center .h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.p-center .h1 .h-mute { display: inline; }
.p-center .hero-lead { margin-left: auto; margin-right: auto; max-width: 46ch; }
.p-center .drop { margin: 26px auto 0; }
.p-center .drop-zone { justify-content: center; }
.p-center .micro { justify-content: center; }
.p-center .p-hero-vid { margin-top: clamp(32px, 4vw, 56px); max-width: 1000px; }
.p-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.p-fcard { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 18px; border-radius: 20px; background: #17171A; box-shadow: 0 0 0 1px rgba(255,255,255,.06); min-width: 0; }
.p-fcard .ui { position: relative; margin: 0 0 8px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #fff; }
.p-fcard .ui img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s var(--ease-out); }
.p-fcard:hover .ui img { transform: scale(1.04); }
.p-fcard .ui.stitch img { object-position: center; }
.p-fcard b { display: flex; align-items: center; gap: 10px; padding: 0 6px; font: 500 18px/1.25 var(--font-display); color: #fff; letter-spacing: -.01em; }
.p-fcard b i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #E9B872; color: #241707; font: 700 12px/1 var(--font-body); font-style: normal; }
.p-fcard > span { padding: 0 6px 0 40px; font-size: 14.5px; line-height: 1.5; color: #A1A1A8; }
.p-call { position: absolute; transform: translate(-10%, -50%); height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 8px; background: rgba(255,255,255,.94); color: #0C0C0D; font: 600 12px/1 var(--font-body); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.p-call::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #E9B872; margin-right: 6px; box-shadow: 0 0 0 3px rgba(233,184,114,.3); }
.p-prod-in.solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.p-ava-ph { width: 64px; height: 64px; background: var(--surface-2); border: 1.5px dashed var(--subtle); }
.p-ava-ph .p-cam { transform: scale(.55); }
@media (max-width: 980px) { .p-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .p-flow { grid-template-columns: minmax(0, 1fr); } }

/* CMO 21.11 (2-й прохiд головної) */
.p-kind[data-pick-kind] { cursor: pointer; transition: transform .25s var(--ease-std), box-shadow .25s; }
.p-kind[data-pick-kind]:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.p-kind[data-pick-kind]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.p-head { flex-direction: column; align-items: flex-start; }
.kind-hint { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.tp-vis.vis-card { background: #fff; padding: 6%; }
.tp-vis.vis-card .card-shot { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--sh-2); }
@media (max-width: 640px) {
  .p-center .micro { gap: 6px 14px; font-size: 13px; }
}

/* власник 21.11 (5): «як це працює» -- зум картинки, коли картка на екранi; на телефонi -- стовпчиком */
.p-fcard .ui img { transform-origin: var(--zo, 50% 50%); }
.js .p-fcard .ui img { transition: transform 2.2s var(--ease-out) .25s; }
.js .p-fcard.in .ui img { transform: scale(1.22); }
.js .p-fcard > b, .js .p-fcard > span { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease-out) .9s, transform .6s var(--ease-out) .9s; }
.js .p-fcard.in > b, .js .p-fcard.in > span { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .p-flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .p-fcard .ui { aspect-ratio: 5 / 4; }
  .p-fcard b { font-size: 19px; }
  .p-fcard > span { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .js .p-fcard.in .ui img { transform: none; } .js .p-fcard > b, .js .p-fcard > span { opacity: 1; transform: none; } }
/* рiлси: на телефонi -- пiвтори картки на екранi, на комп'ютерi -- бiльшi */
.media .reels { grid-auto-columns: minmax(250px, 27%); max-width: none; }
@media (max-width: 640px) { .media .reels { grid-auto-columns: 64%; } }
/* «Для кого»: гарнi вiзуали */
.tp-vis.vis-render { background: #F1F0EC; }
.tp-vis.vis-render img { width: 78%; height: auto; filter: drop-shadow(0 16px 26px rgba(40,25,10,.2)); }
.tp-vis.vis-art { background: #EEEAE3; padding: 0; }
.tp-vis.vis-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
/* цiна проти дигiтайзера */
.p-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 460px; }
.p-vs > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--bg); box-shadow: var(--sh-ring); }
.p-vs .me { background: #0C0C0D; color: #fff; }
.p-vs small { font: 600 12px/1 var(--font-body); color: var(--muted); }
.p-vs .me small { color: #A1A1A8; }
.p-vs b { font: 500 22px/1.15 var(--font-display); }
.p-vs span { font-size: 13px; line-height: 1.35; color: var(--muted); }
.p-vs .me span { color: #C9C9CE; }
/* професiйний пiдвал */
.foot.pro { background: #0C0C0D; color: #C9C9CE; border-top: 0; padding: clamp(48px, 6vw, 80px) 0 28px; margin-top: var(--section-y); }
.foot.pro .foot-in { display: block; max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.foot.pro .logo { color: #fff; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2.4fr); gap: clamp(32px, 5vw, 72px); }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot-tag { font-size: 14.5px; line-height: 1.55; color: #A1A1A8; max-width: 34ch; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols b { font: 600 13px/1.2 var(--font-body); color: #fff; margin-bottom: 4px; }
.foot-cols a, .foot-cols span { font-size: 14px; color: #A1A1A8; text-decoration: none; }
.foot-cols a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: #8B8B92; }
.foot-bottom a { color: #C9C9CE; }
.foot-fmt { letter-spacing: .04em; }
.final + * { }
@media (max-width: 980px) { .foot-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px 16px; } .foot-bottom { flex-direction: column; } }
.p-art-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.p-art-steps li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: var(--card); }
.p-art-steps i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 700 13px/1 var(--font-body); font-style: normal; }
.p-art-steps b { font: 500 20px/1.25 var(--font-display); color: var(--ink); }
.p-art-steps span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.bento.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .p-art-steps, .bento.three { grid-template-columns: minmax(0, 1fr); } }
.bento.three .tile { grid-column: auto; min-height: 170px; }
.bento.three { margin-top: clamp(24px, 3.5vw, 40px); }

/* 21.11: приклади пiд «Завантажити картинку» */
.samples { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.samples[hidden] { display: none; }
.samples-l { font-size: 13px; color: var(--muted, #6b6f76); }
.samples-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sample { position: relative; width: 64px; height: 64px; padding: 0; border: 1px solid rgba(0,0,0,.1); border-radius: 14px; background: #fff; cursor: pointer; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.sample img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.sample span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 9.5px; line-height: 1.6; background: rgba(255,255,255,.92); color: #333; text-align: center; }
.sample:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.samples.busy .sample { opacity: .45; pointer-events: none; }
.samples.busy .sample.on { opacity: 1; outline: 2px solid #111; }
@media (max-width: 600px) { .sample { width: 56px; height: 56px; border-radius: 12px; } }

/* 21.11: результат прямо на сайтi */
body.res-open { overflow: hidden; }
.res { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; background: rgba(12,12,13,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.res-box { width: min(1240px, 100%); height: min(860px, 100%); display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.res-top { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 22px; border-bottom: 1px solid #ECEDEF; }
.res-top b { font-size: 16px; }
.res-sub { font-size: 13px; color: #6b6f76; }
.res-full { margin-left: auto; font-size: 14px; color: #111; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid #E1E2E5; }
.res-full:hover { background: #F4F4F5; }
.res-x { margin-left: auto; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #F1F1F3; font-size: 22px; line-height: 1; cursor: pointer; }
.res-frame { flex: 1; width: 100%; border: 0; background: #F4F4F5; }
@media (max-width: 700px) {
  .res { padding: 0; }
  .res-box { width: 100%; height: 100%; border-radius: 0; }
  .res-sub, .res-full { display: none; }
}

/* 21.11 (власник: «картинка злiва, текст справа, щоб читалось i на телефонi»): «Що всередині файлу» -- рядки без анiмацiй */
.fx-head { max-width: 760px; margin-bottom: 40px; }
.fx-rows { display: flex; flex-direction: column; gap: 28px; }
.fx-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.fx-pic { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #F6F6F4; border: 1px solid #ECECEA; }
.fx-pic > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-pic.ui { background: #fff; }
.fx-pic.ui > img { object-fit: contain; padding: 6%; box-sizing: border-box; }
.fx-txt { max-width: 480px; }
.fx-n { display: block; font-size: 13px; font-weight: 600; color: #8A8D93; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.fx-t { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; color: #111; }
.fx-d { margin: 12px 0 0; font-size: 16.5px; line-height: 1.6; color: #55585E; }
.fx-tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.94); border: 1px solid #E6E6E8; font-size: 12.5px; color: #222; }
.fx-tag i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.fx-layers { display: grid; place-items: center; perspective: 1400px; background: linear-gradient(180deg, #F7F7F5, #EFEFEC); }
.fx-stack { position: relative; width: 50%; aspect-ratio: 1; top: 6%; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.fx-stack img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.08)); }
.fx-stack .l1 { transform: translateZ(80px); }
.fx-stack .l3 { transform: translateZ(165px); }
.fx-ln { position: absolute; right: 5%; font-size: 12.5px; font-weight: 600; color: #333; background: #fff; border: 1px solid #E6E6E8; border-radius: 999px; padding: 4px 10px; }
.fx-ln.n3 { top: 14%; } .fx-ln.n1 { top: 40%; } .fx-ln.n0 { top: 66%; }
@media (max-width: 980px) {
  .fx-rows { gap: 36px; }
  .fx-row { grid-template-columns: 1fr; gap: 16px; }
  .fx-t { font-size: 20px; }
  .fx-d { font-size: 16px; margin-top: 8px; }
  .fx-ln { font-size: 11px; right: 3%; }
  .fx-stack .l1 { transform: translateZ(55px); }
  .fx-stack .l3 { transform: translateZ(110px); }
}

/* 21.11: бiблiотека готових дизайнiв */
.lib-f { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.lib-f button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid #E1E2E5; background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.lib-f button[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }
.lib:not(.has) .lib-f { display: none; }
.lib-msg { text-align: center; color: #B42318; font-size: 14px; min-height: 1em; margin: 0 0 8px; }
.lib-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lib-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid #ECECEE; border-radius: 18px; background: #fff; overflow: hidden; cursor: pointer; font: inherit; transition: transform .2s, box-shadow .2s; }
.lib-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.25); }
.lib-pic { aspect-ratio: 1; background: #F6F6F4; display: grid; place-items: center; }
.lib-pic img { width: 86%; height: 86%; object-fit: contain; }
.lib-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 12px 14px 2px; }
.lib-meta b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-meta small { color: #6b6f76; font-size: 12.5px; }
.lib-go { padding: 4px 14px 14px; font-size: 13.5px; color: #111; font-weight: 600; }
.lib.busy .lib-card { opacity: .5; pointer-events: none; }
.lib.busy .lib-card.on { opacity: 1; outline: 2px solid #111; }
.lib-ph { aspect-ratio: 1; border: 1.5px dashed #D9DADD; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 10px; color: #8a8d93; background: #FAFAF9; }
@media (max-width: 980px) { .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.p-libband-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; border-radius: 24px; background: #F6F6F4; border: 1px solid #ECECEA; }
.p-libband-in .lead { margin-top: 10px; max-width: 640px; }
@media (max-width: 980px) { .p-libband-in { flex-direction: column; align-items: flex-start; padding: 26px 22px; } }
.fx-txt .ticks { margin: 14px 0 14px; }
.fx-txt .fx-n { text-transform: none; }
.seg .fx-pic > img[src*="kava-3d"], .seg .fx-pic > img[src*="dog-stitch"] { object-fit: contain; padding: 4%; box-sizing: border-box; }
.seg .fx-head { margin-bottom: 32px; }

/* 21.11 (2): анiмованi сцени «Як це працює» -- промальовка стiбкiв i наближення (власник: «вау, не скрiншоти») */
.fx-anim { aspect-ratio: 1 / 1; background: #F7F7F5; }
.fx-anim > img { width: 100%; height: 100%; object-fit: contain; display: block; opacity: 0; transition: opacity .4s ease; }
.fx-anim > img[src] { opacity: 1; }
.fx-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.fx-rows { gap: clamp(36px, 6vw, 72px); }
.fx-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.fx-facts li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.45; color: #2b2d31; }
.fx-facts li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #EAF7EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2316A34A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.fx-3d .fx-real { position: absolute; inset: 0; padding: 0; opacity: 0 !important; transform: scale(.96); }
.fx-3d.go .fx-real { animation: fx3d 1.2s cubic-bezier(.3,.1,.2,1) 2.6s forwards, fx3dz 6s ease 3.8s forwards; }
@keyframes fx3d { to { opacity: 1; transform: scale(1); } }
@keyframes fx3dz { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (max-width: 980px) { .fx-row { grid-template-columns: 1fr; gap: 18px; } .fx-facts li { font-size: 15px; } }

/* «Хто за imecs» -- велике фото зверху, далi текст i три факти */
.p-prod-hero { position: relative; margin: 0 0 clamp(24px, 4vw, 40px); aspect-ratio: 21 / 9; border-radius: 24px; border: 1px solid #ECECEA; overflow: hidden; }
.p-prod-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 64px); align-items: end; }
.p-prod-facts { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.p-prod-facts li { padding: 22px; border-radius: 18px; background: #F6F6F4; display: grid; gap: 6px; }
.p-prod-facts b { font: 600 clamp(22px, 2.4vw, 30px)/1.15 var(--font-display); letter-spacing: -.02em; }
.p-prod-facts span { color: #55585E; font-size: 15px; line-height: 1.45; }
@media (max-width: 980px) { .p-prod-body, .p-prod-facts { grid-template-columns: 1fr; } .p-prod-hero { aspect-ratio: 4 / 3; } }

/* Цiна -- лише цiни */
.price-card.solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin-left: auto !important; margin-right: auto !important; }
.price-card.solo .p-vs { margin: 22px 0 18px; }

/* «Для кого» -- вкладки, текст без картинок */
.seg .tpanel { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; text-align: left; }

/* Закрiплена кнопка на телефонi: з'являється, коли перша кнопка пiшла з екрана; ховається бiля фiнальної */
.stick-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 300; display: none; transform: translateY(140%); transition: transform .3s ease; }
.stick-cta .btn { width: 100%; justify-content: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.stick-cta .stick-s { opacity: .7; font-weight: 400; margin-left: 6px; }
.stick-cta.on { transform: none; }
@media (max-width: 980px) { .stick-cta:not([hidden]) { display: block; } body.res-open .stick-cta, body.kind-open .stick-cta { display: none !important; } }
.p-prod-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-prod-hero .chip { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); }
.fx-3d > img { padding: 4%; box-sizing: border-box; }
@media (min-width: 981px) { .fx-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .fx-pic.fx-anim { max-width: 540px; width: 100%; } .fx-t { font-size: 26px; } .fx-d { font-size: 17px; } }

/* 21.11 (3): власник -- «картинка злiва, текст справа й на телефонi»; шари розходяться, коли на екранi; гарантiї */
@media (max-width: 980px) {
  .fx-row { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr) !important; gap: 14px !important; align-items: start; }
  .fx-n { margin-bottom: 4px; font-size: 11.5px; }
  .fx-t { font-size: 16px !important; line-height: 1.25; }
  .fx-d { font-size: 13.5px !important; line-height: 1.45; margin-top: 6px !important; }
  .fx-facts { margin-top: 10px; gap: 6px; }
  .fx-facts li { font-size: 12.5px !important; padding-left: 20px; }
  .fx-facts li::before { width: 14px; height: 14px; top: 1px; background-size: 11px; }
  .fx-pic { border-radius: 14px; }
  .fx-tag { left: 6px; bottom: 6px; font-size: 10px; padding: 3px 7px; gap: 4px; }
  .fx-tag i { width: 7px; height: 7px; }
  .fx-ln { font-size: 9px !important; padding: 2px 6px; right: 2%; }
  .fx-rows { gap: 28px !important; }
}
.fx-layers .fx-stack img { transform: translateZ(0); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.fx-layers.go .fx-stack .l1 { transform: translateZ(80px); transition-delay: .3s; }
.fx-layers.go .fx-stack .l3 { transform: translateZ(165px); transition-delay: .5s; }
.fx-layers .fx-ln { opacity: 0; transition: opacity .4s ease 1.2s; }
.fx-layers.go .fx-ln { opacity: 1; }
@media (max-width: 980px) { .fx-layers.go .fx-stack .l1 { transform: translateZ(40px); } .fx-layers.go .fx-stack .l3 { transform: translateZ(80px); } }
.p-guar { list-style: none; padding: 0; margin: 20px auto 0; max-width: 860px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.p-guar li { padding: 18px 18px 18px 50px; border-radius: 18px; background: #fff; border: 1px solid #ECECEE; position: relative; display: grid; gap: 6px; }
.p-guar li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.p-guar b { font-size: 15.5px; line-height: 1.3; }
.p-guar span { font-size: 14px; line-height: 1.45; color: #55585E; }
@media (max-width: 980px) { .p-guar { grid-template-columns: 1fr; } }
.p-guar li::before { content: "✓" !important; background: #111 !important; border: 0 !important; box-shadow: none !important; color: #fff; font: 700 13px/22px var(--font-body, Inter, sans-serif); text-align: center; }
.p-guar li::before { transform: none !important; width: 22px !important; height: 22px !important; left: 16px !important; top: 18px !important; border-radius: 50% !important; }
