/* np.css — новый каркас сайта: шапка, меню, главная, продукты, подвал.
   Всё под префиксом np-, чтобы не пересекаться со старыми стилями index.html
   (там глобально стилизованы button, .btn, h1-h3 и т.д.). Включается только
   когда body.np — то есть везде, кроме antonai.ru.

   ОФОРМЛЕНИЕ — ТО ЖЕ, ЧТО У «ПРЕМИУМ-СЛОЯ» САЙТА. Своих цветов и шрифтов здесь
   нет: всё берётся из токенов темы (--p-*, --red, --ink, --font-family), поэтому
   новый каркас автоматически следует настройкам внешнего вида — акценту, теме,
   шрифту — и выглядит как остальной сайт. Новое здесь только структура. */

:root {
  --np-bg: var(--p-bg);
  --np-surface: var(--p-surface);
  --np-surface-2: var(--p-surface-2);
  --np-surface-3: color-mix(in srgb, var(--p-surface-2) 82%, var(--ink));
  --np-line: var(--p-hair);
  --np-line-strong: var(--p-hair-strong);
  --np-text: var(--ink);
  --np-muted: var(--p-text-soft);
  --np-accent: var(--red);
  --np-on-accent: #fff;
  --np-glass: var(--p-glass);
  --np-hi: rgba(255, 255, 255, .85);
  --np-shadow: var(--p-elev-1);
  --np-shadow-lg: var(--p-elev-2);
  --np-glow: var(--p-glow);
  --np-ease: var(--p-ease);
  --np-font: var(--font-family);
  --np-display: var(--p-display, var(--font-family));
}
[data-theme="dark"] { --np-hi: rgba(255, 255, 255, .2); }

/* ── общий сброс внутри нового каркаса ── */
.np-scope { color: var(--np-text); font-family: var(--np-font); font-size: 16px; line-height: 1.5; -webkit-user-select: none; user-select: none; -webkit-font-smoothing: antialiased; }
.np-scope, .np-scope * { box-sizing: border-box; }
.np-scope h1, .np-scope h2, .np-scope h3, .np-scope h4, .np-scope p, .np-scope ul { margin: 0; padding: 0; font-family: inherit; letter-spacing: inherit; }
.np-scope a { color: inherit; }
.np-scope svg.np-i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── фон главной: свет акцента, как у премиум-слоя ── */
body.np-wide::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(900px 560px at 14% -8%, color-mix(in srgb, var(--np-accent) 15%, transparent), transparent 70%),
    radial-gradient(760px 520px at 108% 6%, rgba(124, 58, 237, .09), transparent 65%),
    radial-gradient(800px 520px at 50% 118%, color-mix(in srgb, var(--np-accent) 7%, transparent), transparent 70%);
}
[data-theme="light"] body.np-wide::before { opacity: .75; }

/* кнопка: и <button>, и <a>; сбрасывает глобальные стили старой кнопки.
   Вид — как у кнопок премиум-слоя: мягкий градиент акцента, свечение, «подъём». */
html body .np-b {
  all: unset; box-sizing: border-box; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 12px; color: var(--np-on-accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--np-accent) 88%, #fff) 0%, var(--np-accent) 100%);
  box-shadow: var(--np-glow), inset 0 1px 0 rgba(255, 255, 255, .22);
  font-family: var(--np-font); font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: -.005em; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--np-ease), box-shadow .2s var(--np-ease), background .2s, filter .2s; border: 1px solid transparent;
}
html body .np-b:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 14px 32px -12px color-mix(in srgb, var(--np-accent) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); }
html body .np-b:active { transform: translateY(0) scale(.98); }
html body .np-b:focus-visible { outline: 2px solid color-mix(in srgb, var(--np-accent) 70%, transparent); outline-offset: 3px; }
html body .np-b--soft { color: var(--np-text); background: var(--np-surface); border-color: var(--np-line-strong); box-shadow: var(--np-shadow); }
html body .np-b--soft:hover { filter: none; box-shadow: var(--np-shadow-lg); }
html body .np-b--ghost { color: var(--np-text); background: transparent; box-shadow: none; }
html body .np-b--ghost:hover { background: color-mix(in srgb, var(--np-text) 7%, transparent); box-shadow: none; filter: none; transform: none; }
html body .np-b--lg { height: 52px; padding: 0 28px; font-size: 16px; }
html body .np-b--sm { height: 36px; padding: 0 16px; font-size: 14px; }
html body .np-b--icon { width: 40px; height: 40px; padding: 0; background: transparent; color: var(--np-muted); box-shadow: none; border-radius: 12px; }
html body .np-b--icon:hover { background: color-mix(in srgb, var(--np-text) 7%, transparent); color: var(--np-text); box-shadow: none; filter: none; transform: none; }
html body .np-b--chip { height: 38px; padding: 0 18px; background: var(--np-surface); color: var(--np-muted); border-color: var(--np-line-strong); box-shadow: none; font-weight: 600; font-size: 14px; }
html body .np-b--chip:hover { color: var(--np-text); box-shadow: var(--np-shadow); filter: none; transform: none; }
html body .np-b--chip.is-on { background: var(--np-accent); color: var(--np-on-accent); border-color: transparent; box-shadow: var(--np-glow); }

