/* ============================================================
   iqbots — landing v2
   Метафора: «свет, который не гаснет».
   Тёплая бумажная база + глубокий teal + ember-акцент.
   ============================================================ */

:root {
  --paper:      #f7f3ea;
  --paper-2:    #efe9db;
  --paper-3:    #e7dfce;
  --ink:        #1b1813;
  --ink-soft:   #55503f;
  --ink-mute:   #6f6a5c;
  --teal:       #0d5f55;
  --teal-deep:  #0a4a42;
  --ember:      #c2410c;
  --ember-hot:  #d9480f;
  --gold:       #d7c09a;
  --night:      #0c1f1b;
  --night-2:    #102823;
  --night-text: #ded7c8;
  --night-mute: #a49e8e;
  --line:       rgba(27, 24, 19, .14);
  --line-soft:  rgba(27, 24, 19, .08);
  --card:       #fffdf8;
  --radius:     22px;
  --radius-sm:  14px;
  --font-body:  "Geologica", system-ui, -apple-system, sans-serif;
  --font-disp:  "Alice", "Geologica", serif;
  --font-logo:  "Geologica", system-ui, sans-serif;
  --ease-out:   cubic-bezier(.22, 1, .36, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --header-h:   76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}

/* зерно поверх всей страницы — убирает «плоскость» сгенерированных сайтов */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 2147483000;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--teal); color: #fff; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

/* ---------- типографика ---------- */

h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }

.split-title {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.18;
  max-width: 28ch;
}

.section-head { margin-bottom: clamp(22px, 3vw, 36px); max-width: 760px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-tag b {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 11px;
  color: var(--ember);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 9px;
  line-height: 1;
}
.section-tag-light { color: var(--gold); }
.section-tag-light b { color: var(--gold); }

.section-sub {
  margin-top: 18px;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-soft);
  max-width: 56ch;
}

.section { padding: clamp(40px, 5vw, 64px) 0; position: relative; }

#problem, #how, #industries, #pricing, #faq, #cta, #audience { scroll-margin-top: var(--header-h); }

/* ---------- кнопки ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out),
              background-color .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 10px 28px rgba(194, 65, 12, .28);
}
.btn-primary:hover {
  background: var(--ember-hot);
  box-shadow: 0 14px 34px rgba(194, 65, 12, .36);
}
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-wide { width: 100%; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- preloader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--night);
  display: none;
  place-items: center;
}
html.js .loader { display: grid; }
.loader-mark {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 54px);
  color: var(--paper);
  letter-spacing: .02em;
  opacity: 0;
}
.loader-mark span { color: var(--gold); }
html.loaded .loader { display: none !important; }

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

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: transform .45s var(--ease-out), background-color .3s ease,
              box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.is-scrolled {
  background: rgba(247, 243, 234, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 27px;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s var(--ease-out);
}
.logo span { color: var(--teal); }
.logo:hover { transform: translateY(-1px); }

.nav-links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  position: relative;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 999px;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 1.5px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-phone {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  transition: color .2s ease;
}
.nav-phone:hover { color: var(--teal); }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nav-burger span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .3s ease;
}
body.menu-open .nav-burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .nav-burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  display: none;
  padding: calc(var(--header-h) + 24px) 24px 40px;
  overflow-x: hidden;
  overflow-y: auto;
}
body.menu-open .mobile-menu { display: block; }
body.menu-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav > a:not(.btn):not(.nav-phone) {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 24px;
  padding: 14px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 26px; }
.mobile-menu .nav-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu .nav-dropdown { width: 100%; }
.mobile-menu .nav-dropdown > button {
  width: 100%;
  justify-content: space-between;
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  color: inherit;
  background: none;
}
.mobile-menu .nav-dropdown > button::after { display: none; }
.mobile-menu .nav-dropdown > button .chev {
  width: 12px;
  height: 12px;
  transform: rotate(45deg) translateY(-1px);
  border-right-width: 2px;
  border-bottom-width: 2px;
}
.mobile-menu .nav-dropdown > button[aria-expanded="true"] .chev {
  transform: rotate(-135deg) translateY(2px);
}
.mobile-menu .nav-dropdown-menu {
  position: static;
  left: auto;
  transform: none;
  min-width: 0;
  padding: 10px 0 6px 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out);
}
.mobile-menu .nav-dropdown.is-open .nav-dropdown-menu {
  max-height: 720px;
  transform: none;
  left: auto;
}
.mobile-menu .nav-dropdown-menu::before { display: none; }
.mobile-menu .nav-dropdown-menu a {
  padding: 10px 14px;
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 20px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: none;
}
.mobile-menu .nav-dropdown-menu a:hover,
.mobile-menu .nav-dropdown-menu a:focus-visible {
  background: transparent;
  color: var(--teal);
  transform: none;
}
.mobile-menu .nav-dropdown-menu .dropdown-all {
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
  padding-top: 4px;
}
.mobile-menu .nav-dropdown-menu .dropdown-all a { color: var(--ember); }

/* ---------- dropdown: отрасли ---------- */

