/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./app/landing.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* LABA Post — landing + CopyFlow tour (violet aurora). Ported from _remix7/laba (landing.html <style>). Base tokens/buttons/skeletons come from globals.css. */

  /* ===== Landing — neutral graphite theme (Headless UI / Linear), индиго-акцент ===== */
  /* Легаси-токены --lp-* сохранены по имени и переопределены на нейтральные —
     чтобы переиспользуемые блоки (auth/cc/cf/ah/pricing) стали тёмно-серыми
     без правки их CSS. Единственная хрома — var(--accent). */
  .lp {
    height: 100%; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; display: flex; flex-direction: column;
    position: relative;
    --lp-card: color-mix(in srgb, var(--surface) 86%, transparent);
    --lp-line: var(--border);
    --lp-disc: var(--bg-base);
    --lp-violet: var(--accent);
    --pcf-tint: var(--accent);
    background:
      radial-gradient(135% 80% at 50% -18%, #16161b 0%, #0c0c10 48%, #08080b 100%);
  }
  .lp[data-theme="light"] {
    --lp-card: color-mix(in srgb, var(--surface) 92%, transparent);
  }
  .lp::-webkit-scrollbar { width: 0; }

  /* Смена темы — не «чпок», а кросс-фейд: тёмный градиент остаётся базовым
     фоном .lp (никогда не переключается сам), а светлый лежит поверх отдельным
     слоем и плавно проявляется через opacity. Так работает гарантированно
     везде — в отличие от прямого transition на background (интерполяция
     градиентов по цвету поддержана не всеми движками одинаково). */
  .lp::before {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(135% 80% at 50% -18%, #ffffff 0%, #f4f4f6 52%, #ececef 100%);
    opacity: 0; transition: opacity .7s ease;
  }
  .lp[data-theme="light"]::before { opacity: 1; }
  @media (prefers-reduced-motion: reduce) { .lp::before { transition: none; } }

  /* nav */
  .lp-header {
    flex: none; display: flex; align-items: center; justify-content: space-between;
    padding: 18px clamp(18px, 4vw, 48px); position: sticky; top: 0; z-index: 30;
    background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, -webkit-backdrop-filter .3s ease;
    transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
    transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, -webkit-backdrop-filter .3s ease;
  }
  .lp-header[data-scrolled="true"] {
    background: color-mix(in srgb, var(--lp-disc) 70%, transparent);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px); border-bottom: 1px solid var(--lp-line);
  }
  .lp-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; z-index: 2; }
  .lp-logo {
    width: 34px; height: 34px; border-radius: 10px; flex: none;
    background: linear-gradient(135deg, var(--accent), #8B5CF6);
    color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 55%, transparent);
    transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
  }
  .lp-brand:hover .lp-logo { transform: rotate(-8deg) scale(1.06); box-shadow: 0 8px 26px color-mix(in srgb, var(--accent) 65%, transparent); }
  @media (prefers-reduced-motion: reduce) { .lp-logo { transition: none; } .lp-brand:hover .lp-logo { transform: none; } }
  .lp-word { font-size: 17px; font-weight: 640; letter-spacing: -.02em; color: var(--text-primary); transition: color .35s ease; }
  .lp-word-dim { color: var(--text-tertiary); font-weight: 560; transition: color .35s ease; }
  @media (prefers-reduced-motion: reduce) { .lp-word, .lp-word-dim { transition: none; } }
  .lp-navlinks {
    position: absolute; left: 50%; transform: translateX(-50%);
    display: flex; gap: 4px;
  }
  .lp-navlinks a {
    position: relative; padding: 8px 6px; font-size: 13.5px; font-weight: 520; letter-spacing: -.01em;
    color: var(--text-secondary); text-decoration: none; transition: color .15s;
  }
  .lp-navlinks a::after {
    content: ''; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 1.5px;
    background: var(--lp-violet); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .lp-navlinks a:hover { color: var(--text-primary); }
  .lp-navlinks a:hover::after { transform: scaleX(1); }
  .lp-nav { display: flex; align-items: center; gap: 8px; z-index: 2; }
  .lp-theme { width: 40px; height: 40px; border: 1px solid var(--lp-line); background: var(--lp-card); }
  .lp-theme:hover { color: var(--text-primary); }
  .lp-glassbtn { background: var(--lp-card); border: 1px solid var(--lp-line); color: var(--text-primary); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .lp-glassbtn:hover { background: color-mix(in srgb, var(--lp-violet) 18%, transparent); }

  /* hero */
  .lp-main {
    position: relative; flex: none; min-height: clamp(600px, 90vh, 900px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: clamp(40px, 7vh, 90px) 20px 60px; overflow: hidden;
  }
  /* full-page gradient backdrop — not clipped to the hero, darker, animated */
  .lp-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  .lp-aurora::after {
    content: ''; position: absolute; inset: -16%;
    background:
      radial-gradient(36% 40% at 21% 22%, color-mix(in srgb, var(--accent) 46%, transparent), transparent 60%),
      radial-gradient(42% 46% at 81% 30%, color-mix(in srgb, var(--lp-violet) 50%, transparent), transparent 62%),
      radial-gradient(52% 44% at 50% 88%, color-mix(in srgb, #4763E6 42%, transparent), transparent 64%),
      radial-gradient(56% 42% at 50% 54%, color-mix(in srgb, var(--lp-violet) 50%, transparent), color-mix(in srgb, var(--lp-violet) 14%, transparent) 38%, transparent 66%);
    background-repeat: no-repeat;
    filter: blur(64px) saturate(1.05);
    opacity: var(--lp-aopacity, .85);
    animation: lpDrift 22s ease-in-out infinite alternate, lpPulse 12s ease-in-out infinite;
    will-change: transform, opacity;
  }
  .lp-aurora::before {
    content: ''; position: absolute; inset: 6% 12%; border-radius: 50%;
    background: conic-gradient(from 0deg,
      transparent 0deg, color-mix(in srgb, var(--lp-violet) 46%, transparent) 60deg,
      transparent 130deg, color-mix(in srgb, var(--accent) 44%, transparent) 200deg,
      transparent 270deg, color-mix(in srgb, #4763E6 42%, transparent) 330deg, transparent 360deg);
    filter: blur(80px); opacity: var(--lp-sweep);
    animation: lpSpin 32s linear infinite;
  }
  @keyframes lpDrift {
    0%   { transform: translate3d(-3%, -2%, 0) scale(1.03); }
    50%  { transform: translate3d(3%, 2%, 0)   scale(1.08); }
    100% { transform: translate3d(-1.5%, 3%, 0) scale(1.04); }
  }
  @keyframes lpPulse { 0%, 100% { opacity: var(--lp-pmin); } 50% { opacity: var(--lp-pmax); } }
  @keyframes lpSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
  .lp-hero { position: relative; z-index: 1; max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; }

  /* kicker — Swiss-style label: uppercase, letter-spaced, leading hairline rule (replaces pill+dot eyebrow) */
  .lp-kicker {
    display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
    font-size: 12px; font-weight: 620; letter-spacing: .16em; text-transform: uppercase;
    color: var(--lp-violet);
  }
  .lp-kicker-rule { width: 28px; height: 1px; flex: none; background: currentColor; opacity: .55; }
  .lp-kicker-center { justify-content: center; }

  .lp-title {
    margin: 28px 0 0; font-size: clamp(40px, 7.2vw, 78px); line-height: 1.0;
    font-weight: 680; letter-spacing: -.04em; color: var(--text-primary); text-wrap: balance;
    max-width: min(16ch, 100%); overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto;
  }
  .lp-title .period { color: var(--lp-violet); }
  .lp-lead {
    margin: 22px 0 0; max-width: 500px; font-size: clamp(14.5px, 2vw, 16.5px);
    line-height: 1.6; color: var(--text-secondary); text-wrap: pretty;
  }
  .lp-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
  .lp-cta-main { padding: 0 24px; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
  .lp-cta-main:hover { transform: translateY(-1px); }
  .lp-cta-alt { padding: 0 22px; }

  /* stats — clean metric row replaces overlapping coloured avatar circles */
  .lp-stats { margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0; border-top: 1px solid var(--lp-line); }
  .lp-stat { display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 20px clamp(18px, 4vw, 34px); position: relative; }
  .lp-stat + .lp-stat::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px;
    width: 1px; background: var(--lp-line); }
  .lp-stat dt { font-size: clamp(20px, 3vw, 26px); font-weight: 680; letter-spacing: -.02em; color: var(--text-primary); }
  .lp-stat dd { margin: 0; font-size: 12.5px; color: var(--text-tertiary); }

  /* ===== Bento section ===== */
  .lp-section { position: relative; z-index: 1; width: 100%; max-width: 1140px; margin: 0 auto;
    padding: clamp(30px, 6vh, 70px) clamp(18px, 4vw, 48px) 70px; }
  .lp-sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 46px; }
  .lp-sec-title { font-size: clamp(28px, 4.6vw, 48px); font-weight: 660; letter-spacing: -.03em; color: var(--text-primary); line-height: 1.04; }
  .lp-sec-sub { max-width: 460px; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }

  .bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .bento-card {
    position: relative; overflow: hidden; border-radius: 22px; padding: 22px;
    display: flex; flex-direction: column; min-height: 210px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), var(--lp-card);
    border: 1px solid var(--lp-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 24px 56px -28px rgba(8,5,24,.8), inset 0 1px 0 rgba(255,255,255,.06);
    transition: transform .25s cubic-bezier(.32,.72,0,1), border-color .25s;
  }
  .bento-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--lp-violet) 40%, var(--lp-line)); }
  .bento-card::after {
    content: ''; position: absolute; left: 50%; bottom: -42%; width: 78%; height: 78%;
    transform: translateX(-50%); pointer-events: none; filter: blur(22px);
    background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--lp-violet) 36%, transparent), transparent 70%);
  }
  .bento-card > * { position: relative; z-index: 1; }
  .c-wide { grid-column: span 4; } .c-tall { grid-column: span 2; } .c-2 { grid-column: span 2; }
  .bento-foot { margin-top: auto; }
  .bento-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--text-primary); }
  .bento-sub { margin-top: 5px; font-size: 12.5px; color: var(--text-tertiary); line-height: 1.5; max-width: 34ch; }
  .bento-head { margin-bottom: 16px; }

  /* dashboard mock */
  .dash { flex: 1 1; border-radius: 15px; background: color-mix(in srgb, var(--lp-disc) 70%, transparent);
    border: 1px solid var(--lp-line); padding: 13px; display: flex; flex-direction: column; gap: 11px; min-width: 0; }
  .dash-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .dash-top > span:first-child { white-space: nowrap; }
  .dash-chip { font-size: 10.5px; font-weight: 540; color: var(--text-tertiary); padding: 4px 9px; border-radius: 99px; white-space: nowrap;
    background: color-mix(in srgb, var(--lp-violet) 12%, transparent); }
  .dash-row { display: flex; align-items: center; gap: 10px; }
  .dash-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
  .dash-bar { height: 7px; border-radius: 99px; background: rgba(160,150,200,.18); flex: 1 1; min-width: 0; overflow: hidden; }
  .dash-bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--lp-violet)); }
  .dash-tag { font-size: 10px; color: var(--text-tertiary); white-space: nowrap; flex: none; }

  /* scheduler ring */
  .ring-wrap { flex: 1 1; display: flex; align-items: center; justify-content: center; }
  .ring { width: 142px; height: 142px; border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center;
    background: conic-gradient(var(--lp-violet) 0 var(--p, .62turn), rgba(160,150,200,.15) var(--p, .62turn) 1turn); }
  .ring::before { content: ''; position: absolute; inset: 13px; border-radius: 50%;
    background: var(--lp-disc); box-shadow: inset 0 1px 8px rgba(0,0,0,.4); }
  .ring-c { position: relative; text-align: center; }
  .ring-time { font-size: 27px; font-weight: 660; letter-spacing: -.02em; color: var(--text-primary); }
  .ring-cap { font-size: 10px; color: var(--text-tertiary); margin-top: 1px; }

  /* platform tiles */
  .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 16px; }
  .tile { aspect-ratio: 1; border-radius: 15px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; font-weight: 700; font-size: 15px; color: #fff;
    background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.02));
    border: 1px solid var(--lp-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
  .tile .tglow { position: absolute; inset: 0; opacity: .85; }
  .tile .tg-ic { position: relative; z-index: 1; display: flex; }

  /* AI orb */
  .orb-wrap { flex: 1 1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 140px; }
  .orb-ring { position: absolute; border-radius: 50%; border: 1px solid var(--lp-line); }
  .orb { width: 66px; height: 66px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 34% 28%, #D6CBFF, #7C3AED 72%); box-shadow: 0 0 44px rgba(124,58,237,.65); }
  .orb-av { position: absolute; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #fff; border: 2px solid var(--lp-disc); }

  /* analytics */
  .chart { flex: 1 1; display: flex; align-items: flex-end; gap: 7px; padding: 8px 0 14px; }
  .chart i { flex: 1 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--lp-violet), color-mix(in srgb, var(--lp-violet) 22%, transparent)); }
  .stat-num { font-size: 26px; font-weight: 680; letter-spacing: -.02em; color: var(--text-primary); }
  .stat-num small { font-size: 14px; color: var(--ok); font-weight: 660; margin-left: 6px; }

  /* ===== Footer ===== */
  .lp-footer {
    flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px;
    flex-wrap: wrap; position: relative; z-index: 1;
    padding: 26px clamp(18px, 4vw, 48px); max-width: 1140px; margin: 0 auto; width: 100%;
    font-size: 13px; color: var(--text-tertiary); border-top: 1px solid var(--lp-line);
  }
  .lp-footer-links { display: flex; gap: 18px; }
  .lp-footer a { color: var(--text-tertiary); text-decoration: none; transition: color .15s; }
  .lp-footer a:hover { color: var(--text-primary); }

  /* ===== Auth dialog ===== */
  .auth-portal { position: fixed; inset: 0; z-index: 140; }
  .auth-backdrop {
    position: absolute; inset: 0; background: var(--scrim);
    -webkit-backdrop-filter: blur(3px);
            backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s ease;
  }
  .auth-portal[data-show="true"] .auth-backdrop { opacity: 1; }
  .auth-wrap {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 24px; pointer-events: none;
  }
  .auth-panel {
    pointer-events: auto; position: relative; width: 440px; max-width: 100%;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 22px; box-shadow: var(--shadow-lg);
    padding: 30px 30px 26px; outline: none;
    opacity: 0; transform: translateY(20px) scale(.92);
    transition: opacity .28s ease, transform .46s cubic-bezier(.21,1.11,.4,1);
    max-height: calc(100% - 48px); overflow-y: auto;
  }
  .auth-portal[data-show="true"] .auth-panel { opacity: 1; transform: none; }

  /* staggered reveal of panel sections on open */
  @keyframes authStagger { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: none; } }
  .auth-portal[data-show="true"] .auth-stagger > * { animation: authStagger .5s cubic-bezier(.32,.72,0,1) both; }
  .auth-stagger > *:nth-child(1) { animation-delay: .08s; }
  .auth-stagger > *:nth-child(2) { animation-delay: .15s; }
  .auth-stagger > *:nth-child(3) { animation-delay: .22s; }

  .auth-close {
    position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; z-index: 2;
    color: var(--text-tertiary);
  }

  .auth-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-right: 32px; }
  .auth-logo {
    width: 46px; height: 46px; border-radius: 13px; flex: none;
    background: linear-gradient(135deg, var(--accent), #8B5CF6);
    color: #fff; font-weight: 700; font-size: 23px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 45%, transparent);
  }
  .auth-headtext { animation: authHeadSwap .42s cubic-bezier(.32,.72,0,1) both; }
  @keyframes authHeadSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .auth-title { margin: 0; font-size: 21px; font-weight: 640; letter-spacing: -.025em; color: var(--text-primary); }
  .auth-sub { margin: 3px 0 0; font-size: 13.5px; color: var(--text-secondary); }

  /* body morphs height between tabs; inner content cascades in directionally */
  .auth-body { overflow: hidden; transition: height .42s cubic-bezier(.32,.72,0,1); margin: 0 -6px; padding: 0 6px; }
  .auth-body-inner[data-dir="1"]  { --ax: 20px; }
  .auth-body-inner[data-dir="-1"] { --ax: -20px; }
  @keyframes authItem { from { opacity: 0; transform: translate(var(--ax,0), 6px); } to { opacity: 1; transform: none; } }
  .auth-body-inner .auth-form > *,
  .auth-body-inner > .auth-or,
  .auth-body-inner > .auth-tg,
  .auth-body-inner > .auth-foot,
  .auth-body-inner > .auth-sent {
    animation: authItem .46s cubic-bezier(.32,.72,0,1) both;
  }
  .auth-body-inner .auth-form > *:nth-child(1) { animation-delay: .03s; }
  .auth-body-inner .auth-form > *:nth-child(2) { animation-delay: .08s; }
  .auth-body-inner .auth-form > *:nth-child(3) { animation-delay: .13s; }
  .auth-body-inner .auth-form > *:nth-child(4) { animation-delay: .18s; }
  .auth-body-inner .auth-form > *:nth-child(5) { animation-delay: .23s; }
  .auth-body-inner > .auth-or   { animation-delay: .19s; }
  .auth-body-inner > .auth-tg   { animation-delay: .24s; }
  .auth-body-inner > .auth-foot { animation-delay: .29s; }

  /* tabs */
  .auth-tabs {
    position: relative; display: flex; gap: 0; padding: 4px;
    background: var(--elevated); border-radius: 12px; margin-bottom: 20px;
  }
  .auth-tabs button {
    position: relative; z-index: 1; flex: 1 1; border: none; background: transparent; cursor: pointer;
    font-family: var(--font); font-size: 14px; font-weight: 560; letter-spacing: -.01em;
    color: var(--text-secondary); padding: 9px 0; border-radius: 9px; transition: color .2s;
  }
  .auth-tabs button.on { color: var(--text-primary); }
  .auth-tabs-ink {
    position: absolute; top: 4px; height: calc(100% - 8px); width: calc(50% - 4px);
    background: var(--surface); border-radius: 9px; box-shadow: var(--shadow-sm);
    transition: left .26s cubic-bezier(.32,.72,0,1);
  }
  .auth-tabs-ink[data-tab="login"] { left: 4px; }
  .auth-tabs-ink[data-tab="register"] { left: calc(50%); }

  /* form */
  .auth-form { display: flex; flex-direction: column; gap: 13px; }
  .auth-field-label { display: flex; flex-direction: column; gap: 6px; }
  .auth-field-cap { font-size: 12.5px; font-weight: 560; color: var(--text-secondary); letter-spacing: -.01em; }
  .auth-field { position: relative; display: flex; align-items: center; }
  .auth-field-ic { position: absolute; left: 13px; color: var(--text-tertiary); display: flex; pointer-events: none; }
  .auth-input {
    width: 100%; height: 48px; padding: 0 44px 0 41px;
    font-family: var(--font); font-size: 14.5px; color: var(--text-primary);
    background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px;
    outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
  }
  .auth-input::placeholder { color: var(--text-tertiary); }
  .auth-input:focus { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-subtle); }
  .auth-eye {
    position: absolute; right: 8px; width: 34px; height: 34px; border: none; background: transparent;
    color: var(--text-tertiary); cursor: pointer; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    transition: color .15s, background .15s;
  }
  .auth-eye:hover { color: var(--text-secondary); background: var(--elevated); }

  .auth-row-end { display: flex; justify-content: flex-end; margin-top: -2px; }

  /* custom checkbox */
  .auth-check { position: relative; display: flex; align-items: flex-start; gap: 11px; font-size: 13px;
    color: var(--text-secondary); line-height: 1.45; cursor: pointer; -webkit-user-select: none; user-select: none; }
  .auth-check-input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
  .auth-check-box {
    flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px;
    border: 1.5px solid var(--border-strong); background: var(--surface-2);
    display: flex; align-items: center; justify-content: center;
    transition: background .18s, border-color .18s, transform .12s;
  }
  .auth-check-tick { color: var(--on-accent); opacity: 0; transform: scale(.4);
    transition: opacity .16s ease, transform .26s cubic-bezier(.34,1.5,.5,1); }
  .auth-check:hover .auth-check-box { border-color: var(--accent); }
  .auth-check-input:active ~ .auth-check-box { transform: scale(.88); }
  .auth-check-input:checked ~ .auth-check-box { background: var(--accent); border-color: var(--accent); }
  .auth-check-input:checked ~ .auth-check-box .auth-check-tick { opacity: 1; transform: scale(1); }
  .auth-check-input:focus-visible ~ .auth-check-box { box-shadow: 0 0 0 3px var(--accent-subtle); }
  .auth-check-text { padding-top: 1px; }
  .auth-link {
    border: none; background: none; padding: 0; cursor: pointer; font-family: var(--font);
    font-size: inherit; font-weight: 560; color: var(--accent-text); transition: opacity .15s;
  }
  .auth-link:hover { opacity: .75; text-decoration: underline; }

  .auth-submit { width: 100%; margin-top: 6px; }
  .auth-submit:hover { transform: translateY(-1px); }

  .auth-or { display: flex; align-items: center; gap: 14px; margin: 18px 0; color: var(--text-tertiary); font-size: 12.5px; }
  .auth-or::before, .auth-or::after { content: ''; flex: 1 1; height: 1px; background: var(--border); }
  .auth-tg { width: 100%; }
  .auth-tg svg { color: var(--tg); }

  .auth-foot { text-align: center; font-size: 13.5px; color: var(--text-secondary); margin: 18px 0 0; }

  /* success state */
  .auth-sent { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 10px 0 4px; }
  .auth-sent-badge {
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--ok); background: color-mix(in srgb, var(--ok) 16%, transparent); margin-bottom: 18px;
  }
  .auth-sent-title { margin: 0; font-size: 22px; font-weight: 640; letter-spacing: -.02em; color: var(--text-primary); }
  .auth-sent-text { margin: 10px 0 24px; max-width: 320px; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
  .auth-sent-text strong { color: var(--text-primary); font-weight: 560; }

  /* ===== Steps (how it works) ===== */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .step {
    position: relative; overflow: hidden; border-radius: 22px; padding: 28px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), var(--lp-card);
    border: 1px solid var(--lp-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    transition: transform .25s cubic-bezier(.32,.72,0,1), border-color .25s;
  }
  .step:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--lp-violet) 40%, var(--lp-line)); }
  .step-n { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--lp-violet); }
  .step-ic {
    width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    margin: 16px 0; color: #fff; background: linear-gradient(135deg, var(--accent), #8B5CF6);
    box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--accent) 70%, transparent);
  }
  .step-title { font-size: 17px; font-weight: 620; letter-spacing: -.02em; color: var(--text-primary); }
  .step-text { margin-top: 8px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }

  /* ===== Pricing ===== */
  .pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
  @media (max-width: 1180px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
  .pc {
    position: relative; overflow: visible; display: flex; flex-direction: column; border-radius: 20px; padding: 24px 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), var(--lp-card);
    border: 1px solid var(--lp-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    transition: transform .25s cubic-bezier(.32,.72,0,1), border-color .25s, box-shadow .25s, background .5s ease;
  }
  .pc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--lp-violet) 40%, var(--lp-line)); }
  .pc-pop {
    border-color: color-mix(in srgb, var(--accent) 50%, var(--lp-line));
    box-shadow: 0 22px 60px -28px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.08);
  }
  @media (min-width: 761px) { .pc-pop { transform: scale(1.04); } .pc-pop:hover { transform: scale(1.04) translateY(-4px); } }
  .pc > .pc-badge {
    position: absolute; z-index: 1; top: 0; left: 50%; transform: translate(-50%, -50%); width: fit-content; max-width: calc(100% - 12px);
    display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap;
    padding: 7px 16px; border-radius: 99px; font-size: 11px; font-weight: 640; letter-spacing: -.01em;
    color: #fff; background: linear-gradient(135deg, var(--accent), #8B5CF6);
    box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--accent) 60%, transparent);
  }
  .pc-badge svg { flex: none; }
  .pc-badge-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  @media (prefers-reduced-motion: no-preference) {
    .pc-pop > .pc-badge { animation: pcBadgeBreathe 3.2s ease-in-out infinite; }
  }
  @keyframes pcBadgeBreathe {
    0%, 100% { box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--accent) 60%, transparent); }
    50% { box-shadow: 0 6px 22px -2px color-mix(in srgb, var(--accent) 85%, transparent); }
  }
  .pc-name { font-size: 21px; font-weight: 660; letter-spacing: -.02em; color: var(--text-primary); }
  .pc-desc { margin-top: 5px; font-size: 12.5px; color: var(--text-secondary); line-height: 1.45; min-height: 34px; }
  .pc-amount { font-size: 40px; font-weight: 680; letter-spacing: -.03em; color: var(--text-primary); line-height: 1; }
  .pc-period { font-size: 13px; font-weight: 540; color: var(--text-secondary); }
  .pc-divider { height: 1px; margin: 16px 0; background: linear-gradient(90deg, transparent, var(--lp-line) 18%, color-mix(in srgb, var(--lp-violet) 35%, var(--lp-line)) 50%, var(--lp-line) 82%, transparent); }
  .pc-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; padding-left: 15px; list-style: none; }
  .pc-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-primary); line-height: 1.35; }
  .pc-features li b { font-weight: 700; }
  .pc-li-ic { flex: none; display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 7px; color: var(--accent-text);
    background: color-mix(in srgb, var(--lp-violet) 11%, transparent); }
  .pc-li-ic--check { width: 24px; height: 24px; border-radius: 0; background: none; }
  .pc-li-ic--check svg { color: var(--accent-text); }
  .pc-pop .pc-li-lim .pc-li-ic { color: #fff; background: linear-gradient(135deg, var(--accent), #8B5CF6); }
  .pc-cta { width: 100%; margin-top: auto; }

  /* ----- Billing period toggle ----- */
  .pc-toggle-row { margin-top: 26px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
  .pc-seg {
    position: relative; display: inline-flex; padding: 4px; border-radius: 99px;
    background: color-mix(in srgb, var(--lp-violet) 7%, var(--lp-card));
    border: 1px solid var(--lp-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  }
  .pc-seg-btn {
    position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 20px; border: none; background: none; cursor: pointer; font: inherit;
    font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; border-radius: 99px;
    color: var(--text-secondary); transition: color .2s ease;
  }
  .pc-seg-btn:hover { color: var(--text-primary); }
  .pc-seg-btn.is-active { color: #fff; }
  .pc-seg-txt { position: relative; z-index: 1; }
  .pc-seg-thumb {
    position: absolute; inset: 0; z-index: 0; border-radius: 99px;
    background: linear-gradient(135deg, var(--accent), #8B5CF6);
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 75%, transparent);
  }
  .pc-seg-save {
    position: relative; z-index: 1; padding: 2px 7px; border-radius: 99px; font-size: 11px; font-weight: 680;
    background: rgba(255,255,255,.22); color: #fff;
  }
  .pc-seg-btn:not(.is-active) .pc-seg-save {
    background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text);
  }
  .pc-toggle-hint {
    display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 560;
    color: var(--accent-text);
  }
  .pc-toggle-hint svg { color: var(--accent-text); }

  /* ----- Price + limits inside card ----- */
  .pc-price-wrap { margin: 16px 0 2px; }
  .pc-price { display: flex; align-items: baseline; gap: 8px; min-height: 40px; }
  .pc-strike { font-size: 17px; font-weight: 560; color: var(--text-tertiary); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--text-tertiary) 70%, transparent); }
  .pc-yearnote { margin-top: 7px; min-height: 17px; font-size: 12.5px; font-weight: 520; color: var(--text-secondary); }

  /* Угловое свечение карточки — мягкий «бренд-блик» в духе референса (заметен в тёмной теме). */
  .pc::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
    background: radial-gradient(120% 70% at 88% 116%, color-mix(in srgb, var(--lp-violet) 16%, transparent), transparent 60%);
    opacity: .8;
  }
  .pc-pop::after {
    background: radial-gradient(130% 78% at 50% 120%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 62%);
    opacity: 1;
  }
  .pc > * { position: relative; z-index: 1; }
  .lp[data-theme="light"] .pc::after { opacity: .5; }

  /* Вход карточек — на маунте, не гейтит видимость (всегда заканчивается opacity:1). */
  .pc-rise { display: flex; opacity: 0; animation: pcRise .66s cubic-bezier(.16,1,.3,1) both; }
  .pc-rise > .pc { flex: 1 1; }
  @keyframes pcRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

  @media (prefers-reduced-motion: reduce) {
    .pc-seg-thumb { transition: none; }
    .pc-rise { opacity: 1; animation: none; }
  }

  /* ----- Фон-история тарифа: линеарт-сцена, проигрывается на hover ----- */
  /* Каждая карточка рассказывает свою историю: Старт — один пост уходит в канал,
     Pro — посты по расписанию + рост охватов, Team — движок раздаёт контент на
     множество каналов. В покое скрыто (opacity:0) — анимация только при наведении,
     replay на каждый hover. Один акцент темы, линеарт. */
  .pcf {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
    border-radius: inherit; overflow: hidden;
    opacity: 0; transform: scale(.985); transform-origin: 50% 55%;
    transition: opacity .45s ease, transform .55s cubic-bezier(.32,.72,0,1);
  }
  .pc:hover .pcf { opacity: var(--pcf-op, .2); transform: scale(1); }
  .lp[data-theme="light"] .pcf { --pcf-op: .2; }

  /* Базовые состояния элементов сцены (стартовое = «ещё не нарисовано/не пришло») */
  .pcf-draw  { fill: none; stroke: var(--pcf-tint); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
               stroke-dasharray: 1; stroke-dashoffset: 1; }
  .pcf-line  { stroke-width: 1.3; stroke: color-mix(in srgb, var(--pcf-tint) 68%, transparent); }
  .pcf-chart { stroke-width: 2.1; }
  .pcf-link2 { stroke-width: 1.3; stroke: color-mix(in srgb, var(--pcf-tint) 52%, transparent); }
  .pcf-chip  { fill: var(--pcf-tint); opacity: 0; }
  .pcf-area  { fill: color-mix(in srgb, var(--pcf-tint) 13%, transparent); opacity: 0; }
  .pcf-node2 { fill: color-mix(in srgb, var(--pcf-tint) 76%, transparent); opacity: 0; transform-box: fill-box; transform-origin: center; }
  .pcf-core  { fill: none; stroke: var(--pcf-tint); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
  .pcf-core-dot { fill: var(--pcf-tint); opacity: 0; }
  .pcf-halo  { fill: color-mix(in srgb, var(--pcf-tint) 28%, transparent); opacity: 0; transform-box: fill-box; transform-origin: center; }
  .pcf-arrive      { fill: var(--pcf-tint); opacity: 0; transform-box: fill-box; transform-origin: center; }
  .pcf-arrive-ring { fill: none; stroke: var(--pcf-tint); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
  .pcf-bar   { fill: color-mix(in srgb, var(--pcf-tint) 66%, transparent); transform-box: fill-box; transform-origin: 50% 100%; scale: 1 0; }
  .pcf-fly   { offset-rotate: auto; opacity: 0; fill: color-mix(in srgb, var(--pcf-tint) 92%, #fff);
               filter: drop-shadow(0 0 4px color-mix(in srgb, var(--pcf-tint) 65%, transparent)); }
  .pcf-fly--chip { fill: var(--pcf-tint); }

  /* Business: SLA-радар — двойное дышащее кольцо, ромб-ядро
     и 3 узла резервных регионов на разных орбитах/скоростях (базовые состояния) */
  .pcf-max-ring--1 { fill: none; stroke: var(--pcf-tint); stroke-width: 1.3; opacity: 0; transform-box: fill-box; transform-origin: center; }
  .pcf-max-ring--2 { fill: none; stroke: var(--pcf-tint); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
  .pcf-max-core { fill: var(--pcf-tint); opacity: 0; transform-box: fill-box; transform-origin: center; }
  .pcf-max-core-dot { fill: var(--pcf-tint); opacity: 0; transform-box: fill-box; transform-origin: center; }
  /* view-box (не fill-box): пивот вращения — истинный центр кольца (95,208), а не
     bbox самой точки, иначе «орбита» крутится вокруг себя и визуально не движется */
  .pcf-max-orbit-wrap { opacity: 0; transform-box: view-box; transform-origin: 150px 208px; }
  .pcf-max-orbit { fill: var(--pcf-tint); }

  /* Проигрывание истории на hover (порядок тактов задаётся --dl/--dd на элементах) */
  .pc:hover .pcf-draw   { animation: pcfDraw var(--dd, .6s) ease forwards var(--dl, 0s); }
  .pc:hover .pcf-chip   { animation: pcfDrop .5s cubic-bezier(.16,1,.3,1) forwards var(--dl, 0s); }
  .pc:hover .pcf-area   { animation: pcfFade .6s ease forwards var(--dl, 0s); }
  .pc:hover .pcf-node2  { animation: pcfPop .45s cubic-bezier(.16,1,.3,1) forwards var(--dl, 0s); }
  .pc:hover .pcf-core   { animation: pcfCore 1.7s ease-in-out infinite .3s; }
  .pc:hover .pcf-core-dot { animation: pcfFade .4s ease forwards .3s; }
  .pc:hover .pcf-halo   { animation: pcfHalo2 1.7s ease-out infinite .3s; }
  .pc:hover .pcf-arrive      { animation: pcfArrive .7s ease forwards var(--dl, 0s); }
  .pc:hover .pcf-arrive-ring { animation: pcfArriveRing .9s ease-out forwards var(--dl, 0s); }
  .pc:hover .pcf-bar    { animation: pcfBar .6s cubic-bezier(.16,1,.3,1) forwards var(--dl, 0s); }
  .pc:hover .pcf-fly    { animation: pcfFly var(--dd, 1s) ease-in-out forwards var(--dl, 0s); }
  .pc:hover .pcf-fly--loop { animation-iteration-count: infinite; }
  .pc:hover .pcf-max-ring--1 { animation: pcfMaxRing1 2.6s ease-in-out infinite .15s; }
  .pc:hover .pcf-max-ring--2 { animation: pcfMaxRing2 2.6s ease-in-out infinite .5s; }
  .pc:hover .pcf-max-core { animation: pcfMaxCore 2.2s ease-in-out infinite .1s; }
  .pc:hover .pcf-max-core-dot { animation: pcfFade .4s ease forwards .1s; }
  .pc:hover .pcf-max-orbit-wrap--1 { animation: pcfFade .4s ease forwards .3s, pcfMaxSpin 6s linear infinite; }
  .pc:hover .pcf-max-orbit-wrap--2 { animation: pcfFade .4s ease forwards .4s, pcfMaxSpinRev 9s linear infinite; }
  .pc:hover .pcf-max-orbit-wrap--3 { animation: pcfFade .4s ease forwards .5s, pcfMaxSpin 7.5s linear infinite; }

  @keyframes pcfDraw   { to { stroke-dashoffset: 0; } }
  @keyframes pcfDrop   { from { opacity: 0; translate: 0 -10px; } to { opacity: 1; translate: 0 0; } }
  @keyframes pcfFade   { to { opacity: 1; } }
  @keyframes pcfPop    { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }
  @keyframes pcfCore   { 0%, 100% { scale: .9; opacity: .75; } 50% { scale: 1.12; opacity: 1; } }
  @keyframes pcfHalo2  { 0% { opacity: .5; scale: .5; } 70%, 100% { opacity: 0; scale: 1.8; } }
  @keyframes pcfArrive     { 0% { opacity: 0; scale: .3; } 45% { opacity: 1; scale: 1.18; } 100% { opacity: .85; scale: 1; } }
  @keyframes pcfArriveRing { 0% { opacity: 0; scale: .3; } 30% { opacity: .8; } 100% { opacity: 0; scale: 1.8; } }
  @keyframes pcfBar    { from { scale: 1 0; } to { scale: 1 1; } }
  @keyframes pcfFly    { 0% { offset-distance: 0%; opacity: 0; } 14% { opacity: 1; } 86% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
  @keyframes pcfMaxRing1 { 0%, 100% { opacity: .3; scale: .92; } 50% { opacity: .65; scale: 1.03; } }
  @keyframes pcfMaxRing2 { 0%, 100% { opacity: .16; scale: .95; } 50% { opacity: .4; scale: 1.07; } }
  @keyframes pcfMaxCore  { 0%, 100% { opacity: .82; scale: 1; } 50% { opacity: 1; scale: 1.1; } }
  @keyframes pcfMaxSpin    { to { transform: rotate(360deg); } }
  @keyframes pcfMaxSpinRev { to { transform: rotate(-360deg); } }

  @media (prefers-reduced-motion: reduce) {
    .pcf * { animation: none !important; }
    .pcf-draw { stroke-dashoffset: 0; }
    .pcf-chip, .pcf-area, .pcf-node2, .pcf-core, .pcf-core-dot, .pcf-arrive { opacity: 1; }
    .pcf-bar { scale: 1 1; }
    .pcf-halo, .pcf-arrive-ring, .pcf-fly { display: none; }
    .pcf-max-ring--1, .pcf-max-ring--2, .pcf-max-core, .pcf-max-core-dot { opacity: 1; }
    .pcf-max-orbit-wrap { display: none; }
    .pc:hover .pcf { transform: none; }
  }

  /* ============================================================
     AGENT HERO (split invitation + copy projection)
     ============================================================ */
  .lp-agent-hero {
    position: relative; z-index: 1; flex: none;
    min-height: 0; box-sizing: border-box;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding: clamp(20px, 3vh, 36px) clamp(16px, 4vw, 48px) clamp(18px, 3vh, 30px);
  }
  .lp-agent-wrap { width: 100%; max-width: 1040px; }
  .lp-scrollcue {
    margin: clamp(18px, 2.6vh, 30px) auto 0; display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 4px; border: none; background: none; cursor: pointer; font: inherit;
    font-size: 12px; font-weight: 620; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-tertiary); transition: color .15s;
  }
  .lp-scrollcue:hover { color: var(--text-primary); }
  .lp-scrollcue svg { transition: transform .2s ease; }
  .lp-scrollcue:hover svg { transform: rotate(90deg) translateX(3px); }
  .lp-main-secondary { min-height: 0; }

  /* ===== Second hero (replica of production HeroGeometric) ===== */
  .lp-second {
    position: relative; z-index: 1; flex: none; overflow: hidden;
    min-height: 100dvh; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center;
    padding: clamp(80px, 12vh, 130px) clamp(16px, 4vw, 48px) clamp(40px, 8vh, 90px);
  }
  .lp-second .lp-hero { position: relative; z-index: 2; }

  /* static Swiss grid backdrop — replaces the floating gradient pills */
  .lp-grid {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
      linear-gradient(to right, var(--lp-line) 1px, transparent 1px),
      linear-gradient(to bottom, var(--lp-line) 1px, transparent 1px);
    background-size: clamp(64px, 8vw, 104px) clamp(64px, 8vw, 104px);
    -webkit-mask-image: radial-gradient(118% 86% at 50% 34%, #000 0%, transparent 72%);
    mask-image: radial-gradient(118% 86% at 50% 34%, #000 0%, transparent 72%);
    opacity: .7;
  }

  .lp-title-grad { margin-top: 6px; line-height: 1.04; max-width: min(20ch, 100%); }
  .lp-title-1 {
    background: linear-gradient(180deg, var(--text-primary), color-mix(in srgb, var(--text-primary) 78%, transparent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .lp-title-2 {
    background: linear-gradient(90deg, #6366F1, color-mix(in srgb, var(--text-primary) 70%, #8B5CF6) 50%, #F472B6);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .lp[data-theme="dark"] .lp-title-2 {
    background: linear-gradient(90deg, #A5B4FC, rgba(255,255,255,.92) 50%, #FDA4AF);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  .lp-fade { opacity: 0; animation: lpFadeUp 1s cubic-bezier(.25,.4,.25,1) var(--fd, 0s) forwards; }
  @keyframes lpFadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) {
    .lp-fade { animation: none !important; opacity: 1 !important; transform: none !important; }
  }

  .ah-card {
    display: grid; grid-template-columns: 1.04fr .96fr; overflow: hidden;
    width: 100%; min-height: min(56vh, 500px);
    border-radius: 26px; border: 1px solid var(--lp-line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)), var(--lp-card);
    box-shadow: 0 40px 100px -44px rgba(8,5,24,.92), inset 0 1px 0 rgba(255,255,255,.06);
  }
  .ah-left { padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; }
  .ah-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 560; color: var(--text-secondary); }
  .ah-spark { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--accent), #8B5CF6); }
  .ah-title { font-size: clamp(22px, 2.3vw, 29px); font-weight: 680; letter-spacing: -.03em; line-height: 1.1; color: var(--text-primary); margin: 14px 0 0; text-wrap: balance; }
  .ah-lead { font-size: 14.5px; line-height: 1.5; color: var(--text-secondary); margin: 11px 0 0; max-width: 44ch; }
  .ah-inputbar { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 7px 7px 7px 14px; border-radius: 15px; background: var(--surface); border: 1px solid var(--border-strong); }
  .ah-left .ah-inputbar { margin-top: 20px; }
  .ah-input-ic { display: flex; color: var(--accent-text); flex: none; }
  .ah-input { flex: 1 1; min-width: 0; border: none; background: transparent; outline: none; font-family: var(--font); font-size: 15px; color: var(--text-primary); }
  .ah-input::placeholder { color: var(--text-tertiary); }
  .ah-send { width: 40px; height: 40px; flex: none; border: none; border-radius: 12px; background: var(--accent); color: var(--on-accent); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 45%, transparent); transition: transform .1s; }
  .ah-send:hover { transform: translateY(-1px); }
  .ah-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
  .ah-chip { padding: 9px 15px; border-radius: 99px; border: 1px solid var(--lp-line); background: var(--lp-card); color: var(--text-secondary); font-family: var(--font); font-size: 13px; font-weight: 520; cursor: pointer; transition: .15s; }
  .ah-chip:hover { color: var(--text-primary); border-color: var(--border-strong); background: color-mix(in srgb, var(--lp-violet) 13%, transparent); }

  .ah-right { padding: 14px; display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--lp-line); background: color-mix(in srgb, var(--lp-disc) 42%, transparent); }
  .ah-proj-head { display: flex; align-items: center; gap: 8px; padding: 5px 6px 12px; }
  .ah-proj-mark { width: 24px; height: 24px; border-radius: 7px; flex: none; display: flex; align-items: center; justify-content: center;
    color: var(--accent-text); background: var(--accent-subtle); }
  .ah-proj-title { font-size: 13px; font-weight: 620; color: var(--text-primary); }
  .ah-proj-sub { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--accent-text); background: var(--accent-subtle); padding: 3px 9px; border-radius: 99px; }
  .ah-proj-stage { position: relative; flex: 1 1; min-height: 0; height: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
  .ah-proj-blur { position: absolute; inset: 0; padding: 16px; filter: blur(6px) saturate(.75); opacity: .55; transform: scale(1.02); pointer-events: none; overflow: hidden; }
  .ah-proj-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px;
    background: radial-gradient(120% 80% at 50% 34%, color-mix(in srgb, var(--lp-disc) 26%, transparent), color-mix(in srgb, var(--lp-disc) 80%, transparent)); }
  .ah-proj-orb { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff;
    background: radial-gradient(circle at 34% 28%, #D6CBFF, var(--accent) 74%); box-shadow: 0 0 40px -4px var(--accent); animation: labaFloat 5s ease-in-out infinite; }
  .ah-proj-cta-title { font-size: 16.5px; font-weight: 640; color: var(--text-primary); margin-top: 4px; }
  .ah-proj-cta-text { font-size: 13px; line-height: 1.5; color: var(--text-secondary); margin: 0; max-width: 30ch; }
  .ah-proj-btn { margin-top: 8px; }

  /* ============================================================
     LIVE COPY CARD (cc-*) — assembling profile
     ============================================================ */
  .cc-card { display: flex; flex-direction: column; gap: 13px; }
  .cc-head { display: flex; align-items: center; gap: 12px; }
  .cc-glyph { width: 46px; height: 46px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(135deg, var(--cc-accent, var(--accent)), #8B5CF6); box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--cc-accent, var(--accent)) 70%, transparent); transition: background .4s; }
  .cc-glyph.cc-glyph-empty { background: var(--elevated); color: var(--text-tertiary); border: 1px dashed var(--border-strong); box-shadow: none; }
  .cc-glyph.cc-hot { animation: ccPulse 1.1s ease .05s; }
  .cc-name { font-size: 16px; font-weight: 640; letter-spacing: -.02em; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cc-name[data-empty="true"] { color: var(--text-tertiary); font-weight: 540; }
  .cc-role { font-size: 12.5px; color: var(--text-tertiary); }
  .cc-level { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--accent-text); background: var(--accent-subtle); padding: 4px 9px; border-radius: 99px; }

  /* Вход блоков ведёт framer-motion (layout + fade-up); в CSS оставляем только пульс-кольцо. */
  .cc-block { display: flex; flex-direction: column; gap: 9px; border-radius: 14px; padding: 12px 13px; background: var(--surface-2); border: 1px solid var(--border); }
  .cc-block.cc-hot { box-shadow: 0 0 0 1px var(--accent); animation: ccPulse 1.2s ease .12s; }
  @keyframes ccPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
  @media (prefers-reduced-motion: reduce) { .cc-block, .cc-glyph.cc-hot { animation: none !important; } }
  .cc-label { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); }
  .cc-chips { display: flex; flex-wrap: wrap; gap: 7px; }
  .cc-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 540; background: var(--elevated); color: var(--text-primary); }
  .cc-chip-av { padding-left: 4px; }
  .cc-mini-av { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; flex: none; }
  .cc-chip-rub i { font-style: normal; font-weight: 700; color: var(--accent-text); }
  .cc-palette { display: flex; gap: 6px; }
  .cc-palette span { width: 28px; height: 18px; border-radius: 6px; flex: none; }
  .cc-tag { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
  .cc-tag-live { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
  .cc-tag-proj { background: var(--accent-subtle); color: var(--accent-text); }
  .cc-metrics { display: flex; flex-direction: column; gap: 10px; }
  .cc-metrics-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .cc-handle { font-size: 13px; font-weight: 600; color: var(--text-primary); }
  .cc-metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cc-metrics-grid div { display: flex; flex-direction: column; }
  .cc-metrics-grid b { font-size: 16px; font-weight: 680; color: var(--text-primary); }
  .cc-metrics-grid span { font-size: 10.5px; color: var(--text-tertiary); }
  .cc-goalrow { display: flex; flex-wrap: wrap; gap: 6px; }
  .cc-goal { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-secondary); padding: 5px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
  .cc-tone { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 560; color: var(--accent-text); background: var(--accent-subtle); padding: 6px 12px; border-radius: 99px; }
  .cc-refs { display: flex; align-items: center; }
  .cc-ref-av { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 12px; border: 2px solid var(--surface-2); margin-right: -9px; flex: none; }
  .cc-ref-cap { margin-left: 17px; font-size: 12px; color: var(--text-tertiary); }
  .cc-formats { display: flex; flex-wrap: wrap; gap: 7px; }
  .cc-fmt { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--accent-text); background: var(--accent-subtle); }

  /* ============================================================
     LANDING v2 — graphite / image-led hero / premium motion
     (переопределяет легаси .lp-section/.lp-sec-* выше; легаси .lp-main/.bento/
      .steps/.lp-second не используются в разметке)
     ============================================================ */

  /* film grain — фиксированный, не на скролл-контейнере */
  .lp-grain {
    position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  .lp[data-theme="light"] .lp-grain { opacity: .025; mix-blend-mode: multiply; }
  .lp-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

  /* Хедер до прокрутки лежит на фоне .lp (не на hero-картинке — та начинается ниже).
     В тёмной теме этот фон тёмный → форсим светлый текст. В светлой теме фон светлый →
     оставляем обычные тематические цвета (var(--text-*)), иначе текст сливается с фоном. */
  .lp[data-theme="dark"] .lp-header[data-scrolled="false"] .lp-word { color: #fff; }
  .lp[data-theme="dark"] .lp-header[data-scrolled="false"] .lp-word-dim { color: rgba(255,255,255,.55); }
  .lp[data-theme="dark"] .lp-header[data-scrolled="false"] .lp-navlinks a { color: rgba(255,255,255,.78); }
  .lp[data-theme="dark"] .lp-header[data-scrolled="false"] .lp-navlinks a:hover { color: #fff; }
  .lp[data-theme="dark"] .lp-header[data-scrolled="false"] .lp-navlinks a::after { background: #fff; }
  .lp[data-theme="dark"] .lp-header[data-scrolled="false"] .lp-theme {
    color: rgba(255,255,255,.9); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2);
  }
  .lp[data-theme="dark"] .lp-header[data-scrolled="false"] .lp-theme:hover { background: rgba(255,255,255,.16); }
  .lp[data-theme="dark"] .lp-header[data-scrolled="false"] .lp-login {
    color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2);
  }
  .lp[data-theme="dark"] .lp-header[data-scrolled="false"] .lp-login:hover { background: rgba(255,255,255,.16); }

  /* shared eyebrow (рационирован: не чаще 1 на 3 секции) */
  .lp-eyebrow {
    display: inline-block; font-size: 11.5px; font-weight: 620; letter-spacing: .16em;
    text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px;
  }

  /* ===== Hero (image-led) ===== */
  .lp-hero2 {
    position: relative; flex: none; min-height: 100dvh; display: flex; align-items: center;
    overflow: hidden; padding: clamp(92px, 12vh, 132px) clamp(18px, 5vw, 72px) clamp(56px, 9vh, 96px);
  }
  .lp-hero2-bg { position: absolute; inset: 0; z-index: 0; will-change: transform; }
  /* Кинематографичное «проявление» hero-картинки на загрузке — только filter (не opacity),
     чтобы не откладывать момент LCP-отрисовки самого тяжёлого элемента страницы. */
  .lp-hero2-bg img { filter: none; }
  @media (prefers-reduced-motion: no-preference) {
    .lp-hero2-bg img { animation: lpHeroImgIn 1.1s cubic-bezier(.16,1,.3,1) both; }
  }
  @keyframes lpHeroImgIn { from { filter: brightness(.78) saturate(.86); } to { filter: none; } }

  /* Тёмная/светлая версия hero-картинки лежат друг на друге и кросс-фейдят
     через opacity при смене темы — вместо мгновенной подмены src. */
  .lp-hero2-img { transition: opacity .8s ease; }
  .lp-hero2-img-dark { opacity: 1; }
  .lp-hero2-img-light { opacity: 0; }
  .lp[data-theme="light"] .lp-hero2-img-dark { opacity: 0; }
  .lp[data-theme="light"] .lp-hero2-img-light { opacity: 1; }
  @media (prefers-reduced-motion: reduce) { .lp-hero2-img { transition: none; } }
  .lp-hero2-scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(90deg, rgba(7,7,9,.94) 0%, rgba(7,7,9,.64) 34%, rgba(7,7,9,.14) 62%, transparent 82%),
      linear-gradient(0deg, rgba(7,7,9,.88) 0%, rgba(7,7,9,.2) 38%, transparent 60%);
  }
  /* светлая тема: под cards_light.png (белый фон) — светлый скрим кросс-фейдит
     поверх тёмного через отдельный ::after-слой (opacity), а не подменой background. */
  .lp-hero2-scrim::after {
    content: ''; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.72) 34%, rgba(255,255,255,.2) 62%, transparent 82%),
      linear-gradient(0deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.24) 38%, transparent 60%);
    opacity: 0; transition: opacity .8s ease;
  }
  .lp[data-theme="light"] .lp-hero2-scrim::after { opacity: 1; }
  @media (prefers-reduced-motion: reduce) { .lp-hero2-scrim::after { transition: none; } }
  /* тонкая «сцена»-сетка снизу, статичная, с маской затухания */
  .lp-hero2-grid {
    position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
    background-image:
      linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: clamp(56px, 7vw, 92px) clamp(56px, 7vw, 92px);
    -webkit-mask-image: radial-gradient(120% 70% at 18% 92%, #000, transparent 60%);
    mask-image: radial-gradient(120% 70% at 18% 92%, #000, transparent 60%);
  }
  .lp[data-theme="light"] .lp-hero2-grid {
    background-image:
      linear-gradient(to right, rgba(0,0,0,.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0,0,0,.05) 1px, transparent 1px);
  }
  .lp-hero2-inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; }
  .lp-hero2-eyebrow { color: color-mix(in srgb, var(--accent) 52%, #fff); margin-bottom: 18px; transition: color .5s ease; }
  .lp-hero2-title {
    margin: 0; max-width: 16ch; color: #fff;
    font-size: clamp(40px, 6.4vw, 76px); font-weight: 680; letter-spacing: -.04em; line-height: 1.02;
    transition: color .5s ease;
  }
  .lp-hero2-accent { color: color-mix(in srgb, var(--accent) 50%, #fff); transition: color .5s ease; }
  .lp-hero2-lead {
    margin: 22px 0 0; max-width: 30em; color: rgba(255,255,255,.72);
    font-size: clamp(15px, 1.5vw, 17.5px); line-height: 1.55;
    transition: color .5s ease;
  }
  .lp-hero2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
  .lp-hero2-cta .btn-primary { box-shadow: 0 14px 38px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
  .lp-hero2-cta .btn-primary:hover { transform: translateY(-1px); }
  .lp-hero2-cta .lp-glassbtn {
    background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff;
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    transition: background .5s ease, border-color .5s ease, color .5s ease;
  }
  .lp-hero2-cta .lp-glassbtn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); }
  @media (prefers-reduced-motion: reduce) {
    .lp-hero2-eyebrow, .lp-hero2-title, .lp-hero2-accent, .lp-hero2-lead, .lp-hero2-cta .lp-glassbtn { transition: none; }
  }

  /* светлая тема: тёмный текст/эйбrow на светлом hero-скриме */
  .lp[data-theme="light"] .lp-hero2-eyebrow { color: color-mix(in srgb, var(--accent) 70%, #000 10%); }
  .lp[data-theme="light"] .lp-hero2-title { color: #0c0c10; }
  .lp[data-theme="light"] .lp-hero2-accent { color: color-mix(in srgb, var(--accent) 60%, #000 10%); }
  .lp[data-theme="light"] .lp-hero2-lead { color: rgba(12,12,16,.68); }
  .lp[data-theme="light"] .lp-hero2-cta .lp-glassbtn {
    background: rgba(12,12,16,.05); border-color: rgba(12,12,16,.16); color: #0c0c10;
  }
  .lp[data-theme="light"] .lp-hero2-cta .lp-glassbtn:hover { background: rgba(12,12,16,.09); border-color: rgba(12,12,16,.26); }

  /* Hero-момент: единственная поставленная на весь лендинг choreography —
     каждая строка кадра проявляется своим тактом. Держится вне media-query
     базой opacity:1, чтобы reduced-motion/без-анимации показывал финальный кадр. */
  .lp-hero2-eyebrow, .lp-hero2-title, .lp-hero2-lead, .lp-hero2-cta { opacity: 1; }
  @media (prefers-reduced-motion: no-preference) {
    .lp-hero2-eyebrow, .lp-hero2-title, .lp-hero2-lead, .lp-hero2-cta {
      animation: lpHeroIn .85s cubic-bezier(.16,1,.3,1) both;
    }
    .lp-hero2-eyebrow { animation-delay: .05s; }
    .lp-hero2-title   { animation-delay: .16s; }
    .lp-hero2-lead    { animation-delay: .34s; }
    .lp-hero2-cta     { animation-delay: .48s; }
  }
  @keyframes lpHeroIn {
    from { opacity: 0; transform: translateY(20px); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
  }

  /* ===== Section scaffolding (override legacy) ===== */
  .lp-section {
    position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto;
    padding: clamp(48px, 9vh, 104px) clamp(18px, 4vw, 48px);
  }
  .lp-sec-head { max-width: 640px; margin: 0 auto clamp(34px, 5vh, 56px); text-align: center; }
  .lp-sec-head-left { margin-left: 0; text-align: left; }
  .lp-sec-title {
    margin: 0; color: var(--text-primary);
    font-size: clamp(27px, 3.8vw, 44px); font-weight: 660; letter-spacing: -.035em; line-height: 1.06;
  }
  .lp-sec-sub { margin: 16px 0 0; color: var(--text-secondary); font-size: clamp(14.5px, 1.6vw, 16.5px); line-height: 1.6; }

  /* ===== Trust strip ===== */
  .lp-trust { max-width: 1180px; margin: 0 auto; padding: 4px clamp(18px, 4vw, 48px) 8px; text-align: center; }
  .lp-trust-cap { font-size: 12.5px; letter-spacing: .04em; color: var(--text-tertiary); margin-bottom: 18px; }
  .lp-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
  .lp-trust-item {
    display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 12px;
    border: 1px solid var(--border); background: var(--lp-card); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    font-size: 14px; font-weight: 560; color: var(--text-primary);
    transition: background .5s ease, border-color .5s ease, color .5s ease;
  }
  .lp-trust-ic { display: flex; }

  /* ===== Bento ===== */
  .lp-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .lp-c-wide { grid-column: span 4; } .lp-c-2 { grid-column: span 2; }
  .lp-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 232px;
    padding: 22px; border-radius: 20px; border: 1px solid var(--border);
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, #fff 4%), var(--surface));
    box-shadow: 0 24px 60px -36px rgba(0,0,0,.7), inset 0 1px 0 color-mix(in srgb, #fff 6%, transparent);
    transition: transform .3s cubic-bezier(.32,.72,0,1), border-color .25s, background .5s ease;
  }
  .lp-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
  .lp-card::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(115deg, transparent 32%, color-mix(in srgb, #fff 10%, transparent) 46%, transparent 60%);
    transform: translateX(-130%); transition: transform .8s cubic-bezier(.16,1,.3,1);
  }
  .lp-card:hover::after { transform: translateX(130%); }
  .lp-card-accent {
    border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
    background:
      radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 56%),
      linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, #fff 4%), var(--surface));
  }
  .lp-card-body { flex: 1 1; min-height: 110px; display: flex; }
  .lp-card-body-center { align-items: center; justify-content: center; }
  .lp-card-body-end { align-items: flex-end; }
  .lp-card-foot { margin-top: 18px; }
  .lp-card-title { font-size: 15.5px; font-weight: 620; letter-spacing: -.01em; color: var(--text-primary); }
  .lp-card-sub { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--text-tertiary); max-width: 34ch; }
  .lp-card-stat { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--text-primary); margin-bottom: 8px; }
  .lp-card-stat small { font-size: 13px; font-weight: 600; color: var(--ok); margin-left: 6px; }

  /* mockups */
  .lp-m-cal { width: 100%; display: flex; flex-direction: column; gap: 8px; }
  .lp-m-cal-head { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
  .lp-m-cal-head span { font-size: 10px; color: var(--text-tertiary); text-align: center; }
  .lp-m-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
  .lp-m-cal-col { display: flex; flex-direction: column; gap: 6px; }
  .lp-m-cal-cell {
    height: 34px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border);
    display: flex; align-items: center; padding: 0 4px;
  }
  .lp-m-cal-chip { height: 8px; border-radius: 99px; }
  .lp-m-queue { width: 100%; display: flex; flex-direction: column; gap: 12px; }
  .lp-m-queue-row { display: flex; align-items: center; gap: 10px; }
  .lp-m-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
  .lp-m-bar { flex: 1 1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
  .lp-m-bar > i { display: block; height: 100%; border-radius: 99px; opacity: .9; }
  .lp-m-time { font-size: 11px; color: var(--text-tertiary); flex: none; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
  .lp-m-agent { position: relative; width: 100%; height: 130px; display: flex; align-items: center; justify-content: center; }
  .lp-m-orb {
    position: relative; z-index: 2; width: 60px; height: 60px; border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--accent) 30%, #fff), var(--accent) 74%);
    box-shadow: 0 0 40px -4px color-mix(in srgb, var(--accent) 70%, transparent);
  }
  .lp-m-orb-ring { position: absolute; border-radius: 50%; border: 1px solid var(--border-strong); }
  .lp-m-orb-ring.r1 { width: 96px; height: 96px; } .lp-m-orb-ring.r2 { width: 132px; height: 132px; opacity: .5; }
  .lp-m-chart { width: 100%; height: 110px; display: flex; align-items: flex-end; gap: 7px; }
  .lp-m-chart i {
    flex: 1 1; border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 22%, transparent));
  }
  .lp-m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; width: 100%; }
  .lp-m-tile {
    aspect-ratio: 1.6; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 680; color: #fff; border: 1px solid var(--border);
    background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 70%, transparent), color-mix(in srgb, var(--tc) 24%, transparent));
  }

  /* ===== Deep features (zigzag) ===== */
  .lp-feature {
    position: relative; z-index: 1; max-width: 1140px; margin: 0 auto;
    padding: clamp(40px, 7vh, 88px) clamp(18px, 4vw, 48px);
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  }
  .lp-fx-title { margin: 0; font-size: clamp(24px, 3.2vw, 38px); font-weight: 660; letter-spacing: -.03em; line-height: 1.08; color: var(--text-primary); }
  .lp-fx-lead { margin: 16px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--text-secondary); max-width: 42ch; }
  .lp-fx-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .lp-fx-list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--text-primary); }
  .lp-fx-check {
    width: 24px; height: 24px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: var(--accent-text); background: var(--accent-subtle);
  }
  .lp-fx-visual {
    border-radius: 22px; border: 1px solid var(--border); padding: clamp(20px, 3vw, 32px);
    background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, #fff 4%), var(--surface));
    box-shadow: 0 30px 70px -40px rgba(0,0,0,.7);
  }
  .lp-fx-post { display: flex; flex-direction: column; gap: 12px; }
  .lp-fx-prompt {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    padding: 9px 13px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border);
    font-size: 12.5px; color: var(--text-secondary);
  }
  .lp-fx-prompt svg { color: var(--accent-text); }
  .lp-fx-result {
    position: relative; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2);
    padding: 16px; display: flex; flex-direction: column; gap: 10px;
  }
  .lp-fx-badge {
    position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 4px;
    font-size: 10.5px; font-weight: 640; color: var(--on-accent); background: var(--accent);
    padding: 3px 8px; border-radius: 99px;
  }
  .lp-fx-line { height: 9px; border-radius: 99px; background: var(--elevated); }
  .lp-fx-line.w90 { width: 90%; } .lp-fx-line.w80 { width: 80%; } .lp-fx-line.w70 { width: 66%; }
  .lp-fx-cover {
    height: 92px; border-radius: 10px; margin-top: 4px;
    background:
      radial-gradient(120% 120% at 80% 10%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 60%),
      linear-gradient(135deg, var(--elevated), var(--surface));
    border: 1px solid var(--border);
  }
  .lp-fx-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-tertiary); }

  /* ===== Copy demo ===== */
  .lp-copydemo-card { max-width: 1040px; margin: 0 auto; }

  /* ===== How (stepper) ===== */
  .lp-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
  .lp-steps::before {
    content: ''; position: absolute; top: 24px; left: 14%; right: 14%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong) 14%, var(--border-strong) 86%, transparent);
  }
  .lp-step { position: relative; }
  .lp-step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
  .lp-step-ic {
    width: 50px; height: 50px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    color: var(--accent-text); background: var(--surface); border: 1px solid var(--border-strong);
    box-shadow: 0 0 0 6px var(--bg-base);
  }
  .lp-step-n { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--text-tertiary); }
  .lp-step-title { margin: 0; font-size: 17px; font-weight: 620; letter-spacing: -.02em; color: var(--text-primary); }
  .lp-step-text { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); }

  /* ===== Proof ===== */
  .lp-proof-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  }
  .lp-proof-item { background: var(--surface); padding: clamp(24px, 4vw, 40px) 22px; text-align: center; }
  .lp-proof-num {
    font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; letter-spacing: -.03em; color: var(--text-primary);
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums; line-height: 1;
  }
  .lp-proof-unit { font-size: .42em; font-weight: 600; color: var(--text-tertiary); margin-left: 4px; }
  .lp-proof-cap { margin-top: 10px; font-size: 12.5px; color: var(--text-tertiary); }

  /* ===== Final CTA ===== */
  .lp-final {
    position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 7vw, 76px) clamp(24px, 5vw, 56px);
    text-align: center; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
    background:
      radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%),
      linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, #fff 4%), var(--surface));
    box-shadow: 0 40px 90px -50px color-mix(in srgb, var(--accent) 60%, transparent);
  }
  .lp-final-title { margin: 0; font-size: clamp(26px, 4vw, 44px); font-weight: 680; letter-spacing: -.035em; color: var(--text-primary); }
  .lp-final-sub { margin: 14px 0 0; font-size: 15.5px; color: var(--text-secondary); }
  .lp-final-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

  /* ===== Footer extras ===== */
  .lp-footnav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .lp-footnav button {
    border: none; background: none; padding: 0; cursor: pointer; font: inherit;
    color: var(--text-tertiary); transition: color .15s;
  }
  .lp-footnav button:hover { color: var(--text-primary); }
  .lp-footcontacts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .lp-footcontact { display: inline-flex; align-items: center; gap: 7px; color: var(--text-tertiary); text-decoration: none; transition: color .15s; }
  .lp-footcontact:hover { color: var(--text-primary); }

  /* ===== Responsive ===== */
  @media (max-width: 1000px) {
    .lp-bento { grid-template-columns: repeat(2, 1fr); }
    .lp-c-wide { grid-column: span 2; } .lp-c-2 { grid-column: span 1; }
    .lp-proof-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 860px) {
    .lp-navlinks { display: none; }
    .lp-feature { grid-template-columns: 1fr; }
    .lp-feature-rev .lp-fx-visual { order: 2; }
    .lp-steps { grid-template-columns: 1fr; gap: 14px; }
    .lp-steps::before { display: none; }
    .lp-step { display: flex; gap: 16px; align-items: flex-start; }
    .lp-step-top { margin-bottom: 0; flex-direction: column; }
    .lp-hero2-title { font-size: clamp(34px, 9vw, 52px); }
  }
  @media (max-width: 560px) {
    .lp-login { display: none; }
    .lp-bento { grid-template-columns: 1fr; }
    .lp-c-wide, .lp-c-2 { grid-column: span 1; }
    .lp-proof-grid { grid-template-columns: 1fr 1fr; }
    .lp-hero2 { align-items: flex-end; padding-bottom: clamp(64px, 12vh, 110px); }
    .lp-hero2-scrim { background:
      linear-gradient(0deg, rgba(7,7,9,.96) 0%, rgba(7,7,9,.6) 40%, rgba(7,7,9,.2) 100%); }
    .lp-hero2-scrim::after { background:
      linear-gradient(0deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.66) 40%, rgba(255,255,255,.24) 100%); }
  }

  @media (prefers-reduced-motion: reduce) {
    .lp-card { transition: none; }
    .lp-card:hover { transform: none; }
    .lp-card::after { transition: none; }
    .lp-card:hover::after { transform: translateX(-130%); }
    .pc-pop > .pc-badge { animation: none; }
    .pc, .lp-faq-item, .lp-trust-item { transition: none; }
  }

  /* ============================================================
     COPY FLOW — contained "build your digital copy" modal (cf-*)
     ============================================================ */
  .cf-scrim {
    --cf-ease: cubic-bezier(.22, 1, .36, 1);
    position: fixed; inset: 0; z-index: 120;
    display: flex; align-items: center; justify-content: center;
    padding: clamp(12px, 3.2vh, 34px);
    background: color-mix(in srgb, var(--bg-base) 62%, #04040a 38%);
    backdrop-filter: blur(9px) saturate(.9);
    -webkit-backdrop-filter: blur(9px) saturate(.9);
  }
  .cf-modal {
    position: relative; overflow: hidden;
    width: min(1080px, 100%); height: min(700px, 100%);
    display: grid; grid-template-columns: minmax(0, 1fr) 356px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 24px; box-shadow: var(--shadow-lg);
  }
  .cf-modal::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(66% 38% at 28% -6%, color-mix(in srgb, var(--lp-violet) 17%, transparent), transparent 58%);
    opacity: .7;
  }

  /* — left column: the flow — */
  .cf-main { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
  .cf-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 20px 13px; border-bottom: 1px solid var(--border); }
  .cf-iconbtn { width: 36px; height: 36px; flex: none; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color .15s, background .15s, border-color .15s, transform .12s; }
  .cf-iconbtn:hover { color: var(--text-primary); background: var(--elevated); border-color: var(--border-strong); }
  .cf-iconbtn:active { transform: scale(.93); }
  .cf-progress { flex: 1 1; min-width: 0; }
  .cf-progress-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 12px; }
  .cf-progress-label { color: var(--text-secondary); font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cf-progress-step { color: var(--text-tertiary); white-space: nowrap; flex: none; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
  .cf-seg { display: flex; gap: 4px; margin-top: 8px; }
  .cf-seg-i { flex: 1 1; height: 4px; padding: 0; border: none; border-radius: 99px; background: var(--elevated); transition: background .35s var(--cf-ease), transform .15s; }
  .cf-seg-i[data-state="done"] { background: var(--accent); }
  .cf-seg-i[data-state="current"] { background: linear-gradient(90deg, var(--accent), var(--lp-violet)); box-shadow: 0 0 9px -2px var(--accent); }
  .cf-seg-i.is-clickable { cursor: pointer; }
  .cf-seg-i.is-clickable:hover { transform: scaleY(1.6); }

  /* Контент центрируется по вертикали, когда влезает (margin:auto), и скроллится
     сверху, когда не влезает — так сжатые шаги не оставляют «воздух» снизу. */
  .cf-content { flex: 1 1; min-height: 0; overflow-y: auto; padding: 24px 22px 18px; display: flex; flex-direction: column; }
  .cf-content-inner { width: 100%; max-width: 640px; margin: auto 0; }
  .cf-content--center .cf-content-inner { max-width: 460px; margin: auto; }

  .cf-nav { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 22px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); }
  .cf-nav-right { display: flex; align-items: center; gap: 10px; }
  .cf-next.is-off { opacity: .45; cursor: not-allowed; }
  .cf-autohint { font-size: 12px; color: var(--text-tertiary); }

  /* — right column: live copy panel (second neutral layer) — */
  .cf-aside { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--border); background: var(--surface-2); }
  .cf-aside-head { flex: none; display: flex; align-items: center; gap: 8px; padding: 15px 16px; border-bottom: 1px solid var(--border); }
  .cf-aside-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex: none; }
  .cf-aside-title { font-size: 13px; font-weight: 640; color: var(--text-primary); }
  .cf-aside-sub { margin-left: auto; font-size: 10.5px; color: var(--text-tertiary); }
  .cf-aside-body { flex: 1 1; min-height: 0; padding: 16px; overflow-y: auto; }
  .cf-aside-cooling .cc-card { filter: grayscale(.85) saturate(.4); opacity: .5; transition: filter .7s ease, opacity .7s ease; }
  .cf-aside-foot { flex: none; border-top: 1px solid var(--border); padding: 12px 16px 14px; }
  .cf-ready { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-tertiary); margin-bottom: 8px; }
  .cf-ready b { color: var(--text-secondary); font-weight: 640; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; margin-left: auto; }
  .cf-ready-track { height: 4px; border-radius: 99px; background: var(--elevated); overflow: hidden; }
  .cf-ready-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--lp-violet)); transition: width .55s var(--cf-ease); }
  .cf-aside-note { display: flex; gap: 7px; align-items: flex-start; margin-top: 11px; font-size: 11.5px; line-height: 1.45; color: var(--text-tertiary); }
  .cf-aside-note svg { flex: none; margin-top: 1px; color: var(--accent-text); }
  .cf-cooling-tag { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; font-size: 11.5px; color: var(--text-tertiary); border-top: 1px solid var(--border); }

  /* — modal responsive: collapse to single column, then full-bleed — */
  @media (max-width: 860px) {
    .cf-modal { grid-template-columns: 1fr; width: min(620px, 100%); height: min(760px, 100%); }
    .cf-modal > .cf-aside { display: none; }
    .cf-main > .cf-mob-copybar { display: flex; margin: 12px 16px 0; }
    .cf-head { padding: 13px 16px; }
    .cf-content { padding: 18px 16px 12px; }
    .cf-content-inner { max-width: 100%; }
    .cf-nav { padding: 12px 16px; }
  }
  @media (max-width: 560px) {
    .cf-scrim { padding: 0; }
    .cf-modal { width: 100%; height: 100%; border: none; border-radius: 0; }
  }
  .cf-spin { animation: labaSpin 1s linear infinite; }
  .auth-sent-spin svg { animation: labaSpin 1s linear infinite; }

  /* step shell */
  .cf-step { display: flex; flex-direction: column; }
  .cf-step-center { justify-content: center; }
  .cf-stephead { margin-bottom: 18px; }
  .cf-title { margin: 0; font-size: clamp(20px, 2.4vw, 25px); font-weight: 660; letter-spacing: -.025em; line-height: 1.12; color: var(--text-primary); text-wrap: balance; }
  .cf-sub { margin: 7px 0 0; font-size: 14px; color: var(--text-secondary); max-width: 52ch; }
  .cf-counter { font-size: 12.5px; color: var(--text-tertiary); margin-bottom: 14px; }
  .cf-counter[data-limit="true"] { color: var(--warn); }
  .cf-input { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-primary); font-family: var(--font); font-size: 14.5px; outline: none; transition: border-color .15s, box-shadow .15s; }
  .cf-input::placeholder { color: var(--text-tertiary); }
  .cf-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
  .cf-input.bare { height: auto; border: none; padding: 0; background: transparent; box-shadow: none; }

  /* choice cards */
  .cf-cards { display: grid; gap: 12px; }
  .cf-cards-arch { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .cf-cards-goal { grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); }
  .cf-card { position: relative; text-align: left; display: flex; flex-direction: column; gap: 5px; padding: 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-family: var(--font); transition: border-color .15s, transform .1s, background .15s; }
  .cf-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
  .cf-card.on { border-color: var(--accent); background: var(--accent-subtle); }
  .cf-card-glyph { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: var(--accent-text); background: var(--elevated); margin-bottom: 4px; transition: .15s; }
  .cf-card.on .cf-card-glyph { background: var(--accent); color: var(--on-accent); }
  .cf-card-label { font-size: 15.5px; font-weight: 620; color: var(--text-primary); }
  .cf-card-tag { font-size: 12.5px; color: var(--text-tertiary); }
  .cf-card-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.5); transition: .2s; }
  .cf-card.on .cf-card-check, .cf-persona.on .cf-card-check, .cf-ref.on .cf-card-check, .cf-tone-card.on .cf-card-check { opacity: 1; transform: none; }

  /* chips */
  .cf-chips { display: flex; flex-wrap: wrap; gap: 9px; }
  .cf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-family: var(--font); font-size: 13.5px; font-weight: 520; cursor: pointer; transition: .15s; }
  .cf-chip:hover:not(:disabled) { border-color: var(--border-strong); color: var(--text-primary); }
  .cf-chip.on { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent-text); font-weight: 600; }
  .cf-chip:disabled { opacity: .4; cursor: not-allowed; }
  .cf-customrow { display: flex; gap: 8px; margin-top: 16px; }

  /* branch (step 3) */
  .cf-branch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cf-branch-opt { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; font-family: var(--font); transition: .15s; }
  .cf-branch-opt:hover { border-color: var(--border-strong); }
  .cf-branch-opt.on { border-color: var(--accent); background: var(--accent-subtle); }
  .cf-branch-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent-text); background: var(--elevated); }
  .cf-branch-opt b { display: block; font-size: 14.5px; color: var(--text-primary); }
  .cf-branch-opt i { display: block; font-size: 12.5px; font-style: normal; color: var(--text-tertiary); margin-top: 2px; }
  .cf-panel-soft { margin-top: 16px; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); }
  .cf-connectrow { display: flex; gap: 10px; align-items: center; }
  .cf-handlefield { flex: 1 1; min-width: 0; display: flex; align-items: center; gap: 2px; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-primary); }
  .cf-handlefield > span { color: var(--text-tertiary); }
  .cf-handlefield.err { border-color: var(--danger); }
  .cf-hint { margin-top: 10px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
  .cf-hint.err { color: var(--danger); }
  .cf-ok { display: flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 560; font-size: 14px; flex: none; }
  .cf-metrics-pull { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
  .cf-metrics-pull div { display: flex; flex-direction: column; gap: 2px; }
  .cf-metrics-pull b { font-size: 18px; font-weight: 680; color: var(--text-primary); }
  .cf-metrics-pull span { font-size: 11px; color: var(--text-tertiary); }
  .cf-scratch { display: flex; gap: 14px; align-items: flex-start; }
  .cf-scratch-ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--accent), #8B5CF6); }
  .cf-scratch b { font-size: 15px; color: var(--text-primary); }
  .cf-scratch p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }

  /* personas */
  .cf-personas { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
  .cf-persona { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; font-family: var(--font); transition: .15s; }
  .cf-persona:hover:not(:disabled) { border-color: var(--border-strong); }
  .cf-persona.on { border-color: var(--accent); background: var(--accent-subtle); }
  .cf-persona:disabled { opacity: .45; cursor: not-allowed; }
  .cf-persona-av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), #8B5CF6); }
  .cf-persona-tx b { display: block; font-size: 14px; color: var(--text-primary); }
  .cf-persona-tx i { display: block; font-size: 12px; font-style: normal; color: var(--text-tertiary); }

  /* tones */
  .cf-tones { display: flex; flex-direction: column; gap: 10px; }
  .cf-tone-card { position: relative; text-align: left; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-family: var(--font); transition: .15s; }
  .cf-tone-card:hover { border-color: var(--border-strong); }
  .cf-tone-card.on { border-color: var(--accent); background: var(--accent-subtle); }
  .cf-tone-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
  .cf-tone-head .cf-card-check { position: static; margin-left: auto; }
  .cf-tone-name { font-size: 15px; font-weight: 620; color: var(--text-primary); }
  .cf-tone-sub { font-size: 12.5px; color: var(--text-tertiary); }
  .cf-tone-post { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); }

  /* references */
  .cf-refs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 12px; }
  .cf-ref { position: relative; display: flex; align-items: center; gap: 11px; padding: 13px; border-radius: 13px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; font-family: var(--font); transition: .15s; }
  .cf-ref:hover { border-color: var(--border-strong); }
  .cf-ref.on { border-color: var(--accent); background: var(--accent-subtle); }
  .cf-ref-av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
  .cf-ref-tx b { display: block; font-size: 13.5px; color: var(--text-primary); }
  .cf-ref-tx i { display: block; font-size: 12px; font-style: normal; color: var(--text-tertiary); }

  /* formats swipe-stack */
  .cf-genrow { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 540; color: var(--accent-text); margin-bottom: 16px; }
  .cf-genspin { display: inline-flex; color: var(--accent-text); }
  .cf-stack { position: relative; height: 360px; max-width: 440px; }
  .cf-postcard { position: absolute; inset: 0; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; -webkit-user-select: none; user-select: none; }
  .cf-post-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .cf-fmt-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 560; color: var(--accent-text); background: var(--accent-subtle); padding: 5px 10px; border-radius: 99px; }
  .cf-swipe-stamp { font-size: 13px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 8px; border: 2px solid; }
  .cf-swipe-stamp.like { color: var(--ok); border-color: var(--ok); }
  .cf-swipe-stamp.nope { color: var(--danger); border-color: var(--danger); }
  .cf-post-title { font-size: 17px; font-weight: 640; color: var(--text-primary); margin-top: 12px; }
  .cf-post-body { font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); margin: 10px 0 0; }
  .cf-poll { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
  .cf-poll-opt { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); font-size: 13px; color: var(--text-primary); background: var(--surface-2); }
  .cf-linkprev { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--accent-text); }
  .cf-swipe-ctrls { display: flex; gap: 18px; justify-content: center; margin-top: 20px; max-width: 440px; }
  .cf-swipe-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .15s; }
  .cf-swipe-btn.nope { color: var(--danger); } .cf-swipe-btn.nope:hover { background: color-mix(in srgb, var(--danger) 14%, transparent); border-color: var(--danger); }
  .cf-swipe-btn.like { color: var(--ok); } .cf-swipe-btn.like:hover { background: color-mix(in srgb, var(--ok) 14%, transparent); border-color: var(--ok); }
  .cf-stack-done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; border-radius: 18px; border: 1px dashed var(--border-strong); background: var(--surface-2); padding: 24px; }
  .cf-done-ic { color: var(--ok); }
  .cf-stack-done b { font-size: 18px; color: var(--text-primary); }
  .cf-stack-done p { font-size: 13.5px; color: var(--text-secondary); max-width: 280px; margin: 0; line-height: 1.5; }

  /* rubrics */
  .cf-rub-sugg { margin-bottom: 18px; }
  .cf-suggrow { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 560; color: var(--text-secondary); margin-bottom: 10px; }
  .cf-rub-order { display: flex; flex-direction: column; gap: 8px; }
  .cf-rub-item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: grab; }
  .cf-rub-item.dragging { opacity: .5; }
  .cf-rub-handle { color: var(--text-tertiary); display: flex; }
  .cf-rub-num { width: 22px; height: 22px; flex: none; border-radius: 7px; background: var(--accent-subtle); color: var(--accent-text); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
  .cf-rub-name { flex: 1 1; font-size: 14px; color: var(--text-primary); }
  .cf-rub-x { border: none; background: transparent; color: var(--text-tertiary); cursor: pointer; display: flex; padding: 4px; border-radius: 6px; }
  .cf-rub-x:hover { color: var(--danger); background: var(--elevated); }

  /* reveal */
  .cf-reveal-skel { display: flex; flex-direction: column; gap: 12px; }
  .cf-reveal-card { border-radius: 18px; border: 1px solid var(--border); background: var(--surface); padding: 18px; box-shadow: var(--shadow); }
  .cf-reveal-head { display: flex; align-items: center; gap: 12px; }
  .cf-reveal-glyph { width: 50px; height: 50px; flex: none; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--accent), #8B5CF6); }
  .cf-reveal-name { font-size: 17px; font-weight: 660; color: var(--text-primary); }
  .cf-reveal-role { font-size: 12.5px; color: var(--text-tertiary); }
  .cf-reveal-metrics { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
  .cf-reveal-metrics b { font-size: 20px; font-weight: 680; color: var(--text-primary); display: block; }
  .cf-reveal-metrics span { font-size: 11px; color: var(--text-tertiary); }
  .cf-reveal-spark { flex: 1 1; min-width: 90px; }
  .cf-campaign { display: flex; flex-direction: column; gap: 8px; }
  .cf-camp-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
  .cf-camp-day { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--text-primary); }
  .cf-camp-body { flex: 1 1; min-width: 0; display: flex; flex-direction: column; }
  .cf-camp-rub { font-size: 11px; font-weight: 600; color: var(--accent-text); }
  .cf-camp-idea { font-size: 13.5px; color: var(--text-primary); }
  .cf-camp-ch { display: flex; flex: none; }
  .cf-namecommit { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
  .cf-namelabel { font-size: 13px; font-weight: 560; color: var(--text-secondary); }

  /* level */
  .cf-level { max-width: 520px; margin: 0 auto; width: 100%; }
  .cf-level-badge { display: flex; align-items: center; gap: 14px; }
  .cf-level-ring { width: 60px; height: 60px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--accent), #8B5CF6); box-shadow: 0 0 40px -6px var(--accent); }
  .cf-level-title { font-size: 17px; font-weight: 640; color: var(--text-primary); }
  .cf-level-pct { font-size: 13px; font-weight: 600; color: var(--ok); }
  .cf-level-lead { font-size: 15px; line-height: 1.55; color: var(--text-secondary); margin: 18px 0 22px; }
  .cf-level-lead b { color: var(--text-primary); }
  .cf-level-locks { display: flex; flex-direction: column; gap: 10px; }
  .cf-lockrow { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 13px; border: 1px solid var(--border); background: var(--surface); opacity: .8; }
  .cf-lock-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: var(--accent-text); background: var(--elevated); }
  .cf-lock-tx { flex: 1 1; } .cf-lock-tx b { display: block; font-size: 14px; color: var(--text-primary); } .cf-lock-tx i { display: block; font-size: 12px; font-style: normal; color: var(--text-tertiary); }
  .cf-lock-badge { color: var(--text-tertiary); display: flex; flex: none; }

  /* gate */
  .cf-gate { max-width: 440px; margin: 0 auto; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .cf-gate-lock { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-text); background: var(--accent-subtle); margin-bottom: 18px; }
  .cf-gate-frozen { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ok); background: color-mix(in srgb, var(--ok) 16%, transparent); margin-bottom: 18px; }
  .cf-gate-title { margin: 0; font-size: 24px; font-weight: 660; letter-spacing: -.02em; color: var(--text-primary); }
  .cf-gate-text { margin: 12px 0 24px; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
  .cf-gate-auth { width: 100%; display: flex; flex-direction: column; gap: 12px; }
  .cf-gate-or { display: flex; align-items: center; gap: 12px; color: var(--text-tertiary); font-size: 12.5px; }
  .cf-gate-or::before, .cf-gate-or::after { content: ''; flex: 1 1; height: 1px; background: var(--border); }
  .cf-gate-social { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cf-ya { width: 20px; height: 20px; border-radius: 5px; background: #FC3F1D; color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }

  /* mobile bits */
  .cf-glyph { border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--accent), #8B5CF6); flex: none; }
  .cf-glyph.cf-glyph-empty { background: var(--elevated); color: var(--text-tertiary); }
  .cf-glyph-sm { width: 32px; height: 32px; }
  .cf-mob-copybar { display: none; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; margin-bottom: 10px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-family: var(--font); flex: none; }
  .cf-mob-copytx { flex: 1 1; min-width: 0; text-align: left; }
  .cf-mob-copytx b { display: block; font-size: 13px; color: var(--text-primary); }
  .cf-mob-copytx i { display: block; font-size: 11px; font-style: normal; color: var(--text-tertiary); }
  .cf-mob-chev { color: var(--text-tertiary); display: flex; }
  .cf-sheet-portal { position: fixed; inset: 0; z-index: 130; display: flex; align-items: flex-end; }
  .cf-sheet-scrim { position: absolute; inset: 0; background: var(--scrim); animation: labaFadeIn .2s ease; }
  .cf-sheet { position: relative; width: 100%; max-height: 85%; background: var(--surface); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; overflow: hidden; animation: labaSheetUp .3s cubic-bezier(.32,.72,0,1); }
  .cf-sheet-handle { width: 38px; height: 4px; flex: none; border-radius: 99px; background: var(--border-strong); margin: 10px auto 4px; }
  .cf-sheet .cf-aside { border: none; box-shadow: none; flex: 1 1; min-height: 0; width: 100%; border-radius: 0; }

  @media (max-width: 860px) {
    .ah-card { grid-template-columns: 1fr; }
    .ah-right { border-left: none; border-top: 1px solid var(--lp-line); }
    .lp-agent-hero { min-height: 100dvh; padding-top: 80px; padding-bottom: 22px; }
    .cf-mob-copybar { display: flex; }
    .cf-branch, .cf-gate-social { grid-template-columns: 1fr; }
    .cf-content-inner { max-width: 100%; }
  }
  @media (max-width: 560px) {
    .ah-left { padding: 22px; }
    .cf-metrics-pull { grid-template-columns: repeat(2, 1fr); }
    .cf-autohint { display: none; }
  }

  /* ===== Responsive ===== */
  @media (max-width: 900px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .c-wide, .c-tall, .c-2 { grid-column: span 1; }
    .c-wide { grid-column: span 2; }
  }

  @media (max-width: 760px) {
    .steps { grid-template-columns: 1fr; }
    .pricing { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  }

  /* ===== Mobile: dialog docks to bottom as a sheet ===== */
  @media (max-width: 560px) {
    .lp-navlinks, .lp-login { display: none; }
    .lp-header { padding: 16px 18px; }
    .bento { grid-template-columns: 1fr; gap: 14px; }
    .c-wide, .c-tall, .c-2 { grid-column: span 1; }
    .lp-footer { flex-direction: column; gap: 14px; text-align: center; }
    .lp-cta { width: 100%; }
    .lp-cta .btn { width: 100%; }

    .auth-wrap { align-items: flex-end; padding: 0; }
    .auth-panel {
      width: 100%; max-width: none; border-radius: 22px 22px 0 0;
      padding: 26px 22px calc(26px + env(safe-area-inset-bottom));
      max-height: 92%;
      transform: translateY(100%); transition: transform .34s cubic-bezier(.32,.72,0,1), opacity .2s ease;
    }
    .auth-portal[data-show="true"] .auth-panel { transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .lp-aurora::before, .lp-aurora::after { animation: none !important; }
    .auth-panel, .auth-backdrop, .auth-tabs-ink, .auth-body { transition-duration: .01ms !important; }
    .auth-stagger > *, .auth-headtext, .auth-body-inner .auth-form > *, .auth-body-inner > * {
      animation-duration: .01ms !important; animation-delay: 0s !important;
    }
    .lr-panel, .lr-backdrop, .lr-progress { transition-duration: .01ms !important; }
    .cf-seg-i, .cf-ready-fill, .cf-progress-fill, .cf-iconbtn { transition-duration: .01ms !important; }
    .cf-modal .laba-canvas-rise { animation-duration: .01ms !important; animation-delay: 0s !important; }
    .cf-seg-i.is-clickable:hover { transform: none; }
  }

  /* ===== Footer (расширенный) ===== */
  .lp-footnav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .lp-footnav button {
    background: none; border: none; padding: 0; cursor: pointer; font: inherit;
    color: var(--text-tertiary); text-decoration: none; transition: color .15s;
  }
  .lp-footnav button:hover { color: var(--text-primary); }
  .lp-footcontacts { display: flex; align-items: center; gap: 16px; }
  .lp-footcontact {
    display: inline-flex; align-items: center; gap: 7px; color: var(--text-secondary);
    text-decoration: none; transition: color .15s;
  }
  .lp-footcontact:hover { color: var(--text-primary); }

  /* ===== Legal reader (правовая читалка) ===== */
  .lr-portal { position: fixed; inset: 0; z-index: 150; }
  .lr-backdrop {
    position: absolute; inset: 0; background: var(--scrim);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s ease;
  }
  .lr-portal[data-show="true"] .lr-backdrop { opacity: 1; }
  .lr-wrap {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 24px; pointer-events: none;
  }
  .lr-panel {
    pointer-events: auto; position: relative;
    width: min(1080px, 100%); height: min(880px, calc(100dvh - 48px));
    display: grid; grid-template-columns: 296px 1fr;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden;
    opacity: 0; transform: translateY(22px) scale(.96);
    transition: opacity .3s ease, transform .46s cubic-bezier(.21,1.11,.4,1);
  }
  .lr-portal[data-show="true"] .lr-panel { opacity: 1; transform: none; }

  /* — сайдбар — */
  .lr-aside {
    display: flex; flex-direction: column; min-height: 0;
    border-right: 1px solid var(--border);
    background: color-mix(in srgb, var(--elevated) 60%, transparent);
  }
  .lr-aside-head { display: flex; align-items: center; gap: 12px; padding: 22px 20px 14px; }
  .lr-aside-logo {
    width: 40px; height: 40px; border-radius: 12px; flex: none;
    background: linear-gradient(135deg, var(--accent), #8B5CF6);
    color: #fff; font-weight: 700; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 42%, transparent);
  }
  .lr-aside-title { font-size: 16px; font-weight: 660; letter-spacing: -.02em; color: var(--text-primary); }
  .lr-aside-sub { font-size: 12.5px; color: var(--text-tertiary); margin-top: 1px; }

  .lr-search {
    display: flex; align-items: center; gap: 8px; margin: 0 16px 8px;
    padding: 9px 11px; border-radius: 12px; color: var(--text-tertiary);
    background: var(--surface); border: 1px solid var(--border);
    transition: border-color .15s, box-shadow .15s;
  }
  .lr-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
  .lr-search input {
    flex: 1 1; min-width: 0; border: none; background: none; outline: none;
    font: inherit; font-size: 13.5px; color: var(--text-primary);
  }
  .lr-search input::placeholder { color: var(--text-tertiary); }
  .lr-search-clear {
    flex: none; border: none; background: none; cursor: pointer; padding: 2px;
    color: var(--text-tertiary); display: flex; border-radius: 6px;
  }
  .lr-search-clear:hover { color: var(--text-primary); }

  .lr-doclist { flex: 1 1; min-height: 0; overflow-y: auto; padding: 6px 12px 12px; scrollbar-width: thin; }
  .lr-docgroup { margin-bottom: 2px; }
  .lr-docbtn {
    width: 100%; display: flex; align-items: center; gap: 11px; text-align: left;
    padding: 10px 11px; border: none; border-radius: 11px; cursor: pointer; font: inherit;
    background: none; color: var(--text-secondary); transition: background .15s, color .15s;
  }
  .lr-docbtn:hover { background: var(--surface); color: var(--text-primary); }
  .lr-docbtn[data-active="true"] { background: var(--accent-subtle); color: var(--accent-text); }
  .lr-docbtn-ic {
    width: 30px; height: 30px; flex: none; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface); color: var(--text-tertiary); border: 1px solid var(--border);
    transition: background .15s, color .15s, border-color .15s;
  }
  .lr-docbtn:hover .lr-docbtn-ic { color: var(--text-secondary); }
  .lr-docbtn[data-active="true"] .lr-docbtn-ic {
    background: var(--accent); color: var(--on-accent); border-color: transparent;
  }
  .lr-docbtn-tx { font-size: 13.5px; font-weight: 560; letter-spacing: -.01em; line-height: 1.3; }

  .lr-secnav { list-style: none; margin: 2px 0 8px; padding: 0 0 0 14px; }
  .lr-secnav li { position: relative; }
  .lr-secnav-item {
    width: 100%; text-align: left; border: none; background: none; cursor: pointer; font: inherit;
    padding: 6px 10px 6px 16px; border-radius: 8px; line-height: 1.35;
    font-size: 12.5px; color: var(--text-tertiary); transition: color .15s, background .15s, opacity .15s;
    border-left: 2px solid var(--border); margin-left: -1px;
    overflow: hidden; text-overflow: ellipsis; display: block;
    white-space: nowrap;
  }
  .lr-secnav-item:hover { color: var(--text-secondary); background: var(--surface); }
  .lr-secnav-item[data-active="true"] {
    color: var(--accent-text); border-left-color: var(--accent); font-weight: 560;
  }
  .lr-secnav-item[data-dim="true"] { opacity: .38; }

  .lr-contacts { flex: none; border-top: 1px solid var(--border); padding: 14px 18px 16px; background: var(--surface); }
  .lr-contacts-cap {
    font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--text-tertiary); margin-bottom: 9px;
  }
  .lr-contact {
    display: flex; align-items: center; gap: 9px; padding: 4px 0;
    color: var(--text-secondary); text-decoration: none; font-size: 13px; transition: color .15s;
  }
  .lr-contact:hover { color: var(--accent-text); }
  .lr-contact svg { color: var(--accent-text); flex: none; }

  /* — основная панель — */
  .lr-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
  .lr-topbar {
    position: relative; flex: none; display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .lr-topbar-tx { flex: 1 1; min-width: 0; display: flex; flex-direction: column; }
  .lr-topbar-title {
    font-size: 15px; font-weight: 640; letter-spacing: -.02em; color: var(--text-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .lr-topbar-meta { font-size: 12px; color: var(--text-tertiary); }
  .lr-iconbtn {
    width: 38px; height: 38px; flex: none; border: 1px solid var(--border); border-radius: 11px;
    background: var(--surface); color: var(--text-tertiary); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: color .15s, background .15s;
  }
  .lr-iconbtn:hover { color: var(--text-primary); background: var(--elevated); }
  .lr-menu { display: none; }
  .lr-dl {
    flex: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font: inherit;
    height: 38px; padding: 0 14px; border-radius: 11px; font-size: 13px; font-weight: 560;
    color: var(--accent-text); background: var(--accent-subtle); border: 1px solid transparent;
    transition: background .15s, color .15s;
  }
  .lr-dl:hover { background: var(--accent); color: var(--on-accent); }
  .lr-dl svg { flex: none; }
  .lr-progress {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: left;
    background: linear-gradient(90deg, var(--accent), var(--lp-violet, #8B5CF6));
    transform: scaleX(0); transition: transform .12s linear;
  }

  .lr-content { position: relative; flex: 1 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scroll-behavior: smooth; }
  .lr-article { max-width: 720px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 56px) 64px; }
  .lr-art-kicker {
    display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 560;
    color: var(--accent-text); background: var(--accent-subtle); padding: 6px 12px 6px 7px;
    border-radius: 99px; margin-bottom: 18px;
  }
  .lr-art-ic {
    width: 26px; height: 26px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
    background: var(--surface); color: var(--accent-text);
  }
  .lr-art-title { margin: 0; font-size: clamp(24px, 4vw, 32px); font-weight: 740; letter-spacing: -.03em; line-height: 1.12; color: var(--text-primary); }
  .lr-art-sub { margin: 10px 0 0; font-size: 15px; color: var(--text-secondary); line-height: 1.5; }
  .lr-art-divider { height: 1px; background: var(--border); margin: 26px 0 6px; }

  .lr-section { scroll-margin-top: 16px; padding-top: 16px; }
  .lr-h2 {
    margin: 22px 0 10px; font-size: 17px; font-weight: 680; letter-spacing: -.02em;
    color: var(--text-primary); line-height: 1.3;
  }
  .lr-p { margin: 11px 0; font-size: 15px; line-height: 1.72; color: var(--text-secondary); }
  .lr-ul { margin: 11px 0; padding-left: 4px; list-style: none; }
  .lr-ul li {
    position: relative; padding-left: 22px; margin: 8px 0; font-size: 15px; line-height: 1.62; color: var(--text-secondary);
  }
  .lr-ul li::before {
    content: ''; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); opacity: .8;
  }
  .lr-mark { background: color-mix(in srgb, var(--accent) 32%, transparent); color: var(--text-primary); border-radius: 3px; padding: 0 1px; }

  .lr-art-foot { margin-top: 40px; padding: 22px 24px; border-radius: 16px; background: var(--elevated); border: 1px solid var(--border); }
  .lr-art-foot p { margin: 0 0 12px; font-size: 14px; color: var(--text-secondary); }
  .lr-art-foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .lr-art-foot-links a {
    display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 560;
    color: var(--accent-text); text-decoration: none;
  }
  .lr-art-foot-links a:hover { text-decoration: underline; }

  .lr-navscrim { display: none; }

  /* — планшет/мобайл — */
  @media (max-width: 820px) {
    .lr-wrap { padding: 0; }
    .lr-panel {
      width: 100%; height: 100dvh; border-radius: 0; grid-template-columns: 1fr;
      transform: translateY(2%) scale(.99);
    }
    .lr-aside {
      position: absolute; inset: 0 auto 0 0; width: min(320px, 86%); z-index: 3;
      border-right: 1px solid var(--border); background: var(--surface);
      transform: translateX(-102%); transition: transform .32s cubic-bezier(.32,.72,0,1);
      box-shadow: var(--shadow-lg);
    }
    .lr-panel[data-nav="open"] .lr-aside { transform: none; }
    .lr-menu { display: flex; }
    .lr-navscrim { display: block; position: absolute; inset: 0; z-index: 2; background: var(--scrim); }
    .lr-dl { padding: 0; width: 38px; justify-content: center; }
    .lr-dl span { display: none; }
  }

  /* ===== Tour v2 additions: voice / real refs / scratch+bot / denser ===== */
  .cf-segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--elevated); margin-bottom: 18px; }
  .cf-segmented button { border: none; background: transparent; cursor: pointer; font-family: var(--font); font-size: 13.5px; font-weight: 540; color: var(--text-secondary); padding: 8px 16px; border-radius: 9px; transition: .15s; }
  .cf-segmented button.on { background: var(--surface); color: var(--text-primary); box-shadow: var(--shadow-sm); }

  .cf-voice { display: flex; flex-direction: column; gap: 12px; }
  .cf-voice-hint { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
  .cf-textarea { width: 100%; resize: vertical; min-height: 130px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-primary); font-family: var(--font); font-size: 14px; line-height: 1.5; outline: none; transition: border-color .15s, box-shadow .15s; }
  .cf-textarea::placeholder { color: var(--text-tertiary); }
  .cf-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
  .cf-voice-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .cf-voice-count { font-size: 12px; color: var(--text-tertiary); }
  .cf-voice-card { margin-top: 4px; width: 100%; }

  .cf-reflist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
  .cf-refcard { position: relative; display: flex; align-items: center; gap: 11px; padding: 12px; padding-right: 34px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; text-align: left; font-family: var(--font); transition: .15s; }
  .cf-refcard:hover { border-color: var(--border-strong); }
  .cf-refcard.on { border-color: var(--accent); background: var(--accent-subtle); }
  .cf-ref-img { width: 38px; height: 38px; border-radius: 50%; flex: none; object-fit: cover; background: var(--elevated); }
  .cf-ref-img-ph { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; background: var(--accent); }
  .cf-ref-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .cf-ref-meta b { font-size: 13.5px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cf-ref-meta i { font-size: 11.5px; font-style: normal; color: var(--text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cf-refcard .cf-card-check { top: 50%; right: 12px; transform: translateY(-50%) scale(.5); }
  .cf-refcard.on .cf-card-check { opacity: 1; transform: translateY(-50%) scale(1); }

  .cf-botnote { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--accent-subtle); color: var(--text-secondary); font-size: 12.5px; line-height: 1.5; }
  .cf-botnote svg { color: var(--accent-text); flex: none; margin-top: 1px; }
  .cf-botnote b { color: var(--text-primary); }

  .cf-chip-more { border-style: dashed; color: var(--accent-text); }
  .cf-reveal-note { display: flex; align-items: center; gap: 8px; padding: 13px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-secondary); font-size: 12.5px; line-height: 1.45; }
  .cf-reveal-note svg { color: var(--accent-text); flex: none; }

  @media (max-width: 560px) { .cf-reflist { grid-template-columns: 1fr; } }

  /* ===== SSR-безопасные reveal-анимации (components/landing/Reveal.tsx) =====
     Fade/rise сделаны ЧИСТОЙ CSS-анимацией — она проигрывается без участия JS,
     поэтому контент гарантированно становится видимым при любом состоянии JS
     (выключен / медленный / упал бандл). База — opacity:1, так что даже без
     поддержки анимаций и при prefers-reduced-motion лендинг полностью виден. */
  .lp-rv, .lp-rv-item { opacity: 1; }

  @media (prefers-reduced-motion: no-preference) {
    .lp-rv {
      animation: lpReveal .7s cubic-bezier(.16,1,.3,1) both;
      animation-delay: var(--rv-delay, 0s);
      will-change: opacity, transform;
    }
    .lp-stagger > .lp-rv-item {
      animation: lpReveal .66s cubic-bezier(.16,1,.3,1) both;
      animation-delay: calc(var(--rv-i, 0) * var(--rv-gap, .07s));
      will-change: opacity, transform;
    }
  }

  @keyframes lpReveal {
    from { opacity: 0; transform: translateY(var(--rv-y, 26px)); }
    to   { opacity: 1; transform: none; }
  }

  /* Прогрессивное улучшение: там, где браузер умеет scroll-driven animations
     (animation-timeline), секции проявляются по мере прокрутки .lp — вместо
     разового проигрывания на маунте. @supports — честный фича-квери, а не
     IntersectionObserver, поэтому не ломается на кастомном скроллере .lp
     (в отличие от забаненного тут framer whileInView). Без поддержки —
     остаётся уже готовый reveal-на-маунте выше, контент никогда не спрятан. */
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .lp-rv, .lp-stagger > .lp-rv-item {
        animation-delay: 0s;
        animation-timeline: view();
        animation-range: entry 0% entry 55%;
      }
    }
  }

  /* ===== FAQ (видимая секция + источник FAQPage для SEO/GEO) =====
     details/summary — нативный аккордеон: работает без JS, контент в DOM. */
  .lp-faq { width: 100%; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
  .lp-faq-item {
    border: 1px solid var(--lp-line); border-radius: 14px; background: var(--lp-card);
    overflow: hidden; transition: border-color .2s ease, background .5s ease;
  }
  .lp-faq-item[open] { border-color: color-mix(in srgb, var(--lp-violet) 40%, var(--lp-line)); }
  .lp-faq-q {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 18px 20px; font-size: 15.5px; font-weight: 560; letter-spacing: -.01em;
    color: var(--text-primary); transition: background-color .2s ease;
  }
  .lp-faq-q:hover { background: color-mix(in srgb, var(--lp-violet) 6%, transparent); }
  .lp-faq-q::-webkit-details-marker { display: none; }
  .lp-faq-q::after {
    content: '+'; flex: none; font-size: 22px; font-weight: 400; line-height: 1;
    color: var(--lp-violet); transition: transform .25s ease;
  }
  .lp-faq-item[open] .lp-faq-q::after { transform: rotate(45deg); }
  .lp-faq-a {
    padding: 0 20px 18px; font-size: 14px; line-height: 1.6; color: var(--text-secondary);
  }
  @media (prefers-reduced-motion: no-preference) {
    .lp-faq-item[open] .lp-faq-a { animation: lpFaqIn .3s cubic-bezier(.16,1,.3,1) both; }
  }
  @keyframes lpFaqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./components/onboarding/onboarding.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
/* ============ Онбординг-тур — split-screen «создание цифрового профиля» ============ */
/* Namespace ob-*. Опирается на токены globals.css (--accent, --surface, --text-*, …). */

.ob-root {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  color: var(--text-primary);
  overflow: hidden;
  animation: ob-fade 0.4s ease both;
}
@keyframes ob-fade { from { opacity: 0 } to { opacity: 1 } }

/* Фоновое свечение — холодное на нейронном уровне, тёплое-акцентное к «вашему» голосу. */
.ob-bg {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 72% 30%,
      color-mix(in srgb, var(--accent) calc(8% + var(--lvl, 0) * 22%), transparent), transparent 70%),
    radial-gradient(50% 40% at 20% 80%,
      color-mix(in srgb, var(--accent) calc(3% + var(--lvl, 0) * 10%), transparent), transparent 70%);
  filter: saturate(calc(0.4 + var(--lvl, 0) * 1.1));
  transition: background 0.8s ease, filter 0.8s ease;
}

.ob-frame {
  position: relative;
  z-index: 1;
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* ---------- Прогресс-рейл ---------- */
.ob-rail {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(16px, 3vw, 36px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.ob-rail-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 640;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.ob-rail-spark { color: var(--accent); }
.ob-rail-track {
  position: relative;
  height: 4px;
  border-radius: 99px;
  background: var(--elevated);
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.ob-rail-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 99px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 70%, #fff), var(--accent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 50%, transparent);
}
.ob-rail-dots {
  position: absolute;
  inset: -3px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ob-rail-dot {
  width: 10px; height: 10px;
  border-radius: 99px;
  background: var(--elevated);
  border: 2px solid var(--bg-base);
  transition: background 0.3s, transform 0.3s;
}
.ob-rail-dot.done { background: var(--accent); }
.ob-rail-dot.now {
  background: #fff;
  transform: scale(1.35);
  box-shadow: 0 0 0 4px var(--accent-subtle);
}
.ob-rail-skip {
  border: none; background: transparent; cursor: pointer;
  color: var(--text-tertiary); font: inherit; font-size: 13px;
  padding: 6px 10px; border-radius: var(--radius-sm); transition: color 0.15s, background 0.15s;
}
.ob-rail-skip:hover { color: var(--text-secondary); background: var(--elevated); }

/* ---------- Split ---------- */
.ob-split {
  flex: 1 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}
.ob-left {
  min-width: 0;
  min-height: 0; /* grid-айтем: разрешаем сжатие, чтобы .ob-left-scroll реально скроллился */
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.ob-left-scroll {
  flex: 1 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 64px);
}
/* margin:auto центрирует короткий этап по вертикали, но при переполнении поля схлопываются
   в 0 — контент скроллится целиком. justify-content:center здесь нельзя: он срезает низ. */
.ob-stage { width: 100%; max-width: 540px; margin: auto; }

/* Fill-этап (списки/формы): шапка сверху и кнопка снизу закреплены, скроллится только
   середина (.ob-scrollarea). Этап растягивается на всю высоту колонки. */
.ob-stage.ob-stage-fill {
  margin: 0 auto;
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ob-framed {
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ob-framed > .ob-head { margin-bottom: 16px; flex: none; }
.ob-scrollarea {
  flex: 1 1;
  min-height: 0;
  overflow-y: auto;
  /* небольшие поля, чтобы тени/контуры выбранных карточек не липли к краю скролла */
  padding: 2px 6px 4px 2px;
  margin: 0 -2px;
}
.ob-framed > .ob-actions {
  flex: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.ob-right {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 48px);
  overflow: hidden;
}

/* ---------- Заголовки / действия ---------- */
.ob-head { margin-bottom: 28px; }
.ob-title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 660;
  margin: 0 0 12px;
  text-wrap: balance;
}
.ob-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  max-width: 46ch;
  text-wrap: pretty;
}
.ob-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}
.ob-actions-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ob-next { min-width: 132px; }

/* ---------- Живая панель: статус-чип ---------- */
.ob-panel-inner {
  position: relative;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ob-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 540;
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.ob-status-dot {
  width: 7px; height: 7px; border-radius: 99px;
  background: var(--text-tertiary);
}
.ob-status-dot.live {
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: ob-pulse 1.4s infinite;
}
@keyframes ob-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Живая панель: пост ---------- */
.ob-post {
  --warm: color-mix(in srgb, var(--accent) calc(var(--lvl) * 100%), #8a8a93);
  position: relative;
  width: 100%;
  /* Длинный пост не должен рвать вёрстку: карточка не выше 75dvh, шапка/картинка/футер
     закреплены, скроллится только тело (.ob-post-body). По вертикали центрирует .ob-right. */
  display: flex;
  flex-direction: column;
  max-height: 75dvh;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px 18px 14px;
  overflow: hidden;
  transition: box-shadow 0.5s, border-color 0.5s, filter 0.6s;
  filter: saturate(calc(0.55 + var(--lvl) * 0.55));
}
.ob-post-head, .ob-post-img, .ob-post-foot { flex: none; }
.ob-post::after {
  /* тёплый ободок проявляется с уровнем */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) calc(var(--lvl) * 40%), transparent);
  opacity: var(--lvl);
  transition: opacity 0.6s;
}
.ob-post-neural {
  filter: grayscale(0.5) saturate(0.5) contrast(0.96);
}
/* Сканлайны нейронного поста */
.ob-scan {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: repeating-linear-gradient(0deg, transparent 0 3px, color-mix(in srgb, var(--text-primary) 4%, transparent) 3px 4px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  animation: ob-scanmove 6s linear infinite;
}
@keyframes ob-scanmove { from { background-position: 0 0 } to { background-position: 0 40px } }

.ob-post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ob-post-av {
  width: 40px; height: 40px; flex: none;
  border-radius: 99px;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 640;
  color: #fff;
  background: linear-gradient(135deg, var(--warm), color-mix(in srgb, var(--warm) 60%, #000));
  transition: background 0.6s;
}
.ob-post-meta { min-width: 0; }
.ob-post-name {
  font-weight: 620; font-size: 14.5px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 5px;
}
.ob-post-verified { color: var(--accent); font-size: 12px; }
.ob-post-sub { font-size: 12px; color: var(--text-tertiary); margin-top: 1px; }

.ob-post-img {
  position: relative;
  height: 150px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, var(--elevated)), var(--elevated));
}
.ob-img-noise {
  background:
    repeating-conic-gradient(from 0deg, #555 0% 25%, #222 0% 50%) 0 0 / 6px 6px,
    var(--elevated);
  filter: contrast(1.2);
}
.ob-img-scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 50%, transparent), transparent);
  height: 40%;
  animation: ob-imgscan 1.1s ease-in-out infinite;
}
@keyframes ob-imgscan { 0% { transform: translateY(-120%) } 100% { transform: translateY(320%) } }
.ob-img-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, color-mix(in srgb, #fff 35%, transparent) 50%, transparent 70%);
  animation: ob-shine 2.4s ease-in-out infinite;
}
@keyframes ob-shine { 0%,100% { transform: translateX(-60%) } 50% { transform: translateX(60%) } }

.ob-post-body {
  font-size: 14px;
  line-height: 1.62;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-primary);
  /* тело — единственная скроллируемая область карточки; min-height:0 даёт flex-child
     сжаться ниже своего контента, иначе длинный текст распёр бы карточку выше 75dvh */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* немного места справа, чтобы текст не липнул к скроллбару */
  padding-right: 6px;
  margin-right: -6px;
}
/* Тонкий ненавязчивый скроллбар тела поста */
.ob-post-body::-webkit-scrollbar { width: 6px; }
.ob-post-body::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--text-tertiary) 45%, transparent);
  border-radius: 99px;
}
.ob-post-body { scrollbar-width: thin; }
/* Markdown-разметка внутри тела: заголовки/списки/цитаты от нейросети */
.ob-post-body strong { font-weight: 640; }
.ob-post-body em { font-style: italic; }
.ob-post-body blockquote {
  margin: 6px 0;
  padding-left: 10px;
  border-left: 3px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--text-secondary);
}
.ob-post-body code {
  font-size: 0.92em;
  padding: 0 4px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--text-primary) 8%, transparent);
}
/* Скелет держит стартовую высоту, пока текст не пришёл */
.ob-post-skel { min-height: 110px; }
.ob-post-neural .ob-post-body { color: var(--text-secondary); }
.ob-caret {
  display: inline-block;
  width: 2px; height: 1.05em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: ob-blink 1s steps(2) infinite;
}
@keyframes ob-blink { 50% { opacity: 0 } }
.ob-post-skel { display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.ob-post-skel span {
  height: 11px; border-radius: 6px;
  background: linear-gradient(90deg, var(--elevated), var(--surface-2), var(--elevated));
  background-size: 200% 100%;
  animation: ob-shimmer 1.4s linear infinite;
}
@keyframes ob-shimmer { from { background-position: 200% 0 } to { background-position: -200% 0 } }

.ob-post-foot {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-tertiary);
}
.ob-post-mark {
  margin-left: auto;
  padding: 3px 9px; border-radius: 99px;
  background: var(--accent-subtle); color: var(--accent-text);
  font-weight: 560;
}
.ob-post-neural .ob-post-mark { background: var(--elevated); color: var(--text-tertiary); }

