:root {
  --bg: #f6f7f9;
  --surface: #fff;
  --line: #e3e7ed;
  --line-2: #d4dae3;
  --text: #121820;
  --muted: #5d6877;
  --blue: #1f6feb;
  --blue-2: #1a5fd0;
  --blue-soft: #ebf2fe;
  --blue-line: #bcd3fb;
  --bad: #e8a29c;
  --dark: #0b0e13;
  --dark-2: #11161e;
  --dark-line: rgba(255, 255, 255, .09);
  --dark-muted: #8e99aa;
  --r: 10px;
  --header: 60px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--sm { max-width: 780px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

/* Dark surfaces */
.dark { background: var(--dark); color: #f3f5f8; }
.dark .eyebrow { color: #5aa2ff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn--sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-2); }
.btn--line { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--text); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { border-color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; height: var(--header); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; letter-spacing: -.04em; }
.logo img { width: 28px; height: auto; }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { padding: 8px 11px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #38424f; border-radius: 6px; }
.nav a:hover { color: var(--blue); }
.nav__login { display: none !important; }
.header__right { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.lang button { border: 0; background: none; padding: 7px 9px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.lang button + button { border-left: 1px solid var(--line); }
.lang button.is-on { background: var(--text); color: #fff; }
.burger { display: none; width: 38px; height: 38px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.8px; background: var(--text); transition: transform .2s, top .2s; }
.burger span:first-child { top: 14px; }
.burger span:last-child { top: 22px; }
.burger[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 80px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 380px at 82% 40%, rgba(31, 111, 235, .16), transparent 70%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.3vw, 52px); margin: 16px 0 18px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: #5aa2ff; }
.lead { font-size: 17px; color: #b5bfcc; max-width: 540px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.pills li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 6px; font-size: 13px; font-weight: 500; color: #d2d9e3; border: 1px solid var(--dark-line); background: rgba(255, 255, 255, .03); }
.pills .ic { width: 15px; height: 15px; color: #5aa2ff; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: 13px; color: var(--dark-muted); }

/* Console mock */
.console { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 14px; padding: 16px; box-shadow: 0 30px 80px -40px rgba(31, 111, 235, .55); }
.console__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--dark-line); font-size: 14px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #7ee2a8; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }
.console__time { margin-left: auto; font: 600 12px var(--mono); color: var(--dark-muted); }
.console__label { margin: 14px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dark-muted); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--dark-line); background: transparent; color: #c8d0db; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; cursor: pointer; }
.tabs button.is-on { background: #f3f5f8; color: var(--dark); border-color: #f3f5f8; }
.console__pain { margin: 12px 0; padding: 10px 12px; border-radius: 8px; background: rgba(232, 162, 156, .08); border: 1px solid rgba(232, 162, 156, .25); font-size: 13px; color: #e9d3d0; display: flex; gap: 10px; }
.console__pain b { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bad); padding-top: 1px; }
.flow { display: grid; gap: 8px; min-height: 246px; }
.frow { display: grid; grid-template-columns: 1.15fr .8fr 1.05fr; align-items: center; gap: 8px; opacity: 0; transform: translateY(6px); animation: rowin .45s var(--d) forwards; }
.frow > * { min-width: 0; }
.ev { padding: 9px 10px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); font-size: 12.5px; line-height: 1.35; }
.ev small { display: block; font-size: 11px; color: var(--dark-muted); margin-bottom: 2px; }
.agent { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 99px; border: 1px solid rgba(90, 162, 255, .45); background: rgba(31, 111, 235, .12); font-size: 12px; font-weight: 600; color: #cfe2ff; position: relative; }
.agent .ic { width: 14px; height: 14px; color: #5aa2ff; }
.agent::before, .agent::after { content: ""; position: absolute; top: 50%; width: 8px; height: 1px; background: rgba(90, 162, 255, .5); }
.agent::before { left: -9px; } .agent::after { right: -9px; }
.res { padding: 8px 10px; border-radius: 8px; background: #f3f5f8; color: var(--dark); font-size: 12.5px; line-height: 1.3; display: flex; gap: 8px; align-items: flex-start; opacity: 0; animation: rowin .35s calc(var(--d) + .5s) forwards; }
.res .ic { width: 15px; height: 15px; color: #0f9d58; margin-top: 1px; }
.res b { display: block; font-weight: 600; }
.res small { color: #5d6877; font-size: 11.5px; }
@keyframes rowin { to { opacity: 1; transform: none; } }
.console__foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--dark-line); font-size: 12px; color: var(--dark-muted); }
.console__foot b { color: #fff; font-family: var(--mono); }
.console__foot .ok { display: inline-flex; align-items: center; gap: 6px; color: #cfe2ff; }
.console__foot .ok .ic { width: 14px; height: 14px; color: #5aa2ff; }
.console__hint { margin-top: 8px; font-size: 11px; color: #5f6a7a; }

/* Stats strip */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__in > div { padding: 26px 20px; border-left: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
.stats__in > div:first-child { border-left: 0; padding-left: 0; }
.stats b { font: 600 26px var(--mono); color: var(--blue); letter-spacing: -.03em; white-space: nowrap; }
.stats b small { font-size: 15px; }
.stats span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: #eef1f5; }
.section--tint { background: #eaf1fc; }
.head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.head h2 { font-size: clamp(27px, 3.3vw, 38px); margin: 12px 0 12px; }
.head p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.dark .head p:not(.eyebrow) { color: var(--dark-muted); }

/* Pain table */
.pain { display: grid; gap: 10px; }
.pain__row { display: grid; grid-template-columns: 1.15fr 1fr 1.05fr; gap: 28px; align-items: center; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.pain__row:hover { border-color: var(--blue-line); }
.pain__who small { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pain__who p { margin-top: 6px; font-weight: 600; font-size: 16px; line-height: 1.35; }
.pain__bars { display: grid; gap: 10px; }
.pain__bars > div { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); }
.pain__bars em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--text); display: block; margin-bottom: 4px; }
.bar { display: block; height: 6px; border-radius: 3px; background: #edf0f4; position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; }
.bar--bad::after, .legend .bar--bad { background: var(--bad); }
.bar--good::after, .legend .bar--good { background: var(--blue); }
.pain__fix p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--blue-soft); border: 1px solid var(--blue-line); color: var(--blue-2); font-size: 12.5px; font-weight: 600; }
.badge .ic { width: 14px; height: 14px; }
.legend { display: flex; gap: 22px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 6px; border-radius: 3px; }

/* Platform bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.tile--wide { grid-column: span 2; grid-row: span 2; }
.tile header { display: flex; gap: 12px; align-items: flex-start; }
.tile header > div { flex: 1; }
.tile h3 { font-size: 17px; }
.tile header p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.tile__ic { width: 36px; height: 36px; border-radius: 8px; background: var(--dark); color: #fff; display: grid; place-items: center; flex: none; }
.chip { padding: 3px 9px; border-radius: 6px; background: var(--blue-soft); color: var(--blue-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.kanban { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; border-radius: 10px; background: #f3f5f8; border: 1px solid var(--line); }
.kanban > div { display: grid; gap: 8px; align-content: start; }
.kanban p { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 2px 2px 4px; }
.kc { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.kc--on { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.kc b { display: block; font-size: 13.5px; }
.kc small { display: block; font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.t { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--blue-2); }
.t i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.mini-chat { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: #f3f5f8; border: 1px solid var(--line); margin-top: auto; }
.mini-chat p { max-width: 88%; padding: 8px 11px; border-radius: 10px; font-size: 13px; line-height: 1.4; }
.mini-chat .in { background: var(--surface); border: 1px solid var(--line); justify-self: start; }
.mini-chat .out { background: var(--dark); color: #fff; justify-self: end; }
.wave { display: flex; align-items: center; gap: 3px; height: 54px; padding: 0 12px; border-radius: 10px; background: #f3f5f8; border: 1px solid var(--line); margin-top: auto; }
.wave i { flex: 1; border-radius: 2px; background: var(--blue); height: 30%; animation: wv 1.3s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -1s; }
@keyframes wv { 50% { height: 85%; } }
.wave__meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-top: -8px; }
.langs { display: flex; gap: 4px; }
.langs b { font-size: 11px; padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--text); }
.post { padding: 12px; border-radius: 10px; background: #f3f5f8; border: 1px solid var(--line); font-size: 13px; display: grid; gap: 6px; margin-top: auto; }
.post small { color: var(--muted); font-size: 11.5px; }
.post .reply { padding-left: 10px; border-left: 2px solid var(--blue); }
.score { display: flex; align-items: center; gap: 18px; padding: 12px; border-radius: 10px; background: #f3f5f8; border: 1px solid var(--line); margin-top: auto; }
.ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none; background: conic-gradient(var(--blue) calc(var(--p) * 1%), #dfe4eb 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #f3f5f8; }
.ring b { position: relative; font: 600 18px var(--mono); }
.score ul { flex: 1; display: grid; gap: 8px; }
.score li { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.score li i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--w), #dfe4eb 0); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px; border-radius: 10px; background: #f3f5f8; border: 1px solid var(--line); margin-top: auto; }
.slots span { padding: 7px 4px; text-align: center; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font: 600 12px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slots .is-busy { color: #a6afbb; text-decoration: line-through; background: transparent; }
.slots .is-on { grid-column: span 2; background: var(--blue); border-color: var(--blue); color: #fff; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.item .ic { width: 20px; height: 20px; color: var(--blue); margin-bottom: 14px; }
.item h3 { font-size: 15.5px; margin-bottom: 6px; }
.item p { font-size: 14px; color: var(--muted); }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ind { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.ind:hover { border-color: var(--blue-line); }
.ind img { width: 44px; height: 44px; flex: none; padding: 5px; border-radius: 10px; background: var(--dark); }
.ind h3 { font-size: 15.5px; margin-bottom: 4px; }
.ind p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ind small { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--muted); padding: 2px 8px; border: 1px solid var(--line); border-radius: 5px; }

/* Steps (dark) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--dark-line); border-radius: 12px; overflow: hidden; }
.steps li { padding: 28px 24px; border-left: 1px solid var(--dark-line); }
.steps li:first-child { border-left: 0; }
.steps span { font: 600 14px var(--mono); color: #5aa2ff; }
.steps h3 { font-size: 18px; margin: 16px 0 10px; }
.steps p { font-size: 14px; color: var(--dark-muted); margin-bottom: 18px; }
.steps small { font-size: 12px; font-weight: 600; color: #cfe2ff; padding: 3px 9px; border: 1px solid rgba(90, 162, 255, .4); border-radius: 5px; }

/* Integrations */
.ints { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.ints__group { padding: 24px; border-left: 1px solid var(--line); }
.ints__group:first-child { border-left: 0; }
.ints h4 { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ints ul { display: grid; gap: 10px; }
.ints li { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.ints li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); }

/* Pricing */
.switch { display: inline-flex; margin-top: 24px; padding: 3px; border-radius: 9px; background: #dfe7f3; }
.switch button { border: 0; background: none; padding: 7px 16px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.switch button.is-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.switch em { font-style: normal; color: var(--blue); margin-left: 2px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.plan--hot { border: 1.5px solid var(--blue); }
.plan__badge { position: absolute; top: -11px; right: 20px; padding: 2px 10px; border-radius: 5px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.plan__name { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.plan__for { font-size: 14px; color: var(--muted); margin-top: 6px; min-height: 42px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan__price b { font: 600 36px var(--mono); letter-spacing: -.04em; }
.plan__price span { color: var(--muted); font-size: 14px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan li { font-size: 14.5px; padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plan--ent { margin-top: 14px; flex-direction: row; align-items: center; gap: 32px; }
.plan--ent > div:first-child { min-width: 200px; }
.plan--ent .plan__for { min-height: 0; }
.plan--ent ul { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; }
.plan--ent li { padding: 0; display: flex; align-items: center; gap: 8px; }
.plan--ent li::before { display: none; }
.plan--ent li .ic { color: var(--blue); }
.plan__ent-cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.plan__ent-cta b { white-space: nowrap; }
.note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 22px; }

/* App */
.app { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.app h2 { font-size: clamp(27px, 3.3vw, 38px); margin: 12px 0 14px; }
.app__sub { font-size: 17px; color: var(--muted); }
.checks { display: grid; gap: 12px; margin: 24px 0 28px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.checks .ic { color: var(--blue); }
.app__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.phone { justify-self: center; width: 280px; padding: 10px; border-radius: 40px; background: var(--dark); box-shadow: 0 40px 80px -40px rgba(18, 24, 32, .5); }
.phone__screen { border-radius: 31px; background: var(--dark-2); padding: 22px 15px; min-height: 500px; color: #f3f5f8; }
.phone__top { display: flex; justify-content: space-between; align-items: center; font-size: 18px; margin-bottom: 16px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpis div, .bars, .leads > div { background: rgba(255, 255, 255, .04); border: 1px solid var(--dark-line); border-radius: 12px; }
.kpis div { padding: 12px; }
.kpis small { display: block; font-size: 11.5px; color: var(--dark-muted); }
.kpis b { font: 600 22px var(--mono); }
.kpis em { font-style: normal; font-size: 11.5px; color: #34d399; margin-left: 4px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 104px; padding: 14px; margin: 8px 0; }
.bars i { flex: 1; border-radius: 3px; background: var(--blue); }
.bars i:last-child { background: #5aa2ff; }
.leads { display: grid; gap: 7px; }
.leads > div { display: flex; align-items: center; gap: 10px; padding: 9px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(31, 111, 235, .25); color: #cfe2ff; flex: none; }
.leads p { flex: 1; min-width: 0; line-height: 1.25; }
.leads b { display: block; font-size: 13px; }
.leads small { font-size: 11px; color: var(--dark-muted); }
.st { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 3px 6px; border-radius: 5px; background: rgba(31, 111, 235, .25); color: #cfe2ff; }
.st--hot { background: rgba(232, 162, 156, .2); color: var(--bad); }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 8px; height: 8px; border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }

/* CTA */
.cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 56px; border-radius: 16px; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 260px at 15% 0%, rgba(31, 111, 235, .22), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 12px 0 14px; }
.cta__text > p:not(.eyebrow) { color: var(--dark-muted); font-size: 16.5px; }
.contacts { display: grid; gap: 12px; margin-top: 26px; }
.contacts li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.contacts .ic { color: #5aa2ff; }
.contacts a:hover { color: #5aa2ff; }
.form { background: var(--surface); color: var(--text); border-radius: 12px; padding: 26px; display: grid; gap: 14px; }
.form__title { font-size: 18px; font-weight: 700; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form select { height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); font-size: 16px; color: var(--text); outline: none; }
.form input:focus, .form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form input.is-err { border-color: #d9534f; }
.form select { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6877' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.form__msg { font-size: 14px; }
.form__msg:empty { display: none; }
.form__msg.ok { color: #0f9d58; }
.form__msg.err { color: #d9534f; }
.form__agree { font-size: 12px; color: var(--muted); }

/* Footer */
.footer { padding: 48px 0 28px; }
.footer__top { display: flex; align-items: center; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid var(--dark-line); }
.footer__top p { color: var(--dark-muted); font-size: 14px; margin-right: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--dark-line); }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer__cols h4 { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 4px; }
.footer__cols a, .footer__cols span { font-size: 14px; color: #cdd4de; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; font-size: 13px; color: var(--dark-muted); }
.footer__soc { display: flex; gap: 8px; }
.footer__soc a { width: 36px; height: 36px; border: 1px solid var(--dark-line); border-radius: 8px; display: grid; place-items: center; color: #cdd4de; }
.footer__soc a:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__right { margin-left: auto; }
  .nav.is-open { display: flex; flex-direction: column; position: fixed; top: var(--header); left: 0; right: 0; margin: 0; padding: 8px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -12px rgba(18, 24, 32, .18); max-height: calc(100vh - var(--header)); overflow-y: auto; }
  .nav.is-open a { padding: 15px 0; font-size: 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.is-open .nav__login { display: flex !important; margin-top: 16px; border: 1px solid var(--line-2); border-radius: 8px; }
  .hero__in, .app, .cta { grid-template-columns: 1fr; }
  .hero__in { gap: 44px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; grid-row: auto; }
  .inds { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
  .ints { grid-template-columns: 1fr 1fr; }
  .ints__group:nth-child(3) { border-left: 0; }
  .ints__group:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pain__row { grid-template-columns: 1fr 1fr; }
  .pain__fix { grid-column: span 2; display: flex; align-items: center; gap: 12px; }
  .pain__fix p { margin: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan--ent { flex-direction: column; align-items: flex-start; max-width: 520px; margin: 14px auto 0; gap: 18px; }
  .plan__ent-cta { margin-left: 0; }
  .stats__in { grid-template-columns: 1fr 1fr; }
  .stats__in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats__in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
/* Desktop-only helpers for phone patterns */
.pain__more, .dots, .mbar { display: none; }

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .hide-md { display: none; }
  .section { padding: 52px 0; }
  .head { margin-bottom: 26px; }
  .head h2 { font-size: 25px; margin: 8px 0 8px; }
  .head p:not(.eyebrow) { font-size: 15px; }
  .eyebrow { font-size: 11px; }

  /* Hero */
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 31px; margin: 12px 0 14px; }
  .lead { font-size: 15.5px; }
  .pills { margin: 18px 0 22px; gap: 6px; }
  .pills li { font-size: 12.5px; padding: 4px 9px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__in { gap: 32px; }
  .console { padding: 12px; border-radius: 12px; }
  .console__label { margin-top: 12px; }
  .flow { min-height: 0; }
  .frow { grid-template-columns: 1fr; gap: 6px; padding-bottom: 8px; border-bottom: 1px dashed var(--dark-line); }
  .frow:nth-child(2) { border-bottom: 0; padding-bottom: 0; }
  .frow:nth-child(n+3) { display: none; }
  .frow .agent { justify-self: start; padding: 4px 9px; font-size: 11.5px; }
  .agent::before, .agent::after { display: none; }
  .console__foot { font-size: 11.5px; }

  /* Stats */
  .stats__in > div { flex-direction: column; gap: 0; padding: 14px 12px; }
  .stats__in > div:nth-child(odd) { padding-left: 0; }
  .stats b { font-size: 21px; }
  .stats span { font-size: 12.5px; }

  /* Pain: accordion */
  .pain { gap: 8px; }
  .pain__row { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .pain__who p { font-size: 15px; }
  .pain__row:not(.is-open) .pain__bars, .pain__row:not(.is-open) .pain__fix { display: none; }
  .pain__row.is-open { border-color: var(--blue-line); }
  .pain__more { display: inline-flex; align-items: center; gap: 4px; justify-self: start; margin-top: -4px; padding: 0; border: 0; background: none; color: var(--blue); font-size: 13.5px; font-weight: 600; cursor: pointer; }
  .pain__more .ic { width: 16px; height: 16px; transition: transform .2s; }
  .pain__row.is-open .pain__more { order: 9; margin-top: 0; }
  .pain__row.is-open .pain__more span { display: none; }
  .pain__row.is-open .pain__more .ic { transform: rotate(180deg); }
  .pain__row.is-open .pain__more { position: absolute; top: 14px; right: 14px; }
  .pain__row { position: relative; }
  .pain__row.is-open .pain__who { padding-right: 24px; }
  .pain__fix { grid-column: auto; display: block; }
  .pain__fix p { margin-top: 8px; font-size: 13.5px; }
  .legend { flex-wrap: wrap; gap: 8px 18px; font-size: 12px; }

  /* Swipe carousels */
  [data-carousel] { display: flex !important; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 14px 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * { flex: 0 0 86%; scroll-snap-align: center; }
  [data-carousel] > .reveal { opacity: 1; transform: none; }
  .dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: var(--line-2); cursor: pointer; transition: width .2s, background .2s; }
  .dots button.is-on { width: 20px; background: var(--blue); }

  /* Platform */
  .tile { padding: 16px; gap: 14px; }
  .tile--wide { grid-column: auto; grid-row: auto; }
  .tile header p { font-size: 13.5px; }
  .chip { display: none; }
  .kanban { grid-template-columns: 1fr 1fr; padding: 8px; gap: 6px; }
  .kanban > div:nth-child(3), .kanban .kc:nth-child(4) { display: none; }
  .kc { padding: 8px; }
  .grid3 { grid-template-columns: 1fr; gap: 0; margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
  .item { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; padding: 14px 16px; border: 0; border-radius: 0; background: none; }
  .item + .item { border-top: 1px solid var(--line); }
  .item .ic { margin: 1px 0 0; grid-row: span 2; }
  .item h3 { font-size: 15px; margin-bottom: 2px; }
  .item p { font-size: 13.5px; }

  /* Industries: compact 2 columns */
  .inds { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ind { flex-direction: column; gap: 10px; padding: 14px; }
  .ind img { width: 40px; height: 40px; }
  .ind h3 { font-size: 14.5px; margin: 0; }
  .ind p, .ind small { display: none; }

  /* Steps: compact list */
  .steps { grid-template-columns: 1fr; }
  .steps li { border-left: 0 !important; padding: 16px; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; }
  .steps li + li { border-top: 1px solid var(--dark-line); }
  .steps span { grid-row: span 3; padding-top: 2px; }
  .steps h3 { font-size: 16px; margin: 0 0 4px; }
  .steps p { font-size: 13.5px; margin-bottom: 10px; }
  .steps small { justify-self: start; }

  /* Integrations: chips */
  .ints { grid-template-columns: 1fr; }
  .ints__group { padding: 14px 16px; border-left: 0 !important; }
  .ints__group + .ints__group { border-top: 1px solid var(--line); }
  .ints h4 { margin-bottom: 10px; }
  .ints ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .ints li { font-size: 13px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; background: #f6f7f9; }
  .ints li::before { display: none; }

  /* Pricing */
  .switch { margin-top: 16px; }
  .plans { max-width: none; }
  .plan { padding: 20px 18px; }
  .plan__for { min-height: 0; }
  .plan__price { margin: 12px 0 14px; padding-bottom: 14px; }
  .plan__price b { font-size: 30px; }
  .plan ul { gap: 8px; margin-bottom: 18px; }
  .plan li { font-size: 14px; }
  .plan__badge { top: -10px; }
  .plan--ent { margin-top: 12px; padding: 18px; gap: 14px; }
  .plan--ent ul { flex-direction: column; gap: 8px; }
  .plan__ent-cta { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }

  /* App */
  .app { gap: 28px; }
  .app h2 { font-size: 25px; }
  .app__sub { font-size: 15px; }
  .checks { margin: 18px 0 20px; gap: 10px; }
  .checks li { font-size: 14.5px; }
  .app__btns .btn { flex: 1 1 100%; }
  .phone { width: 230px; padding: 8px; border-radius: 34px; }
  .phone__screen { min-height: 0; padding: 16px 12px; border-radius: 27px; }
  .bars { height: 70px; }
  .leads > div:nth-child(3) { display: none; }

  /* FAQ */
  .faq summary { font-size: 15px; padding: 16px 32px 16px 0; }
  .faq summary::after { top: 21px; }
  .faq details[open] summary::after { top: 25px; }
  .faq details p { font-size: 14.5px; padding: 0 0 16px; }

  /* CTA + form */
  #contact { padding-top: 24px; }
  .cta { padding: 26px 18px 18px; gap: 22px; border-radius: 14px; margin: 0 -4px; }
  .cta h2 { font-size: 24px; }
  .cta__text > p:not(.eyebrow) { font-size: 15px; }
  .contacts { margin-top: 18px; gap: 10px; }
  .form { padding: 18px; gap: 12px; }

  /* Footer */
  .footer { padding: 32px 0 96px; }
  .footer__top { flex-wrap: wrap; gap: 12px; padding-bottom: 22px; }
  .footer__top p { order: 3; width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; padding: 22px 0; gap: 22px; }
  .footer__cols > div:nth-child(-n+2) { display: none; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }

  /* Sticky bottom CTA */
  .mbar { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 10px 30px -8px rgba(18, 24, 32, .25); transform: translateY(140%); transition: transform .3s; }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; height: 44px; }
  .mbar__tg { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line-2); color: var(--blue); }
}
@media (max-width: 420px) {
  .hide-sm { display: none; }
  .lang button { padding: 7px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
  .reveal, .frow, .res { opacity: 1; transform: none; }
}
