/* ═══════════════════════════════════════════════════════
   AI Key Pro — лендинг подписок Claude
   Палитра и настроение — в духе claude.ai / anthropic.com:
   тёплый крем, чернильный текст, терракотовый акцент
   ═══════════════════════════════════════════════════════ */
:root {
  --bg: #FAF9F5;
  --bg-alt: #F0EEE6;
  --ink: #1F1E1D;
  --muted: #6E6C66;
  --accent: #D97757;
  --accent-dark: #C96442;
  --accent-soft: #F4E3DA;
  --border: #E5E1D8;
  --dark: #191917;
  --cream: #F5F1E8;
  --radius: 20px;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 20px 60px -20px rgba(31, 30, 29, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

/* ── типографика секций ── */
.section__eyebrow {
  color: #9D4528;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}
.section__eyebrow--mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.section__eyebrow--mark svg { width: 16px; height: 16px; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.section__sub { color: var(--muted); max-width: 640px; font-size: 18px; margin-bottom: 48px; }

/* ── кнопки ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(217, 119, 87, .65);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { border-color: var(--border); background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--dark); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn__arrow { transition: transform .18s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ═══════════ HEADER ═══════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 249, 245, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo__spark { width: 26px; height: 26px; color: var(--accent); animation: spark-spin 14s linear infinite; }
.logo__text { font-family: var(--font-display); font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.burger { display: none; }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; }
.hero__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(42% 55% at 72% 40%, rgba(217, 119, 87, .16), transparent 70%),
    radial-gradient(35% 45% at 20% 20%, rgba(217, 119, 87, .08), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  box-shadow: 0 4px 14px -8px rgba(31, 30, 29, .2);
  transition: border-color .15s;
}
.chip:hover { border-color: var(--accent); }
.chip__star { color: #F5A623; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.8vw, 68px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 22px 0 20px;
}
.hero__title em { font-style: italic; color: var(--accent-dark); }
.hero__sub { font-size: 19px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero__sub strong { color: var(--ink); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hero__micro { color: var(--muted); font-size: 13.5px; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 40px; padding-bottom: 56px; }
.hero__stats dt { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.hero__stats dd { color: var(--muted); font-size: 13.5px; max-width: 130px; }

/* ── сцена с крабом ── */
.hero__scene { position: relative; height: 420px; align-self: end; }
.scene__spark {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 240px;
  height: 240px;
  transform: translateX(-50%);
  color: var(--accent);
  opacity: .16;
  animation: spark-spin 28s linear infinite;
}
.scene__bubble {
  position: absolute;
  bottom: calc(100% + 16px);
  left: -26px;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: 0 12px 28px -14px rgba(31, 30, 29, .35);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 14px;
  white-space: nowrap;
  transform-origin: 55% bottom;
  animation: bubble-pop .6s cubic-bezier(.34, 1.56, .64, 1) .8s backwards, bubble-float 4s ease-in-out 1.4s infinite;
}
.scene__bubble::after {
  content: "";
  position: absolute;
  top: calc(100% - 6.5px);
  left: 76px;
  width: 11px;
  height: 11px;
  background: #fff;
  border-right: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  transform: rotate(45deg);
}
.scene__ground {
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  height: 1px;
  background: var(--border);
}
.crab-track { position: absolute; bottom: 10px; left: 0; width: min(70%, 340px); }
.crab { cursor: pointer; }
.crab { position: relative; width: 120px; animation: crab-roam 14s ease-in-out infinite; }
.crab__flip { animation: crab-flip 14s linear infinite; }
.crab__svg { animation: crab-bob .5s steps(1, end) infinite; overflow: visible; }
.crab__arm { animation: arm-wave 3s steps(1, end) infinite; }
.crab__arm--r { animation-delay: .5s; }
.leg--1, .leg--3 { animation: leg-step .4s steps(1, end) infinite; }
.leg--2, .leg--4 { animation: leg-step .4s steps(1, end) .2s infinite; }
.crab__eye { transform-box: fill-box; transform-origin: center; animation: eye-blink 4.5s steps(1, end) infinite; }
.crab-shadow {
  width: 110px;
  height: 12px;
  margin: 2px 0 0 10px;
  border-radius: 50%;
  background: rgba(31, 30, 29, .12);
  animation: crab-roam 14s ease-in-out infinite;
}

@keyframes spark-spin { to { transform: rotate(360deg); } }
@keyframes clawd-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.scene__spark { transform-origin: center; }
@keyframes bubble-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes bubble-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes crab-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes arm-wave {
  0%, 70%, 100% { transform: translateY(0); }
  76%, 88% { transform: translateY(-9px); }
  82% { transform: translateY(-14px); }
}
@keyframes leg-step { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes eye-blink {
  0%, 91%, 100% { transform: scaleY(1); }
  93%, 96% { transform: scaleY(.15); }
}

/* ── дудлы в стиле иллюстраций Anthropic ── */
.doodle { position: absolute; pointer-events: none; }
.doodle--hero-molecule { top: 3%; left: 3%; width: 110px; color: var(--ink); opacity: .5; animation: doodle-float 8s ease-in-out infinite; }
.doodle--hero-burst { bottom: 36%; right: 5%; width: 52px; color: var(--accent); opacity: .85; animation: doodle-spin 26s linear infinite; }
.doodle--pricing-burst { top: 90px; right: 4%; width: 88px; color: var(--accent); opacity: .3; animation: doodle-spin 32s linear infinite; }
.doodle--pricing-molecule { bottom: 70px; left: 2.5%; width: 130px; color: var(--ink); opacity: .14; animation: doodle-float 9s ease-in-out infinite; }
.doodle--cta-molecule { top: 16%; left: 6%; width: 110px; color: var(--cream); opacity: .32; animation: doodle-float 8s ease-in-out infinite; }
.doodle--cta-burst { bottom: 14%; right: 7%; width: 68px; color: var(--accent); opacity: .55; animation: doodle-spin 26s linear infinite; }
@keyframes doodle-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes doodle-spin { to { transform: rotate(360deg); } }
@keyframes crab-roam {
  0%, 100% { transform: translateX(0); }
  46%, 50% { transform: translateX(200px); }
  96% { transform: translateX(0); }
}
/* мгновенный пиксельный разворот во время паузы */
@keyframes crab-flip {
  0%, 47.8% { transform: scaleX(1); }
  48.2%, 97.4% { transform: scaleX(-1); }
  97.8%, 100% { transform: scaleX(1); }
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  border-block: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  padding: 15px 0;
}
.marquee__track {
  display: flex;
  gap: 30px;
  align-items: center;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__item { display: inline-flex; align-items: center; gap: 11px; }
.marquee__logo { width: 26px; height: 26px; border-radius: 8px; color: #FAF9F5; box-shadow: 0 3px 8px -3px rgba(31, 30, 29, .35); }
.marquee__logo--code { color: var(--accent); }
.marquee__doodle { width: 22px; height: 22px; color: var(--accent); }
.marquee__track i { color: var(--accent); font-style: normal; font-size: 13px; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ PRICING ═══════════ */
.pricing { position: relative; overflow: clip; }
.plans {
  display: grid;
  /* auto-fit: карточки сами перестраиваются в 4/3/2/1 колонки и никогда не вылезают за экран */
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  align-items: stretch;
  min-height: 560px; /* нет прыжка макета, пока грузятся тарифы */
}
.plan { min-width: 0; }
/* ── radial-pulse: фирменный спрайт-лоадер (15 кадров, 1.5s) ── */
.radial-pulse {
  --pulse-size: 100px;
  width: var(--pulse-size);
  height: var(--pulse-size);
  background-image: url("/img/radial-pulse-sprite.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: calc(var(--pulse-size) * 15) var(--pulse-size);
  animation: radial-pulse-frames 1.5s step-end infinite;
}
.radial-pulse--sm { --pulse-size: 34px; }
.plans__loading {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}
@keyframes radial-pulse-frames {
  0%        { background-position: calc(var(--pulse-size) * 0) 0; }
  6.6667%   { background-position: calc(var(--pulse-size) * -1) 0; }
  13.3333%  { background-position: calc(var(--pulse-size) * -2) 0; }
  20%       { background-position: calc(var(--pulse-size) * -3) 0; }
  26.6667%  { background-position: calc(var(--pulse-size) * -4) 0; }
  33.3333%  { background-position: calc(var(--pulse-size) * -5) 0; }
  40%       { background-position: calc(var(--pulse-size) * -6) 0; }
  46.6667%  { background-position: calc(var(--pulse-size) * -7) 0; }
  53.3333%  { background-position: calc(var(--pulse-size) * -8) 0; }
  60%       { background-position: calc(var(--pulse-size) * -9) 0; }
  66.6667%  { background-position: calc(var(--pulse-size) * -10) 0; }
  73.3333%  { background-position: calc(var(--pulse-size) * -11) 0; }
  80%       { background-position: calc(var(--pulse-size) * -12) 0; }
  86.6667%  { background-position: calc(var(--pulse-size) * -13) 0; }
  93.3333%, 100% { background-position: calc(var(--pulse-size) * -14) 0; }
}
@media (prefers-reduced-motion: reduce) {
  .radial-pulse { animation: none; background-position: calc(var(--pulse-size) * -11) 0; }
}
.plan__perday { color: var(--muted); font-size: 13px; margin: 2px 0 18px; }
.plan__micro {
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
  margin-top: 10px;
  line-height: 1.45;
}
.plan {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #D8D2C4; }
.plan--featured { border-color: var(--accent); box-shadow: 0 24px 60px -24px rgba(217, 119, 87, .45); }
.plan--featured:hover { border-color: var(--accent-dark); }
.plan__badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 14px;
  border-radius: 999px;
}
.plan__badge--neutral { background: var(--dark); }
.plan__title { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.plan__tagline { color: var(--muted); font-size: 14px; margin-bottom: 18px; min-height: 42px; }
.plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__price-current { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -.01em; }
.plan__price-old { color: var(--muted); font-size: 16px; }
.plan__discount {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}
.plan__period { color: var(--muted); font-size: 13px; margin: 2px 0 18px; }
.plan__variants { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.variant {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.variant:hover { border-color: var(--accent); }
.variant input { accent-color: var(--accent); width: 15px; height: 15px; flex-shrink: 0; }
.variant.is-active { border-color: var(--accent); background: var(--accent-soft); }
.variant__label { flex: 1; line-height: 1.35; }
.variant__price { font-weight: 600; white-space: nowrap; }
.plan__features { list-style: none; margin-bottom: 22px; flex: 1; }
.plan__features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 9px;
}
.plan__features li::before { content: "✳"; position: absolute; left: 0; color: var(--accent); font-size: 13px; }
.plan__buy { width: 100%; padding-left: 16px; padding-right: 16px; }
.pricing__safety { margin-top: 32px; text-align: center; font-size: 15px; font-weight: 600; }
.pricing__market { margin-top: 10px; text-align: center; color: var(--muted); font-size: 15px; }
.pricing__market a { color: var(--accent-dark); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ═══════════ HOW ═══════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.step {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step__doodle { position: absolute; top: 24px; right: 24px; width: 52px; color: var(--accent); opacity: .55; }
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.step h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step__link { margin-top: 16px; }
.guarantee {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--dark);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.guarantee__icon { width: 42px; height: 42px; color: var(--accent); flex-shrink: 0; animation: spark-spin 14s linear infinite; }
.guarantee h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 10px; }
.guarantee p { opacity: .82; font-size: 15px; }
.guarantee__list { list-style: none; display: grid; gap: 9px; }
.guarantee__list li { position: relative; padding-left: 24px; opacity: .85; font-size: 15px; line-height: 1.55; }
.guarantee__list li::before { content: "✳"; position: absolute; left: 0; top: 1px; color: var(--accent); font-size: 13px; }
.guarantee__list b { color: #fff; }

/* ═══════════ COMPARE: ЧЕСТНОЕ СРАВНЕНИЕ ═══════════ */
.compare__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.compare__card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.compare__card h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 10px; }
.compare__card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.compare__card--us { background: var(--dark); border-color: var(--dark); }
.compare__card--us h3 { color: var(--cream); }
.compare__card--us p { color: rgba(245, 241, 232, .8); }
.compare__verdict {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  flex: 0 !important;
}
.compare__verdict--good { color: var(--accent) !important; border-top-color: rgba(245, 241, 232, .25); }

/* ═══════════ REVIEWS ═══════════ */
.reviews__summary {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 22px;
}
.reviews__score { font-family: var(--font-display); font-size: 52px; font-weight: 700; line-height: 1; display: flex; flex-direction: column; }
.reviews__stars { color: #F5A623; font-size: 18px; letter-spacing: 3px; }
.reviews__summary p { color: var(--muted); font-size: 15px; flex: 1; }
.reviews__cta { text-align: center; margin-top: 26px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review__stars { color: #F5A623; letter-spacing: 3px; }
.review blockquote { font-size: 15.5px; line-height: 1.55; flex: 1; }
.review figcaption { color: var(--muted); font-size: 13px; }

/* ═══════════ FAQ ═══════════ */
.faq__item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .15s;
}
.faq__item[open] { border-color: var(--accent); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 19px 24px;
  font-weight: 600;
  font-size: 16.5px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { color: var(--accent); font-style: normal; transition: transform .25s; flex-shrink: 0; }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }

/* ═══════════ REFERRAL ═══════════ */
.referral__cta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.referral__note { color: var(--muted); font-size: 14px; max-width: 340px; }

/* ═══════════ CTA ═══════════ */
.cta { position: relative; background: var(--dark); color: var(--cream); padding: 100px 0; overflow: hidden; text-align: center; }
.cta__spark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  color: var(--cream);
  opacity: .07;
  animation: spark-spin 40s linear infinite;
}
.cta__inner { position: relative; }
.cta h2 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; margin-bottom: 14px; }
.cta p { opacity: .78; margin-bottom: 32px; font-size: 17px; }

/* ═══════════ ДОКУМЕНТЫ (privacy / offer) ═══════════ */
.seo__title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-bottom: 16px; }
.seo__text { color: var(--muted); font-size: 15px; margin-bottom: 14px; max-width: 760px; }
.doc h2 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 28px 0 10px; }
.doc .seo__text a { color: var(--accent-dark); font-weight: 600; }
.doc .seo__text b { color: var(--ink); }

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; margin-bottom: 40px; }
.footer__legal p { margin-bottom: 6px; }
.footer__col--main p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 320px; }
.footer__col h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 14px; }
.footer__col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 9px; transition: color .15s; }
.footer__col a:hover { color: var(--accent-dark); }
.footer__legal { border-top: 1px solid var(--border); padding-top: 22px; }
.footer__legal p { color: var(--muted); font-size: 12.5px; max-width: 720px; }
.footer__legal a { color: var(--accent-dark); font-weight: 600; }

/* ═══════════ STICKY CTA (mobile) ═══════════ */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 80;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.sticky-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta .btn { width: 100%; box-shadow: 0 12px 34px -8px rgba(31, 30, 29, .4); }

/* ═══════════ MODAL ═══════════ */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(31, 30, 29, .5); backdrop-filter: blur(6px); }
.modal__card {
  position: relative;
  background: var(--bg);
  border-radius: 24px;
  padding: 36px 32px 30px;
  width: min(440px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  box-shadow: var(--shadow);
  animation: modal-in .35s cubic-bezier(.34, 1.4, .64, 1);
}
@keyframes modal-in { from { transform: translateY(26px) scale(.97); opacity: 0; } }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: var(--bg-alt);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.modal__close:hover { background: var(--border); color: var(--ink); }
.modal__title { font-family: var(--font-display); font-size: 26px; margin-bottom: 16px; }
.modal__order {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px 16px;
  font-size: 14.5px;
  margin-bottom: 14px;
}
.modal__field-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.modal__select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 12px;
  margin-bottom: 12px;
  outline: none;
  cursor: pointer;
}
.modal__select:focus { border-color: var(--accent); }
.modal__pricing { display: flex; align-items: baseline; gap: 10px; }
.modal__price { font-family: var(--font-display); font-size: 27px; font-weight: 700; color: var(--ink); display: inline-block; }
.modal__price.pulse { animation: price-pulse .35s ease; }
@keyframes price-pulse { 50% { transform: scale(1.07); } }
.modal__price-old { color: var(--muted); font-size: 15px; }
.promo { display: flex; gap: 10px; }
.promo__input { flex: 1; margin-bottom: 0; text-transform: uppercase; }
.promo__input::placeholder { text-transform: none; }
.promo__apply { padding: 10px 20px; font-size: 14px; white-space: nowrap; }
.promo__status { min-height: 20px; font-size: 13.5px; margin: 7px 2px 10px; }
.promo__status.is-ok { color: #2E7D46; }
.promo__status.is-error { color: #C0392B; }
#modalContactLabel { margin-top: 18px; }
.modal__label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.segmented { display: flex; background: var(--bg-alt); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 12px; }
.segmented__btn {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 9px;
  padding: 9px 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.segmented__btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(31, 30, 29, .15); }
.modal__input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
  margin-bottom: 14px;
}
.modal__input:focus { border-color: var(--accent); }
.modal__input[aria-invalid="true"] { border-color: #B52F2F; }
.promo .promo__input { margin-bottom: 0; }
.modal__error { color: #C0392B; font-size: 13.5px; margin: -6px 0 10px; }
.modal__submit { width: 100%; }
.modal__submit[disabled] { opacity: .6; pointer-events: none; }
.modal__note { color: var(--muted); font-size: 12.5px; margin-top: 14px; text-align: center; }
.modal__timeline {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 16px 0 18px;
  font-size: 11.5px;
  color: var(--muted);
}
.modal__timeline li { flex: 1; display: flex; align-items: center; gap: 6px; line-height: 1.25; }
.modal__timeline li b {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 11px;
  display: grid;
  place-items: center;
}
.modal__success { text-align: center; padding: 10px 0; }
.modal__success-order { font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.modal__warn {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 18px !important;
}
.modal__success-actions { display: flex; flex-direction: column; gap: 10px; }
.success-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 34px;
  display: grid;
  place-items: center;
  animation: success-pop .5s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes success-pop { from { transform: scale(0); } }
.modal__success p { color: var(--muted); margin-bottom: 22px; }

/* ═══════════ AGENTFIN: AI ЧАТ-БОТ ═══════════ */
.agentfin { position: fixed; right: 20px; bottom: 20px; z-index: 96; display: flex; align-items: center; gap: 12px; }
.agentfin__toggle {
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -10px rgba(217, 119, 87, .75);
  transition: transform .2s ease, background .2s ease;
}
.agentfin__toggle:hover { transform: translateY(-3px) scale(1.04); background: var(--accent-dark); }
.agentfin__toggle svg { width: 34px; height: 34px; color: #FAF9F5; animation: clawd-bob 2.6s ease-in-out infinite; }
.agentfin__hint {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 8px 22px -12px rgba(31, 30, 29, .35);
  animation: bubble-pop .5s cubic-bezier(.34, 1.56, .64, 1) 2s backwards;
  white-space: nowrap;
}
.agentfin.is-open .agentfin__hint { display: none; }
.agentfin__panel[hidden] { display: none; }
.agentfin__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(380px, calc(100vw - 40px));
  height: min(540px, calc(100vh - 120px));
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-in .3s cubic-bezier(.34, 1.4, .64, 1);
}
.agentfin__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1.5px solid var(--border);
}
.agentfin__logo { width: 38px; height: 38px; color: #FAF9F5; flex-shrink: 0; }
.agentfin__title { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.agentfin__title b { font-family: var(--font-display); font-size: 17px; }
.agentfin__title span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.agentfin__dot { width: 7px; height: 7px; border-radius: 50%; background: #3BA55C; display: inline-block; }
.agentfin__close {
  border: none;
  background: var(--bg-alt);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  transition: background .15s, color .15s;
}
.agentfin__close:hover { background: var(--border); color: var(--ink); }
.agentfin__messages { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.agentfin__msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.agentfin__msg--bot { background: #fff; border: 1.5px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.agentfin__msg--user { background: #A94E31; color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.agentfin__typing { padding: 8px 12px; }
.agentfin__inputrow { display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1.5px solid var(--border); }
.agentfin__input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  background: var(--bg);
  transition: border-color .15s;
}
.agentfin__input:focus { border-color: var(--accent); }
.agentfin__send {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background .15s, transform .15s;
  flex-shrink: 0;
}
.agentfin__send:hover { background: var(--accent-dark); transform: scale(1.05); }
.agentfin__send[disabled] { opacity: .5; pointer-events: none; }
.agentfin__note { font-size: 12px; color: var(--muted); text-align: center; padding: 0 12px 10px; background: #fff; }
body.af-open .sticky-cta { display: none; }

/* ═══════════ REVEAL ═══════════ */
/* скоуп html.js: если main.js не загрузился, контент остаётся видимым */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════ АДАПТИВ ═══════════ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__scene { height: 300px; margin-top: -10px; }
  .scene__spark { width: 180px; height: 180px; }
  .nav, .header__cta { display: none; }
  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .header.menu-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 24px;
    gap: 18px;
  }
  .header.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.menu-open .burger span:nth-child(2) { opacity: 0; }
  .header.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .steps, .reviews__grid, .compare__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .sticky-cta { display: block; }
  .agentfin { bottom: 86px; right: 16px; }
  .agentfin__hint { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .doodle--hero-molecule { width: 72px; opacity: .35; }
  .doodle--pricing-molecule { display: none; }
  .plan--featured { order: -1; }
  .compare__grid { grid-template-columns: 1fr; }
  .agentfin__panel { position: fixed; inset: 12px 12px 88px; width: auto; height: auto; }
  .modal__timeline { font-size: 10.5px; }
  .hero { padding-top: 44px; }
  .hero__stats { gap: 22px; flex-wrap: wrap; }
  .hero__actions .btn { width: 100%; }
  .plans { grid-template-columns: 1fr; }
  .guarantee { flex-direction: column; }
  .modal__card { padding: 28px 22px 24px; }
  .reviews__cta .btn,
  .cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
  .promo { gap: 7px; }
  .promo__apply { padding-left: 12px; padding-right: 12px; }
}

/* ═══════════ ДОРОГОЙ HERO (консилиум топ-дизайнера) ═══════════ */
/* 1. Каскадный киношный вход */
html.js .hero .reveal {
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1),
              transform .8s cubic-bezier(.22,1,.36,1),
              filter .8s cubic-bezier(.22,1,.36,1);
}
html.js .hero .reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
html.js .chip.reveal          { transition-delay: .05s; }
html.js .hero__title.reveal   { transition-delay: .18s; }
html.js .hero__sub.reveal     { transition-delay: .32s; }
html.js .hero__actions.reveal { transition-delay: .44s; }
html.js .hero__micro.reveal   { transition-delay: .54s; }
html.js .hero__stats.reveal   { transition-delay: .62s; }
html.js .hero__scene.reveal   { transition-delay: .3s; transform: translateY(0) scale(.965); }

/* 2. Shine на главной CTA */
.hero__actions .btn--primary { position: relative; overflow: hidden; }
.hero__actions .btn--primary::after {
  content: "";
  position: absolute; inset: -2px;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.38) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: btn-shine 6s cubic-bezier(.4,0,.2,1) 2.4s infinite;
  pointer-events: none;
}
@keyframes btn-shine { 0% { transform: translateX(-120%); } 14%, 100% { transform: translateX(120%); } }
.btn--primary:hover  { box-shadow: 0 16px 38px -12px rgba(201,100,66,.6), 0 3px 10px -4px rgba(201,100,66,.35); }
.btn--primary:active { transform: translateY(0) scale(.985); }

/* 3. Дышащий свет */
.hero__glow { will-change: transform; animation: glow-breathe 14s ease-in-out infinite alternate; }
@keyframes glow-breathe {
  from { transform: translate3d(-2%, -1%, 0) rotate(-1.5deg) scale(1); }
  50%  { transform: translate3d(1.5%, 2%, 0) rotate(1deg) scale(1.07); opacity: .85; }
  to   { transform: translate3d(3%, -2%, 0) rotate(2deg) scale(1.03); }
}

/* 4. Плёночное зерно */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* 6. Маркерный подсвет под «Claude» */
.hero__title em { position: relative; z-index: 0; }
.hero__title em::after {
  content: "";
  position: absolute; left: -.05em; right: -.05em; bottom: .06em;
  height: .36em; z-index: -1;
  background: var(--accent-soft);
  border-radius: 3px;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.22,1,.36,1) 1.1s;
}
html.js .hero__title em::after { transform: scaleX(0); }
html.js .hero__title.is-visible em::after { transform: scaleX(1); }

/* 7. Табличные цифры для счётчиков */
.hero__stats dt { font-variant-numeric: tabular-nums; }

/* 8. Растворение краёв бегущей строки */
.marquee { position: relative; }
.marquee::before, .marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 90px;
  z-index: 1; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.marquee::after  { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }

/* reduced-motion: каскад и подсвет без задержек и блюра */
@media (prefers-reduced-motion: reduce) {
  html.js .hero .reveal { filter: none; transition-delay: 0s !important; }
  .hero__title em::after { transition-delay: 0s !important; }
}

/* ═══════════ АМБИЕНТ-ФОН HERO: равномерное поле декора ═══════════ */
.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.amb { position: absolute; }
.amb svg { width: 100%; height: 100%; color: inherit; }
/* дрейф — на transform обёртки; параллакс пишет в translate и не конфликтует */
.amb--1 { top: 6%;    right: 5%;  width: 300px; height: 300px; color: var(--accent); opacity: .06; animation: amb-a 26s ease-in-out infinite alternate; }
.amb--1 svg { animation: spark-spin 55s linear infinite; }
.amb--2 { top: 14%;   left: 36%;  width: 84px;  height: 84px;  color: var(--accent); opacity: .09; animation: amb-b 22s ease-in-out infinite alternate; }
.amb--3 { top: 56%;   right: 26%; width: 110px; height: 110px; color: var(--ink);    opacity: .06; animation: amb-c 30s ease-in-out infinite alternate; }
.amb--4 { bottom: 8%; left: 4%;   width: 130px; height: 130px; color: var(--accent); opacity: .07; animation: amb-b 28s ease-in-out infinite alternate-reverse; }
.amb--4 svg { animation: spark-spin 70s linear infinite reverse; }
.amb--5 { top: 66%;   left: 52%;  width: 54px;  height: 54px;  color: var(--accent); opacity: .10; animation: amb-c 20s ease-in-out infinite alternate; }
.amb--6 { top: 8%;    left: 7%;   width: 84px;  height: 84px;  color: var(--ink);    opacity: .05; animation: amb-a 24s ease-in-out infinite alternate-reverse; }
@keyframes amb-a {
  from { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(16px, -22px) rotate(4deg); }
  to   { transform: translate(-10px, 12px) rotate(-3deg); }
}
@keyframes amb-b {
  from { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(-18px, 14px) rotate(-6deg) scale(1.06); }
  to   { transform: translate(12px, -10px) rotate(5deg) scale(.97); }
}
@keyframes amb-c {
  from { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(10px, 18px) rotate(8deg); }
  to   { transform: translate(-14px, -8px) rotate(-5deg); }
}
@media (max-width: 900px) {
  .amb--2, .amb--5, .amb--6 { display: none; }
  .amb--1 { width: 180px; height: 180px; }
}

/* ═══════════ MACWIN: парящее окно с живыми экранами ═══════════ */
.macwin {
  position: absolute;
  top: -80px;
  right: 0;
  width: min(430px, 96%);
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #FDFCFA;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -25px rgba(31, 30, 29, .35), 0 8px 22px -12px rgba(31, 30, 29, .2);
  animation: win-float 10s ease-in-out infinite;
  will-change: transform;
}
@keyframes win-float {
  0%, 100% { transform: perspective(900px) rotateX(1.2deg) rotateY(-2deg) translateY(0); }
  50%      { transform: perspective(900px) rotateX(-.8deg) rotateY(1.4deg) translateY(-12px); }
}
.macwin__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #F0EEE6;
  border-bottom: 1px solid var(--border);
}
.macwin__bar i { width: 11px; height: 11px; border-radius: 50%; }
.macwin__bar i:nth-child(1) { background: #FF5F57; }
.macwin__bar i:nth-child(2) { background: #FEBC2E; }
.macwin__bar i:nth-child(3) { background: #28C840; }
.macwin__bar span { margin-left: 8px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.macwin__body { position: relative; height: 285px; }
.macwin__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; padding: 16px 18px; }
.macwin__slide.is-active { opacity: 1; }

/* — слайд 1: терминал Claude Code — */
.macwin__slide--code { background: #191917; font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12px; line-height: 1.9; color: #E8E4DA; }
.t-line { opacity: 0; }
.macwin__slide--code.is-active .t-line { animation: t-in .35s ease both; }
.macwin__slide--code.is-active .t-1 { animation-delay: .2s; }
.macwin__slide--code.is-active .t-2 { animation-delay: .7s; }
.macwin__slide--code.is-active .t-3 { animation-delay: 1.3s; }
.macwin__slide--code.is-active .t-4 { animation-delay: 2s; }
.macwin__slide--code.is-active .t-5 { animation-delay: 2.8s; }
.macwin__slide--code.is-active .t-6 { animation-delay: 3.3s; }
.macwin__slide--code.is-active .t-7 { animation-delay: 3.9s; }
.macwin__slide--code.is-active .t-8 { animation-delay: 4.4s; }
@keyframes t-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.t-prompt { color: var(--accent); }
.t-spark { color: var(--accent); }
.t-dim { color: #8B877C; }
.t-add { color: #7CC48A; }
.t-ok { color: #4FBF67; font-weight: 700; }
.t-cursor { display: inline-block; width: 8px; height: 14px; background: var(--accent); vertical-align: -2px; animation: cursor-blink 1s steps(1) infinite; }
@keyframes cursor-blink { 50% { opacity: 0; } }

/* — слайд 2: чат Claude — */
.macwin__slide--chat { background: var(--bg); display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.c-msg { max-width: 85%; padding: 9px 13px; border-radius: 13px; font-size: 12.5px; line-height: 1.5; opacity: 0; }
.macwin__slide--chat.is-active .c-msg { animation: t-in .45s ease both; }
.macwin__slide--chat.is-active .c-msg:nth-child(1) { animation-delay: .3s; }
.macwin__slide--chat.is-active .c-msg:nth-child(2) { animation-delay: 1.1s; }
.macwin__slide--chat.is-active .c-msg:nth-child(3) { animation-delay: 2.2s; }
.macwin__slide--chat.is-active .c-msg:nth-child(4) { animation-delay: 3s; }
.c-msg--user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.c-msg--ai { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.c-spark { color: var(--accent); margin-right: 6px; }
.c-typing i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); margin-right: 3px; animation: typing-dot 1s ease-in-out infinite; }
.c-typing i:nth-of-type(2) { animation-delay: .15s; }
.c-typing i:nth-of-type(3) { animation-delay: .3s; }
@keyframes typing-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* — слайд 3: Artifacts — */
.macwin__slide--art { background: var(--bg); display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; align-items: stretch; }
.a-code { background: #191917; border-radius: 10px; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; }
.a-code i { display: block; height: 7px; border-radius: 4px; background: linear-gradient(90deg, #6B675C, #4A4740); opacity: 0; }
.macwin__slide--art.is-active .a-code i { animation: t-in .4s ease both; }
.macwin__slide--art.is-active .a-code i:nth-child(1) { animation-delay: .2s; background: linear-gradient(90deg, var(--accent), #a35339); }
.macwin__slide--art.is-active .a-code i:nth-child(2) { animation-delay: .35s; }
.macwin__slide--art.is-active .a-code i:nth-child(3) { animation-delay: .5s; }
.macwin__slide--art.is-active .a-code i:nth-child(4) { animation-delay: .65s; background: linear-gradient(90deg, #7CC48A, #4d8a58); }
.macwin__slide--art.is-active .a-code i:nth-child(5) { animation-delay: .8s; }
.macwin__slide--art.is-active .a-code i:nth-child(6) { animation-delay: .95s; }
.macwin__slide--art.is-active .a-code i:nth-child(7) { animation-delay: 1.1s; }
.a-preview { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; }
.a-preview b { font-size: 11.5px; color: var(--ink); margin-bottom: 10px; }
.a-bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; }
.a-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), var(--accent-dark)); height: var(--h); transform: scaleY(0); transform-origin: bottom; }
.macwin__slide--art.is-active .a-bars i { animation: bar-grow .8s cubic-bezier(.22,1,.36,1) both; }
.macwin__slide--art.is-active .a-bars i:nth-child(1) { animation-delay: .5s; }
.macwin__slide--art.is-active .a-bars i:nth-child(2) { animation-delay: .65s; }
.macwin__slide--art.is-active .a-bars i:nth-child(3) { animation-delay: .8s; }
.macwin__slide--art.is-active .a-bars i:nth-child(4) { animation-delay: .95s; }
.macwin__slide--art.is-active .a-bars i:nth-child(5) { animation-delay: 1.1s; }
@keyframes bar-grow { to { transform: scaleY(1); } }

@media (max-width: 900px) {
  .macwin { width: 340px; max-width: 94%; right: auto; left: 50%; margin-left: min(-170px, -47%); }
  .macwin__body { height: 215px; }
  .hero__scene { height: 400px; }
}

/* ═══════════ ЖИВОЙ СЧЁТЧИК «заказов сегодня» ═══════════ */
.hero__micro { margin-bottom: 12px; }
.hero__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}
.hero__live b {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.hero__live b.bump { animation: live-bump .45s ease; }
@keyframes live-bump { 40% { transform: scale(1.4); color: var(--accent-dark); } }
.hero__live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3BA55C; position: relative; flex-shrink: 0;
}
.hero__live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #3BA55C;
  animation: live-ping 1.9s ease-out infinite;
}
@keyframes live-ping { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.6); opacity: 0; } }
html.js .hero__live.reveal { transition-delay: .58s; }

/* ═══════════ КОМПАКТНЕЕ И ВЫШЕ: счётчик заказов над сгибом ═══════════ */
.hero { padding-top: 34px; }
.hero__title { font-size: clamp(36px, 5vw, 58px); margin: 16px 0 16px; }
.hero__sub { margin-bottom: 22px; }
.hero__actions { margin-bottom: 12px; }
.hero__live { margin-bottom: 24px; }
.hero__stats { padding-bottom: 28px; }
.macwin { top: -120px; }
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .hero__stats { padding-bottom: 20px; }
}

/* ═══════════ CLAUDE-STYLE APP SHELL · 2026 REFRESH ═══════════ */
:root {
  --bg: #F7F7F5;
  --bg-alt: #F1F1EF;
  --ink: #242321;
  --muted: #73716C;
  --border: #DEDDD8;
  --accent: #D97757;
  --accent-dark: #C96546;
  --accent-soft: #F3E6DF;
  --dark: #171716;
  --radius: 22px;
  --shadow: 0 18px 45px -30px rgba(30, 29, 27, .42);
}

body {
  padding-left: 276px;
  background: #F7F7F5;
  font-size: 15px;
}

.container { max-width: 1420px; padding-left: 38px; padding-right: 38px; }
.section { padding: 112px 0; }
.marquee,
.audience { display: none; }

/* Боковая панель как в рабочем пространстве Claude */
.header {
  position: fixed;
  inset: 0 auto 0 0;
  width: 276px;
  height: 100dvh;
  z-index: 90;
  background: #F7F7F5;
  border: 0;
  border-right: 1px solid var(--border);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header__inner {
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.sidebar__brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 20px;
}
.sidebar__brandrow .logo { gap: 9px; }
.sidebar__brandrow .logo__spark { width: 24px; height: 24px; }
.sidebar__brandrow .logo__text { font-size: 21px; font-weight: 600; }
.sidebar__icons { color: #585650; font-size: 19px; letter-spacing: .04em; }
.nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #3F3D39;
  font-size: 14.5px;
  font-weight: 500;
}
.nav a:hover { background: #ECECEA; color: var(--ink); }
.nav a span {
  display: grid;
  place-items: center;
  width: 22px;
  text-align: center;
  font-size: 19px;
  line-height: 1;
  color: #55534E;
}
.nav a span svg { width: 17px; height: 17px; }
.nav a.nav__primary span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E9E9E6;
}
.sidebar__empty {
  flex: 1;
  display: grid;
  place-items: start center;
  padding-top: 54px;
  color: #98958E;
  font-size: 12.5px;
  text-align: center;
  line-height: 1.5;
}
.header__cta {
  width: 100%;
  border-radius: 10px;
  background: var(--dark);
  box-shadow: none;
}
.header__cta:hover { background: #30302D; transform: none; }
.sidebar__account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 8px 4px;
}
.sidebar__account > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #292825;
  color: white;
  font: 600 12px var(--font-body);
}
.sidebar__account div { display: flex; flex-direction: column; line-height: 1.25; }
.sidebar__account b { font-size: 13px; }
.sidebar__account small { color: var(--muted); font-size: 11px; }
.burger { display: none; }

/* Первая сцена: спокойный пустой рабочий стол и composer */
.hero.claude-home {
  position: relative;
  min-height: max(720px, 100dvh);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FBFBF9;
  border-bottom: 1px solid var(--border);
}
.hero.claude-home::after { display: none; }
.hero__status {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  background: #F0F0ED;
  padding: 6px 10px;
  color: #77746E;
  font-size: 12.5px;
  white-space: nowrap;
}
.hero__status i { font-style: normal; color: #AAA7A0; }
.hero__status a { color: #55524D; border-bottom: 1px solid #77746E; }
.hero__help {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #4A4843;
  font-size: 20px;
}
.hero__help svg { width: 20px; height: 20px; }
.hero__workspace {
  width: min(820px, calc(100% - 72px));
  margin-top: -20px;
  text-align: center;
}
.hero__greeting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 16px;
}
.hero__greeting svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
  animation: none;
}
.hero__greeting h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.035em;
}
.hero__primary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 28px;
  max-width: 760px;
}
.hero__primary-cta p {
  color: #55524D;
  font-size: 15px;
  line-height: 1.4;
}
.hero__primary-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  background: #171716;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 26px -18px rgba(31, 30, 29, .7);
}
.hero__primary-cta a:hover { background: #33322F; transform: translateY(-1px); }
.hero__disclaimer {
  margin: -18px auto 24px;
  color: #6B6862;
  font-size: 11.5px;
  line-height: 1.4;
}
.composer {
  min-height: 166px;
  padding: 24px 26px 17px;
  background: #FFF;
  border: 1px solid #D7D6D1;
  border-radius: 24px;
  box-shadow: 0 16px 40px -30px rgba(31, 30, 29, .48);
  text-align: left;
  display: flex;
  flex-direction: column;
}
.composer__prompt { color: #66635E; font-size: 17px; margin-bottom: 7px; }
.composer__answer { color: #A09D96; font-size: 13px; }
.composer__bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 13px;
}
.composer__plus {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #33312D;
  font-size: 24px;
}
.composer__plus:hover { background: #F1F1EF; }
.composer__model {
  margin-left: auto;
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #77746F;
  font-size: 13px;
}
.composer__model b { color: #262522; font-weight: 600; }
.composer__model i { font-style: normal; }
.composer__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  background: #171716;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.composer__submit:hover { background: #33322F; }
.prompt-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.prompt-chips a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #DEDDD8;
  border-radius: 10px;
  background: #FBFBF9;
  color: #302F2C;
  font-size: 12.5px;
  box-shadow: 0 4px 10px -9px rgba(31, 30, 29, .7);
}
.prompt-chips a:hover { background: #F0F0ED; border-color: #C8C6C0; }
.prompt-chips span { color: #67645E; font-size: 15px; }
.prompt-chips span svg { width: 15px; height: 15px; display: block; }
.hero__microline { margin-top: 17px; color: #67645E; font-size: 11.5px; }
.hero__proofs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 22px auto 0;
  max-width: 690px;
}
.hero__proof {
  min-height: 86px;
  padding: 13px 14px;
  border: 1px solid #E1E0DC;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 24px -22px rgba(31, 30, 29, .45);
  text-align: left;
}
.hero__proof:hover { background: #FFF; border-color: #D0CEC8; transform: translateY(-1px); }
.hero__proof b {
  display: block;
  margin-bottom: 6px;
  color: #262522;
  font-size: 13.5px;
  font-weight: 600;
}
.hero__proof span {
  display: block;
  color: #77746E;
  font-size: 11.5px;
  line-height: 1.35;
}
.hero__insight {
  position: absolute;
  right: 24px;
  bottom: 118px;
  width: 236px;
  padding: 12px;
  border: 1px solid #D9D8D3;
  border-radius: 15px;
  background: #FFF;
  box-shadow: 0 12px 30px -22px rgba(31, 30, 29, .45);
}
.hero__insight-close { position: absolute; top: -12px; right: -7px; font-size: 18px; color: #55524C; }
.hero__insight-art {
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #F4F4F2;
  margin-bottom: 12px;
}
.hero__insight-art svg { width: 70px; height: 70px; color: #D97757; }
.hero__insight b { display: block; font-size: 13px; margin: 0 3px 5px; }
.hero__insight p { color: var(--muted); font-size: 11.5px; line-height: 1.35; margin: 0 3px 10px; }
.hero__insight a {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 8px;
  background: #171716;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}

/* Тарифы по композиции из референса */
.pricing {
  background: #F5F5F3;
  overflow: hidden;
  padding-top: 118px;
}
.pricing .doodle { display: none; }
.pricing .section__eyebrow,
.pricing .section__title,
.pricing .section__sub { margin-left: auto; margin-right: auto; text-align: center; }
.pricing .section__eyebrow {
  color: #77746E;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12.5px;
  margin-bottom: 10px;
}
.pricing .section__title {
  max-width: 720px;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 500;
  letter-spacing: -.025em;
  margin-bottom: 28px;
}
.pricing .section__sub { max-width: 680px; font-size: 15px; margin-bottom: 42px; }
.pricing-tabs {
  width: min(450px, 100%);
  margin: 0 auto 52px;
  padding: 3px;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  border-radius: 14px;
  background: #EBEBE8;
}
.pricing-tab {
  height: 52px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #6A6761;
  font: 500 15px var(--font-body);
  cursor: pointer;
}
.pricing-tab.is-active {
  background: #FFF;
  color: #252421;
  box-shadow: 0 2px 8px -5px rgba(31, 30, 29, .35);
}
.plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  min-height: 660px;
  align-items: stretch;
}
.plans[data-active-group="team"] {
  grid-template-columns: minmax(320px, 560px);
  justify-content: center;
}
.plan[hidden] { display: none !important; }
.plan {
  padding: 34px 28px 26px;
  border: 1px solid #DAD9D4;
  border-radius: 24px;
  box-shadow: 0 10px 22px -20px rgba(31, 30, 29, .55);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.plan:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -25px rgba(31, 30, 29, .5); border-color: #C7C5BF; }
.plan--featured { border-color: #DAD9D4; box-shadow: 0 10px 22px -20px rgba(31, 30, 29, .55); }
.plan--featured:hover { border-color: #C7C5BF; }
.plan__icon { width: 56px; height: 56px; color: #1E1D1A; margin-bottom: 22px; }
.plan__badge {
  top: 22px;
  right: 22px;
  left: auto;
  background: #EFEFEC;
  color: #5E5B55;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0;
}
.plan__badge--neutral { background: #EFEFEC; color: #5E5B55; }
.plan__title {
  font-family: var(--font-body);
  font-size: 23px;
  line-height: 1.15;
  font-weight: 650;
  margin-bottom: 5px;
}
.plan__tagline { min-height: 40px; font-size: 13.5px; margin-bottom: 22px; }
.plan__price { gap: 8px; }
.plan__price-current { font-family: var(--font-body); font-size: 34px; line-height: 1; }
.plan__price-old { font-size: 13px; }
.plan__discount { background: #F0EFEC; color: #47719B; font-size: 11px; }
.plan__period { margin: 5px 0 0; font-size: 11.5px; }
.plan__perday { margin: 2px 0 18px; font-size: 11.5px; }
.plan__variants {
  padding: 4px;
  gap: 4px;
  border-radius: 13px;
  background: #F1F1EF;
  margin-bottom: 20px;
}
.variant {
  min-height: 45px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  color: #5F5C56;
  font-size: 11.5px;
}
.variant:hover { border: 0; background: rgba(255,255,255,.55); }
.variant.is-active { border: 0; background: #FFF; color: #2A2926; box-shadow: 0 2px 8px -6px rgba(31, 30, 29, .5); }
.variant input { width: 13px; height: 13px; accent-color: #242320; }
.variant__price { font-size: 11px; }
.plan__features {
  border-top: 1px solid #E6E5E1;
  padding-top: 24px;
  margin: 2px -28px 22px;
  padding-left: 28px;
  padding-right: 28px;
}
.plan__features li { padding-left: 23px; color: #55524D; font-size: 12.5px; margin-bottom: 10px; }
.plan__features li::before { content: "✓"; color: #8D8A83; font-size: 14px; }
.plan__buy,
.plan .btn--primary,
.plan .btn--ghost {
  min-height: 51px;
  border: 0;
  border-radius: 10px;
  background: #171716;
  color: #FFF;
  box-shadow: none;
  font-size: 14px;
}
.plan__buy:hover,
.plan .btn--primary:hover,
.plan .btn--ghost:hover { background: #34332F; color: #FFF; transform: none; }
.plan__micro { font-size: 10.5px; }
.pricing__market { margin-top: 30px; font-size: 12.5px; }

/* Остальные блоки становятся спокойнее и ближе к продуктовой странице */
.section--alt { background: #F1F1EF; }
.step,
.compare__card,
.reviews__summary,
.review,
.faq__item,
.guarantee { border-width: 1px; box-shadow: none; }
.section__title { font-weight: 500; letter-spacing: -.02em; }
.btn { border-radius: 10px; }
.btn--primary { background: #171716; box-shadow: none; }
.btn--primary:hover { background: #34332F; }
.cta { background: #242320; }
.agentfin__toggle { background: #D97757; box-shadow: 0 12px 30px -14px rgba(120, 60, 42, .7); }

@media (max-width: 1480px) {
  .hero__insight { display: none; }
}

@media (max-width: 1180px) {
  body { padding-left: 232px; }
  .header { width: 232px; }
  .container { padding-left: 26px; padding-right: 26px; }
  .hero__workspace { width: min(720px, calc(100% - 50px)); }
  .hero__insight { display: none; }
  .plans { gap: 16px; }
  .plan { padding-left: 20px; padding-right: 20px; }
  .plan__features { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 900px) {
  body { padding-left: 0; }
  .header {
    position: sticky;
    inset: auto;
    width: 100%;
    height: 62px;
    background: rgba(251,251,249,.94);
    border-right: 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }
  .header__inner {
    height: 62px;
    padding: 0 18px;
    flex-direction: row;
    align-items: center;
  }
  .sidebar__brandrow { padding: 0; }
  .sidebar__icons,
  .sidebar__empty,
  .sidebar__account { display: none; }
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .header.menu-open .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 62px;
    padding: 14px;
    gap: 2px;
    background: #FBFBF9;
  }
  .hero.claude-home { min-height: calc(100dvh - 62px); }
  .plans { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .plans[data-active-group="team"] { grid-template-columns: 1fr; }
  .plan--featured { order: initial; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .container { padding-left: 18px; padding-right: 18px; }
  .hero.claude-home { min-height: 690px; padding: 74px 0 88px; align-items: center; }
  .hero__status { top: 14px; }
  .hero__help { display: none; }
  .hero__workspace { width: calc(100% - 28px); margin-top: 0; }
  .hero__greeting { gap: 10px; margin-bottom: 26px; }
  .hero__greeting svg { width: 28px; height: 28px; }
  .hero__greeting h1 { font-size: clamp(34px, 11vw, 46px); }
  .hero__primary-cta { margin-bottom: 24px; }
  .hero__primary-cta p { text-align: center; }
  .hero__disclaimer { margin-top: -14px; padding: 0 18px; }
  .composer { min-height: 190px; padding: 19px 17px 14px; border-radius: 20px; }
  .composer__prompt { font-size: 15px; }
  .composer__answer { max-width: 270px; }
  .composer__model span { display: none; }
  .composer__submit { padding: 0 12px; }
  .prompt-chips { gap: 6px; }
  .prompt-chips a { min-height: 34px; padding: 0 10px; font-size: 11px; }
  .prompt-chips a:nth-child(4),
  .prompt-chips a:nth-child(5) { display: none; }
  .hero__microline { padding: 0 24px; line-height: 1.5; }
  .hero__proofs {
    grid-template-columns: 1fr;
    width: min(294px, calc(100% - 96px));
    max-width: none;
    margin: 18px auto 0 14px;
  }
  .hero__proof {
    min-height: auto;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 8px;
    align-items: center;
    padding: 9px 13px;
  }
  .hero__proof b { margin: 0; }
  .hero__proof span { font-size: 11px; line-height: 1.25; }
  .pricing { padding-top: 80px; }
  .pricing .section__title { font-size: 36px; }
  .pricing-tabs { margin-bottom: 34px; }
  .pricing-tab { height: 46px; font-size: 13px; }
  .plan { padding: 30px 22px 24px; }
  .plan__features { margin-left: -22px; margin-right: -22px; padding-left: 22px; padding-right: 22px; }
}

/* Юридические страницы используют обычную шапку, без app-sidebar главной. */
body.doc-page { padding-left: 0; }
.doc-page .header {
  position: sticky;
  inset: auto;
  width: 100%;
  height: 68px;
  border-right: 0;
  border-bottom: 1px solid var(--border);
}
.doc-page .header__inner {
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  flex-direction: row;
  align-items: center;
}