.nav-dropdown { position: relative; }
.nav-dropdown > button {
  position: relative;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 999px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
  font-family: inherit;
}
.nav-dropdown > button::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 1.5px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav-dropdown > button:hover { color: var(--ink); }
.nav-dropdown > button:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-dropdown > button[aria-expanded="true"] { color: var(--ink); }
.nav-dropdown > button[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav-dropdown > button .chev {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease-out);
  flex: none;
}
.nav-dropdown > button[aria-expanded="true"] .chev {
  transform: rotate(-135deg) translateY(1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 280px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px -24px rgba(27, 24, 19, .35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .3s var(--ease-out), visibility .25s ease;
  z-index: 200;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--card);
  border-left: 1px solid var(--line-soft);
  border-top: 1px solid var(--line-soft);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(13, 95, 85, .08);
  color: var(--teal);
  transform: translateX(2px);
}
.nav-dropdown-menu a svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex: none;
}
.nav-dropdown-menu a[aria-current="page"] {
  background: rgba(13, 95, 85, .12);
  color: var(--teal);
  pointer-events: none;
}
.nav-dropdown-menu .dropdown-all {
  border-top: 1px solid var(--line-soft);
  margin-top: 6px;
  padding-top: 10px;
}
.nav-dropdown-menu .dropdown-all a { color: var(--ember); }
.nav-dropdown-menu .dropdown-all a:hover {
  background: rgba(194, 65, 12, .08);
  color: var(--ember-hot);
}

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

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + clamp(24px, 4vh, 44px)) 0 clamp(36px, 5vh, 56px);
  overflow: hidden;
}

.hero-ring {
  position: absolute;
  top: -160px;
  right: -190px;
  width: clamp(420px, 44vw, 640px);
  color: var(--teal);
  opacity: .2;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 4vw, 72px);
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 26px;
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1a9a6c;
  position: relative;
  flex: none;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #1a9a6c;
  opacity: 0;
  animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse {
  0%   { transform: scale(.5); opacity: .9; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { opacity: 0; }
}

.hero-title {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(29px, 3.6vw, 52px);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-bottom: 14px;
  /* запас под нижние выносные — не clip */
  padding-bottom: .18em;
  overflow: visible;
}
.ht-line { display: block; }
.ht-accent { color: var(--ember); }

.hero-offer {
  font-family: var(--font-disp);
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--teal);
  max-width: 30ch;
  margin: 0 0 22px;
}