/* ---------- Стек карточек (этап 3А) ---------- */
.ob-stack {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 240px;
  margin: 12px auto 0;
}
.ob-card {
  position: absolute;
  inset: 0 0 auto 0;
  height: 200px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  overflow: hidden;
  transform-origin: 50% 120%;
}
.ob-card-tag {
  font-size: 11px; font-weight: 600;
  color: var(--accent-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.ob-card-text {
  font-size: 13px; line-height: 1.5;
  color: var(--text-secondary);
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ob-card-reveal {
  position: absolute; inset: 0;
  background:
    repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--accent) 40%, #000) 0% 25%, transparent 0% 50%) 0 0 / 5px 5px;
  mix-blend-mode: overlay;
  animation: ob-dissolve 1.5s ease forwards;
}
@keyframes ob-dissolve { from { opacity: 0.8 } to { opacity: 0 } }

/* ---------- Этап 2: выбор пути ---------- */
.ob-field {
  display: flex; gap: 8px;
}
.ob-input {
  flex: 1 1; min-width: 0;
  height: 50px; padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-primary);
  font: inherit; font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ob-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.ob-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-tertiary); font-size: 13px; }
.ob-or::before, .ob-or::after { content: ""; flex: 1 1; height: 1px; background: var(--border); }
.ob-err { margin-top: 10px; font-size: 13.5px; color: var(--danger); }

