@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  /* === Brand lockup (docs/BRAND_IDENTITY.md) — HEX locked === */
  --brand-autopilot: #12b89a;
  --brand-gso-on-dark: #ffffff;
  --brand-gso-on-light: #07131a;
  --brand-gold: #e8c27a;
  --brand-slogan-on-dark: #ffffff;
  --brand-slogan-on-light: #5b6d78;
  --brand-ink: #07131a;

  --ink: #07131a;
  --ink-soft: #102532;
  --foam: #f3f6f4;
  --mist: #dce8e3;
  --teal: #12b89a; /* = --brand-autopilot */
  --teal-deep: #0a7f6a; /* links/hover only — not logo Autopilot */
  --sand: #e8c27a; /* = --brand-gold */
  --danger: #e35d6a;
  --text: #12202a;
  --muted: #5b6d78;
  --white: #ffffff;
  --radius: 18px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(7, 19, 26, 0.18);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  /* под футером не «белая полоса» — фон как у footer */
  background: var(--ink);
  overflow-x: hidden;
  overflow-y: auto;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--foam);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* padding под чат/cookie — внутри footer, не под ним */
  padding-bottom: 0;
}
body > .site-footer {
  margin-top: auto;
}

a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: calc(12px + var(--safe-top)) calc(6vw + var(--safe-right)) 12px calc(6vw + var(--safe-left));
  background: rgba(243, 246, 244, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(7, 19, 26, 0.06);
}
.nav-brand-block { min-width: 0; }
.brand-mark,
.nav-brand,
.brand-mark-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: inline-block;
  line-height: 1.1;
}
.brand-mark-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  border-radius: 10px;
  transition: transform .2s ease, opacity .2s ease;
}
.brand-mark-link:hover,
.brand-mark-link:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
  opacity: .92;
}
.brand-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}
.brand-logo--compact {
  width: clamp(168px, 18vw, 220px);
}
.brand-logo--lockup {
  width: 100%;
  max-width: 680px;
}
.brand-lockup .brand-mark-link {
  display: block;
  width: min(100%, 680px);
  max-width: 100%;
}
.site-footer .brand-logo--compact {
  width: min(100%, 240px);
}
.site-footer .brand-mark-link {
  display: block;
  width: fit-content;
  max-width: 100%;
}
.login-card .brand-logo--compact {
  width: min(100%, 250px);
}
.brand-gso { color: var(--brand-gso-on-light); }
.brand-auto { color: var(--brand-autopilot); }
.brand-mark--dark .brand-gso,
.brand-lockup--dark .brand-gso,
.site-footer .brand-gso,
.hero-portal .brand-gso { color: var(--brand-gso-on-dark); }
.brand-mark--dark .brand-auto,
.brand-lockup--dark .brand-auto,
.site-footer .brand-auto,
.hero-portal .brand-auto { color: var(--brand-autopilot); }
.nav-brand { color: var(--brand-gso-on-light); }
.nav-brand .brand-auto,
.nav-brand span { color: var(--brand-autopilot); }
.brand-lockup { margin: 0; }
.brand-lockup .brand-mark-line,
.brand-lockup .brand-mark-link {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.brand-product {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-gold);
}
.brand-lockup .brand-slogan,
.brand-slogan {
  margin: 4px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-lockup--dark .brand-slogan { color: var(--brand-slogan-on-dark); }
.brand-lockup--light .brand-slogan { color: var(--brand-slogan-on-light); }
.nav-slogan {
  margin: 2px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-slogan-on-light);
  letter-spacing: 0.01em;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-cta {
  background: var(--ink);
  color: var(--foam) !important;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-cta:hover { text-decoration: none; opacity: 0.92; }
.nav-toggle {
  display: none;
  border: 1px solid rgba(7,19,26,.15);
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}
.nav-mobile-only { display: none; }
@media (min-width: 861px) {
  .site-nav {
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .nav-brand-block { grid-column: 1; }
  .nav-links {
    grid-column: 2;
    justify-content: flex-end;
    margin-right: 8px;
  }
  .nav-end { grid-column: 3; margin-left: 0; }
}
@media (min-width: 861px) and (max-width: 1320px) {
  .nav-tg-top { display: none; }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .brand-logo--compact { width: 142px; }
  .nav-links { gap: 7px; }
  .nav-links a,
  .nav-mega-btn { font-size: 0.76rem; }
  .nav-cta { padding: 8px 10px; }
  .nav-end { gap: 6px; }
}
@media (max-width: 860px) {
  .site-nav {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px 10px;
  }
  .nav-brand-block { grid-column: 1; }
  .nav-end { grid-column: 2; margin-left: 0; }
  .nav-toggle { grid-column: 3; display: inline-flex; }
  .nav-links { grid-column: 1 / -1; }
  .brand-logo--compact { width: clamp(148px, 42vw, 190px); }
  .nav-slogan { display: none; }
  .nav-cta-always { display: none; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 8px;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-cta { text-align: center; }
  .nav-mobile-only {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(7,19,26,.1);
  }
  .hero,
  .hero-portal { padding: 28px 5vw 36px; min-height: auto; }
  .hero-portal .hero-inner { padding: 8px 0 24px; }
  .hero h1 { max-width: none; }
  .hero-lead { max-width: none; }
  .hero-check { margin: 16px 0 10px; }
  .hero-check .btn { width: 100%; }
  .section { padding: 52px 5vw; }
  .section h2 { max-width: none; }
  .cta-row .btn { width: 100%; }
  .compare { grid-template-columns: 1fr; }
  .page-hero { padding: 64px 5vw 28px; }
  .page-hero h1 { max-width: none; }
  .login-card { padding: 28px 20px; }
  .pricing-grid,
  .hub-grid,
  .catalog-grid { padding-bottom: 72px; }
}

/* —— Hero: one composition, brand first, full-bleed —— */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 12vh 6vw 8vh;
  color: var(--foam);
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(18, 184, 154, 0.35), transparent 55%),
    radial-gradient(700px 420px at 10% 80%, rgba(232, 194, 122, 0.22), transparent 50%),
    linear-gradient(160deg, #07131a 0%, #0d2a2e 45%, #123a40 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243,246,244,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,246,244,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 20%, transparent 70%);
  pointer-events: none;
  animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-56px, -28px, 0); }
}
/* Радар — слой фона hero (как бывший hero-signal), тексты поверх на полной ширине */
.hero-radar {
  position: absolute;
  right: -6%;
  top: 8%;
  width: min(58vw, 640px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}
.radar-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(18, 184, 154, 0.16) 0%, rgba(7, 19, 26, 0.12) 45%, transparent 70%);
  box-shadow:
    0 0 0 1px rgba(18, 184, 154, 0.28),
    0 0 50px rgba(18, 184, 154, 0.14),
    inset 0 0 70px rgba(18, 184, 154, 0.06);
  overflow: hidden;
}
.radar-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(18, 184, 154, 0.28);
}
.radar-ring:nth-child(1) { inset: 6%; border-color: rgba(18, 184, 154, 0.55); box-shadow: 0 0 18px rgba(18, 184, 154, 0.25); }
.radar-ring:nth-child(2) { inset: 22%; }
.radar-ring:nth-child(3) { inset: 38%; }
.radar-ring:nth-child(4) { inset: 54%; opacity: 0.7; }
.radar-cross::before,
.radar-cross::after {
  content: "";
  position: absolute;
  background: rgba(18, 184, 154, 0.22);
}
.radar-cross::before {
  left: 50%;
  top: 6%;
  bottom: 6%;
  width: 1px;
  transform: translateX(-50%);
}
.radar-cross::after {
  top: 50%;
  left: 6%;
  right: 6%;
  height: 1px;
  transform: translateY(-50%);
}
.radar-sweep {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(18, 184, 154, 0) 0deg,
    rgba(18, 184, 154, 0.05) 40deg,
    rgba(18, 184, 154, 0.45) 78deg,
    rgba(61, 214, 198, 0.85) 90deg,
    rgba(18, 184, 154, 0) 92deg
  );
  animation: radarSweep 9.5s linear infinite;
  transform-origin: 50% 50%;
  mix-blend-mode: screen;
}
.radar-dot-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #3dd6c6;
  box-shadow: 0 0 12px #12b89a;
}
.radar-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dd6c6;
  box-shadow: 0 0 10px #12b89a, 0 0 2px #fff;
  animation: blipPulse 2.4s ease-in-out infinite;
}
.radar-blip:nth-of-type(1) { left: 68%; top: 28%; animation-delay: 0s; }
.radar-blip:nth-of-type(2) { left: 30%; top: 36%; animation-delay: 0.4s; }
.radar-blip:nth-of-type(3) { left: 58%; top: 62%; animation-delay: 0.8s; }
.radar-blip:nth-of-type(4) { left: 24%; top: 68%; animation-delay: 1.1s; }
.radar-blip:nth-of-type(5) { left: 74%; top: 48%; animation-delay: 1.5s; }
@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes blipPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1.15); }
  70% { opacity: 0.7; }
}
@media (max-width: 900px) {
  .hero-radar {
    right: -18%;
    top: 18%;
    width: min(90vw, 480px);
    opacity: 0.45;
  }
}
@media (max-width: 520px) {
  .brand-logo--compact { width: min(148px, 46vw); }
  .nav-toggle { padding: 7px 10px; min-height: 44px; }
  .lang-btn { min-width: 36px; }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-brand,
.hero-lockup .brand-mark-line,
.hero-lockup .brand-mark-link {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
}
.hero-brand .brand-gso,
.hero-brand > .brand-gso { color: var(--brand-gso-on-dark); }
.hero-brand .brand-auto,
.hero-brand span { color: var(--brand-autopilot); }
.hero-lockup { margin: 0 0 22px; }
.hero-lockup .brand-product {
  margin-top: 10px;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  text-transform: none;
  letter-spacing: 0.03em;
}
.hero-lockup .brand-slogan {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-slogan-on-dark);
}
.hero-slogan {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-slogan-on-dark);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 18ch;
  line-height: 1.15;
}
.hero-lead {
  margin: 0 0 28px;
  font-size: 1.12rem;
  color: rgba(243,246,244,0.82);
  max-width: 36ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.18s ease, opacity 0.18s ease;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), #0e9f86);
  color: #04241e;
}
.btn-ghost {
  background: transparent;
  color: var(--foam);
  border: 1px solid rgba(243,246,244,0.35);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(7,19,26,0.2);
}
.section-ink .btn-ghost-dark {
  color: var(--foam);
  border-color: rgba(243,246,244,0.35);
}
.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.section {
  padding: 72px calc(6vw + var(--safe-right)) 72px calc(6vw + var(--safe-left));
}
.section-ink {
  background: var(--ink);
  color: var(--foam);
}
.section-ink .muted { color: rgba(243,246,244,0.68); }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  max-width: 18ch;
  line-height: 1.1;
}
.section .lede {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.08rem;
}
.section-ink .lede { color: rgba(243,246,244,0.72); }