.lead {
  font-size: clamp(16px, 1.55vw, 18.5px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }

.fine { font-size: 13.5px; color: var(--ink-mute); }

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(24px, 3.4vw, 52px);
  margin-top: clamp(34px, 4.5vh, 54px);
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.kpi dt {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(19px, 2vw, 25px);
  color: var(--teal);
  padding-bottom: .12em;
}
.kpi dd { font-size: 13px; color: var(--ink-mute); max-width: 15ch; line-height: 1.45; }
.kpi-ico {
  width: 22px;
  height: 22px;
  color: var(--teal);
  margin-bottom: 8px;
}

/* сцена: кусок сайта клиента, не мессенджер-виджет */

.hero-stage {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
}

.chat {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border: 1px solid rgba(13, 95, 85, .22);
  border-radius: 4px 4px 10px 10px;
  box-shadow:
    0 1px 0 rgba(255, 253, 248, .5) inset,
    0 28px 64px -28px rgba(12, 31, 27, .45);
  overflow: hidden;
  max-width: 440px;
  margin-inline: auto;
}

.slice-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--night);
  color: var(--night-mute);
}
.slice-traffic {
  display: flex;
  gap: 5px;
  flex: none;
}
.slice-traffic i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(243, 238, 225, .22);
}
.slice-traffic i:nth-child(3) { background: var(--ember); }
.slice-url {
  flex: 1;
  min-width: 0;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(247, 243, 234, .08);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slice-url span { color: rgba(215, 192, 154, .55); font-weight: 500; }
.chat-time {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.slice-nav {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 9px 16px 8px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--card);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.slice-nav b {
  margin-left: auto;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .12em;
}

.chat-body {
  height: 348px;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, var(--card), var(--paper));
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px);
          mask-image: linear-gradient(180deg, transparent 0, #000 36px);
}

.msg {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.55;
}
.msg-user {
  align-self: stretch;
  padding: 0 0 10px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.msg-user::before {
  content: "Гость спрашивает";
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
}
.msg-bot {
  align-self: stretch;
  padding: 14px 16px 14px 18px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  color: var(--ink);
  box-shadow: 0 10px 28px -22px rgba(27, 24, 19, .5);
}
.msg-bot::before {
  content: "По данным сайта";
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
}
.msg .caret {
  display: inline-block;
  width: 2px; height: 1em;
  vertical-align: -.15em;
  background: var(--ember);
  margin-left: 2px;
  animation: caret 1s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.typing {
  align-self: stretch;
  padding: 4px 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.typing::after {
  content: "";
  display: block;
  width: 42%;
  height: 2px;
  margin-top: 8px;
  background: var(--ember);
  transform-origin: left;
  animation: scan 1.1s var(--ease-inout) infinite;
}
@keyframes scan {
  0%   { transform: scaleX(.15); opacity: .4; }
  50%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(.15); opacity: .4; }
}

.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 13px 18px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px -14px rgba(27, 24, 19, .28);
}
.chip b {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 16px;
  color: var(--ember);
}
.chip span { font-size: 11.5px; color: var(--ink-mute); white-space: nowrap; }
.chip-a { top: 108px; left: -44px; }
.chip-b {
  bottom: 108px;
  left: auto;
  right: 12px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
}
.hero-scroll svg { animation: nudge 2.4s var(--ease-inout) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- быстрый переход по отраслям ---------- */

.niche-bar {
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
  padding: 12px 0;
}
.niche-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.niche-bar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex: none;
}
.niche-bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.niche-bar-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.niche-bar-links a:hover,
.niche-bar-links a:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
}
.niche-bar-links a[aria-current="page"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #f7f3ea;
  pointer-events: none;
}

/* ---------- ticker ---------- */

.ticker {
  border-block: 1px solid var(--line-soft);
  background: var(--paper-2);
  padding: 22px 0 14px;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set {
  display: flex;
  align-items: center;
  flex: none;
}
.ticker-set span {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(15px, 1.8vw, 21px);
  color: var(--ink-soft);
  white-space: nowrap;
  padding: 0 28px;
}
.ticker-set i {
  width: 8px; height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--ember);
  opacity: .65;
}
@keyframes ticker { to { transform: translateX(-50%); } }

.ticker-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-mute);
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .live-dot::after, .hero-scroll svg, .typing::after { animation: none; }
  a.ind-item:hover::after,
  a.ind-item:focus-visible::after { transform: none; }
}

/* ---------- проблема ---------- */

.problem { overflow: hidden; }

.problem-shout {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(70px, 13vw, 190px);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(13, 95, 85, .22);
  user-select: none;
  pointer-events: none;
  margin-bottom: clamp(18px, 3vw, 32px);
  padding-bottom: .18em;
}

.issues {
  list-style: none;
  counter-reset: issue;
  border-top: 1px solid var(--line);
}
.issue {
  display: grid;
  grid-template-columns: 48px 1fr 1.2fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: baseline;
  padding: clamp(26px, 3.4vw, 42px) 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease, padding-left .35s var(--ease-out);
}
.issue:hover { background: rgba(255, 253, 248, .8); padding-left: 18px; }
.issue-n {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 15px;
  color: var(--ember);
}
.issue h3 {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -.015em;
}
.issue p { color: var(--ink-soft); font-size: 15.5px; max-width: 46ch; }

