/* Лендінг CleanPilot. Палітра й шрифт — із застосунку (web/src/styles.css), подача — як на kalorista.com.ua:
   живий телефон, рух лише під .lp-motion (є JS і немає prefers-reduced-motion), інакше все в кінцевому стані. */
:root {
  --bg: #F5F9F7; --card: #fff; --ink: #12201D; --mute: #5E6A67; --soft: #8A9592; --line: #E1E9E6;
  --p: #006A60; --p2: #0B8A7C; --ph: #00564E; --mint: #74F8E5; --mint2: #C6F6EC; --mintbg: #E3F6F1;
  --dark: #0E2A26; --amber: #E39A3B;
  --r1: #FFE9D6; --r1d: #C9773A; --r2: #DCEFFF; --r2d: #3F7FBA; --r3: #E6F2DD; --r3d: #5E9849; --r4: #F1E6FA; --r4d: #8A63BA;
  --shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 22px 44px -32px rgba(0, 60, 52, .5);
  --ease: cubic-bezier(.2, .7, .3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; text-wrap: pretty; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--p); }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; font-weight: 800; }
h1 span { color: var(--p2); }
h2 { font-size: clamp(30px, 3.9vw, 46px); line-height: 1.08; font-weight: 800; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 10px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--p); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--p2); box-shadow: 0 0 0 0 rgba(11, 138, 124, .5); flex: none; }
.lp-motion .dot { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(11, 138, 124, .45); } 70% { box-shadow: 0 0 0 9px rgba(11, 138, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(11, 138, 124, 0); } }
.sub { color: var(--mute); font-size: 18px; max-width: 640px; margin-top: 18px; }
.note { margin: 18px 0 0; color: var(--soft); font-size: 14px; max-width: 860px; line-height: 1.7; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 26px; border: 0; border-radius: 16px; background: var(--p); color: #fff; font: 700 16px/1 Manrope, system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .2s; box-shadow: 0 14px 28px -16px rgba(0, 90, 80, .8); }
.btn:hover { background: var(--ph); color: #fff; transform: translateY(-2px); }
.btn:active { transform: none; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn--dark { background: var(--ink); box-shadow: 0 14px 28px -16px rgba(18, 32, 29, .9); }
.btn--dark:hover { background: #000; }
.btn--sm { height: 44px; padding: 0 18px; font-size: 14px; border-radius: 13px; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.top__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { border-radius: 11px; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.brand b i { font-style: normal; color: var(--p2); }
.brand small { font-size: 11.5px; color: var(--soft); font-weight: 600; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--mute); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.top__end { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; letter-spacing: .04em; }
.lang:hover { border-color: var(--p); color: var(--p); }
@media (max-width: 960px) { .nav { display: none; } }
@media (max-width: 420px) { .brand small { display: none; } .top__end .btn--sm { padding: 0 14px; } }

/* Перший екран */
.hero { position: relative; padding: 36px 0 80px; }
.hero::before { content: ""; position: absolute; inset: -80px 0 -200px; z-index: -1; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); background: radial-gradient(900px 560px at 82% 18%, rgba(116, 248, 229, .32), transparent 70%), radial-gradient(700px 420px at 0% 100%, rgba(198, 246, 236, .5), transparent 70%); pointer-events: none; }
.hero__in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 56px 0 110px; } .hero__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; } }
.hero h1 { margin-top: 4px; }
.lead { margin: 24px 0 30px; font-size: 19.5px; color: var(--mute); max-width: 600px; line-height: 1.55; }
.fine { margin: 12px 0 0; font-size: 13.5px; color: var(--soft); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.facts strong b { font: inherit; }
.facts span { display: block; margin-top: 4px; font-size: 13px; color: var(--soft); }
.play-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; font-size: 14px; color: var(--mute); }
.play-note p { margin: 0; }
.play-note b { color: var(--ink); }
.play-note__arrow { color: var(--p2); transform: rotate(-35deg); margin-top: 2px; }
@media (min-width: 1000px) { .lp-motion .play-note__arrow { animation: nudge 2.4s ease-in-out infinite; } }
@keyframes nudge { 50% { transform: rotate(-35deg) translateX(6px); } }
@media (max-width: 999px) { .play-note__arrow { transform: rotate(90deg); } }

.lp-motion .lp-rise { animation: rise .8s var(--ease) both; }
.lp-motion .hero__copy > .lp-rise:nth-child(2) { animation-delay: .08s; }
.lp-motion .hero__copy > .lp-rise:nth-child(3) { animation-delay: .16s; }
.lp-motion .hero__copy > .lp-rise:nth-child(4) { animation-delay: .24s; }
.lp-motion .hero__copy > .lp-rise:nth-child(5) { animation-delay: .3s; }
.lp-motion .hero__copy > .lp-rise:nth-child(n+6) { animation-delay: .38s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Сцена з телефоном */
.stage { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; min-height: 700px; justify-content: center; }
.orbit { position: absolute; left: 50%; top: 47%; width: 500px; height: 500px; margin: -250px 0 0 -250px; border-radius: 50%; background: radial-gradient(circle, rgba(116, 248, 229, .28) 0 54%, transparent 55%); pointer-events: none; }
.orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(0, 106, 96, .18); }
.orbit__item { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; border: 4px solid #fff; box-shadow: 0 14px 30px -12px rgba(0, 60, 52, .45); transform: rotate(calc(var(--i) * 90deg + 30deg)) translateX(250px) rotate(calc(var(--i) * -90deg - 30deg)); }
.lp-motion .orbit__item { animation: orbit 36s linear infinite; animation-delay: calc(var(--i) * -9s); }
@keyframes orbit { from { transform: rotate(0deg) translateX(250px) rotate(0deg); } to { transform: rotate(360deg) translateX(250px) rotate(-360deg); } }
.tint-r1 { background: var(--r1); color: var(--r1d); } .tint-r2 { background: var(--r2); color: var(--r2d); }
.tint-r3 { background: var(--r3); color: var(--r3d); } .tint-r4 { background: var(--r4); color: var(--r4d); }

.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: 0 18px 36px -18px rgba(0, 60, 52, .55); font-size: 13.5px; font-weight: 700; white-space: nowrap; pointer-events: none; }
/* Плашки сидять на рамці телефона й не закривають кнопок демо. */
.float--a { left: -104px; top: -16px; }
.float--b { right: -96px; top: 50%; }
@media (max-width: 1239px) { .float--b { right: -18px; } }
.lp-motion .float--a { animation: bob 6s ease-in-out infinite; }
.lp-motion .float--b { animation: bob 7s ease-in-out -2.5s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.float__ok { width: 24px; height: 24px; border-radius: 8px; background: var(--mint); color: var(--dark); display: grid; place-items: center; }
.float__fire { width: 26px; height: 26px; border-radius: 9px; background: #FFEBD9; color: #E0702A; display: grid; place-items: center; }

/* Телефон: застосунок 375 px завширшки, масштабований у рамку */
.device { --w: 330px; --h: 660px; --s: .88; position: relative; z-index: 2; width: calc(var(--w) + 22px); padding: 11px; border-radius: 52px; background: #121816; box-shadow: 0 50px 80px -40px rgba(0, 50, 44, .6), 0 0 0 1.5px #2b3532 inset, 0 0 0 1px rgba(255, 255, 255, .5); }
.device__status, .device__bar, .device__screen { width: var(--w); }
.device__status { position: relative; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 30px; background: #F4FBF8; border-radius: 41px 41px 0 0; font-size: 13px; font-weight: 800; color: var(--ink); }
.device__notch { position: absolute; left: 50%; top: 8px; width: 92px; height: 22px; margin-left: -46px; border-radius: 12px; background: #121816; }
.device__sig { display: flex; gap: 2px; align-items: flex-end; height: 10px; }
.device__sig i { width: 3px; border-radius: 1px; background: var(--ink); }
.device__sig i:nth-child(1) { height: 5px; } .device__sig i:nth-child(2) { height: 7px; } .device__sig i:nth-child(3) { height: 10px; }
.device__bar { height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: var(--mintbg); font-size: 11.5px; font-weight: 700; color: var(--p); }
.device__bar > span { display: flex; align-items: center; gap: 7px; }
.device__bar button { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 4px 2px; font: 700 11.5px Manrope, system-ui, sans-serif; color: var(--p); cursor: pointer; }
.device__bar button:hover { color: var(--ink); }
.device__screen { position: relative; height: calc(var(--h) - 66px); overflow: hidden; border-radius: 0 0 41px 41px; background: #F4FBF8; }
.device__screen iframe { position: absolute; left: 0; top: 0; width: 375px; height: calc((var(--h) - 66px) / var(--s)); border: 0; transform: scale(var(--s)); transform-origin: 0 0; background: #F4FBF8; }
.stage__under { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12.5px; color: var(--soft); font-weight: 600; }
@media (max-width: 999px) { .stage { min-height: 0; } .orbit { display: none; } .float--a { left: -14px; top: -18px; } .float--b { right: -14px; top: 46%; } }
@media (max-width: 560px) { .float--b { display: none; } }
@media (max-width: 420px) {
  .device { --w: 300px; --h: 610px; --s: .8; border-radius: 46px; padding: 9px; width: calc(var(--w) + 18px); }
  .device__status { border-radius: 37px 37px 0 0; } .device__screen { border-radius: 0 0 37px 37px; }
  .float { font-size: 12px; padding: 8px 11px 8px 8px; }
}

/* Форма раннього доступу */
.cp-form { max-width: 560px; }
.cp-form__row { display: flex; gap: 6px; padding: 6px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.cp-form__row:focus-within { border-color: var(--p2); box-shadow: 0 0 0 4px rgba(11, 138, 124, .14), var(--shadow); }
.cp-form input[type="email"] { flex: 1; min-width: 0; height: 56px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font: 500 17px Manrope, system-ui, sans-serif; outline: none; }
.cp-form input[type="email"]::placeholder { color: #9AA5A2; }
.cp-form .btn { box-shadow: none; }
.cp-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14.5px; color: var(--mute); cursor: pointer; line-height: 1.45; }
.cp-check input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--p); flex-shrink: 0; }
.cp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cp-form__msg { margin: 10px 0 0; font-weight: 600; font-size: 14.5px; }
.cp-form__msg:empty { display: none; }
.cp-form__msg.err { color: #BA1A1A; }
.cp-done { display: flex; gap: 14px; align-items: flex-start; max-width: 560px; padding: 20px; border-radius: 20px; background: var(--mintbg); color: var(--dark); animation: rise .5s var(--ease) both; }
.cp-done svg { flex-shrink: 0; color: var(--p); }
.cp-done p { margin: 0; }
.cp-done b { display: block; font-size: 18px; margin-bottom: 4px; }
@media (max-width: 540px) { .cp-form__row { flex-direction: column; } .cp-form .btn { width: 100%; } }

/* Розділи */
.section { padding: 80px 0; }
@media (min-width: 1000px) { .section { padding: 116px 0; } }
.section--tint { background: linear-gradient(180deg, rgba(227, 246, 241, 0), rgba(227, 246, 241, .9) 18%, rgba(227, 246, 241, .9) 82%, rgba(227, 246, 241, 0)); }
.lp-motion [data-anim] .eyebrow, .lp-motion [data-anim] h2, .lp-motion [data-anim] .sub { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.lp-motion [data-anim] h2 { transition-delay: .08s; }
.lp-motion [data-anim] .sub { transition-delay: .16s; }
.lp-motion [data-anim].is-in .eyebrow, .lp-motion [data-anim].is-in h2, .lp-motion [data-anim].is-in .sub { opacity: 1; transform: none; }

.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.steps li { position: relative; padding: 28px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); }
.steps__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 20px; }
.steps li:nth-child(2) .steps__n { background: var(--p); }
.steps li:nth-child(3) .steps__n { background: var(--mint); color: var(--dark); }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: var(--mute); font-size: 15.5px; }
.lp-motion .steps li { opacity: 0; transform: translateY(26px); }
.lp-motion .is-in .steps li { opacity: 1; transform: none; transition: opacity .6s, transform .7s var(--ease); transition-delay: calc(.2s + var(--i) * .12s); }

.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } .split--flip .split__art { order: 2; } }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 8px; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%230E2A26' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.lp-motion [data-anim] .ticks li { opacity: 0; transform: translateX(-12px); }
.lp-motion [data-anim].is-in .ticks li { opacity: 1; transform: none; transition: opacity .5s, transform .6s var(--ease); }
.lp-motion [data-anim].is-in .ticks li:nth-child(1) { transition-delay: .35s; } .lp-motion [data-anim].is-in .ticks li:nth-child(2) { transition-delay: .47s; } .lp-motion [data-anim].is-in .ticks li:nth-child(3) { transition-delay: .59s; }

/* Картка «Дім» з наповненням шкал */
.homecard { max-width: 460px; margin: 0 auto; padding: 26px; border-radius: 30px; background: var(--card); box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 40px 70px -40px rgba(0, 60, 52, .55); }
.homecard__head { display: flex; align-items: center; justify-content: space-between; }
.homecard__head b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.homecard__ring { position: relative; display: grid; place-items: center; width: 64px; height: 64px; font-size: 15px; font-weight: 800; }
.homecard__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.homecard__ring circle { fill: none; stroke: var(--line); stroke-width: 5; }
.homecard__ring .fill { stroke: var(--p); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 34; }
.homecard__ring em { font-style: normal; }
.lp-motion .homecard__ring .fill { stroke-dashoffset: 100; }
.lp-motion .is-in .homecard__ring .fill { stroke-dashoffset: 34; transition: stroke-dashoffset 1.6s cubic-bezier(.3, .8, .3, 1) .4s; }
.homecard__overall { margin: 2px 0 14px; font-size: 13px; color: var(--soft); }
.homecard__alert { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 14px 8px 8px; border-radius: 12px; border: 1px solid #F3D3AE; background: #FFF6EC; font-size: 13.5px; font-weight: 700; color: #8A4B12; }
.homecard__alert span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--amber); color: #fff; font-weight: 800; }
.lp-motion .is-in .homecard__alert { animation: attention 2.6s ease-in-out 1.8s infinite; }
@keyframes attention { 0%, 100% { box-shadow: 0 0 0 0 rgba(227, 154, 59, 0); } 50% { box-shadow: 0 0 0 6px rgba(227, 154, 59, .16); } }
.homecard__rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.homecard__rooms li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: #F6F9F8; }
.homecard__ic { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.homecard__name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.homecard__name b { font-size: 15px; }
.homecard__name small { font-size: 12px; color: var(--soft); }
.homecard__bar { height: 7px; margin-top: 8px; border-radius: 4px; background: #E3EAE7; overflow: hidden; }
.homecard__bar i { display: block; height: 100%; width: var(--v); border-radius: 4px; background: var(--p); }
.homecard__rooms li.low .homecard__bar i { background: var(--amber); }
.lp-motion .homecard__bar i { width: 4%; }
.lp-motion .is-in .homecard__bar i { width: var(--v); transition: width 1.3s cubic-bezier(.3, .8, .3, 1); transition-delay: calc(.5s + var(--i) * .15s); }

/* Знімки екранів у рамці */
.shot { position: relative; margin: 0 auto; width: fit-content; }
.mini-device { width: 290px; padding: 10px; border-radius: 46px; background: #121816; box-shadow: 0 50px 80px -40px rgba(0, 50, 44, .6), 0 0 0 1.5px #2b3532 inset; }
.mini-device img { border-radius: 36px; width: 100%; }
.shot__chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .95); box-shadow: 0 18px 36px -18px rgba(0, 60, 52, .55); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.shot__chip svg { color: var(--p2); flex: none; }
.shot__chip--tip { left: -70px; bottom: 150px; }
.shot__chip--a { right: -70px; top: 120px; } .shot__chip--b { left: -60px; top: 230px; }
.av { width: 22px; height: 22px; border-radius: 50%; }
.av--a { background: var(--mint); } .av--b { background: #CCE5FF; }
.lp-motion .shot__chip { opacity: 0; transform: translateY(14px) scale(.94); }
.lp-motion .is-in .shot__chip { opacity: 1; transform: none; transition: opacity .5s, transform .6s cubic-bezier(.2, .8, .3, 1.3); transition-delay: .6s; }
.lp-motion .is-in .shot__chip--b { transition-delay: .8s; }
.lp-motion .is-in .shot__chip--tip { animation: bob 7s ease-in-out 1.4s infinite; }
@media (max-width: 560px) { .shot__chip--tip { left: -8px; bottom: 90px; } .shot__chip--a { right: -8px; } .shot__chip--b { left: -8px; } .mini-device { width: 260px; } }

/* Бенто з живими малюнками */
.bento { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 236px; padding: 24px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 30px 50px -30px rgba(0, 60, 52, .55); }
.tile h3 { margin-top: 18px; }
.tile p { margin: 6px 0 0; font-size: 14.5px; color: var(--mute); }
.lp-motion .tile { opacity: 0; transform: translateY(24px); }
.lp-motion .is-in .tile { opacity: 1; transform: none; transition: opacity .6s, transform .7s var(--ease); }
.lp-motion .is-in .tile:nth-child(2) { transition-delay: .08s; } .lp-motion .is-in .tile:nth-child(3) { transition-delay: .16s; }
.lp-motion .is-in .tile:nth-child(4) { transition-delay: .24s; } .lp-motion .is-in .tile:nth-child(5) { transition-delay: .32s; } .lp-motion .is-in .tile:nth-child(6) { transition-delay: .4s; }
.ill { position: relative; height: 92px; display: flex; align-items: center; gap: 12px; }

.ill-scan { width: 150px; justify-content: center; border-radius: 16px; background: linear-gradient(135deg, #DDEFE9, #F1E6FA); overflow: hidden; color: var(--p); }
.ill-scan::before { content: ""; position: absolute; inset: 10px; border-radius: 10px; background: linear-gradient(var(--p), var(--p)) left top/18px 2.5px, linear-gradient(var(--p), var(--p)) left top/2.5px 18px, linear-gradient(var(--p), var(--p)) right top/18px 2.5px, linear-gradient(var(--p), var(--p)) right top/2.5px 18px, linear-gradient(var(--p), var(--p)) left bottom/18px 2.5px, linear-gradient(var(--p), var(--p)) left bottom/2.5px 18px, linear-gradient(var(--p), var(--p)) right bottom/18px 2.5px, linear-gradient(var(--p), var(--p)) right bottom/2.5px 18px; background-repeat: no-repeat; }
.ill-scan__line { position: absolute; left: 0; right: 0; top: 50%; height: 2.5px; background: var(--mint); box-shadow: 0 0 14px 3px rgba(116, 248, 229, .9); }
.lp-motion .ill-scan__line { animation: scan 2.8s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 10%; } 50% { top: 88%; } }
.ill-scan__score { position: absolute; right: -2px; bottom: 6px; display: flex; flex-direction: column; align-items: center; padding: 5px 9px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 19px; font-weight: 800; line-height: 1; }
.ill-scan__score small { font-size: 9px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.lp-motion .ill-scan__score { opacity: 0; transform: scale(.6); }
.lp-motion .is-in .ill-scan__score { opacity: 1; transform: none; transition: opacity .4s, transform .5s cubic-bezier(.2, .8, .3, 1.4); transition-delay: 1.1s; }

.ill-tip { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; color: var(--p2); }
.ill-tip span { position: relative; padding: 11px 14px; border-radius: 4px 16px 16px 16px; background: var(--mintbg); color: var(--dark); font-size: 13.5px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-motion .ill-tip span { clip-path: inset(0 100% 0 0); }
.lp-motion .is-in .ill-tip span { clip-path: inset(0 0 0 0); transition: clip-path 1.6s steps(28, end) .6s; }

.ill-chips { flex-wrap: wrap; align-content: center; gap: 8px; }
.ill-chips span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px 0 9px; border-radius: 11px; background: var(--mintbg); color: var(--dark); font-size: 13.5px; font-weight: 700; }
.ill-chips svg { width: 18px; height: 18px; padding: 2px; border-radius: 6px; background: var(--p); color: #fff; stroke-width: 2.4; }
.lp-motion .ill-chips span { background: #F1F4F3; color: var(--soft); }
.lp-motion .ill-chips svg { background: #D5DDDA; }
.lp-motion .is-in .ill-chips span { background: var(--mintbg); color: var(--dark); transition: background .3s, color .3s; transition-delay: calc(.6s + var(--i) * .35s); }
.lp-motion .is-in .ill-chips svg { background: var(--p); transition: background .3s; transition-delay: calc(.6s + var(--i) * .35s); }

.ill-offline { color: var(--p); }
.ill-offline svg { width: 48px; height: 48px; }
.ill-offline span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; background: #F1F4F3; font-size: 13px; font-weight: 700; color: var(--ink); }
.ill-offline span i { width: 8px; height: 8px; border-radius: 50%; background: #2DB37A; box-shadow: 0 0 0 4px rgba(45, 179, 122, .18); }

.ill-lock span { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; background: var(--ink); color: var(--mint); }
.ill-lock span::before, .ill-lock span::after { content: ""; position: absolute; inset: -1px; border-radius: 24px; border: 2px solid rgba(11, 138, 124, .35); }
.lp-motion .ill-lock span::before { animation: ripple 2.8s ease-out infinite; }
.lp-motion .ill-lock span::after { animation: ripple 2.8s ease-out 1.4s infinite; }
@keyframes ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

.ill-streak { color: #E0702A; gap: 16px; }
.ill-streak svg { width: 40px; height: 40px; }
.ill-streak__bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; }
.ill-streak__bars i { display: block; width: 14px; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(var(--p2), var(--p)); }
.ill-streak__bars i:last-child { background: linear-gradient(#FFB36B, #E0702A); }
.lp-motion .ill-streak__bars i { height: 8%; }
.lp-motion .is-in .ill-streak__bars i { height: var(--h); transition: height 1s cubic-bezier(.3, .8, .3, 1.2) .6s; }
.lp-motion .is-in .ill-streak__bars i:nth-child(2) { transition-delay: .68s; } .lp-motion .is-in .ill-streak__bars i:nth-child(3) { transition-delay: .76s; }
.lp-motion .is-in .ill-streak__bars i:nth-child(4) { transition-delay: .84s; } .lp-motion .is-in .ill-streak__bars i:nth-child(5) { transition-delay: .92s; }
.lp-motion .is-in .ill-streak__bars i:nth-child(6) { transition-delay: 1s; } .lp-motion .is-in .ill-streak__bars i:nth-child(7) { transition-delay: 1.08s; }

/* Таблиця ритмів */
.table { margin-top: 34px; overflow-x: auto; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); font-weight: 800; }
tbody th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: #F6F9F8; }
td.up { color: var(--p); font-weight: 800; }
td.up::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--p2); vertical-align: middle; }
@media (max-width: 640px) { table { font-size: 13.5px; } th, td { padding: 11px 8px; } th:first-child { padding-left: 14px; } thead th { font-size: 10.5px; letter-spacing: .03em; } td.up::before { display: none; } }

/* Бета-тест: темний блок */
.beta { display: grid; gap: 36px; align-items: center; padding: 56px 48px; border-radius: 36px; color: #fff; background: radial-gradient(120% 130% at 100% 0, #138C7E 0, #0B5A51 45%, #0E2A26 100%); position: relative; overflow: hidden; }
.beta::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(116, 248, 229, .28), transparent 70%); pointer-events: none; }
@media (min-width: 980px) { .beta { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; } }
.beta .eyebrow { color: var(--mint); }
.beta .dot { background: var(--mint); }
.beta h2 { color: #fff; }
.beta .sub { color: rgba(255, 255, 255, .78); }
.beta__steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.beta__steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .09); backdrop-filter: blur(6px); }
.beta__steps li > span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--p); font-weight: 800; }
.beta__steps b { display: block; font-size: 15.5px; }
.beta__steps small { display: block; margin-top: 3px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.beta__form { position: relative; z-index: 1; padding: 26px; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.beta__form .cp-form__row { box-shadow: none; background: #F6F9F8; }
.beta__form .fine a { color: var(--p); }
@media (max-width: 640px) { .beta { padding: 36px 20px; border-radius: 28px; } .beta__form { padding: 16px; border-radius: 22px; } }

/* Тарифи */
.plans { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { padding: 30px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.plan h3 { font-size: 16px; color: var(--soft); }
.plan__price { margin: 8px 0 0; font-size: 50px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.plan__per { margin: 8px 0 0; font-size: 14px; color: var(--soft); }
.plan ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 11px; }
.plan li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; }
.plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--mintbg) 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 3L14.5 7' fill='none' stroke='%23006A60' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.plan--pro { background: linear-gradient(160deg, #0B5A51, #0E2A26); color: #fff; }
.plan--pro h3, .plan--pro .plan__per { color: var(--mint); }
.plan--pro li::before { background-color: rgba(116, 248, 229, .16); background-image: 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 3L14.5 7' fill='none' stroke='%2374F8E5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.lp-motion .plan { opacity: 0; transform: translateY(24px); }
.lp-motion .is-in .plan { opacity: 1; transform: none; transition: opacity .6s .2s, transform .7s var(--ease) .2s; }
.lp-motion .is-in .plan--pro { transition-delay: .32s; }
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
@media (min-width: 760px) { .prices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.prices span { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 18px; background: #E9F1EE; font-size: 12.5px; color: var(--mute); font-weight: 600; }
.prices b { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }

/* Стрічка статей */
.strip { margin-top: 36px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.strip__track { display: flex; gap: 16px; width: max-content; padding: 6px 0 22px; }
.lp-motion .strip__track { animation: marquee 80s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.guide { width: 260px; flex: none; border-radius: 22px; overflow: hidden; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: 0 18px 36px -28px rgba(0, 60, 52, .6); transition: transform .3s var(--ease); }
.guide:hover { transform: translateY(-6px) rotate(-.5deg); }
.guide img { width: 100%; height: 160px; object-fit: cover; background: #E3EAE7; }
.guide span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 14px 16px 16px; font-weight: 700; font-size: 15px; line-height: 1.35; min-height: 72px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.more:hover svg { transform: translateX(4px); }
.more svg { transition: transform .2s; }
@media (max-width: 640px) { .guide { width: 210px; } .guide img { height: 128px; } }

/* FAQ */
.faq { max-width: 880px; }
.faq h2 { margin-bottom: 26px; }
.faq details { border-radius: 20px; background: var(--card); box-shadow: var(--shadow); margin-top: 12px; padding: 0 24px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--mintbg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%23006A60' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12h12' fill='none' stroke='%23006A60' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.faq details p { color: var(--mute); margin: 0; padding: 0 0 22px; }

/* Фінал */
.final { position: relative; overflow: hidden; padding: 110px 0; text-align: center; }
.final::before, .final::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(116, 248, 229, .35), transparent 70%); pointer-events: none; }
.final::before { left: -120px; top: -150px; } .final::after { right: -110px; bottom: -170px; }
.lp-motion .final::before { animation: drift 14s ease-in-out infinite; }
.lp-motion .final::after { animation: drift 14s ease-in-out -7s infinite; }
@keyframes drift { 50% { transform: translate(40px, 30px) scale(1.1); } }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .sub { margin: 18px auto 30px; }

/* Підвал */
.foot { padding: 48px 0 32px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--mute); background: var(--card); }
.foot__in { display: grid; gap: 24px; }
@media (min-width: 860px) { .foot__in { grid-template-columns: 1fr 1.5fr; } }
.foot__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.foot__brand img { border-radius: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; }
.foot nav a { color: var(--mute); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot__copy { margin-top: 28px; font-size: 13px; color: var(--soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip { overflow-x: auto; }
  * { transition: none !important; animation: none !important; }
}
