/* «Код на вайбе» — полярная ночь → полярный день */

:root {
  --night: oklch(0.17 0.03 265);
  --night-2: oklch(0.205 0.035 262);
  --night-3: oklch(0.24 0.035 260);
  --night-ink: oklch(0.95 0.008 250);
  --night-mut: oklch(0.74 0.02 255);
  --night-line: oklch(0.34 0.03 260);

  --ice: oklch(0.8 0.11 215);
  --ice-soft: oklch(0.87 0.07 210);
  --ice-deep: oklch(0.52 0.13 240);
  --aurora: oklch(0.76 0.11 168);

  --day: oklch(0.965 0.007 235);
  --paper: oklch(0.99 0.004 240);
  --ink: oklch(0.23 0.02 260);
  --mut: oklch(0.46 0.018 255);
  --line: oklch(0.895 0.012 245);

  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night);
}
img { max-width: 100%; }
a { color: inherit; }
section { scroll-margin-top: 16px; }

.container { max-width: 1080px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- Верхняя панель ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  padding: 18px clamp(20px, 4vw, 44px);
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.topbar.solid {
  background: oklch(0.17 0.03 265 / 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -18px oklch(0.1 0.02 265 / 0.8);
  padding-block: 12px;
}
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #4EC9E8, #7BF3C4, #A78BFA, #4EC9E8);
  background-size: 300% 100%;
  animation: aurora-flow 6s linear infinite;
  transition: width 0.06s ease-out;
  box-shadow: 0 0 10px rgba(78, 201, 232, 0.7);
  z-index: 101;
  pointer-events: none;
}
@keyframes aurora-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--night-ink);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.wordmark .mark { height: 19px; width: auto; display: block; }
.topnav { display: flex; gap: 24px; margin-left: auto; }
.topnav a {
  position: relative;
  color: var(--night-mut);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.25s;
  padding-block: 4px;
}
.topnav a:hover { color: var(--night-ink); }
.topnav a.active {
  color: var(--night-ink);
  font-weight: 600;
}
.topnav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ice);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--ice);
  animation: tab-pulse 0.3s ease;
}
@keyframes tab-pulse {
  from { transform: scaleX(0.4); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.btn-cmd {
  background: oklch(0.22 0.035 260 / 0.7);
  border: 1px solid oklch(0.34 0.03 260);
  border-radius: 10px;
  padding: 6px 12px;
  color: var(--night-mut);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-cmd:hover {
  background: oklch(0.28 0.04 260);
  color: var(--night-ink);
  border-color: var(--ice);
  transform: translateY(-1px);
}
.btn-cmd kbd {
  background: oklch(0.18 0.03 260);
  border: 1px solid oklch(0.32 0.03 260);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 10px;
  font-family: inherit;
  color: var(--night-ink);
}
.btn-sound {
  background: oklch(0.22 0.035 260 / 0.7);
  border: 1px solid oklch(0.34 0.03 260);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.btn-sound:hover {
  border-color: var(--ice);
  transform: scale(1.06);
}
@media (max-width: 960px) {
  .btn-cmd span, .btn-cmd kbd { display: none; }
  .btn-cmd { padding: 8px; }
}

/* ---------- Spotlight, Tilt & Border Beam Effects ---------- */
.spotlight-card {
  position: relative;
  overflow: hidden;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    450px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(78, 201, 232, 0.14),
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}
.spotlight-card:hover::before {
  opacity: 1;
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.12s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.btn-magnetic {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), background 0.25s, box-shadow 0.25s;
  will-change: transform;
}

/* Бегущий луч света по рамке */
.beam-glow {
  position: relative;
}
.beam-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--beam-angle, 0deg) at 50% 50%, transparent 0deg, var(--ice) 60deg, var(--aurora) 120deg, transparent 180deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: rotate-beam 5s linear infinite;
}
@keyframes rotate-beam {
  to { --beam-angle: 360deg; }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  padding: 13px 24px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.btn-ice {
  background: var(--ice);
  color: oklch(0.16 0.03 262);
  box-shadow: 0 4px 16px -4px oklch(0.8 0.11 215 / 0.4);
}
.btn-ice:hover {
  background: var(--ice-soft);
  box-shadow: 0 6px 20px -3px oklch(0.8 0.11 215 / 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--night-ink);
  border: 1px solid var(--night-line);
}
.btn-ghost:hover { border-color: var(--night-mut); }
.btn-small { padding: 9px 18px; font-size: 14px; background: transparent; color: var(--night-ink); border: 1px solid var(--night-line); }
.btn-small:hover { border-color: var(--ice); color: var(--ice); }
.btn-big { width: 100%; padding: 16px 24px; font-size: 17px; }

/* ---------- Ночь: общее ---------- */
.night { position: relative; background: var(--night); color: var(--night-ink); overflow: hidden; }

.aurora { position: absolute; inset: 0; pointer-events: none; }
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.aurora .a1 {
  width: 60vw; height: 46vh; left: 8%; top: -12%;
  background: oklch(0.5 0.13 175 / 0.55);
  animation: drift1 70s var(--ease) infinite alternate;
}
.aurora .a2 {
  width: 44vw; height: 40vh; right: -6%; top: 4%;
  background: oklch(0.5 0.14 230 / 0.5);
  animation: drift2 90s var(--ease) infinite alternate;
}
.aurora .a3 {
  width: 30vw; height: 30vh; left: 46%; top: 30%;
  background: oklch(0.55 0.1 300 / 0.28);
  animation: drift1 110s var(--ease) infinite alternate-reverse;
}
.aurora.dim i { opacity: 0.25; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) rotate(14deg) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-7vw, 8vh) rotate(-10deg) scale(1.1); } }

.stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, oklch(0.95 0.01 250 / 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 64%, oklch(0.95 0.01 250 / 0.5) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 58% 18%, oklch(0.95 0.01 250 / 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 46%, oklch(0.95 0.01 250 / 0.45) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 88% 12%, oklch(0.95 0.01 250 / 0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 84%, oklch(0.95 0.01 250 / 0.4) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 22% 78%, oklch(0.95 0.01 250 / 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 68%, oklch(0.95 0.01 250 / 0.5) 50%, transparent 51%);
}

/* ---------- Герой (Cinematic Full-Bleed) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--night);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.85;
  filter: saturate(1.1) brightness(0.95);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    /* мягкая подложка под текст слева */
    linear-gradient(90deg, 
      oklch(0.14 0.03 265 / 0.88) 0%, 
      oklch(0.14 0.03 265 / 0.60) 42%, 
      oklch(0.15 0.03 265 / 0.15) 75%,
      transparent 100%
    ),
    /* деликатный уход в ночь снизу */
    linear-gradient(180deg, 
      oklch(0.14 0.03 265 / 0.35) 0%, 
      transparent 35%, 
      oklch(0.15 0.03 265 / 0.80) 80%, 
      var(--night) 100%
    );
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 4vw, 40px) clamp(70px, 10vh, 110px);
  width: 100%;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: oklch(0.18 0.035 260 / 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid oklch(0.42 0.07 255 / 0.85);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 26px;
  box-shadow: 0 4px 20px oklch(0.08 0.02 265 / 0.7), 0 0 25px -5px oklch(0.7 0.12 215 / 0.25);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 10px var(--aurora);
  animation: pulse-dot 2.5s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px var(--aurora); }
}

.hero-title { font-family: var(--display); line-height: 0.96; margin-bottom: 28px; }
.hero-title .line-sm {
  display: block;
  font-weight: 500;
  font-size: clamp(28px, 4.8vw, 56px);
  color: var(--night-ink);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px oklch(0.1 0.02 265 / 0.8);
}
.hero-title .line-lg {
  display: block;
  font-weight: 900;
  font-size: clamp(56px, 11vw, 134px);
  color: var(--ice);
  letter-spacing: -0.02em;
  text-shadow: 0 0 90px oklch(0.7 0.14 200 / 0.45), 0 4px 30px oklch(0.1 0.02 265 / 0.9);
}
.hero-sub {
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.65;
  color: var(--night-mut);
  max-width: 32em;
  margin-bottom: 36px;
  text-shadow: 0 2px 12px oklch(0.1 0.02 265 / 0.9);
}
.hero-sub strong { color: var(--night-ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-facts { font-size: 14px; color: var(--night-mut); text-shadow: 0 1px 8px oklch(0.1 0.02 265 / 0.9); }
.hero-dates { font-size: 13px; color: var(--night-mut); opacity: 0.85; margin-top: 8px; max-width: 46ch; text-shadow: 0 1px 8px oklch(0.1 0.02 265 / 0.9); }
/* Открытый урок 13.10: «билет» на событие — зелёный, как его анонс (всё про курс на сайте голубое) */
.hero-event {
  display: grid; grid-template-columns: auto 1fr auto; align-items: stretch;
  margin-top: 26px; max-width: 620px; text-decoration: none; color: var(--night-ink);
  background: oklch(0.19 0.04 195 / 0.88); border: 1px solid oklch(0.76 0.11 168 / 0.55); border-radius: 18px;
  box-shadow: 0 18px 44px -20px oklch(0.6 0.13 168 / 0.55), inset 0 1px 0 oklch(0.85 0.08 168 / 0.12);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-event:hover, .hero-event:focus-visible {
  outline: none; border-color: var(--aurora); transform: translateY(-2px);
  box-shadow: 0 22px 50px -18px oklch(0.6 0.13 168 / 0.7), inset 0 1px 0 oklch(0.85 0.08 168 / 0.18);
}
.he-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 20px; border-right: 1.5px dashed oklch(0.76 0.11 168 / 0.45); line-height: 1;
}
.he-date b { font-family: var(--display); font-weight: 900; font-size: 34px; color: var(--aurora); letter-spacing: -0.02em; }
.he-date small { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--night-mut); margin-top: 5px; }
.he-date em { font-style: normal; font-weight: 700; font-size: 15px; margin-top: 6px; }
.he-body { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 12px 18px; }
.he-kicker { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--aurora); }
.he-kicker i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 10px var(--aurora); animation: pulse-dot 2.5s infinite ease-in-out; }
.he-body strong { font-size: 16px; font-weight: 600; line-height: 1.35; }
.he-for { font-size: 13px; color: var(--night-mut); }
.he-go {
  display: flex; align-items: center; gap: 8px; align-self: center; margin-right: 14px;
  background: var(--aurora); color: var(--night); font-weight: 700; font-size: 15px; white-space: nowrap;
  border-radius: 12px; padding: 11px 16px; transition: background 0.25s;
}
.he-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-event:hover .he-go { background: oklch(0.82 0.11 168); }
.hero-event:hover .he-go svg { transform: translateX(3px); }
@media (max-width: 560px) {
  .hero-event { grid-template-columns: auto 1fr; }
  .he-go { grid-column: 1 / -1; justify-content: center; margin: 0 12px 12px; }
}
@media (prefers-reduced-motion: reduce) { .hero-event, .he-go svg { transition: none; } .hero-event:hover { transform: none; } .he-kicker i { animation: none; } }