/* ---------- как работает ---------- */

.how-pin {
  position: relative;
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.how-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 30px);
}

.how-card {
  position: relative;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 42px);
  box-shadow: 0 24px 60px -30px rgba(27, 24, 19, .25);
}
.how-card-final {
  background: var(--teal);
  border-color: transparent;
  color: #f3eee1;
}
.how-card-final .how-art { color: var(--gold); }
.how-card-final .how-n { color: var(--gold); border-color: rgba(215, 192, 154, .5); }

.how-art {
  width: 132px;
  color: var(--teal);
  margin-bottom: 26px;
}
img.how-art {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 0 0 22px;
  border-radius: 0;
}
.how-n {
  position: absolute;
  top: 30px; right: 30px;
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 13px;
  color: var(--ember);
  border: 1px solid rgba(194, 65, 12, .4);
  border-radius: 999px;
  padding: 6px 12px;
  line-height: 1;
}
.how-card h3 {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  margin-bottom: 12px;
}
.how-card p { color: var(--ink-soft); font-size: 15px; }
.how-card-final h3 { color: #fff; }
.how-card-final p { color: #f3eee1; }

.how-code {
  margin: 4px 0 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--night);
  overflow-x: auto;
}
.how-code code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px;
  color: var(--gold);
  white-space: nowrap;
}

.how-progress { display: none; }

@media (max-width: 1023px) {
  .how-track { grid-template-columns: 1fr; }
}

/* ---------- ночь / 24/7 ---------- */

.night {
  background:
    radial-gradient(ellipse 90% 70% at 78% 8%, rgba(215, 192, 154, .1), transparent 55%),
    radial-gradient(ellipse 60% 50% at 12% 90%, rgba(13, 95, 85, .3), transparent 60%),
    linear-gradient(175deg, var(--night-2), var(--night));
  color: var(--night-text);
  overflow: hidden;
}
.night .split-title { color: #f3eee1; }
.night .section-sub { color: var(--night-mute); }

.night-art {
  position: absolute;
  right: clamp(-20px, 2vw, 60px);
  top: 28px;
  width: clamp(320px, 38vw, 540px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(215, 192, 154, .35));
}
.night-window { filter: drop-shadow(0 0 18px rgba(215, 192, 154, .65)); }

.night-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}

.night-stats {
  display: grid;
  gap: 22px;
  margin-top: clamp(18px, 2.5vw, 28px);
}
.nstat {
  display: grid;
  grid-template-columns: minmax(190px, auto) 1fr;
  gap: 18px;
  align-items: baseline;
  padding-top: 20px;
  border-top: 1px solid rgba(222, 215, 200, .16);
}
.nstat dt {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  padding-bottom: .1em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.nstat-ico {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex: none;
}
.nstat dd { font-size: 14px; color: var(--night-mute); }

.kb {
  background: rgba(255, 253, 248, .04);
  border: 1px solid rgba(222, 215, 200, .14);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 36px);
  backdrop-filter: blur(6px);
}
.kb-title {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 15px;
  color: #f3eee1;
  margin-bottom: 18px;
}
.kb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 2px;
  border-top: 1px solid rgba(222, 215, 200, .1);
  font-size: 14.5px;
}
.kb-row b {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7fd6b6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.kb-row b::before {
  content: "";
  width: 5px; height: 9px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(40deg) translateY(-1px);
}
.kb-foot {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(215, 192, 154, .1);
  color: var(--gold);
  font-size: 13px;
  text-align: center;
}

/* ---------- отрасли ---------- */

.ind-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}

.ind-lead {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: clamp(26px, 3vw, 42px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(27, 24, 19, .22);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.ind-lead:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px -30px rgba(13, 95, 85, .4);
}
.ind-lead-art {
  color: var(--teal);
  margin-bottom: clamp(20px, 3vw, 40px);
  transition: transform .6s var(--ease-out);
}
.ind-lead:hover .ind-lead-art { transform: translateY(-4px); }
.ind-ready {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ember);
}
.ind-ready svg { transition: transform .3s var(--ease-out); }
.ind-lead:hover .ind-ready svg { transform: translateX(5px); }
.ind-lead h3 {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  padding-bottom: .12em;
}
.ind-lead p { color: var(--ink-soft); font-size: 15.5px; max-width: 42ch; }

