/* Токены — из дизайн-системы ВАТС (redesign/ВАТС Design System.dc.html) */
:root {
  --canvas: #F4F2EE;
  --surface: #FFFFFF;
  --surface-sunken: #ECEAE4;
  --surface-muted: #F8F7F4;
  --ink: #191713;
  --ink-2: #55534C;
  --ink-3: #8A877E;
  --line: #E2DFD8;
  --line-strong: #CFCBC1;

  --nav: #0B1F1C;
  --nav-2: #102A25;
  --nav-3: #16362F;
  --nav-line: rgba(236, 239, 236, .10);
  --nav-ink: #ECEFEC;
  --nav-ink-2: #A9B5B1;
  --primary: #0C5C54;
  --primary-hover: #084A44;
  --primary-soft: #E3F0ED;
  --live: #C6F24E;
  --live-hover: #B5E33A;

  --answered: #1B8A4B; --answered-soft: #E1F3E7;
  --missed: #C8412F;   --missed-soft: #FAE6E2;
  --queue: #B7770B;    --queue-soft: #FBF0DB;

  --r-tag: 4px; --r-control: 8px; --r-card: 12px; --r-modal: 16px; --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(20,23,20,.05);
  --shadow-sm: 0 2px 8px -2px rgba(20,23,20,.10);
  --shadow-md: 0 8px 24px -8px rgba(20,23,20,.18);
  --shadow-lg: 0 24px 48px -16px rgba(20,23,20,.28);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 500 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sprite { position: absolute; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.is-hidden { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--live); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 20px; border-radius: var(--r-control); border: 1px solid transparent;
  font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s, transform .18s, box-shadow .18s, border-color .18s, color .18s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--live { background: var(--live); color: var(--nav); box-shadow: 0 0 0 0 rgba(198,242,78,.0); }
.btn--live:hover { background: var(--live-hover); box-shadow: 0 8px 28px -6px rgba(198,242,78,.55); }
.btn--live .ic { transition: transform .18s; }
.btn--live:hover .ic { transform: translateX(3px); }
.btn--ghost { color: var(--nav-ink); border-color: rgba(236,239,236,.22); background: rgba(236,239,236,.04); }
.btn--ghost:hover { border-color: rgba(236,239,236,.45); background: rgba(236,239,236,.08); }

/* ---------- pills / eyebrows ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; }
.pill--dark { background: rgba(198,242,78,.10); color: var(--live); border: 1px solid rgba(198,242,78,.25); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(198,242,78,.7); animation: ping 1.8s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(198,242,78,.6); } 70% { box-shadow: 0 0 0 8px rgba(198,242,78,0); } 100% { box-shadow: 0 0 0 0 rgba(198,242,78,0); } }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow--live { color: var(--live); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,31,28,.86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav.is-scrolled { border-bottom-color: var(--nav-line); background: rgba(11,31,28,.94); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nav-ink); }
.logo__mark svg { width: 32px; height: 32px; }
.logo__word { font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { color: var(--nav-ink-2); text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 8px 12px; border-radius: var(--r-control); transition: color .15s, background .15s; }
.nav__links a:hover { color: var(--nav-ink); background: rgba(236,239,236,.06); }
.nav__mobile-cta { display: none; }
.nav__burger { display: none; margin-left: auto; background: none; border: 0; color: var(--nav-ink); padding: 8px; cursor: pointer; border-radius: var(--r-control); }
.nav__burger .ic { width: 24px; height: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--nav); color: var(--nav-ink); padding: 72px 0 0; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 78% 30%, rgba(198,242,78,.14), transparent 70%),
    radial-gradient(700px 500px at 10% 0%, rgba(12,92,84,.55), transparent 70%),
    linear-gradient(var(--nav), var(--nav));
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(236,239,236,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(236,239,236,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 80%);
}
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-bottom: 72px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.035em; margin: 22px 0 22px; line-height: 1.04; }
.hl { color: var(--live); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em; background: var(--live); opacity: .35; border-radius: 2px; transform-origin: left; animation: underline 1s .4s both cubic-bezier(.2,.7,.2,1); }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lead { font-size: 18.5px; line-height: 1.6; color: var(--nav-ink-2); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 600; color: var(--nav-ink-2); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .ic { width: 18px; height: 18px; color: var(--live); }

/* demo window */
.hero__demo { position: relative; padding: 8px 0 56px; }
.win { background: var(--surface); color: var(--ink); border-radius: var(--r-modal); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hero__demo:hover .win { transform: perspective(1600px) rotateY(-2deg) rotateX(0); }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface-muted); border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.win__bar span { margin-left: 10px; }
.win__body { padding: 18px; display: grid; gap: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--surface-muted); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.stat__l { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.stat b { font-size: 22px; font-weight: 700; }
.stat--missed { color: var(--missed); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; height: var(--h); background: linear-gradient(var(--primary), #0D8A80); border-radius: 3px 3px 0 0; opacity: .9; transform-origin: bottom; animation: grow .9s both cubic-bezier(.2,.7,.2,1); }
.bars span:nth-child(6) { background: linear-gradient(var(--live), #9FD12E); }
.bars span:nth-child(n) { animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes grow { from { transform: scaleY(0); } }
.ops { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ops li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); transition: background .3s; }
.ops li[data-st="call"] { background: #F7FBEA; border-color: #E0EDB8; }
.ava { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--primary); flex: none; }
.ava--2 { background: #3F6EA8; } .ava--3 { background: #6B4EE6; } .ava--4 { background: #B7770B; }
.ops__n { font-size: 14px; font-weight: 700; line-height: 1.2; display: flex; flex-direction: column; }
.ops__n small { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: var(--r-pill); }
.badge--call { background: var(--nav); color: var(--live); }
.badge--online { background: var(--answered-soft); color: var(--answered); }
.badge--away { background: var(--queue-soft); color: var(--queue); }

.popup {
  position: absolute; right: -14px; bottom: 0; width: 300px; z-index: 2;
  background: var(--nav-2); color: var(--nav-ink); border-radius: 14px; padding: 16px;
  border: 1px solid rgba(198,242,78,.28);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 6px rgba(198,242,78,.05);
  animation: popIn .6s 1s both cubic-bezier(.2,.9,.3,1.2);
}
.popup.is-swap { animation: popSwap .55s both cubic-bezier(.2,.9,.3,1.2); }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes popSwap { 0% { opacity: 0; transform: translateY(14px) scale(.97); } 100% { opacity: 1; transform: none; } }
.popup__head { display: flex; align-items: center; gap: 12px; }
.popup__head small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nav-ink-2); }
.popup__head b { font-size: 16px; }
.ring { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--live); color: var(--nav); position: relative; flex: none; }
.ring::before, .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--live); animation: ring 1.6s infinite; }
.ring::after { animation-delay: .8s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.ring .ic { width: 18px; height: 18px; animation: shake 1.6s infinite; }
@keyframes shake { 0%, 50%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
.popup__crm { margin: 14px 0 12px; display: grid; gap: 8px; }
.popup__crm div { display: grid; grid-template-columns: 104px 1fr; gap: 8px; font-size: 13px; }
.popup__crm dt { color: var(--nav-ink-2); font-weight: 600; }
.popup__crm dd { margin: 0; font-weight: 700; }
.popup__route { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--live); background: rgba(198,242,78,.08); border-radius: 8px; padding: 8px 10px; }
.popup__route.is-ivr { color: #F2C14E; background: rgba(242,193,78,.08); }
.popup__route .ic { width: 16px; height: 16px; }

.strip { list-style: none; margin: 0; padding: 28px 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--nav-line); }
.strip li { display: grid; gap: 6px; }
.strip b { font-family: var(--mono); font-size: 28px; font-weight: 700; color: var(--live); letter-spacing: -.02em; }
.strip span { font-size: 14px; color: var(--nav-ink-2); line-height: 1.5; }

/* ---------- sections ---------- */
.sec { padding: 104px 0; }
.sec--tight { padding: 56px 0 0; }
.sec--dark { background: var(--nav); color: var(--nav-ink); }
.sec--paper2 { background: var(--surface-muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec__head--left { text-align: left; margin: 0; }
.sec__head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.sec__head p { margin-top: 16px; font-size: 17.5px; color: var(--ink-2); }
.sec--dark .sec__head p { color: var(--nav-ink-2); }
.sec__head a { color: var(--primary); font-weight: 700; }

/* who */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who__item { display: grid; gap: 6px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-xs); }
.who__item .ic { width: 24px; height: 24px; color: var(--primary); margin-bottom: 6px; }
.who__item b { font-size: 16px; }
.who__item span { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.card__ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 4px; }
.card__ic .ic { width: 22px; height: 22px; }
.card--xl { grid-column: span 2; grid-row: span 1; }
.card--lg { grid-column: span 1; }
.card--wide { grid-column: span 2; }
.card--dark { background: var(--nav); color: var(--nav-ink); border-color: var(--nav); position: relative; overflow: hidden; }
.card--dark::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(rgba(198,242,78,.18), transparent 70%); }
.card--dark h3 { font-size: 24px; font-weight: 800; }
.card--dark p { color: var(--nav-ink-2); max-width: 620px; font-size: 16px; }
.card--dark .card__ic { background: rgba(198,242,78,.12); color: var(--live); }
.card--dark:hover { border-color: var(--nav); }
.mini-route { display: flex; align-items: center; gap: 0; margin-top: auto; padding-top: 12px; flex-wrap: wrap; row-gap: 8px; }
.mr { font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: var(--r-pill); border: 1px solid var(--nav-line); background: rgba(236,239,236,.04); }
.mr--in { border-color: rgba(236,239,236,.25); }
.mr--ok { background: var(--live); color: var(--nav); border-color: var(--live); }
.mini-route i { width: 40px; height: 2px; position: relative; background: repeating-linear-gradient(90deg, rgba(198,242,78,.6) 0 6px, transparent 6px 10px); background-size: 20px 2px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 20px 0; } }

/* ---------- route flow ---------- */
.scen { display: flex; justify-content: center; gap: 6px; margin: -24px auto 40px; padding: 5px; background: var(--nav-2); border: 1px solid var(--nav-line); border-radius: var(--r-pill); width: max-content; max-width: 100%; flex-wrap: wrap; }
.scen button { font: 700 14px/1 var(--font); color: var(--nav-ink-2); background: none; border: 0; padding: 11px 18px; border-radius: var(--r-pill); cursor: pointer; transition: background .2s, color .2s; }
.scen button:hover { color: var(--nav-ink); }
.scen button[aria-selected="true"] { background: var(--live); color: var(--nav); }

.flow { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1.15fr 48px 1fr 48px 1fr; align-items: center; }
.node { position: relative; background: var(--nav-2); border: 1px solid var(--nav-line); border-radius: var(--r-card); padding: 18px; min-height: 128px; display: flex; flex-direction: column; gap: 4px; transition: border-color .35s, background .35s, opacity .35s, transform .35s, box-shadow .35s; opacity: .38; }
.node__k { font-family: var(--mono); font-size: 12px; color: var(--nav-ink-2); }
.node b { font-size: 15.5px; }
.node small { font-size: 13px; color: var(--nav-ink-2); line-height: 1.45; }
.node.is-on { opacity: 1; border-color: rgba(198,242,78,.55); background: var(--nav-3); box-shadow: 0 0 0 4px rgba(198,242,78,.06); }
.node.is-on .node__k { color: var(--live); }
.node.is-skip { opacity: .2; }
.node.is-skip b { text-decoration: line-through; text-decoration-color: rgba(236,239,236,.4); }
.node--end.is-on { background: var(--live); border-color: var(--live); color: var(--nav); }
.node--end.is-on small, .node--end.is-on .node__k { color: rgba(11,31,28,.7); }
.fork { display: grid; gap: 12px; }
.fork .node { min-height: 0; }
.link { height: 2px; background: var(--nav-line); position: relative; overflow: hidden; }
.link.is-on { background: rgba(198,242,78,.25); }
.link.is-on::after { content: ""; position: absolute; top: -2px; left: -12px; width: 12px; height: 6px; border-radius: 3px; background: var(--live); box-shadow: 0 0 12px var(--live); animation: travel 1.1s linear infinite; }
@keyframes travel { to { left: 100%; } }
.flow__caption { text-align: center; margin-top: 32px; color: var(--live); font-size: 14px; min-height: 1.6em; }

/* ---------- compare ---------- */
.cmp-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--surface-muted); white-space: nowrap; }
.cmp tbody th { font-weight: 700; width: 26%; }
.cmp td { color: var(--ink-2); }
.cmp td .ic { display: inline-block; vertical-align: -4px; width: 18px; height: 18px; margin-right: 8px; stroke-width: 2.6; }
.cmp .y { color: var(--answered); } .cmp .n { color: var(--queue); } .cmp .x { color: var(--missed); }
.cmp__us { background: var(--primary-soft); color: var(--ink) !important; font-weight: 600; }
.cmp thead .cmp__us { background: var(--primary); color: #fff !important; font-size: 15px; }
.cmp thead .cmp__us { display: table-cell; }
.logo__mini { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--live); margin-right: 8px; vertical-align: 0; }
.note { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ---------- pluses ---------- */
.pluses { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.pluses__copy h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; position: sticky; top: 100px; }
.pluses__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pluses__list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.pluses__n { font-size: 28px; font-weight: 700; color: var(--primary); line-height: 1; }
.pluses__list b { font-size: 19px; display: block; margin-bottom: 6px; letter-spacing: -.01em; }
.pluses__list p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: calc(25% - 16px); height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); z-index: 0; }
.steps li { position: relative; z-index: 1; }
.steps__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--nav); color: var(--live); font-size: 20px; font-weight: 700; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--canvas); }
.steps b { font-size: 18px; display: block; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 15px; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 700; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -200px; bottom: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(rgba(12,92,84,.6), transparent 70%); pointer-events: none; }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; position: relative; }
.contact__copy h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.contact__copy > p { margin-top: 18px; font-size: 17.5px; color: var(--nav-ink-2); max-width: 480px; }
.ch { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; max-width: 420px; }
.ch__item { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--r-card); background: var(--nav-2); border: 1px solid var(--nav-line); text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.ch__item:hover { border-color: rgba(198,242,78,.45); transform: translateX(4px); background: var(--nav-3); }
.ch__ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(236,239,236,.06); color: var(--live); flex: none; }
.ch__ic--tg { background: var(--live); color: var(--nav); }
.ch__item small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nav-ink-2); }
.ch__item b { font-size: 17px; word-break: break-all; }

