/* =====================================================
   Uplexity — стили (sunrise palette + Unbounded headings)
   ===================================================== */

:root {
  --bg: #050507;
  --bg-2: #0a0a0d;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ededf0;
  --text-2: #b9b9c2;
  --text-3: #6f6f7c;
  --muted: #8a8a96;

  /* Sunrise — единый акцент на сайте */
  --sun-1: #FFE5B4;     /* верх — почти белое золото */
  --sun-2: #FFC078;     /* mid — янтарь */
  --sun-3: #FF9A4D;     /* warm orange */
  --sun-4: #B45309;     /* deep amber */
  --sunrise-grad: linear-gradient(120deg, #FFE5B4 0%, #FFC078 35%, #FF9A4D 70%, #8b4513 100%);
  /* алиасы под старые имена, чтобы не править остальной CSS */
  --pink: var(--sun-3);
  --pink-2: var(--sun-2);
  --brand-grad: var(--sunrise-grad);

  --green: #2ecc71;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;

  --container: 1240px;
  --nav-h: 72px;
  --mx: 50%;
  --my: 50%;
  --glare-shift: 0px;
  --bend-x: 0px;
  --bend-y: 0px;
  --bend-x-neg: 0px;
  --bend-y-neg: 0px;
  --bend-x-wide: 0px;
  --bend-y-wide: 0px;
  --bend-x-soft-neg: 0px;
  --bend-y-soft-neg: 0px;
  --bend-x-mega-neg: 0px;
  --bend-y-mega-neg: 0px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.mono, .mono-sm { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -0.01em; }
.mono-sm { font-size: 12.5px; letter-spacing: 0.02em; }
.muted { color: var(--muted); }

/* Заголовки — Unbounded */
.section__title, .hero__title, h1, h2, h3 {
  font-family: "Unbounded", "Geist", sans-serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sun-text {
  background: var(--sunrise-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* ============ NAV (fixed, плавает над контентом) ============ */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1280px, calc(100% - 32px));
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 9px 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f4f1;
  background: rgba(8, 9, 12, 0.58);
  backdrop-filter: url("#nav-liquid-glass") blur(8px) saturate(1.25);
  -webkit-backdrop-filter: url("#nav-liquid-glass") blur(8px) saturate(1.25);
  box-shadow:
    rgba(255, 255, 255, 0.16) 0 0 2px 1px inset,
    rgba(255, 255, 255, 0.08) 0 0 10px 4px inset,
    rgba(0, 0, 0, 0.2) 0 8px 28px,
    rgba(0, 0, 0, 0.16) 0 16px 44px;
  overflow: visible;
  isolation: isolate;
}
.nav__glass {
  display: none;
}
.nav__logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 0 0;
  flex-shrink: 0;
  color: #fff;
}
.nav__logo svg { height: 24px; width: auto; display: block; }
.nav__logo svg g { fill: url(#logoOpacityGrad); opacity: 1; }
.nav__links {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 30px;
  margin-left: 4px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.nav__links a {
  padding: 0;
  border-radius: 0;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(245, 244, 241, 0.74);
  transition: color .15s ease, background .15s ease;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.is-active { color: #f7f7f5; background: transparent; }
.nav__cta { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.nav__cta .btn--primary { border-radius: 14px; }
.nav__cta .btn--ghost,
.nav__burger {
  position: relative;
  z-index: 2;
}
.nav__cta .btn--primary {
  position: relative;
  z-index: 0;
}
.nav.is-collapsed .nav__links { display: none; }
.nav.is-collapsed .nav__cta .btn--ghost { display: none; }
.nav.is-collapsed .nav__burger { display: inline-flex; }
.nav__burger { position: relative; z-index: 2; display: none; width: 40px; height: 40px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.07); }
.nav__burger span { display: block; width: 16px; height: 1.5px; background: var(--text); transition: transform .25s ease, opacity .25s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-mega {
  display: none;
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 49;
  width: min(640px, calc(100% - 32px));
  transform: translate(-50%, -8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-mega.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-mega__glass {
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 22px;
  color: #f5f4f1;
  background: rgba(8, 9, 12, 0.84);
  box-shadow:
    rgba(255, 255, 255, 0.08) 0 1px 0 inset,
    rgba(0, 0, 0, 0.28) 0 18px 46px;
  backdrop-filter: url("#nav-liquid-glass") blur(8px) saturate(1.25);
  -webkit-backdrop-filter: url("#nav-liquid-glass") blur(8px) saturate(1.25);
  overflow: hidden;
}
.nav-mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 12px;
  padding: 12px;
}
.nav-mega__list {
  display: grid;
  gap: 4px;
}
.nav-mega__link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 58px;
  padding: 10px;
  border-radius: 16px;
  color: rgba(245, 244, 241, 0.74);
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.nav-mega__link:hover,
.nav-mega__link:focus-visible {
  color: #f7f7f5;
  background: rgba(255, 255, 255, 0.075);
  outline: none;
  transform: translateY(-1px);
}
.nav-mega__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #1a0d05;
  background: var(--sunrise-grad);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.nav-mega__link strong {
  display: block;
  margin-bottom: 2px;
  color: inherit;
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.nav-mega__link span span {
  display: block;
  color: rgba(245, 244, 241, 0.58);
  font-size: 12.5px;
  line-height: 1.35;
}
.nav-mega__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}
.nav-mega__aside small {
  color: rgba(245, 244, 241, 0.56);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-transform: uppercase;
}
.nav-mega__preview {
  display: grid;
  gap: 8px;
}
.nav-mega__preview span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.nav-mega__preview span:nth-child(2) { width: 72%; }
.nav-mega__preview span:nth-child(3) { width: 46%; background: rgba(255, 154, 77, 0.34); }

@media (min-width: 721px) {
  .nav__cta .btn {
    border-radius: 14px;
  }
}

.mobile-menu {
  flex: 1 0 100%;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-top: 0 solid rgba(255, 255, 255, 0.07);
  border-radius: 0;
  color: #f5f4f1;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -6px, 0);
  transition:
    max-height .34s cubic-bezier(.22, .82, .24, 1),
    padding .34s cubic-bezier(.22, .82, .24, 1),
    transform .22s ease,
    opacity .18s ease,
    visibility .18s ease;
  will-change: max-height, transform, opacity;
}
.mobile-menu.is-open {
  max-height: 360px;
  padding: 4px 0 12px;
  border-top-width: 1px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.mobile-menu a {
  font-family: "Unbounded", "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(245, 244, 241, 0.78);
}
.mobile-menu a:first-child {
  border-top: 0;
}
.mobile-menu__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 2px;
}
.mobile-menu a.mobile-menu__telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  font-family: "Unbounded", "Geist", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text);
  background:
    radial-gradient(58px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, var(--spot-alpha, 0)), rgba(255, 255, 255, calc(var(--spot-alpha, 0) * .35)) 34%, transparent 68%),
    rgba(255,255,255,.03);
  transition: border-color .18s ease, --spot-alpha .18s ease, filter .18s ease;
}
.mobile-menu a.mobile-menu__telegram:hover,
.mobile-menu a.mobile-menu__telegram:focus-visible {
  border-color: var(--border-strong);
}
.mobile-menu a.mobile-menu__telegram svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.mobile-menu .btn { margin-top: 18px; align-self: flex-start; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .25s ease, color .18s ease, --spot-alpha .18s ease;
  white-space: nowrap;
  font-family: "Unbounded", "Geist", sans-serif;
  letter-spacing: -0.01em;
}
.btn--lg { padding: 14px 22px; font-size: 14.5px; }
.btn--primary {
  position: relative;
  color: #1a0d05;
  background-color: #ff9a4d;
  background-image: var(--sunrise-grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
  background-origin: border-box;
  background-clip: border-box;
  box-shadow: 0 8px 30px -8px rgba(255, 154, 77, .55);
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .25s ease, background-image .25s ease, color .2s ease, border-color .2s ease, transform .12s ease, box-shadow .25s ease;
}
.btn--primary:hover {
  filter: brightness(1.18) saturate(1.1);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px -10px rgba(255, 154, 77, .7);
}

/* ============ ORBIT (светящийся узел вокруг кнопки) ============ */
@property --btn-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --spot-alpha {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}
.btn--orbit {
  position: relative;
  isolation: isolate;
  z-index: 0;
}
.btn--orbit > span,
.btn--orbit > svg {
  position: relative;
  z-index: 2;
}
.btn--orbit::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--btn-angle),
    transparent 0deg,
    transparent 280deg,
    rgba(255, 230, 180, 0.95) 320deg,
    #fff 340deg,
    rgba(255, 230, 180, 0.95) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  animation: btn-orbit 3.6s linear infinite;
  z-index: -1;
}
.btn--orbit::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--btn-angle),
    transparent 0deg,
    transparent 290deg,
    rgba(255, 200, 130, 0.55) 330deg,
    rgba(255, 220, 170, 0.7) 350deg,
    rgba(255, 200, 130, 0.4) 360deg
  );
  filter: blur(10px);
  animation: btn-orbit 3.6s linear infinite;
  pointer-events: none;
  opacity: 0.85;
  z-index: -2;
}
.contact__submit .btn--orbit::after {
  inset: -18px;
  filter: blur(14px);
}
.contact__submit {
  position: relative;
  isolation: isolate;
  z-index: 1;
}
.contact__submit .btn--orbit {
  z-index: 0;
}
.contact__submit .mono-sm {
  position: relative;
  z-index: 2;
}
@keyframes btn-orbit {
  to { --btn-angle: 360deg; }
}
.btn--ghost {
  color: var(--text);
  --spot-x: 50%;
  --spot-y: 50%;
  --spot-alpha: 0;
  background:
    radial-gradient(64px circle at var(--spot-x) var(--spot-y), rgba(255, 255, 255, var(--spot-alpha)), rgba(255, 255, 255, calc(var(--spot-alpha) * .35)) 34%, transparent 68%),
    rgba(255,255,255,.04);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--border-strong);
}

/* ============ SECTION ============ */
.section { padding: 110px 0 30px; position: relative; }
.section--tight { padding-top: 60px; }
.section--cta-inline { padding: 28px 0; }
.section__head { max-width: 820px; margin-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.section__head--row { max-width: none; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section__head--row > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section__kicker { color: var(--muted); font-family: "JetBrains Mono", monospace; }
.section__title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  margin: 0;
  text-wrap: pretty;
}
.section__lede {
  font-size: 17px;
  color: var(--text-2);
  max-width: 720px;
  margin: 6px 0 0;
  text-wrap: pretty;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}
.hero__inner { position: relative; z-index: 4; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 26px;
  font-family: "JetBrains Mono", monospace;
}
.hero__eyebrow .dot--pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sun-3);
  box-shadow: 0 0 0 0 rgba(255, 154, 77, .6);
  animation: chat-pulse 2s ease-out infinite;
  display: inline-block;
}
.hero__eyebrow-sep { color: var(--text-3); }
.hero__eyebrow .mono { color: var(--text-3); }