.ind-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.ind-item {
  position: relative;
  padding: clamp(18px, 2vw, 26px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 248, .55);
  transition: border-color .3s ease, background-color .3s ease, transform .3s var(--ease-out);
}
.ind-item:hover {
  border-color: rgba(13, 95, 85, .35);
  background: var(--card);
  transform: translateY(-3px);
}
.soon {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.ind-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ind-item p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.5; }
a.ind-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-decoration: none;
  color: inherit;
  min-height: 148px;
  padding-right: 52px;
}
a.ind-item::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(13, 95, 85, .3);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%230d5f55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 55% 50%;
  background-size: 13px;
  opacity: .55;
  transition: opacity .25s ease, transform .3s var(--ease-out), border-color .25s ease, background-color .25s ease;
}
a.ind-item:hover::after,
a.ind-item:focus-visible::after {
  opacity: 1;
  transform: translateX(4px);
  border-color: var(--ember);
  background-color: rgba(194, 65, 12, .08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23c2410c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.ind-ico,
.kpi-ico,
.nstat-ico {
  display: block;
  flex: none;
}
.ind-ico {
  width: 36px;
  height: 36px;
  color: var(--teal);
  margin-bottom: 14px;
}
img.ind-ico {
  width: 88px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  margin-bottom: 12px;
}
.ind-lead .ind-ico {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
}
a.ind-item:hover .ind-ico { color: var(--ember); }

.ind-grid-all {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
@media (max-width: 1023px) {
  .ind-grid-all { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .ind-grid-all { grid-template-columns: 1fr; }
}

/* ---------- тарифы ---------- */

.pricing { background: var(--paper-2); }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s ease;
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -28px rgba(27, 24, 19, .3);
}
.plan h3 { font-size: 16px; font-weight: 800; letter-spacing: .01em; margin-bottom: 14px; }
.plan-price {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(23px, 2.2vw, 29px);
  letter-spacing: -.01em;
  padding-bottom: .12em;
}
.plan-price i {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
}
.plan ul {
  list-style: none;
  margin: 20px 0 26px;
  display: grid;
  gap: 11px;
  flex: 1;
}
.plan li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px; top: 7px;
  width: 5px; height: 9px;
  border-right: 1.7px solid var(--teal);
  border-bottom: 1.7px solid var(--teal);
  transform: rotate(40deg);
}

.plan-hot {
  background: var(--night);
  border-color: transparent;
  color: #f3eee1;
  box-shadow: 0 30px 70px -28px rgba(12, 31, 27, .6);
}
.plan-hot h3 { color: #fff; }
.plan-hot .plan-price { color: var(--gold); }
.plan-hot .plan-price i { color: var(--night-mute); }
.plan-hot li { color: rgba(243, 238, 225, .8); }
.plan-hot li::before { border-color: var(--gold); }
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ember);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-widget { margin-top: 8px; }

.price-calc {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(18px, 2.4vw, 28px);
  margin-bottom: clamp(36px, 5vw, 56px);
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line-soft);
}
.price-calc-h {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.price-field { margin-bottom: 22px; }
fieldset.price-field {
  border: 0;
  padding: 0;
  min-width: 0;
}
.price-field label,
.price-field legend {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.price-range {
  width: 100%;
  accent-color: var(--teal);
  height: 36px;
}
.price-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 4px;
}
.price-out {
  font-family: var(--font-disp);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
}
.price-chans {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}
.price-chan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.price-chan.is-on {
  border-color: var(--teal);
  background: rgba(13, 95, 85, .08);
  color: var(--teal);
}
.price-chan input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.price-result {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
}
.price-result-plan {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
}
.price-result-sum {
  font-family: var(--font-disp);
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.price-result-sum i {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-mute);
}
.price-break { list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-soft); }
.price-day {
  font-size: 15px;
  color: var(--ink-soft);
}
.price-day b { color: var(--ink); font-weight: 700; }
.price-gift {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(13, 95, 85, .08);
}
.price-hint {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ember);
}
.price-result .btn { align-self: start; margin-top: auto; }