.faq-list {
  max-width: 720px;
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1px solid rgba(7, 19, 26, 0.12);
  border-radius: 14px;
  background: var(--white);
  padding: 4px 16px 8px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--brand-autopilot);
  font-weight: 800;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 62ch;
}
/* FAQ на тёмной секции — светлый текст */
.section-ink .faq-item {
  border-color: rgba(243,246,244,0.14);
  background: rgba(255,255,255,0.04);
}
.section-ink .faq-item summary { color: var(--foam); }
.section-ink .faq-item p { color: rgba(243,246,244,0.78); }
.final-cta {
  padding: 80px 6vw;
  text-align: left;
  background:
    radial-gradient(700px 360px at 85% 30%, rgba(18,184,154,0.28), transparent 55%),
    linear-gradient(160deg, #07131a 0%, #0d2a2e 100%);
  color: var(--foam);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  max-width: 16ch;
  line-height: 1.1;
}
.final-cta p {
  margin: 0 0 28px;
  max-width: 46ch;
  color: rgba(243,246,244,0.78);
  font-size: 1.08rem;
}
#showcase-teaser .cases-grid {
  margin-top: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.stat {
  padding: 8px 0 0;
  border-top: 2px solid var(--teal);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.stat span { color: var(--muted); font-size: 0.95rem; }
.section-ink .stat span { color: rgba(243,246,244,0.65); }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(7,19,26,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
@media (max-width: 800px) {
  .compare { grid-template-columns: 1fr; }
}
.compare-col { padding: 28px 26px; }
.compare-col.them { background: #eef2f1; }
.compare-col.us {
  background: linear-gradient(180deg, #0d2a2e, #07131a);
  color: var(--foam);
}
.compare-col h3 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  font-size: 1.35rem;
}
.compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.compare-col li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--muted);
}
.compare-col.us li { color: rgba(243,246,244,0.85); }
.compare-col li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--danger);
}
.compare-col.us li::before {
  content: "+";
  color: var(--teal);
}