.hero__title {
  /* меньше, чем раньше */
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-wrap: balance;
  font-weight: 500;
  color: var(--text);
}
/* ============ HERO SHINE (сияющий заголовок) ============ */
.hero__title-shine {
  background: linear-gradient(
    100deg,
    #6c6c78 0%,
    #6c6c78 18%,
    #b5b5be 38%,
    #ffffff 48%,
    #fff5e0 50%,
    #ffffff 52%,
    #b5b5be 62%,
    #6c6c78 82%,
    #6c6c78 100%
  );
  background-size: 900px 100%;
  background-repeat: repeat-x;
  background-position: 0 0;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hero-shine 5s linear infinite;
  filter: drop-shadow(0 0 22px rgba(255, 220, 170, 0.18));
}
/* плитка 900px, сдвиг ровно на одну плитку — концы цвета одинаковые (#6c6c78), seam незаметен */
@keyframes hero-shine {
  from { background-position: 0 0; }
  to   { background-position: -900px 0; }
}
@keyframes hero-shine-mobile {
  from { background-position: 0 0; }
  to   { background-position: -620px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title-shine { animation: none; background-position: 50% 0; }
}
.hero__title .muted { color: var(--text-3); font-weight: 400; }

.hero__sub {
  color: var(--text-2);
  font-size: 15px;
  max-width: 640px;
  margin: 0 0 34px;
  line-height: 1.7;
}
.hero__sub--main {
  font-size: 18px;
  max-width: 720px;
  line-height: 1.6;
}
.hero__title { max-width: 980px; }

.hero__actions { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }

.hero__ai {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__ai-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted);
}
.hero__ai-input {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  height: 58px;
  position: relative;
  overflow: hidden;
}
.hero__ai-input::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255,194,120,.45), rgba(255,255,255,.04) 35%, rgba(255,255,255,.04) 65%, rgba(255,154,77,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  opacity: .8;
}
.hero__ai-field {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  font-family: "Geist", sans-serif;
}
.hero__ai-field::placeholder { color: var(--text-2); opacity: 1; }
.hero__ai-caret {
  width: 1px;
  display: inline-block;
  color: var(--sun-3);
  animation: caret 1s steps(2) infinite;
  margin-left: -4px;
  font-weight: 300;
}
@keyframes caret { 50% { opacity: 0; } }
.hero__ai-send {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #0a0a0d;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 500; font-size: 14px;
  transition: transform .12s ease, background .15s ease;
  white-space: nowrap;
  border: 0; cursor: pointer;
}
.hero__ai-send--ub { font-family: "Unbounded", "Geist", sans-serif; font-size: 13px; letter-spacing: -0.01em; font-weight: 500; }
.hero__ai-send:hover { transform: translateY(-1px); background: #f1f1f3; }

.hero__trust {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: 56px;
  color: var(--text-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
}
.hero__trust .num { color: #fff; font-weight: 600; margin-right: 4px; }
.hero__trust .sep { width: 1px; height: 12px; background: var(--border-strong); }

/* ============ HERO XAI SHADER ============ */
.xai-glow {
  position: absolute;
  top: -25%;
  bottom: -25%;
  right: -96px;
  z-index: 2;
  display: flex;
  width: 100vw;
  flex-direction: column;
  overflow: hidden;
  pointer-events: none;
  filter: blur(8px);
  opacity: 0;
  transform: translateX(150px);
  animation: xai-glow-in 1s ease forwards;
  -webkit-mask-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  mask-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}
.xai-glow-part {
  flex: 1;
}
.xai-glow-part.top {
  background: conic-gradient(
    from 180deg at 99.78% 35% in lab,
    rgb(255, 255, 255) 18deg,
    rgb(255, 208, 134) 36deg,
    rgba(17, 17, 17, 0) 90deg,
    rgba(17, 17, 17, 0) 342deg,
    rgb(255, 255, 255) 360deg
  );
}
.xai-glow-part.bottom {
  background: conic-gradient(
    from 0deg at 99.78% 65% in lab,
    rgb(255, 255, 255) 0deg,
    rgba(17, 17, 17, 0) 18deg,
    rgba(17, 17, 17, 0) 270deg,
    rgb(255, 208, 134) 324deg,
    rgb(255, 255, 255) 342deg
  );
}
.stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@keyframes xai-glow-in {
  from {
    opacity: 0;
    transform: translateX(150px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (min-width: 768px) {
  .xai-glow {
    right: -24px;
    width: 1200px;
  }
}

/* ============ SUNRISE GLOW (x.ai-style) ============ */
.sunrise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.sunrise::before,
.sunrise::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
/* основной тёплый луч из правого верхнего угла */
.sunrise::before {
  right: -10%;
  top: -30%;
  width: 110%;
  height: 130%;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 229, 180, 0.45) 0%, rgba(255, 194, 120, 0.28) 20%, rgba(255, 154, 77, 0.12) 40%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 110% 20%, rgba(255, 200, 130, 0.35) 0%, transparent 55%);
  filter: blur(20px);
  animation: sunrise-breathe 9s ease-in-out infinite alternate;
}
/* мягкое второе свечение, медленное */
.sunrise::after {
  right: 5%;
  top: 0;
  width: 70%;
  height: 100%;
  background:
    radial-gradient(ellipse 40% 70% at 100% 0%, rgba(255, 210, 122, 0.35), transparent 60%);
  filter: blur(40px);
  animation: sunrise-breathe-2 13s ease-in-out infinite alternate;
}
.sunrise--bottom {
  display: none; /* старая сбоку подсветка больше не нужна — взамен используем .footer__glow */
}

@keyframes sunrise-breathe {
  0%   { opacity: .85; transform: translate(0, 0) scale(1); }
  100% { opacity: 1;   transform: translate(-30px, 20px) scale(1.06); }
}
@keyframes sunrise-breathe-2 {
  0%   { opacity: .7; transform: translate(0, 0) scale(1); }
  100% { opacity: .9; transform: translate(20px, -10px) scale(1.08); }
}

/* dot canvas */
.dots {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero > .dots {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 56%, rgba(0, 0, 0, 0.42) 70%, transparent 84%);
  mask-image: linear-gradient(90deg, #000 0%, #000 56%, rgba(0, 0, 0, 0.42) 70%, transparent 84%);
}

/* ============ ANCHOR GRID ============ */
.anchor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.anchor-card {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 132px;
  overflow: hidden;
  transition: background .2s ease, border-color .2s ease, transform .25s ease;
}
.anchor-card:hover { background: var(--surface-2); border-color: rgba(255,194,120,.3); transform: translateY(-2px); }
.anchor-card .mono-sm { color: var(--text-3); }
.anchor-card strong { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; font-family: "Geist", sans-serif; }
.anchor-card .muted { font-size: 14px; }
.anchor-card .anchor-arrow {
  position: absolute; right: 18px; top: 18px;
  color: var(--text-3);
  transition: color .2s ease, transform .2s ease;
}
.anchor-card:hover .anchor-arrow { color: var(--sun-2); transform: translate(2px, -2px); }

/* ============ COMPARE ============ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.compare__col {
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.compare__col--bad { background: rgba(255,255,255,.02); }
.compare__col--good {
  background: linear-gradient(160deg, rgba(255, 194, 120, .10), rgba(255, 154, 77, .04));
  border-color: rgba(255, 194, 120, .25);
  box-shadow: inset 0 1px 0 rgba(255, 194, 120, .18);
}
.compare__head {
  color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-strong);
  font-family: "JetBrains Mono", monospace;
}
.compare__col--good .compare__head { color: var(--sun-2); }
.compare__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.compare__col li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--text-2); }
.compare__col li b { color: var(--text); font-weight: 600; }
.compare__col .x, .compare__col .v {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; line-height: 1;
}
.compare__col .x { background: rgba(255,255,255,.06); color: var(--text-3); }
.compare__col .v {
  background: var(--sunrise-grad);
  color: #1a0d05;
  box-shadow: 0 4px 14px -2px rgba(255, 154, 77, .35);
}

/* ============ CAPABILITIES ============ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cap {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  padding: 26px;
  border-radius: var(--r-lg);
  min-height: 280px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.cap::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.16), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.cap > * { position: relative; z-index: 1; }
.cap__num { color: rgba(255,255,255,.5); font-size: 12px; font-family: "JetBrains Mono", monospace; }
.cap__big { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.cap__metric {
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-feature-settings: "tnum";
  font-family: "Unbounded", sans-serif;
}
.cap__label { color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.35; }
.cap p { color: rgba(255,255,255,.84); font-size: 15.5px; line-height: 1.5; margin: 0; }
/* sunrise + dark mix */
.cap--pink { background: linear-gradient(160deg, #FF9A4D, #B45309); }
.cap--violet { background: linear-gradient(160deg, #4a2410, #1a0a04); border: 1px solid rgba(255,194,120,.2); }
.cap--rose { background: linear-gradient(340deg, #FFC078, #8b4513); color: #1a0d05; }
.cap--rose .cap__label, .cap--rose p { color: rgba(26, 13, 5, .75); }
.cap--rose .cap__num { color: rgba(26, 13, 5, .55); }
.cap--ink { background: #131318; border: 1px solid var(--border); }
.cap--ink .cap__metric { background: var(--sunrise-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ CTA INLINE ============ */
.cta-inline {
  position: relative;
  padding: 26px 32px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 194, 120, .07), rgba(255,255,255,.02));
  display: flex; align-items: center; gap: 40px; justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}
.cta-inline::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255, 194, 120, .25), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.cta-inline > * { position: relative; z-index: 2; }
.cta-inline .dots-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.cta-inline h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.cta-inline p { margin: 0; max-width: 580px; }
.cta-inline .btn { flex-shrink: 0; }

/* ============ CASES ============ */
.cases { display: flex; flex-direction: column; gap: 22px; }
.case {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  padding: 22px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
}
.case--reverse { grid-template-columns: 1fr 1.05fr; }
.case--reverse .case__media { order: 2; }
.case__media {
  position: relative;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 190, 96, .18), transparent 28%),
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(160deg, #0d0e13 0%, #14131b 58%, #0b0c10 100%);
  background-size: auto, 28px 28px, 28px 28px, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
  min-height: 300px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    inset 0 -34px 64px rgba(0,0,0,.24);
}
.case__media::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(82%, 520px);
  aspect-ratio: 1.55 / 1;
  border-radius: clamp(18px, 2.2vw, 28px);
  background-color: #111219;
  background-image: var(--case-shot);
  background-size: var(--case-shot-size, cover);
  background-position: var(--case-shot-position, center);
  background-repeat: no-repeat;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(var(--case-tilt, -2.2deg));
  transform-origin: center;
  border: 1px solid rgba(255, 196, 96, .32);
  box-shadow:
    0 22px 56px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 0 34px rgba(255, 178, 70, .10);
}
.case__media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 14px;
  border-radius: calc(var(--r-lg) - 6px);
  border: 1px solid rgba(255, 197, 102, .18);
  pointer-events: none;
}
.case__media--flowers {
  --case-shot: url("assets/cases/flowers-ai-bot-screen-clean.png");
  --case-shot-size: cover;
  --case-shot-position: center;
  --case-tilt: -2.4deg;
}
.case__media--school {
  --case-shot: url("assets/cases/online-school-ai-assistant.png");
  --case-shot-size: cover;
  --case-shot-position: center;
  --case-tilt: 2deg;
}
.case__media--element {
  --case-shot: url("assets/cases/element-internal-ai.png");
  --case-shot-size: cover;
  --case-shot-position: center;
  --case-tilt: -2deg;
}
.case__ornament {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  height: auto;
  opacity: 1;
  filter: none;
}
.case__ornament--flower {
  width: clamp(220px, 26vw, 330px);
  left: -62px;
  bottom: -70px;
}
.case__ornament--school {
  width: clamp(230px, 27vw, 340px);
  right: -78px;
  bottom: -76px;
}
.case__ornament--element {
  width: clamp(230px, 27vw, 340px);
  left: -78px;
  bottom: -80px;
}
.case__body { padding: 16px 8px 12px; display: flex; flex-direction: column; gap: 14px; }
.case__body h3 { font-size: 24px; font-weight: 500; margin: 0; }
.case__body p { color: var(--text-2); margin: 0; }
.case__stats { display: flex; flex-wrap: wrap; gap: 18px 24px; list-style: none; padding: 14px 0 4px; margin: 0; border-top: 1px dashed var(--border-strong); }
.case__stats li {
  display: block;
  flex: 1 1 230px;
  min-width: 0;
}
.case__stats b {
  display: inline-block;
  margin-right: 10px;
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em;
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-feature-settings: "tnum";
  font-family: "Unbounded", sans-serif;
  line-height: 1.04;
  white-space: nowrap;
}
.case__stats span {
  display: inline;
  font-size: 12.5px;
  line-height: 1.28;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  min-width: 0;
}

@media (min-width: 721px) {
  .case__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  }
}

/* ============ STAGES ============ */
.stages { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.stage {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 28px 0;
  position: relative;
}
.stage + .stage { border-top: 1px dashed var(--border); }
.stage__num {
  font-size: 14px; color: var(--text-3);
  width: 48px;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
}
.stage__line {
  position: absolute;
  left: 24px;
  top: 60px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 194, 120, .45), rgba(255, 194, 120, 0));
}
.stage--last .stage__line { display: none; }
.stage__body { max-width: 720px; display: flex; flex-direction: column; gap: 10px; }
.stage__meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: "JetBrains Mono", monospace; }
.stage__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.stage__body h3 { font-size: 20px; font-weight: 500; margin: 0; }
.stage__body p { color: var(--text-2); margin: 0; }

/* ============ TRAINER ============ */
.trainer {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.trainer__copy { display: flex; flex-direction: column; gap: 18px; }
.trainer__list { list-style: none; padding: 0; margin: 14px 0 8px; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); font-family: "JetBrains Mono", monospace; }
.trainer__list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sun-3); display: inline-block; margin-right: 10px; vertical-align: middle; }

.trainer__app {
  font-family: "Geist", sans-serif;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: #0c0c10;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(255, 154, 77, .15), 0 0 0 1px rgba(255,255,255,.02);
}
.trainer__chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid var(--border);
}
.trainer__dots { display: flex; gap: 6px; }
.trainer__dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.12); }
.trainer__body {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 460px;
}
.trainer__side {
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: "Geist", sans-serif;
  overflow: hidden;
  scrollbar-width: none;
}
.trainer__side::-webkit-scrollbar {
  display: none;
}
.trainer__tab-row {
  display: contents;
}
.trainer__side button {
  display: flex; align-items: center; justify-content: space-between;
  flex: 0 0 auto;
  min-width: 0;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  color: var(--text-2);
  background: transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  font-family: "Unbounded", "Geist", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: left;
  white-space: normal;
}
.trainer__side button:hover { background: rgba(255,255,255,.03); color: var(--text); }
.trainer__side button.is-active { background: rgba(255, 194, 120, .12); color: var(--sun-2); }
.trainer__side button:focus-visible {
  outline: 2px solid rgba(255, 194, 120, .55);
  outline-offset: 2px;
}
.trainer__side .badge {
  font-size: 11px; padding: 2px 7px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--text-3);
}
.trainer__main { min-height: 420px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.trainer__tabs { position: relative; flex: 1; min-width: 0; min-height: 388px; }
.trainer-tab {
  position: absolute;
  inset: 0;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(.985);
  transition: opacity .24s ease, transform .24s ease, visibility 0s linear .24s;
}
.trainer-tab.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.trainer-tab[hidden] { display: block; }
.trainer-panel {
  min-width: 0;
  min-height: 388px;
  height: 100%;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  display: flex;
  flex-direction: column;
  overflow: auto;
  scrollbar-width: none;
}
.trainer-panel::-webkit-scrollbar { display: none; }
.trainer-panel--prompt { gap: 8px; }
.trainer-panel--prompt .trainer-panel__head { margin-bottom: 0; }
.trainer-panel--teaser-list {
  overflow: hidden;
}
.trainer-panel--teaser-list .faq-mini,
.trainer-panel--teaser-list .file-list {
  gap: 7px;
}
.trainer-panel--teaser-list .trainer-item {
  padding: 7px 9px;
}
.trainer-panel--teaser-list .trainer-item__actions button {
  width: 26px;
  height: 26px;
}
.trainer-panel--teaser-list .faq-mini b,
.trainer-panel--teaser-list .file-list b {
  font-size: 12.5px;
}
.trainer-panel--teaser-list .faq-mini .trainer-item__content > span,
.trainer-panel--teaser-list .file-list small {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.28;
}
.trainer-panel--wide { grid-column: 1 / -1; }
.trainer-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.trainer-panel__head > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trainer-panel__head b {
  color: var(--text);
  font-family: "Unbounded", "Geist", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.trainer-panel__eyebrow {
  color: var(--text-3);
  font-size: 10px;
  letter-spacing: .03em;
}
.trainer-panel .badge,
.trainer-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-3);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}
.trainer-assistants {
  display: inline-flex;
  flex-direction: row;
  gap: 4px;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.18);
  font-family: "Unbounded", "Geist", sans-serif;
}
.trainer-panel__head > .trainer-assistants {
  flex-direction: row;
  gap: 4px;
}
.trainer-assistants span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--text-3);
  background: transparent;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}
