/* Сайт продукту на головній — окремо від кабінету (кабінет — tailwind,
   input3.css). Макет «Ясний день»: світла сіра підкладка, білі панелі з
   великим радіусом, Onest 900 у заголовках. Кольори — з лого CallHostess: фіолетовий
   акцент, темно-синій текст; градієнт знака — у другому рядку заголовка й головній кнопці. */

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

/* Подвійний тап не масштабує сторінку; зум двома пальцями лишається. */
:where(html, body, *) { touch-action: manipulation; }

:root {
  color-scheme: light;
  --bg: #F3F1F8;
  --card: #FFFFFF;
  --ink: #121134;
  --muted: #4A4864;
  --soft: #64627E;
  --line: #E5E2EE;
  --accent: #7A12F5;
  --accent-ink: #5B0FC4;
  --accent-tint: #F0E7FE;
  /* Градієнт лого. У тексті заголовка він закінчується на червоному: помаранчевий на
     світлому тлі не дотягує до 3:1. На кнопках — темніша частина, білий текст ≥ 4.5:1. */
  --grad-text: linear-gradient(95deg, #7901F8 0%, #E3108C 52%, #F4391F 100%);
  --grad-fill: linear-gradient(120deg, #6A0FE0 0%, #B015BE 55%, #DB1A84 100%);
  --green: #34C759;
  --green-tint: #E3F5EA;
  --green-ink: #1E6B3A;
  --amber-tint: #FFF1D6;
  --amber-ink: #8A5700;
  --violet-tint: #F1E8FF;
  --violet-ink: #6A3FD1;
  --dark: #121134;
  --dark-2: #25234D;
  --dark-muted: #BEBBD8;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --r: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3, .faq summary { margin: 0; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8;
      stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: var(--accent-tint); color: var(--ink); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 8px; }
main { display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; }

/* --- кнопки --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 26px; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center;
  transition: transform .15s var(--ease), background-color .2s, filter .2s;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #201E4A; }
/* Головна кнопка: під пальцем градієнт лого м'яко перетікає до малинового краю. */
.btn-accent { background: var(--grad-fill); background-size: 170% 100%; background-position: 0 0; color: #fff;
              transition: transform .15s var(--ease), background-position .6s var(--ease); }
.btn-accent:hover { background-position: 100% 0; }
.btn-soft { background: var(--bg); color: var(--ink); }
.btn-soft:hover { background: #E7E4EF; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #F6F1FF; }
.btn-ghost { background: #fff; color: var(--ink); }
.btn-ghost:hover { background: #F8F7FB; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--accent);
        padding: 0 4px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--accent-ink); }

/* --- пропозиція застосунку ------------------------------------------------ */

.appbar {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: var(--card); overflow: hidden;
  max-height: 80px; transition: max-height .35s var(--ease), padding .35s var(--ease), opacity .25s;
}
.appbar[hidden] { display: none; }
.appbar.gone { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
.appbar .x { width: 44px; height: 44px; border: 0; background: none; color: var(--soft);
             display: grid; place-items: center; border-radius: 50%; }
.appbar .x .ic { width: 18px; height: 18px; }
.appicon { width: 42px; height: 42px; border-radius: 11px; background: #fff; color: #fff;
           display: grid; place-items: center; font-weight: 900; font-size: 19px; flex-shrink: 0; }
.appbar .t { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.appbar .t b { font-size: 14px; }
.appbar .t span { font-size: 12px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar .get { height: 44px; padding: 0 16px; border-radius: 999px; background: var(--accent-tint);
               color: var(--accent-ink); font-size: 13px; font-weight: 700; display: flex; align-items: center; }

/* --- шапка ---------------------------------------------------------------- */

.top { position: sticky; top: 0; z-index: 30; padding: 8px 0; transition: background-color .25s, box-shadow .25s; }
.top.scrolled { background: rgb(243 241 248 / .84); backdrop-filter: saturate(1.6) blur(14px);
                -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 rgb(17 19 24 / .06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; }
.logo { font-size: 24px; font-weight: 900; letter-spacing: -0.045em; display: inline-flex; align-items: center; gap: 9px; }
.logo .brandmark { width: 30px; height: 28px; flex-shrink: 0; }
.nav { display: none; gap: 4px; }
.nav a { padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; }
/* Довші мови (українська, іспанська) не вміщають шість пунктів поруч із кнопками — до 1360 px
   лишаємо головні: «Як навчити» й «Для кого» є в меню підвалу й на сторінці. */
@media (max-width: 1359px) { .nav a:nth-child(3), .nav a:nth-child(4) { display: none; } }
.nav a:hover { background: #fff; color: var(--ink); }
.top .right { display: flex; align-items: center; gap: 8px; }
.top .enter { display: none; min-height: 44px; padding: 0 20px; font-size: 15px; }
.menubtn { height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: #fff;
           display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.menubtn .ic { width: 18px; height: 18px; }

/* --- меню (телефон) ------------------------------------------------------- */

.menu { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.menu .bg { position: absolute; inset: 0; background: rgb(17 19 24 / .45); opacity: 0; transition: opacity .3s; }
.menu .sheet { position: absolute; left: 0; right: 0; top: 0; background: #fff;
               border-radius: 0 0 var(--r) var(--r); padding: 14px 16px 22px;
               display: flex; flex-direction: column; gap: 4px;
               transform: translateY(-104%); transition: transform .45s var(--ease);
               box-shadow: 0 20px 60px rgb(17 19 24 / .25); max-height: 100dvh; overflow-y: auto; }
.menu.open { pointer-events: auto; }
.menu.open .bg { opacity: 1; }
.menu.open .sheet { transform: none; }
.menu .head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; }
.menu .close { height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--bg);
               display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.menu .close .ic { width: 18px; height: 18px; }
.menu .m { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 18px;
           font-size: 18px; font-weight: 700; }
.menu .m:hover { background: var(--bg); }
.menu .m span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
                background: var(--accent-tint); color: var(--accent); }
.menu .btn { margin-top: 12px; }

/* --- мови: кнопка з глобусом і випадний список (partials/site_langs.html) ---- */

.langpick { position: relative; align-self: flex-start; }
.langpick summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
                    padding: 0 14px 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
                    font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
                    transition: border-color .2s, box-shadow .2s; }
.langpick summary::-webkit-details-marker { display: none; }
.langpick summary:hover { border-color: #CFC9E0; }
.langpick[open] summary { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.langpick summary .ic { width: 18px; height: 18px; color: var(--soft); }
.langpick summary .chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.langpick[open] summary .chev { transform: rotate(180deg); }
.langmenu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 25; min-width: 210px; padding: 6px;
            display: flex; flex-direction: column; background: #fff; border-radius: 18px;
            box-shadow: 0 18px 48px rgb(18 17 52 / .16), 0 2px 6px rgb(18 17 52 / .06), 0 0 0 1px rgb(18 17 52 / .05);
            transform-origin: top left; animation: menu-in .22s var(--ease); }
.langpick.up .langmenu { top: auto; bottom: calc(100% + 8px); transform-origin: bottom left; animation-name: menu-up; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
@keyframes menu-up { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.langmenu form { margin: 0; }
.langmenu button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
                   min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: none;
                   font-size: 15px; font-weight: 500; text-align: left; color: var(--ink); }
.langmenu button:hover { background: var(--bg); }
.langmenu button[aria-current="true"] { font-weight: 700; color: var(--accent-ink); }
.langmenu button .ic { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.4; }
/* У меню телефона список розкривається на місці: аркуш прокручується й обрізав би спливаюче вікно. */
.menu .langpick { margin-top: 10px; }
.menu .langmenu { position: static; min-width: 0; margin-top: 6px; padding: 0; box-shadow: none; animation: none; }

/* --- панелі --------------------------------------------------------------- */

.panel { background: var(--card); border-radius: var(--r); padding: 28px 22px;
         display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.panel.dark { background: var(--dark); color: #fff; }
.h2 { font-size: 32px; line-height: 1.02; font-weight: 900; letter-spacing: -0.035em; }
.lead { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 60ch; }
.dark .lead { color: var(--dark-muted); }

/* --- перший екран --------------------------------------------------------- */

.hero { padding-bottom: 0; gap: 16px; }
.hero h1 { font-size: 44px; line-height: .98; font-weight: 900; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--accent); background: var(--grad-text); -webkit-background-clip: text;
              background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: 17px; }
.hero .ctas { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.hero .ctas .link { align-self: center; }
.assure { font-size: 14px; color: var(--soft); text-align: center; }

/* --- подарункові 10 хвилин ------------------------------------------------ */

/* Зелена крапка, що «дихає», — як на екрані дзвінка: хвилини тут — це час розмови. */
.live { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green);
               opacity: 0; animation: ping 2.2s var(--ease) 4; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

/* Смужка над шапкою — для тих, хто ще не з нами. */
.promo { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 16px;
         background: var(--dark); color: #fff; font-size: 14px; line-height: 1.35; }
.promo b { font-weight: 800; }
.promo-long { display: none; margin-left: 4px; color: var(--dark-muted); }
.promo-go { display: inline-flex; align-items: center; gap: 2px; padding-left: 4px; font-weight: 700; white-space: nowrap;
            text-decoration: underline; text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: 4px; }
.promo-go .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.promo:hover .promo-go .ic { transform: translateX(3px); }

/* Плашка під головною кнопкою першого екрана. */
.gifttag { align-self: center; display: inline-flex; align-items: center; gap: 12px;
           padding: 7px 20px 7px 7px; border-radius: 999px; background: var(--green-tint); color: var(--green-ink);
           font-size: 13.5px; line-height: 1.25; }
.gifttag .gt-t { display: flex; flex-direction: column; }
.gifttag .gt-t b { font-size: 15px; }
.gifttag .gt-ic { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.gifttag .gt-ic .ic { width: 18px; height: 18px; stroke-width: 2; }
.gifttag b { font-weight: 800; }

/* Плаваюча кнопка на телефоні (з'являється після першого екрана, landing.html). */
.dock { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
        display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px;
        background: rgb(255 255 255 / .9); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
        box-shadow: 0 14px 40px rgb(18 17 52 / .18), 0 1px 3px rgb(18 17 52 / .08);
        transform: translateY(calc(100% + 28px)); visibility: hidden;
        transition: transform .45s var(--ease), visibility 0s linear .45s; }
.dock.show { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
body.locked .dock { visibility: hidden; }
.dock-t { display: flex; flex-direction: column; min-width: 0; font-size: 13px; line-height: 1.25; color: var(--soft); }
.dock-t b { font-size: 14px; font-weight: 800; color: var(--ink); }
.dock .btn { margin-left: auto; min-height: 48px; padding: 0 20px; font-size: 15px; white-space: nowrap; }
/* Заклик після кроків: кнопка й «Картка не потрібна» поруч, а не ще одна смуга на всю ширину. */
#how .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; }
#how .ctas .btn { flex: 1 1 220px; }
@media (min-width: 760px) { #how .ctas .btn { flex: 0 0 auto; } }

/* Перший екран — екран живої розмови, а завдання й підсумок поруч із ним, а не поверх. */
.stage { position: relative; margin: 10px -22px 0; padding: 28px 16px 0; background: var(--accent-tint);
         border-radius: 28px 28px 0 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
         overflow: hidden; }
.phone { width: 220px; height: 380px; border-radius: 36px 36px 0 0; background: var(--dark); padding: 8px 8px 0;
         box-shadow: 0 30px 70px rgb(43 69 214 / .25); order: 3; margin-top: 4px; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top;
             border-radius: 29px 29px 0 0; }
.bub { margin: 0; padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.4; max-width: 300px;
       box-shadow: 0 10px 30px rgb(17 19 24 / .10); }
.bub .lbl { display: block; font-size: 12px; font-weight: 700; margin-bottom: 2px; opacity: .75; }
.bub.task { order: 1; background: var(--dark); color: #fff; align-self: flex-start; border-bottom-left-radius: 6px; }
.bub.sum { order: 2; align-self: flex-end; max-width: 260px;
           background: #fff; color: var(--green-ink); font-weight: 700; border-bottom-right-radius: 6px; }
.bub.sum .lbl { color: var(--soft); }

/* Один рух на сторінці: завдання → розмова → підсумок, щойно сторінка відкрилась. */
.js .bub { opacity: 0; transform: translateY(10px); }
.js .stage.play .bub { animation: pop .7s var(--ease) forwards; }
.js .stage.play .sum { animation-delay: 1.1s; }
@keyframes pop { to { opacity: 1; transform: none; } }

.hero .copy { display: flex; flex-direction: column; gap: 16px; }
.split, .split > .col { display: flex; flex-direction: column; gap: 18px; }
.split.flip > .shot { order: 2; }
@media (min-width: 1024px) { .split.flip > .shot { order: 0; } }

/* --- списки фактів і дій --------------------------------------------- */

/* Факти — рядки зі значком, без кольорових карток: колір лишається за акцентом. */
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-tint);
             color: var(--accent); stroke-width: 1.9; }
.facts b { display: block; font-size: 16px; font-weight: 800; line-height: 1.3; }
.facts p { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 46ch; }
.uses { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.uses li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; font-weight: 600; }
.uses li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
                   background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E6B3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }

.flow { list-style: none; margin: 0; background: var(--dark); color: #fff; border-radius: 24px; padding: 22px;
        display: flex; flex-direction: column; gap: 16px; }
.flow li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.flow .n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--dark-2);
           display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.flow li:last-child .n { background: var(--accent); }

/* --- скріни застосунку --------------------------------------------- */

/* Справжні скріни iPhone в тонкій рамці, по одному в розділі. */
.shot { margin: 0; align-self: center; width: min(280px, 80%); display: flex; flex-direction: column; gap: 12px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 34px; border: 7px solid var(--dark);
            background: var(--dark); box-shadow: 0 24px 60px rgb(91 15 196 / .16); }
.shot figcaption { font-size: 14px; line-height: 1.45; color: var(--muted); text-align: center; }
.stores { display: flex; flex-direction: column; gap: 10px; align-self: stretch; }

/* --- кроки ---------------------------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 14px; align-items: center; }
.key { width: 64px; height: 64px; border-radius: 50%; background: var(--line); display: flex; flex-direction: column;
       align-items: center; justify-content: center; flex-shrink: 0; }
.key b { font-size: 24px; font-weight: 500; line-height: 1; }
.key small { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--muted); min-height: 10px; }
.key.call { background: var(--green); color: #fff; }
.key.call svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.step b { font-size: 17px; font-weight: 800; }
.step p { font-size: 14px; line-height: 1.45; color: var(--muted); }

.phrases { display: flex; flex-wrap: wrap; gap: 8px; }
.phrases span:not(.vh) { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
                         border: 1px solid rgb(255 255 255 / .22); color: var(--dark-muted); font-size: 14px; }
.modes { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.modes div { border-radius: 20px; padding: 18px; background: var(--dark-2); display: flex; flex-direction: column; gap: 6px; }
.modes dt { font-size: 15px; font-weight: 800; line-height: 1.25; }
.modes dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--dark-muted); }
.modes .take { background: var(--accent); }
.modes .take dd { color: #fff; }

/* --- тарифи --------------------------------------------------------------- */

.gift { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 18px;
        border-radius: 999px; background: var(--green-tint); color: var(--green-ink); font-size: 15px; font-weight: 700;
        line-height: 1.3; transition: background-color .2s; }
.gift::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.gift:hover { background: #d5efdf; }
.plans { display: grid; gap: 12px; }
.plan { position: relative; border: 1.5px solid var(--line); border-radius: 26px; padding: 22px;
        display: flex; flex-direction: column; gap: 12px; }
.plan.featured { border: 2px solid var(--accent); background: #FAF6FF; }
.plan.corp { border: 0; background: var(--dark); color: #fff; }
.plan .hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 8px; }
.plan .who { font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: -4px; }
.plan .badge { position: absolute; top: -13px; left: 20px; padding: 4px 12px; border-radius: 999px;
               background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 800; }
.plan.corp .who { color: var(--dark-muted); }
.plan h3 { font-size: 21px; font-weight: 900; letter-spacing: -0.02em; }
.plan .tag { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--bg); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.plan.featured .tag { color: #fff; background: var(--accent); }
.plan.corp .tag { color: #fff; background: var(--dark-2); }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 46px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.price span { font-size: 15px; color: var(--soft); font-weight: 600; }
.plan.corp .price b { font-size: 30px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li .ic { width: 18px; height: 18px; margin-top: 2px; }
.plan li.inc .ic { color: #1E8E4A; }
.plan li.more { color: var(--muted); }
.plan.corp p { color: var(--dark-muted); font-size: 15px; line-height: 1.45; }
.plan .btn { margin-top: auto; min-height: 50px; font-size: 15px; }
.secure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
          gap: 8px 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.secure li { display: flex; align-items: center; gap: 8px; }
.secure li::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E8E4A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* --- питання -------------------------------------------------------------- */

.faq { gap: 0; }
.faq .h2 { margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--bg); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
               padding: 18px 0; font-weight: 700; font-size: 17px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
/* Відповідь розкривається плавно там, де браузер уміє анімувати висоту <details>. */
.faq details::details-content, .who-all::details-content {
  block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content, .who-all[open]::details-content { block-size: auto; }
.faq details p { padding: 0 0 18px; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 64ch; }

/* --- заклик і підвал ------------------------------------------------------ */

/* Заклик наприкінці — картка з градієнтом лого й таймером подарункових хвилин. */
.cta { position: relative; isolation: isolate; align-items: center; text-align: center; background: var(--grad-fill);
       color: #fff; padding-top: 40px; padding-bottom: 36px; }
.cta::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -30%; width: 140%; height: 90%;
               transform: translateX(-50%); pointer-events: none;
               background: radial-gradient(closest-side, rgb(255 255 255 / .2), transparent); }
.cta .lead { color: rgb(255 255 255 / .92); }
.cta .btn { align-self: stretch; }
.cta small { color: rgb(255 255 255 / .85); font-size: 13px; }
.cta .stores .btn { background: rgb(255 255 255 / .16); color: #fff; }
.calltimer { margin: 0 0 4px; display: inline-flex; align-items: center; gap: 14px; padding: 12px 26px 12px 20px;
             border-radius: 999px; background: rgb(18 17 52 / .26); font-size: 46px; font-weight: 800; line-height: 1;
             letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calltimer .live { width: 12px; height: 12px; }
.calltimer .live::after { animation-play-state: paused; }
.calltimer.done .live::after { animation-play-state: running; }
.calltimer .tm { min-width: 4.4ch; text-align: left; }
footer { padding: 26px 24px 40px; display: flex; flex-direction: column; gap: 10px; color: var(--soft); font-size: 14px; }
footer .foot-top { display: flex; flex-direction: column; gap: 6px; }
footer .logo { color: var(--ink); }
footer .links { display: flex; flex-wrap: wrap; gap: 0 18px; }
footer .links a { display: inline-flex; align-items: center; min-height: 44px; }
footer .links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
footer .copy { font-size: 13px; }

/* Підвал головної: назва й мова, далі колонки з заголовками — продукт, галузі, документи. */
.foot { padding: 44px 22px 40px; gap: 28px; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.foot-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot-brand p { max-width: 32ch; font-size: 15px; line-height: 1.5; color: var(--muted); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.foot-col.wide { grid-column: 1 / -1; }
.foot-col h3 { margin-bottom: 4px; font-size: 14px; font-weight: 800; color: var(--ink); }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.3; color: var(--muted); }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; width: 100%; }
.foot .copy { padding-top: 20px; border-top: 1px solid var(--line); }

/* --- аркуш заявки --------------------------------------------------------- */

.order { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center;
         pointer-events: none; }
.order .bg { position: absolute; inset: 0; background: rgb(17 19 24 / .5); opacity: 0; transition: opacity .3s; }
.order .sheet { position: relative; width: 100%; max-width: 520px; background: #fff; border-radius: var(--r) var(--r) 0 0;
                padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px;
                transform: translateY(105%); transition: transform .45s var(--ease); max-height: 92dvh; overflow-y: auto; }
.order.open { pointer-events: auto; }
.order.open .bg { opacity: 1; }
.order.open .sheet { transform: none; }
.order .grip { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: #D8D4E4; }
.order .hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order h2 { font-size: 26px; font-weight: 900; letter-spacing: -0.03em; }
.order .x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; }
.order .x .ic { width: 18px; height: 18px; }
.order .sum { display: flex; flex-direction: column; }
.order .sum div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bg); font-size: 15px; }
.order .sum div span { color: var(--soft); }
.order .sum div b { font-weight: 600; }
.order .sum div.total { border-bottom: 0; font-size: 18px; }
.order .sum div.total span { color: var(--ink); font-weight: 800; }
.order .sum div.total b { font-weight: 900; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea { min-height: 50px; border-radius: 14px; border: 1.5px solid #9D9AB2; padding: 12px 14px;
                                font: 500 16px/1.4 "Onest", system-ui, sans-serif; color: var(--ink); background: #F8F7FB; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px;
                                                         border-color: var(--accent); background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-tint); border-radius: 18px; padding: 14px;
        font-size: 14px; line-height: 1.45; color: #3A1F7A; }
.note.err { background: #FDE8E7; color: #8F1F17; }
.note .ic { width: 20px; height: 20px; color: var(--accent); }
.note.err .ic { color: #D93A30; }
.note[hidden], .order [hidden] { display: none; }
.order .fine { text-align: center; font-size: 13px; color: var(--soft); }
.order .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dock, .dock.show { transform: none; }
  .dock:not(.show) { visibility: hidden; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .bub { opacity: 1; transform: none; }
}

/* --- ширші екрани --------------------------------------------------------- */

@media (min-width: 760px) {
  .wrap { padding: 0 16px; }
  main { gap: 16px; }
  .panel { padding: 48px; gap: 22px; }
  .h2 { font-size: 44px; }
  .lead { font-size: 18px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .steps { flex-direction: row; gap: 24px; }
  .step { flex-direction: column; align-items: flex-start; flex: 1; }
  .facts.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
  .cta .btn { align-self: center; min-width: 320px; }
  .stores { flex-direction: row; justify-content: center; }
  .hero .ctas { flex-direction: row; align-items: center; gap: 16px; }
  .assure { text-align: left; }
  .appbar { display: none; }
  .order { align-items: center; }
  .order .grip { display: none; }
  .order .sheet { border-radius: var(--r); transform: translateY(24px) scale(.97); opacity: 0;
                  transition: transform .4s var(--ease), opacity .3s; }
  .order.open .sheet { transform: none; opacity: 1; }
  footer .foot-top { flex-direction: row; align-items: center; gap: 24px; }
  .promo-long { display: inline; }
  .gifttag { align-self: flex-start; }
  .cta { padding-top: 56px; padding-bottom: 52px; }
  .calltimer { font-size: 64px; padding: 14px 34px 14px 26px; }
  .calltimer .live { width: 14px; height: 14px; }
  .foot { padding: 56px 24px 44px; }
  .foot-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 32px; }
  .foot-brand, .foot-col.wide { grid-column: auto; }
  .foot-col a { min-height: 36px; }
}

@media (min-width: 1024px) {
  .nav, .top .enter { display: flex; }
  .dock { display: none; }
  .menubtn { display: none; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 32px 40px;
          align-items: center; padding: 56px 0 0 56px; }
  .hero .copy { display: flex; flex-direction: column; gap: 22px; padding-bottom: 56px; }
  .hero h1 { font-size: 72px; }
  /* Телефон праворуч, завдання й підсумок — колонкою зліва від нього: зверху вниз, як іде дзвінок. */
  .stage { margin: 0; height: 600px; padding: 40px 24px 0; border-radius: 28px 0 0 0; align-self: end;
           display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 20px; }
  .phone { grid-column: 2; grid-row: 1; width: 270px; height: 560px; }
  .bub { justify-self: end; max-width: 250px; font-size: 14px; }
  .bub.task { grid-column: 1; grid-row: 1; align-self: start; margin-top: 64px; }
  .bub.sum { grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 110px; border-bottom-right-radius: 20px;
             border-top-right-radius: 6px; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .split > .col { display: flex; flex-direction: column; gap: 22px; }
  .split .shot { width: 300px; }
  .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* У вузькій колонці назва й кількість асистентів — завжди одна під одною, щоб ціни стояли в ряд. */
  .plan .hd { flex-direction: column; align-items: flex-start; }
}

/* --- докази: демо-номер, запис, відгуки (landing._proof) ----------------- */
/* «Зразок» — лише персоналу на ?preview=1: заглушка, яку замінять справжнім. */
.sample { display: inline-block; margin: 0 8px 6px 0; padding: 2px 8px; border-radius: 6px;
          background: var(--amber-tint); color: var(--amber-ink); font-size: 12px; font-weight: 800; letter-spacing: .02em;
          vertical-align: middle; }
.demo { font-size: 15px; color: var(--muted); text-align: center; }
.demo a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 800; color: var(--ink);
          font-variant-numeric: tabular-nums; text-decoration: underline; text-underline-offset: 3px; }
.listen audio { width: 100%; margin-top: 18px; }
.quote-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.quote-list li { background: var(--bg); border-radius: 22px; padding: 20px 22px; }
.quote-list blockquote { margin: 0; }
.quote-list blockquote p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.quote-list .by { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.quote-list .by b { color: var(--ink); margin-right: 6px; }
@media (min-width: 760px) {
  .demo { text-align: left; }
  .quote-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Підвал: посилання на сторінки під запити (seo.py). */
.links.guides { margin-top: 14px; font-size: 14px; }
.links.guides span { color: var(--muted); }

/* Для кого (landing #industries): плитки галузей і картка «Дзвінки англійською за вас». */
.who-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.who-grid a { display: flex; align-items: center; height: 100%; min-height: 52px; box-sizing: border-box;
  padding: 10px 12px; border-radius: 16px; background: var(--bg); color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 14px; line-height: 1.3; }
.who-all summary { margin-top: 12px; cursor: pointer; font-weight: 700; color: var(--accent-ink); list-style: none; }
.who-all summary::-webkit-details-marker { display: none; }
.who-all summary::after { content: " ↓"; }
.who-all[open] summary::after { content: " ↑"; }
.who-all .who-grid { margin-top: 10px; }
.who-grid a:hover { background: var(--accent-tint); color: var(--accent-ink); }
.who-grid a { gap: 10px; transition: background-color .2s, color .2s; }
.who-grid a::after { content: ""; flex: none; width: 16px; height: 16px; margin-left: auto; background: currentColor; opacity: .35;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease), opacity .2s; }
.who-grid a:hover::after { transform: translateX(3px); opacity: .9; }
.who-grid .ic { flex: none; width: 18px; height: 18px; opacity: .5; }
.who-more { margin: 14px 0 0; font-size: 15px; }
.who-more a { color: var(--accent-ink); }
.who-people { display: grid; gap: 6px; margin-top: 18px; padding: 20px 22px; border-radius: 22px;
  background: var(--grad-fill); color: #fff; text-decoration: none; }
.who-people b { font-size: 21px; letter-spacing: -0.02em; }
.who-people span { opacity: .92; line-height: 1.5; max-width: 60ch; }
.who-people em { font-style: normal; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1000px) { .who-grid { grid-template-columns: repeat(4, 1fr); } .who-grid a { font-size: 15px; } }

/* --- Сторінки під пошукові запити (seo_page.html, body.guide) — блоки головної, свої лише тут ----- */
.guide .top .enter.always { display: inline-flex; min-height: 40px; padding: 0 16px; font-size: 14px; }
.guide .crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--soft); }
.guide .crumbs a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.guide .hero h1 { font-size: 36px; line-height: 1.02; text-wrap: balance; }
.guide .h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }

/* «У чому складність» — темна панель, як «Ви за кермом розмови». */
.guide .pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.guide .pains li { display: flex; gap: 14px; align-items: flex-start; }
.guide .pains .ic { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--dark-2);
  color: #FF9F96; }
.guide .pains p { font-size: 17px; line-height: 1.5; color: #fff; max-width: 52ch; padding-top: 8px; }

/* Порівняння: на телефоні — картка на кожен рядок, з колонки ліворуч; ширше — таблиця з виділеною колонкою. */
.vs { display: grid; gap: 12px; }
.vs-row.vs-head { display: none; }
.vs-cell .ic-space { flex: none; width: 18px; }
.vs-row { display: grid; gap: 6px; padding: 16px; border-radius: 22px; background: var(--bg); }
.vs-label { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.vs-cell { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--muted);
  padding: 8px 10px; border-radius: 14px; }
.vs-cell::before { content: attr(data-col); flex: none; width: 108px; font-size: 13px; font-weight: 700; color: var(--soft);
  padding-top: 1px; }
.vs-cell .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.vs-cell.no .ic { color: #C24A42; }
.vs-cell.yes .ic { color: var(--green-ink); }
.vs-cell.ours { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 6px 18px rgb(122 18 245 / .10); }
@media (min-width: 900px) {
  .vs { gap: 0; }
  .vs-row, .vs-row.vs-head { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1.15fr; gap: 0; padding: 0;
    background: none; border-radius: 0; border-bottom: 1px solid var(--line); }
  .vs-head { border-bottom: 0; }
  .vs-head span { padding: 14px; font-size: 13px; font-weight: 700; color: var(--soft); }
  .vs-head .ours { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 800;
    background: var(--accent-tint); border-radius: 22px 22px 0 0; }
  .vs-label { margin: 0; padding: 18px 14px; font-size: 15px; }
  .vs-cell { padding: 18px 14px; border-radius: 0; }
  .vs-cell::before { display: none; }
  .vs-cell.ours { background: var(--accent-tint); box-shadow: none; }
  .vs-row:last-child { border-bottom: 0; }
  .vs-row:last-child .vs-cell.ours { border-radius: 0 0 22px 22px; }
}

/* Приклад розмови: завдання → репліки → підсумок, на фіолетовій підкладці, як «сцена» першого екрана. */
.guide .convo { display: flex; flex-direction: column; gap: 12px; padding: 22px 16px; border-radius: 28px;
  background: var(--accent-tint); }
.guide .convo .bub { max-width: 340px; }
.guide .convo .bub.task { align-self: flex-start; }
.guide .convo .bub.sum { align-self: flex-end; }
.guide .lines { display: flex; flex-direction: column; gap: 8px; }
.guide .line { margin: 0; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; max-width: 88%; }
.guide .line .lbl { display: block; font-size: 12px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.guide .line.them { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }
.guide .line.us { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }

.guide .step-text { font-size: 16px; line-height: 1.5; color: var(--ink); max-width: 56ch; }
.guide .more-guides .who-grid { margin-top: 14px; }
.guide .more-guides .who-people { grid-template-columns: 1fr auto; align-items: center; }

@media (min-width: 760px) {
  .guide .hero h1 { font-size: 48px; }
  .guide .pains { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .guide .pains li { flex-direction: column; }
  .guide .pains p { padding-top: 0; }
  .guide .convo { padding: 28px; }
}
@media (min-width: 1024px) {
  .guide .hero h1 { font-size: 56px; }
}
::selection { background: var(--accent-tint); color: var(--accent-ink); }
.foot-list .all { font-weight: 700; color: var(--accent-ink); }