/* ── страница шире и без старых отступов ── */
body.np-wide main { max-width: none; padding: 0 0 80px; }
.np-wrap { width: min(1140px, 100% - 40px); margin: 0 auto; }

/* появление блоков при прокрутке */
.np-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--np-ease), transform .7s var(--np-ease); transition-delay: calc(var(--i, 0) * 70ms); }
.np-rv.is-in { opacity: 1; transform: none; }

/* ── шапка: стекло и тонкая линия (как у премиум-слоя) ── */
header.np-on {
  padding: 0; gap: 0; display: flex; flex-wrap: wrap; align-items: center;
  background: var(--np-glass);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--np-line);
}
header.np-on > *:not(.np-bar-in):not(.np-mega):not(.side-toggle):not(.hdr-back) { display: none !important; }
.np-bar-in { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; height: 66px; margin: 0 auto; width: min(1140px, 100% - 40px); }
.np-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--np-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; margin-right: 22px; color: var(--np-text); }
.np-brand img { width: 34px; height: 34px; border-radius: 9px; display: block; filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--np-accent) 40%, transparent)); }
.np-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.np-links .np-link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 12px; color: var(--np-muted); text-decoration: none; font-weight: 600; font-size: 15.5px; transition: color .2s, background .2s; }
.np-links .np-link:hover { color: var(--np-text); background: color-mix(in srgb, var(--np-accent) 8%, transparent); }
.np-links .np-link.is-on { color: var(--np-accent); background: color-mix(in srgb, var(--np-accent) 12%, transparent); }
html body .np-links .np-b.np-link { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 12px; font-family: var(--np-font); font-size: 15.5px; font-weight: 600; line-height: 1; cursor: pointer; color: var(--np-muted); transition: color .2s, background .2s; }
html body .np-links .np-b.np-link:hover, html body .np-links .np-b.np-link[aria-expanded="true"] { color: var(--np-text); background: color-mix(in srgb, var(--np-accent) 8%, transparent); }
html body .np-links .np-b.np-link.is-on { color: var(--np-accent); background: color-mix(in srgb, var(--np-accent) 12%, transparent); }
.np-links .np-chev { width: 14px; height: 14px; transition: transform .25s var(--np-ease); }
.np-links [aria-expanded="true"] .np-chev { transform: rotate(180deg); }
.np-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.np-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, color-mix(in srgb, var(--np-accent) 88%, #fff), var(--np-accent)); color: var(--np-on-accent); display: grid; place-items: center; font-weight: 700; text-decoration: none; border: 1px solid var(--np-line-strong); box-shadow: var(--np-glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
/* прежняя кнопка-бургер из старой шапки: открывает прежнюю боковую панель */
.np-right > .burger { flex: none; }

/* ── выпадающее меню продуктов ── */
.np-mega { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 18px 0 26px; background: var(--np-glass); -webkit-backdrop-filter: saturate(160%) blur(22px); backdrop-filter: saturate(160%) blur(22px); border-bottom: 1px solid var(--np-line); box-shadow: var(--np-shadow-lg); }
.np-mega.is-open { display: block; animation: np-pop .2s var(--np-ease); }
.np-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.np-mega h4 { margin: 6px 10px 8px !important; font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--np-muted); font-weight: 600; }
.np-item { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 14px; text-decoration: none; transition: background .2s; }
.np-item:hover { background: color-mix(in srgb, var(--np-accent) 8%, transparent); }
.np-item .np-nm { font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.np-item .np-tg { font-size: 13.5px; color: var(--np-muted); line-height: 1.25; }
.np-mega .np-all { display: inline-flex; margin: 16px 10px 0; font-weight: 700; color: var(--np-accent); text-decoration: none; }

/* значок продукта: объёмная плитка со своим цветом и мягким свечением */
.np-mark { --c: #6f6a62; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 72%, #fff), var(--c));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -6px 12px -8px rgba(0, 0, 0, .35), 0 8px 20px -8px var(--c); }
.np-mark svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.np-mark.np-lg { width: 56px; height: 56px; border-radius: 17px; }
.np-mark.np-lg svg { width: 28px; height: 28px; }

/* ── первый экран ── */
.np-hero { padding: 72px 0 44px; }
.np-hero .np-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.np-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--np-muted);
  background: var(--np-surface); border: 1px solid var(--np-line-strong); box-shadow: var(--np-shadow); transition: color .2s, transform .2s var(--np-ease), box-shadow .2s; }
