/* Plugix CRM — the product's own pages (landing, login). The Plugix brand: white, ink #1a1a1a, navy #101938, one accent #2d3c9a. */
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/site/fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/site/fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/site/fonts/manrope-latin.woff2) format('woff2'); 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 {
  --ink: #1a1a1a; --ink-2: #5d6068; --ink-3: #8b8e96; --line: #e8e8e8; --line-2: #d5d5d5; --paper: #f7f7f7; --white: #fff;
  --navy: #101938; --pick: #2d3c9a; --pick-2: #24317f; --pick-soft: rgba(45, 60, 154, .08); --ok: #1a7d43; --bad: #b42318;
  --gut: max(20px, 5vw); --r: 18px; --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(16, 25, 56, .05), 0 24px 70px rgba(16, 25, 56, .1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: #fff; }
body { margin: 0; font-family: Manrope, -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--pick); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1180px, 100% - var(--gut) * 2); margin: 0 auto; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--pick); color: #fff; font-weight: 650; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--pick-2); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--paper); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn.lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.brand svg { width: 30px; height: 30px; color: var(--navy); flex: none; }
.brand small { font-weight: 600; font-size: 12px; letter-spacing: .02em; color: var(--pick); background: var(--pick-soft); padding: 3px 8px; border-radius: 999px; margin-left: 2px; }
.top nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; }
.top nav a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.top nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .top nav a.hide-m { display: none; } .top nav { gap: 14px; } .top .btn { padding: 0 14px; } }

