/* Mapvix Встречайка — site styles */

@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/GolosText-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/GolosText-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f8ff;
  --white: #fff;
  --ink: #101a33;
  --muted: #4c5773;
  --muted-2: #64708a;
  --line: #e3e8f5;
  --line-strong: #d3dbf0;
  --blue: #214ee8;
  --blue-700: #173cc4;
  --blue-100: #e7edff;
  --blue-50: #eff3ff;
  --navy: #0b1430;
  --navy-2: #111c3d;
  --amber: #f0a63c;
  --mint: #dff3ec;
  --radius: 20px;
  --shadow-card: 0 18px 44px -30px rgba(18, 33, 78, 0.45);
  --font: "Golos Text", "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 4.45vw, 3.875rem);
  line-height: 1;
  letter-spacing: -0.038em;
  font-weight: 760;
}
h1 span { color: var(--blue); }

h2 { font-size: clamp(1.9rem, 3.1vw, 2.85rem); }
h3 { font-size: 1.28rem; line-height: 1.24; letter-spacing: -0.015em; font-weight: 680; }

.wrap {
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(10, 20, 50, 0.2);
  transition: top 0.2s;
}
.skip-link:focus-visible { top: 12px; }

:focus-visible {
  outline: 3px solid #5175ff;
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn .icon { width: 19px; height: 19px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(33, 78, 232, 0.85);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: #b9c7ef; background: #fbfcff; }
.btn-light {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.45);
}
.btn-light:hover { background: #f1f5ff; transform: translateY(-1px); }
.btn-soft {
  background: var(--blue-50);
  color: var(--blue);
  border-color: #dbe4ff;
}
.btn-soft:hover { background: var(--blue-100); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 14px; border-radius: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 620;
}
.text-link .icon { width: 17px; height: 17px; transition: transform 0.18s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 248, 255, 0.84);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -30px rgba(12, 24, 60, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand img { width: 28px; height: 28px; }
.brand b { color: var(--blue); font-weight: 790; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--muted);
}
.main-nav > a { position: relative; padding: 4px 0; }
.main-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--blue);
  transition: right 0.2s ease;
}
.main-nav > a:hover { color: var(--ink); }
.main-nav > a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: 4px; }
.header-link { font-size: 14.5px; color: var(--muted); }
.header-link:hover { color: var(--ink); }

.menu-btn {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
}
.menu-btn .icon { width: 20px; height: 20px; }
.nav-mobile-actions { display: none; }
.nav-scrim { display: none; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: 40px 68px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #2849b6;
  font-size: 12px;
  font-weight: 660;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(33, 78, 232, 0.14);
}
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 22px; }
.lead {
  max-width: 470px;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.32vw, 1.1875rem);
  line-height: 1.58;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 13.5px;
  line-height: 1.45;
}
.hero-note .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--blue); }