.trainer-assistants .is-active {
  color: var(--sun-2);
  background: rgba(255, 194, 120, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 120, .08);
}
.prompt-card {
  flex: 1;
  min-height: 0;
  padding: 14px;
  border-radius: 13px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
}
.prompt-card__input {
  width: 100%;
  min-height: 250px;
  flex: 1;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-2);
  font-family: "Geist", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  caret-color: var(--sun-2);
}
.prompt-card__input::selection {
  color: #1b1209;
  background: var(--sun-2);
}
.version-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.version-row span {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-3);
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}
.faq-mini,
.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trainer-item {
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,.18);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.trainer-item--file {
  grid-template-columns: 38px minmax(0, 1fr) auto;
}
.trainer-item__content {
  min-width: 0;
}
.trainer-item__actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.trainer-icon-btn,
.trainer-item__actions button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 194, 120, .16);
  color: var(--sun-2);
  background: rgba(255, 194, 120, .08);
  font-family: "Geist", sans-serif;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.trainer-icon-btn {
  width: 34px;
  height: 34px;
  font-size: 22px;
}
.trainer-icon-btn:hover,
.trainer-item__actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 194, 120, .34);
  background: rgba(255, 194, 120, .14);
}
.faq-mini b,
.file-list b {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.faq-mini .trainer-item__content > span,
.file-list small {
  display: block;
  margin-top: 3px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.35;
}
.file-list small { margin-top: 3px; }
.file-type {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--sun-2);
  background: rgba(255, 194, 120, .1);
  border: 1px solid rgba(255, 194, 120, .18);
}
.insight-card {
  display: block;
  min-height: 118px;
  padding: 13px;
  border-radius: 14px;
  background: radial-gradient(circle at 12% 0%, rgba(255, 194, 120, .13), rgba(255,255,255,.035) 52%);
  border: 1px solid rgba(255, 194, 120, .12);
}
.insight-card::after {
  content: "";
  display: block;
  clear: both;
}
.insight-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}
.insight-card button {
  float: right;
  margin: 0 0 8px 12px;
  border: 0;
  border-radius: 12px;
  padding: 8px 12px;
  color: #1b1209;
  background: var(--sun-2);
  font: 500 11.5px "Unbounded", "Geist", sans-serif;
  letter-spacing: -0.03em;
  cursor: default;
}
.analytics-row {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 10px;
  margin-top: 10px;
}
.funnel-card,
.quality-card {
  min-width: 0;
  padding: 13px;
  border-radius: 14px;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.06);
}
.funnel-card strong,
.quality-card strong {
  display: block;
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
}
.funnel-card span,
.quality-card span {
  display: block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.35;
}
.funnel-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 12px 0;
}
.funnel-bars span {
  display: block;
  width: var(--w);
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sun-3), rgba(255,255,255,.14));
}
.funnel-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 5px;
}
.funnel-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-3);
  font-size: 12px;
}
.funnel-card li b { color: var(--text-2); font-weight: 500; }
.quality-card { position: relative; overflow: hidden; }
.quality-ring {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 14px solid rgba(255, 194, 120, .18);
  border-top-color: var(--sun-3);
  transform: rotate(28deg);
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.price-card {
  position: relative;
  min-height: 560px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022)),
    rgba(255,255,255,.025);
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at 50% 0%, rgba(255, 194, 120, .08), transparent 62%);
  opacity: .75;
}
.price-card > * { position: relative; }
.price-card--featured {
  border-color: rgba(255, 194, 120, .28);
  background:
    radial-gradient(520px circle at 50% -16%, rgba(255, 194, 120, .18), transparent 60%),
    linear-gradient(165deg, rgba(42, 26, 10, .86), rgba(17, 8, 4, .72)),
    rgba(255,255,255,.04);
  box-shadow: 0 26px 80px -58px rgba(255, 154, 77, .72);
}
.price-card__top { display: flex; flex-direction: column; gap: 10px; }
.price-card__idx { color: var(--sun-2); }
@media (min-width: 721px) {
  .price-card__top { height: 156px; }
}
.price-card h3 {
  margin: 0;
  font-family: "Unbounded", "Geist", sans-serif;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.price-card__top p,
.price-card__result p {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.price-card__price {
  min-height: 84px;
  padding: 18px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-card__price span {
  font-family: "Unbounded", "Geist", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.price-card__from {
  display: inline-block;
  margin-right: 10px;
  color: var(--text-3);
  font-size: .42em;
  line-height: 1;
  letter-spacing: .02em;
  vertical-align: .28em;
}
.price-card__price small {
  color: var(--text-3);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: lowercase;
}
.price-card__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card__block > span {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
}
.price-card__block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card__block li {
  position: relative;
  padding-left: 24px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.48;
}
.price-card__block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sunrise-grad);
  box-shadow: 0 0 18px rgba(255, 154, 77, .38);
}
.price-card__result {
  margin-top: auto;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.035);
}
.price-card__result span {
  display: block;
  margin-bottom: 6px;
  color: var(--sun-2);
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: .02em;
}

/* ============ SUBSCRIPTION ============ */
.sub {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 22px;
}
.sub__plan {
  padding: 32px;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, #1d1207 0%, #2a1a0a 50%, #110804 100%);
  border: 1px solid rgba(255, 194, 120, .22);
  display: flex; flex-direction: column; gap: 18px;
  min-height: 360px;
  position: relative; overflow: hidden;
}
.sub__plan::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255, 194, 120, .35), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.sub__plan-h { display: flex; flex-direction: column; gap: 8px; position: relative; }
.sub__plan-h h3 { font-size: 26px; font-weight: 500; margin: 0; font-family: "Unbounded", sans-serif; letter-spacing: -0.02em; }
.sub__plan-tagline {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 4px 0 0;
  position: relative;
  max-width: 360px;
}
.sub__plan-bottom {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  padding-top: 22px;
  border-top: 1px dashed rgba(255, 194, 120, .15);
}
.sub__bonus {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 194, 120, .28);
  background: rgba(255, 194, 120, .1);
  color: var(--sun-2);
  font-family: "Unbounded", "Geist", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.sub__price { display: flex; align-items: baseline; gap: 8px; position: relative; }