/* ---------------------------------------------------------------- hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--pick); background: var(--pick-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(26, 125, 67, .15); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--pick); }
.hero .lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--ink-2); max-width: 31em; margin-bottom: 30px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); }

/* the product in action: the chat on a site + the owner's Telegram notice */
.stage { position: relative; min-height: 600px; }
.chat { position: relative; width: min(372px, 100%); margin-left: 0; margin-right: auto; background: #fff; border-radius: 26px; box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; }
.chat .hd { display: flex; align-items: center; gap: 11px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.ava { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #e9c6b1, #b98a73); flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; }
.chat .hd b { display: block; font-size: 15px; letter-spacing: -.01em; }
.chat .hd small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.chat .hd small i { width: 7px; height: 7px; border-radius: 50%; background: #3fbf7a; }
.msgs { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 20px; background: #fbfbfa; }
.m { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: rise .5s var(--ease) forwards; }
.m.u { align-self: flex-end; background: var(--pick); color: #fff; border-bottom-right-radius: 6px; }
.m.a { align-self: flex-start; background: #fff; box-shadow: 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.chips span { font-size: 13px; font-weight: 650; padding: 6px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.chips span.on { background: var(--pick); color: #fff; box-shadow: none; }
.okcard { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(26, 125, 67, .07); color: #135c32; font-size: 13.5px; font-weight: 600; }
.okcard svg { width: 18px; height: 18px; flex: none; }
.m:nth-child(1) { animation-delay: .2s; } .m:nth-child(2) { animation-delay: .9s; } .m:nth-child(3) { animation-delay: 1.7s; } .m:nth-child(4) { animation-delay: 2.4s; } .m:nth-child(5) { animation-delay: 3.1s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.tgn { position: absolute; right: 0; bottom: -18px; width: min(318px, 86%); background: #fff; border-radius: 20px; box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 14px 16px 16px; opacity: 0; transform: translateY(14px) scale(.98); animation: rise .6s var(--ease) 3.8s forwards; }
.tgn .h { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 9px; }
.tgn .h svg { width: 26px; height: 26px; color: #fff; background: #2aabee; border-radius: 50%; padding: 5px; }
.tgn .h b { color: var(--ink); font-size: 13.5px; }
.tgn p { font-size: 14px; line-height: 1.5; }
.tgn p strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.tgn .bt { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 11px; }
.tgn .bt span { text-align: center; font-size: 13px; font-weight: 650; padding: 8px; border-radius: 10px; background: var(--paper); color: #2481cc; }
.tgn .bt span:first-child { background: #e8f3fc; }
.calday { position: absolute; right: 0; top: 36px; width: 164px; background: #fff; border-radius: 16px; box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 12px; font-size: 12px; opacity: 0; animation: rise .6s var(--ease) 4.4s forwards; }
.calday b { display: block; font-size: 12.5px; margin-bottom: 8px; }
.ev { border-left: 3px solid var(--pick); background: var(--pick-soft); border-radius: 6px; padding: 5px 7px; margin-bottom: 5px; line-height: 1.3; }
.ev.n { border-color: #3fbf7a; background: rgba(63, 191, 122, .1); }
.ev small { display: block; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .m, .tgn, .calday { animation: none; opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- sections */
section.s { padding: 84px 0; }
section.s.alt { background: var(--paper); }
.sh { max-width: 640px; margin-bottom: 40px; }
.sh .k { font-size: 13.5px; font-weight: 650; color: var(--pick); margin-bottom: 12px; }
.sh h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.sh p { color: var(--ink-2); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: 0 0 0 1px var(--line); }
.step .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--pick-soft); color: var(--pick); margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -.02em; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step .ui { margin-top: 18px; border-radius: 12px; background: var(--paper); padding: 12px; font-size: 13px; }
.ui .row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 2px; border-top: 1px solid var(--line); }
.ui .row:first-child { border-top: 0; }
.ui .row b { font-weight: 650; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 24px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.feat svg { width: 26px; height: 26px; color: var(--pick); margin-bottom: 16px; }
.feat h3 { font-size: 18px; margin-bottom: 7px; letter-spacing: -.015em; }
.feat p { color: var(--ink-2); font-size: 15px; }

/* ---------------------------------------------------------------- the lead form */
.join .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.join h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 16px; }
.join .points { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--ink-2); }
.join .points li { display: flex; gap: 10px; }
.join .points svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 2px; }
.form { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.f { display: block; margin-bottom: 14px; }
.f span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.in { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.in:focus { outline: none; border-color: var(--pick); box-shadow: 0 0 0 4px var(--pick-soft); }
textarea.in { min-height: 92px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { width: 100%; margin-top: 6px; }
.form .note { font-size: 13px; color: var(--ink-3); margin-top: 12px; text-align: center; }
.form .err { color: var(--bad); font-size: 14px; margin: 4px 0 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { text-align: center; padding: 30px 10px; }
.done svg { width: 54px; height: 54px; color: var(--ok); margin: 0 auto 14px; }
.done h3 { font-size: 24px; margin-bottom: 8px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--ink-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.foot a { text-decoration: none; }

@media (max-width: 960px) {
  .hero { padding: 24px 0 40px; }
  .chat { margin-right: auto; }
  .hero .wrap, .join .wrap { grid-template-columns: 1fr; gap: 36px; }
  .stage { min-height: 520px; }
  .chat { margin: 0 auto; }
  .steps, .feats { grid-template-columns: 1fr; }
  section.s { padding: 60px 0; }
}
@media (max-width: 520px) {
  .hero .lead { font-size: 16.5px; margin-bottom: 22px; }
  .hero .cta { flex-wrap: nowrap; gap: 8px; margin-bottom: 0; }
  .hero .cta .btn { flex: 1 1 auto; padding: 0 14px; font-size: 15px; min-height: 50px; }
  .trust { display: none; }
  .top .wrap { gap: 10px; }
  .top nav .btn { font-size: 14px; }
  .brand small { display: none; }
  .stage { min-height: 600px; }
  .chat { width: 100%; margin: 0; }
  .calday { display: none; }
  .tgn { left: 4%; right: auto; width: 92%; bottom: 0; }
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 22px 18px; }
}

/* ---------------------------------------------------------------- login */
.auth { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.auth .pane { display: flex; flex-direction: column; justify-content: center; padding: 48px max(24px, 6vw); }
.auth .pane.art { background: var(--navy); color: #eef0fb; position: relative; overflow: hidden; }
.auth .pane.art h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; color: #fff; }
.auth .pane.art p { color: rgba(222, 227, 255, .72); font-size: 16.5px; max-width: 28em; }
.auth .pane.art .tgn p { color: var(--ink-2); font-size: 14px; max-width: none; } /* the white Telegram card keeps dark text */
.auth .pane.art .tgn p strong { color: var(--ink); }
.auth .box { width: min(400px, 100%); }
.auth .box .brand { margin-bottom: 44px; }
.auth h1 { font-size: 34px; margin-bottom: 10px; }
.auth .lead { color: var(--ink-2); margin-bottom: 26px; }
.auth .btn { width: 100%; }
.auth .tgbtn { background: #2aabee; }
.auth .tgbtn:hover { background: #1f97d6; }
.auth .tgbtn svg { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.code { font-size: 28px; letter-spacing: .4em; text-align: center; font-weight: 650; }
.hint { font-size: 14px; color: var(--ink-2); background: var(--paper); border-radius: 14px; padding: 12px 14px; margin: 14px 0; }
.hint b { color: var(--ink); }
.invite { border-radius: 16px; padding: 14px 16px; background: var(--pick-soft); color: var(--pick-2); margin-bottom: 22px; font-size: 15px; }
.invite b { color: var(--ink); }
.auth .err { color: var(--bad); font-size: 14px; margin-top: 12px; }
.tglink { display: block; text-align: center; font-size: 14px; color: var(--pick); margin-top: 12px; }
.mock { margin-top: 36px; display: grid; gap: 10px; max-width: 360px; }
.mock .tgn { position: static; opacity: 1; transform: none; animation: none; width: 100%; color: var(--ink); }
.mock-cap { font-size: 13px; letter-spacing: .01em; color: rgba(222, 227, 255, .6); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth .pane.art { display: none; } .auth .pane { padding: 28px 20px; justify-content: flex-start; } .auth .box .brand { margin-bottom: 32px; } }
