/* ==========================================================================
   wacall · сайт (лендинг, вход, регистрация)
   Токены взяты из design/admin-design.html и design/operator-design.html (:root):
   тёмное стекло, фиолетовый градиент, Inter. Один файл на все страницы.
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #060609;
  --bg-raise: #0c0c12;
  --surface: rgba(19, 19, 27, .68);
  --surface-hi: rgba(30, 30, 42, .64);
  --surface-solid: #121219;
  --field: rgba(255, 255, 255, .035);
  --field-hover: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --line-3: rgba(255, 255, 255, .2);
  --text: #f3f3f8;
  --text-2: #a9a9bc;
  /* светлее, чем в админке (#6f6f84): мелкому тексту на сайте нужен контраст 4.5:1 */
  --text-3: #7c7c92;
  --violet: #7b5bff;
  --lavender: #aa9fff;
  --periwinkle: #8f9bff;
  --blue: #5f86ff;
  --grad: linear-gradient(135deg, #7b5bff 0%, #9d8dff 52%, #6a8cff 100%);
  --grad-out: linear-gradient(135deg, #6447f0 0%, #7a65f5 55%, #6077ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(123, 91, 255, .22), rgba(106, 140, 255, .1));
  --ring: 0 0 0 4px rgba(124, 92, 255, .26);
  --ok: #47d7a6;
  --ok-bg: rgba(71, 215, 166, .12);
  --warn: #f6b85b;
  --warn-bg: rgba(246, 184, 91, .12);
  --danger: #ff5d7d;
  --danger-bg: rgba(255, 93, 125, .12);
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;
  --shadow-1: inset 0 1px 0 rgba(255, 255, 255, .04), 0 14px 34px -14px rgba(0, 0, 0, .65);
  --shadow-2: inset 0 1px 0 rgba(255, 255, 255, .05), 0 34px 90px -24px rgba(0, 0, 0, .8);
  --glow: 0 18px 44px -18px rgba(124, 92, 255, .75);
  --blur: saturate(140%) blur(18px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 80px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 620px at -8% -14%, rgba(206, 198, 255, .2), transparent 62%),
    radial-gradient(720px 520px at 108% -4%, rgba(124, 92, 255, .16), transparent 62%),
    radial-gradient(860px 700px at 82% 112%, rgba(95, 134, 255, .12), transparent 60%),
    linear-gradient(180deg, #0a0a0f, #060609);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(1100px 680px at 18% 0%, #000 8%, transparent 72%);
  mask-image: radial-gradient(1100px 680px at 18% 0%, #000 8%, transparent 72%);
}
.site { overflow-x: clip; }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--lavender); text-underline-offset: 3px; }
a:hover { color: #c6bfff; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -.028em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }
::selection { background: rgba(124, 92, 255, .45); color: #fff; }
[hidden] { display: none !important; }

svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg.i.xs { width: 13px; height: 13px; }
svg.i.sm { width: 15px; height: 15px; }
svg.i.lg { width: 22px; height: 22px; }
.num { font-feature-settings: "tnum" 1; font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--surface-solid); border: 1px solid var(--line-3); color: var(--text); text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); }
.lead { font-size: clamp(17px, 1.55vw, 19px); line-height: 1.62; color: var(--text-2); }

/* ---------- glass ---------- */
.glass {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012) 42%), var(--surface);
  box-shadow: var(--shadow-1); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; max-width: 100%;
  height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--field);
  color: var(--text); font: 500 15px/1 var(--font); white-space: nowrap; text-decoration: none; user-select: none;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .3s var(--ease), color .2s, opacity .2s, filter .25s;
}
.btn:hover { background: var(--field-hover); border-color: var(--line-3); color: var(--text); transform: translateY(-1px); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn:focus-visible { outline: 0; box-shadow: var(--ring); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; filter: saturate(.4); }
.btn.primary {
  background: var(--grad-out); border-color: transparent; color: #fff; font-weight: 600;
  box-shadow: 0 10px 26px -12px rgba(124, 92, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn.primary:hover { filter: brightness(1.1); box-shadow: 0 16px 36px -12px rgba(124, 92, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn.primary:focus-visible { box-shadow: var(--ring), 0 10px 26px -12px rgba(124, 92, 255, .9); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--field-hover); color: var(--text); }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn.sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn.icon { width: 44px; padding: 0; }
.btn.block { width: 100%; }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i-move { transform: translateX(3px); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .lbl { opacity: .85; }
.spin { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; padding: 12px 0; }
.header-bar {
  display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 8px 0 14px; border-radius: var(--r-pill);
  border: 1px solid transparent; transition: background .35s, border-color .35s, box-shadow .35s;
}
.header.is-scrolled .header-bar, .header.is-open .header-bar {
  background: rgba(12, 12, 18, .78); border-color: var(--line); box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.header .container { max-width: calc(var(--container) + 24px + var(--gutter) * 2); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--text); text-decoration: none; font: 700 20px/1 var(--font); letter-spacing: -.03em; }
.logo:hover { color: var(--text); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--grad); color: #fff; box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.logo-mark svg.i { width: 21px; height: 21px; stroke-width: 2.4; }
.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav a {
  height: 38px; padding: 0 13px; display: inline-flex; align-items: center; border-radius: var(--r-pill);
  color: var(--text-2); font: 500 14.5px/1 var(--font); text-decoration: none; transition: color .2s, background .25s;
}
.nav a:hover { color: var(--text); background: var(--field-hover); }
.nav a.is-active { color: #fff; background: rgba(124, 92, 255, .2); box-shadow: inset 0 0 0 1px rgba(170, 159, 255, .3); }
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.burger { display: none; }
.burger .i-close { display: none; }
.header.is-open .burger .i-open { display: none; }
.header.is-open .burger .i-close { display: block; }

.mnav {
  margin-top: 10px; padding: 10px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: rgba(12, 12, 18, .94); box-shadow: var(--shadow-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  animation: drop .3s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.mnav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm);
  color: var(--text); text-decoration: none; font-weight: 500;
}
.mnav a:not(.btn):hover { background: var(--field-hover); }
.mnav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }

@media (max-width: 1160px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .header-actions .btn.ghost, .header-actions .btn.primary { display: none; }
}

/* ---------- entrance & reveal ---------- */
.rise { animation: rise .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head h2 { margin-top: 16px; font-size: clamp(30px, 4.3vw, 50px); }
.section-head .lead { margin-top: 18px; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 4px 16px 4px 6px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text-2); font: 500 13.5px/1.3 var(--font);
}
.eyebrow-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(170, 159, 255, .35); }
.eyebrow-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(71, 215, 166, .6); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(71, 215, 166, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(71, 215, 166, 0); } }
.hero h1 { margin-top: 22px; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -.042em; }
.hero .lead { margin-top: 22px; max-width: 590px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; list-style: none; color: var(--text-2); font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { color: var(--ok); }

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; margin: 0 auto; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-points { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
  .hero-points { flex-direction: column; align-items: center; gap: 8px; }
}

/* ---------- product mockup ---------- */
.mock { position: relative; padding: 26px 0 70px; }
.mock::before {
  content: ""; position: absolute; inset: 6% -6% 0; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .42), rgba(95, 134, 255, .14) 55%, transparent 75%); filter: blur(30px);
}
.mock-window {
  display: grid; grid-template-columns: 216px minmax(0, 1fr); height: 470px; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--line-2); background: rgba(12, 12, 18, .82); box-shadow: var(--shadow-2), 0 0 0 1px rgba(170, 159, 255, .06);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.av {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font: 600 13px/1 var(--font); color: #fff; letter-spacing: 0;
}
.av-1 { background: linear-gradient(135deg, #7b5bff, #5f86ff); }
.av-2 { background: linear-gradient(135deg, #e3739a, #a35cff); }
.av-3 { background: linear-gradient(135deg, #f0a35b, #e56b6b); }
.av-4 { background: linear-gradient(135deg, #3fb7c9, #5f86ff); }
.av-5 { background: linear-gradient(135deg, #8a8aa3, #4d4d63); }
.av-6 { background: linear-gradient(135deg, #9d8dff, #6a8cff); }
.mock-list { padding: 14px 10px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .012); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mock-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; margin: 0 2px 10px; border-radius: var(--r-pill); background: var(--field); border: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.mci { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 14px; min-width: 0; }
.mci.is-active { background: rgba(124, 92, 255, .16); box-shadow: inset 0 0 0 1px rgba(170, 159, 255, .2); }
.mci-body { display: grid; min-width: 0; flex: 1; gap: 1px; }
.mci-body b { font: 600 13px/1.3 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mci-body small { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 1.3; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mci-meta { display: grid; justify-items: end; gap: 4px; align-self: start; padding-top: 2px; font-size: 11px; color: var(--text-3); }
.mci-meta .badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-out); color: #fff; font: 600 10.5px/1 var(--font); }

.mock-chat { display: flex; flex-direction: column; min-width: 0; }
.mock-chat-head { display: flex; align-items: center; gap: 11px; height: 62px; padding: 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.mch-title { display: grid; flex: 1; min-width: 0; }
.mch-title b { font: 600 14px/1.3 var(--font); }
.mch-title small { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mch-actions { display: flex; gap: 6px; color: var(--text-2); }
.mch-actions span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--field); border: 1px solid var(--line); }
.mock-msgs { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 14px 16px; overflow: hidden; font-size: 13px; line-height: 1.45; }
.day { align-self: center; padding: 3px 10px; border-radius: var(--r-pill); background: var(--field); border: 1px solid var(--line); color: var(--text-3); font-size: 11px; }
.msg { position: relative; max-width: 78%; padding: 8px 11px 6px; border-radius: 15px; animation: msgIn .55s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 260ms + 700ms); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.msg.in { align-self: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: var(--grad-out); color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 10px 24px -14px rgba(124, 92, 255, .9); }
.msg-author { display: block; font-size: 11.5px; font-weight: 600; color: var(--lavender); margin-bottom: 1px; }
.msg time { display: inline-flex; align-items: center; gap: 3px; float: right; margin: 6px 0 -2px 10px; font-size: 10.5px; color: var(--text-3); }
.msg.out time { color: rgba(255, 255, 255, .72); }
.msg.out time .i { color: #8be9ff; }
.quote { display: block; margin: 0 0 5px; padding: 5px 8px; border-left: 3px solid rgba(255, 255, 255, .7); border-radius: 7px; background: rgba(0, 0, 0, .16); font-size: 12px; color: rgba(255, 255, 255, .82); }
.quote b { display: block; font-size: 11px; }
.photo-ph {
  display: grid; place-items: center; width: 210px; max-width: 100%; height: 92px; margin: 2px 0 6px; border-radius: 10px; color: rgba(255, 255, 255, .55);
  background: linear-gradient(135deg, rgba(123, 91, 255, .45), rgba(63, 183, 201, .3)), repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 8px, transparent 8px 16px);
}
.voice { display: flex; align-items: center; gap: 9px; min-width: 190px; }
.voice-play { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); flex: none; }
.voice-play .i { fill: currentColor; stroke: none; }
.wave { display: flex; align-items: center; gap: 2px; height: 24px; flex: 1; }
.wave i { width: 3px; border-radius: 2px; background: rgba(255, 255, 255, .78); height: calc(var(--h) * 1%); }
.voice time { margin: 0 0 0 4px; float: none; }
.mock-composer { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 12px 0 16px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; flex: none; }
.mock-composer .field-ph { flex: 1; height: 36px; display: flex; align-items: center; padding: 0 14px; border-radius: var(--r-pill); background: var(--field); border: 1px solid var(--line); }
.mock-composer .mic-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-out); color: #fff; box-shadow: var(--glow); }

.mock-call {
  position: absolute; right: -14px; bottom: 0; width: 262px; padding: 16px; border-radius: 22px;
  border: 1px solid var(--line-2); background: rgba(18, 18, 26, .9); box-shadow: var(--shadow-2), 0 30px 60px -30px rgba(124, 92, 255, .6);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  animation: rise .8s var(--ease) 1.5s backwards, float 7s ease-in-out 2.4s infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }
.mc-top { display: flex; align-items: center; gap: 11px; }
.mc-top b { display: block; font: 600 14px/1.3 var(--font); }
.mc-top small { font-size: 12px; color: var(--text-2); }
.mc-levels { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; margin-top: 14px; font-size: 11px; color: var(--text-3); }
.lvl { display: flex; align-items: center; gap: 3px; height: 14px; }
.lvl i { flex: 1; height: 100%; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.lvl i.on { background: var(--ok); animation: lvl 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -170ms); }
@keyframes lvl { from { opacity: .35; } to { opacity: 1; } }
.mc-rec { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 10px; border-radius: 12px; background: var(--danger-bg); border: 1px solid rgba(255, 93, 125, .26); color: #ffb3c2; font-size: 12px; font-weight: 500; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); flex: none; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.mc-btns { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.cb { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--field-hover); border: 1px solid var(--line-2); }
.cb.end { background: linear-gradient(135deg, #ff5d7d, #ff7d6b); border-color: transparent; color: #fff; }
.cb.end .i { transform: rotate(135deg); }

.mock-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: rgba(18, 18, 26, .88); box-shadow: var(--shadow-1), 0 18px 40px -20px rgba(0, 0, 0, .8);
  font: 500 13px/1 var(--font); white-space: nowrap; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.chip-sup { top: 0; left: 24%; color: #e6e1ff; animation: rise .8s var(--ease) 1.9s backwards; }
.chip-sup .i { color: var(--lavender); }
.chip-ok { bottom: 56px; left: -18px; color: #c7f5e5; animation: rise .8s var(--ease) 2.2s backwards; }
.chip-ok .i { color: var(--ok); }

@media (max-width: 1120px) {
  .mock { max-width: 720px; margin: 0 auto; }
  .mock-call { right: 0; }
  .chip-ok { left: 0; }
}
@media (max-width: 640px) {
  .mock { padding: 22px 0 0; }
  .mock-window { grid-template-columns: minmax(0, 1fr); height: 430px; }
  .mock-list { display: none; }
  .mock-call { position: relative; right: auto; bottom: auto; width: auto; margin: -64px 12px 0; animation: rise .8s var(--ease) 1.5s backwards; }
  .chip-sup { left: 50%; transform: translateX(-50%); animation: none; }
  .chip-ok { display: none; }
  .msg { max-width: 86%; }
}

/* ---------- technology advantages ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--r-xl); overflow: hidden; }
.fact { display: grid; grid-template-rows: auto auto 1fr; gap: 14px; align-content: start; padding: 28px 24px 30px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact-label { color: var(--lavender); font: 500 10.5px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.fact-title { min-height: 2.28em; font: 600 clamp(24px, 2.3vw, 28px)/1.14 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.fact-copy { font-size: 14px; color: var(--text-2); line-height: 1.65; }
@media (max-width: 1080px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 440px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact { gap: 12px; padding: 24px; border-left: 0; }
  .fact-title { min-height: 0; text-wrap: initial; }
  .fact:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* ---------- problem → solution ---------- */
.problem-head { max-width: 980px; margin-bottom: clamp(28px, 4vw, 42px); }
.problem-head .lead { max-width: 780px; margin-left: auto; margin-right: auto; }
.problem-research { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 3vw, 34px); align-items: center; border-color: rgba(170, 159, 255, .22); }
.research-metric { padding-right: clamp(24px, 4vw, 48px); border-right: 1px solid var(--line-2); }
.research-value { font: 600 clamp(40px, 5vw, 64px)/1 var(--font); letter-spacing: -.055em; white-space: nowrap; }
.research-value span { margin-left: 3px; font-size: .6em; }
.research-caption { margin-top: 10px; font-size: 16px; font-weight: 500; color: var(--text); }
.research-source { max-width: 22ch; margin-top: 8px; color: var(--text-2); font-size: 12px; line-height: 1.5; }
.research-copy h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; }
.research-copy > p { max-width: 760px; margin-top: 12px; color: var(--text-2); font-size: 15px; line-height: 1.65; }
.research-note { margin: 14px 0 clamp(28px, 4vw, 42px); padding: 0 4px; color: var(--text-2); font-size: 12px; line-height: 1.65; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.compare-col { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); }
.compare-col h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.compare-col ul { display: grid; gap: 16px; margin-top: 22px; list-style: none; }
.compare-col li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--text-2); }
.compare-col li b { color: var(--text); font-weight: 500; }
.tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.is-before { border: 1px dashed var(--line-2); background: rgba(255, 255, 255, .015); }
.is-before .tick { background: var(--danger-bg); color: var(--danger); }
.is-after { border-color: rgba(170, 159, 255, .32); background: linear-gradient(180deg, rgba(124, 92, 255, .12), rgba(255, 255, 255, .012) 60%), var(--surface); }
.is-after .tick { background: var(--ok-bg); color: var(--ok); }
.compare-arrow { align-self: center; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--glow); }
@media (max-width: 860px) {
  .compare { grid-template-columns: minmax(0, 1fr); }
  .compare-arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .problem-research { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .research-metric { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .research-value { font-size: 52px; }
  .research-source { max-width: none; }
}

/* ---------- features ---------- */
.pillar + .pillar { margin-top: clamp(56px, 7vw, 88px); }
.pillar-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; margin-bottom: 26px; }
.pillar-head h3 { margin-top: 12px; font-size: clamp(24px, 2.8vw, 32px); max-width: 620px; }
.pillar-head p { max-width: 440px; color: var(--text-2); }
.cards { display: grid; gap: 16px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 24px; border-radius: var(--r-lg); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-3px); border-color: var(--line-3); box-shadow: var(--shadow-1), 0 26px 54px -26px rgba(124, 92, 255, .55); }
.card h4 { margin-top: 18px; font-size: 17.5px; letter-spacing: -.02em; line-height: 1.3; }
.card p { margin-top: 9px; font-size: 15px; color: var(--text-2); line-height: 1.6; }
#features .cards-4 > .card h4 { min-height: 2.6em; }
@media (max-width: 600px) { #features .cards-4 > .card h4 { min-height: 0; } }
.ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #e6e1ff;
  background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(170, 159, 255, .26);
}
.ic svg.i { width: 22px; height: 22px; }
.ic.ok { color: var(--ok); background: var(--ok-bg); box-shadow: inset 0 0 0 1px rgba(71, 215, 166, .25); }
.ic.warn { color: var(--warn); background: var(--warn-bg); box-shadow: inset 0 0 0 1px rgba(246, 184, 91, .25); }
.ic.danger { color: var(--danger); background: var(--danger-bg); box-shadow: inset 0 0 0 1px rgba(255, 93, 125, .25); }

.feature-example { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(0, 3fr); gap: 24px; margin-top: 20px; padding: 24px; border-radius: var(--r-lg); background: linear-gradient(110deg, rgba(123, 91, 255, .09), transparent 65%), var(--surface); }
.feature-example-intro .kicker { font-size: 10.5px; line-height: 1.5; letter-spacing: .09em; }
.feature-example-intro h4 { margin-top: 10px; font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }
.feature-example-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.feature-example-flow > div { padding-left: 20px; border-left: 1px solid var(--line-2); }
.feature-example-flow dt { font: 500 12px/1.4 var(--font); color: var(--text); }
.feature-example-flow dd { margin: 8px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.feature-example-flow > div:last-child dt { color: var(--ok); }
@media (max-width: 1080px) {
  .feature-example { grid-template-columns: minmax(0, 1fr); }
  .feature-example-flow > div:first-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .feature-example { gap: 20px; }
  .feature-example-flow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .feature-example-flow > div, .feature-example-flow > div:first-child { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

.control-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; }
.control-grid .card-panel { grid-row: span 2; }
@media (max-width: 1080px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control-grid .card-panel { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 860px) { .cards-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .cards-4, .control-grid { grid-template-columns: minmax(0, 1fr); }
}

/* live operator panel */
.card-panel { padding: 22px; }
.card-panel:hover { transform: none; }
.card-panel .panel-preview-label { margin: 0 0 14px; color: var(--text-3); font-size: 11.5px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-head b { font: 600 16px/1.3 var(--font); }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ok); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: ping 2.4s var(--ease) infinite; }
.ops { display: grid; gap: 8px; margin-top: 16px; list-style: none; }
.op { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.op .av { width: 36px; height: 36px; font-size: 12px; }
.op-name b { display: block; font: 600 14px/1.3 var(--font); }
.op-name small { font-size: 12px; color: var(--text-3); }
.st { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: var(--r-pill); font: 500 12.5px/1 var(--font); white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-talk { color: var(--ok); background: var(--ok-bg); }
.st-in { color: var(--warn); background: var(--warn-bg); }
.st-in::before { animation: blink 1.1s ease-in-out infinite; }
.st-out { color: var(--periwinkle); background: rgba(143, 155, 255, .12); }
.st-free { color: var(--text-2); background: var(--field-hover); }
.op-act { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--field); font: 500 12.5px/1 var(--font); color: var(--text-2); }
.mini-btn.is-on { color: #fff; border-color: transparent; background: var(--grad-out); box-shadow: 0 8px 20px -12px rgba(124, 92, 255, .9); }
.panel-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(124, 92, 255, .1); border: 1px solid rgba(170, 159, 255, .22); font-size: 13.5px; color: #dcd7ff; line-height: 1.5; }
.panel-note .i { color: var(--lavender); margin-top: 2px; }
@media (max-width: 420px) {
  .op { grid-template-columns: auto minmax(0, 1fr); }
  .op .st { grid-column: 2; justify-self: start; }
}

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; counter-reset: step; position: relative; }
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 20px; border-radius: var(--r-lg); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad); color: #fff; font: 600 15px/1 var(--mono); box-shadow: var(--glow);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 47px; left: calc(20px + 46px + 12px); right: -16px; height: 1px;
  background: linear-gradient(90deg, rgba(170, 159, 255, .5), rgba(170, 159, 255, 0));
}
.step h3 { min-height: 2.6em; margin-top: 20px; font-size: 18px; letter-spacing: -.02em; line-height: 1.3; }
.step p { flex: 1; margin-top: 10px; padding-bottom: 16px; color: var(--text-2); font-size: 14px; line-height: 1.65; }
.step .path { display: inline-block; margin-top: auto; padding: 6px 10px; border-radius: 10px; background: var(--field); border: 1px solid var(--line); font-size: 12px; color: var(--text-2); line-height: 1.45; }
@media (max-width: 1120px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2n)::after { display: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .step h3 { min-height: 0; }
}

/* ---------- scenarios & roles ---------- */
.scenario { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 26px; border-radius: var(--r-lg); }
.scenario > div { display: flex; flex-direction: column; min-width: 0; }
.scenario h3 { font-size: 19px; letter-spacing: -.02em; line-height: 1.3; }
.scenario p { flex: 1; margin-top: 9px; color: var(--text-2); font-size: 15px; }
.scenario .uses { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; }
.scenario .uses li { padding: 4px 10px; border-radius: var(--r-pill); background: var(--field); border: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .cards-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .scenario { grid-template-columns: minmax(0, 1fr); } }

.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 16px; border-radius: var(--r-lg); overflow: hidden; }
.role { padding: 24px; border-left: 1px solid var(--line); }
.role:first-child { border-left: 0; }
.role .kicker { font-size: 11px; color: var(--text-3); }
.role h3 { margin-top: 10px; font-size: 17px; line-height: 1.3; letter-spacing: -.015em; }
.role p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }
@media (max-width: 1020px) {
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role:nth-child(3) { border-left: 0; }
  .role:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .roles { grid-template-columns: minmax(0, 1fr); }
  .role { border-left: 0; }
  .role:nth-child(n+2) { border-top: 1px solid var(--line); }
}

/* ---------- security ---------- */
.security-layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.security-layer { padding: 24px; border-radius: var(--r-lg); border-color: rgba(170, 159, 255, .2); }
.security-protocol { display: inline-block; max-width: 100%; padding: 6px 10px; border-radius: var(--r-xs); background: var(--grad-soft); border: 1px solid rgba(170, 159, 255, .22); color: #dcd7ff; font: 500 11.5px/1.45 var(--mono); }
.security-layer h3 { min-height: 2.6em; margin-top: 18px; font-size: 17.5px; line-height: 1.3; letter-spacing: -.02em; }
.security-layer > p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--text-2); }
.security-scope { margin: 16px 0 clamp(28px, 4vw, 42px); padding: 0 4px; font-size: 12.5px; line-height: 1.65; color: var(--text-2); }
.security-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.sec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.sec-item { padding: 22px; border-radius: var(--r-lg); }
.sec-item h3 { margin-top: 16px; font-size: 16.5px; line-height: 1.35; letter-spacing: -.015em; }
.sec-item p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }
.consent { position: sticky; top: calc(var(--header-h) + 12px); padding: 26px; border-radius: var(--r-xl); }
.consent-cap { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.consent-dialog { margin-top: 16px; padding: 22px; border-radius: 20px; background: rgba(12, 12, 18, .85); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); }
.consent-title { display: flex; align-items: center; gap: 12px; font: 600 16.5px/1.3 var(--font); letter-spacing: -.015em; }
.consent-title .tile { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--danger-bg); box-shadow: inset 0 0 0 1px rgba(255, 93, 125, .25); }
.consent-dialog p { margin-top: 12px; font-size: 14px; color: var(--text-2); line-height: 1.55; }
.consent-rule { display: flex; gap: 10px; padding: 11px 12px; border-radius: 13px; background: var(--warn-bg); border: 1px solid rgba(246, 184, 91, .22); color: #ffe0b0 !important; }
.consent-rule .i { color: var(--warn); margin-top: 2px; }
.consent-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.consent-foot .btn { pointer-events: none; }
.consent-notes { display: grid; gap: 10px; margin-top: 18px; list-style: none; }
.consent-notes li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); }
.consent-notes .i { color: var(--ok); margin-top: 3px; }
@media (max-width: 1020px) {
  .security-layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-grid { grid-template-columns: minmax(0, 1fr); }
  .consent { position: relative; top: 0; }
}
@media (max-width: 600px) {
  .security-layers { grid-template-columns: minmax(0, 1fr); }
  .security-layer h3 { min-height: 0; }
  .sec-list { grid-template-columns: minmax(0, 1fr); }
  .consent { padding: 18px; }
  .consent-dialog { padding: 18px; }
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-xl); }
.plan.is-accent { border-color: rgba(170, 159, 255, .4); background: linear-gradient(180deg, rgba(124, 92, 255, .16), rgba(255, 255, 255, .012) 55%), var(--surface); box-shadow: var(--shadow-1), 0 30px 70px -36px rgba(124, 92, 255, .8); }
.plan-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: var(--r-pill); background: var(--field-hover); border: 1px solid var(--line-2); font: 500 12px/1 var(--font); color: var(--text-2); }
.plan h3 { margin-top: 18px; font-size: 22px; }
.plan > p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.price { margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price b { display: block; font: 600 26px/1.2 var(--font); letter-spacing: -.03em; }
.price small { display: block; margin-top: 4px; color: var(--text-3); font-size: 13px; }
.price-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price-main b { display: inline; font: 600 44px/1 var(--font); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.price-main span { color: var(--text-2); font-size: 14.5px; }
.price-main + small { margin-top: 10px; }
.plan.is-accent .price-main b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan ul { display: grid; gap: 11px; margin: 20px 0 26px; list-style: none; font-size: 14.5px; color: var(--text-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .i { color: var(--ok); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan-plus { margin-top: 20px; font: 600 13px/1.3 var(--font); color: var(--lavender); }
.plan-plus + ul { margin-top: 12px; }
.plans-note { margin: 20px auto 0; max-width: 720px; text-align: center; font-size: 14px; color: var(--text-3); }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.plans-2 .plan > p { min-height: 4.8em; }
@media (max-width: 960px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .plans-2 .plan > p { min-height: 0; }
}

/* everything included */
.matrix { margin-top: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); }
.matrix h3 { font-size: clamp(22px, 2.4vw, 26px); }
.included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; margin-top: 22px; }
.inc-group h4 { font: 600 11.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); }
.inc-group ul { display: grid; gap: 10px; margin-top: 12px; list-style: none; font-size: 14.5px; color: var(--text-2); }
.inc-group li { display: flex; gap: 10px; align-items: flex-start; }
.inc-group li .i { flex: none; color: var(--ok); margin-top: 3px; }
@media (max-width: 1020px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .matrix { padding: 20px 16px; } .included { grid-template-columns: minmax(0, 1fr); } }

/* lead form */
.request { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); scroll-margin-top: var(--header-h); }
.request h3 { font-size: clamp(26px, 3vw, 36px); }
.request-copy .lead { margin-top: 14px; font-size: 16.5px; }
.request-copy ul { display: grid; gap: 12px; margin-top: 24px; list-style: none; color: var(--text-2); }
.request-copy li { display: flex; gap: 10px; }
.request-copy li .i { color: var(--lavender); margin-top: 3px; }
@media (max-width: 900px) { .request { grid-template-columns: minmax(0, 1fr); } }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field > label, .field > .label { display: flex; justify-content: space-between; gap: 10px; font: 500 13.5px/1.3 var(--font); color: var(--text-2); }
.field > label .opt { color: var(--text-3); font-weight: 400; }
.input {
  position: relative; min-height: 50px; padding: 0 14px; display: flex; align-items: center; gap: 10px; min-width: 0;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--field); color: var(--text-3);
  transition: border-color .25s, box-shadow .3s var(--ease), background .25s, color .2s;
}
.input input, .input select, .input textarea {
  flex: 1; min-width: 0; width: 100%; height: 48px; border: 0; outline: 0; background: none; color: var(--text);
  font: 400 16px var(--font); /* 16px: iOS не приближает страницу при фокусе */
}
.input select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 24px; }
.input select option { background: var(--surface-solid); color: var(--text); }
.input .sel-chev { position: absolute; right: 14px; pointer-events: none; }
.input textarea { height: auto; min-height: 96px; padding: 13px 0; resize: vertical; line-height: 1.5; }
.input.area { align-items: flex-start; }
.input.area > .i { margin-top: 15px; }
.input input::placeholder, .input textarea::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--line-3); background: var(--field-hover); }
.input:focus-within { border-color: rgba(170, 159, 255, .62); box-shadow: 0 0 0 4px rgba(124, 92, 255, .16); background: rgba(255, 255, 255, .05); color: var(--lavender); }
.input.is-error { border-color: rgba(255, 93, 125, .62); box-shadow: 0 0 0 4px rgba(255, 93, 125, .1); color: var(--danger); }
.input.is-valid { border-color: rgba(71, 215, 166, .45); }
.input.shake { animation: shake .42s; }
@keyframes shake { 15%, 85% { transform: translateX(-2px); } 30%, 70% { transform: translateX(5px); } 45%, 60% { transform: translateX(-5px); } }
.input input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 40px #15151f inset; caret-color: var(--text); }
.ibtn { width: 34px; height: 34px; margin-right: -8px; display: grid; place-items: center; flex: none; border: 0; border-radius: 10px; background: none; color: var(--text-3); transition: background .2s, color .2s; }
.ibtn:hover { background: var(--field-hover); color: var(--text); }
.ibtn:focus-visible { outline: 0; box-shadow: var(--ring); }
.ibtn .i-hide { display: none; }
.ibtn[aria-pressed="true"] .i-show { display: none; }
.ibtn[aria-pressed="true"] .i-hide { display: block; }
.hint { display: flex; align-items: flex-start; gap: 6px; min-height: 18px; font-size: 13px; line-height: 1.4; color: var(--text-3); }
.hint.err { color: #ff8aa1; animation: hintIn .3s var(--ease); }
@keyframes hintIn { from { opacity: 0; transform: translateY(-4px); } }

.strength { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 2px; }
.strength i { height: 4px; border-radius: 2px; background: var(--line-2); transition: background .3s; }
.strength[data-level="1"] i:nth-child(-n+1) { background: var(--danger); }
.strength[data-level="2"] i:nth-child(-n+2) { background: var(--warn); }
.strength[data-level="3"] i:nth-child(-n+3) { background: var(--periwinkle); }
.strength[data-level="4"] i { background: var(--ok); }

.check { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check .box {
  width: 22px; height: 22px; flex: none; margin-top: 0; display: grid; place-items: center; border-radius: 7px;
  border: 1px solid var(--line-3); background: var(--field); color: transparent; transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.check .box .i { width: 14px; height: 14px; stroke-width: 2.4; }
.check input:checked + .box { background: var(--grad-out); border-color: transparent; color: #fff; }
.check input:focus-visible + .box { box-shadow: var(--ring); }
.check.is-error .box { border-color: rgba(255, 93, 125, .7); box-shadow: 0 0 0 3px rgba(255, 93, 125, .12); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.status {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: 14px; font-size: 14.5px; line-height: 1.5;
  border: 1px solid var(--line-2); background: var(--field); color: var(--text); animation: hintIn .35s var(--ease);
}
.status:empty { display: none; }
.status .i { margin-top: 2px; }
.status b { font-weight: 600; }
.status.is-info { background: rgba(143, 155, 255, .1); border-color: rgba(143, 155, 255, .3); }
.status.is-info .i { color: var(--periwinkle); }
.status.is-warn { background: var(--warn-bg); border-color: rgba(246, 184, 91, .3); }
.status.is-warn .i { color: var(--warn); }
.status.is-error { background: var(--danger-bg); border-color: rgba(255, 93, 125, .32); }
.status.is-error .i { color: var(--danger); }
.status.is-ok { background: var(--ok-bg); border-color: rgba(71, 215, 166, .32); }
.status.is-ok .i { color: var(--ok); }
.form-foot { font-size: 13px; color: var(--text-3); line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-lg); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(170, 159, 255, .3); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none;
  font: 500 17px/1.4 var(--font); letter-spacing: -.01em; border-radius: var(--r-lg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 0; box-shadow: var(--ring); }
.faq summary .chev { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--field); border: 1px solid var(--line); transition: transform .35s var(--ease), background .3s; }
.faq details[open] summary .chev { transform: rotate(180deg); background: rgba(124, 92, 255, .2); }
.faq-a { padding: 0 22px 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.65; }
.faq-a p + p { margin-top: 10px; }
.faq details[open] .faq-a { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- final CTA ---------- */
.cta {
  position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px); border-radius: 32px; text-align: center;
  border: 1px solid rgba(170, 159, 255, .32);
  background: radial-gradient(700px 320px at 50% -10%, rgba(124, 92, 255, .45), transparent 70%), radial-gradient(500px 300px at 100% 120%, rgba(95, 134, 255, .25), transparent 70%), var(--surface);
  box-shadow: var(--shadow-2);
}
.cta h2 { font-size: clamp(30px, 4.4vw, 52px); max-width: 820px; margin: 0 auto; }
.cta .lead { max-width: 640px; margin: 18px auto 0; }
.cta .hero-ctas { justify-content: center; }
@media (max-width: 480px) { .cta .hero-ctas .btn { width: 100%; } }

/* ---------- footer ---------- */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); background: rgba(6, 6, 9, .6); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin-top: 16px; max-width: 360px; font-size: 14.5px; color: var(--text-2); }
.footer h2 { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.footer ul { display: grid; gap: 10px; margin-top: 16px; list-style: none; }
.footer ul a { color: var(--text-2); text-decoration: none; font-size: 14.5px; }
.footer ul a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); line-height: 1.55; }
.footer-bottom p { max-width: 720px; }
.footer-contacts { display:flex; flex-wrap:wrap; gap:20px 40px; padding:0 0 24px; }
.footer-contacts a { color:var(--text); text-decoration:none; font-size:14px; overflow-wrap:anywhere; }
.footer-contacts a:hover { color:var(--primary, #a796ff); }
.footer-contacts span { display:block; color:var(--text-3); font-size:12px; margin-bottom:5px; }
.footer-compact { padding:28px 0; }
.footer-compact .container { max-width:920px; }
.footer-compact-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px 24px; border-top:1px solid var(--line); padding-top:18px; font-size:12px; color:var(--text-3); }
.footer-compact-bottom a { color:var(--text-2); }
.captcha-slot { width:100%; min-width:0; overflow:hidden; }
.captcha-slot.is-compact { display:flex; justify-content:center; min-height:140px; overflow:visible; }
.language-switch { display:inline-flex; align-items:center; gap:2px; padding:3px; height:36px; flex:none; border:1px solid rgba(170,159,255,.22); border-radius:999px; background:rgba(16,16,25,.86); box-shadow:inset 0 1px 0 rgba(255,255,255,.03); }
.language-switch > svg { width:14px; height:14px; margin:0 4px 0 6px; fill:none; stroke:var(--text-3); stroke-width:1.4; }
.language-switch a { display:grid; place-items:center; min-width:32px; height:28px; padding:0 5px; border-radius:999px; color:var(--text-3); text-decoration:none; font-size:10px; line-height:1; font-weight:650; letter-spacing:.04em; transition:background .2s,color .2s,box-shadow .2s; }
.language-switch a:hover { color:var(--text); background:rgba(170,159,255,.09); }
.language-switch a.is-current { color:#fff; background:var(--grad-primary,linear-gradient(135deg,#7c5cff,#8387ff)); box-shadow:0 2px 8px rgba(124,92,255,.2); }
.language-switch a:focus-visible { outline:2px solid #b8abff; outline-offset:3px; }
.locale-brand-row { position:relative; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.notfound-brand { justify-content:center; gap:24px; flex-wrap:wrap; }
.auth-top { gap:12px; flex-wrap:wrap; }
.auth-top .language-switch { margin-left:auto; }
@media (max-width:520px) { .auth-top > .btn { display:none; } }
@media (max-width:480px) { .header-simple .header-actions:has(.language-switch) > .btn.primary { display:none; } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   auth pages (вход, регистрация, восстановление пароля)
   ========================================================================== */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px clamp(28px, 4vw, 64px); border-right: 1px solid var(--line); overflow: hidden; }
.auth-side::before { content: ""; position: absolute; inset: -20% -30% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 92, 255, .32), transparent 72%); pointer-events: none; }
.auth-side h2 { position: relative; font-size: clamp(30px, 3.2vw, 44px); max-width: 520px; }
.auth-side .lead { position: relative; margin-top: 16px; max-width: 480px; font-size: 17px; }
.auth-points { position: relative; display: grid; gap: 14px; margin-top: 30px; list-style: none; max-width: 480px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.auth-points .ic { width: 38px; height: 38px; border-radius: 12px; }
.auth-points .ic svg.i { width: 18px; height: 18px; }
.auth-points b { display: block; color: var(--text); font-weight: 600; }
.auth-side small { position: relative; color: var(--text-3); font-size: 13px; line-height: 1.5; max-width: 480px; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px var(--gutter) 40px; }
.auth-top { display: none; width: 100%; max-width: 440px; margin-bottom: 26px; justify-content: space-between; align-items: center; }
.auth-card { width: 100%; min-width: 0; max-width: 440px; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-xl); }
.auth-card h1 { font-size: clamp(26px, 3vw, 32px); }
.auth-card .sub { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.auth-card .form, .auth-body { margin-top: 26px; }
.auth-body { display: grid; gap: 20px; }
.auth-body .form { margin-top: 0; }
.auth-side-title { position: relative; font: 600 clamp(30px, 3.2vw, 44px)/1.12 var(--font); letter-spacing: -.035em; max-width: 540px; text-wrap: balance; }
.auth-single { min-height: 100vh; }
.auth-single .auth-top { display: flex; }
.auth-alt { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--text-2); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.link-sm { font-size: 14px; }
.auth-back { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 14px; text-decoration: none; }
.auth-back:hover { color: var(--text); }
@media (max-width: 960px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
  .auth-top { display: flex; }
  .auth-main { justify-content: flex-start; padding-top: 24px; }
}

/* simple text pages (политика, 404) */
.page-narrow { max-width: 820px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) var(--gutter) 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 13.5px; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-3); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.doc { margin-top: 22px; padding: clamp(22px, 4vw, 40px); border-radius: var(--r-xl); }
.doc h1 { font-size: clamp(28px, 3.6vw, 40px); }
.doc h2 { margin-top: 30px; font-size: 21px; }
.doc p, .doc li { margin-top: 12px; color: var(--text-2); }
.doc ul { padding-left: 22px; }
.privacy-doc > .kicker { margin-top: 0; }
.privacy-doc h1 { margin-top: 14px; overflow-wrap: break-word; }
.privacy-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.privacy-meta > span { padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-xs); background: var(--field); color: var(--text-2); font-size: 12px; line-height: 1.5; }
.privacy-doc .privacy-intro { margin-top: 20px; font-size: 16px; line-height: 1.7; }
.privacy-toc { margin-top: 26px; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--grad-soft); }
.privacy-doc .privacy-toc h2 { margin: 0; font-size: 17px; }
.privacy-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin-top: 16px; padding-left: 20px; }
.privacy-doc .privacy-toc li { margin-top: 0; font-size: 13.5px; line-height: 1.5; }
.privacy-doc section { scroll-margin-top: calc(var(--header-h) + 20px); }
.privacy-doc section + section { margin-top: 30px; padding-top: 2px; border-top: 1px solid var(--line); }
.privacy-doc section h2 { line-height: 1.35; }
.privacy-doc section p, .privacy-doc section li { font-size: 15px; line-height: 1.75; }
@media (max-width: 560px) {
  .header-simple .header-actions .btn.primary { display: inline-flex; height: 36px; padding: 0 12px; font-size: 13px; }
  .privacy-doc h1 { font-size: clamp(22px, 6.7vw, 28px); text-wrap: initial; }
  .privacy-toc { padding: 16px; }
  .privacy-toc ol { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
.todo { display: inline; padding: 1px 6px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); font-family: var(--mono); font-size: .88em; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound b { display: block; font: 600 clamp(80px, 16vw, 160px)/1 var(--font); letter-spacing: -.06em; }

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