.price-group { margin-bottom: clamp(28px, 4vw, 48px); }
.price-group-h {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.price-group-d {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: -6px 0 14px;
}
.plans-solo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.plans-point { grid-template-columns: repeat(3, 1fr); }
.plans-flag { grid-template-columns: 1fr; max-width: 640px; }
.plan[data-plan] { cursor: pointer; }
.plan.is-pick {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(13, 95, 85, .2);
}
.plan-who { font-size: 13px; color: var(--ink-mute); margin: -8px 0 10px; }
.plan-day { font-size: 13px; color: var(--ink-soft); margin: 6px 0 0; }
.plan-hot .plan-who,
.plan-hot .plan-day { color: var(--night-mute); }

@media (max-width: 1023px) {
  .price-calc { grid-template-columns: 1fr; }
  .plans-point { grid-template-columns: 1fr; }
  .plans-flag { grid-template-columns: 1fr; }
}

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

.faq-container { max-width: 800px; }

.faq-list { border-top: 1px solid var(--line); }

.faq { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  text-align: left;
  font-size: clamp(16px, 1.7vw, 18.5px);
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .25s ease;
}
.faq-q:hover { color: var(--teal); }

.faq-icon {
  position: relative;
  flex: none;
  width: 34px; height: 34px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  transition: transform .45s var(--ease-out), border-color .3s ease, background-color .3s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  transition: transform .45s var(--ease-out);
}
.faq-icon::before { width: 12px; height: 1.6px; }
.faq-icon::after { width: 1.6px; height: 12px; }
.faq.is-open .faq-icon { transform: rotate(135deg); border-color: var(--ember); background: rgba(194, 65, 12, .07); color: var(--ember); }

.faq-a {
  max-height: 0;
  overflow: hidden;
}
.faq-a p {
  padding: 0 44px 24px 2px;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 62ch;
}

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

.cta {
  background:
    radial-gradient(ellipse 80% 90% at 90% -10%, rgba(215, 192, 154, .12), transparent 55%),
    linear-gradient(160deg, var(--teal-deep), var(--night) 80%);
  color: #f3eee1;
  overflow: hidden;
}
.cta .split-title { color: #fff; }
.cta .section-sub { color: rgba(243, 238, 225, .72); }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.cta-points {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 13px;
}
.cta-points li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: rgba(243, 238, 225, .85);
}
.cta-points li::before {
  content: "";
  position: absolute;
  left: 3px; top: 6px;
  width: 6px; height: 10px;
  border-right: 1.8px solid var(--gold);
  border-bottom: 1.8px solid var(--gold);
  transform: rotate(40deg);
}

.form {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.form input,
.form textarea,
.form select {
  font: inherit;
  font-weight: 500;
  padding: 13px 16px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input::placeholder { color: #a9a394; font-weight: 400; }
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 95, 85, .14);
}
.form input.input-error {
  border-color: rgba(154, 52, 18, .55);
  box-shadow: 0 0 0 3px rgba(154, 52, 18, .12);
}
.form-fine {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.form-max {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  transition: color .2s ease;
}
.form-max svg {
  width: 28px;
  height: 28px;
  flex: none;
}
.form-max:hover { color: var(--teal-deep); }
.form-fine a { color: inherit; text-decoration: underline; }
.form.form-sent .btn-primary {
  background: var(--teal);
  border-color: var(--teal);
}

/* ---------- партнёрская программа: полоса перед футером ---------- */

.partner-strip { padding: 0 0 clamp(40px, 5vw, 64px); }
.partner-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: clamp(22px, 3vw, 30px) clamp(24px, 4vw, 40px);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.partner-strip-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 6px;
}
.partner-strip-text {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
  color: var(--ink);
}
.partner-strip .btn { flex: none; }
@media (max-width: 640px) {
  .partner-strip-inner { flex-direction: column; text-align: center; }
}

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

.footer {
  position: relative;
  background: var(--night);
  color: var(--night-mute);
  padding: clamp(40px, 5vw, 64px) 0 100px;
  overflow: hidden;
}
.footer-word {
  position: absolute;
  left: 50%;
  bottom: -0.32em;
  transform: translateX(-50%);
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(120px, 22vw, 330px);
  line-height: 1;
  color: rgba(222, 215, 200, .05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.logo-footer { color: #f3eee1; font-size: 24px; }
.logo-footer span { color: var(--gold); }

.footer-cols {
  display: flex;
  gap: clamp(40px, 6vw, 100px);
  justify-content: center;
}
.footer-cols > div { display: grid; gap: 10px; justify-items: start; }
.footer-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(222, 215, 200, .45);
  margin-bottom: 6px;
}
.footer-cols a {
  font-size: 14px;
  text-decoration: none;
  color: var(--night-mute);
  transition: color .2s ease;
}
.footer-cols a:hover { color: #f3eee1; }
.footer-copy { font-size: 13px; align-self: start; }
.footer-legal {
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(243, 238, 225, 0.72);
  margin: 0;
}
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: #f3eee1; }

/* ---------- reveal: контент виден без JS; анимация — через GSAP ---------- */

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

@media (max-width: 1100px) {
  .nav-cta .nav-phone { display: none; }
}

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta .btn { display: none; }
  .nav-cta { margin-left: auto; gap: 0; }
  .nav-cta .nav-phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 13px;
    white-space: nowrap;
  }
  .nav-inner { gap: 12px; }

  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-scroll { display: none; }
  .hero-ring { top: -220px; right: -240px; }
  .chip-a { left: -6px; }

  .night-grid, .cta-grid, .ind-grid { grid-template-columns: 1fr; }
  .night-art { position: static; width: min(440px, 86%); margin: 0 0 30px; }

  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans-point { grid-template-columns: 1fr; }
  .plans-flag { grid-template-columns: 1fr; }

  .issue { grid-template-columns: 56px 1fr; }
  .issue p { grid-column: 2; }
}

@media (max-width: 620px) {
  .container,
  .how-pin { width: min(1200px, 100% - 40px); }
  .nav-inner { gap: 8px; }
  .nav-cta .nav-phone { font-size: 13px; }
  .plans { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-kpis { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { justify-content: flex-start; }
  .chip-a { top: -18px; }
  .chip-b { left: auto; right: 8px; bottom: -14px; }
  .chat-body { height: 300px; }
  .ind-list { grid-template-columns: 1fr; }
}

/* ---------- партнёрам ---------- */

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sheet-body {
  padding: 8px 16px 18px;
  background: linear-gradient(180deg, var(--card), var(--paper));
}
.sheet-row {
  display: grid;
  grid-template-columns: 1.4fr .9fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.sheet-row span { color: var(--ink); font-weight: 600; }
.sheet-row i {
  font-style: normal;
  color: var(--ink-mute);
  font-size: 12.5px;
}
.sheet-row b {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 15px;
  color: var(--teal);
  text-align: right;
}
.sheet-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(13, 95, 85, .08);
  font-size: 13px;
  color: var(--ink-soft);
}
.sheet-total b {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 22px;
  color: var(--ember);
}

.p-table-wrap { overflow-x: auto; margin-top: 8px; }
.p-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.p-table th,
.p-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
.p-table th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.p-table td:last-child,
.p-table th:last-child { text-align: right; }
.p-table tbody tr:last-child td { border-bottom: 0; }
.p-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 62ch;
}
.form .p-note { margin-top: 0; margin-bottom: 12px; }

.income-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: 8px;
}
.income-card {
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line-soft);
}
.income-card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.income-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.income-card strong {
  display: block;
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 34px);
  color: var(--ember);
  letter-spacing: -.02em;
  margin-top: 10px;
}
.income-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.who-item {
  padding: clamp(18px, 2vw, 26px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 248, .55);
}
.who-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.who-item p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.5; }
img.who-ico {
  width: 88px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  margin-bottom: 12px;
}

.cta-intro { max-width: 640px; margin-bottom: clamp(28px, 4vw, 40px); }
.form-wide { max-width: 880px; }
.form-block {
  margin-bottom: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.form-block:last-of-type { border-bottom: 0; }
.block-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.check-grid label,
.radio-row label {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 0;
}
.check-grid input,
.radio-row input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--teal);
  padding: 0;
  border: 0;
  box-shadow: none;
}
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 16px;
}

@media (max-width: 1023px) {
  .income-grid,
  .income-grid-3,
  .who-grid { grid-template-columns: 1fr 1fr; }
  .sheet-row { grid-template-columns: 1fr auto; }
  .sheet-row i { display: none; }
}
@media (max-width: 620px) {
  .income-grid,
  .income-grid-3,
  .who-grid,
  .check-grid { grid-template-columns: 1fr; }
}