/* ---------- Как это работает ---------- */
.how { padding-block: clamp(70px, 9vw, 110px) clamp(50px, 7vw, 80px); }
.how-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(36px, 5vw, 52px);
  counter-reset: hs;
}
.how-steps li {
  position: relative;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  padding-top: 12px;
  border-top: 2px solid var(--ice-deep);
}
.hs-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ice-deep);
  margin-bottom: 8px;
}
.how-proof {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 3.5vw, 34px);
  max-width: 740px;
  box-shadow: 0 12px 36px -16px oklch(0.3 0.03 250 / 0.08);
}
.proof-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.proof-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ice-deep);
  margin-bottom: 0;
}
.prompt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}
.pt-btn {
  background: oklch(0.96 0.008 235);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.pt-btn:hover {
  background: oklch(0.92 0.03 225);
  border-color: var(--ice-deep);
}
.pt-btn.active {
  background: var(--ice-deep);
  color: white;
  border-color: var(--ice-deep);
  box-shadow: 0 2px 8px oklch(0.52 0.13 240 / 0.3);
}
.proof-prompt-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: oklch(0.94 0.012 235);
  border: 1px solid var(--line);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 3px oklch(0.2 0.02 260 / 0.03);
}
.proof-prompt {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.ai-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--ice-deep);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursor-blink 0.8s infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.btn-copy-prompt {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mut);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.btn-copy-prompt:hover {
  background: white;
  color: var(--ice-deep);
  border-color: var(--ice-deep);
  transform: translateY(-1px);
}
.btn-copy-prompt.copied {
  background: oklch(0.92 0.05 165);
  color: oklch(0.35 0.12 165);
  border-color: oklch(0.7 0.12 165);
}
.proof-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-outline-day {
  background: transparent;
  color: var(--ice-deep);
  border: 1.5px solid var(--ice-deep);
}
.btn-outline-day:hover { background: oklch(0.93 0.03 225); }
.proof-time {
  font-size: 13px;
  color: var(--mut);
}
.proof-note { margin-top: 16px; font-size: 14px; color: var(--mut); max-width: 52ch; }

/* ---------- Тебе сюда, если ---------- */
.fit { margin-top: clamp(36px, 5vw, 52px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 18px; }
.fit-label { font-weight: 600; color: var(--ink); font-size: 16px; }
.fit-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fit-chips li {
  border: 1px solid oklch(0.8 0.05 230);
  background: var(--paper);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14.5px;
  color: var(--ink);
}

/* ---------- Сравнение: Классика VS Вайб ---------- */
.compare-sec { padding-block: clamp(70px, 9vw, 110px) clamp(50px, 7vw, 80px); }
.compare-header { margin-bottom: 32px; }
.compare-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice-deep);
  background: oklch(0.92 0.05 225);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.compare-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 20px 50px -20px oklch(0.3 0.04 250 / 0.15);
}
.compare-side {
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
}
.side-old {
  background: oklch(0.95 0.008 240);
  border-right: 1px dashed var(--line);
}
.side-new {
  background: linear-gradient(135deg, oklch(0.98 0.005 240) 0%, oklch(0.93 0.035 220 / 0.6) 100%);
}
.cs-label {
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cs-bad { color: oklch(0.55 0.18 25); }
.cs-good { color: var(--ice-deep); }

.cs-terminal {
  background: #0f172a;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: ui-monospace, 'Menlo', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}
.cs-code-lines { display: flex; flex-direction: column; }
.cl-mut { color: #64748b; }
.cl-err { color: #f87171; font-weight: 600; }

.cs-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.cs-prompt-pill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 2px 8px oklch(0.2 0.02 260 / 0.04);
}
.cs-result-card {
  background: #0c1527;
  color: #f1f5f9;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 10px 25px -8px oklch(0.3 0.1 220 / 0.4);
  border: 1px solid oklch(0.34 0.05 240);
}
.cs-res-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: var(--ice); margin-bottom: 6px; }
.cs-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.cs-res-temp { font-family: var(--display); font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cs-res-status { font-size: 11px; color: #94a3b8; }

.cs-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.cs-list li { font-size: 13.5px; position: relative; padding-left: 20px; }
.cs-list.bad li { color: var(--mut); }
.cs-list.bad li::before { content: '×'; position: absolute; left: 0; color: oklch(0.55 0.18 25); font-weight: 700; }
.cs-list.good li { color: var(--ink); font-weight: 500; }
.cs-list.good li::before { content: '✓'; position: absolute; left: 0; color: oklch(0.5 0.15 165); font-weight: 700; }

.compare-divider { display: none; }

/* ---------- Интерактивный квиз ---------- */
.quiz-box {
  margin-top: clamp(40px, 6vw, 60px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 16px 40px -18px oklch(0.3 0.03 250 / 0.1);
}
.qb-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice-deep);
  background: oklch(0.92 0.05 225);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.qb-title { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.2vw, 24px); margin-bottom: 6px; }
.qb-sub { color: var(--mut); font-size: 14.5px; margin-bottom: 22px; }
.qb-question { font-weight: 600; font-size: 15.5px; color: var(--ink); margin-bottom: 14px; }
.qb-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.qb-opt {
  background: var(--day);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qb-opt:hover {
  background: var(--paper);
  border-color: var(--ice-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px oklch(0.5 0.1 230 / 0.2);
}
.qbo-emoji { font-size: 24px; margin-bottom: 2px; }
.qb-opt strong { font-size: 13.5px; color: var(--ink); }
.qb-opt small { font-size: 11.5px; color: var(--mut); line-height: 1.3; }

.qbr-card {
  background: linear-gradient(135deg, oklch(0.96 0.015 235) 0%, oklch(0.92 0.04 220 / 0.6) 100%);
  border: 1px solid oklch(0.85 0.06 220);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  animation: faq-in 0.4s var(--ease);
}
.qbr-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ice-deep);
  margin-bottom: 8px;
}
.qbr-card h4 { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.qbr-card p { font-size: 14.5px; color: var(--mut); max-width: 52ch; margin: 0 auto 20px; line-height: 1.5; }
.qbr-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-ghost-sm {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mut);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-ghost-sm:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Повторный призыв ---------- */
.cta-strip {
  margin-top: clamp(44px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.cta-strip p { color: var(--mut); font-size: 16px; max-width: 44ch; }

/* ---------- День: общее ---------- */
.day { background: var(--day); }
.projects { padding-block: clamp(80px, 11vw, 130px) clamp(60px, 8vw, 100px); }
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  max-width: 24ch;
  text-wrap: balance;
  margin-bottom: 18px;
}
.lead { font-size: 18px; color: var(--mut); max-width: 60ch; margin-bottom: clamp(44px, 6vw, 70px); }

/* ---------- Проекты: ступени ---------- */
.steps { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); }
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.step:nth-child(2) { grid-template-columns: 1.05fr 0.95fr; }
.step:nth-child(2) .step-text { order: 2; }
.step:nth-child(2) .mini { order: 1; }
.step-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ice-deep);
  margin-bottom: 14px;
}
.step h3 { font-family: var(--display); font-weight: 500; font-size: clamp(19px, 2.4vw, 26px); margin-bottom: 12px; }
.step p { color: var(--mut); max-width: 44ch; }

/* миниатюры-иллюстрации */
.mini {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 24px 60px -28px oklch(0.3 0.05 250 / 0.25);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -25px oklch(0.3 0.06 250 / 0.35);
}
.step:nth-child(1) .mini { max-width: 460px; justify-self: end; }
.step:nth-child(2) .mini { max-width: 440px; justify-self: start; }
.step:nth-child(3) .mini { max-width: 480px; justify-self: end; }
.mini-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  background: oklch(0.94 0.008 240);
  border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--mut);
}
.mini-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mini-bar i:nth-child(1) { background: oklch(0.72 0.14 25); }
.mini-bar i:nth-child(2) { background: oklch(0.8 0.12 85); }
.mini-bar i:nth-child(3) { background: oklch(0.72 0.13 150); }
.mini-bar span { margin-left: 6px; font-family: monospace; }

