/* Нейрокит — глубокий океан: ночной синий, свечение шеврона, один акцент */
:root {
  --nk-abyss: #03061f;
  --nk-deep: #05092f;
  --nk-night: #0b1033;
  --nk-glow: #2b4bff;
  --nk-chevron: #2b4bff;
  --nk-ink: #ffffff;
  --nk-muted: #a9b6e6;
  --nk-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --nk-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --nk-text: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--nk-abyss); scroll-padding-top: 72px; }
body {
  margin: 0;
  color: var(--nk-ink);
  font-family: var(--nk-text);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 700px at 70% 18%, rgba(43, 75, 255, .34), transparent 60%),
    radial-gradient(900px 600px at 15% 70%, rgba(110, 139, 255, .14), transparent 65%),
    linear-gradient(180deg, var(--nk-night) 0%, var(--nk-deep) 45%, var(--nk-abyss) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

#nk-ocean {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main { position: relative; z-index: 1; }
.nk-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: max(18px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-right)) 18px max(32px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(5, 9, 47, .85) 0%, rgba(5, 9, 47, .4) 60%, rgba(5, 9, 47, 0) 100%);
}
.nk-header__left { display: flex; align-items: center; gap: 40px; }
.nk-header__logo img { display: block; width: 132px; height: auto; }
.nk-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nk-nav__list a { font-size: 15px; font-weight: 500; color: var(--nk-ink); text-decoration: none; transition: color .2s ease; }
.nk-nav__list a:hover { color: var(--nk-muted); }
.nk-header__right { display: flex; align-items: center; gap: 12px; }
.nk-enter { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--nk-ink); text-decoration: none; }
.nk-enter__ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--nk-chevron); transition: background .2s ease; }
.nk-enter:hover .nk-enter__ic { background: #4562ff; }
.nk-enter__ic svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nk-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nk-burger span { display: block; width: 18px; height: 2px; border-radius: 1px; background: var(--nk-ink); }
.nk-nav__list a:focus-visible, .nk-enter:focus-visible, .nk-burger:focus-visible { outline: 2px solid var(--nk-ink); outline-offset: 3px; }
.nk-join { display: none; height: 44px; text-decoration: none; padding: 0 18px; border: 0; border-radius: 22px; background: var(--nk-chevron); color: #fff; font: 600 15px/44px var(--nk-text); white-space: nowrap; cursor: pointer; transition: background .2s ease; }
.nk-join:hover { background: #4562ff; }
.nk-join:focus-visible, .nk-drawer a:focus-visible, .nk-drawer__close:focus-visible { outline: 2px solid var(--nk-ink); outline-offset: 3px; }
/* боковое меню: панель выезжает справа, пункты влетают по очереди */
.nk-drawer { position: fixed; inset: 0; z-index: 40; visibility: hidden; transition: visibility 0s linear .55s; }
.nk-drawer::before { content: ""; position: absolute; inset: 0; background: rgba(3, 6, 31, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s ease; }
.nk-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 24px; overflow-y: auto; background: radial-gradient(120% 60% at 100% 0%, rgba(43, 75, 255, .35) 0%, rgba(43, 75, 255, 0) 60%), linear-gradient(180deg, #0b1033 0%, #05092f 100%); transform: translateX(100%); transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.nk-drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.nk-drawer__top img { display: block; width: 116px; height: auto; }
.nk-drawer__close { position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); cursor: pointer; }
.nk-drawer__close span { position: absolute; left: 13px; top: 21px; width: 18px; height: 2px; border-radius: 1px; background: var(--nk-ink); transform: rotate(0); transition: transform .45s cubic-bezier(.2, .9, .25, 1) .2s; }
.nk-drawer__nav { display: flex; flex-direction: column; padding: 40px 0 32px; }
.nk-drawer__nav a, .nk-drawer__foot { opacity: 0; transform: translateX(48px); transition: opacity .4s ease, transform .6s cubic-bezier(.2, .9, .25, 1); }
.nk-drawer__nav a { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; font-size: clamp(30px, 9vw, 40px); font-weight: 600; line-height: 1.15; color: var(--nk-ink); text-decoration: none; }
.nk-drawer__nav b { font: 500 14px/1 var(--nk-mono); color: var(--nk-muted); opacity: .6; transition: color .2s ease, opacity .2s ease; }
.nk-drawer__nav a::after { content: ">"; margin-left: auto; font-size: .8em; color: var(--nk-chevron); opacity: 0; transform: translateX(-10px); transition: opacity .25s ease, transform .25s ease; }
.nk-drawer__nav a:hover::after, .nk-drawer__nav a.is-here::after { opacity: 1; transform: none; }
.nk-drawer__nav a.is-here b { color: var(--nk-chevron); opacity: 1; }
.nk-drawer__foot { margin-top: auto; }
.nk-drawer__foot .nk-btn { width: 100%; padding-left: 16px; padding-right: 16px; }
.nk-drawer__foot p { margin: 12px 0 0; text-align: center; font-size: 14px; color: rgba(169, 182, 230, .75); }
.nk-drawer__in { display: block; margin-top: 16px; padding: 12px 0; text-align: center; font-size: 15px; font-weight: 600; color: var(--nk-ink); text-decoration: none; }
.nk-drawer.is-open { visibility: visible; transition-delay: 0s; }
.nk-drawer.is-open::before { opacity: 1; }
.nk-drawer.is-open .nk-drawer__panel { transform: none; }
.nk-drawer.is-open .nk-drawer__close span:first-child { transform: rotate(45deg); }
.nk-drawer.is-open .nk-drawer__close span:last-child { transform: rotate(-45deg); }
.nk-drawer.is-open .nk-drawer__nav a, .nk-drawer.is-open .nk-drawer__foot { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * 55ms); }
@media (max-width: 1179px) {
  .nk-header { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .nk-nav, .nk-enter { display: none; }
  .nk-join { display: block; }
  .nk-burger { display: flex; }
}
@media (max-width: 480px) {
  .nk-header__logo img { width: 116px; }
}

.nk-hero {
  min-height: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding: 120px max(16px, env(safe-area-inset-right)) 96px max(16px, env(safe-area-inset-left));
  position: relative;
}
.nk-hero > *, .nk-header, .nk-mission { transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.nk-intro .nk-hero > *, .nk-intro .nk-header, .nk-intro .nk-mission { opacity: 0; transform: translateY(14px); }
.nk-intro .nk-hero__title { transform: scale(.97); }
.nk-hero__offer { transition-delay: .35s; }
.nk-tools { transition-delay: .55s; }
.nk-hero .nk-btn { transition: opacity 1s ease .75s, transform 1s cubic-bezier(.2, .7, .2, 1) .75s, background .2s ease; }
.nk-hero__pay { transition-delay: .9s; }
.nk-header, .nk-mission { transition-delay: 1s; }
.nk-hero__title { margin: 0 0 48px; width: min(1180px, 92vw); line-height: 0; }
.nk-hero__title img { display: block; width: 100%; height: auto; }
.nk-hero__offer { margin: 0 0 32px; max-width: 36ch; font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.4; color: var(--nk-ink); text-wrap: balance; }
.nk-tools { list-style: none; margin: 0 0 48px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.nk-tools li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--nk-ink); }
.nk-tools svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.nk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  border-radius: 14px;
  background: var(--nk-glow);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: background .2s ease;
}
.nk-hero__pay { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: rgba(169, 182, 230, .75); }
.nk-btn:hover { background: #4562ff; }
.nk-btn:focus-visible { outline: 2px solid var(--nk-ink); outline-offset: 3px; }


.nk-mission { padding: 200px max(16px, env(safe-area-inset-right)) 160px max(16px, env(safe-area-inset-left)); }
.nk-mission__inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 140px; }
.nk-reveal { margin: 0; max-width: 24ch; font-size: clamp(22px, 2.5vw, 34px); font-weight: 400; line-height: 1.35; color: var(--nk-ink); text-wrap: pretty; }
.nk-reveal:nth-child(2) { align-self: flex-end; }
.nk-reveal:nth-child(3) { align-self: center; }
.nk-reveal .w { opacity: .18; transition: opacity .35s ease; }
.nk-reveal .w.is-on { opacity: 1; }

/* «Что внутри»: обычная сетка в две колонки со сдвигом, как у второго экрана, без фона.
   Пункт у середины экрана загорается, и кит справа складывается в его картинку (inside.js → ocean.js) */
.nk-in { padding: 140px max(16px, env(safe-area-inset-right)) 260px max(16px, env(safe-area-inset-left)); }
.nk-in__pin { max-width: 1120px; margin: 0 auto; }
.nk-in__col { width: 100%; max-width: 640px; }
.nk-in__title { margin: 0 0 80px; font-size: clamp(44px, 7vw, 104px); font-weight: 600; line-height: 1.02; color: var(--nk-ink); }
.nk-in__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(140px, 26vh, 280px) 56px; }
.nk-in__step { opacity: .25; transition: opacity .6s ease; }
.nk-in__step.is-on { opacity: 1; }
.nk-in__step:nth-child(even) { margin-top: clamp(180px, 30vh, 320px); }
.nk-in__t { margin: 0 0 16px; font-size: clamp(28px, 2.4vw, 34px); font-weight: 600; line-height: 1.15; color: var(--nk-ink); text-wrap: balance; }
.nk-in__d { margin: 0; max-width: 30ch; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.45; color: rgba(255, 255, 255, .85); }
@media (max-width: 900px) {
  .nk-in__col { max-width: none; }
}

/* Для кого: сверху роли, под ними панель выбранной роли — строка крупно, что научится, стопка кадров роликов.
   Пока человек не нажал роль, они листаются сами каждые 7 секунд (who.js) */
.nk-who { padding: 160px max(16px, env(safe-area-inset-right)) 160px max(16px, env(safe-area-inset-left)); overflow: hidden; }
.nk-who__inner { max-width: 1120px; margin: 0 auto; }
.nk-who__title { margin: 0 0 40px; font-size: clamp(44px, 7vw, 104px); font-weight: 600; line-height: 1.02; color: var(--nk-ink); }
/* Роли — табы-капсулы на стеклянной дорожке: синяя капсула плавно переезжает к выбранной роли */
.nk-who__tabs { position: relative; display: inline-flex; gap: 4px; max-width: 100%; margin: 0 0 64px; padding: 6px; border: 1px solid rgba(169, 182, 230, .16); border-radius: 999px; background: rgba(11, 16, 51, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nk-who__pill { position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: 999px; background: var(--nk-glow); transition: transform .55s cubic-bezier(.22, 1, .36, 1), width .55s cubic-bezier(.22, 1, .36, 1), height .55s cubic-bezier(.22, 1, .36, 1); }
.nk-who__pill.is-still { transition: none; }
.nk-who__tab { position: relative; z-index: 1; flex: none; margin: 0; padding: 14px 26px; border: 0; border-radius: 999px; background: none; font: 600 17px/1.2 var(--nk-text); color: rgba(255, 255, 255, .55); white-space: nowrap; cursor: pointer; transition: color .3s ease; }
.nk-who__tab:hover { color: var(--nk-ink); }
.nk-who__tab[aria-selected="true"] { color: var(--nk-ink); }
.nk-who__tab:focus-visible { outline: 2px solid var(--nk-ink); outline-offset: -4px; }
.nk-who__panels { display: grid; }
.nk-who__panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px 56px; align-items: center; visibility: hidden; opacity: 0; }
.nk-who__panel.is-on { visibility: visible; opacity: 1; animation: nk-who-in .5s ease both; }
.nk-who__say { margin: 0 0 32px; max-width: 22ch; font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; line-height: 1.25; color: var(--nk-ink); }
.nk-who__gets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.nk-who__gets li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.35; color: rgba(255, 255, 255, .8); }
.nk-who__gets li::before { content: ">"; position: absolute; left: 0; top: 0; font-weight: 600; color: var(--nk-chevron); }
/* Кадры роликов роли стопкой: спереди крупная карточка, за ней выглядывают ещё две.
   Стопка листается сама (передняя уезжает назад), клик — следующая карточка, наведение — пауза (who.js) */
.nk-who__pile { position: relative; aspect-ratio: 16 / 10.4; cursor: pointer; }
.nk-who__pile img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; object-fit: cover; outline: 1px solid rgba(255, 255, 255, .16); outline-offset: -1px; opacity: 0; transform: translateY(-14%) scale(.84); transition: transform .7s cubic-bezier(.2, .9, .25, 1), opacity .5s ease; }
.nk-who__pile img[data-k="0"] { z-index: 4; opacity: 1; transform: none; }
.nk-who__pile img[data-k="1"] { z-index: 3; opacity: .55; transform: translateY(-7%) scale(.94); }
.nk-who__pile img[data-k="2"] { z-index: 2; opacity: .25; transform: translateY(-13%) scale(.88); }
.nk-who__pile img.is-out { z-index: 5; opacity: 0; transform: translateY(10%) scale(1.03); }
.nk-who__count { margin: 16px 0 0; font: 500 14px/1 var(--nk-mono); color: var(--nk-muted); text-align: center; }
@keyframes nk-who-in { from { opacity: 0; transform: translateY(8px); } }
/* дорожка с пятью ролями не помещается уже 1100 px: отдельные капсулы в несколько строк, все роли видны сразу */
@media (max-width: 1100px) {
  .nk-who__tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nk-who__tab { padding: 11px 16px; border: 1px solid rgba(169, 182, 230, .16); background: rgba(11, 16, 51, .55); font-size: 15px; }
  .nk-who__tab[aria-selected="true"] { border-color: transparent; background: none; }
}
@media (max-width: 900px) {
  .nk-who__panel { grid-template-columns: 1fr; }
  .nk-who__pile { max-width: 640px; }
}
@media (max-width: 720px) {
  .nk-who { padding-top: 100px; padding-bottom: 100px; }
  .nk-who__title { margin-bottom: 24px; }
  .nk-who__tabs { margin-bottom: 36px; }
  .nk-who__panel:not(.is-on) { display: none; }   /* без пустоты под короткой ролью */
  .nk-who__say { margin-bottom: 24px; font-size: 24px; }
  .nk-who__pile img { border-radius: 12px; }
  .nk-who__gets { gap: 10px 16px; }
  .nk-who__gets li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .nk-who__panel.is-on { animation: none; }
  .nk-who__pile img { transition: none; }
}

/* Кто ведёт: фото и цифры, проекты скриншотами первых экранов, соцсети с настоящими обложками рилсов */
.nk-host { padding: 160px max(16px, env(safe-area-inset-right)) 120px max(16px, env(safe-area-inset-left)); }
.nk-host__inner { max-width: 1120px; margin: 0 auto; }
.nk-host__title { margin: 0 0 56px; font-size: clamp(44px, 7vw, 104px); font-weight: 600; line-height: 1.02; color: var(--nk-ink); }
.nk-host__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.nk-host__photo { margin: 0; border-radius: 24px; overflow: hidden; background: #c9cbce; }
.nk-host__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.nk-host__name { margin: 0 0 20px; font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; line-height: 1.1; color: var(--nk-ink); }
.nk-host__text { margin: 0 0 16px; max-width: 44ch; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.nk-host__nums { list-style: none; margin: 24px 0 0; padding: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid rgba(169, 182, 230, .16); }
.nk-host__nums b { display: block; margin-bottom: 8px; font-size: clamp(30px, 3vw, 42px); font-weight: 600; line-height: 1; color: var(--nk-ink); }
.nk-host__nums span { display: block; font-size: 15px; line-height: 1.4; color: var(--nk-muted); }
.nk-host__sub { margin: 96px 0 28px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; line-height: 1.15; color: var(--nk-ink); }
.nk-host__projects { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nk-host__proj { display: flex; flex-direction: column; height: 100%; padding: 12px 12px 24px; border-radius: 24px; background: rgba(11, 16, 51, .6); border: 1px solid rgba(169, 182, 230, .14); color: var(--nk-ink); text-decoration: none; transition: border-color .25s ease; }
.nk-host__proj:hover { border-color: rgba(169, 182, 230, .4); }
.nk-host__proj img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 14px; margin-bottom: 20px; }
.nk-host__pname { padding: 0 12px; margin-bottom: 8px; font-size: 22px; font-weight: 600; }
.nk-host__pdesc { padding: 0 12px; font-size: 16px; line-height: 1.5; color: var(--nk-muted); }
.nk-host__social { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.nk-host__ig, .nk-host__tg { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: rgba(11, 16, 51, .6); border: 1px solid rgba(169, 182, 230, .14); color: var(--nk-ink); text-decoration: none; transition: border-color .25s ease; }
.nk-host__ig:hover, .nk-host__tg:hover { border-color: rgba(169, 182, 230, .4); }
.nk-host__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.nk-host__head b { display: block; font-size: 19px; font-weight: 600; }
.nk-host__head b + span { display: block; margin-top: 2px; font-size: 15px; color: var(--nk-muted); }
.nk-host__ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; }
.nk-host__ic svg { width: 26px; height: 26px; }
.nk-host__ic--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.nk-host__ic--tg { background: #229ed9; }
.nk-host__covers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.nk-host__covers img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; }
.nk-host__covers img:nth-child(6) { display: none; }
.nk-host__big { display: block; font-size: clamp(44px, 4.6vw, 64px); font-weight: 600; line-height: 1; }
.nk-host__big span { display: block; margin-top: 8px; font-size: 16px; font-weight: 400; color: var(--nk-muted); }
.nk-host__tgtext { display: block; margin: 20px 0 24px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.nk-host__go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 24px; background: #229ed9; font-size: 15px; font-weight: 600; transition: background .2s ease; }
.nk-host__tg:hover .nk-host__go { background: #1b8bc0; }
.nk-host__proj:focus-visible, .nk-host__ig:focus-visible, .nk-host__tg:focus-visible { outline: 2px solid var(--nk-ink); outline-offset: 3px; }
@media (max-width: 900px) {
  .nk-host__top { grid-template-columns: 1fr; gap: 36px; }
  .nk-host__photo { max-width: 440px; }
  .nk-host__projects { grid-template-columns: 1fr; max-width: 560px; }
  .nk-host__social { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 720px) {
  .nk-host { padding-top: 100px; padding-bottom: 80px; }
  .nk-host__title { margin-bottom: 36px; }
    .nk-host__text { font-size: 16px; }
  .nk-host__nums { gap: 12px; }
  .nk-host__nums b { font-size: min(30px, 7vw); }
  .nk-host__nums span { font-size: 13px; }
  .nk-host__sub { margin-top: 64px; }
  .nk-host__ig, .nk-host__tg { padding: 20px; }
  .nk-host__covers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nk-host__covers img:nth-child(6) { display: block; }
}

/* Логотипы способов оплаты в вариантах оплаты: оригинальные цвета на белых плашках */
.nk-paylogos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.nk-paylogos i { display: grid; place-items: center; height: 36px; padding: 0 10px; border-radius: 10px; background: #fff; }
.nk-paylogos img { display: block; height: 18px; width: auto; }
.nk-paylogos i:first-child img { height: 26px; }

/* Блок «Вступить» на главной (#price, join.js) и страница «спасибо» done.html: слева срок и способ, справа билет-итог с почтой (липкий на десктопе) */
.nk-jn-page .nk-header { position: absolute; }
.nk-jn__back { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid rgba(169, 182, 230, .3); color: var(--nk-ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s ease, color .2s ease; }
.nk-jn__back:hover { background: #fff; color: #0b1033; }
.nk-jn { max-width: 1120px; margin: 0 auto; padding: 140px max(16px, env(safe-area-inset-right)) 120px max(16px, env(safe-area-inset-left)); }
.nk-jn [hidden] { display: none; }
.nk-jn__title { margin: 0 0 40px; font-size: clamp(40px, 5.6vw, 80px); font-weight: 600; line-height: 1.04; }
.nk-jn__steps > .nk-jn__title { margin: 0; }
.nk-jn__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; align-items: start; }
.nk-jn__steps { display: flex; flex-direction: column; gap: 48px; }
.nk-jn__h { margin: 0 0 20px; font-size: 26px; font-weight: 600; }
.nk-jn__plans, .nk-jn__ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nk-jn__opt { position: relative; display: block; cursor: pointer; }
.nk-jn__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nk-jn__opt-in { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border-radius: 18px; border: 1.5px solid rgba(169, 182, 230, .2); background: rgba(11, 16, 51, .55); transition: border-color .2s ease, background .2s ease; }
.nk-jn__opt-in b { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; }
.nk-jn__opt-in > span:not(.nk-paylogos) { font-size: 15px; line-height: 1.4; color: var(--nk-muted); }
.nk-jn__opt:hover .nk-jn__opt-in { border-color: rgba(169, 182, 230, .45); }
.nk-jn__opt input:checked + .nk-jn__opt-in { border-color: var(--nk-glow); background: rgba(43, 75, 255, .16); }
.nk-jn__opt input:focus-visible + .nk-jn__opt-in { outline: 2px solid var(--nk-ink); outline-offset: 3px; }
.nk-jn__off { padding: 4px 8px; border-radius: 999px; background: var(--nk-glow); font: 600 13px/1 var(--nk-text); font-style: normal; color: #fff; }
.nk-jn__hint { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--nk-muted); }
.nk-jn__err { position: relative; margin: 10px 0 0; padding: 10px 14px 10px 40px; border-radius: 12px; background: #fff; color: #0b1033; font-size: 14px; line-height: 1.4; }
.nk-jn__err::before { content: "!"; position: absolute; left: 12px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: #ff4d4d; color: #fff; font: 700 13px/20px var(--nk-text); text-align: center; }
.nk-jn__ticket { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 24px; border: 1px solid rgba(169, 182, 230, .2); background: rgba(11, 16, 51, .75); }
.nk-jn__ticket > .nk-jn__err { margin-top: -8px; }
.nk-jn__brand { margin: 0; }
.nk-jn__brand img { display: block; width: 116px; height: auto; }
.nk-jn__rows { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-top: 1px dashed rgba(169, 182, 230, .3); border-bottom: 1px dashed rgba(169, 182, 230, .3); }
.nk-jn__rows div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.nk-jn__rows dt { color: var(--nk-muted); }
.nk-jn__rows dd { margin: 0; text-align: right; font-weight: 500; }
.nk-jn__sum { display: flex; align-items: baseline; justify-content: space-between; margin: 0; }
.nk-jn__sum span { font-size: 16px; color: var(--nk-muted); }
.nk-jn__sum b { font-size: 36px; font-weight: 600; line-height: 1; }
.nk-jn__pay { width: 100%; }
.nk-jn__note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff; color: #0b1033; font-size: 14px; line-height: 1.45; }
.nk-jn__small { margin: 0; font-size: 14px; line-height: 1.5; color: var(--nk-muted); }
.nk-jn__done { max-width: 620px; }
.nk-jn__lead { margin: 0 0 32px; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
@media (max-width: 900px) {
  .nk-jn__grid { grid-template-columns: 1fr; }
  .nk-jn__ticket { position: static; }
}
@media (max-width: 560px) {
  .nk-jn { padding-top: 110px; padding-bottom: 80px; }
  .nk-jn__title { margin-bottom: 32px; }
  .nk-jn__steps { gap: 36px; }
  .nk-jn__h { font-size: 22px; }
  .nk-jn__plans, .nk-jn__ways { grid-template-columns: 1fr; }
  .nk-jn__ticket { padding: 22px 18px; }
}


.nk-btn { border: 0; cursor: pointer; font-family: inherit; }
body.nk-lock { overflow: hidden; }
.nk-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--nk-muted); }
.nk-field input { height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(169, 182, 230, .25); background: rgba(255, 255, 255, .04); color: var(--nk-ink); font: 500 16px var(--nk-text); outline: none; }
.nk-field input:focus { border-color: var(--nk-chevron); }
.nk-field input.is-error { border-color: #ff5a5a; }
.nk-check { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--nk-muted); cursor: pointer; }
.nk-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.nk-check__box { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(169, 182, 230, .45); display: grid; place-items: center; }
.nk-check input:checked + .nk-check__box { background: var(--nk-chevron); border-color: var(--nk-chevron); }
.nk-check input:checked + .nk-check__box::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.nk-check.is-error .nk-check__box { border-color: #ff5a5a; }
.nk-check a { color: var(--nk-ink); }

@media (max-width: 640px) {
  .nk-hero { min-height: 760px; }
  .nk-mission { padding-top: 120px; padding-bottom: 100px; }
  .nk-in { padding-top: 80px; padding-bottom: 100px; }
  .nk-in__steps { grid-template-columns: 1fr; gap: 64px; }
  .nk-in__step:nth-child(even) { margin-top: 0; }
  .nk-in__t { font-size: 32px; margin-bottom: 14px; }
  .nk-in__d { font-size: 18px; }
  .nk-mission__inner { gap: 72px; }
  .nk-reveal:nth-child(n) { align-self: flex-start; }
  .nk-hero__title { margin-bottom: 32px; }
  .nk-hero__offer { margin-bottom: 24px; }
  .nk-tools { margin-bottom: 36px; }
  .nk-tools { gap: 8px 18px; }
  .nk-tools li { font-size: 14px; }
  .nk-field input { height: 46px; }
    .nk-btn { width: 100%; max-width: 360px; }
}

@media (max-width: 359px) {
  .nk-join__x { display: none; }
  .nk-btn { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .nk-drawer__panel, .nk-drawer__nav a, .nk-drawer__foot { transition: none; }
  .nk-intro .nk-hero > *, .nk-intro .nk-header, .nk-intro .nk-mission { opacity: 1; transform: none; }
  .nk-reveal .w { opacity: 1; transition: none; }
}

/* Подвал: документы и реквизиты */
.nk-foot { position: relative; z-index: 1; border-top: 1px solid rgba(169, 182, 230, .14); background: var(--nk-abyss); }
.nk-foot__in { max-width: 1120px; margin: 0 auto; padding: 40px max(16px, env(safe-area-inset-right)) 48px max(16px, env(safe-area-inset-left)); display: grid; gap: 16px; }
.nk-foot__brand { margin: 0; }
.nk-foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.nk-foot__links a { font-size: 15px; color: var(--nk-ink); text-decoration: none; transition: color .2s ease; }
.nk-foot__links a:hover { color: var(--nk-muted); }
.nk-foot__req { margin: 0; font-size: 13px; line-height: 1.5; color: var(--nk-muted); }

/* Страницы документов: оферта и политика */
.nk-doc { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 120px max(16px, env(safe-area-inset-right)) 72px max(16px, env(safe-area-inset-left)); }
.nk-doc__back { display: inline-block; margin-bottom: 22px; padding: 10px 0; font-size: 15px; color: var(--nk-muted); text-decoration: none; }
.nk-doc__back:hover { color: var(--nk-ink); }
.nk-doc h1 { margin: 0 0 12px; font: 800 clamp(30px, 5vw, 44px)/1.1 var(--nk-display); }
.nk-doc__date { margin: 0 0 40px; font-size: 14px; color: var(--nk-muted); }
.nk-doc h2 { margin: 40px 0 12px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.nk-doc p, .nk-doc li { font-size: 16px; line-height: 1.65; color: #dfe5fb; }
.nk-doc p { margin: 0 0 12px; }
.nk-doc ul { margin: 0 0 12px; padding-left: 20px; }
.nk-doc a { color: var(--nk-ink); }