.form-card { background: var(--surface); color: var(--ink); border-radius: var(--r-modal); padding: 32px; box-shadow: var(--shadow-lg); }
.form h3, .sent h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.form { display: grid; gap: 16px; }
.f { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f label, .f legend { font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 0; margin-bottom: 0; }
.f legend { margin-bottom: 8px; }
.req { color: var(--missed); margin-left: 2px; }
.f input, .f select, .f textarea {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-control);
  font: 500 15px/1.4 var(--font); color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.f input.mono { font-family: var(--mono); }
.f textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 88px; }
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2355534C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.f input::placeholder, .f textarea::placeholder { color: var(--ink-3); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(12,92,84,.14); }
.f input[aria-invalid="true"] { border-color: var(--missed); box-shadow: 0 0 0 3px rgba(200,65,47,.12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; transition: all .15s; }
.chip input:checked + span { background: var(--nav); color: var(--live); border-color: var(--nav); }
.chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--primary); flex: none; }
.consent a { color: var(--primary); font-weight: 600; }
.form__err { color: var(--missed); font-size: 14px; font-weight: 600; min-height: 0; }
.form__err:empty { display: none; }
.form .btn--live { background: var(--nav); color: var(--live); }
.form .btn--live:hover { background: var(--primary); box-shadow: var(--shadow-md); }
.form.is-busy .btn { opacity: .7; pointer-events: none; }
.sent { text-align: center; padding: 40px 8px; animation: popSwap .5s both; }
.sent__ic { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--live); color: var(--nav); }
.sent__ic .ic { width: 34px; height: 34px; stroke-width: 3; }
.sent p { color: var(--ink-2); }
.sent a { color: var(--primary); font-weight: 700; }