/* Стили карточки личного сайта */
.site-card {
  padding: 20px;
  background: var(--paper);
}
.sc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sc-avatar {
  font-size: 24px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: oklch(0.92 0.04 220);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(0.85 0.06 220);
}
.sc-info .sc-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}
.sc-info .sc-sub {
  font-size: 11.5px;
  color: var(--mut);
}
.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.sc-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ice-deep);
  background: oklch(0.93 0.03 225);
  border-radius: 6px;
  padding: 3px 8px;
}
.sc-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: oklch(0.96 0.008 235);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
}
.sc-icon { font-size: 16px; }
.sc-item strong { display: block; font-size: 12px; color: var(--ink); }
.sc-item small { font-size: 10.5px; color: var(--mut); }

/* Стили чат-бота */
.chat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bot-ava {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: oklch(0.88 0.08 220);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.bot-header-text {
  display: flex;
  flex-direction: column;
}
.bot-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.bot-status {
  font-size: 10.5px;
  color: oklch(0.5 0.12 165);
}
.chat-flow {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: oklch(0.96 0.006 240);
}
.bubble {
  max-width: 90%;
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 12.5px;
  line-height: 1.45;
}
.bubble.in {
  background: var(--paper);
  border: 1px solid var(--line);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px oklch(0.3 0.02 260 / 0.05);
}
.bubble.out {
  background: oklch(0.88 0.09 220);
  color: oklch(0.18 0.03 260);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.b-alert { margin-bottom: 4px; }
.b-desc { font-size: 11.5px; color: var(--mut); margin-bottom: 6px; }
.b-gifts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  background: oklch(0.97 0.006 240);
  padding: 6px 8px;
  border-radius: 6px;
}
.gift-row { font-size: 11.5px; display: flex; align-items: center; gap: 5px; }
.b-actions {
  display: flex;
  gap: 6px;
}
.b-btn {
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: oklch(0.93 0.02 230);
  color: var(--ice-deep);
  border: 1px solid oklch(0.85 0.04 230);
}
.b-btn.active {
  background: var(--ice-deep);
  color: white;
  border-color: var(--ice-deep);
}

/* Стили своего проекта */
.idea-showcase {
  padding: 20px;
  background: linear-gradient(135deg, oklch(0.98 0.006 240) 0%, oklch(0.93 0.03 220 / 0.5) 100%);
  text-align: center;
}
.idea-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice-deep);
  background: oklch(0.91 0.06 220);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.idea-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 14px;
}

/* Интерактивный генератор идей */
.idea-generator-box {
  background: var(--day);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  text-align: left;
}
.ig-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 2px 8px oklch(0.2 0.02 260 / 0.04);
}
.ig-card.fade {
  opacity: 0;
  transform: translateY(4px);
}
.ig-emoji {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.ig-content strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 3px;
}
.ig-content span {
  display: block;
  font-size: 11.5px;
  color: var(--mut);
  line-height: 1.35;
}
.ig-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-ig-shuffle {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-ig-shuffle:hover {
  background: oklch(0.92 0.03 225);
  border-color: var(--ice-deep);
  color: var(--ice-deep);
}
.btn-ig-shuffle svg {
  transition: transform 0.4s var(--ease);
}
.btn-ig-shuffle:active svg {
  transform: rotate(180deg);
}
.btn-ig-pick {
  background: var(--ice-deep);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-ig-pick:hover {
  background: oklch(0.46 0.15 240);
  transform: translateY(-1px);
}
.idea-footer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--mut);
}
.idea-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(0.65 0.16 145);
}

/* ---------- Что останется ---------- */
.paper { background: var(--paper); }
.skills { padding-block: clamp(70px, 9vw, 110px); }
.skills-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.skills-art { margin: 0; }
.skills-art img, .format-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 70px -30px oklch(0.35 0.06 255 / 0.45);
}
.lead-tight { margin-bottom: 26px; }
.skills-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.skills-list li {
  position: relative;
  padding-left: 30px;
  color: var(--mut);
  font-size: 16px;
  max-width: 56ch;
}
.skills-list li strong { color: var(--ink); }
.skills-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--ice-deep);
  transform: rotate(45deg);
}

/* ---------- Формат ---------- */
.format { padding-block: clamp(70px, 9vw, 110px); }
.format-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.format-art { margin: 0; }
.format p { color: var(--mut); margin-bottom: 16px; max-width: 46ch; }
.format p strong { color: var(--ink); }
.format .h2 { margin-bottom: 24px; }

