/* Lidveriq product site. Same palette and type as the CRM (graphite + violet, Onest). */
@font-face { font-family: "Onest"; src: url("/site/onest-cyr.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("/site/onest-lat.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: #121317;
  --bg2: #17181d;
  --panel: #1d1f25;
  --panel2: #24262d;
  --line: #2c2e36;
  --line2: #383a43;
  --text: #ecedf0;
  --text2: #b9bbc3;
  --muted: #8a8d97;
  --accent: #8b7cff;
  --accent2: #7362f5;
  --accent-soft: rgba(139, 124, 255, .14);
  --amber: #f2b43d;
  --green: #3ecf8e;
  --blue: #5aa9ff;
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-top: 34px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 11px;
  font-weight: 650; font-size: 14.5px; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn.big { height: 50px; padding: 0 26px; font-size: 16px; border-radius: 13px; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 28px rgba(139, 124, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn.primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn.ghost { border-color: var(--line2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn.ghost:hover { border-color: var(--muted); background: rgba(255, 255, 255, .05); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(18, 19, 23, .72); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.top-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand img { border-radius: 8px; }
.top-nav { display: flex; gap: 26px; margin-left: 18px; flex: 1; }
.top-nav a { color: var(--text2); font-size: 14.5px; font-weight: 550; }
.top-nav a:hover { color: var(--text); }
.top-cta { display: flex; gap: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 70px; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .55; }
.g1 { width: 520px; height: 520px; background: #5b4bd8; top: -180px; left: -120px; opacity: .35; }
.g2 { width: 460px; height: 460px; background: #2f6bff; top: 80px; right: -160px; opacity: .22; }
.g3 { width: 700px; height: 360px; background: #6a5ae8; bottom: -220px; left: 50%; transform: translateX(-50%); opacity: .35; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr; gap: 56px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft);
  color: #c9c1ff; font-size: 13.5px; font-weight: 600; border: 1px solid rgba(139, 124, 255, .25); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(62, 207, 142, .18); }
h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; margin: 22px auto 0; max-width: 920px; }
.grad { background: linear-gradient(92deg, #b3a9ff 0%, #8b7cff 45%, #f2b43d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--text2); max-width: 720px; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* ---------- product mock ---------- */
.mock { max-width: 1040px; margin: 0 auto; width: 100%; border-radius: 18px; background: var(--bg2); border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03); text-align: left; overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line2); }
.mock-bar span { margin-left: 12px; font-size: 12.5px; color: var(--muted); padding: 3px 12px; border-radius: 7px; background: var(--bg2); }
.mock-body { display: grid; grid-template-columns: 250px 1fr 230px; min-height: 380px; }
.mock-list { border-right: 1px solid var(--line); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.mock-search { margin: 2px 4px 8px; padding: 8px 12px; border-radius: 9px; background: var(--panel2); color: var(--muted); font-size: 13px; }
.mock-chat { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; position: relative; }
.mock-chat.on { background: var(--accent-soft); }
.mock-chat.on::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--amber); }
.mock-chat div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mock-chat strong { font-size: 13.5px; }
.mock-chat span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.a1 { background: #2fb5a0; } .a2 { background: #3b82f6; } .a3 { background: #e0883a; } .a4 { background: #8b7cff; }
.wait { font-style: normal; font-size: 11px; font-weight: 700; color: #241a04; background: var(--amber); padding: 1px 6px; border-radius: 5px; }
.n { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; }
.mock-conv { display: flex; flex-direction: column; gap: 10px; padding: 0 22px 18px; background: radial-gradient(circle at 70% 0%, rgba(139, 124, 255, .07), transparent 60%); }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.mock-head div { display: flex; flex-direction: column; flex: 1; }
.mock-head strong { font-size: 14px; }
.tag { align-self: flex-start; font-size: 11px; font-weight: 650; color: #f7c66a; background: rgba(242, 180, 61, .14); padding: 1px 7px; border-radius: 5px; margin-top: 2px; }
.mode { font-size: 12px; font-weight: 650; color: var(--green); background: rgba(62, 207, 142, .12); padding: 4px 10px; border-radius: 8px; }
.bubble { max-width: 78%; padding: 9px 13px; border-radius: 15px; font-size: 14px; line-height: 1.45; }
.bubble.in { background: var(--panel2); border-bottom-left-radius: 5px; }
.bubble.out { align-self: flex-end; background: #6a5ae8; color: #fff; border-bottom-right-radius: 5px; }
.bubble small { display: block; font-size: 11px; font-weight: 700; opacity: .85; margin-bottom: 2px; }
.typing { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; align-self: flex-end; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: dot 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; margin-right: 4px; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.mock-card { border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--panel); }
.mc-title { font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.mc-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mc-row span { color: var(--muted); }
.mc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.mc-tags i { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: #c9c1ff; }

/* ---------- stats ---------- */
.stats { padding: 10px 0 30px; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); overflow: hidden; }
.stats-in > div { padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.stats-in > div + div { border-left: 1px solid var(--line); }
.stats-in b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(180deg, #fff, #b3a9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-in span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.sec { padding: 90px 0; }
.sec.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid rgba(255, 255, 255, .04); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head.left { text-align: left; margin: 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); text-transform: none; margin-bottom: 12px; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.sec-head p { color: var(--text2); margin-top: 14px; font-size: 17px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.b-card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s, transform .2s; }
.b-card:hover { border-color: var(--line2); transform: translateY(-2px); }
.b-card.wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; }
.b-card.wide .b-text { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.b-card h3 { font-size: 19px; font-weight: 750; }
.b-card p { color: var(--text2); font-size: 14.5px; }
.b-art { margin-top: auto; }
.b-card.wide .b-art { flex: 1; margin-top: 0; }
.chats { display: flex; flex-direction: column; gap: 8px; }
.row-c { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; background: var(--panel); font-size: 14px; font-weight: 600; }
.row-c span { flex: 1; }
.row-c em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.row-c .ok { color: var(--green); background: rgba(62, 207, 142, .12); }
.row-c .op { color: var(--blue); background: rgba(90, 169, 255, .12); }
.goal { padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px dashed var(--line2); display: flex; flex-direction: column; gap: 3px; margin-top: 14px; }
.goal span { font-size: 12px; color: var(--muted); font-weight: 600; }
.goal b { font-size: 14px; }
.flow { display: flex; align-items: center; gap: 0; margin-top: 16px; flex-wrap: wrap; row-gap: 8px; }
.node { font-size: 12.5px; font-weight: 650; padding: 7px 11px; border-radius: 9px; background: var(--panel2); border: 1px solid var(--line2); }
.node.s { color: var(--green); }
.node.ai { color: #c9c1ff; border-color: rgba(139, 124, 255, .45); background: var(--accent-soft); }
.line { width: 18px; height: 2px; background: var(--line2); }
.score { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.score b { font-size: 46px; font-weight: 800; color: var(--green); letter-spacing: -0.03em; }
.score span { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.funnel { display: flex; flex-direction: column; gap: 10px; }
.funnel div { display: grid; grid-template-columns: 96px 1fr 62px; align-items: center; gap: 12px; font-size: 13.5px; }
.funnel span { color: var(--muted); }
.funnel i { height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #b3a9ff); width: var(--w); min-width: 6px; }
.funnel b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cmp-col { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg2); }
.cmp-col.good { border-color: rgba(139, 124, 255, .45); background: linear-gradient(180deg, rgba(139, 124, 255, .1), var(--bg2)); }
.cmp-col h4 { font-size: 17px; margin-bottom: 14px; }
.cmp ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--text2); }
.cmp li { position: relative; padding-left: 26px; }
.cmp li::before { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.neg li::before { content: '×'; background: rgba(240, 106, 106, .14); color: #f06a6a; }
.pos li::before { content: '✓'; background: rgba(62, 207, 142, .14); color: var(--green); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.steps li { padding: 22px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg2); display: flex; flex-direction: column; gap: 8px; position: relative; }
.steps b { font-size: 14px; font-weight: 800; color: var(--accent); }
.steps h4 { font-size: 16.5px; }
.steps p { color: var(--text2); font-size: 14px; }

/* ---------- pricing (filled in by the server) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg2); display: flex; flex-direction: column; gap: 12px; }
.price-card.accent { border-color: rgba(139, 124, 255, .5); background: linear-gradient(180deg, rgba(139, 124, 255, .12), var(--bg2)); }
.price-title { font-weight: 700; font-size: 16px; color: var(--text2); }
.price-num { display: flex; align-items: baseline; gap: 8px; }
.price-num span { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.price-num small { color: var(--muted); font-size: 15px; }
.price-card p { color: var(--text2); font-size: 14.5px; }
.tiers { margin-top: 16px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg2); display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
.tiers-head h3 { font-size: 22px; font-weight: 800; }
.tiers-head p { color: var(--text2); font-size: 14.5px; margin-top: 10px; }
.tier-list { display: flex; flex-direction: column; gap: 8px; }
.tier { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px; background: var(--panel); }
.tier i { width: 10px; height: 10px; border-radius: 50%; }
.tier div { display: flex; flex-direction: column; min-width: 0; }
.tier b { font-size: 15px; }
.tier span { color: var(--muted); font-size: 13px; }
.tier em { font-style: normal; font-weight: 750; font-size: 15px; text-align: right; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.tier em small { color: var(--muted); font-weight: 500; font-size: 12px; }
.price-foot { color: var(--muted); font-size: 14px; text-align: center; margin-top: 18px; }

/* ---------- faq ---------- */
.faq-wrap { max-width: 820px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--bg2); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text2); padding-bottom: 18px; font-size: 15px; }

/* ---------- final ---------- */
.final { position: relative; padding: 100px 0; overflow: hidden; text-align: center; border-top: 1px solid rgba(255, 255, 255, .04); }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final p { color: var(--text2); font-size: 17px; max-width: 560px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex: 1; flex-wrap: wrap; }
.foot nav a { color: var(--muted); font-size: 14px; }
.foot nav a:hover { color: var(--text); }
.copy { color: var(--muted); font-size: 13.5px; }

/* ---------- motion ---------- */
.hero-text > * { animation: rise .7s both; }
.hero-text > *:nth-child(2) { animation-delay: .06s; } .hero-text > *:nth-child(3) { animation-delay: .12s; } .hero-text > *:nth-child(4) { animation-delay: .18s; }
.mock { animation: rise .9s .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) {
  .mock-body { grid-template-columns: 220px 1fr; }
  .mock-card { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-card.wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .compare { grid-template-columns: 1fr; gap: 28px; }
  .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .top-nav { display: none; }
  .top-in { gap: 12px; }
  .top-cta .btn { height: 36px; padding: 0 12px; }
  .hero { padding: 44px 0 40px; }
  .hero-in { gap: 36px; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-list { display: none; }
  .mock-conv { padding: 0 14px 14px; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stats-in > div + div { border-left: 0; }
  .stats-in > div:nth-child(2n) { border-left: 1px solid var(--line); }
  .stats-in > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stats-in b { font-size: 26px; }
  .sec { padding: 60px 0; }
  .bento, .price-grid, .cmp { grid-template-columns: 1fr; }
  .b-card.wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .steps { grid-template-columns: 1fr; }
  .tier { grid-template-columns: 10px 1fr; }
  .tier em { grid-column: 2; text-align: left; flex-direction: row; gap: 6px; align-items: baseline; }
  .foot nav { flex-basis: 100%; order: 3; }
}
