/* Лендинг Твикли. Светлая тёплая бумага снаружи, графитовое окно продукта внутри —
   того же цвета, что и само приложение. Один шрифт (Manrope 400/600), без картинок и видео. */
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(fonts/manrope-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(fonts/manrope-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --paper: #f4f2ed;
  --tint: #ece9e2;
  --card: #fff;
  --ink: #1a1a19;
  --ink-2: #3b3a37;
  --muted: #6f6d67;
  --line: #e0dcd3;
  --line-2: #d3cec3;
  /* Окно продукта — цвета приложения */
  --d-bg: #212121;
  --d-2: #2a2a2a;
  --d-3: #303030;
  --d-line: #3a3a3a;
  --d-ink: #ececec;
  --d-muted: #9d9d9d;
  --mint: #71ffa9;
  /* Маркеры полей — те же, что у помощника в приложении */
  --m0: 199 176 255;
  --m1: 255 214 90;
  --m2: 255 138 172;
  --m3: 150 222 120;
  --m4: 255 176 125;
  --m5: 120 196 255;
  --pen: #e0603f;
  --soft: cubic-bezier(.2, .7, .2, 1);
  --r: 22px;
  font: 400 17px/1.55 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); overflow-x: clip; }
h1, h2, h3, h4, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
::selection { background: rgb(var(--m3) / .45); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 14px; font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform .25s var(--soft), background-color .2s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 42px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #33322f; }
.btn-line { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { background: #fff; }
.btn-mint { background: var(--mint); color: #0d2a1a; }
.btn-mint:hover { background: #8fffbd; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: rgb(244 242 237 / .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { height: 68px; display: flex; align-items: center; gap: 32px; }
.brand svg { fill: var(--ink); }
.nav { display: flex; gap: 28px; margin-inline: auto; font-size: 15px; color: var(--ink-2); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--ink); }

/* Первый экран */
.hero { padding: clamp(48px, 9vh, 96px) 0 clamp(64px, 10vh, 112px); }
.hero-copy { text-align: center; }
h1, .h1 { font-weight: 600; font-size: clamp(38px, 5.8vw, 74px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.lead { max-width: 680px; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.stage { position: relative; isolation: isolate; margin: clamp(80px, 11vh, 110px) 0 84px; }
.stage::before { content: ""; position: absolute; z-index: -1; inset: 18% -4% -8%; border-radius: 50%; filter: blur(70px); opacity: .6;
  background: radial-gradient(40% 50% at 18% 40%, rgb(var(--m0)), transparent 70%), radial-gradient(35% 45% at 55% 70%, rgb(var(--m1)), transparent 70%), radial-gradient(40% 50% at 88% 35%, #71ffa9, transparent 70%); }

/* Вкладки дел */
.kinds { display: flex; gap: 4px; padding-left: 14px; overflow-x: auto; scrollbar-width: none; }
.kinds::-webkit-scrollbar { display: none; }
.kind { flex: none; height: 40px; padding: 0 16px; border-radius: 12px 12px 0 0; font-size: 14.5px; font-weight: 600; color: var(--muted); background: var(--tint); transition: color .2s, background-color .25s; }
.kind:hover { color: var(--ink); }
.kind[aria-selected="true"] { background: var(--d-bg); color: var(--d-ink); }

/* Окно продукта */
.app { display: grid; grid-template-columns: 270px minmax(0, 1fr) 330px; height: 540px; border-radius: 0 var(--r) var(--r) var(--r); background: var(--d-bg); color: var(--d-ink); font-size: 14px; line-height: 1.5; box-shadow: 0 1px 0 rgb(255 255 255 / .06) inset, 0 50px 90px -40px rgb(40 30 10 / .45), 0 18px 36px -24px rgb(40 30 10 / .35); overflow: hidden; }
.app-inbox { padding: 18px 12px; border-right: 1px solid var(--d-line); display: flex; flex-direction: column; min-width: 0; }
.app-head { display: flex; align-items: center; gap: 10px; padding: 0 8px; font-size: 14px; }
.app-head strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-mark { fill: var(--mint); flex: none; }
.app-search { display: flex; align-items: center; gap: 8px; margin: 16px 0 18px; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--d-2); color: var(--d-muted); font-size: 13px; }
.app-cap { padding: 0 8px 6px; font-size: 12px; color: var(--d-muted); }
.inbox li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 9px 8px; border-radius: 12px; }
.inbox li.on { background: var(--d-3); }
.inbox .ch { grid-row: span 2; }
.inbox b { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox time { font-size: 11.5px; color: var(--d-muted); }
.inbox span.t { grid-column: 2 / 4; font-size: 12.5px; color: var(--d-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox li.new b::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--mint); vertical-align: 2px; }

/* Каналы */
.ch { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none; }
.ch svg { width: 20px; height: 20px; }
.ch-tg { background: #2aabee; }
.ch-wa { background: #25d366; }
.ch-vk { background: #0077ff; }
.ch-avito { background: conic-gradient(from 20deg, #00aaff, #97cf26, #ff6163, #a169f7, #00aaff); }
.ch-mail { background: #5b5a56; }
.ch-link { background: var(--mint); }

.app-thread { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--d-line); }
.thread-head { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 22px; border-bottom: 1px solid var(--d-line); font-weight: 600; }
.thread-head .ch { width: 24px; height: 24px; }
.thread-head .ch svg { width: 16px; height: 16px; }
.thread-head small { font-weight: 400; color: var(--d-muted); font-size: 12.5px; }
.thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; overflow: hidden; }
.msg { align-self: flex-start; max-width: 86%; padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: var(--d-2); font-size: 14.5px; line-height: 1.55; }
.msg.me { align-self: flex-end; border-radius: 16px 16px 6px 16px; background: #3a3a3a; color: #dcdcdc; }
mark { color: inherit; border-radius: 4px; padding: 1px 2px; margin: 0 -2px; background: linear-gradient(rgb(var(--mk)), rgb(var(--mk))) no-repeat 0 0 / 0 100%; transition: background-size .55s var(--soft), color .3s .15s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.lit { background-size: 100% 100%; color: #1a1a19; }
.art-quote mark { background-image: linear-gradient(rgb(var(--mk) / .75), rgb(var(--mk) / .75)); }

.app-card { display: flex; flex-direction: column; padding: 18px 20px 20px; min-width: 0; background: #1c1c1c; }
.card-head { display: flex; align-items: center; justify-content: space-between; height: 28px; margin-bottom: 14px; }
.card-num { font-weight: 600; font-size: 15px; }
.pill { padding: 3px 10px; border-radius: 999px; background: var(--d-3); color: var(--d-muted); font-size: 12px; }
.fields { display: grid; gap: 1px; border-radius: 14px; overflow: hidden; background: var(--d-line); }
.fields > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 8px 12px; background: var(--d-2); }
.fields dt { font-size: 12.5px; color: var(--d-muted); }
.fields dd { display: flex; align-items: baseline; gap: 7px; font-size: 13.5px; min-width: 0; }
.fields dd i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--mk)); transform: translateY(-1px); }
.fields dd span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fields .gap dd { color: var(--d-muted); font-size: 12.5px; }
.fields .gap dd::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #5a5a5a; flex: none; }
.fields > div > * { transition: opacity .35s var(--soft), transform .45s var(--soft); }
.motion .app.play .fields > div:not(.in) dd { opacity: 0; transform: translateX(-6px); }
.asks { margin-top: 12px; font-size: 12.5px; color: var(--d-muted); min-height: 40px; }
.asks p + p { margin-top: 3px; }
.asks p::before { content: "? "; color: rgb(var(--m1)); font-weight: 600; }
.share { margin-top: auto; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 8px 0 14px; border-radius: 12px; background: var(--mint); color: #0d2a1a; font-size: 14px; font-weight: 600; transition: transform .45s var(--soft), opacity .35s; }
.share-url { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-act { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 9px; background: rgb(13 42 26 / .1); font-size: 12.5px; }
.motion .app.play .share:not(.in) { opacity: 0; transform: translateY(10px); }
.motion .msg { animation: msg-in .5s var(--soft) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.app.swap .app-thread, .app.swap .app-card, .app.swap .inbox { opacity: 0; transition: opacity .18s; }
.app-thread, .app-card, .inbox { transition: opacity .3s; }

/* Секции */
.section { padding: clamp(80px, 12vh, 128px) 0; }
.section-tint { background: var(--tint); }
.head { max-width: 640px; margin-bottom: 48px; }
.head-center { margin-inline: auto; text-align: center; }
h2 { font-weight: 600; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.head p { margin-top: 18px; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
h3 { font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -.015em; }

/* Каналы → входящие */
.flow { display: grid; grid-template-columns: 230px 160px minmax(0, 480px); align-items: center; justify-content: center; }
.sources { display: grid; gap: 12px; }
.sources li { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px 0 11px; border-radius: 16px; background: var(--card); box-shadow: 0 1px 0 var(--line); font-weight: 600; font-size: 15px; }
.wires { width: 160px; height: 372px; overflow: visible; }
.wires path { fill: none; stroke-width: 1.4; }
.wire-base path { stroke: var(--line-2); }
.wire-run path { stroke: var(--ink); stroke-dasharray: 14 400; stroke-dashoffset: 14; opacity: 0; }
.motion .flow.seen .wire-run path { animation: run 3.6s var(--soft) infinite; opacity: 1; }
.flow .wire-run path:nth-child(2) { animation-delay: .5s; }
.flow .wire-run path:nth-child(3) { animation-delay: 1.9s; }
.flow .wire-run path:nth-child(4) { animation-delay: 1.1s; }
.flow .wire-run path:nth-child(5) { animation-delay: 2.6s; }
.flow .wire-run path:nth-child(6) { animation-delay: 1.5s; }
@keyframes run { 0% { stroke-dashoffset: 14; } 60%, 100% { stroke-dashoffset: -210; } }
.merged { border-radius: var(--r); background: var(--d-bg); color: var(--d-ink); padding: 18px 12px 12px; font-size: 14px; line-height: 1.5; box-shadow: 0 40px 70px -40px rgb(40 30 10 / .45); }
.merged-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 8px 10px; }
.merged-head span { font-size: 12.5px; color: var(--d-muted); }
.inbox-light li { transition: background-color .3s; }
.motion .merged li { animation: row-in .6s var(--soft) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-8px); } }

/* Плитки карточки */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--card); }
.tile p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.tile-art { height: 230px; margin: -8px -8px 24px; border-radius: 16px; background: rgb(var(--mk) / .22) radial-gradient(circle, rgb(60 50 30 / .12) 1px, transparent 1.4px) 0 0 / 16px 16px; display: grid; place-items: center; padding: 20px; overflow: hidden; }
.art-fields ul { width: 100%; max-width: 250px; display: grid; gap: 6px; }
.art-fields li { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--card); box-shadow: 0 1px 2px rgb(0 0 0 / .06); font-size: 14px; font-weight: 600; transition: transform .5s var(--soft), opacity .4s; }
.art-fields li::before { content: ""; width: 8px; height: 12px; background: radial-gradient(circle, #b9b3a6 1.2px, transparent 1.6px) 0 0 / 4px 4px; flex: none; }
.art-fields li i { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--mk)); }
.art-fields li.add { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); box-shadow: none; outline: 1.5px dashed var(--line-2); outline-offset: -1.5px; color: var(--muted); font-weight: 400; }
.art-fields li.add::before { display: none; }
.art-quote { font-size: 15px; line-height: 1.6; }
.art-quote .q { max-width: 260px; padding: 12px 14px; border-radius: 16px 16px 16px 6px; background: var(--card); box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.art-quote .f { justify-self: end; display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; }
.art-quote .f small { color: #a9a8a3; font-size: 12.5px; }
.art-quote .f i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--mk)); }
.art-quote .inner { width: 100%; max-width: 280px; display: grid; }
.art-asks .inner { width: 100%; max-width: 270px; display: grid; gap: 8px; }
.art-asks .gapf { display: flex; justify-content: space-between; height: 34px; align-items: center; padding: 0 12px; border-radius: 10px; font-size: 13.5px; outline: 1.5px dashed var(--line-2); outline-offset: -1.5px; color: var(--muted); }
.art-asks .gapf b { font-weight: 600; color: var(--ink); }
.art-asks .bubble { margin-top: 6px; justify-self: end; max-width: 250px; padding: 10px 14px; border-radius: 16px 16px 6px 16px; background: var(--ink); color: #fff; font-size: 14px; }
.art-asks .sent { justify-self: end; font-size: 12px; color: var(--muted); }

/* Ссылки: телефоны с записанными демо */
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.link-block { display: flex; flex-direction: column; align-items: center; padding: 44px 44px 0; border-radius: 28px; background: var(--card); text-align: center; }
.link-block-tint { background: var(--tint); }
.link-copy { max-width: 440px; margin-bottom: 40px; }
.link-copy > p:not(.url-big) { margin-top: 12px; color: var(--ink-2); }
.url-big { display: inline-block; margin-bottom: 20px; padding: 8px 16px; border-radius: 12px; background: var(--paper); font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.link-block-tint .url-big { background: var(--card); }
.url-big b { font-weight: 600; color: #1b8a4f; }
.link-copy h3 { font-size: 26px; }
.phone-wrap { position: relative; display: flex; justify-content: center; width: 100%; margin-top: auto; padding-bottom: 52px; }
.iphone { position: relative; width: 300px; padding: 10px; border-radius: 52px; background: #161616; box-shadow: inset 0 0 0 1.5px #3a3a3a, 0 0 0 1.5px #a9a498, 0 60px 80px -40px rgb(40 30 10 / .55), 0 20px 30px -20px rgb(40 30 10 / .3); }
.iphone::before { content: ""; position: absolute; z-index: 2; top: 21px; left: 50%; width: 90px; height: 26px; margin-left: -45px; border-radius: 20px; background: #000; }
.iphone::after { content: ""; position: absolute; left: -4px; top: 118px; width: 3px; height: 56px; border-radius: 2px; background: #a9a498; box-shadow: 0 70px 0 #a9a498, 305px 30px 0 #a9a498; }
.iphone video { display: block; width: 100%; aspect-ratio: 600 / 1298; border-radius: 42px; background: #fbfaf7; object-fit: cover; }

/* Доска: записанное демо */
.board-frame { overflow: hidden; border-radius: 24px; background: #212121; box-shadow: 0 50px 90px -45px rgb(40 30 10 / .55); }
.board-frame video { display: block; width: 100%; aspect-ratio: 1560 / 706; }

.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line-2); }
.extras h3 { font-size: 17px; }
.xi { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: rgb(var(--mk) / .45); font-size: 22px; }
.extras p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Вопросы */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.8px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.8px 14px no-repeat; transition: transform .35s var(--soft); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); }

/* Финал */
.cta { position: relative; overflow: hidden; margin-bottom: 40px; padding: clamp(56px, 8vw, 96px) 24px; border-radius: 32px; background: var(--d-bg); color: var(--d-ink); text-align: center; }
.cta h2 { position: relative; }
.cta p { position: relative; max-width: 460px; margin: 16px auto 32px; color: var(--d-muted); }
.cta .btn { position: relative; }
.foot { display: flex; align-items: center; gap: 28px; padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.foot .brand svg { fill: var(--muted); }
.foot nav { display: flex; gap: 22px; margin-left: auto; }
.foot nav a:hover { color: var(--ink); }


/* Вступление на прокрутке. --k1 — сообщения слетаются, --k2 — гаснут, --k3 — появляется логотип (site.js). */
.intro { --k1: 0; --k2: 0; --k3: 0; position: relative; }
.intro-pin { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; }
.motion .intro { height: 250vh; }
.motion .intro-pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.intro-pin::before { content: ""; position: absolute; left: 50%; top: 50%; width: 70vmin; height: 50vmin; translate: -50% -50%; border-radius: 50%; filter: blur(60px); opacity: calc(.25 + var(--k3) * .45); scale: calc(.6 + var(--k1) * .6);
  background: radial-gradient(closest-side at 30% 45%, rgb(var(--m0)), transparent), radial-gradient(closest-side at 65% 60%, rgb(var(--m1)), transparent), radial-gradient(closest-side at 70% 35%, #71ffa9, transparent); }
.bubbles li { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 20px 20px 20px 6px; background: var(--card); box-shadow: 0 12px 30px -14px rgb(40 30 10 / .35); font-size: 16px; font-weight: 600; white-space: nowrap;
  transform: translate(-50%, -50%) translate(calc(var(--x) * var(--sx, 1) * (1 - var(--k1))), calc(var(--y) * (1 - var(--k1)))) rotate(calc(var(--r) * (1 - var(--k1)))) scale(calc(1 - .75 * var(--k1)));
  opacity: calc(1 - var(--k2)); }
.motion .bubbles li { animation: bob 3.2s ease-in-out infinite alternate; }
.bubbles li:nth-child(3n) { animation-delay: -1.1s; }
.bubbles li:nth-child(3n + 1) { animation-delay: -2.3s; animation-duration: 3.8s; }
@keyframes bob { from { translate: 0 -5px; } to { translate: 0 6px; } }
.intro-say { position: absolute; z-index: 2; padding: 0 16px; text-align: center; }
.intro-say-1 { opacity: calc(1 - var(--k1) * 1.7); transform: translateY(calc(var(--k1) * -70px)) scale(calc(1 - var(--k1) * .1)); }
.intro-say-2 { opacity: var(--k3); transform: scale(calc(.8 + var(--k3) * .2)); }
.intro-small { font-family: Caveat, Manrope, cursive; font-weight: 600; font-size: 34px; color: var(--pen); rotate: -4deg; }
.intro-big { margin-top: 6px; font-weight: 600; font-size: clamp(46px, 8.4vw, 118px); line-height: .98; letter-spacing: -.045em; }
.intro-sub { max-width: 480px; margin: 20px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.intro-logo { width: min(560px, 76vw); height: auto; fill: var(--ink); }
.intro-hint { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font-size: 26px; opacity: calc(1 - var(--k1) * 4); }
html:not(.motion) .intro-hint { display: none; }

/* Бейдж и подписи первого экрана */
.badge { display: inline-block; margin-bottom: 24px; padding: 8px 16px; border-radius: 18px; background: rgb(var(--m1) / .5); font-weight: 600; font-size: 14.5px; }
.fine { margin-top: 18px; color: var(--muted); font-size: 14px; }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px; background: rgb(var(--mk) / .4); font-weight: 600; font-size: 14px; letter-spacing: 0; }

/* Рукописные подписи со стрелками */
@font-face { font-family: Caveat; font-weight: 600; font-display: swap; src: url(fonts/caveat-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0400-045F; }
.hand { font-family: Caveat, Manrope, cursive; font-weight: 600; color: var(--pen); font-size: 23px; line-height: 1.02; }
.note { position: absolute; z-index: 4; margin: 0; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; }
.note svg { width: 70px; height: 60px; flex: none; overflow: visible; }
.note figcaption { white-space: nowrap; rotate: -3deg; }
.note .ln { fill: none; stroke: var(--pen); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .note .ln { stroke-dashoffset: 1; transition: stroke-dashoffset .8s .35s var(--soft); }
.motion .note .hd { transition: stroke-dashoffset .3s 1.1s ease-out; }
.motion .note.seen .ln { stroke-dashoffset: 0; }
.note-kinds { left: 806px; top: -72px; }
.note-kinds svg { width: 90px; height: 50px; }
.note-kinds figcaption { margin-top: -10px; }
.note-marks { left: 300px; bottom: -86px; }
.note-marks figcaption { margin-top: 26px; }
.note-share { right: 60px; bottom: -92px; }
.note-share figcaption { margin-top: 30px; text-align: right; }
.note-phone-r { right: -46px; top: 30%; flex-direction: column; align-items: flex-end; }
.note-phone-r figcaption, .note-phone-l figcaption { font-size: 21px; }
.note-phone-r svg, .note-phone-l svg { width: 56px; height: 48px; }
.note-phone-l { left: -46px; top: 40%; flex-direction: column; align-items: flex-start; }
.note-price { right: 2%; top: -96px; }
.note-price figcaption { margin-top: 4px; }

/* Цены */
.plans { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 30px; border-radius: 26px; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.plan-main { background: var(--d-bg); color: var(--d-ink); box-shadow: 0 40px 70px -40px rgb(40 30 10 / .5); }
.plan-name { font-weight: 600; font-size: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.plan-price b { font-weight: 600; font-size: 50px; line-height: 1; letter-spacing: -.035em; }
.plan-price span, .plan-for { color: var(--muted); font-size: 15px; }
.plan-for { margin-top: 8px; }
.plan-main .plan-price span, .plan-main .plan-for { color: var(--d-muted); }
.plan ul { display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15.5px; }
.plan-main ul { border-top-color: var(--d-line); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: #1b8a4f; font-weight: 600; }
.plan-main li::before { color: var(--mint); }

/* Сравнение */
.versus { margin-top: 96px; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--card); }
.versus h3 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.025em; }
.versus-lead { max-width: 760px; margin-top: 12px; color: var(--ink-2); }
.table-scroll { margin-top: 28px; overflow-x: auto; scrollbar-width: thin; }
.versus table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.4; }
.versus th, .versus td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.versus thead th { border-bottom: 0; font-weight: 600; font-size: 16px; }
.versus tbody th { width: 180px; font-weight: 600; color: var(--ink-2); background: var(--card); }
.versus thead th:first-child, .versus tbody th { position: sticky; left: 0; z-index: 1; background: var(--card); }
.versus tr:last-child > * { border-bottom: 0; }
.versus td small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.versus .us { background: rgb(var(--m3) / .25); }
.versus thead .us { border-radius: 16px 16px 0 0; font-size: 18px; }
.versus tbody tr:last-child .us { border-radius: 0 0 16px 16px; }
.versus td.us b { font-size: 20px; font-weight: 600; }
.versus-src { margin-top: 18px; color: var(--muted); font-size: 13px; }

/* Стикеры в финале — те же, что в приложении */
.cta-wrap { margin-top: clamp(80px, 12vh, 128px); }
.stk { position: absolute; width: 74px; height: 74px; filter: drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 12px 14px rgb(0 0 0 / .4)); }
.stk-1 { left: 8%; top: 20%; rotate: -12deg; }
.stk-2 { right: 10%; top: 14%; rotate: 10deg; width: 62px; height: 62px; }
.stk-3 { left: 15%; bottom: 14%; rotate: 8deg; width: 58px; height: 58px; }
.stk-4 { right: 14%; bottom: 16%; rotate: -8deg; }
.motion .stk { animation: bob 3.4s ease-in-out infinite alternate; }
.motion .stk-2, .motion .stk-3 { animation-delay: -1.7s; }

/* Проявление при прокрутке */
.motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--soft), transform .9s var(--soft); }
.motion [data-reveal].seen { opacity: 1; transform: none; }

@media (max-width: 1180px) and (min-width: 861px) {
  .note-phone-r, .note-phone-l { display: none; }
}
@media (max-width: 1080px) {
  .app { grid-template-columns: minmax(0, 1fr) 320px; }
  .app-inbox { display: none; }
  .stage .note { display: none; }
  .stage { margin-bottom: 0; }
  .flow { grid-template-columns: 210px 120px minmax(0, 1fr); }
  .wires { width: 120px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:last-child { grid-column: span 2; }
  .extras { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .note-price { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .links { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 20px; }
  .sources { grid-template-columns: repeat(3, 1fr); }
  .wires { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 8px; }
  .head { margin-bottom: 36px; }
  .bubbles .far { display: none; }
  .bubbles li { font-size: 14px; padding: 7px 12px 7px 7px; }
  .bubbles .ch { width: 24px; height: 24px; }
  .bubbles .ch svg { width: 16px; height: 16px; }
  .board-frame { overflow-x: auto; }
  .board-frame video { width: 760px; max-width: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .app { grid-template-columns: 1fr; height: auto; border-radius: 0 0 var(--r) var(--r); }
  .app-thread { border-right: 0; border-bottom: 1px solid var(--d-line); }
  .thread { min-height: 300px; padding: 16px; }
  .thread-head { padding: 0 16px; }
  .app-card { padding: 16px; }
  .asks { min-height: 0; margin-bottom: 14px; }
  .kinds { padding-left: 0; }
  .sources { grid-template-columns: 1fr 1fr; }
  .sources li { font-size: 14px; }
  .tiles { grid-template-columns: 1fr; }
  .tiles .tile:last-child { grid-column: auto; }
  .tile { padding: 20px; }
  .extras { grid-template-columns: 1fr; gap: 18px; }
  .link-block { padding: 32px 18px 0; border-radius: 24px; }
  .bubbles { --sx: .42; }
  .bubbles li { max-width: 62vw; white-space: normal; font-size: 13px; line-height: 1.3; }
  .bubbles .mid { display: none; }
  .versus tbody th { width: 118px; min-width: 118px; font-size: 14px; }
  .versus table { min-width: 720px; font-size: 14px; }
  .iphone { width: 272px; border-radius: 48px; }
  .iphone video { border-radius: 39px; }
  .iphone::after { box-shadow: 0 70px 0 #a9a498, 277px 30px 0 #a9a498; }
  .note-phone-r, .note-phone-l { display: none; }
  .plan { padding: 24px; }
  .stk { width: 44px; height: 44px; }
  .stk-2, .stk-3 { width: 40px; height: 40px; }
  .stk-1 { top: 8%; left: 5%; } .stk-2 { top: 6%; right: 6%; } .stk-3 { bottom: 6%; left: 6%; } .stk-4 { bottom: 7%; right: 6%; }
  .foot { flex-wrap: wrap; }
  .foot nav { margin-left: 0; order: 3; width: 100%; flex-wrap: wrap; }
  .btn:not(.btn-sm) { height: 50px; }
  .top .btn-sm { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  mark { transition: none; }
}
