/* crmuno.ru — the brand's night look: Graphite Navy, the Electric Blue → Cyan glow, living product cards.
   One stylesheet for the home page, the offer and the privacy policy. Inter is served from this site. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0b1222; --bg-2: #0f172a; --panel: #131d33; --panel-2: #18233d; --line: #22304d; --line-2: #2c3c5e;
  --fg: #eef3fb; --muted: #9fb0cf; --faint: #6b7a96;
  --blue: #0ea5ff; --blue-2: #0877f9; --cyan: #22d3ee; --ok: #34d399; --warn: #fbbf24;
  --glow: rgba(14, 165, 255, 0.30);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 16px; --r-lg: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--blue); }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.025em; text-wrap: balance; line-height: 1.12; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.lead { color: var(--muted); font-size: 18px; max-width: 62ch; }
.grad { background: linear-gradient(100deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 14px 22px;
  font: 700 15px/1 var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--blue { background: linear-gradient(110deg, #0ea5ff, #0877f9 60%, #22d3ee); background-size: 200% 100%; color: #fff;
  box-shadow: 0 12px 34px -12px rgba(14,165,255,.8); animation: shine 6s ease-in-out infinite; }
.btn--ghost { background: rgba(255,255,255,0.06); color: var(--fg); border: 1px solid var(--line-2); }
.btn--sm { padding: 10px 14px; font-size: 14px; border-radius: 11px; }
@keyframes shine { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* top bar */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.top .logo img { height: 26px; width: auto; display: block; }
.top nav { display: flex; gap: 4px; margin-left: 12px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.top nav a:hover { color: var(--fg); background: var(--panel-2); }
.top nav a { white-space: nowrap; }
@media (max-width: 1180px) { .top nav { margin-left: 4px; gap: 0; } .top nav a { padding: 8px 8px; font-size: 13px; } }
.top .sp { flex: 1; }
.top .actions { display: flex; gap: 8px; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: 56px 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 900; line-height: 1.02; letter-spacing: -0.04em; }
.hero p.lead { margin-top: 20px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust { margin-top: 22px; font-size: 13.5px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.trust b { color: var(--cyan); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 1; pointer-events: none; }
.orb.a { width: 520px; height: 520px; background: #0877f9; top: -180px; right: -80px; animation: drift 14s ease-in-out infinite; }
.orb.b { width: 360px; height: 360px; background: #22d3ee; bottom: -200px; left: 35%; opacity: .22; animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px, 36px); } }
.grid-bg { position: absolute; inset: 0; z-index: 1; opacity: .4; pointer-events: none;
  background-image: linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }

/* the product scene */
.scene { position: relative; min-height: 470px; }
.card { position: absolute; background: rgba(22,33,58,.92); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.7); backdrop-filter: blur(8px); }
.card small { color: var(--muted); font-size: 12px; display: block; }
.c-tour { left: 0; top: 24px; width: 330px; animation: float 7s ease-in-out infinite; }
.c-tour .name { font-size: 20px; font-weight: 800; margin: 4px 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: rgba(14,165,255,.14); color: #7dd3fc; font-weight: 600; }
.chip.ok { background: rgba(52,211,153,.14); color: #6ee7b7; }
.bar { height: 6px; border-radius: 6px; background: #0b1324; margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #0ea5ff, #22d3ee); border-radius: 6px; animation: fill 4s ease-out forwards .6s; }
@keyframes fill { to { width: 72%; } }
.c-pay { right: 6px; top: 0; width: 250px; animation: float 8s ease-in-out infinite 1s; }
.c-pay b { font-size: 22px; }
.c-auto { right: 0; top: 176px; width: 250px; animation: float 9s ease-in-out infinite .5s; }
.c-auto .count { font: 800 32px/1 var(--font); background: linear-gradient(100deg, #0ea5ff, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; margin: 4px 0; }
.c-chat { left: 0; bottom: 14px; width: 280px; animation: float 7.5s ease-in-out infinite 2s; }
.bubble { background: #0b1324; border-radius: 12px 12px 12px 4px; padding: 8px 11px; font-size: 13.5px; margin-top: 7px; }
.bubble.me { background: linear-gradient(110deg, #0877f9, #0ea5ff); border-radius: 12px 12px 4px 12px; margin-left: 34px; color: #fff; }
.c-receipt { right: 0; bottom: 0; width: 210px; animation: float 8.5s ease-in-out infinite 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; display: inline-block; margin-right: 6px; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

/* operators marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; position: relative; background: rgba(11,19,36,.7); }
.marquee__label { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 20px; z-index: 2;
  background: linear-gradient(90deg, #0b1324 72%, transparent); font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.marquee__track { display: flex; gap: 44px; padding: 16px 0; width: max-content; animation: roll 45s linear infinite; }
.marquee__track span { color: #c9d6ee; font-weight: 700; font-size: 16px; white-space: nowrap; opacity: .8; }
@keyframes roll { to { transform: translateX(-50%); } }

/* sections */
section.band { padding-block: 96px 8px; }
.head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 850; }
.center { text-align: center; margin-inline: auto; justify-items: center; }

/* before / after */
.ba { display: grid; gap: 12px; }
.ba__row { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; gap: 0; }
.ba__was, .ba__now { padding: 18px 22px; border-radius: var(--r); font-size: 15.5px; display: flex; gap: 12px; align-items: center; }
.ba__was { background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.ba__was::before { content: "✕"; color: #f87171; font-weight: 800; }
.ba__now { background: linear-gradient(120deg, rgba(8,119,249,.22), rgba(34,211,238,.10)); border: 1px solid rgba(14,165,255,.35); }
.ba__now::before { content: "✓"; color: var(--cyan); font-weight: 800; }
.ba__arrow { display: grid; place-items: center; color: var(--blue); font-weight: 900; font-size: 22px; }

/* modules */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.module { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start;
  transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.module:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 24px 50px -30px var(--glow); }
.module .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(14,165,255,.12); color: #38bdf8; }
.module h3 { font-size: 19px; }
.module p { color: var(--muted); font-size: 14.5px; }
.module ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; color: #c9d6ee; }
.module li { display: flex; gap: 8px; } .module li::before { content: "—"; color: var(--blue); }

/* integrations */
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
/* Each chip grows, so every row is filled edge to edge — no gaps at the end of a line on a phone. */
.logos span { flex: 1 1 auto; text-align: center; white-space: nowrap; border: 1px solid var(--line-2); background: var(--panel); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14.5px; color: #c9d6ee; }
.logos span b { color: var(--faint); font-weight: 600; font-size: 12px; margin-right: 6px; text-transform: uppercase; letter-spacing: .06em; }
/* A phone: two even columns, the kind («Банк») above the name — every row full, nothing left hanging. */
@media (max-width: 680px) {
  .logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .logos span { border-radius: 16px; padding: 10px 12px; white-space: normal; }
  .logos span b { display: block; margin: 0 0 2px; font-size: 11px; }
  .logos span:last-child:nth-child(odd) { grid-column: 1 / -1; } /* an odd one out takes the whole last row */
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 900 36px/1 var(--font);
  background: linear-gradient(160deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); font-size: 14.5px; }

/* pricing */
.toggle { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.toggle button { border: 0; background: transparent; color: var(--muted); font: 600 14px var(--font); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: linear-gradient(110deg, var(--blue-2), var(--blue)); color: #fff; }
.toggle .off { color: var(--ok); font-weight: 700; margin-left: 4px; }
.toggle button[aria-pressed="true"] .off { color: #d1fae5; }
/* The tariffs scroll sideways (arrows at the sides, no scrollbar); the padding keeps the tag and the glow unclipped. */
.plans-wrap { position: relative; }
.plans { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 16px 2px 40px; margin: -16px -2px -40px; overscroll-behavior-x: contain; }
.plans::-webkit-scrollbar { display: none; }
.plan { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.plans-arrow { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel-2); color: var(--fg); border: 1px solid var(--line-2); cursor: pointer; box-shadow: 0 14px 34px -14px rgba(0,0,0,.8);
  transition: background .2s, border-color .2s, transform .2s; }
.plans-arrow:hover { border-color: var(--blue); background: #1d2a48; transform: scale(1.05); }
.plans-arrow[hidden] { display: none; }
.plans-arrow--prev { left: -23px; } .plans-arrow--next { right: -23px; }
.plan__more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--blue); font: 600 14px var(--font); cursor: pointer; }
.plan__more:hover { color: var(--cyan); }
.plan li.extra { display: none; } .plan.open li.extra { display: flex; }
.compare-link { margin-top: 22px; display: flex; justify-content: center; }
.plan--top { background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(140deg, var(--blue), var(--cyan)) border-box;
  border: 1.5px solid transparent; box-shadow: 0 30px 70px -30px var(--glow); }
.plan .tag { position: absolute; top: -12px; left: 24px; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: linear-gradient(110deg, var(--blue), var(--cyan)); color: #fff; }
.plan h3 { font-size: 24px; }
.price { display: grid; gap: 2px; }
.price b { font-size: 38px; font-weight: 900; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.price small { font-size: 13.5px; color: var(--muted); }
.price s { color: var(--faint); font-size: 14px; }
.plan .note { color: var(--muted); font-size: 14.5px; }
.limits { display: grid; gap: 7px; padding: 14px; background: var(--panel-2); border-radius: 14px; font-size: 14px; }
.limits div { display: flex; justify-content: space-between; gap: 10px; }
.limits span { color: var(--muted); }
.limits b { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.plan li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 2px; border-radius: 50%;
  background: rgba(14,165,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230ea5ff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.plan li.off { color: var(--faint); } .plan li.off::before { background: rgba(107,122,150,.18); }
.plan .btn { width: 100%; margin-top: auto; }
.plan .btn--ghost { background: var(--panel-2); }
.options { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.option { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 4px; }
.option b { font-size: 15px; } .option span { color: var(--muted); font-size: 14px; }
/* /tarify/: the comparison table — the first column stays in place while it scrolls sideways */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp tbody th { text-align: left; font-weight: 500; color: var(--muted); position: sticky; left: 0; background: var(--panel); z-index: 1; min-width: 240px; }
.cmp thead th { background: var(--panel-2); padding-top: 34px; vertical-align: top; position: relative; }
.cmp thead .cmp-corner { position: sticky; left: 0; z-index: 3; text-align: left; color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.cmp-name { display: block; font-size: 19px; font-weight: 800; color: var(--fg); }
.cmp-price { display: grid; gap: 2px; margin-top: 6px; }
.cmp-price b { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; }
.cmp-price small { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.cmp thead .tag { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(110deg, var(--blue), var(--cyan)); color: #fff; }
.cmp .is-top { background: rgba(14,165,255,.07); }
.cmp thead .is-top { background: #172a4a; box-shadow: inset 0 3px 0 var(--blue); }
.cmp-group th { background: var(--bg-2) !important; color: var(--cyan) !important; font-size: 12px; font-weight: 700 !important; letter-spacing: .12em;
  text-transform: uppercase; text-align: left; padding-block: 11px; }
.cmp-yes { display: inline-block; width: 20px; height: 20px; border-radius: 50%; vertical-align: middle;
  background: rgba(14,165,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230ea5ff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.cmp-no { color: var(--faint); }
.cmp-actions td, .cmp-actions th { border-bottom: 0; padding-block: 18px; }
.cmp-actions .btn { width: 100%; }
.cmp-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cmp-intro .toggle { margin-bottom: 0; }
.pay-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* security */
.secure { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.secure div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 6px; }
.secure b { font-size: 16px; } .secure span { color: var(--muted); font-size: 14px; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* final call */
.final { margin-block: 96px 64px; border-radius: 28px; padding: 56px 40px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(8,119,249,.40), rgba(34,211,238,.18)); border: 1px solid rgba(14,165,255,.45); }
.final h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; }
.final p { color: #c9d6ee; margin: 14px auto 28px; max-width: 56ch; font-size: 17px; }
.final .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
footer img { height: 26px; width: auto; }
footer h4 { color: var(--fg); font-size: 14px; margin-bottom: 10px; letter-spacing: 0; }
footer a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
footer a:hover { color: var(--fg); }
footer .mail { margin-top: 12px; }
footer .mail a { display: inline; color: var(--fg); }
footer .seller { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* documents: the offer and the policy */
.doc { padding-block: 48px 24px; }
.doc .wrap { max-width: 860px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 900; }
.doc .meta { color: var(--muted); margin-top: 12px; font-size: 14.5px; }
.doc .toc { margin: 28px 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); columns: 2; column-gap: 28px; font-size: 14.5px; }
.doc .toc a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; break-inside: avoid; }
.doc .toc a:hover { color: var(--fg); }
.doc h2 { font-size: 22px; font-weight: 800; margin: 40px 0 14px; padding-top: 8px; }
.doc p, .doc li { color: #d3dcec; font-size: 15.5px; }
.doc p + p { margin-top: 10px; }
.doc ol, .doc ul { padding-left: 22px; display: grid; gap: 8px; margin: 10px 0; }
.doc .key { border-left: 3px solid var(--blue); background: linear-gradient(90deg, rgba(14,165,255,.12), transparent); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 14px 0; }
.doc .requisites { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 18px 22px; display: grid; gap: 6px; font-size: 15px; }
.doc .requisites div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; }
.doc .requisites span { color: var(--muted); }

@media (max-width: 1020px) {
  .top nav { display: none; }
  .hero .wrap { grid-template-columns: 1fr; } .scene { min-height: 420px; }
  .modules, .options { grid-template-columns: 1fr 1fr; }
  .plan { flex-basis: calc((100% - 16px) / 2); }
  .plans-arrow--prev { left: -6px; } .plans-arrow--next { right: -6px; }
  .steps, .secure { grid-template-columns: 1fr 1fr; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .top .actions .btn--ghost { display: none; }
  .hero { padding-block: 36px 48px; }
  .scene { min-height: 610px; }
  .c-tour { width: 90%; top: 0; } .c-pay { top: 186px; right: 0; width: 70%; } .c-auto { top: 300px; right: auto; left: 0; width: 72%; }
  .c-chat { bottom: 0; left: auto; right: 0; width: 84%; } .c-receipt { display: none; }
  .ba__row { grid-template-columns: 1fr; } .ba__arrow { transform: rotate(90deg); height: 32px; }
  .modules, .options, .steps, .secure { grid-template-columns: 1fr; }
  .plan { flex-basis: 86%; }
  section.band { padding-block: 72px 8px; }
  .final { padding: 40px 20px; }
  footer .wrap { grid-template-columns: 1fr; }
  .doc .toc { columns: 1; }
  .doc .requisites div { grid-template-columns: 1fr; gap: 0; }
  .cmp { font-size: 13.5px; min-width: 620px; }
  .cmp tbody th { min-width: 140px; max-width: 160px; }
  .cmp th, .cmp td { padding: 11px 10px; }
  .cmp-intro .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bar i { width: 72%; } .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- «Возможности» (/vozmozhnosti/): every feature, section by section ---------- */
.top nav a[aria-current="page"] { color: var(--fg); background: var(--panel-2); }
.hero--page { padding-block: 40px 56px; }
.hero--page .wrap { grid-template-columns: 1fr; max-width: 1180px; }
.hero--page h1 { font-size: clamp(34px, 5vw, 60px); max-width: 18ch; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--fg); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; max-width: 980px; }
.pillars div { background: rgba(19,29,51,.78); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 6px; }
.pillars b { font-size: 16.5px; } .pillars span { color: var(--muted); font-size: 14.5px; }
.hero--page .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* The sections' quick links stay under the top bar while the page scrolls. */
.cats { position: sticky; top: 66px; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px);
  border-block: 1px solid var(--line); }
.cats .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.cats .wrap::-webkit-scrollbar { display: none; }
.cats a { flex: none; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); white-space: nowrap; }
.cats a:hover { color: var(--fg); border-color: var(--blue); }
.feat, #pains, #roles, #facts { scroll-margin-top: 130px; }

.feat { padding-block: 88px 0; }
.feat__head { display: grid; gap: 14px; margin-bottom: 32px; max-width: 820px; }
.feat__head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 850; }
.feat__body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.feat--flip .feat__body > .mock { order: 2; }
.fitems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fitem { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 8px; align-content: start;
  transition: border-color .25s, transform .25s; }
.fitem:hover { border-color: var(--blue); transform: translateY(-3px); }
.fitem h3 { font-size: 17.5px; }
.fitem p { color: var(--muted); font-size: 14.5px; }
.fitem ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; color: #c9d6ee; }
.fitem li { display: flex; gap: 8px; } .fitem li::before { content: "—"; color: var(--blue); flex: none; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

/* A product window drawn in CSS: the section's screen in miniature. */
.mock { position: sticky; top: 140px; background: rgba(22,33,58,.92); border: 1px solid var(--line-2); border-radius: 20px; padding: 16px 18px 20px;
  box-shadow: 0 30px 70px -40px var(--glow); display: grid; gap: 10px; }
.mock small { color: var(--muted); font-size: 12px; }
.mock__bar { display: flex; align-items: center; gap: 6px; margin: -2px 0 6px; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock__bar span { margin-left: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.mock__title { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mock__sub { display: block; }
.mock__btn { justify-self: start; margin-top: 4px; pointer-events: none; }
.mock .chip { font-style: normal; }
.mock .bar { margin-top: 2px; }
.mock .bubble.me { margin-left: 60px; }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kanban > div { background: #0b1324; border-radius: 12px; padding: 8px; display: grid; gap: 6px; align-content: start; }
.kcard { background: var(--panel-2); border-radius: 10px; padding: 8px 9px; display: grid; gap: 3px; font-size: 12.5px; }
.kcard b { font-size: 13px; } .kcard span { color: var(--muted); } .kcard .chip { justify-self: start; font-size: 10.5px; }
.kcard--ok { border: 1px solid rgba(52,211,153,.35); }
.docs, .sched, .chats, .rows { display: grid; gap: 6px; }
.docs div, .sched div, .rows div { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #0b1324;
  border-radius: 10px; padding: 9px 11px; font-size: 13.5px; }
.rows span { color: var(--muted); } .rows b { font-variant-numeric: tabular-nums; } .rows b.ok, .kpis b.ok { color: var(--ok); }
.chats div { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; background: #0b1324; border-radius: 10px; padding: 8px 11px; font-size: 13px; }
.chats .chip { grid-row: span 2; align-self: center; font-size: 10.5px; }
.chats span { color: var(--muted); }
.person { display: flex; align-items: center; gap: 12px; }
.person .ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--blue-2), var(--cyan)); color: #fff; }
.person b { display: block; font-size: 16px; }
.pay { display: grid; gap: 2px; } .pay b { font-size: 26px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis div { background: #0b1324; border-radius: 12px; padding: 10px; display: grid; gap: 2px; }
.kpis b { font-size: 15px; font-variant-numeric: tabular-nums; }
.rule { background: #0b1324; border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; border-left: 3px solid var(--cyan); }
.rule--do { border-left-color: var(--blue); margin-left: 18px; }
.big { display: grid; gap: 2px; } .big b { font: 900 54px/1 var(--font); }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding: 10px; background: #0b1324; border-radius: 12px; }
.chart i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--cyan), var(--blue-2)); }
.mock--phone { max-width: 300px; justify-self: center; width: 100%; border-radius: 34px; padding: 26px 20px 24px; border-width: 2px; }

.pains { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pains article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; align-content: start; }
.pains b { font-size: 16.5px; } .pains b::before { content: "✕ "; color: #f87171; }
.pains p { color: var(--muted); font-size: 14.5px; }
.pains p::before { content: "✓ "; color: var(--cyan); font-weight: 800; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.roles > div { background: linear-gradient(140deg, rgba(8,119,249,.16), rgba(34,211,238,.06)); border: 1px solid rgba(14,165,255,.3);
  border-radius: var(--r-lg); padding: 28px; }
.roles h3 { font-size: 22px; margin-bottom: 14px; }
.roles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.roles li { display: flex; gap: 10px; font-size: 15.5px; } .roles li::before { content: "✓"; color: var(--cyan); font-weight: 800; }
.facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.facts div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 18px; display: grid; gap: 8px; align-content: start; }
.facts b { font: 900 38px/1 var(--font); background: linear-gradient(100deg, var(--blue), var(--cyan)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.facts > div > span { color: var(--muted); font-size: 14px; }

@media (max-width: 1100px) {
  .feat__body { grid-template-columns: 1fr; }
  .feat--flip .feat__body > .mock { order: 0; }
  .mock { position: static; max-width: 560px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .pains { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .pillars, .fitems, .tiles, .pains, .roles { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .cats { top: 62px; }
  .feat { padding-block: 64px 0; }
  .kanban { grid-template-columns: 1fr 1fr; } .kanban > div:last-child { display: none; }
  .roles > div { padding: 22px; }
}
.more { margin-top: 18px; display: flex; justify-content: center; }

/* Статьи (/stati/) and «Новости» (/novosti/): long reads on the .doc layout, the news list and the articles' index. */
.doc .crumbs { margin-bottom: 22px; }
.article .lead { margin-top: 18px; font-size: 18px; color: #c9d6ee; max-width: none; }
.doc h3 { font-size: 18px; font-weight: 800; margin: 26px 0 10px; }
.doc .table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.doc th, .doc td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: #d3dcec; }
.doc thead th { color: var(--fg); background: var(--panel-2); font-weight: 700; }
.doc tbody tr:last-child td, .doc tbody tr:last-child th { border-bottom: 0; }
.doc .faq { margin-top: 6px; }
.doc .faq details p { color: var(--muted); }
.doc .related { list-style: none; padding: 0; display: grid; gap: 8px; }
.doc .related li { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.doc .related a { color: var(--fg); text-decoration: none; font-weight: 600; }
.doc .related a:hover { color: var(--blue); }
.doc .related span { color: var(--faint); font-size: 13.5px; margin-left: 6px; }
.doc .final { margin-block: 64px 32px; }
.doc .final h2 { margin: 0; padding: 0; }
.doc .final p { color: #c9d6ee; }
.news-body { margin-top: 8px; }
.news-body h2 { margin-top: 32px; }
.news-body p + p, .news-body p + ul, .news-body p + ol { margin-top: 12px; }
.news-body figure, .news-cover { margin: 22px 0; }
.news-body img, .news-cover img { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); }
.news-body figcaption { color: var(--faint); font-size: 13.5px; text-align: center; margin-top: 8px; }
.news-body blockquote { margin: 18px 0; padding: 12px 18px; border-left: 3px solid var(--cyan); background: var(--panel); border-radius: 0 12px 12px 0; }
.news-body code { background: var(--panel-2); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding-block: 8px 24px; }
.news-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s, transform .2s; }
.news-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.news-card__img { display: block; aspect-ratio: 1200 / 630; background: var(--bg-2); overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card__img--empty { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(14,165,255,.25), transparent 60%), var(--bg-2); }
.news-card__img--empty img { width: 132px; height: auto; opacity: .7; }
.news-card__body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.news-card time, .stati-card small { color: var(--faint); font-size: 13.5px; }
.news-card h2 { font-size: 19px; font-weight: 800; line-height: 1.25; }
.news-card h2 a { color: var(--fg); text-decoration: none; }
.news-card h2 a:hover { color: var(--blue); }
.news-card p { color: var(--muted); font-size: 15px; margin: 0; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 12px 8px; color: var(--muted); font-size: 14.5px; }
.news-empty { color: var(--muted); padding: 24px 0 8px; font-size: 17px; }
.news-rss { padding-block: 8px 56px; font-size: 14px; }
.news-rss a { color: var(--faint); }
.stati-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; padding-block: 8px 24px; }
.stati-card { display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--fg); transition: border-color .2s, transform .2s; }
.stati-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.stati-card h2 { font-size: 20px; font-weight: 800; line-height: 1.25; }
.stati-card p { color: var(--muted); font-size: 15px; margin: 0; }
.stati-card b { color: var(--blue); font-size: 14.5px; }
@media (max-width: 680px) {
  .article .lead { font-size: 16.5px; }
  .news-grid, .stati-grid { grid-template-columns: 1fr; }
}
/* The home page's H1 starts with its eyebrow: search engines read «CRM для турагентств» as the heading. */
.hero h1 .eyebrow { display: block; margin-bottom: 14px; line-height: 1.6; letter-spacing: 0.14em; }
/* LiveInternet's counter in the footer: small and quiet, brighter on hover. */
footer .li-counter { margin-top: 16px; line-height: 0; }
footer .li-counter a { display: inline-block; padding: 0; opacity: .55; transition: opacity .2s; }
footer .li-counter a:hover { opacity: 1; }
footer .li-counter img { width: 88px; height: 31px; border-radius: 4px; }
/* «Оператор персональных данных»: the registry number of Roskomnadzor under «Документы», a link to the record. */
footer .rkn-card { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; max-width: 340px;
  border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, rgba(14,165,255,.08), rgba(34,211,238,.03)); }
footer .rkn-card svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
footer .rkn-card__shield { fill: rgba(14,165,255,.15); stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round; }
footer .rkn-card__tick { stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
footer .rkn-card b { display: block; color: var(--fg); font-size: 13.5px; font-weight: 700; }
footer .rkn-card span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
footer .rkn-card a { display: inline-block; padding: 0; margin-top: 4px; font-size: 13px; color: var(--blue); }
footer .rkn-card a:hover { color: var(--cyan); }

/* «Приведи друга»: who invited the visitor (crmuno.ru/r/…) */
.invite { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(14, 165, 255, 0.18), rgba(34, 211, 238, 0.1)); border: 1px solid rgba(125, 211, 252, 0.4); }
.invite > span:not(.invite__ava) { flex: 1; min-width: 0; }
.invite b { font-size: 16px; }
.invite small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.invite__ava { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: var(--bg-2); }
@media (max-width: 640px) { .invite { flex-wrap: wrap; } .invite .btn { width: 100%; justify-content: center; } }