/* ---------- Сетки выбора (ниши / темы) ---------- */
.ob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.ob-tile {
  display: flex; align-items: center; gap: 10px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font: inherit; font-size: 14px; font-weight: 520;
  color: var(--text-primary);
  transition: border-color 0.15s, background 0.15s, transform 0.08s;
}
.ob-tile:hover { border-color: var(--border-strong); background: var(--elevated); }
.ob-tile:active { transform: scale(0.98); }
.ob-tile.sel { border-color: var(--accent); background: var(--accent-subtle); }
.ob-tile-sub { font-size: 12px; color: var(--text-tertiary); font-weight: 400; }

/* ---------- Чипы (аудитория) ---------- */
.ob-chips-group { margin-bottom: 16px; }
.ob-chips-label { font-size: 12.5px; color: var(--text-tertiary); margin-bottom: 8px; font-weight: 540; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-chip {
  padding: 8px 14px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-secondary); font: inherit; font-size: 13.5px; cursor: pointer;
  transition: all 0.15s;
}
.ob-chip:hover { background: var(--elevated); color: var(--text-primary); }
.ob-chip.sel { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }

.ob-textarea {
  width: 100%;
  min-height: 96px; padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text-primary);
  font: inherit; font-size: 14.5px; line-height: 1.5; resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ob-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }

