@font-face { font-family: "Unbounded"; src: url(/assets/fonts/unbounded-cyr.woff2) format("woff2"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url(/assets/fonts/unbounded-lat.woff2) format("woff2"); font-weight: 200 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; }
@font-face { font-family: "Manrope"; src: url(/assets/fonts/manrope-cyr.woff2) format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(/assets/fonts/manrope-lat.woff2) format("woff2"); font-weight: 200 800; 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; }

:root {
  --bg: #04060d;
  --ink: #eaf2ff;
  --muted: #8c9cb6;
  --faint: #56657e;
  --line: rgba(140, 186, 255, .13);
  --line-strong: rgba(140, 186, 255, .26);
  --panel: rgba(12, 20, 36, .66);
  --accent: #62b2f5;
  --accent-hi: #b9d3ec;
  --accent-deep: #2f6fd6;
  --glow: rgba(98, 178, 245, .16);
  --radius: 26px;
  --wrap: 1160px;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background: var(--bg);
  font: 500 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent-hi); text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 10px; }
::selection { background: rgba(98, 178, 245, .35); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; position: relative; }
img { display: block; }

/* ---------- Space ---------- */
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.nebula { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.nebula i { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .22; will-change: transform; }
.nebula i:nth-child(1) { width: 62vmax; height: 62vmax; left: 38%; top: -22vmax; background: radial-gradient(circle, rgba(47, 111, 214, .55), transparent 65%); animation: drift1 38s ease-in-out infinite alternate; }
.nebula i:nth-child(2) { width: 48vmax; height: 48vmax; left: -18vmax; top: 40%; background: radial-gradient(circle, rgba(25, 150, 200, .32), transparent 65%); animation: drift2 46s ease-in-out infinite alternate; }
.nebula i:nth-child(3) { width: 40vmax; height: 40vmax; right: -14vmax; bottom: -16vmax; background: radial-gradient(circle, rgba(90, 110, 230, .26), transparent 65%); animation: drift1 54s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(7vmax, -4vmax, 0) scale(1.12); } }

/* ---------- Header ---------- */
header.top { position: sticky; top: 0; z-index: 20; padding: 16px 0; transition: background-color .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
header.top.scrolled { background: rgba(4, 6, 13, .8); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font: 600 19px/1 var(--display); letter-spacing: -.01em; }
.brand img { border-radius: 50%; }
.links { display: flex; align-items: center; gap: 28px; }
.links a { color: var(--muted); font-size: 15px; font-weight: 600; transition: color .2s; }
.links a:hover { color: var(--ink); }
.links .pill { color: var(--ink); padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); background: rgba(98, 178, 245, .06); }
.links .pill:hover { background: rgba(98, 178, 245, .14); }