.comp-table-wrap { overflow-x: auto; }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.comp-table th, .comp-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(7,19,26,0.06);
  vertical-align: top;
}
.comp-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--mist);
}
.comp-table td strong { color: var(--ink); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
.step-n {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.step h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.step p { margin: 0; color: var(--muted); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .pricing-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pricing-grid.cols-3 { grid-template-columns: 1fr; }
}
.price {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(7,19,26,0.08);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}
.price.featured {
  background: var(--ink);
  color: var(--foam);
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.price h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.3rem;
  color: inherit;
}
.price .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: inherit;
  line-height: 1.1;
}
.price .amount small {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.75;
  color: inherit;
}
.price .price-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.price.featured .price-note { color: rgba(243,246,244,0.72); }
.price .price-tag {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0a7a68;
}
.price.featured .price-tag { color: var(--teal); }
.price ul {
  margin: 8px 0 16px;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}
.price.featured ul { color: rgba(243,246,244,0.78); }
.price .btn { width: 100%; margin-top: auto; }
.price.featured .btn-primary {
  background: var(--sand);
  color: var(--ink);
}

.guarantee {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 800px) {
  .guarantee { grid-template-columns: 1fr; }
}
.guarantee-badge {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--teal);
}
.guarantee-badge.ink { color: var(--teal); }