/* ---------- Программа ---------- */
.program { background: var(--paper); padding-block: clamp(70px, 9vw, 110px); }
.weeks {
  position: relative;
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.weeks::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 40px;
  left: clamp(28px, 4vw, 42px);
  width: 2px;
  background: linear-gradient(180deg, var(--ice-deep) 0%, var(--aurora) 70%, oklch(0.7 0.1 220 / 0.2) 100%);
  z-index: 1;
}
.wk-item {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--day);
  transition: all 0.25s var(--ease);
}
.wk-item:hover {
  border-color: var(--ice-deep);
  transform: translateY(-1px);
}
.wk-item[open] {
  background: var(--paper);
  border-color: oklch(0.75 0.08 230);
  box-shadow: 0 12px 30px -15px oklch(0.3 0.04 250 / 0.15);
}
.wk-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: clamp(56px, 8vw, 84px) 1fr auto;
  gap: clamp(16px, 3vw, 36px);
  padding: clamp(18px, 2.5vw, 26px) clamp(20px, 3vw, 30px);
  align-items: start;
}
.wk-item summary::-webkit-details-marker { display: none; }
.wk-toggle {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ice-deep);
  padding-top: 6px;
  transition: transform 0.35s var(--ease);
}
.wk-item[open] .wk-toggle { transform: rotate(45deg); }
.wk-more {
  padding: 0 clamp(20px, 3vw, 30px) clamp(20px, 3vw, 28px) clamp(92px, 14vw, 150px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wk-more p { color: var(--mut); font-size: 14.5px; max-width: 58ch; animation: faq-in 0.4s var(--ease); }
.wk-more b { color: var(--ink); font-weight: 600; }
.wk { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.5vw, 46px); color: var(--ice-deep); line-height: 1; }
.weeks h3 { font-weight: 600; font-size: 18px; margin-bottom: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.weeks h3 em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.45 0.1 168);
  background: oklch(0.32 0.05 170 / 0.12);
  padding: 3px 9px;
  border-radius: 999px;
}
.weeks p { color: var(--mut); font-size: 15.5px; max-width: 60ch; }
.wk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.wk-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ice-deep);
  background: oklch(0.93 0.03 225);
  border: 1px solid oklch(0.88 0.04 225);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(70px, 9vw, 110px); }