.np-pill:hover { color: var(--np-text); transform: translateY(-1px); box-shadow: var(--np-shadow-lg); }
.np-pill b { color: var(--np-text); font-weight: 700; }
.np-pill svg { width: 15px; height: 15px; }
.np-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--np-accent); animation: np-pulse 2.4s infinite; }
html body .np-scope h1.np-big { margin: 22px 0 20px; font-family: var(--np-display); font-size: clamp(40px, 5.8vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; color: var(--np-text); }
.np-big .np-em { position: relative; white-space: nowrap; color: var(--np-accent); font-style: italic; font-weight: 700; letter-spacing: -.01em; }
.np-big .np-em svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 12px; stroke: var(--np-accent); fill: none; stroke-width: 3; stroke-linecap: round; }
.np-hero p.np-lead { font-size: 19px; line-height: 1.6; color: var(--np-muted); max-width: 500px; margin: 0 0 30px; }
.np-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* композиция справа: три окна продуктов, как они выглядят */
.np-scenebox { position: relative; width: 100%; }
.np-scene { position: absolute; left: 0; top: 0; width: 540px; height: 420px; transform-origin: 0 0; }
.np-aura { position: absolute; left: 50%; top: 52%; width: 520px; height: 420px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--np-accent) 30%, transparent), transparent 72%); filter: blur(30px); opacity: .8; }
.np-win { position: absolute; border-radius: 20px; background: var(--np-surface); border: 1px solid var(--np-line-strong); box-shadow: var(--np-shadow-lg), inset 0 1px 0 var(--np-hi); overflow: hidden; animation: np-float 8s ease-in-out infinite; }
.np-win .np-wh { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--np-line); font-size: 13px; font-weight: 700; color: var(--np-muted); background: var(--np-surface-2); }
.np-win .np-wh i { width: 9px; height: 9px; border-radius: 50%; background: var(--np-line-strong); }
.np-win .np-wh span { margin-left: 6px; }
.np-win--drive { left: 0; top: 24px; width: 330px; animation-delay: -1s; }
.np-win--chat { right: 0; top: 150px; width: 270px; animation-delay: -3.5s; z-index: 2; }
.np-win--note { left: 56px; bottom: 6px; width: 250px; animation-delay: -5s; z-index: 3; border-radius: 16px; }
.np-fr { display: flex; align-items: center; gap: 11px; padding: 9px 14px; font-size: 14px; border-bottom: 1px solid var(--np-line); }
.np-fr:last-of-type { border-bottom: 0; }
.np-fr .np-fi { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); flex: none; }
.np-fr .np-fi svg { width: 15px; height: 15px; }
.np-fr b { font-weight: 700; letter-spacing: -.01em; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-fr small { color: var(--np-muted); font-size: 12.5px; }
.np-store { padding: 12px 14px 14px; font-size: 12.5px; color: var(--np-muted); }
.np-store div { height: 5px; border-radius: 99px; background: var(--np-surface-3); margin-bottom: 7px; overflow: hidden; }
.np-store div i { display: block; width: 34%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--np-accent), color-mix(in srgb, var(--np-accent) 60%, #ffb347)); }
.np-bub { margin: 10px 14px; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4; max-width: 86%; }
.np-bub--me { margin-left: auto; background: linear-gradient(180deg, color-mix(in srgb, var(--np-accent) 88%, #fff), var(--np-accent)); color: #fff; border-bottom-right-radius: 5px; }
.np-bub--ai { background: var(--np-surface-3); border-bottom-left-radius: 5px; }
.np-typing { display: inline-flex; gap: 4px; padding: 3px 0; }
.np-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--np-muted); animation: np-blink 1.2s infinite; }
.np-typing i:nth-child(2) { animation-delay: .15s; } .np-typing i:nth-child(3) { animation-delay: .3s; }
.np-nt { display: flex; align-items: center; gap: 11px; padding: 11px 14px; font-size: 13.5px; line-height: 1.3; }
.np-nt b { display: block; font-weight: 700; letter-spacing: -.01em; }
.np-nt span { color: var(--np-muted); font-size: 13px; }

/* ── секции ── */
.np-sec { padding: 52px 0; }
.np-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.np-scope .np-sec-head h2 { font-family: var(--np-display); font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; line-height: 1.08; font-weight: 800; margin: 0; }
.np-sec-head p { margin: 10px 0 0; color: var(--np-muted); font-size: 17px; }
.np-sec-head .np-more { font-weight: 700; color: var(--np-text); text-decoration: none; font-size: 15.5px; opacity: .85; transition: opacity .2s, color .2s; }
.np-sec-head .np-more:hover { opacity: 1; color: var(--np-accent); }
.np-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .24em; color: var(--np-muted); font-weight: 600; margin-bottom: 12px; }
.np-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--np-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--np-accent) 18%, transparent); }
.np-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }

/* карточки продуктов: поверхность премиум-слоя + подсветка под курсором */
.np-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.np-card { --c: var(--np-accent); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 22px; text-align: left; cursor: pointer;
  background: var(--np-surface); border: 1px solid var(--np-line); box-shadow: var(--np-shadow); transition: transform .3s var(--np-ease), box-shadow .3s var(--np-ease), border-color .3s; }
.np-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 20%, transparent), transparent 62%); }
.np-card:hover { transform: translateY(-3px); box-shadow: var(--np-shadow-lg); border-color: color-mix(in srgb, var(--c) 32%, var(--np-line)); }
.np-card:hover::before { opacity: 1; }
.np-card:focus-visible { outline: 2px solid color-mix(in srgb, var(--np-accent) 70%, transparent); outline-offset: 3px; }
.np-card .np-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.np-card .np-badge { font-size: 12px; letter-spacing: .06em; color: var(--np-muted); background: var(--np-surface-2); border-radius: 999px; padding: 5px 11px; white-space: nowrap; border: 1px solid var(--np-line); }
.np-scope .np-card h3 { font-family: var(--np-display); font-size: 24px; letter-spacing: -.02em; font-weight: 800; margin: 2px 0 0; line-height: 1.15; }
.np-card p { color: var(--np-muted); font-size: 16px; line-height: 1.55; flex: 1; margin: 0; }
.np-card .np-go { font-weight: 700; font-size: 15.5px; display: inline-flex; align-items: center; gap: 6px; color: var(--np-text); }
.np-card .np-go svg { transition: transform .3s var(--np-ease); color: var(--c); }
.np-card:hover .np-go svg { transform: translateX(5px); }
.np-card.np-feature { grid-column: span 2; padding: 30px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 12%, var(--np-surface)), var(--np-surface) 62%); }
.np-scope .np-card.np-feature h3 { font-size: 32px; letter-spacing: -.03em; }
.np-card.np-feature p { font-size: 17px; max-width: 520px; }

/* блок про единый аккаунт: поверхность со светом акцента */
.np-account { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: 40px; border-radius: 26px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--np-accent) 10%, var(--np-surface)), var(--np-surface) 65%);
  border: 1px solid var(--np-line-strong); box-shadow: var(--np-shadow-lg); }
