/* BeVisible A: home pages (inc/home-view.php). Everything sits inside <main class="bva">.
   Tokens, header and footer: a-base.css. One accent on the page: the red of the logo. */

.bva a { color: inherit; text-decoration: none; }
.bva button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.bva .w { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.bva .narrow { max-width: 760px; }
.bva .narrow.mid { margin: 0 auto; }

/* ---------- Buttons ---------- */

.pill { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--a-fg); color: #fff; font-weight: 500; font-size: 16px; white-space: nowrap; transition: transform 0.15s, background 0.15s; }
.bva a.pill { color: #fff; }
.pill:hover { background: #2a2a2e; transform: translateY(-1px); }
.bva a.pill.ghost { background: transparent; color: var(--a-fg); box-shadow: inset 0 0 0 1px var(--a-line); }
.bva a.pill.ghost:hover { background: var(--a-soft); }
.pill.sm { height: 38px; padding: 0 18px; font-size: 14px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.micro { font-size: 14px; color: var(--a-text); margin-top: 14px; }
.fine { font-size: 13px; line-height: 1.5; color: var(--a-mut); margin-top: 18px; }
.bva .fine a { text-decoration: underline; text-underline-offset: 2px; }
.ctarow { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 44px; }
.ctarow span { font-size: 14px; color: var(--a-mut); }

/* ---------- Hero ---------- */

.hero { padding: 156px 0 0; }
.hero-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: end; }
.tagline { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--a-mut); margin-bottom: 26px; }
.tagline::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--a-red); }
.bva h1 { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 400; }
.bva h1 .lp-accent { display: block; color: var(--a-red); }
.hero-side .lead { font-size: 18px; color: var(--a-text); margin-bottom: 26px; }
.proof { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--a-text); margin-top: 10px; }
.proof::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1faa59; box-shadow: 0 0 0 4px rgba(31, 170, 89, 0.14); }

/* Explainer video: the 16:9 cut in a browser window, the 9:16 cut in a phone that stands in front of it.
   Wide screens show both; up to 1000px one device at a time, picked with the switch (data-ex on .ex). */