.objections {
  display: grid;
  gap: 14px;
}
.objection {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(7,19,26,0.08);
}
@media (max-width: 700px) {
  .objection { grid-template-columns: 1fr; }
}
.objection strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.page-hero {
  padding: calc(80px + var(--safe-top)) calc(6vw + var(--safe-right)) 40px calc(6vw + var(--safe-left));
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(18,184,154,0.18), transparent 60%),
    var(--foam);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  max-width: 22ch;
  line-height: 1.05;
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.1rem;
}
.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px 40px;
  align-items: start;
  width: 100%;
  max-width: none;
}
@media (max-width: 900px) {
  .page-split { grid-template-columns: 1fr; }
}
.page-aside {
  border: 1px solid rgba(7,19,26,0.08);
  border-radius: 18px;
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(18,184,154,0.08), transparent 45%),
    #fff;
  box-shadow: 0 12px 40px rgba(7,19,26,0.04);
}
.page-aside h3 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  font-size: 1.25rem;
}
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pain-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(7,19,26,0.03);
  border-left: 3px solid var(--brand-autopilot);
  font-size: 0.95rem;
}
.pain-list li strong { display: block; margin-bottom: 4px; }
.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.mini-table th, .mini-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(7,19,26,0.08);
}
.mini-table th { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.loop-viz {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 600px) { .loop-viz { grid-template-columns: 1fr; } }
.loop-step {
  border-radius: 14px;
  padding: 14px;
  background: #07131a;
  color: #f3f6f4;
  min-height: 110px;
}
.loop-step b { display: block; color: #12b89a; margin-bottom: 6px; font-size: 0.8rem; letter-spacing: 0.06em; }
.section h2 { max-width: 28ch; }

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(18,184,154,0.2), transparent 55%),
    linear-gradient(180deg, #07131a, #123a40);
}
.login-card {
  width: min(420px, 100%);
  background: rgba(243,246,244,0.96);
  border-radius: 22px;
  padding: 36px 30px;
  box-shadow: var(--shadow);
}
.login-card h1 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.8rem;
}
.login-card p { color: var(--muted); margin: 0 0 22px; }
.login-card label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.login-card input {
  width: 100%;
  border: 1px solid rgba(7,19,26,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: var(--white);
}
.login-card .btn { width: 100%; margin-top: 16px; }
.login-error {
  background: rgba(227,93,106,0.12);
  color: #a12633;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}
.login-back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  background: var(--ink);
  color: rgba(243,246,244,0.78);
  padding: 48px 6vw calc(28px + var(--safe-bottom) + 64px);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.07), transparent 88px),
    radial-gradient(ellipse at 12% 0%, rgba(18,184,154,.18), transparent 42%);
  width: 100%;
  /* ink тянется ниже футера — без «белой полосы» foam */
  box-shadow: 0 100vh 0 100vh var(--ink);
}
.section-ink + .site-footer {
  /* без щели foam между ink-секцией и футером */
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
  max-width: 1120px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h3 {
  font-family: var(--font-display);
  color: var(--foam);
  margin: 0 0 12px;
  font-size: 1rem;
}
/* только колонки ссылок — иначе · и mailto ломаются в block */
.site-footer .footer-links-col a {
  display: block;
  color: rgba(243,246,244,0.72);
  margin-bottom: 8px;
  text-decoration: none;
}
.site-footer .footer-links-col a:hover {
  color: var(--brand-autopilot);
  text-decoration: none;
}
.site-footer .nav-brand,
.site-footer .brand-mark { margin-bottom: 6px; }
.site-footer .brand-product {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: var(--brand-gold);
}
.site-footer .footer-slogan,
.site-footer .brand-slogan {
  color: var(--brand-slogan-on-dark);
  margin: 0 0 10px;
}
.footer-tag { margin: 0 0 14px; max-width: 36ch; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(243,246,244,0.1);
  padding-top: 18px;
  max-width: 1120px;
}
.footer-copy {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(243,246,244,0.72);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.footer-copy a {
  display: inline;
  color: var(--brand-autopilot);
  text-decoration: none;
}
.footer-copy a:hover { text-decoration: underline; }
.footer-sep {
  display: inline !important;
  opacity: 0.45;
  flex: 0 0 auto;
}
.footer-tags {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: rgba(243,246,244,0.45);
  letter-spacing: 0.02em;
}
.brand-inline {
  display: inline;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-inline .brand-gso { color: var(--brand-gso-on-light); }
.brand-inline .brand-auto { color: var(--brand-autopilot); }
/* на тёмном фоне: GSO белый, Autopilot зелёный */
.section-ink .brand-inline .brand-gso,
.compare-col.us .brand-inline .brand-gso,
.site-footer .brand-inline .brand-gso,
.footer-copy .brand-inline .brand-gso,
.final-cta .brand-inline .brand-gso,
.hero-portal .brand-inline .brand-gso,
.brand-lockup--dark .brand-inline .brand-gso {
  color: var(--brand-gso-on-dark);
}
.section-ink .brand-inline .brand-auto,
.compare-col.us .brand-inline .brand-auto,
.site-footer .brand-inline .brand-auto,
.footer-copy .brand-inline .brand-auto,
.final-cta .brand-inline .brand-auto {
  color: var(--brand-autopilot);
}

.arch {
  display: grid;
  gap: 14px;
}
.arch-level {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border-left: 4px solid var(--brand-autopilot);
  color: var(--text);
}
.arch-level h3 {
  font-family: var(--font-display);
  margin: 0 0 10px;
  line-height: 1.25;
  color: var(--ink);
}
.arch-level p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
/* белые карточки внутри тёмной секции — не наследовать foam */
.section-ink .arch-level,
.section-ink .case-card {
  color: var(--text);
}
.section-ink .arch-level h3,
.section-ink .case-card h3,
.section-ink .case-top h3 {
  color: var(--ink);
}
.section-ink .case-note {
  color: var(--muted);
}
.section-ink .case-metrics span {
  color: var(--muted);
}
.section-ink .case-metrics b {
  color: var(--ink);
}
.section-ink .case-metrics b.mid { color: #8a6418; }
.section-ink .case-metrics b.good { color: #0a7a68; }
.section-ink .case-metrics b.muted-b { color: #5b6d78; }

.fade-up {
  animation: fadeUp 0.7s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Витрина кейсов */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
@media (max-width: 980px) {
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cases-grid { grid-template-columns: 1fr; }
}
.case-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 12px;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(7,19,26,0.08);
  box-shadow: 0 10px 30px rgba(7,19,26,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(7,19,26,0.08);
}
.case-card.featured-case {
  border-color: rgba(18,184,154,0.45);
  background: linear-gradient(180deg, rgba(18,184,154,0.08), var(--white) 40%);
}
.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-width: 0;
  gap: 10px;
}
.case-top h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.case-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(7,19,26,0.06);
  color: var(--muted);
  white-space: nowrap;
}
.case-badge.hot {
  background: rgba(18,184,154,0.15);
  color: #0a7a68;
}
.case-badge.warn {
  background: rgba(232,194,122,0.25);
  color: #8a6418;
}
.case-url {
  color: var(--teal);
  font-weight: 650;
  text-decoration: none;
  font-size: 0.95rem;
}
.case-url:hover { text-decoration: underline; }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.case-metrics div {
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--foam);
  text-align: center;
}
.case-metrics span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.case-metrics b {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.case-metrics b.good { color: #0a7a68; }
.case-metrics b.mid { color: #b07a12; }
.case-metrics b.muted-b { color: var(--muted); font-size: 1rem; }
.case-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1;
}
.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.check-hint {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(18,184,154,0.08);
  border: 1px solid rgba(18,184,154,0.2);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 70ch;
}
.section-ink .check-hint {
  color: rgba(243, 246, 244, 0.88);
  background: rgba(18, 184, 154, 0.12);
  border-color: rgba(18, 184, 154, 0.35);
}

/* Превью кабинета */
.product-preview-section { padding-top: 40px; }
.product-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7,19,26,0.1);
  background: #0f1419;
  color: #e8eef6;
}
.product-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #1a222d;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  min-height: 42px;
}
.product-chrome[data-os="mac"] { justify-content: flex-start; }
.product-chrome[data-os="win"] { justify-content: space-between; }
.chrome-mac {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.chrome-mac i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.chrome-mac i:nth-child(1) { background: #ff6b7a; }
.chrome-mac i:nth-child(2) { background: #ffc857; }
.chrome-mac i:nth-child(3) { background: #5dde8a; }
.chrome-win {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-shrink: 0;
}
.chrome-win button {
  width: 36px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #c9d4de;
  font-size: 0.85rem;
  line-height: 1;
  cursor: default;
  border-radius: 4px;
}
.chrome-win button.close:hover { background: #e35d6a; color: #fff; }
.product-chrome[data-os="mac"] .chrome-mac { display: inline-flex; }
.product-chrome[data-os="win"] .chrome-win { display: inline-flex; }
.product-chrome[data-os="mac"] .chrome-win { display: none; }
.product-chrome[data-os="win"] .chrome-mac { display: none; }
.chrome-title {
  font-size: 0.85rem;
  color: #8b9bb0;
  flex: 1;
  text-align: center;
  margin: 0 8px;
}
.product-chrome[data-os="mac"] .chrome-title { text-align: left; margin-left: 12px; }
.product-chrome[data-os="win"] .chrome-title { text-align: left; order: -1; margin-left: 4px; }
.product-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 420px;
}
@media (max-width: 800px) {
  .product-body { grid-template-columns: 1fr; }
  .product-side { display: none; }
}
.product-side {
  padding: 16px 12px;
  background: #121a24;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.side-item {
  padding: 10px 12px;
  border-radius: 10px;
  color: #8b9bb0;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.side-item.active {
  background: rgba(18,184,154,0.15);
  color: #12b89a;
}
.product-main { padding: 18px 20px 24px; }
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.product-filters span {
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  color: #c9d4de;
  background: rgba(255,255,255,0.03);
}
.product-filters .pill-hot {
  border-color: rgba(18,184,154,0.4);
  color: #12b89a;
  background: rgba(18,184,154,0.1);
}
.product-trend {
  margin: 0 0 14px;
  color: #8b9bb0;
  font-size: 0.95rem;
}
.product-trend strong { color: #5dde8a; }
.product-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
@media (max-width: 700px) {
  .product-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.product-kpis div {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
}
.product-kpis b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.product-kpis span { color: #8b9bb0; font-size: 0.78rem; }
.product-chart {
  height: 240px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 14px;
  background: rgba(0,0,0,0.2);
}
.product-table-wrap { overflow-x: auto; }
.product-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.9rem;
}
.product-table-wrap th,
.product-table-wrap td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.product-table-wrap th { color: #8b9bb0; font-size: 0.75rem; text-transform: uppercase; }
.product-table-wrap .ok { color: #5dde8a; font-weight: 650; }

.plain-list {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text);
}
.section-ink .plain-list {
  color: rgba(243, 246, 244, 0.9);
}
.plain-list a { color: var(--teal-deep); }
.section-ink .plain-list a { color: #5dde8a; }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tag-cloud span {
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: #9eb0c2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  border-radius: 999px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(7, 19, 26, 0.14);
  border-radius: 999px;
  padding: 2px;
  background: var(--white);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
}
.lang-btn.is-active {
  background: var(--ink);
  color: var(--foam);
}
.footer-slogan {
  margin: 6px 0 10px;
  font-weight: 700;
  color: rgba(243, 246, 244, 0.85);
  font-size: 0.95rem;
}

.channels-group-title {
  margin: 28px 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) {
  .channels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .channels-grid { grid-template-columns: 1fr; }
}
.channel-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(18, 32, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}
.section-ink .channel-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.channel-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  flex: 0 0 32px;
}
.channel-card h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}
.channel-card p {
  margin: 0;
  font-size: 0.82rem;
  color: #5b6d78;
  line-height: 1.35;
}
.section-ink .channel-card p { color: #9eb0c2; }
.channel-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.channel-badge.soon {
  color: #6b5b00;
  background: rgba(255, 196, 0, 0.18);
}
.channel-badge.work {
  color: #0a5c4a;
  background: rgba(61, 202, 164, 0.18);
}
.section-ink .channel-badge.soon {
  color: #ffe08a;
  background: rgba(255, 196, 0, 0.12);
}
.section-ink .channel-badge.work {
  color: #9cf0d4;
  background: rgba(61, 202, 164, 0.14);
}
.footer-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.footer-channel-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(243,246,244,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--foam) !important;
  text-decoration: none !important;
  font-weight: 650;
  font-size: 0.9rem;
  margin: 0 !important;
}
.footer-channel-link:hover {
  border-color: rgba(18,184,154,0.45);
  color: var(--brand-autopilot) !important;
}
.footer-channel-link img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}
.footer-channels-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #12b89a, #e8c27a);
  color: #07131a;
  font-size: 0.85rem;
  font-weight: 800;
}
.footer-channel-link.is-live {
  border-color: rgba(18,184,154,0.35);
}

/* —— B2B portal wave W —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.hero-portal {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(155deg, #07131a 0%, #0d2430 45%, #122a28 100%);
  color: #f3f6f4;
}
.hero-portal .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: calc(72px + var(--safe-top)) calc(6vw + var(--safe-right)) 56px calc(6vw + var(--safe-left));
}
.hero-portal .hero-brand { color: var(--brand-gso-on-dark); }
.hero-portal .hero-brand span,
.hero-portal .hero-brand .brand-auto { color: var(--brand-autopilot); }
.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-gold);
}
.hero-portal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: #fff;
}
.hero-portal .hero-lead {
  color: #c5d4dc;
  font-size: 1.08rem;
  max-width: 38rem;
}
.hero-growth {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}
.hero-growth canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-check {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 14px;
}
.hero-check input {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(7,19,26,0.45);
  color: #fff;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
}
.hero-check input::placeholder { color: #8aa0ad; }
.hero-cta-secondary { margin-top: 4px; }
.partners-strip { padding-top: 28px; padding-bottom: 12px; }
.partners-kicker {
  margin: 0 0 14px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}
.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(7,19,26,0.08);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.partner-chip:hover { border-color: var(--teal); text-decoration: none; }
.partner-chip img { border-radius: 6px; }
.partners-note { text-align: center; margin: 16px 0 0; font-size: 0.92rem; }
.trust-gold .stats-gold .stat b,
.stats-gold .stat b {
  color: var(--sand);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}
.arch-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.quotes-carousel { position: relative; min-height: 180px; }
.quote-card {
  display: none;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(7,19,26,0.08);
  box-shadow: var(--shadow);
}
.quote-card.is-active { display: block; animation: fadeQuote 0.45s ease; }
@keyframes fadeQuote {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.quote-badge {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b5b00;
  background: rgba(232, 194, 122, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
}
.quote-text {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink);
}
.quote-meta { margin: 0; color: var(--muted); font-size: 0.88rem; }
.case-favicon {
  vertical-align: -3px;
  margin-right: 4px;
  border-radius: 4px;
}
.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.filter-chip {
  border: 1px solid rgba(7,19,26,0.12);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-soft);
}
.filter-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.case-card[hidden] { display: none !important; }
.sandbox-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin-bottom: 20px;
}
.sandbox-form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink-soft); }
.sandbox-form input,
.sandbox-form textarea {
  border: 1px solid rgba(7,19,26,0.14);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.sandbox-status { font-weight: 600; color: var(--teal-deep); }
.sandbox-chart-wrap {
  margin: 28px 0;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.sandbox-chart-wrap h3 { margin: 0 0 12px; font-family: var(--font-display); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-aside {
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(7,19,26,0.08);
}
.blog-list { display: grid; gap: 18px; }
.blog-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(7,19,26,0.08);
}
.blog-card.is-soon { opacity: 0.72; }
.blog-tag {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.blog-card h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.35rem; }
.blog-article { max-width: 760px; }
.blog-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
}
.gso-chat {
  position: fixed;
  right: calc(16px + var(--safe-right));
  /* запас под home-indicator / систем gesture bar */
  bottom: calc(20px + max(var(--safe-bottom), 12px));
  z-index: 45;
}
.cookie-banner {
  position: fixed;
  left: calc(12px + var(--safe-left));
  right: calc(12px + var(--safe-right));
  /* выше чата и системной полосы */
  bottom: calc(88px + max(var(--safe-bottom), 12px));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(7, 19, 26, 0.96);
  color: #f3f6f4;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .cookie-banner {
    right: calc(86px + var(--safe-right));
    max-width: none;
  }
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #d5e0e6;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-banner a { color: var(--sand); }
.footer-tags {
  margin: 8px 6vw 0;
  padding-bottom: calc(18px + var(--safe-bottom));
  font-size: 0.78rem;
  color: #7a8d99;
  letter-spacing: 0.02em;
  word-break: break-word;
}
.site-footer {
  padding-bottom: calc(96px + var(--safe-bottom));
}
.lang-block[hidden] { display: none !important; }
.blog-article p { overflow-wrap: anywhere; }
.nav-links.open {
  max-height: min(70vh, 520px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.gso-chat[hidden] { display: none !important; }
.gso-chat-launcher {
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  background: var(--teal);
  color: #07131a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  max-width: calc(100vw - 32px - var(--safe-right) - var(--safe-left));
}
@media (max-width: 1100px) {
  .gso-chat-launcher {
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 0;
    line-height: 0;
  }
  .gso-chat-launcher::after {
    content: "AI";
    font-size: 0.82rem;
    line-height: 48px;
    font-weight: 800;
  }
}
@media (max-width: 720px) {
  .gso-chat-launcher {
    padding: 0;
    font-size: 0;
  }
  .blog-list,
  .section,
  .cta-row {
    padding-bottom: 8px;
  }
  .blog-card {
    margin-right: 0;
  }
}
.gso-chat-panel {
  width: min(360px, calc(100vw - 28px));
  margin-bottom: 10px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(7,19,26,0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.gso-chat-panel[hidden] { display: none !important; }
.gso-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--ink);
  color: #fff;
}
.gso-chat-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.gso-chat-body {
  padding: 14px;
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 10px;
  background: var(--foam);
}
.gso-chat-bubble {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid rgba(7,19,26,0.06);
}
.gso-chat-bubble.bot { border-left: 3px solid var(--teal); }
.gso-chat-bubble.user { background: rgba(18,184,154,0.12); }
.gso-chat-form {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(7,19,26,0.08);
}
.gso-chat-form input {
  border: 1px solid rgba(7,19,26,0.14);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

/* === IA rebuild 2026-09-04: mega-menu, breadcrumbs, hub, 404 === */
.nav-mega { position: relative; }
@media (min-width: 861px) {
  .nav-mega::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
  }
}
.nav-mega-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
  cursor: pointer;
}
.nav-mega-btn:hover { color: var(--teal-deep); }
.nav-mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  max-width: min(320px, calc(100vw - 24px));
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(7, 19, 26, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 50;
  overflow-wrap: anywhere;
}
.nav-mega-panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink-soft);
}
.nav-mega-panel a:hover {
  background: rgba(18, 184, 154, 0.08);
  text-decoration: none;
  color: var(--teal-deep);
}
@media (min-width: 861px) {
  .nav-mega:hover > .nav-mega-panel { display: block; }
  .nav-mega:hover > .nav-mega-panel { z-index: 60; }
}
@media (max-width: 860px) {
  .nav-mega-btn {
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }
  .nav-mega-panel {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    background: transparent;
  }
  .nav-mega.is-open .nav-mega-panel { display: block; }
}

.breadcrumbs {
  padding: 14px 6vw 0;
  max-width: 1120px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumbs li:not(:last-child)::after {
  content: "→";
  margin-left: 10px;
  opacity: 0.45;
}
.breadcrumbs a { color: var(--teal-deep); }

.hub-grid,
.catalog-grid,
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.hub-card,
.catalog-card,
.help-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(7, 19, 26, 0.08);
  border-radius: var(--radius);
  padding: 22px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(7, 19, 26, 0.06);
}
.hub-card:hover,
.catalog-card:hover,
.help-card:hover {
  text-decoration: none;
  border-color: rgba(18, 184, 154, 0.45);
}
.hub-card h3,
.catalog-card h3,
.help-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
}
.hub-card p,
.catalog-card p,
.help-card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.article-body,
.page-main,
.hero p,
.hero h1 { overflow-wrap: anywhere; }
.price-chip {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--teal-deep);
}

.footer-grid-4 {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  max-width: 1200px;
}
@media (max-width: 980px) {
  .footer-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .footer-grid-4 { grid-template-columns: 1fr; }
}
.footer-subscribe {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08);
}
.footer-subscribe input {
  flex: 1 1 160px;
  min-width: 0;
  border: 1px solid rgba(243, 246, 244, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--foam);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
.footer-subscribe .btn { color: var(--foam); }

.page-404 {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 6vw;
}
.page-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0 0 12px;
}
.article-body { max-width: 760px; }
.article-body h2 { margin-top: 1.6em; }
.related-list { display: grid; gap: 10px; }
.related-list a { font-weight: 600; }
.pay-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
}
.pay-table th,
.pay-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(7, 19, 26, 0.08);
}
.sandbox-share { margin-top: 16px; }
.print-report { max-width: 760px; margin: 0 auto; padding: 32px 24px; }
@media print {
  .site-nav, .site-footer, .breadcrumbs, .cta-row, .gso-chat, .cookie-bar,
  .sandbox-form, .page-aside, .lang-switch { display: none !important; }
  .sandbox-results { display: block !important; }
  body { background: #fff !important; color: #111 !important; }
}

/* Mobile/laptop: later hero rules must not restore 92vh or the CTA falls under the chat. */
@media (max-width: 860px) {
  .hero-portal {
    min-height: auto !important;
    align-items: flex-start;
  }
  .hero-portal .hero-inner {
    padding: 8px 0 88px !important;
  }
  .hero-portal h1 {
    font-size: 1.45rem;
    margin-bottom: 10px;
  }
  .hero-portal .hero-lead { font-size: 0.95rem; }
  .hero-lockup .brand-mark-line,
  .hero-portal .hero-brand,
  .hero-lockup .brand-mark-link {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }
  .site-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto;
  }
  .nav-brand-block { grid-column: 1; grid-row: 1; }
  .nav-end { grid-column: 2; grid-row: 1; align-self: center; }
  .nav-toggle { grid-column: 3; grid-row: 1; align-self: center; }
  .nav-links { grid-column: 1 / -1; }
  .hero-check { flex-direction: column; }
  .hero-check input {
    flex: 0 0 auto;
    width: 100%;
  }
  .hero-check .btn { width: 100%; }
  .portal-home .gso-chat { display: none; }
  body:not(.portal-home) .final-cta,
  body:not(.portal-home) .page-main {
    padding-bottom: 96px;
  }
}