.np-account::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--np-accent) 34%, transparent), transparent); filter: blur(20px); }
.np-scope .np-account h2 { margin: 0 0 12px; font-family: var(--np-display); font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.03em; font-weight: 800; line-height: 1.1; }
.np-account p { margin: 0 0 24px; color: var(--np-muted); max-width: 460px; font-size: 17px; }
.np-account ul { list-style: none; display: grid; gap: 10px; }
.np-account li { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 16px; background: var(--np-surface); border: 1px solid var(--np-line); box-shadow: var(--np-shadow); }
.np-account li span { font-weight: 700; letter-spacing: -.01em; }
.np-account li small { color: var(--np-muted); margin-left: auto; font-size: 14px; }

.np-posts { display: grid; }
.np-post { position: relative; display: flex; align-items: baseline; gap: 18px; padding: 20px 14px; margin: 0 -14px; border-radius: 14px; text-decoration: none; transition: background .25s var(--np-ease), padding-left .25s var(--np-ease); }
.np-post::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: var(--np-line); }
.np-post:hover { background: color-mix(in srgb, var(--np-surface) 70%, transparent); padding-left: 22px; }
.np-post:hover::before, .np-post:hover + .np-post::before { opacity: 0; }
.np-post time { color: var(--np-muted); font-size: 14.5px; width: 150px; flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.np-post b { font-size: 20px; font-weight: 700; letter-spacing: -.015em; flex: 1; }
.np-post small { color: var(--np-muted); font-size: 14px; }

/* ── окно продукта ── */
.np-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(10, 9, 9, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: np-fade .2s ease-out; }
.np-dialog { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--np-surface); border: 1px solid var(--np-line); box-shadow: var(--np-shadow-lg); border-radius: 22px; padding: 30px; animation: np-pop .28s var(--np-ease); color: var(--np-text); font-family: var(--np-font); font-size: 16px; line-height: 1.55; }
.np-dialog .np-mark { margin-bottom: 16px; }
.np-dialog .np-tag { color: var(--np-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.np-scope .np-dialog h2 { margin: 4px 0 12px; font-family: var(--np-display); font-size: 30px; letter-spacing: -.025em; font-weight: 800; line-height: 1.12; }
.np-dialog p { color: var(--np-muted); margin: 0; font-size: 17px; }
.np-dialog .np-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }

/* ── подвал ── */
body.np footer { margin-top: 0; border-top: 1px solid var(--np-line); padding: 34px 0 44px; color: var(--np-muted); font-family: var(--np-font); font-size: 14.5px; line-height: 1.5; text-align: left; background: transparent; }
body.np footer .np-wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
body.np footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
body.np footer a { color: inherit; text-decoration: none; transition: color .2s; }
body.np footer a:hover { color: var(--np-accent); }

@keyframes np-float { 50% { transform: translateY(-9px); } }
@keyframes np-fade { from { opacity: 0; } }
@keyframes np-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes np-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--np-accent) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes np-blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .np-scope *, .np-win, .np-dot { animation: none !important; transition: none !important; }
  .np-rv { opacity: 1; transform: none; }
}

@media (max-width: 920px) {
  .np-links, .np-right .np-theme-d { display: none !important; }
  .np-hero { padding: 40px 0 28px; }
  .np-hero .np-wrap { grid-template-columns: 1fr; gap: 28px; }
  .np-grid { grid-template-columns: 1fr 1fr; }
  .np-account { grid-template-columns: 1fr; padding: 28px; }
  .np-mega { display: none !important; }
  .np-sec { padding: 38px 0; }
}
@media (max-width: 600px) {
  .np-scenebox { display: none; }
  .np-grid { grid-template-columns: 1fr; }
  .np-card.np-feature { grid-column: auto; padding: 24px; }
  .np-post { flex-wrap: wrap; gap: 4px 12px; }
  .np-post time { width: auto; }
  .np-hero p.np-lead { font-size: 17px; }
  .np-cta .np-b { flex: 1; }
}

/* на широком экране разделы уже в шапке — шторка остаётся панелью аккаунта */
@media (min-width: 921px) {
  body.np .drawer nav#dnav { display: none; }
  body.np .drawer { display: flex; flex-direction: column; }
  body.np .drawer .foot { margin-top: 28px; border-top: 0; }
}