.ex { margin-top: 64px; background: var(--a-soft); border: 1px solid var(--a-line); border-radius: 28px; padding: 40px 48px 64px; }
.ex-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.ex .eyebrow { margin-bottom: 10px; }
.bva .ex-t { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.15; letter-spacing: -0.03em; max-width: 820px; }
.ex-sw { display: none; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--a-line); }
.bva .ex-sw button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--a-mut); white-space: nowrap; }
.bva .ex[data-ex="phone"] .ex-sw [data-ex-to="phone"], .bva .ex[data-ex="wide"] .ex-sw [data-ex-to="wide"] { background: var(--a-fg); color: #fff; }
.ex-stage { position: relative; max-width: 1000px; margin: 0 auto; }
.ex-browser { width: 80%; margin-left: auto; border-radius: 16px; overflow: hidden; background: #1c1c1f; box-shadow: 0 0 0 1px #2c2c30, 0 40px 70px -40px rgba(0, 0, 0, 0.5); }
.ex-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; }
.ex-bar i { width: 10px; height: 10px; border-radius: 50%; background: #55555b; }
.ex-bar span { flex: 1; max-width: 420px; height: 24px; margin-left: 12px; padding: 0 12px; border-radius: 7px; background: #2b2b30; color: #b9b9c0; font-size: 12px; line-height: 24px; }
.ex-screen { position: relative; background: #0f172a; cursor: pointer; }
.ex-browser .ex-screen { aspect-ratio: 16 / 9; }
.ex-phone { position: absolute; left: 0; bottom: -28px; width: 23.5%; border: 9px solid #121214; border-radius: 34px; overflow: hidden; background: #121214; box-shadow: 0 0 0 1.5px #c7c7cc, 0 30px 60px -30px rgba(0, 0, 0, 0.55); }
/* The phone stands over the left edge of the browser screen. The device that was started last lies on top
   (owner 13.10.2026: «z-index by what is chosen»), so the phone never covers the play button of the wide player. */
.ex-browser { position: relative; }
.ex.wide-on .ex-browser { z-index: 2; }
.ex-phone .ex-screen { aspect-ratio: 9 / 16; border-radius: 25px; overflow: hidden; }
.ex-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.bva .ex-pl { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: #fff; color: var(--a-fg); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform 0.15s; }
.ex-pl svg { width: 34px; height: 34px; margin-left: 3px; }
.ex-screen:hover .ex-pl { transform: scale(1.06); }
.bva .ex-phone .ex-pl { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.ex-phone .ex-pl svg { width: 24px; height: 24px; }
.ex-screen.playing { cursor: default; }
.ex-screen.playing .ex-pl { display: none; }

/* Demo panel: niche tabs, «було» (the client's chat) and «стало» (the Reel) as two phones */
.demo { margin-top: 64px; background: var(--a-soft); border: 1px solid var(--a-line); border-radius: 28px; padding: 10px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; height: 46px; padding: 0 20px; border-radius: 18px; font-size: 15px; color: var(--a-mut); transition: background 0.15s, color 0.15s; }
.bva .tab { color: var(--a-mut); }
.bva .tab:hover { color: var(--a-fg); }
.bva .tab.is-on { background: #fff; color: var(--a-fg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--a-line); }
.panes { margin-top: 10px; background: #fff; border: 1px solid var(--a-line); border-radius: 20px; overflow: hidden; }
.pane { display: none; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 44px 56px; min-height: 560px; }
.pane.is-on { display: grid; animation: bva-fade 0.35s ease; }
@keyframes bva-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.kicker { font-size: 14px; color: var(--a-mut); margin-bottom: 28px; }
.flow-s { font-size: 19px; color: var(--a-mut); margin-bottom: 8px; }
.flow-s::after { content: " \2192"; }
.flow-v { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.15; letter-spacing: -0.03em; }
.pane-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 34px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; border-bottom: 1px solid var(--a-fg); padding-bottom: 3px; }
.link:hover { opacity: 0.6; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #111; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel[data-play] { cursor: pointer; }
.pane-reel .reel { height: 470px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35); }
.pane-reel .pl { left: 50%; top: 50%; bottom: auto; width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.pane-reel .pl svg { width: 30px; height: 30px; }
.ba { display: flex; align-items: center; gap: 20px; }
.ba-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ba-tag { font-size: 13px; line-height: 1; padding: 7px 14px; border-radius: 999px; background: var(--a-soft); color: var(--a-text); }
.ba-tag.is-after { background: var(--a-fg); color: #fff; }
.ba-arrow { flex: none; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-top: 41px; border-radius: 50%; border: 1px solid var(--a-line); color: var(--a-mut); }

/* The «було» phone: the client's chat from the case page (markup: wa_chat in the parent's case_craft.py) */
.ba .bv-case-msg { display: flex; flex-direction: column; justify-content: flex-end; width: 264px; height: 470px; padding: 0 10px 14px; overflow: hidden; background: #efeae2; color: #111b21; }
.ba .bv-case-msg-head { display: flex; align-items: center; gap: 9px; margin: 0 -10px auto; padding: 10px 12px; background: #008069; color: #fff; font-size: 13px; line-height: 1.3; }
.ba .bv-case-msg-head em { display: block; font-style: normal; font-size: 11px; color: #d7f0ea; }
.bv-wa-ava { display: flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #dfe5e7; color: #54656f; font-weight: 700; }
.bv-wa-body { flex: 1; min-height: 0; display: flex; flex-direction: column-reverse; gap: 6px; overflow-y: auto; margin: 0 -4px; padding: 10px 4px 0; scrollbar-width: none; font-size: 12.5px; line-height: 1.4; }
.bv-wa-body::-webkit-scrollbar { display: none; }
.bv-wa-date { align-self: center; margin: 6px 0 2px; padding: 3px 9px; border-radius: 8px; background: #fff; font-size: 11px; color: #54656f; box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13); }
.bv-wa-body p, .bv-wa-doc { align-self: flex-start; max-width: 90%; padding: 7px 9px 5px; background: #fff; border-radius: 4px 12px 12px 12px; box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13); }
.bv-wa-time { float: right; margin: 5px 0 -3px 8px; font-size: 10px; font-style: normal; line-height: 1.2; color: #667781; }
.bv-wa-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bv-wa-readmore { font-size: 12px; font-weight: 600; color: #027eb5; }
.bv-wa-album { position: relative; align-self: flex-start; width: 58%; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: #fff; border-radius: 4px 12px 12px 12px; box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13); }
.bv-wa-album.is-single { grid-template-columns: 1fr; }
.bv-wa-album .bv-wa-time { position: absolute; right: 8px; bottom: 6px; margin: 0; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.bv-wa-th { position: relative; display: block; aspect-ratio: 1; border-radius: 7px; overflow: hidden; background: #dfe5e7; }
.bv-wa-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bv-wa-th.is-video::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(0, 0, 0, 0.45); }
.bv-wa-th.is-video::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -3px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; }
.bv-wa-th.has-more::before, .bv-wa-th.has-more::after { display: none; }
.bv-wa-th b { position: absolute; left: 5px; bottom: 4px; font-size: 10px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7); }
.bv-wa-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(11, 20, 26, 0.5); color: #fff; font-size: 19px; font-weight: 700; }
.bv-wa-doc { display: flex; align-items: center; gap: 8px; }
.bv-wa-doc span { flex: none; padding: 5px 6px; border-radius: 4px; background: #e53935; color: #fff; font-size: 10px; font-weight: 700; }
.bv-wa-doc .bv-wa-time { align-self: flex-end; margin: 0 0 -2px auto; }

/* Row of guarantees under the panel */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid var(--a-line); border-bottom: 1px solid var(--a-line); }
.trust div { padding: 22px 24px 24px 0; border-right: 1px solid var(--a-line); }
.trust div + div { padding-left: 24px; }
.trust div:last-child { border-right: 0; }
.bva .trust h3 { font-size: 17px; }
.trust p { font-size: 14px; color: var(--a-mut); margin-top: 6px; line-height: 1.45; }

/* ---------- Sections ---------- */

.bva section { padding: 128px 0 0; }
.eyebrow { font-size: 14px; color: var(--a-mut); margin-bottom: 18px; }
.bva h2 { font-size: clamp(30px, 3.9vw, 54px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 400; }
.bva h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
.sub { font-size: 19px; color: var(--a-text); margin-top: 20px; max-width: 640px; }
.story .big { font-size: clamp(24px, 2.9vw, 38px); line-height: 1.22; letter-spacing: -0.025em; }
.story .big + .big { margin-top: 0.7em; color: #77777d; }
.story .note { margin-top: 34px; font-size: 17px; color: var(--a-text); padding-top: 22px; border-top: 1px solid var(--a-line); }

/* How it works: steps and the chat scene */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 56px; }
.steps { list-style: none; border-top: 1px solid var(--a-line); }
.steps li { display: grid; grid-template-columns: 54px 1fr; padding: 26px 0; border-bottom: 1px solid var(--a-line); }
.bva .n { font-size: 13px; color: var(--a-mut); padding-top: 5px; font-variant-numeric: tabular-nums; }
.steps p, .aside p, .layers p { color: var(--a-mut); margin-top: 6px; font-size: 16px; }
.scene { background: var(--a-soft); border: 1px solid var(--a-line); border-radius: 28px; padding: 34px 30px; min-height: 560px; display: flex; flex-direction: column; justify-content: center; }
.chat { max-width: 390px; margin: 0 auto; width: 100%; background: #fff; border: 1px solid var(--a-line); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.3); }
.chat-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--a-line); font-weight: 500; font-size: 15px; line-height: 1.3; }
.chat-h img { width: 28px; height: 28px; border-radius: 7px; }
.chat-h small { display: block; font-weight: 400; color: var(--a-mut); font-size: 12px; }
.chat-b { padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; background: #fafaf9; }
.msg { max-width: 78%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.msg time { display: block; font-size: 10.5px; color: var(--a-mut); text-align: right; margin-top: 3px; }
.msg.me { align-self: flex-end; background: var(--a-fg); color: #fff; border-bottom-right-radius: 5px; }
.msg.me time { color: #9a9aa0; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--a-line); border-bottom-left-radius: 5px; }
.voice { display: flex; align-items: center; gap: 10px; }
.voice b { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; flex: none; }
.wave { display: flex; align-items: center; gap: 2px; height: 26px; }
.wave i { width: 2px; border-radius: 2px; background: #fff; opacity: 0.75; }
.voice span { font-size: 12px; color: #c9c9cf; }
.thumbs { display: flex; gap: 4px; }
.thumbs span { width: 58px; height: 76px; border-radius: 8px; overflow: hidden; background: #333; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.msg.bot .reel { width: 150px; border-radius: 12px; margin-bottom: 8px; }
.sep { align-self: center; font-size: 11px; color: var(--a-mut); padding: 2px 0; }
.aside { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--a-line); }

/* What you get: five decisions as plain rows */
.layers { list-style: none; margin-top: 56px; border-top: 1px solid var(--a-line); }
.layers li { display: grid; grid-template-columns: 54px 1fr 1.4fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--a-line); }
.layers p { margin: 0; }
.check { margin-top: 34px; font-size: 17px; color: var(--a-text); max-width: 760px; }

/* Cases: a strip of vertical Reels */
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.arrows { display: flex; gap: 8px; }
.bva .arrows button { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--a-line); display: grid; place-items: center; }
.bva .arrows button:hover { background: var(--a-soft); }
.arrows button:first-child svg { transform: scaleX(-1); }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--a-gutter); margin-top: 48px; padding: 0 var(--a-gutter) 8px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.card { flex: 0 0 272px; scroll-snap-align: start; }
.pl { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--a-red); display: grid; place-items: center; transition: opacity 0.2s; }
.reel.playing .pl { opacity: 0; }
.card-tag { font-size: 13px; color: var(--a-mut); margin-top: 14px; }
.card-t { display: block; font-size: 16px; line-height: 1.35; margin-top: 4px; letter-spacing: -0.01em; }
.card-t:hover { text-decoration: underline; text-underline-offset: 3px; }
.clients { margin-top: 48px; color: var(--a-mut); max-width: 760px; font-size: 16px; }

/* Price */
.price { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--a-line); }
.num { font-size: clamp(84px, 11vw, 160px); line-height: 0.9; letter-spacing: -0.06em; font-weight: 400; }
.num-sub { color: var(--a-mut); margin-top: 16px; font-size: 17px; }
.price ul { list-style: none; margin-bottom: 30px; }
.price li { padding: 15px 0 15px 26px; border-bottom: 1px solid var(--a-line); position: relative; font-size: 16px; }
.price li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 9px; height: 5px; border-left: 1.6px solid var(--a-fg); border-bottom: 1.6px solid var(--a-fg); transform: rotate(-45deg); }
.price li:first-child { padding-top: 0; }
.price li:first-child::before { top: 9px; }

/* Founder */
.who { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; background: var(--a-soft); border: 1px solid var(--a-line); border-radius: 28px; padding: 36px; }
.who img { border-radius: 20px; aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.who p { color: var(--a-text); margin-top: 16px; max-width: 560px; }
.who .eyebrow { margin-top: 0; color: var(--a-mut); }
.contacts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }

/* Questions */
.faq { margin-top: 44px; border-top: 1px solid var(--a-line); }
.bva details { border-bottom: 1px solid var(--a-line); }
.bva summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 19px; letter-spacing: -0.015em; cursor: pointer; }
.bva summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 14px; height: 14px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; background: var(--a-fg); transition: transform 0.2s; }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: none; }
.bva details p { color: var(--a-text); padding: 0 40px 24px 0; max-width: 680px; }

/* Request form (the parent's [bv_lead_form], dark block) */
.req { background: var(--a-fg); color: #fff; border-radius: 28px; padding: 72px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.req .sub { color: #b9b9bf; }
.req-alt { margin-top: 18px; font-size: 13px; color: #8d8d94; }
.bva .req-alt a, .bva .bv-form-note a, .bva .bv-form-done a, .bva .bv-form-error a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.bv-form { display: grid; gap: 14px; }
.bv-form label { display: block; font-size: 13px; color: #9a9aa0; margin-bottom: 8px; }
.bv-form input[type="text"], .bv-form input[type="tel"] { width: 100%; height: 54px; border-radius: 14px; border: 1px solid #333338; background: #161618; color: #fff; font: inherit; padding: 0 18px; outline: 0; }
.bv-form input::placeholder { color: #7f7f86; }
.bv-form input:focus { border-color: #fff; }
.bv-form input[aria-invalid="true"] { border-color: #ff6b6f; }
.bv-form .bv-via { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.bv-form .bv-via label { margin: 0; cursor: pointer; }
.bv-form .bv-via input { position: absolute; opacity: 0; pointer-events: none; }
.bv-form .bv-via span { display: block; padding: 7px 14px; border-radius: 999px; border: 1px solid #333338; font-size: 14px; color: #c9c9cf; transition: background 0.15s, color 0.15s; }
.bv-form .bv-via input:checked + span { background: #fff; border-color: #fff; color: #000; }
.bv-form .bv-via input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.bv-form .bv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bva .bv-form button { height: 54px; border-radius: 999px; background: #fff; color: #000; font-weight: 500; font-size: 16px; transition: background 0.15s; }
.bva .bv-form button:hover { background: #e9e9e9; }
.bva .bv-form button:disabled { opacity: 0.6; cursor: default; }
.bv-form-note { font-size: 12.5px; line-height: 1.5; color: #8d8d94; }
.bv-form-error { font-size: 14px; color: #ff8a8d; }
.bv-form-error:empty { display: none; }
.bv-form-done { padding: 24px; border: 1px solid #333338; border-radius: 18px; font-size: 17px; line-height: 1.5; }

/* Phone: the trial button stays at the bottom between the first screen and the form */
.sticky { display: none; transition: transform 0.25s, opacity 0.25s; }
.sticky.off { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* Blocks fade in once (only when JS runs: the parent sets the class "js" on <html>) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .rv { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1000px) {
	.hero { padding-top: 112px; }
	.hero-top { grid-template-columns: 1fr; gap: 28px; }
	.ex { margin-top: 44px; padding: 26px 22px 30px; }
	.ex-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
	.ex-sw { display: inline-flex; }
	.ex-browser { width: 100%; }
	.ex-phone { position: static; width: min(270px, 78%); margin: 0 auto; }
	.ex[data-ex="phone"] .ex-browser, .ex[data-ex="wide"] .ex-phone { display: none; }
	.pane { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; min-height: 0; }
	.ba { order: -1; justify-content: center; }
	.kicker { margin-bottom: 18px; }
	.pane-cta { margin-top: 22px; }
	.trust { grid-template-columns: 1fr 1fr; }
	.trust div { padding: 18px 14px 18px 0; }
	.trust div + div { padding-left: 0; }
	.trust div:nth-child(2n) { padding-left: 14px; border-right: 0; }
	.trust div:nth-child(-n + 2) { border-bottom: 1px solid var(--a-line); }
	.bva section { padding-top: 88px; }
	.ctarow { margin-top: 32px; }
	.how { grid-template-columns: 1fr; gap: 36px; }
	.scene { min-height: 0; padding: 22px 14px; }
	.aside { grid-template-columns: 1fr; gap: 26px; }
	.layers li { grid-template-columns: 40px 1fr; gap: 4px 0; }
	.layers p { grid-column: 2; }
	.price { grid-template-columns: 1fr; gap: 36px; }
	.who { grid-template-columns: 1fr; gap: 28px; padding: 22px; }
	.who img { max-width: 260px; }
	.req { grid-template-columns: 1fr; gap: 32px; padding: 44px 24px; }
	.card { flex-basis: 220px; }
	.arrows { display: none; }
	.sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; }
	.sticky .pill { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
	body footer { padding-bottom: 96px; }
}

@media (max-width: 560px) {
	.bva .w { padding: 0 18px; }
	.demo { margin-left: -8px; margin-right: -8px; border-radius: 22px; padding: 6px; }
	.ex { margin-left: -8px; margin-right: -8px; border-radius: 22px; padding: 22px 14px 24px; }
	.ex-bar { height: 30px; }
	.ex-bar span { height: 20px; line-height: 20px; font-size: 11px; }
	.tab { padding: 0 15px; height: 42px; }
	.cta .pill, .ctarow .pill, .pane-cta .pill { flex: 1 1 100%; }
	.ba { flex-direction: column; gap: 14px; }
	.ba-arrow { margin-top: 0; transform: rotate(90deg); }
	.ba .bv-case-msg { width: 214px; height: 380px; }
	.pane-reel .reel { height: 380px; }
	.bva summary { font-size: 17px; }
	.bva details p { padding-right: 0; }
}