.faq-inner { max-width: 720px; }
.faq .h2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ice-deep);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; }
.faq-a p { color: var(--mut); max-width: 60ch; animation: faq-in 0.4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Заявка ---------- */
.apply { padding-block: clamp(80px, 11vw, 130px); }
.apply-inner { position: relative; z-index: 2; max-width: 640px; }
.h2-night { color: var(--night-ink); }
.apply-note { color: var(--night-mut); margin-bottom: 36px; max-width: 46ch; }
.apply-form { display: flex; flex-direction: column; gap: 18px; color-scheme: dark; }
.form-step-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice);
}
.fs { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.js .fs2 { display: none; }
.js .fs2.open { display: flex; }
.js .fs1.done { display: none; }
.apply-form label { font-size: 14px; font-weight: 600; color: var(--night-ink); display: flex; flex-direction: column; gap: 8px; }
.apply-form .hint { font-weight: 400; font-size: 12.5px; color: var(--night-mut); }
.apply-form input {
  font: inherit;
  font-size: 16px;
  color: var(--night-ink);
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.apply-form textarea, .apply-form select {
  font: inherit;
  font-size: 16px;
  color: var(--night-ink);
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.apply-form textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.apply-form input::placeholder, .apply-form textarea::placeholder { color: oklch(0.55 0.02 255); }
.apply-form input:focus, .apply-form textarea:focus, .apply-form select:focus {
  outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px oklch(0.7 0.1 210 / 0.2);
}
.chk-group {
  border: 1px solid var(--night-line);
  border-radius: 12px;
  padding: 6px 16px 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.chk-group legend { font-size: 14px; font-weight: 600; color: var(--night-ink); padding-inline: 4px; }
.chk-group .hint { font-weight: 400; font-size: 12.5px; color: var(--night-mut); }
.apply-form label.chk {
  flex-direction: row; align-items: center; gap: 10px;
  font-weight: 400; font-size: 14.5px; color: var(--night-mut);
}
.chk input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--ice); }
.apply-form label.consent { align-items: flex-start; line-height: 1.45; }
.apply-form label.consent input { margin-top: 2px; flex: none; }
.consent a { color: var(--ice); }
.js .source-other { display: none; }
.js .source-other.show { display: flex; }
.back-link {
  background: none; border: 0; cursor: pointer;
  align-self: center; padding: 4px 8px;
  font: inherit; font-size: 14px; color: var(--night-mut);
  transition: color 0.25s;
}
.back-link:hover { color: var(--ice); }
.form-two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4em; font-size: 15px; color: var(--aurora); }
.form-status.err { color: oklch(0.75 0.13 25); }
.policy-note { font-size: 12.5px; color: var(--night-mut); max-width: 52ch; line-height: 1.5; }
.policy-note a { color: var(--night-mut); }
.policy-note a:hover { color: var(--ice); }

/* Выпадающие списки анкеты в стиле сайта (vselect.js); настоящий <select> спрятан внутри */
.apply-form.spotlight-card { overflow: visible; }
.vs { position: relative; }
.vs-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.vs-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: inherit; font-size: 16px; font-weight: 400; text-align: left; line-height: 1.4; cursor: pointer;
  color: var(--night-ink); background: var(--night-2);
  border: 1px solid var(--night-line); border-radius: 12px; padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.vs-btn:hover { border-color: var(--night-mut); }
.vs-btn:focus-visible, .vs.is-open .vs-btn { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px oklch(0.7 0.1 210 / 0.2); }
.vs-btn.is-empty .vs-val { color: oklch(0.55 0.02 255); }
.vs-chev { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ice); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.vs.is-open .vs-chev { transform: rotate(180deg); }
.vs-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30;
  margin: 0; padding: 6px; list-style: none; max-height: 320px; overflow-y: auto;
  background: var(--night-3); border: 1px solid var(--night-line); border-radius: 14px;
  box-shadow: 0 24px 48px -12px oklch(0.08 0.03 265 / 0.75);
  animation: vs-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.vs-list[hidden] { display: none; }
.vs.is-up .vs-list { top: auto; bottom: calc(100% + 8px); animation-name: vs-in-up; }
@keyframes vs-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes vs-in-up { from { opacity: 0; transform: translateY(6px); } }
.vs-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 12px; border-radius: 9px; cursor: pointer;
  font-size: 15.5px; font-weight: 400; line-height: 1.35; color: var(--night-ink);
}
.vs-opt.is-act { background: oklch(0.8 0.11 215 / 0.14); }
.vs-opt.is-sel { color: var(--ice); font-weight: 600; }
.vs-tick { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ice); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.vs-opt.is-sel .vs-tick { opacity: 1; }
.vs-err { display: none; margin-top: 6px; font-size: 13px; font-weight: 500; color: oklch(0.75 0.13 25); }
.vs.is-invalid .vs-btn { border-color: oklch(0.75 0.13 25); }
.vs.is-invalid .vs-err { display: block; }
.vs.is-disabled .vs-btn { opacity: 0.6; cursor: default; }
@media (prefers-reduced-motion: reduce) { .vs-list { animation: none; } .vs-chev { transition: none; } }
.after-steps {
  list-style: none;
  padding: 24px 0 0;
  margin-top: 28px;
  border-top: 1px solid var(--night-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: as;
}
.after-steps li {
  counter-increment: as;
  font-size: 14.5px;
  color: var(--night-mut);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.after-steps li::before {
  content: counter(as);
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  color: var(--ice);
  flex-shrink: 0;
}

/* ---------- Игровая ---------- */
.arcade { padding-block: clamp(70px, 9vw, 110px); }
.arcade-sub { color: var(--night-mut); margin: 0 0 26px; max-width: 48ch; }
.arcade-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.arcade-tab {
  font: inherit; font-weight: 600; font-size: 14.5px;
  color: var(--night-mut);
  background: transparent;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.arcade-tab.on { color: oklch(0.16 0.03 262); background: var(--ice); border-color: var(--ice); }
.arcade-pane { display: none; position: relative; z-index: 2; }
.arcade-pane.on { display: block; }
.arcade-cta { margin-top: 28px; color: var(--night-mut); font-size: 15px; }
.arcade-cta a { color: var(--ice); }

[hidden] { display: none !important; }

/* игры: общий счёт */
.run-hud { display: flex; gap: 22px; margin-bottom: 12px; font-size: 14.5px; color: var(--night-mut); flex-wrap: wrap; }
.run-hud b { color: var(--ice); font-variant-numeric: tabular-nums; }
.run-canvas { display: block; width: 100%; height: 260px; border-radius: 14px; border: 1px solid var(--night-line); touch-action: manipulation; cursor: pointer; }
.brick-canvas { height: 340px; touch-action: none; }

/* игра 3: «Супер Кодя» (платформер, platformer.js) */
.plat-hud { align-items: center; row-gap: 10px; }
.plat-tools { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.plat-levels { display: inline-flex; gap: 4px; }
.pl-lv, .pl-sound {
  font: inherit; font-weight: 600; font-size: 13px; line-height: 1;
  color: var(--night-mut); background: transparent;
  border: 1px solid var(--night-line); border-radius: 8px;
  min-width: 30px; height: 30px; padding: 0 8px; cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pl-lv:hover:not(:disabled), .pl-sound:hover { border-color: var(--ice); color: var(--night-ink); }
.pl-lv.on { color: oklch(0.16 0.03 262); background: var(--ice); border-color: var(--ice); }
.pl-lv:disabled { opacity: 0.35; cursor: default; }
.plat-stage { position: relative; }
.plat-canvas { height: 375px; touch-action: none; cursor: default; -webkit-user-select: none; user-select: none; outline: none; }
.plat-canvas:focus-visible { box-shadow: 0 0 0 2px var(--ice); }
.plat-touch { display: none; position: absolute; left: 12px; right: 12px; bottom: 12px; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.plat-touch-l { display: flex; gap: 10px; }
.plat-touch button {
  pointer-events: auto; font: inherit; font-size: 22px; line-height: 1; color: var(--night-ink);
  width: 58px; height: 58px; border-radius: 50%; padding: 0;
  background: rgba(12, 18, 32, 0.55); border: 1px solid rgba(160, 216, 245, 0.45);
  touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.plat-touch button.on { background: var(--ice); color: oklch(0.16 0.03 262); }
.plat-touch-j { width: 68px !important; height: 68px !important; font-size: 26px !important; }
@media (hover: none) and (pointer: coarse) { .plat-touch { display: flex; } }
.pg-note { margin-top: 12px; }

@media (max-width: 760px) {
  .pg { grid-template-columns: 1fr; }
  .plat-canvas { height: 300px; }
  .plat-tools { margin-left: 0; }
}

/* ---------- Футер ---------- */
.footer { background: var(--night-2); padding: 44px 0 52px; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; }
.footer p { color: var(--night-mut); font-size: 14px; }
.footer-meta { font-size: 12.5px; opacity: 0.75; }

/* ---------- Появление при прокрутке (только с JS) ---------- */
.js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-rv].on { opacity: 1; transform: none; }

/* ---------- Мобильная плашка быстрой записи ---------- */
.mobile-quickbar {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 99;
  background: oklch(0.17 0.03 265 / 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid oklch(0.34 0.03 260 / 0.8);
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -10px 30px oklch(0.1 0.02 265 / 0.8);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.mobile-quickbar.show {
  transform: translateY(0);
}
.mq-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--night-ink);
}
.mq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 8px var(--aurora);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.mq-btn {
  padding: 9px 18px;
  font-size: 14px;
  white-space: nowrap;
}

/* ---------- Канвас конфетти ---------- */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

/* ---------- Командная панель ⌘K (Raycast Style) ---------- */
.cmd-palette-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(6, 10, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(60px, 12vh, 120px);
  padding-inline: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cmd-palette-backdrop.open {
  display: flex;
  opacity: 1;
}
.cmd-palette-card {
  background: oklch(0.2 0.035 262 / 0.98);
  border: 1px solid oklch(0.38 0.06 250);
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.85), 0 0 35px oklch(0.8 0.11 215 / 0.15);
  overflow: hidden;
  color: var(--night-ink);
  transform: translateY(-8px) scale(0.98);
  transition: transform 0.2s var(--ease);
}
.cmd-palette-backdrop.open .cmd-palette-card {
  transform: translateY(0) scale(1);
}
.cmd-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid oklch(0.28 0.03 260);
}
.cmd-search-icon { color: var(--ice); flex-shrink: 0; }
.cmd-input-row input {
  background: transparent;
  border: 0;
  outline: none;
  color: var(--night-ink);
  font-size: 16px;
  width: 100%;
  font-family: inherit;
}
.cmd-input-row input::placeholder { color: oklch(0.55 0.02 255); }
.cmd-esc {
  background: oklch(0.26 0.03 260);
  border: 1px solid oklch(0.36 0.03 260);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 10.5px;
  color: var(--night-mut);
  cursor: pointer;
}
.cmd-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  color: var(--night-ink);
  transition: background 0.12s ease, transform 0.12s ease;
  user-select: none;
}
.cmd-item:hover, .cmd-item.selected {
  background: oklch(0.3 0.06 245);
  color: #fff;
  transform: translateX(2px);
}
.cmd-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cmd-item-icon {
  font-size: 16px;
}
.cmd-item-tag {
  font-size: 11px;
  color: var(--ice);
  background: oklch(0.28 0.04 250);
  padding: 2px 7px;
  border-radius: 4px;
}
.cmd-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
  border-top: 1px solid oklch(0.28 0.03 260);
  font-size: 11px;
  color: var(--night-mut);
  background: oklch(0.18 0.03 262);
}

/* ---------- Адаптив ---------- */
@media (max-width: 860px) {
  .format-grid, .skills-grid { grid-template-columns: 1fr; }
  .skills-art { order: 2; max-width: 520px; }
  .format-art { max-width: 520px; }
  .how-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topnav { display: none; }
  .mobile-quickbar { display: flex; }
  .hero { min-height: auto; }
  .step, .step:nth-child(2) { grid-template-columns: 1fr; }
  .step:nth-child(2) .step-text { order: 1; }
  .step:nth-child(2) .mini { order: 2; }
  .step .mini, .step:nth-child(1) .mini, .step:nth-child(2) .mini, .step:nth-child(3) .mini {
    justify-self: stretch; max-width: 460px;
  }
  .form-two { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .how-steps { grid-template-columns: 1fr; }
  .proof-top-row { flex-direction: column; align-items: flex-start; }
  .proof-prompt-box { flex-direction: column; align-items: flex-start; }
  .btn-copy-prompt { align-self: flex-end; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i { animation: none; }
  .js [data-rv] { opacity: 1; transform: none; transition: none; }
  .btn, .faq summary::after { transition: none; }
}

/* ---------- Motion-эффекты (по рецептам HyperFrames Animation: waterfall-entry, ambient-glow-bloom,
   css-marker-patterns, svg-path-draw, split-tilt-cards, press-release-spring). Только при JS и без reduced-motion ---------- */
.hero-title { position: relative; }
.js .hero-title::before {
  content: ''; position: absolute; inset: -30% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, oklch(0.72 0.12 200 / 0.32), transparent 72%);
  filter: blur(28px); opacity: 0;
}
.js .hero-title.in::before { animation: bloom 1.8s var(--ease) 0.3s forwards, breathe 7s ease-in-out 2.2s infinite; }
@keyframes bloom { to { opacity: 1; } }
@keyframes breathe { 50% { transform: scale(1.07); opacity: 0.75; } }
.js .hero-sub strong { background: linear-gradient(oklch(0.8 0.11 215 / 0.35), oklch(0.8 0.11 215 / 0.35)) no-repeat 0 92% / 0% 0.38em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.js .hero-sub.in strong { animation: marker 0.7s var(--ease) 1.5s forwards; }
@keyframes marker { to { background-size: 100% 0.38em; } }

.js .h2[data-rv] { transform: none; clip-path: inset(0 0 100% 0); }
.js .h2[data-rv].on { clip-path: inset(0 0 -10% 0); transition: opacity 0.6s var(--ease), clip-path 0.9s var(--ease); }

.how-steps li { position: relative; }
.js .how-steps li { border-top-color: transparent; }
.js .how-steps li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ice-deep); transform: scaleX(0); transform-origin: left; transition-delay: inherit; }
.js .how-steps li.on::before { transform: scaleX(1); transition: transform 0.8s var(--ease); transition-delay: inherit; }


.btn:active { transform: translateY(0) scale(0.96); transition: transform 0.08s; }

@media (prefers-reduced-motion: reduce) {
  .js .hero-title::before, .js .hero-title.in::before { animation: none; opacity: 0.6; }
  .js .hero-sub strong, .js .hero-sub.in strong { animation: none; background-size: 100% 0.38em; }
  .js .h2[data-rv] { clip-path: none; }
  .js .how-steps li::before, .js .how-steps li.on::before { transform: scaleX(1); transition: none; }
}

/* ---------- Hero FX: живые экраны, чипы, свет курсора, параллакс (GSAP) ---------- */
.hero-title .line-lg { white-space: nowrap; }   /* «на вайбе» не разрывать: SplitText делит по nbsp на два слова */
.hero-bg { perspective: 1400px; }
.hero-bg-img { transform-origin: 60% 50%; will-change: transform; }
.hero-fx { position: absolute; inset: 0; z-index: 4; pointer-events: none; display: none; perspective: 1400px; }
.js .hero-fx { display: block; }
.fx-light {
  position: absolute; width: 560px; height: 560px; left: 0; top: 0; margin: -280px 0 0 -280px;
  border-radius: 50%; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(closest-side, oklch(0.75 0.12 200 / 0.28), oklch(0.6 0.12 220 / 0.1) 45%, transparent 70%);
}
.fx-screens, .fx-chips { position: absolute; inset: 0; will-change: transform; }
.scr {
  position: absolute; left: 0; top: 0; width: 300px; height: 200px; transform-origin: 0 0;
  pointer-events: auto; cursor: crosshair; overflow: hidden; border-radius: 4px;
  background: oklch(0.13 0.025 262 / 0.92); color: oklch(0.85 0.05 200);
  font: 500 11px/1.5 ui-monospace, Menlo, Consolas, monospace; opacity: 0.42;
  transition: opacity 0.6s var(--ease), box-shadow 0.6s var(--ease);
  box-shadow: inset 0 0 0 1px oklch(0.55 0.1 210 / 0.25);
}
.scr.holo { background: oklch(0.35 0.08 215 / 0.28); backdrop-filter: blur(1px); box-shadow: inset 0 0 0 1px oklch(0.8 0.11 215 / 0.35); }
.scr.wake:not(.holo) { background: oklch(0.13 0.025 262); }
.scr.wake { opacity: 1; box-shadow: 0 0 34px -6px oklch(0.8 0.12 210 / 0.75), inset 0 0 0 1px oklch(0.8 0.11 215 / 0.6); }
.scr .bar { display: flex; gap: 5px; align-items: center; padding: 7px 10px; background: oklch(0.2 0.03 262); color: oklch(0.7 0.03 250); font-size: 10px; }
.scr .bar i { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.45 0.05 250); }
.scr .bar i:nth-child(1) { background: oklch(0.65 0.18 25); } .scr .bar i:nth-child(2) { background: oklch(0.8 0.15 85); } .scr .bar i:nth-child(3) { background: oklch(0.7 0.15 150); }
.scr .body { padding: 10px 12px; }
.scr .ln { white-space: pre; min-height: 1.5em; }
.scr .ln .k { color: oklch(0.8 0.11 215); }
.scr .ln:last-of-type { color: oklch(0.8 0.14 150); } .scr .ln .s { color: oklch(0.85 0.12 150); } .scr .ln .c { color: oklch(0.6 0.03 250); }
.scr .caret { display: inline-block; width: 6px; height: 12px; background: var(--ice); vertical-align: -2px; animation: cursor-blink 0.9s steps(1) infinite; }
.scr .bub { max-width: 82%; padding: 6px 9px; border-radius: 9px; margin: 0 0 6px; font-family: var(--body); font-size: 11px; line-height: 1.35; opacity: 0; }
.scr .bub.u { margin-left: auto; background: var(--ice); color: oklch(0.16 0.03 262); border-bottom-right-radius: 3px; }
.scr .bub.a { background: oklch(0.22 0.03 262); color: oklch(0.92 0.01 250); border-bottom-left-radius: 3px; }
.scr .dots i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: oklch(0.7 0.05 250); margin-right: 3px; }
.scr.build .body { padding: 10px 9px; }
.scr .log .ln { opacity: 0; font-size: 11px; line-height: 1.6; white-space: normal; }
.scr .log .ok { color: oklch(0.8 0.14 150); }
.scr.site { background: oklch(0.16 0.03 262 / 0.82); }   /* тёмная «браузерная» подложка — блоки сайта читаются на голограмме */
.scr.site .site-bar { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: oklch(0.22 0.03 262 / 0.9); }
.scr.site .site-bar i { width: 7px; height: 7px; border-radius: 50%; background: oklch(0.5 0.05 250); }
.scr.site .site-bar b { flex: 1; height: 9px; border-radius: 5px; background: oklch(0.3 0.03 262); }
.scr .site { display: grid; gap: 16px; padding: 18px 16px; }
.scr .site .blk { height: 16px; border-radius: 4px; background: oklch(0.72 0.11 215 / 0.85); transform-origin: left; transform: scaleX(0); }
.scr .site .blk.head { height: 60px; background: linear-gradient(90deg, oklch(0.55 0.13 240), oklch(0.8 0.11 215)); }
.scr .site .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.scr .site .row .blk { height: 44px; background: oklch(0.45 0.08 240 / 0.9); }
.scr svg { display: block; width: 100%; height: 100%; }
.chip {
  position: absolute; padding: 7px 11px; border-radius: 100px; white-space: nowrap;
  font: 600 12px var(--body); color: oklch(0.95 0.01 250);
  background: oklch(0.2 0.035 262 / 0.75); border: 1px solid oklch(0.8 0.11 215 / 0.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -12px oklch(0.1 0.02 265 / 0.9); opacity: 0;
}
.chip b { color: var(--ice); font-weight: 700; }
.chip .ok { color: oklch(0.8 0.14 150); }
.hs-runner { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 12px 3px oklch(0.8 0.11 215 / 0.7); opacity: 0; pointer-events: none; }
.how-steps { position: relative; }
.fx-debug .scr { outline: 2px dashed #ff4d4d; opacity: 1; }
@media (max-width: 1100px) { .js .hero-fx { display: none; } }
@media (prefers-reduced-motion: reduce) { .js .hero-fx { display: none; } .hero-bg-img { transform: none !important; } }

/* «Уменьшить движение» — общий стоп для всех постоянных анимаций (аудит 10.10): частные правила выше перебивались более точными селекторами */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