/* ---------- Темы (этап 5) ---------- */
.ob-topic {
  position: relative;
  padding: 13px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer; text-align: left; font: inherit;
  color: var(--text-primary);
  transition: all 0.15s;
}
.ob-topic:hover { border-color: var(--border-strong); }
.ob-topic.sel { border-color: var(--accent); background: var(--accent-subtle); }
.ob-topic-label { font-size: 14px; font-weight: 560; }
.ob-topic-hint { font-size: 12px; color: var(--text-tertiary); margin-top: 3px; line-height: 1.4; }
.ob-topic-check {
  position: absolute; top: 12px; right: 12px;
  width: 18px; height: 18px; border-radius: 99px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 11px;
}
.ob-count { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; }
.ob-count b { color: var(--text-primary); }

/* ---------- Интервью автора (этап 6) ---------- */
.ob-interview { display: flex; flex-direction: column; gap: 14px; }
.ob-qa-label { font-size: 13.5px; font-weight: 560; margin-bottom: 6px; }
.ob-seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--elevated); border-radius: var(--radius); }
.ob-seg button {
  border: none; background: transparent; cursor: pointer; font: inherit; font-size: 13px;
  padding: 7px 16px; border-radius: var(--radius-sm); color: var(--text-secondary);
}
.ob-seg button.sel { background: var(--surface); color: var(--text-primary); box-shadow: var(--shadow-sm); }