.sub__price .num { font-size: 36px; font-weight: 500; letter-spacing: -0.025em; font-feature-settings: "tnum"; font-family: "Unbounded", sans-serif; white-space: nowrap; }
.sub__plan .btn { align-self: flex-start; position: relative; }
.sub__details { color: var(--sun-2); font-size: 14px; border-bottom: 1px dashed currentColor; padding-bottom: 2px; align-self: flex-start; position: relative; }

.sub__compare {
  padding: 24px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sub__col { padding: 12px 16px; }
.sub__col--good { background: rgba(255, 194, 120, .05); border-radius: var(--r-md); }
.sub__col-h { color: var(--muted); margin-bottom: 14px; font-family: "JetBrains Mono", monospace; }
.sub__col--good .sub__col-h { color: var(--sun-2); }
.sub__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sub__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.sub__list .x, .sub__list .v {
  width: 20px; height: 20px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 12px; font-weight: 600;
  margin-top: 1px;
}
.sub__list .x { background: rgba(255,255,255,.06); color: var(--text-3); }
.sub__list .v { background: var(--sunrise-grad); color: #1a0d05; }
.sub__list .v--mute {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.sub__note {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.02);
}
.sub__note svg { color: var(--sun-2); flex-shrink: 0; }

/* ============ STACK ============ */
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack__group {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.stack__group summary {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  font-family: "Unbounded", sans-serif;
}
.stack__group summary::-webkit-details-marker { display: none; }
.stack__group summary .mono-sm { color: var(--text-3); flex-shrink: 0; min-width: 140px; font-family: "JetBrains Mono", monospace; font-weight: 400; }
.stack__group summary .chev { margin-left: auto; transition: transform .125s ease; color: var(--text-3); }
.stack__group[open] summary .chev { transform: rotate(180deg); }
.stack__group.is-closing summary .chev { transform: rotate(0deg); }
.stack__grid {
  --details-end-space: 34px;
  padding: 0 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height .23s cubic-bezier(.2,.7,.2,1),
    padding-bottom .23s cubic-bezier(.2,.7,.2,1),
    opacity .14s ease;
}
.stack__group[open] .stack__grid {
  max-height: calc(var(--details-height, 760px) + var(--details-end-space));
  padding-bottom: var(--details-end-space);
  opacity: 1;
}
.stack__group.is-closing .stack__grid {
  max-height: 0;
  padding-bottom: 0;
  opacity: 0;
}
.stack__cell {
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.stack__cell b { font-size: 15px; font-family: "Geist", sans-serif; }
.stack__cell .muted { font-size: 13.5px; line-height: 1.5; }

/* ============ FAQ (animated accordion) ============ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.faq__item[open] {
  border-color: rgba(255, 194, 120, .25);
  background: linear-gradient(160deg, rgba(255, 194, 120, .04), rgba(255,255,255,.02));
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.01em;
  gap: 24px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item .chev {
  color: var(--text-3); flex-shrink: 0;
  transition: transform .175s cubic-bezier(.2,.7,.2,1), color .125s ease;
}
.faq__item[open] .chev { transform: rotate(180deg); color: var(--sun-2); }
.faq__item.is-closing .chev { transform: rotate(0deg); color: var(--text-3); }

/* Анимированное раскрытие через grid-template-rows */
.faq__body {
  --details-end-space: 30px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height .23s cubic-bezier(.2,.7,.2,1),
    padding-bottom .23s cubic-bezier(.2,.7,.2,1),
    opacity .14s ease;
  padding: 0 26px;
  color: var(--text-2);
}
.faq__item[open] .faq__body {
  max-height: calc(var(--details-height, 620px) + var(--details-end-space));
  padding-bottom: var(--details-end-space);
  opacity: 1;
}
.faq__item.is-closing .faq__body {
  max-height: 0;
  padding-bottom: 0;
  opacity: 0;
}
.faq__inner {
  overflow: hidden;
  min-height: 0;
}
.faq__inner p {
  margin: 0;
  line-height: 1.65;
  max-width: 900px;
}

/* ============ CONTACT ============ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  padding: 40px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 194, 120, .06), rgba(255,255,255,.02));
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute; left: -200px; bottom: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 154, 77, .18), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.contact__left { display: flex; flex-direction: column; gap: 16px; position: relative; }
.contact__list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); font-family: "JetBrains Mono", monospace; }
.contact__list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sun-3); display: inline-block; margin-right: 10px; vertical-align: middle; }

.contact__form {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  isolation: isolate;
}
.contact__form > .field:not(.contact__submit),
.contact__success {
  position: relative;
  z-index: 2;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--muted); font-family: "JetBrains Mono", monospace; letter-spacing: .03em; }
.field input, .field textarea {
  background: rgba(0,0,0,.4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  color: var(--text);
  font: inherit; font-size: 15px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: rgba(255, 194, 120, .55); background: rgba(0,0,0,.6); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #e54a4a; }
.field--channel { position: relative; z-index: 30; min-width: 0; }
.channel-select {
  position: relative;
  min-width: 0;
}
.channel-select__button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0,0,0,.4);
  color: var(--text);
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.channel-select__button:hover,
.channel-select.is-open .channel-select__button {
  border-color: rgba(255, 194, 120, .46);
  background: rgba(0,0,0,.62);
}
.channel-select__button:focus-visible {
  outline: 2px solid rgba(255, 194, 120, .6);
  outline-offset: 2px;
}
.channel-select__current,
.channel-select__option {
  display: flex;
  align-items: center;
  min-width: 0;
}
.channel-select__current { gap: 9px; }
.channel-select__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  object-fit: contain;
}
.channel-select__chevron {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--text-2);
  transition: transform .16s ease, color .16s ease;
}
.channel-select.is-open .channel-select__chevron {
  transform: rotate(180deg);
  color: var(--sun-2);
}
.channel-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: rgba(8, 8, 11, .96);
  box-shadow: 0 22px 60px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(.98);
  transform-origin: top center;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.channel-select.is-open .channel-select__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.channel-select__option {
  width: 100%;
  gap: 10px;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-2);
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.channel-select__option:hover,
.channel-select__option:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,.07);
}
.channel-select__option.is-active {
  color: #160d05;
  border-color: rgba(255,255,255,.1);
  background: linear-gradient(135deg, var(--sun-2), var(--sun-3));
}
.contact__submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}
.contact__submit .mono-sm { max-width: 480px; line-height: 1.5; font-family: "JetBrains Mono", monospace; }
.contact__submit a { color: var(--text-2); border-bottom: 1px dashed currentColor; }
.contact__success {
  grid-column: 1 / -1;
  display: flex; gap: 14px; align-items: center;
  padding: 18px;
  border-radius: var(--r-md);
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #aef0c8;
}
.contact__success svg { color: var(--green); flex-shrink: 0; }
.contact__success b { color: #fff; }

/* ============ COOKIE NOTICE ============ */
.cookie-banner {
  position: fixed;
  left: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 120;
  width: min(430px, calc(100vw - 24px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: #f5f4f1;
  background: rgba(8, 9, 12, 0.72);
  box-shadow:
    rgba(255, 255, 255, 0.16) 0 0 2px 1px inset,
    rgba(255, 255, 255, 0.08) 0 0 10px 4px inset,
    rgba(0, 0, 0, 0.2) 0 8px 28px,
    rgba(0, 0, 0, 0.16) 0 16px 44px;
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease;
  isolation: isolate;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner p {
  margin: 0;
  color: rgba(245, 244, 241, 0.74);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.cookie-banner__actions a {
  padding: 8px 0;
  color: rgba(245, 244, 241, 0.72);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: color .16s ease;
}
.cookie-banner__actions a:hover {
  color: #f7f7f5;
}
.cookie-banner__actions button {
  min-height: 36px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #1a0d05;
  background-color: #ff9a4d;
  background-image: var(--sunrise-grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
  box-shadow: 0 8px 30px -8px rgba(255, 154, 77, .55);
  font-family: "Unbounded", "Geist", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: transform .12s ease, filter .18s ease, box-shadow .25s ease;
}
.cookie-banner__actions button:hover {
  transform: translateY(-1px);
  filter: brightness(1.18) saturate(1.1);
  box-shadow: 0 12px 36px -10px rgba(255, 154, 77, .7);
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  padding: 200px 0 48px;
  margin-top: 0;
  overflow: hidden;
  isolation: isolate;
}
/* убираем любой видимый переход между предыдущим блоком и футером */
.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 6, 2, 0.0) 100%);
  pointer-events: none;
  z-index: 0;
}
/* мягкая подсветка снизу */
.footer__glow {
  position: absolute;
  left: 50%;
  bottom: -340px;
  transform: translateX(-50%);
  width: 1400px;
  height: 700px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(255, 154, 77, 0.64), transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255, 194, 120, 0.36), transparent 70%);
  filter: blur(40px);
  opacity: 1;
}
.footer__dots {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}
.footer__inner { position: relative; z-index: 2; }
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer__brand p { font-size: 14px; line-height: 1.6; margin: 0; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__cols a { display: block; padding: 4px 0; color: var(--text-2); font-size: 14px; }
.footer__cols a:hover { color: var(--text); }
.footer__h { color: var(--muted); margin-bottom: 14px; font-family: "JetBrains Mono", monospace; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12.5px; }
.footer__bottom a { color: var(--muted); border-bottom: 1px dashed transparent; transition: color .2s, border-color .2s; }
.footer__bottom a:hover { color: var(--text); border-bottom-color: currentColor; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1160px) {
  .nav {
    max-height: 64px;
    gap: 14px;
    padding: 9px 14px 9px 18px;
    align-items: center;
    align-content: flex-start;
    flex-wrap: wrap;
    overflow: hidden;
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    transition:
      max-height .34s cubic-bezier(.22, .82, .24, 1),
      background .22s ease,
      box-shadow .22s ease;
  }
  .nav.is-mobile-open {
    max-height: 430px;
    align-items: center;
    background: rgba(8, 9, 12, 0.72);
  }
  .nav-mega__glass {
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
  }
  .nav__links { gap: 18px; margin-left: 2px; }
  .nav__links a { padding: 0; font-size: 13.5px; }
  .nav__cta { gap: 6px; }
  .nav .btn { padding-left: 13px; padding-right: 13px; }
}

@media (max-width: 1024px) {
  .anchor-grid, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .stack__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .trainer { grid-template-columns: 1fr; gap: 32px; }
  .sub { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .case, .case--reverse { grid-template-columns: 1fr; }
  .case--reverse .case__media { order: 0; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .nav-mega { display: none; }
  .nav {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 62px;
    max-height: 62px;
    padding: 9px 12px 5px 16px;
    gap: 8px;
    align-items: center;
    align-content: flex-start;
    flex-wrap: wrap;
    overflow: hidden;
    isolation: isolate;
    transition:
      max-height .34s cubic-bezier(.22, .82, .24, 1),
      background .22s ease,
      box-shadow .22s ease;
  }
  .nav.is-mobile-open {
    max-height: 430px;
    align-items: center;
    background: rgba(8, 9, 12, 0.72);
  }
  .nav__logo,
  .nav__cta {
    transform: translateY(2px);
  }
  .nav__logo {
    flex: 0 1 130px;
    min-width: 0;
  }
  .nav__logo svg { height: 26px; max-width: 125px; }
  .nav__logo,
  .nav__links,
  .nav__burger,
  .nav__cta .btn--ghost {
    position: relative;
    z-index: 2;
  }
  .nav__cta {
    gap: 8px;
    min-width: 0;
    margin-left: auto;
    padding: 0;
    overflow: visible;
    flex: 0 0 auto;
  }
  .nav__burger {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    gap: 6px;
  }
  .nav__burger span {
    width: 17px;
    height: 3px;
    border-radius: 999px;
    transform-origin: center;
  }
  .nav__burger span:nth-child(2) {
    display: none;
  }
  .nav__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
  }
  .nav__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  .nav .btn--primary {
    min-height: 38px;
    min-width: 112px;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
    max-width: none;
    flex: 0 0 auto;
    margin-right: 0;
    border-color: transparent;
    box-shadow:
      0 8px 30px -8px rgba(255, 154, 77, .55);
  }
  .nav .btn--primary > span {
    display: inline-block;
    transform: scale(1.18);
    transform-origin: center;
  }
  .nav .btn--orbit { z-index: 0; }
  .nav .btn--orbit::before {
    inset: -2px;
    padding: 2px;
  }
  .nav .btn--orbit::after {
    display: block;
    inset: -32px;
    padding: 24px;
    background-origin: content-box;
    background-clip: content-box;
  }
  .section { padding: 70px 0 20px; }
  .hero { padding: 96px 0 24px; }
  .hero__title {
    font-size: clamp(30px, 8.5vw, 34px);
    line-height: 1.06;
    margin-bottom: 18px;
  }
  .hero__title-shine {
    background-size: 620px 100%;
    filter: drop-shadow(0 0 14px rgba(255, 220, 170, 0.12));
    animation-duration: 5.8s;
    animation-name: hero-shine-mobile;
  }
  .hero__eyebrow {
    flex-wrap: wrap;
    gap: 7px;
    padding: 6px 11px;
    margin-bottom: 18px;
    font-size: 11px;
  }
  .hero__eyebrow .dot--pulse {
    width: 6px;
    height: 6px;
  }
  .hero__eyebrow .hero__eyebrow-sep,
  .hero__eyebrow .mono { display: none; }
  .hero__sub {
    font-size: 14px;
    line-height: 1.58;
    margin-bottom: 24px;
  }
  .hero__sub--main {
    font-size: 18px;
    line-height: 1.5;
  }
  #offer .section__lede {
    font-size: 15px;
    line-height: 1.55;
  }
  .hero__actions { gap: 14px; margin-bottom: 76px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .hero__actions .btn--primary {
    border-color: transparent;
    box-shadow: 0 8px 28px -12px rgba(255, 154, 77, .58);
  }
  .hero__ai { gap: 9px; }
  .hero__ai-label { align-items: flex-start; line-height: 1.34; font-size: 11px; }
  .hero__ai-label svg { flex: 0 0 14px; margin-top: 1px; }
  .hero__ai-input { flex-direction: row; height: 50px; padding: 6px 6px 6px 15px; border-radius: 999px; gap: 7px; align-items: center; }
  .hero__ai-field { font-size: 16px; }
  .hero__ai-send { width: 38px; height: 38px; flex: 0 0 38px; justify-content: center; padding: 0; }
  .hero__ai-send span { display: none; }
  .hero__ai-send svg { width: 17px; height: 17px; }
  .hero__trust { gap: 7px; margin-top: 24px; flex-direction: column; align-items: flex-start; }
  .hero__trust > div:not(.sep) { width: 100%; }
  .hero__trust .sep { display: none; }
  .xai-glow {
    animation: none;
    opacity: .7;
    transform: none;
    width: calc(100vw + 96px);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 18%, #fff 100%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 18%, #fff 100%);
  }
  .section__head {
    margin-bottom: 28px;
    gap: 12px;
  }
  .section__head--row > div {
    gap: 10px;
  }
  .anchor-grid, .cap-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
  .price-card { min-height: auto; padding: 22px; border-radius: var(--r-lg); }
  .price-card__price span { font-size: clamp(28px, 9vw, 36px); }
  .cta-inline { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .case__stats { flex-wrap: wrap; gap: 16px 28px; }
  .case__media { min-height: 260px; }
  .case__media::before { width: min(86%, calc(100% - 38px)); border-radius: 20px; }
  .case__media::after { inset: 12px; }
  .case__ornament {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(255, 185, 76, .32));
  }
  .case__ornament--flower { width: 238px; left: -54px; bottom: -44px; }
  .case__ornament--school { width: 246px; right: -58px; bottom: -42px; }
  .case__ornament--element { width: 246px; left: -58px; bottom: -46px; }
  .sub__compare { grid-template-columns: 1fr; }
  .stack__grid { --details-end-space: 24px; grid-template-columns: 1fr; padding: 0 18px; }
  .stack__group summary { padding: 18px; gap: 6px; flex-wrap: wrap; align-items: center; }
  .stack__group summary .mono-sm { min-width: auto; width: 100%; order: 0; }
  .stack__group summary > span:not(.mono-sm) { order: 1; flex: 1; }
  .stack__group summary .chev { order: 2; width: 18px; height: 18px; }
  .faq__item summary { padding: 18px; font-size: 15px; }
  .faq__body { --details-end-space: 24px; padding: 0 18px; }
  .contact__form { grid-template-columns: 1fr; isolation: isolate; }
  .field--channel { z-index: 40; }
  .channel-select__menu {
    position: static;
    display: none;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .channel-select.is-open .channel-select__menu {
    display: grid;
    transform: none;
  }
  .contact__form > .field:not(.contact__submit):not(.field--channel),
  .contact__submit .mono-sm,
  .contact__success {
    position: relative;
    z-index: 2;
  }
  .contact__submit .btn--orbit { z-index: 0; }
  .contact__submit .btn--orbit::after {
    inset: -46px;
    padding: 28px;
    background-origin: content-box;
    background-clip: content-box;
  }
  .stage { grid-template-columns: 60px 1fr; gap: 16px; }
  .stage__num { width: 36px; }
  .stage__line { left: 18px; }
  .trainer { gap: 24px; }
  .trainer__body { grid-template-columns: 1fr; }
  .trainer__side {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
  }
  .trainer__side button { flex: 0 0 auto; }
  .trainer__main { min-height: 500px; }
  .trainer__tabs,
  .trainer-panel { min-height: 468px; }
  .cookie-banner {
    left: 10px;
    right: auto;
    bottom: max(10px, calc(env(safe-area-inset-bottom) + 10px));
    width: min(330px, calc(100vw - 78px));
    max-width: calc(100vw - 78px);
    max-height: calc(100svh - 20px);
    padding: 14px;
    border-radius: 18px;
    overflow: auto;
    transform: translateY(10px);
  }
  .cookie-banner p {
    font-size: 12.5px;
    line-height: 1.45;
    text-wrap: pretty;
  }
  .cookie-banner__actions {
    gap: 10px;
    margin-top: 12px;
    justify-content: flex-start;
  }
  .cookie-banner__actions a {
    order: 2;
    font-size: 12.5px;
  }
  .cookie-banner__actions button {
    order: 1;
    min-width: 56px;
    min-height: 38px;
    padding: 10px 14px;
  }
  .sub__note { margin-top: 6px; padding: 12px 14px; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; }
  .sub__note svg { margin-top: 2px; }
}

@media (max-width: 380px) {
  .nav {
    width: calc(100% - 12px);
    padding: 9px 10px 5px 12px;
    gap: 6px;
  }
  .nav__logo svg {
    height: 25px;
    max-width: 107px;
  }
  .nav__cta {
    gap: 7px;
    padding-left: 0;
    margin-left: auto;
  }
  .nav .btn--primary {
    min-width: 104px;
    padding-inline: 10px;
    font-size: 12.4px;
    margin-right: 0;
  }
  .nav .btn--primary > span {
    transform: scale(1.15);
  }
  .nav__burger {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
  }
  .hero { padding-top: 88px; }
  .hero__eyebrow {
    max-width: 100%;
    font-size: 10.5px;
  }
  .cookie-banner {
    left: 8px;
    right: auto;
    bottom: max(8px, calc(env(safe-area-inset-bottom) + 8px));
    width: min(306px, calc(100vw - 74px));
    max-width: calc(100vw - 74px);
    max-height: calc(100svh - 16px);
    padding: 12px;
    border-radius: 16px;
  }
  .cookie-banner p {
    font-size: 12px;
    line-height: 1.42;
  }
  .cookie-banner__actions {
    margin-top: 10px;
  }
  .price-card { padding: 20px; }
  .price-card h3 { font-size: 21px; }
  .price-card__block li { padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .stack__grid,
  .faq__body,
  .stack__group summary .chev,
  .faq__item .chev,
  .mobile-menu {
    transition: none;
  }
  .xai-glow {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@keyframes chat-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 154, 77, .55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 154, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 154, 77, 0); }
}
