@font-face { font-family: 'Onest'; src: url('/fonts/onest-cyrillic-wght-normal.woff2') format('woff2'); font-weight: 100 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('/fonts/onest-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #07090d; --surface: #0e1218; --raised: #151b24; --line: #1c2430; --line-strong: #2a3545;
  --text: #e9f0fa; --muted: #8b97aa; --faint: #5c677a;
  --sky: #5cc8ff; --violet: #9b8cff; --mint: #5eead4;
  --radius: 18px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); overflow-x: hidden; }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }

/* language switch: content is written twice, one copy is hidden */
html[data-lang='uk'] [lang='en'], html[data-lang='en'] [lang='uk'] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(7, 9, 13, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--text); text-decoration: none; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 13px var(--font); padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed='true'] { background: var(--raised); color: var(--text); }
@media (max-width: 720px) { .top nav .hide-m { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 13px 20px; font: 600 16px var(--font); border: 1px solid var(--line-strong); color: var(--text); background: var(--surface); }
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn.primary { background: linear-gradient(135deg, var(--sky), var(--violet)); color: #04121c; border: 0; }
.btn.primary:hover { filter: brightness(1.07); }

/* hero */
.hero { position: relative; padding: 80px 0 72px; }
.hero::before { content: ''; position: absolute; inset: -120px 0 auto; height: 620px; background: radial-gradient(600px 300px at 20% 30%, rgba(92, 200, 255, .13), transparent 70%), radial-gradient(520px 300px at 80% 20%, rgba(155, 140, 255, .13), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-size: 14px; font-weight: 600; border: 1px solid rgba(94, 234, 212, .25); background: rgba(94, 234, 212, .07); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 20px; font-weight: 750; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--sky), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 19px; max-width: 540px; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .hero { padding-top: 48px; } .hero .wrap { grid-template-columns: 1fr; gap: 44px; } }

/* chat mockup */
.phone { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); max-width: 400px; width: 100%; justify-self: center; }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.ava { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #f5b97a, #ff7a8a); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #1a0d07; }
.phone-head b { font-size: 15px; display: block; line-height: 1.2; }
.phone-head small { color: var(--muted); font-size: 12px; }
.msgs { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.m { max-width: 82%; padding: 9px 13px; border-radius: 18px; }
.m.in { align-self: flex-end; background: linear-gradient(135deg, #3a7bfd, #8a5cf6); color: #fff; border-bottom-right-radius: 6px; }
.m.out { align-self: flex-start; background: var(--raised); border-bottom-left-radius: 6px; }
.m.ok { border: 1px solid rgba(94, 234, 212, .35); }
.slots { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.slots span { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; padding: 2px 8px; font-size: 13px; }
.typing { align-self: flex-start; background: var(--raised); border-radius: 18px; padding: 11px 14px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .typing i { animation: none; } html { scroll-behavior: auto; } }

/* sections */
section { padding: 72px 0; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 720; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--raised); color: var(--sky); font-weight: 700; margin-bottom: 16px; }
.step h3, .feat h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.step p, .feat p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(92, 200, 255, .1); color: var(--sky); }
.feat:nth-child(3n+2) .ic { background: rgba(155, 140, 255, .12); color: var(--violet); }
.feat:nth-child(3n) .ic { background: rgba(94, 234, 212, .1); color: var(--mint); }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* case + pricing */
.duo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.case .tag { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.case h3 { font-size: 26px; margin: 0 0 12px; letter-spacing: -.02em; }
.case p { color: var(--muted); margin: 0 0 18px; }
.case ul, .price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.case li, .price li { display: flex; gap: 10px; align-items: flex-start; }
.case li::before, .price li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(94, 234, 212, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.price { background: linear-gradient(180deg, rgba(92, 200, 255, .09), rgba(155, 140, 255, .06)), var(--surface); border-color: var(--line-strong); }
.price .amount { font-size: 46px; font-weight: 760; letter-spacing: -.03em; line-height: 1; margin: 6px 0 4px; }
.price .amount small { font-size: 17px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price .note { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.price .btn { margin-top: 26px; width: 100%; justify-content: center; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* contact */
.contact { text-align: center; }
.contact .card { padding: 48px 24px; background: radial-gradient(500px 200px at 50% 0%, rgba(92, 200, 255, .12), transparent 70%), var(--surface); }
.contact p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; font-size: 17px; }
.contact .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 48px 20px 64px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 42px); margin-bottom: 6px; }
.legal .date { color: var(--muted); font-size: 14px; margin: 0 0 30px; }
.legal h2 { font-size: 21px; margin: 34px 0 8px; letter-spacing: -.01em; }
.legal p, .legal li { color: #cdd6e4; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 5px 0; }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 18px 0; }
.price .amount { white-space: nowrap; }
@media (max-width: 420px) { .price .amount { font-size: 38px; } .card { padding: 24px 20px; } }