/* ---------- Финал (этап 7) ---------- */
.ob-final-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ob-cta {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; text-align: left; font: inherit; width: 100%;
  transition: all 0.15s;
}
.ob-cta:hover { border-color: var(--accent); background: var(--accent-subtle); transform: translateY(-1px); }
.ob-cta-ico-wrap {
  flex: none;
  width: 38px; height: 38px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--accent-subtle); color: var(--accent-text);
}
.ob-cta:hover .ob-cta-ico-wrap { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.ob-cta-ico { display: block; }
.ob-cta-t { font-size: 15px; font-weight: 600; }
.ob-cta-d { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.ob-cta-primary { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }

/* «Размышления» этапа 7: проплывающие блоки данных */
.ob-think { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ob-think span {
  font-size: 12px; padding: 5px 10px; border-radius: 99px;
  background: var(--elevated); color: var(--text-secondary);
}

/* ---------- Мобильный переключатель ---------- */
.ob-mtoggle {
  display: none;
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 1010;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 99px; padding: 5px; box-shadow: var(--shadow-lg);
}
.ob-mtoggle button {
  border: none; background: transparent; cursor: pointer; font: inherit;
  font-size: 13.5px; font-weight: 540; color: var(--text-secondary);
  padding: 9px 20px; border-radius: 99px;
}
.ob-mtoggle button.active { background: var(--accent); color: var(--on-accent); }

/* ---------- Мобильная адаптация (split → переключатель) ---------- */
.ob-root[data-mobile="1"] .ob-split { grid-template-columns: 1fr; }
.ob-root[data-mobile="1"] .ob-left { border-right: none; }
.ob-root[data-mobile="1"] .ob-mtoggle { display: inline-flex; }
.ob-root[data-mobile="1"] .ob-left-scroll { padding-bottom: 84px; }
.ob-root[data-mobile="1"][data-view="edit"] .ob-right { display: none; }
.ob-root[data-mobile="1"][data-view="preview"] .ob-left { display: none; }
.ob-root[data-mobile="1"][data-view="preview"] .ob-right { display: flex; padding-bottom: 84px; }

/* Узкий desktop — на всякий случай не ломаемся */
@media (max-width: 900px) and (min-width: 861px) {
  .ob-split { grid-template-columns: 1fr; }
}

/* ---------- Этап «Старт» (заставка) ---------- */
.ob-intro-mark {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  font-size: 26px; color: var(--accent);
  background: var(--accent-subtle);
  margin-bottom: 22px;
}
.ob-intro-title { font-size: clamp(28px, 3.9vw, 46px); }

/* ---------- Моушен-сцена «настройки» (правая панель, старт) ---------- */
.ob-scene {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 3;
  display: grid; place-items: center;
}
.ob-scene-core {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 99px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 72%);
}
.ob-scene-spark { font-size: 30px; color: var(--accent); }
.ob-scene-ring {
  position: absolute; inset: 0;
  border-radius: 99px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  animation: ob-scene-pulse 2.6s ease-out infinite;
}
@keyframes ob-scene-pulse {
  0% { transform: scale(0.85); opacity: 0.85; }
  100% { transform: scale(2.6); opacity: 0; }
}
.ob-scene-block {
  position: absolute;
  padding: 8px 14px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  font-size: 13px; font-weight: 540;
  color: var(--text-secondary);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  white-space: nowrap;
}

/* ---------- Статистика карточки: line-иконки вместо эмодзи ---------- */
.ob-post-stat { display: inline-flex; align-items: center; gap: 5px; }
.ob-stat-ico { opacity: 0.72; }

/* ---------- Аудитория: компактные чипы ---------- */
.ob-chipwrap { margin-top: 18px; }

/* ---------- Автор: раскрытие необязательных деталей ---------- */
.ob-detailtoggle {
  align-self: flex-start;
  border: none; background: transparent; cursor: pointer;
  font: inherit; font-size: 13.5px; color: var(--accent-text);
  padding: 2px 0; text-align: left;
}
.ob-detailtoggle:hover { text-decoration: underline; }
.ob-details { display: flex; flex-direction: column; gap: 14px; overflow: hidden; }

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ob-root, .ob-scan, .ob-img-scan, .ob-img-shine, .ob-status-dot.live,
  .ob-post-skel span, .ob-card-reveal, .ob-caret, .ob-scene-ring {
    animation: none !important;
  }
  .ob-bg { transition: none; }
}

