/* =====================================================================
   Neko Genesis — оформление.
   Цвета темы меняются в блоке :root ниже.
   ===================================================================== */

:root {
  color-scheme: dark;

  /* Фон и поверхности */
  --bg: #05070e;
  --bg-deep: #020309;
  --panel: rgba(120, 160, 255, .035);
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --input: #0b1120;
  --border: rgba(140, 180, 255, .14);
  --border-strong: rgba(140, 190, 255, .32);

  /* Текст */
  --fg: #e9eef8;
  --muted: #8b94aa;
  --dim: #5d6680;

  /* Неон */
  --blue: #5cc2ff;
  --blue-2: #2f6bff;
  --gold: #ffc960;
  --gold-2: #e9a23b;
  --glow-blue: 0 0 22px rgba(92, 194, 255, .45);
  --glow-gold: 0 0 22px rgba(255, 201, 96, .45);
  --grad: linear-gradient(110deg, #ffe2a3 0%, #ffc960 28%, #8fd3ff 62%, #4d8bff 100%);
  --grad-blue: linear-gradient(135deg, #2f6bff, #5cc2ff);
  --grad-gold: linear-gradient(135deg, #ffe2a3, #ffc960 45%, #e9a23b);

  /* Статусы */
  --ok: #3ee0a5;
  --warn: #ffb547;
  --danger: #ff5d6c;

  --radius: 26px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; background: var(--bg); }
body {
  margin: 0;
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(47, 107, 255, .2), transparent 60%),
    radial-gradient(900px 520px at 100% 6%, rgba(255, 201, 96, .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
/* Неоновая сетка на фоне */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 180, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 180, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 10%, transparent 75%);
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; }
img, svg { max-width: 100%; }
sup { font-size: .55em; line-height: 0; margin-left: 1px; }
sup a { text-decoration: none; color: var(--blue); opacity: .8; }
sup a:hover { opacity: 1; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: rgba(92, 194, 255, .35); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 840px; }
.dim { color: var(--dim); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Промо и навигация ---------- */

.promo {
  background: linear-gradient(90deg, rgba(47, 107, 255, .14), rgba(255, 201, 96, .1));
  border-bottom: 1px solid var(--border);
  font-size: 13px; text-align: center; padding: 9px 16px; color: #c9d3ea;
}
.promo a { color: var(--gold); text-decoration: none; white-space: nowrap; }
.promo a:hover { text-shadow: var(--glow-gold); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 14, .72);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92, 194, 255, .6), rgba(255, 201, 96, .6), transparent);
  opacity: .6;
}
.nav__inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 54px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.logo svg { width: 24px; height: 24px; filter: drop-shadow(0 0 6px rgba(92, 194, 255, .55)); }
.logo path, .modal__mark path { fill: none; stroke-width: 5.5; stroke-linejoin: round; stroke-linecap: round; }
.logo .logo__rungs, .modal__mark .logo__rungs { stroke: #cfe6ff; stroke-width: 3; opacity: .8; }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; }
.nav__links a { text-decoration: none; color: #b7c0d6; transition: color .2s, text-shadow .2s; white-space: nowrap; }
.nav__links a:hover { color: #fff; text-shadow: var(--glow-blue); }
.nav__toggle { display: none; background: none; border: 0; width: 36px; height: 36px; position: relative; cursor: pointer; color: inherit; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1.6px; background: currentColor; border-radius: 1px; transition: transform .25s, top .25s; }
.nav__toggle span:first-child { top: 14px; }
.nav__toggle span:last-child { top: 21px; }
.nav.is-open .nav__toggle span:first-child { top: 17.5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 17.5px; transform: rotate(-45deg); }

/* ---------- Кнопки и ссылки ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font-weight: 700; text-decoration: none;
  background: var(--grad-blue); color: #fff;
  padding: 12px 24px; border-radius: 980px; font-size: 16px; line-height: 1.2;
  box-shadow: 0 0 0 1px rgba(140, 210, 255, .45) inset, 0 8px 28px rgba(47, 107, 255, .4);
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.btn:hover { filter: brightness(1.12); box-shadow: 0 0 0 1px rgba(170, 225, 255, .7) inset, 0 10px 36px rgba(92, 194, 255, .55); }
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--grad-gold); color: #1d1405; box-shadow: 0 0 0 1px rgba(255, 236, 190, .6) inset, 0 8px 28px rgba(255, 201, 96, .35); }
.btn--gold:hover { box-shadow: 0 0 0 1px rgba(255, 244, 214, .9) inset, 0 10px 38px rgba(255, 201, 96, .55); }
.btn--small { padding: 7px 15px; font-size: 14px; }
.btn--block { width: 100%; padding: 16px; }
.btn--outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px rgba(92, 194, 255, .55); }
.btn--outline:hover { background: rgba(92, 194, 255, .12); box-shadow: inset 0 0 0 1.5px var(--blue), var(--glow-blue); filter: none; }
.link { color: var(--blue); text-decoration: none; font-size: 17px; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { text-shadow: var(--glow-blue); }
.link--light { font-size: 18px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; text-shadow: 0 0 14px rgba(255, 201, 96, .35);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: var(--glow-gold); }
.h2 {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.07; letter-spacing: -.025em; font-weight: 800;
  margin-bottom: 56px;
}
.h2--tight { margin-bottom: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-lead { font-size: 20px; color: var(--muted); max-width: 720px; margin: -28px 0 48px; }

/* ---------- Карусели ---------- */

.carousel { position: relative; }
.carousel__viewport { overflow: hidden; touch-action: pan-y; }
.carousel__track { display: flex; transition: transform .8s var(--ease); will-change: transform; }
.carousel__controls { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; z-index: 3; }
.carousel__controls--static { position: static; transform: none; justify-content: center; margin-top: 36px; }
.carousel__dots {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 980px;
  background: rgba(10, 16, 32, .6); border: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.dot { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; background: rgba(160, 190, 255, .35); overflow: hidden; position: relative; transition: width .35s var(--ease), background .2s; }
.dot.is-active { width: 44px; background: rgba(160, 190, 255, .22); }
.dot i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--grad); border-radius: inherit; }
.dot.is-active i { transform: scaleX(var(--p, 0)); box-shadow: var(--glow-blue); }
.carousel__pause {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; color: var(--fg);
  background: rgba(10, 16, 32, .6); border: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; place-items: center;
}
.carousel__pause svg { width: 15px; height: 15px; fill: currentColor; }
.carousel__pause .i-play, .is-paused .carousel__pause .i-pause { display: none; }
.is-paused .carousel__pause .i-play { display: block; }

/* ---------- Сцена для картинок неко ---------- */

.stage {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 48% at 50% 42%, color-mix(in srgb, var(--tint, #5cc2ff) 34%, transparent), transparent 72%),
    linear-gradient(180deg, rgba(92, 194, 255, .06), rgba(5, 7, 14, 0) 60%);
}
.stage::before { /* сканлайны */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.stage::after { /* неоновая линия снизу */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--blue), var(--gold), transparent);
  box-shadow: 0 0 18px rgba(92, 194, 255, .7);
}
.stage .neko-img, .stage .neko-svg, .stage > svg { position: relative; z-index: 0; display: block; width: 100%; height: auto; }
.neko-svg svg { display: block; width: 100%; height: auto; }

/* ---------- Главный экран ---------- */

.hero { background: var(--bg-deep); border-bottom: 1px solid var(--border); }
.slide {
  flex: 0 0 100%; min-width: 0; position: relative; overflow: hidden;
  height: clamp(620px, 88vh, 760px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px 96px;
}
.slide::before { /* сетка на слайдах */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(124, 180, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 180, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 80%);
}
.slide__center { position: relative; text-align: center; max-width: 920px; }
.slide__split { position: relative; width: 100%; max-width: 1120px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.slide__text { max-width: 520px; }
.slide__title { font-size: clamp(48px, 7vw, 88px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.slide__split .slide__title { font-size: clamp(40px, 5.4vw, 72px); }
.slide__lead { font-size: clamp(18px, 2.1vw, 23px); margin-top: 18px; font-weight: 500; color: var(--muted); }
.slide__art { max-width: 440px; width: 100%; justify-self: center; border-radius: 50% 50% 28px 28px; }

.slide--main { background: radial-gradient(ellipse 60% 55% at 50% 60%, rgba(47, 107, 255, .2), transparent 70%), var(--bg-deep); }
.slide__glow {
  position: absolute; left: 50%; top: 62%; width: 780px; height: 780px; max-width: 170vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 201, 96, .22), rgba(47, 107, 255, .16) 42%, transparent 70%);
  filter: blur(20px); animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
.hero__title { font-size: clamp(16px, 12vw, 32px); line-height: 1; letter-spacing: -.045em; font-weight: 800; text-shadow: 0 0 40px rgba(92, 194, 255, .25); }
.hero__lead { font-size: clamp(20px, 2.6vw, 27px); color: #c3cce0; margin-top: 18px; font-weight: 500; }
.hero__cta { display: flex; gap: 26px; justify-content: center; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.hero__cta--left { justify-content: flex-start; }

/* ---------- Логотип (рисуется скриптом logo.js) ---------- */

.ng-logo { margin: 0 auto 26px; display: flex; flex-direction: column; align-items: center; }
.ng-logo__mark {
  display: block; width: auto; height: clamp(150px, 26vh, 230px); overflow: visible;
  filter: drop-shadow(0 0 10px rgba(92, 194, 255, .55)) drop-shadow(0 0 32px rgba(47, 107, 255, .35));
}
.ng-logo__word {
  margin-top: 14px; font-size: clamp(17px, 2vw, 22px); font-weight: 800; letter-spacing: .32em; padding-left: .32em;
  white-space: nowrap; color: #eef4ff; text-shadow: 0 0 18px rgba(92, 194, 255, .45);
}
.ng-logo__word span { display: inline-block; }

.ng-logo .ng-draw { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ng-logo .ring--faint { opacity: .45; }
.ng-logo .ng-orbit { fill: none; stroke: rgba(255, 201, 96, .5); stroke-width: 1.2; stroke-dasharray: 2 9; opacity: 0; transform-origin: 200px 222px; }
.ng-logo .ng-wing { stroke: rgba(124, 190, 255, .6); stroke-width: 2.4; }
.ng-logo .ng-dot { fill: var(--gold); opacity: 0; transform-box: fill-box; transform-origin: center; }
.ng-logo .ng-strand { stroke-width: 10; }
.ng-logo .ng-strand--back { stroke-width: 8; opacity: .5; }
.ng-logo .ng-strand--gap { stroke: var(--bg-deep); stroke-width: 18; stroke-linecap: butt; }
.ng-logo .ng-rung { stroke: #d6e9ff; stroke-width: 4.5; stroke-linecap: round; transform: scaleX(0); transform-box: fill-box; transform-origin: center; }
.ng-logo .ng-pulse { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: .05 .95; opacity: 0; filter: drop-shadow(0 0 4px #fff); }

.ng-logo.is-playing .ng-draw { animation: ngDraw var(--t) var(--d) linear forwards; }
.ng-logo.is-playing .ng-rings .ng-draw, .ng-logo.is-playing .ng-wing { animation-timing-function: var(--ease); }
.ng-logo.is-playing .ng-rung { animation: ngRung .45s var(--d) var(--ease) forwards, ngRungGlow 3s calc(2.6s + var(--i) * .09s) ease-in-out infinite; }
.ng-logo.is-playing .ng-dot { animation: ngDot .5s var(--d) var(--ease) forwards; }
.ng-logo.is-playing .ng-orbit { animation: ngFade 1s 1.8s forwards, ngSpin 60s 1.8s linear infinite; }
.ng-logo.is-playing .ng-pulse { animation: ngFade .8s 2.4s forwards, ngPulse 3.6s 2.4s linear infinite; }
.ng-logo.is-playing .ng-pulse--b { animation-delay: 2.4s, .6s; }
.ng-logo.is-playing .ng-logo__word span {
  opacity: 0; transform: translateY(14px); filter: blur(8px);
  animation: ngLetter .7s calc(1.4s + var(--i) * .06s) var(--ease) forwards, ngGlint 7s calc(3.4s + var(--i) * .05s) ease-in-out infinite;
}

@keyframes ngDraw { to { stroke-dashoffset: 0; } }
@keyframes ngRung { to { transform: scaleX(1); } }
@keyframes ngRungGlow { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes ngDot { from { opacity: 0; transform: scale(0); } 60% { transform: scale(1.5); } to { opacity: 1; transform: scale(1); } }
@keyframes ngFade { to { opacity: .9; } }
@keyframes ngSpin { to { transform: rotate(360deg); } }
@keyframes ngPulse { from { stroke-dashoffset: .05; } to { stroke-dashoffset: -.95; } }
@keyframes ngLetter { to { opacity: 1; transform: none; filter: none; } }
@keyframes ngGlint {
  0%, 10%, 100% { color: #eef4ff; text-shadow: 0 0 18px rgba(92, 194, 255, .45); }
  4% { color: #ffe3a6; text-shadow: 0 0 14px rgba(255, 201, 96, .95), 0 0 30px rgba(255, 201, 96, .5); }
}
.hero__price { color: var(--muted); font-size: 15px; }

.slide--sakura { background: radial-gradient(ellipse 45% 60% at 74% 48%, rgba(242, 167, 195, .22), transparent 70%), radial-gradient(ellipse 50% 60% at 20% 70%, rgba(92, 194, 255, .14), transparent 70%), var(--bg-deep); }
.slide__title--sakura { background: linear-gradient(110deg, #ffb6d0, #9fd4ff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(255, 170, 205, .35)); }
.slide--history { background: radial-gradient(ellipse 55% 60% at 72% 55%, rgba(255, 201, 96, .14), transparent 70%), var(--bg-deep); }
.slide__trio { display: flex; justify-content: center; align-items: flex-end; }
.slide__trio .neko-img, .slide__trio .neko-svg { width: 36%; max-width: 240px; margin: 0 -4%; position: relative; filter: drop-shadow(0 0 24px rgba(92, 194, 255, .25)); }
.slide__trio > :nth-child(2) { width: 42%; max-width: 290px; z-index: 1; margin-bottom: 22px; filter: drop-shadow(0 0 30px rgba(255, 201, 96, .3)); }
.slide--finance { background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(255, 201, 96, .14), transparent 70%), var(--bg-deep); }
.slide__zero {
  font-size: clamp(120px, 22vw, 260px); font-weight: 800; line-height: .9; letter-spacing: -.06em;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 201, 96, .45));
}
.slide--next { background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(47, 107, 255, .4), transparent 70%), var(--bg-deep); }
.slide__title--chrome, .next__title {
  background: linear-gradient(180deg, #ffffff 25%, #8fb4ff 70%, #3f5b9e); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(92, 194, 255, .35));
}
.slide__title--chrome { font-size: clamp(64px, 11vw, 132px); }

/* ---------- Вступление ---------- */

.statement { padding: 140px 24px; }
.statement__text { max-width: 920px; margin: 0 auto; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }

/* ---------- Секции ---------- */

.section { padding: 120px 0; position: relative; }
.section--panel { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--deep { background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(47, 107, 255, .12), transparent 70%), var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Стеклянные карточки (общие) ---------- */

.tile, .plan, .care__card, .ccard, .comp, .stats div, .card-info, .summary, .preview-card, .stability, .traits, .studio, .campus {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* ---------- Плитки ---------- */

.bento { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.tile { border-radius: var(--radius); padding: 34px; min-height: 280px; display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, box-shadow .3s; }
.tile:hover { border-color: var(--border-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 40px rgba(47, 107, 255, .12); }
.tile--wide { grid-column: span 2; }
.tile--blue { background: radial-gradient(ellipse at 50% 30%, rgba(47, 107, 255, .22), transparent 70%), rgba(255, 255, 255, .03); }
.tile--gold { background: radial-gradient(ellipse at 30% 20%, rgba(255, 201, 96, .2), transparent 70%), rgba(255, 255, 255, .03); border-color: rgba(255, 201, 96, .3); }
.tile--gold .big-num { color: var(--gold); text-shadow: var(--glow-gold); }
.tile h3 { font-size: 30px; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.tile__kicker { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.tile__note { color: var(--muted); margin-top: auto; }
.tile--quiet { justify-content: center; text-align: center; align-items: center; background: radial-gradient(ellipse at 50% 120%, rgba(92, 194, 255, .18), transparent 60%), rgba(255, 255, 255, .02); }
.tile--quiet h3 { font-size: 40px; }
.tile--quiet .tile__note { margin-top: 0; max-width: 460px; }

.hair-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hair-row span { width: 64px; height: 110px; border-radius: 32px; background: linear-gradient(180deg, var(--a) 55%, var(--b)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 0 22px color-mix(in srgb, var(--b) 35%, transparent); }
.eyes-demo { display: flex; gap: 22px; margin: 18px 0; }
.eyes-demo span {
  width: 64px; height: 76px; border-radius: 50%;
  background: radial-gradient(ellipse 30% 36% at 50% 52%, #05070e 92%, transparent 100%), radial-gradient(circle at 50% 50%, var(--c) 55%, #000 120%);
  box-shadow: 0 0 30px color-mix(in srgb, var(--c) 70%, transparent);
}
.eyes-demo span.is-slit { background: radial-gradient(ellipse 9% 40% at 50% 52%, #05070e 92%, transparent 100%), radial-gradient(circle at 50% 50%, var(--c) 55%, #000 120%); }
.chips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--surface); border: 1px solid var(--border); border-radius: 980px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.big-num { font-size: 88px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.big-num small { font-size: 22px; letter-spacing: 0; margin-left: 6px; font-weight: 700; }
.mini-slider__out { margin-top: 6px; font-size: 18px; min-height: 2.6em; color: #c3cce0; }
.mini-slider__out b { font-size: 28px; margin-right: 8px; color: var(--fg); }

/* ---------- Ползунки ---------- */

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px; outline: none; margin: 12px 0; background: transparent;
  background-image: linear-gradient(90deg, var(--blue-2), var(--blue) calc(var(--p, 50%) - 1px), rgba(140, 180, 255, .18) var(--p, 50%));
}
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: var(--glow-blue); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: var(--glow-blue); cursor: pointer; }
input[type="range"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }

/* ---------- Коллекция: ровно 3 карточки ---------- */

.carousel--cards .carousel__track { gap: 20px; }
.carousel--cards .carousel__viewport { margin: 0 -1px; padding: 0 1px; }
.ccard { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, box-shadow .3s; }
.ccard:hover { border-color: var(--border-strong); box-shadow: 0 0 40px rgba(47, 107, 255, .16); }
.ccard__art { padding: 18px 26px 0; }
.ccard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ccard__body h3 { font-size: 24px; letter-spacing: -.02em; }
.ccard__body p { color: var(--muted); font-size: 15px; }
.ccard__foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--gold); }
.carousel__arrows { display: flex; gap: 10px; flex: none; }
.arrow {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; color: var(--fg); font-size: 24px; line-height: 1;
  background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; padding-bottom: 3px;
  transition: border-color .2s, box-shadow .2s;
}
.arrow:hover { border-color: var(--blue); box-shadow: var(--glow-blue); }

/* ---------- Путь домой ---------- */

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: linear-gradient(90deg, rgba(92, 194, 255, .2), var(--blue), var(--gold)); box-shadow: 0 0 12px rgba(92, 194, 255, .5); }
.timeline li { position: relative; padding: 40px 18px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue); box-shadow: var(--glow-blue); }
.timeline__home::before { background: var(--gold) !important; border-color: var(--gold) !important; box-shadow: 0 0 0 6px rgba(255, 201, 96, .16), var(--glow-gold) !important; }
.timeline__time { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--blue); }
.timeline__home .timeline__time { color: var(--gold); }
.timeline h3 { font-size: 22px; margin: 6px 0 8px; letter-spacing: -.01em; }
.timeline p { color: var(--muted); font-size: 15px; }

/* ---------- Технология ---------- */

.tech { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.tech__lead { color: #c3cce0; font-size: 19px; margin: 28px 0 24px; }
.tech__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.tech__list li { color: var(--muted); padding-left: 18px; border-left: 2px solid rgba(92, 194, 255, .4); }
.tech__list b { color: var(--fg); }
.studio { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 90px rgba(47, 107, 255, .25), 0 0 0 1px rgba(92, 194, 255, .15); font-size: 13px; background: #0a0f1d; }
.studio__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #111830; color: var(--muted); border-bottom: 1px solid var(--border); }
.studio__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.studio__bar i:nth-child(2) { background: #febc2e; }
.studio__bar i:nth-child(3) { background: #28c840; }
.studio__bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--mono); font-size: 12px; }
.studio__body { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 22px; align-items: center; }
.studio__tracks { display: grid; gap: 10px; }
.gene { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.gene b { display: block; height: 8px; border-radius: 4px; background: #1a2238; position: relative; overflow: hidden; }
.gene b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); border-radius: 4px; box-shadow: 0 0 10px var(--c); transition: width 1.4s ease-in-out; }
.gene em { font-style: normal; color: var(--danger); }
.studio__gauge { position: relative; width: 120px; }
.studio__gauge svg { display: block; transform: rotate(-90deg); }
.studio__gauge circle { fill: none; stroke: #1a2238; stroke-width: 10; }
.studio__gauge .studio__arc { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 94 100; transition: stroke-dasharray 1.4s ease-in-out; filter: drop-shadow(0 0 6px rgba(62, 224, 165, .7)); }
.studio__gauge p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.studio__gauge b { font-size: 26px; }
.studio__gauge span { font-size: 10px; color: var(--muted); }
.studio__log { border-top: 1px solid var(--border); padding: 14px 22px 18px; font-family: var(--mono); font-size: 12px; color: var(--ok); display: grid; gap: 3px; }

/* ---------- Характеристики ---------- */

.specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid var(--border); }
.specs div { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.specs dt { color: var(--muted); font-size: 15px; }
.specs dd { font-weight: 600; }

/* ---------- Аттестаты ---------- */

.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { border-radius: var(--radius); padding: 36px 30px; position: relative; }
.plan--top { border-color: rgba(255, 201, 96, .55); box-shadow: 0 0 0 1px rgba(255, 201, 96, .25), 0 0 50px rgba(255, 201, 96, .12); }
.plan__badge { position: absolute; top: -13px; left: 30px; background: var(--grad-gold); color: #1d1405; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 980px; box-shadow: var(--glow-gold); }
.plan__grade { font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan h3 { font-size: 24px; margin-top: 10px; }
.plan__price { color: var(--muted); font-size: 14px; margin: 4px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.plan li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--border); position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; text-shadow: var(--glow-blue); }
.compare__note { color: var(--muted); font-size: 14px; margin-top: 24px; text-align: center; }

/* ---------- Забота ---------- */

.care { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.care__card { border-radius: var(--radius); padding: 36px 30px; }
.care__icon { font-size: 44px; font-weight: 800; line-height: 1; margin-bottom: 26px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 12px rgba(92, 194, 255, .4)); }
.care__card h3 { font-size: 24px; margin-bottom: 10px; }
.care__card p:last-child { color: var(--muted); }

/* ---------- Конструктор ---------- */

.presets { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin: -24px 0 36px; }
.presets__label { font-weight: 700; font-size: 15px; color: var(--muted); }
.presets__list { display: flex; gap: 8px; flex-wrap: wrap; }
.presets__actions { display: flex; gap: 8px; margin-left: auto; }
.preset-chip, .chip, .chip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--fg);
  padding: 7px 14px; border-radius: 980px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.preset-chip i { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(180deg, var(--a) 50%, var(--b)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.preset-chip:hover, .chip:hover, .chip-btn:hover { border-color: var(--border-strong); }
.preset-chip.is-active, .chip.is-active { border-color: var(--blue); background: rgba(92, 194, 255, .12); box-shadow: var(--glow-blue); }
.chip-btn { border-color: rgba(255, 201, 96, .45); color: var(--gold); }
.chip-btn:hover { border-color: var(--gold); box-shadow: var(--glow-gold); }
.chip-btn--ghost { color: var(--muted); border-color: var(--border); }
.chip-btn--ghost:hover { color: var(--fg); border-color: var(--border-strong); box-shadow: none; }

.config { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.config__preview { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 14px; }
.preview-card { position: relative; border-radius: var(--radius); padding: 22px 22px 22px; text-align: center; overflow: hidden; }
.preview-card__name { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.preview-card__meta { color: var(--muted); font-size: 15px; }
.preview-card__genome { margin-top: 8px; font-size: 12px; color: var(--muted); }
.preview-card__genome span { font-family: var(--mono); color: var(--gold); background: rgba(255, 201, 96, .08); border: 1px solid rgba(255, 201, 96, .25); padding: 2px 8px; border-radius: 6px; margin-left: 4px; }
.hud::before { /* уголки HUD */
  --c: rgba(92, 194, 255, .8);
  content: ""; position: absolute; inset: 10px; pointer-events: none; z-index: 3;
  background:
    linear-gradient(var(--c), var(--c)) top left / 18px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 2px 18px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 18px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 2px 18px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 18px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 2px 18px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 18px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 2px 18px no-repeat;
  filter: drop-shadow(0 0 4px rgba(92, 194, 255, .8));
}
.saved-note { font-size: 12px; color: var(--dim); text-align: center; }

.stability { border-radius: 20px; padding: 16px 20px; }
.stability__head { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; }
.stability__head b { font-family: var(--mono); color: var(--ok); }
.stability__bar { height: 6px; background: rgba(140, 180, 255, .15); border-radius: 3px; margin: 10px 0; overflow: hidden; }
.stability__bar span { display: block; height: 100%; width: 97%; background: var(--ok); box-shadow: 0 0 12px rgba(62, 224, 165, .7); transition: width .35s, background .35s; }
.stability__note { font-size: 13px; color: var(--muted); }
.stability.is-warn .stability__bar span { background: var(--warn); box-shadow: 0 0 12px rgba(255, 181, 71, .7); }
.stability.is-warn b { color: var(--warn); }

.steps {
  position: sticky; top: 62px; z-index: 5; display: flex; gap: 6px; margin-bottom: 28px;
  background: rgba(8, 12, 24, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 8px; border-radius: 16px; border: 1px solid var(--border);
}
.steps a { flex: 1; text-align: center; text-decoration: none; font-size: 13px; font-weight: 600; padding: 8px 4px; border-radius: 10px; color: var(--muted); white-space: nowrap; }
.steps a:hover { background: var(--surface); color: var(--fg); }
.steps b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(92, 194, 255, .2); color: var(--blue); font-size: 11px; margin-right: 6px; vertical-align: 1px; }
.step-title { font-size: 30px; letter-spacing: -.02em; margin: 8px 0 22px; scroll-margin-top: 130px; display: flex; align-items: center; gap: 12px; }
.step-title b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-gold); color: #1d1405; font-size: 17px; box-shadow: var(--glow-gold); }

.config__form fieldset { border: 0; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--border); min-width: 0; }
.config__form legend { font-size: 20px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; padding: 0; display: flex; gap: 10px; align-items: baseline; width: 100%; }
.legend-val { font-size: 15px; font-weight: 600; color: var(--blue); }
.sub-legend { font-size: 13px; font-weight: 700; color: var(--muted); margin: 20px 0 10px; text-transform: uppercase; letter-spacing: .08em; }
.sub-legend--first { margin-top: 0; }
.hint { font-size: 14px; color: var(--muted); margin-top: 10px; }
.range-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); }

.input {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg);
  padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--input);
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--dim); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(92, 194, 255, .15), var(--glow-blue); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
select.input option { background: #0b1120; color: var(--fg); }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.grid2__full { grid-column: 1 / -1; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches--sub { margin-top: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.sw { position: relative; cursor: pointer; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw span { display: block; width: 33px; height: 33px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .15s; }
.sw:hover span { transform: scale(1.08); }
.sw input:checked + span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 0 0 3px var(--bg), 0 0 0 5px var(--blue), 0 0 16px rgba(92, 194, 255, .6); }
.sw input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 4px; }

.toggle, .check { display: flex; align-items: center; gap: 12px; margin-top: 16px; cursor: pointer; font-size: 16px; position: relative; }
.toggle em, .cards em, .seg em, .field em { font-style: normal; color: var(--gold); font-weight: 600; font-size: 13px; }
.toggle input, .check input { position: absolute; opacity: 0; pointer-events: none; }
.toggle > span { flex: none; width: 46px; height: 28px; border-radius: 14px; background: rgba(140, 180, 255, .18); position: relative; transition: background .2s, box-shadow .2s; }
.toggle > span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: transform .2s; }
.toggle input:checked + span { background: var(--grad-blue); box-shadow: var(--glow-blue); }
.toggle input:checked + span::after { transform: translateX(18px); }
.check { margin-top: 12px; }
.check sup { margin-left: -10px; align-self: flex-start; margin-top: 6px; }
.check > span { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(140, 180, 255, .4); background: var(--input); position: relative; }
.check input:checked + span { background: var(--blue-2); border-color: var(--blue); box-shadow: var(--glow-blue); }
.check input:checked + span::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check b { color: var(--gold); }
.toggle input:focus-visible + span, .check input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.check.is-invalid > span { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 93, 108, .2); }

.seg { display: grid; gap: 8px; }
.seg--2 { grid-template-columns: repeat(2, 1fr); }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg--4 { grid-template-columns: repeat(4, 1fr); }
.seg label, .cards label { cursor: pointer; position: relative; }
.seg input, .cards input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .cards span { display: flex; flex-direction: column; gap: 2px; height: 100%; border: 1px solid var(--border); background: var(--surface); border-radius: 14px; padding: 12px; transition: border-color .2s, box-shadow .2s, background .2s; }
.seg span { text-align: center; font-weight: 600; font-size: 15px; align-items: center; justify-content: center; }
.seg label:hover span, .cards label:hover span { border-color: var(--border-strong); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cards--col { grid-template-columns: 1fr; }
.cards span { font-size: 14px; color: var(--muted); padding: 14px 16px; }
.cards b { font-size: 17px; color: var(--fg); }
.seg input:checked + span, .cards input:checked + span { border-color: var(--blue); background: rgba(92, 194, 255, .1); box-shadow: 0 0 0 1px var(--blue), 0 0 22px rgba(92, 194, 255, .25); }
.seg input:focus-visible + span, .cards input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.chips--pick { margin: 0 0 4px; }
.traits { display: grid; gap: 10px; margin-top: 18px; padding: 18px 20px 8px; border-radius: 18px; }
.trait__ends { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); }
.trait input { margin: 8px 0 6px; }

.summary { border-radius: var(--radius); padding: 28px; scroll-margin-top: 80px; border-color: rgba(255, 201, 96, .3); }
.summary__lines { list-style: none; padding: 0; margin: 0 0 14px; font-size: 15px; }
.summary__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; color: var(--muted); }
.summary__lines li b { color: var(--fg); font-weight: 600; white-space: nowrap; }
.summary__lines li.is-discount b { color: var(--ok); }
.summary__lines li.is-muted b { color: var(--muted); font-weight: 500; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); padding-top: 14px; }
.summary__total span { font-size: 19px; font-weight: 700; }
.summary__total b { font-size: 32px; letter-spacing: -.02em; color: var(--gold); text-shadow: var(--glow-gold); }
.summary__monthly { text-align: right; color: var(--muted); font-size: 15px; }
.summary__date { margin: 16px 0 20px; font-size: 15px; }
.summary__fine { font-size: 12px; color: var(--dim); margin-top: 12px; text-align: center; }

/* ---------- Neko с историей ---------- */

.companions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.comp { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.comp__art { padding: 20px 34px 0; }
.comp__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.comp__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.comp__top h3 { font-size: 26px; letter-spacing: -.02em; }
.badge { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 980px; border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }
.badge--a { background: var(--grad-gold); color: #1d1405; border-color: transparent; box-shadow: var(--glow-gold); }
.badge--b { color: var(--blue); border-color: rgba(92, 194, 255, .4); }
.comp__meta { color: var(--muted); font-size: 15px; }
.comp__price { font-size: 20px; font-weight: 800; margin-top: 4px; }
.comp__status { margin: 12px 0 18px; font-size: 13px; color: var(--muted); }
.comp__status--info { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.comp__bar { height: 4px; background: rgba(140, 180, 255, .15); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.comp__bar span { display: block; height: 100%; background: var(--blue); border-radius: 2px; box-shadow: var(--glow-blue); }
.comp__status--urgent { color: var(--danger); font-weight: 700; }
.comp__status--urgent .comp__bar span { background: var(--danger); box-shadow: 0 0 10px rgba(255, 93, 108, .8); }
.comp .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Отзывы ---------- */

.reviews { text-align: center; }
.quote { flex: 0 0 100%; padding: 10px 6%; }
.quote blockquote { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.25; letter-spacing: -.02em; font-weight: 700; max-width: 860px; margin: 0 auto; }
.quote figcaption { margin-top: 22px; color: var(--gold); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }

/* ---------- Компания ---------- */

.history { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.history li { border-top: 2px solid rgba(92, 194, 255, .35); padding-top: 18px; }
.history li:last-child { border-color: var(--gold); box-shadow: 0 -8px 20px -14px rgba(255, 201, 96, .9); }
.history b { font-family: var(--mono); font-size: 14px; color: var(--blue); }
.history li:last-child b { color: var(--gold); }
.history h3 { font-size: 22px; margin: 4px 0 6px; }
.history p { color: var(--muted); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.stats div { border-radius: 22px; padding: 26px 24px; }
.stats b { display: block; font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 15px; }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.campus { grid-column: 1 / -1; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1.7fr 1fr; }
.campus__img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-right: 1px solid var(--border); }
.campus__text { padding: 36px; display: grid; gap: 12px; align-content: center; }
.campus__text h3, .card-info h3 { font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.campus__text p:last-child { color: var(--muted); }
.card-info { border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.card-info > p:not(.tile__kicker) { color: var(--muted); }
.card-info .link { margin-top: auto; }
.jobs { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--border); }
.jobs li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.jobs span { color: var(--muted); text-align: right; font-size: 13px; }
.jobs li:last-child span { color: var(--danger); }

/* ---------- Вопросы ---------- */

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 700; position: relative; transition: color .2s; }
.faq summary:hover { color: #fff; text-shadow: var(--glow-blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--blue); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--gold); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; }

/* ---------- Genesis 2.0 ---------- */

.next { text-align: center; padding: 170px 24px; position: relative; overflow: hidden; background: var(--bg-deep); border-top: 1px solid var(--border); }
.next::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 100%, rgba(47, 107, 255, .4), transparent 70%), radial-gradient(ellipse 30% 30% at 50% 100%, rgba(255, 201, 96, .2), transparent 70%); }
.next > * { position: relative; }
.next__title { font-size: clamp(64px, 11vw, 128px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.next__lead { font-size: clamp(20px, 2.4vw, 26px); color: #c3cce0; margin-top: 22px; font-weight: 500; }
.next__small { font-size: 14px; color: var(--muted); margin-top: 30px; font-family: var(--mono); }

/* ---------- Подвал ---------- */

.footer { background: var(--bg-deep); color: var(--muted); font-size: 12px; padding: 40px 0 30px; border-top: 1px solid var(--border); }
.footnotes { margin: 0; padding: 0 0 24px 18px; border-bottom: 1px solid var(--border); }
.footnotes li { margin-bottom: 9px; line-height: 1.5; scroll-margin-top: 80px; }
.footnotes li:target { color: var(--fg); background: rgba(92, 194, 255, .12); border-radius: 4px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.footer__cols h4 { color: var(--fg); font-size: 12px; margin-bottom: 10px; }
.footer__cols a { display: block; text-decoration: none; margin-bottom: 8px; }
.footer__cols a:hover { color: var(--blue); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; }

/* ---------- Мобильная панель ---------- */

.mobile-bar { display: none; }

/* ---------- Модальное окно ---------- */

.modal { position: fixed; inset: 0; z-index: 100; background: rgba(2, 4, 10, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__box {
  position: relative; border-radius: var(--radius); padding: 40px 34px 30px; max-width: 460px; width: 100%; text-align: center;
  background: linear-gradient(180deg, #111a33, #0a1022); border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 1px rgba(92, 194, 255, .15), 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(47, 107, 255, .2);
  animation: pop .35s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.modal__x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; z-index: 4; }
.modal__mark { width: 52px; height: 52px; margin-bottom: 14px; filter: drop-shadow(0 0 10px rgba(255, 201, 96, .7)); }
.modal__box h3 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 8px; }
.modal__num { font-family: var(--mono); color: var(--gold); font-weight: 600; margin-bottom: 14px; text-shadow: var(--glow-gold); }
.modal__box p { color: var(--muted); }
.modal__list { text-align: left; margin: 18px 0 0; border-top: 1px solid var(--border); }
.modal__list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.modal__list dt { color: var(--muted); }
.modal__list dd { font-weight: 600; text-align: right; }
.modal__small { font-size: 13px; margin: 18px 0 22px; }
.modal__art { width: 190px; margin: -6px auto 10px; border-radius: 50%; aspect-ratio: 1; border: 1px solid var(--border-strong); box-shadow: 0 0 30px rgba(92, 194, 255, .25); }
.modal__art .neko-img, .modal__art .neko-svg { transform: translateY(-4%) scale(1.3); transform-origin: 50% 20%; }
.modal__form { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- Появление при прокрутке ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */

@media (max-width: 1060px) {
  .nav__links { gap: 16px; }
}
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, rgba(92, 194, 255, .2), var(--blue), var(--gold)); }
  .timeline li { padding: 0 0 30px 40px; }
  .compare, .care, .companions { grid-template-columns: 1fr; }
  .companions { max-width: 460px; margin: 0 auto; }
  .config { grid-template-columns: 1fr; gap: 28px; }
  .config__preview { position: static; }
  .steps { top: 58px; }
  .tech { grid-template-columns: 1fr; gap: 40px; }
  .specs { grid-template-columns: 1fr; }
  .history, .stats { grid-template-columns: 1fr 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .campus { grid-template-columns: 1fr; }
  .campus__img { height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .ccard { flex-basis: calc((100% - 20px) / 2); }
  .slide__split { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .slide__text { max-width: none; order: 2; }
  .slide__art, .slide__trio { order: 1; }
  .slide__art { max-width: 280px; }
  .slide__trio > * { max-width: 150px !important; }
  .slide__trio > :nth-child(2) { max-width: 180px !important; }
  .hero__cta--left { justify-content: center; }
  .mobile-bar:not([hidden]) {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    align-items: center; justify-content: space-between; gap: 12px;
    background: rgba(10, 16, 32, .92); border: 1px solid var(--border-strong); border-radius: 18px; padding: 12px 12px 12px 18px;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 30px rgba(47, 107, 255, .2);
  }
  .mobile-bar span { display: block; font-size: 12px; color: var(--muted); }
  .mobile-bar b { font-size: 18px; color: var(--gold); }
}
@media (max-width: 860px) {
  .nav__links {
    display: none; position: absolute; top: 54px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 22px; margin: 0;
    background: rgba(5, 7, 14, .97); border-bottom: 1px solid var(--border); font-size: 19px;
  }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--fg); }
  .nav.is-open .nav__links { display: flex; }
  .nav__toggle { display: block; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .section { padding: 84px 0; }
  .statement { padding: 90px 18px; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile { padding: 28px; min-height: 0; }
  .cards, .grid2, .history, .stats { grid-template-columns: 1fr; }
  .seg--3, .seg--4 { grid-template-columns: 1fr 1fr; }
  .hair-row span { width: 44px; height: 80px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .presets { margin-top: -28px; }
  .presets__actions { margin-left: 0; }
  .steps a { font-size: 12px; }
  .steps b { display: none; }
  .ccard { flex-basis: 100%; }
  .studio__body { grid-template-columns: 1fr; }
  .studio__gauge { margin: 0 auto; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .slide { height: auto; min-height: 640px; padding: 40px 18px 100px; }
  .slide__zero { font-size: 140px; }
  .jobs li { flex-direction: column; gap: 2px; }
  .jobs span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ng-logo .ng-draw { stroke-dashoffset: 0; }
  .ng-logo .ng-rung { transform: none; }
  .ng-logo .ng-dot, .ng-logo .ng-orbit { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