/* ---------- Page swap ---------- */
#app { display: block; transition: opacity .28s var(--ease), transform .28s var(--ease), filter .28s var(--ease); }
#app.leaving { opacity: 0; transform: translateY(10px); filter: blur(6px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - 72px); display: grid; align-items: center; padding: 40px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(98, 178, 245, .08); box-shadow: inset 0 0 0 1px var(--line); color: var(--accent-hi); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5ff0b2; box-shadow: 0 0 0 0 rgba(95, 240, 178, .6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(95, 240, 178, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(95, 240, 178, 0); } }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.hero h1 { font-size: clamp(38px, 5.4vw, 74px); line-height: 1.04; margin-bottom: 26px; }
.glow-text { color: #93b9de; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 31em; margin: 0 0 38px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 700 16px/1 var(--body); letter-spacing: .01em; transition: transform .2s var(--ease), box-shadow .3s, background-color .3s; isolation: isolate; }
.btn:active { transform: scale(.97); }
.btn.primary { color: #06121f; background: #8fc0ea; }
.btn.primary:hover { transform: translateY(-1px); background: #a3cdef; }
.btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); transform: translateY(-1px); }

.eye-stage { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; }
.eye { width: 100%; height: 100%; overflow: visible; opacity: .92; }
.eye-halo { animation: breathe 6s ease-in-out infinite; }
.orbit, .lid, .blinker, .eye-halo { transform-box: fill-box; transform-origin: center; }
.orbit-a { animation: spin 90s linear infinite; }
.orbit-b { animation: spin 60s linear infinite reverse; }
.l3 { opacity: .3; animation: breathe 7s ease-in-out infinite; }
.l2 { opacity: .6; animation: breathe 7s ease-in-out .6s infinite; }
.eye.blink .blinker { animation: blink .34s ease-in-out; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 45%, 55% { transform: scaleY(.06); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
section.demo, section.features, section.steps-section { padding: 90px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.kicker { margin: 0 0 14px; color: #7fa6cc; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
.section-head p:not(.kicker) { color: var(--muted); margin: 18px 0 0; font-size: 18px; text-wrap: pretty; }
code { font-family: var(--mono); font-size: .84em; padding: 2px 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--accent-hi); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }

/* ---------- Demo chat ---------- */
.demo .wrap { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 64px; align-items: start; }
.demo .section-head { position: sticky; top: 130px; margin: 40px 0 0; }
.demo-hints { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; color: var(--muted); font-size: 16px; }
.demo-hints li { position: relative; padding-left: 20px; }
.demo-hints li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #8fc0ea; }
.chat { position: relative; width: 100%; max-width: 720px; justify-self: end; border-radius: 30px; background: rgba(11, 17, 30, .9);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px -40px rgba(0, 0, 0, .8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.chat::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(169, 220, 255, .55), transparent 30%, transparent 70%, rgba(98, 178, 245, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; display: none; }
.chat-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat-head img { border-radius: 50%; }
.chat-head b { display: block; font-size: 16px; }
.status { color: var(--faint); font-size: 13px; font-weight: 600; transition: color .3s; }
.status.on { color: #5ff0b2; }
.status.typing { color: var(--accent); }
.badge { margin-left: auto; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); background: rgba(98, 178, 245, .1); box-shadow: inset 0 0 0 1px var(--line); }
.chat-log { height: min(56vh, 460px); overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(98, 178, 245, .3) transparent; }
.bubble { max-width: 84%; padding: 11px 15px; border-radius: 20px; font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; animation: pop .38s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.bubble.me { align-self: flex-end; color: #06121f; background: #8fc0ea; border-bottom-right-radius: 6px; font-weight: 600; }
.bubble.bot { align-self: flex-start; background: rgba(255, 255, 255, .055); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.bubble.bot b { font-weight: 800; }
.bubble.bot blockquote { margin: 8px 0 2px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); color: #c3cfe0; border-left: 2px solid rgba(143, 192, 234, .5); }
.bubble.bot small { display: block; margin-top: 6px; color: var(--faint); font-size: 13px; }
.bubble.flash { animation: flash .5s var(--ease); }
@keyframes flash { 0% { box-shadow: inset 0 0 0 1px rgba(143, 192, 234, .6); } 100% { box-shadow: inset 0 0 0 1px var(--line); } }
.reels { display: inline-block; margin: 4px 0; font-size: 30px; letter-spacing: .18em; }
.reels.die { animation: roll .5s linear infinite; }
@keyframes roll { to { transform: rotate(360deg); } }
.bubble.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .4; animation: dots 1.1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; } .bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.sys { align-self: center; font-size: 13px; color: var(--faint); padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .03); }
.chips { display: flex; gap: 8px; padding: 0 22px 14px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; font: 600 14px/1 var(--mono); color: var(--accent-hi);
  background: rgba(98, 178, 245, .08); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, transform .15s; }
.chips button:hover { background: rgba(98, 178, 245, .18); }
.chips button:active { transform: scale(.95); }
.composer { display: flex; gap: 10px; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.composer input { flex: 1; min-width: 0; min-height: 50px; padding: 0 18px; border: 0; border-radius: 999px; outline: none; color: var(--ink); font: 500 16px var(--body);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.composer input:focus { box-shadow: inset 0 0 0 1px rgba(143, 192, 234, .55); }
.composer input::placeholder { color: var(--faint); }
.composer button { flex: none; width: 50px; height: 50px; border: 0; border-radius: 50%; cursor: pointer; color: #06121f; background: #8fc0ea; display: grid; place-items: center; transition: transform .15s, opacity .2s; }
.composer button:active { transform: scale(.92); }
.chat.offline .composer, .chat.offline .chips { opacity: .45; pointer-events: none; }
.noscript { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Features ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.feature-list li { counter-increment: f; position: relative; display: grid; grid-template-columns: 90px minmax(200px, 340px) 1fr; gap: 28px; align-items: baseline; padding: 38px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li::before { content: "0" counter(f); font: 500 15px var(--display); color: var(--faint); }
.feature-list li::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: linear-gradient(90deg, rgba(143, 192, 234, .5), transparent); transition: width .9s var(--ease); }
.feature-list li:hover::after, .feature-list li.in::after { width: 60%; }
.feature-list h3 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; transition: color .3s; }
.feature-list li:hover h3 { color: var(--accent-hi); }
.feature-list p { margin: 0; color: var(--muted); font-size: 17px; max-width: 34em; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps li { counter-increment: s; position: relative; padding: 30px 28px 32px; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.steps li i { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 50%;
  font: 600 20px/1 var(--display); color: #b9d3ec; background: rgba(143, 192, 234, .08); box-shadow: inset 0 0 0 1px var(--line-strong); }
.steps li i::before { content: counter(s); font-style: normal; }
.steps b { display: block; margin-bottom: 8px; font: 600 19px/1.25 var(--display); letter-spacing: -.02em; }
.steps span { color: var(--muted); font-size: 16px; }

/* ---------- Final CTA ---------- */
.final { padding: 80px 0 130px; text-align: center; }
.final img { margin: 0 auto 30px; border-radius: 50%; }
.final h2 { max-width: 14em; margin: 0 auto 36px; }
.final .actions { justify-content: center; }

/* ---------- Legal / 404 ---------- */
.legal { padding: 30px 0 110px; }
.legal .wrap { max-width: 820px; }
.back { display: inline-flex; margin-bottom: 26px; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; }
.back:hover { color: var(--ink); }
.legal article { padding: 48px 52px; border-radius: 30px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.legal .eyebrow { margin-bottom: 18px; }
.legal h1 { font-size: clamp(24px, 3.6vw, 40px); line-height: 1.12; margin-bottom: 12px; overflow-wrap: break-word; }
@media (max-width: 420px) { .legal h1 { hyphens: auto; } }
.legal .muted { color: var(--faint); font-size: 15px; margin: 0 0 30px; }
.legal h2 { font-size: 21px; line-height: 1.3; margin: 40px 0 12px; color: var(--ink); letter-spacing: -.02em; }
.legal p, .legal li { color: #c3d0e4; line-height: 1.75; }
.legal ul { padding-left: 22px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound img { margin: 0 auto 28px; border-radius: 50%; }
.notfound h1 { font-size: clamp(34px, 6vw, 60px); margin-bottom: 12px; }
.notfound p { color: var(--muted); margin: 0 0 30px; }

/* ---------- Footer ---------- */
footer.bottom { padding: 36px 0 44px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.brand.small { font-size: 15px; gap: 10px; }
.brand.small em { font: 500 14px var(--body); font-style: normal; color: var(--faint); margin-left: 6px; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
footer.bottom nav a { color: var(--muted); font-weight: 600; transition: color .2s; }
footer.bottom nav a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .steps li.reveal:nth-child(2), .js .feature-list li.reveal:nth-child(2) { transition-delay: .08s; }
.js .steps li.reveal:nth-child(3), .js .feature-list li.reveal:nth-child(3) { transition-delay: .16s; }
.js .feature-list li.reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; padding: 12px 20px; border-radius: 999px;
  background: rgba(16, 26, 46, .92); box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 50px -20px #000; font-size: 14px; font-weight: 600; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero { min-height: auto; padding: 10px 0 90px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 10px; }
  .eye-stage { order: -1; width: min(78vw, 400px); }
  .feature-list li { grid-template-columns: 60px 1fr; gap: 10px 18px; }
  .feature-list li p { grid-column: 2; }
  .steps { grid-template-columns: 1fr; }
  .demo .wrap { grid-template-columns: 1fr; gap: 0; }
  .demo .section-head { position: static; margin: 0 0 36px; }
  .demo-hints { display: none; }
  .chat { justify-self: stretch; max-width: none; }
  section.demo, section.features, section.steps-section { padding: 80px 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .links a:not(.pill) { display: none; }
  .links .pill { padding: 9px 14px; font-size: 14px; }
  .actions .btn { flex: 1 1 100%; }
  .chat { border-radius: 24px; margin: 0 -4px; }
  .chat-log { padding: 16px; height: 58vh; }
  .chips { padding: 0 16px 12px; }
  .bubble { max-width: 90%; }
  .feature-list li { grid-template-columns: 1fr; padding: 30px 0; }
  .feature-list li p { grid-column: 1; }
  .legal article { padding: 28px 22px; border-radius: 24px; }
  code { white-space: normal; }
  .section-head { margin-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
