/* Лендинг (промо-главная). Переиспользует токены тем из tokens.css. */
.lp {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}
.lp main { display: block; }

/* ---- Кнопки ---- */
.lp-btn {
  display: inline-block;
  background: var(--grad);
  color: var(--btn-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: var(--btn-radius);
  box-shadow: var(--btn-shadow);
  border: var(--ol);
  transition: transform var(--duration-fast, 150ms) ease, filter 150ms ease;
}
.lp-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.lp-btn-sm { padding: 9px 16px; font-size: 15px; }
.lp-btn-lg { padding: 15px 30px; font-size: var(--text-lg); }

/* ---- Навигация ---- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px clamp(16px, 5vw, 48px);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: var(--ol2);
}
.lp-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.lp-langs { display: flex; gap: 4px; }
.lp-langs a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 11px;
  border-radius: 10px;
  border: var(--ol2);
  background: var(--chip-bg);
  color: var(--ink);
  opacity: 1;
  transition: transform 120ms ease;
}
.lp-langs a:hover { transform: scale(1.12); }
.lp-langs a.on { background: var(--primary); color: #fff; }
.lp-nav .lp-langs { margin-right: 4px; }

/* ---- Hero ---- */
.lp-hero {
  position: relative;
  text-align: center;
  padding: clamp(56px, 12vw, 120px) clamp(16px, 5vw, 48px) clamp(40px, 8vw, 80px);
  max-width: 880px;
  margin: 0 auto;
}
.lp-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1rem + 6vw, 4.5rem);
  line-height: 1.18;
  padding-bottom: .08em;
  margin: 0 0 18px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-sub {
  font-size: var(--text-lg);
  color: var(--dim);
  max-width: 620px;
  margin: 0 auto 32px;
}

/* Парящие игровые эмодзи как фон-глубина hero. */
.lp-orbits { position: absolute; inset: 0; pointer-events: none; }
.lp-orbits span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: clamp(28px, 4vw, 46px);
  opacity: 0.5;
  animation: lp-float 5s ease-in-out var(--d) infinite;
}
@keyframes lp-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}

/* ---- Секции ---- */
.lp-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(16px, 5vw, 48px);
}
.lp-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.4rem);
  text-align: center;
  margin: 0 0 36px;
}

/* ---- Возможности ---- */
.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.lp-card {
  background: var(--surface);
  border: var(--ol2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.lp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lp-ic {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 14px;
}
.lp-card-t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  margin: 0 0 8px;
}
.lp-card-d { color: var(--dim); margin: 0; font-size: var(--text-base); }

/* ---- Как это работает ---- */
.lp-how { text-align: center; }
.lp-steps {
  list-style: none;
  margin: 0 auto 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}
.lp-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface-2);
  border: var(--ol2);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.lp-step-n {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: var(--btn-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-sm);
}

/* ---- Футер ---- */
.lp-footer {
  border-top: var(--ol2);
  padding: 32px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lp-foot-links { color: var(--dim); font-size: 14px; }
.lp-foot-links a { color: var(--dim); text-decoration: none; }
.lp-foot-links a:hover { color: var(--ink); }

/* "For parents" list */
.lp-parents {
  max-width: 760px; margin: 0 auto; list-style: none; padding: 0;
  display: grid; gap: 12px;
}
.lp-parents li {
  background: var(--surface); border: 1px solid rgba(127,127,150,.2); border-radius: 14px;
  padding: 14px 18px; font-weight: 700; color: var(--ink); line-height: 1.45;
}
/* FAQ accordion */
.lp-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.lp-faq-item {
  background: var(--surface); border: 1px solid rgba(127,127,150,.2); border-radius: 14px; padding: 2px 18px;
}
.lp-faq-item > summary {
  cursor: pointer; font-weight: 800; font-size: 17px; padding: 15px 0; list-style: none;
  color: var(--ink); display: flex; justify-content: space-between; gap: 12px;
}
.lp-faq-item > summary::-webkit-details-marker { display: none; }
.lp-faq-item > summary::after { content: '+'; color: var(--dim); font-weight: 900; }
.lp-faq-item[open] > summary::after { content: '–'; }
.lp-faq-item p { margin: 0 0 15px; color: var(--dim); line-height: 1.5; font-weight: 600; }

@media (max-width: 560px) {
  .lp-nav { gap: 8px; padding: 12px 14px; }
  .lp-nav .lp-langs { width: 100%; justify-content: center; order: 2; } /* отдельной строкой на мобиле */
}

@media (prefers-reduced-motion: reduce) {
  .lp-orbits span { animation: none; }
  .lp-btn, .lp-card, .lp-langs a { transition: none; }
}