.stage {
  position: relative;
  margin: 0;
  isolation: isolate;
}
.stage-halo {
  position: absolute;
  z-index: -1;
  inset: 9% 5% 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side at 52% 48%, #d3dfff 0%, #e4ecff 62%, rgba(246, 248, 255, 0) 100%);
  filter: blur(38px);
}
.call {
  position: relative;
  z-index: 1;
  padding: 14px 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: linear-gradient(158deg, #131e3f 0%, #0b1430 72%);
  color: #fff;
  box-shadow: 0 40px 70px -34px rgba(12, 23, 56, 0.6), 0 3px 10px rgba(12, 23, 56, 0.16);
}
.call-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 4px 12px;
}
.call-meta { display: block; color: #8e9cc4; font-size: 11px; letter-spacing: 0.02em; }
.call-title strong { display: block; margin-top: 2px; font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; }
.rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 104, 112, 0.24);
  border-radius: 99px;
  background: rgba(255, 90, 100, 0.12);
  color: #ffc4c7;
  font-size: 11px;
  white-space: nowrap;
}
.rec i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b71;
  animation: pulse 2.2s ease-in-out infinite;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.tile {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  min-height: 84px;
  border-radius: 11px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--tile-a), var(--tile-b));
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.initial {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--badge);
  color: var(--badge-ink);
  font-size: 17px;
  font-weight: 660;
}
.tile-name {
  position: absolute;
  left: 9px;
  bottom: 7px;
  z-index: 1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.tile-anna { --tile-a: #46528c; --tile-b: #29325e; --badge: #c3cfff; --badge-ink: #1b2350; }
.tile-mark { --tile-a: #7a4c55; --tile-b: #472c39; --badge: #ffc8af; --badge-ink: #582f31; }
.tile-lena { --tile-a: #33646a; --tile-b: #1e4249; --badge: #a9e5d8; --badge-ink: #1b4241; }

.tile-ai {
  --tile-a: #3a63f5;
  --tile-b: #142a86;
  background: radial-gradient(120% 120% at 50% 8%, #3a63f5 0%, #1b3cbc 46%, #132a85 100%);
}
.ai-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 1;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.ai-avatar {
  width: clamp(54px, 6vw, 68px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16), 0 12px 26px rgba(3, 10, 35, 0.45);
}
.tile-ai-name { display: flex; align-items: center; gap: 6px; font-weight: 600; }

.caption {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #dbe3ff;
  font-size: 11.5px;
  line-height: 1.4;
}
.caption img { flex: none; border-radius: 50%; }
.caption p {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.call-controls {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  margin-bottom: 2px;
}
.call-controls span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.09);
  color: #dbe3ff;
}
.call-controls .icon { width: 15px; height: 15px; }
.call-controls .leave { background: #e5484d; border-color: #e5484d; color: #fff; }

.summary-card {
  position: relative;
  z-index: 2;
  width: min(316px, 92%);
  margin: -24px -16px 0 auto;
  padding: 13px 14px;
  border: 1px solid #e8ecf8;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 26px 50px -24px rgba(12, 24, 60, 0.45), 0 2px 8px rgba(12, 24, 60, 0.05);
}
.summary-head { display: flex; align-items: center; gap: 9px; }
.summary-head img { border-radius: 50%; }
.summary-head strong { display: block; font-size: 13px; font-weight: 660; letter-spacing: -0.01em; }
.summary-head span { display: block; margin-top: 1px; color: var(--muted-2); font-size: 10.5px; }
.summary-card ul { margin: 9px 0 0; padding: 0; list-style: none; }
.summary-card li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 6px 0;
  border-top: 1px solid #eef1f9;
  color: #3b4560;
  font-size: 11.8px;
  line-height: 1.4;
}
.summary-card li .icon { width: 14px; height: 14px; margin-top: 1px; color: var(--blue); }
.summary-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  padding-top: 8px;
  border-top: 1px solid #eef1f9;
  color: var(--muted-2);
  font-size: 10.5px;
}
.summary-link { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-size: 11px; font-weight: 620; }
.summary-link .icon { width: 12px; height: 12px; }

/* waveform */

.wave {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
  color: currentColor;
}
.wave i {
  width: 2.5px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
  animation: wave 1.15s ease-in-out infinite;
}
.wave i:nth-child(2) { animation-delay: 0.12s; height: 11px; }
.wave i:nth-child(3) { animation-delay: 0.24s; height: 7px; }
.wave i:nth-child(4) { animation-delay: 0.36s; height: 9px; }
.wave i:nth-child(5) { animation-delay: 0.48s; height: 6px; }
.wave-light { color: #fff; }
.wave-blue { color: var(--blue); }
.wave-sm { height: 12px; }
.wave-sm i { height: 5px; }
.wave-sm i:nth-child(2) { height: 9px; }
.wave-sm i:nth-child(3) { height: 12px; }
.wave-sm i:nth-child(4) { height: 7px; }

/* ---------- facts ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.facts strong { display: block; font-size: 14px; font-weight: 640; letter-spacing: -0.01em; }
.facts span { display: block; margin-top: 1px; color: var(--muted-2); font-size: 12.5px; }

/* ---------- sections ---------- */

.section { padding-block: 88px 0; }
#features, #how, #assistant, #faq { scroll-margin-top: 92px; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 40px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-sub { max-width: 430px; padding-bottom: 6px; color: var(--muted); font-size: 15.5px; }
.section-head-center { grid-template-columns: 1fr; text-align: center; }

/* ---------- bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-2px); border-color: #d7dffa; box-shadow: var(--shadow-card); }
.card-lg { grid-column: span 4; }
.card-text p { margin-top: 9px; color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 48ch; }

.mock { margin-top: auto; padding-top: 20px; }

.mock-transcript {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 4px;
  color: #7c87a3;
  font-size: 11px;
}
.mock-dot { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; }
.mock-pill {
  margin-left: auto;
  padding: 1px 5px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 600;
}
.t-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid #e9edf8;
}
.t-time { padding-top: 1px; color: #8b94ab; font-size: 11px; font-variant-numeric: tabular-nums; }
.t-row p { color: #333e59; font-size: 12.5px; line-height: 1.5; }
.t-row b {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 660;
}
.t-row b img { border-radius: 50%; }
.t-ai {
  margin-inline: -8px;
  padding-inline: 8px;
  border-top-color: transparent;
  border-radius: 8px;
  background: var(--blue-50);
}
.t-ai p { color: #26356f; }

.mock-share { display: grid; gap: 9px; }
.share-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.share-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
  color: #8b94ab;
  font-size: 10.5px;
}
.share-bar i { width: 5px; height: 5px; border-radius: 50%; background: #e2e7f4; }
.share-bar span { margin-left: 5px; }
.share-bar b {
  margin-left: auto;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 9px;
  font-weight: 620;
}
.share-canvas {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  height: 104px;
  padding: 11px;
  background: linear-gradient(180deg, #f3f6ff, #eef2ff);
}
.share-block { border: 1px solid #e2e8f7; border-radius: 6px; background: #fff; }
.share-block.s1 { grid-column: span 2; height: 26px; background: linear-gradient(90deg, #dbe5ff, #eef3ff); }
.share-block.s2, .share-block.s3 { height: 50px; }
.share-cursor {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  box-shadow: 0 4px 10px rgba(33, 78, 232, 0.35);
}
.share-cursor .icon { width: 9px; height: 9px; }
.chat-feed { display: grid; gap: 6px; }
.chat-bubble {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 9px;
  background: var(--paper);
  color: #4a5573;
  font-size: 10.5px;
}
.chat-bubble p { line-height: 1.35; }
.chat-avatar-b { background: #a9e5d8; color: #1b4241; }
.chat-avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffc8af;
  color: #582f31;
  font-size: 9.5px;
  font-weight: 650;
}

.mock-invite { display: grid; gap: 8px; margin-top: 0; }
.invite-field {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: #3b4560;
  font-size: 12px;
  overflow: hidden;
}
.invite-field .icon { width: 14px; height: 14px; color: var(--muted-2); }
.invite-field span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite-copy { width: 100%; gap: 7px; }
.invite-copy .icon { width: 15px; height: 15px; }
.invite-guests {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 10.5px;
}
.guest-stack { display: flex; flex: none; }
.guest-stack i {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-left: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ffc8af;
  color: #582f31;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 650;
}
.guest-stack i:first-child { margin-left: 0; background: #c3cfff; color: #1b2350; }
.guest-stack i:last-child { background: #a9e5d8; color: #1b4241; }

.mock-history {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.h-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-top: 1px solid #edf0f9;
}
.h-row:first-child { border-top: 0; }
.h-date { color: #8b94ab; font-size: 10px; letter-spacing: 0.03em; text-transform: uppercase; }
.h-row b { display: block; font-size: 12.5px; font-weight: 640; letter-spacing: -0.01em; }
.h-row div span { display: block; margin-top: 1px; color: #7b86a2; font-size: 10.5px; }
.h-tag {
  padding: 3px 7px;
  border-radius: 99px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 9.5px;
  font-weight: 640;
}
.h-tag-quiet { background: #f2f4fb; color: var(--muted-2); font-weight: 550; }

/* ---------- how ---------- */

.section-how {
  margin-top: 88px;
  padding-block: 82px;
  border-block: 1px solid var(--line);
  background: var(--white);
}
.section-how .section-head { margin-bottom: 44px; }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  border-top: 1px dashed var(--line-strong);
}
.steps li { position: relative; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.steps h3 { margin-top: 18px; font-size: 1.18rem; }
.steps p { margin-top: 8px; max-width: 34ch; color: var(--muted); font-size: 14.5px; }
.steps-cta { margin-top: 34px; text-align: center; }

/* ---------- assistant ---------- */

.assistant {
  position: relative;
  margin-top: 88px;
  padding-block: 94px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.assistant::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70%;
  height: 130%;
  background: radial-gradient(closest-side, rgba(56, 98, 255, 0.32), rgba(11, 20, 48, 0) 100%);
  pointer-events: none;
}
.assistant::after {
  content: "";
  position: absolute;
  bottom: -45%;
  left: -15%;
  width: 55%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(33, 78, 232, 0.16), rgba(11, 20, 48, 0) 100%);
  pointer-events: none;
}
.assistant-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.eyebrow-light { color: #9db6ff; }
.eyebrow-light .eyebrow-dot { box-shadow: 0 0 0 3px rgba(157, 182, 255, 0.16); }
.assistant h2 { margin: 16px 0 18px; color: #fff; }
.assistant-lead { max-width: 470px; color: #b7c2df; font-size: 16.5px; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  color: #dbe3f7;
  font-size: 13px;
}
.assistant-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #a2aecb;
  font-size: 13px;
}
.assistant-note .icon { width: 16px; height: 16px; color: #9db6ff; }

.dialog-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 44px 90px -46px rgba(0, 0, 0, 0.9);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dialog-person { display: flex; align-items: center; gap: 9px; }
.dialog-person img { border-radius: 50%; }
.dialog-person strong { display: block; font-size: 14px; font-weight: 650; }
.dialog-person span { display: block; margin-top: 1px; color: #97a4c6; font-size: 11px; }
.dialog-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  border-radius: 99px;
  background: rgba(74, 222, 128, 0.09);
  color: #a6f0c3;
  font-size: 10.5px;
  white-space: nowrap;
}
.dialog-live i { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; }

.dialog-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 2px; }
.msg { display: flex; gap: 8px; max-width: 94%; }
.msg p { font-size: 13px; line-height: 1.5; }
.msg-user {
  align-self: flex-end;
  max-width: 80%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px 14px 4px 14px;
  background: rgba(255, 255, 255, 0.1);
}
.msg-user p { color: #e8edfb; }
.msg-ai { align-items: flex-start; }
.msg-ai > img { margin-top: 2px; border-radius: 50%; flex: none; }
.msg-ai > div {
  padding: 9px 12px;
  border-radius: 4px 14px 14px 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.65);
}
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg-actions span {
  padding: 3px 7px;
  border: 1px solid #dde7ff;
  border-radius: 6px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 10px;
  font-weight: 620;
}
.msg-speaking {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: #7b86a2;
  font-size: 10.5px;
}
.dialog-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mic-orb {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(33, 78, 232, 0.18);
}
.mic-orb .icon { width: 15px; height: 15px; }
.dialog-hint { color: #97a4c6; font-size: 11.5px; }
.dialog-send {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #dbe3f7;
}
.dialog-send .icon { width: 14px; height: 14px; }

/* ---------- faq ---------- */

.faq-section { padding-block: 92px 88px; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.faq-intro h2 { margin: 14px 0 12px; }
.faq-intro p { max-width: 320px; margin-bottom: 20px; color: var(--muted); font-size: 15.5px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.012em;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  width: 22px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  max-width: 58ch;
  padding-bottom: 20px;
  margin-top: -2px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- cta ---------- */

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 92px;
  padding: clamp(30px, 4.6vw, 58px);
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(118deg, #214ee8 0%, #1a3fca 55%, #14339f 100%);
  color: #fff;
}
.cta-copy { position: relative; z-index: 1; max-width: 560px; }
.cta-copy h2 { color: #fff; }
.cta-copy p { margin-top: 14px; color: rgba(255, 255, 255, 0.86); font-size: 15.5px; }
.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex: none;
}
.cta-link {
  border: 0;
  padding: 4px 2px;
  background: none;
  color: #e8eeff;
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.cta-link:hover { color: #fff; text-decoration-color: #fff; }
.cta-panel::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -180px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0 1.5px, transparent 1.5px 52px);
  opacity: 0.7;
  -webkit-mask-image: radial-gradient(circle at center, transparent 0 26%, #000 52%, transparent 80%);
  mask-image: radial-gradient(circle at center, transparent 0 26%, #000 52%, transparent 80%);
  pointer-events: none;
}

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 32px;
  padding-block: 48px 36px;
}
.footer-brand p { max-width: 280px; margin-top: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.footer-col h2 {
  margin-bottom: 12px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 660;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col a { display: block; width: fit-content; margin-bottom: 8px; color: #3c4763; font-size: 14px; }
.footer-col a:hover { color: var(--blue); }
.footer-note { max-width: 210px; margin-top: 10px; color: var(--muted-2); font-size: 11.5px; line-height: 1.5; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 18px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12.5px;
}

/* ---------- dialog ---------- */

dialog {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 90px -24px rgba(8, 18, 45, 0.55);
}
dialog::backdrop { background: rgba(8, 15, 35, 0.55); backdrop-filter: blur(3px); }
.dialog-form { padding: 24px; }
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.dialog-eyebrow {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 660;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.dialog-heading h2 { font-size: 23px; letter-spacing: -0.025em; line-height: 1.15; }
.dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.dialog-close:hover { background: var(--blue-50); }
.dialog-close .icon { width: 17px; height: 17px; }
.dialog-form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 620; }
.dialog-input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dialog-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 78, 232, 0.14); }
.dialog-input .icon { width: 17px; height: 17px; color: var(--muted-2); }
.dialog-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}
.dialog-input input::placeholder { color: #7c87a0; }
.dialog-input input:focus-visible { outline: 0; }
.dialog-input.is-invalid { border-color: #d24b62; box-shadow: 0 0 0 3px rgba(210, 75, 98, 0.12); }
.dialog-message { margin: 8px 0 16px; color: var(--muted-2); font-size: 12.5px; }
.dialog-input.is-invalid ~ .dialog-message { color: #c0354f; }
.dialog-submit { width: 100%; }
.dialog-fine { margin-top: 10px; color: var(--muted-2); font-size: 11.5px; text-align: center; }

/* ---------- reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}


/* ---------- auth ---------- */

[hidden] { display: none !important; }

.auth-slot {
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-link {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.auth-link:hover { color: var(--ink); }
.auth-logout { color: var(--muted-2); font-size: 13.5px; font-weight: 500; }
.account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.account-name {
  max-width: 118px;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-auth { display: grid; gap: 8px; padding-top: 4px; }
.nav-user {
  margin: 2px 0 0;
  color: var(--muted-2);
  font-size: 12.5px;
}
.nav-user b { color: var(--ink); font-weight: 650; }
.footer-auth {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #3c4763;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.footer-auth:hover { color: var(--blue); }
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--ink); }

.dialog-field {
  width: 100%;
  min-height: 48px;
  margin-block: 7px 14px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
}
.dialog-field:focus {
  outline: 3px solid rgba(33, 78, 232, 0.22);
  outline-offset: 0;
  border-color: var(--blue);
}
#login-form label {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 620;
}
.dialog-fine a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-auth="user"] .header-link { display: none; }

@media (max-width: 1180px) {
  .account-name { display: none; }
}
@media (max-width: 1100px) {
  .header-link { display: none; }
}
@media (max-width: 720px) {
  .auth-slot { display: none; }
}
@media (min-width: 721px) {
  .nav-auth { display: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px; padding-block: 36px 60px; }
  .header-inner { gap: 18px; }
  .main-nav { gap: 20px; font-size: 14px; }
  .header-actions { gap: 12px; }
  h1 { font-size: clamp(2.5rem, 4.6vw, 3.4rem); }
  .summary-card { margin-right: -8px; }
}

@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 78px);
    padding: 6px 24px 18px;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 40px -28px rgba(12, 24, 60, 0.4);
    font-size: 15px;
  }
  .main-nav > a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav > a::after { display: none; }
  .nav-mobile-actions { display: grid; gap: 8px; padding-top: 14px; }
  .nav-open .main-nav { display: flex; }
  body.nav-open { overflow: hidden; }
  .menu-btn { display: grid; }
  .header-link { display: none; }
  body.nav-open .nav-scrim {
    display: block;
    position: fixed;
    inset: 78px 0 0;
    z-index: 55;
    background: rgba(8, 15, 35, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .header-inner { justify-content: space-between; }

  .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 40px 64px; }
  .hero-copy { max-width: 640px; }
  .lead { max-width: 560px; }
  .stage { width: min(560px, 100%); margin-inline: auto; }
  h1 { font-size: clamp(2.6rem, 7vw, 3.9rem); }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .section { padding-block: 72px 0; }
  .section-how { margin-top: 72px; padding-block: 64px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card-lg { grid-column: span 1; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-sub { max-width: 520px; }
  .assistant { margin-top: 72px; padding-block: 72px; }
  .assistant-inner { grid-template-columns: 1fr; gap: 38px; }
  .dialog-card { max-width: 560px; }
  .faq-section { padding-block: 72px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro p { max-width: 460px; }
  .cta-panel { margin-bottom: 72px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  body.nav-open .nav-scrim { inset-block-start: 68px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; }
  .header-cta { display: none; }
  .brand { font-size: 18px; }
  .brand img { width: 28px; height: 28px; }
  .hero { padding-block: 30px 56px; gap: 26px; }
  .hero h1 { margin-bottom: 18px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-note { font-size: 12.5px; }
  .stage { width: 100%; }
  .summary-card { width: min(300px, 94%); margin: -16px -4px 0 auto; }
  .call { padding-bottom: 26px; }
  .section-head { margin-bottom: 28px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px; }
  .card-lg { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { display: none; }
  .steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .step-num { grid-row: span 2; }
  .steps h3 { margin-top: 0; padding-top: 3px; }
  .steps p { grid-column: 2; max-width: none; }
  .steps-cta { text-align: left; }
  .assistant { padding-block: 58px; }
  .assistant h2 { font-size: clamp(1.8rem, 6.4vw, 2.4rem); }
  .assistant-lead { font-size: 15.5px; }
  .dialog-card { padding: 12px; }
  .dialog-live { display: none; }
  .dialog-body { padding: 12px 0; }
  .msg { max-width: 100%; }
  .msg-user { max-width: 88%; }
  .cta-panel { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px 22px; border-radius: 22px; }
  .cta-actions { width: 100%; align-items: stretch; }
  .cta-link { align-self: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; padding-block: 36px 28px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 460px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: clamp(2.15rem, 9.6vw, 2.9rem); }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; row-gap: 0; padding: 8px 0; }
  .facts li { padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li:first-child { border-top: 0; }
  .tile { min-height: 74px; }
  .initial { width: 36px; height: 36px; font-size: 15px; }
  .ai-avatar { width: 52px; }
  .call { padding: 10px; border-radius: 18px; }
  .caption { font-size: 10.5px; }
  .summary-card { width: 100%; margin: 10px 0 0; }
  .h-row { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .footer-top { grid-template-columns: 1fr; }
  .dialog-form { padding: 20px; }
}

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


/* ---------- тёмная тема лендинга ---------- */

:root {
  color-scheme: dark;
  --paper: #070b15;
  --white: #0f1626;
  --ink: #eef2fb;
  --muted: #98a4bb;
  --muted-2: #74809a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --blue: #8fb0ff;
  --blue-700: #2f55e0;
  --blue-100: rgba(143, 176, 255, 0.18);
  --blue-50: rgba(143, 176, 255, 0.09);
  --navy: #0a1020;
  --navy-2: #111a2f;
  --mint: #16332c;
  --shadow-card: 0 18px 44px -30px rgba(0, 0, 0, 0.8);
}

body {
  background:
    radial-gradient(1100px 650px at 12% -10%, rgba(58, 99, 242, 0.12), transparent 62%),
    radial-gradient(900px 600px at 100% 0%, rgba(143, 176, 255, 0.06), transparent 58%),
    var(--paper);
  color: var(--ink);
}

.site-header {
  background: rgba(7, 11, 21, 0.86);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -30px rgba(0, 0, 0, 0.9);
}
.brand b { color: var(--blue); }
.menu-btn { background: var(--white); color: var(--ink); }

.btn-primary {
  background: linear-gradient(135deg, #3a63f2, #214ee8);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(33, 78, 232, 0.75);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3158e2, #1b41c9);
}
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: #141d31;
  border-color: #2b3d68;
}
.btn-light {
  background: #f2f6ff;
  color: #214ee8;
}
.btn-soft {
  background: var(--blue-50);
  color: var(--blue);
  border-color: rgba(143, 176, 255, 0.24);
}
.btn-soft:hover { background: var(--blue-100); }

.eyebrow { color: var(--blue); }
.lead, .section-sub { color: var(--muted); }
.hero-note { color: var(--muted-2); }
.stage-halo {
  background: radial-gradient(closest-side at 52% 48%, rgba(58, 99, 242, 0.32), rgba(58, 99, 242, 0.05) 68%, transparent 100%);
  filter: blur(34px);
}

.summary-card {
  background: var(--white);
  border-color: var(--line);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.85);
}
.summary-card li {
  color: var(--muted);
  border-top-color: var(--line);
}
.summary-foot { border-top-color: var(--line); color: var(--muted-2); }

.facts { border-color: var(--line); }
.facts li { border-left-color: var(--line); }
.facts span { color: var(--muted-2); }

.card {
  background: var(--white);
  border-color: var(--line);
}
.card:hover {
  border-color: #2b3d68;
  box-shadow: var(--shadow-card);
}
.card-text p { color: var(--muted); }

.mock-transcript {
  background: var(--paper);
  border-color: var(--line);
}
.mock-head { color: var(--muted-2); }
.mock-pill { border-color: var(--line-strong); color: var(--muted-2); }
.t-row { border-top-color: var(--line); }
.t-row p { color: #c6d0e6; }
.t-row b { color: var(--ink); }
.t-ai { background: rgba(143, 176, 255, 0.1); }
.t-ai p { color: #cdd9ff; }

.share-window { background: var(--white); border-color: var(--line); }
.share-bar {
  background: #0b1220;
  border-bottom-color: var(--line);
  color: var(--muted-2);
}
.share-bar i { background: #394664; }
.share-canvas { background: linear-gradient(180deg, #0e1628, #0a111f); }
.share-block {
  background: #141d31;
  border-color: var(--line);
}
.share-block.s1 { background: linear-gradient(90deg, #1b2b58, #101a30); }
.share-cursor { background: #3a63f2; }
.chat-bubble { background: var(--paper); color: var(--muted); }

.invite-field {
  background: var(--paper);
  border-color: var(--line);
  color: #c6d0e6;
}
.invite-guests { color: var(--muted-2); }
.guest-stack i { border-color: var(--white); }

.mock-history { background: var(--white); border-color: var(--line); }
.h-row { border-top-color: var(--line); }
.h-date { color: var(--muted-2); }
.h-row div span { color: var(--muted-2); }
.h-tag { background: var(--blue-50); color: var(--blue); }
.h-tag-quiet { background: rgba(255, 255, 255, 0.06); color: var(--muted-2); }

.section-how {
  background: var(--white);
  border-color: var(--line);
}
.step-num {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--blue);
}
.steps::before { border-top-color: var(--line-strong); }
.steps p { color: var(--muted); }

.assistant { background: var(--navy); }
.assistant-lead { color: var(--muted); }
.chips li { color: #dbe3f7; }
.assistant-note { color: var(--muted-2); }
.msg-ai > div {
  background: #1a2338;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.8);
}
.msg-actions span {
  background: rgba(143, 176, 255, 0.12);
  border-color: rgba(143, 176, 255, 0.25);
  color: var(--blue);
}
.msg-speaking { color: var(--muted-2); }
.dialog-hint, .dialog-person span { color: var(--muted-2); }
.mic-orb, .dialog-send { background: #3a63f2; }

.faq-list details { border-color: var(--line); }
.faq-list details:last-child { border-bottom-color: var(--line); }
.faq-list details p { color: var(--muted); }

.footer { border-color: var(--line); }
.footer-brand p { color: var(--muted); }
.footer-col h2 { color: var(--muted-2); }
.footer-col a, .footer-auth { color: var(--muted); }
.footer-col a:hover, .footer-auth:hover { color: var(--blue); }
.footer-note { color: var(--muted-2); }
.footer-bottom {
  border-top-color: var(--line);
  color: var(--muted-2);
}
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--ink); }

dialog {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 30px 90px -24px rgba(0, 0, 0, 0.9);
}
dialog::backdrop { background: rgba(3, 6, 14, 0.72); }
.dialog-input {
  background: var(--paper);
  border-color: var(--line-strong);
}
.dialog-input input { color: var(--ink); }
.dialog-input input::placeholder { color: var(--muted-2); }
.dialog-close {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
.dialog-message, .dialog-fine { color: var(--muted-2); }
.dialog-field {
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--ink);
}
.dialog-field::placeholder { color: var(--muted-2); }
#login-form label { color: var(--ink); }

.skip-link { background: var(--white); color: var(--ink); }
.nav-user { color: var(--muted-2); }
.nav-user b { color: var(--ink); }

@media (max-width: 960px) {
  .main-nav {
    background: var(--white);
    border-bottom-color: var(--line);
    box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.9);
  }
  .main-nav > a { border-bottom-color: var(--line); }
}


/* ---------- юридические страницы ---------- */

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
}

.footer-legal p { margin: 0; }

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--blue); }

.legal-page {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(143, 176, 255, 0.07), transparent 60%),
    var(--paper);
  color: var(--ink);
}

.legal-header { position: static; }

.legal-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.legal-nav a { color: var(--muted); text-decoration: none; }
.legal-nav a:hover { color: var(--ink); }

.legal-wrap {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 40px;
}

.legal-content h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.legal-content h2 {
  margin: 32px 0 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-content h3 {
  margin: 22px 0 8px;
  font-size: 16px;
  line-height: 1.3;
}

.legal-content p,
.legal-content li {
  color: #c2ccde;
  font-size: 14.5px;
  line-height: 1.7;
}

.legal-content p { margin: 0 0 12px; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; }
.legal-content li + li { margin-top: 5px; }
.legal-content a { color: var(--blue); }
.legal-content strong { color: var(--ink); }
.legal-content code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbe6ff;
  font-size: 0.92em;
}

.legal-eyebrow {
  margin: 0 0 12px !important;
  color: var(--blue) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-lead {
  margin: 0 0 24px !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.legal-muted { color: var(--muted-2) !important; font-size: 12.5px !important; }

.legal-content table {
  width: 100%;
  margin: 12px 0 18px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.legal-content th,
.legal-content td {
  padding: 9px 11px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.legal-content th {
  color: var(--ink);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
}

.legal-content td { color: #c2ccde; }

.legal-footer {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted-2);
  font-size: 12px;
}

.legal-operator {
  display: grid;
  gap: 3px;
  max-width: 620px;
}

.legal-operator strong { color: var(--ink); font-weight: 650; }
.legal-operator a { color: var(--muted); }

.legal-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}

.legal-footer-nav a { color: var(--muted); text-decoration: none; }
.legal-footer-nav a:hover { color: var(--blue); }

@media (max-width: 720px) {
  .legal-wrap { padding-top: 28px; }
  .legal-nav { display: none; }
  .legal-content h2 { font-size: 18px; }
  .legal-content table { font-size: 12.5px; }
  .legal-content th, .legal-content td { padding: 7px 8px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .legal-footer { flex-direction: column; }
}


/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(980px, calc(100% - 32px));
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(10, 16, 32, 0.97);
  box-shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.cookie-copy strong { color: var(--ink); }
.cookie-copy a { color: var(--blue); }

.cookie-actions {
  display: flex;
  flex: none;
  gap: 8px;
}

.cookie-actions .btn {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

.footer-cookie {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
}

.footer-cookie:hover { color: var(--blue); }

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    padding: 14px;
  }
  .cookie-actions { justify-content: flex-end; }
}


.dialog-forgot {
  margin: 0 0 12px;
  text-align: right;
  font-size: 12px;
}

.dialog-forgot a {
  color: var(--muted);
  text-decoration: underline;
}

.dialog-forgot a:hover { color: var(--blue); }