/* ---------- footer ---------- */
.foot { background: #081714; color: var(--nav-ink-2); padding: 32px 0; font-size: 14px; }
.foot__in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot nav a:hover { color: var(--nav-ink); }
.logo--light .logo__word { font-size: 17px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- doc pages (privacy, 404) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter) 96px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.doc h2 { font-size: 20px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--primary); font-weight: 600; }
.doc .muted { color: var(--ink-3); font-size: 14px; }
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf b { font-family: var(--mono); font-size: 96px; color: var(--primary); line-height: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__demo { max-width: 560px; }
  .win { transform: none; }
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .link { width: 2px; height: 28px; margin: 0 auto; }
  .link.is-on::after { top: -12px; left: -2px; width: 6px; height: 12px; animation: travelY 1.1s linear infinite; }
  @keyframes travelY { to { top: 100%; } }
  .fork { grid-template-columns: 1fr 1fr; }
  .node { min-height: 0; }
}
@media (max-width: 960px) {
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; padding: 12px var(--gutter) 20px; background: var(--nav); border-bottom: 1px solid var(--nav-line); transform: translateY(-120%); transition: transform .3s cubic-bezier(.2,.7,.2,1); z-index: -1; }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--nav-line); border-radius: 0; }
  .nav__mobile-cta { display: block; color: var(--live) !important; border-bottom: 0 !important; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl, .card--lg { grid-column: span 2; }
  .card--wide { grid-column: span 1; }
  .who { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .pluses, .faq, .contact__in { grid-template-columns: 1fr; gap: 36px; }
  .pluses__copy h2 { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .sec { padding: 72px 0; }
  .sec--tight { padding: 40px 0 0; }
  .sec__head { margin-bottom: 36px; }
  .hero { padding-top: 40px; }
  .hero__in { padding-bottom: 48px; }
  .lead { font-size: 16.5px; }
  .hero__ctas .btn { width: 100%; }
  .hero__demo { padding-bottom: 150px; }
  .popup { right: 0; left: 0; width: auto; margin: 0 8px; }
  .stat b { font-size: 18px; }
  .bento, .who, .steps { grid-template-columns: 1fr; }
  .card--xl, .card--lg, .card--wide { grid-column: auto; }
  .card { padding: 22px; }
  .strip { grid-template-columns: 1fr; gap: 16px; }
  .fork { grid-template-columns: 1fr; }
  .scen { width: 100%; border-radius: var(--r-card); }
  .scen button { flex: 1 1 100%; border-radius: var(--r-control); }
  .f-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .pluses__list li { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .foot nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
