/* Luminavera — главная страница. Палитра и базовые элементы — из app.css,
   шрифт — из fonts.css. Правила: цвет чакры только для фигур и обводок,
   текст — светлый на тёмном; минимальный кегль 15px; контраст ≥ 4.5:1. */

:root {
  --gold-2: #F3D08C;
  --gold-3: #FFF0C4;
  --text-soft: #C3C8DA;
  --lp-radius: 20px;
}

/* app.css делает html/body высотой 100% ради полноэкранной сцены; здесь
   обычный документ, который скроллится сам, иначе липкая шапка и якоря
   живут в двух вложенных скроллах. */
html { height: auto; scroll-behavior: smooth; }
body.landing {
  height: auto; overflow: visible;
  font-family: "Onest", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.landing h1, body.landing h2, body.landing h3 { font-family: inherit; }
.lp-section, .preview { scroll-margin-top: 76px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(212,175,122,.35); }

/* Золотой градиент для акцентного текста: название и цены */
.gold-text {
  background: linear-gradient(94deg, #E7C77E 0%, var(--gold-3) 42%, #F1C86F 64%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); text-decoration: none;
  font-weight: 560; font-size: 16px; line-height: 1.2; cursor: pointer;
  transition: background .18s, border-color .18s, filter .18s, transform .18s, box-shadow .18s;
}
.btn:hover { background: var(--surface-2); border-color: rgba(200,208,240,.5); transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(180deg, #F0CC86, var(--gold)); color: #1a1405; border-color: transparent;
  font-weight: 650; box-shadow: 0 8px 30px -10px rgba(212,175,122,.6);
}
.btn.primary:hover { filter: brightness(1.06); box-shadow: 0 12px 34px -10px rgba(212,175,122,.8); }
.btn.ghost { background: transparent; }
.btn.wide { width: 100%; }
.btn.lg { padding: 15px 30px; font-size: 17px; }

/* ---------- Шапка ---------- */

.lp-head {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(5,6,14,.94), rgba(5,6,14,.6) 80%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lp-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 18px; letter-spacing: .1em; font-weight: 500; padding: 6px 0; }
.lp-brand .star { color: var(--gold); font-size: 14px; }
.lp-nav { display: flex; gap: 26px; }
.lp-nav a { color: var(--text-soft); text-decoration: none; font-size: 15px; transition: color .15s; padding: 9px 0; }
.lp-nav a:hover { color: var(--gold-3); }
@media (max-width: 720px) { .lp-nav { display: none; } }
@media (pointer: coarse) { .lp-nav { gap: 20px; } .lp-nav a { padding: 11px 0; } }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 94dvh; display: grid; align-content: center;
  padding: 12vh clamp(16px, 4vw, 40px) 8vh; overflow: hidden;
}
.hero-scene { position: absolute; inset: 0; z-index: 0; }
.hero-scene canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(58% 52% at 50% 46%, rgba(5,6,14,.72) 0%, rgba(5,6,14,.42) 48%, transparent 76%),
    linear-gradient(180deg, rgba(5,6,14,.7) 0%, transparent 22%, transparent 68%, var(--bg-0) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; text-align: center; }
/* мягкое «стекло» без видимых краёв: сцена за текстом размывается и темнеет */
.hero-content::before {
  content: ""; position: absolute; inset: -32px -8vw; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(5,6,14,.55) 0%, rgba(5,6,14,.3) 50%, transparent 74%);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, transparent 74%);
  mask-image: radial-gradient(ellipse at center, #000 45%, transparent 74%);
}
.hero h1 { margin: 0 0 22px; }
.hero-name {
  display: block; margin: 0 auto;
  font-size: clamp(46px, 9.6vw, 108px); line-height: 1.02; letter-spacing: .12em; padding-left: .12em;
  font-weight: 300;
  filter: drop-shadow(0 0 22px rgba(241,196,15,.18)) drop-shadow(0 2px 30px rgba(212,175,122,.14));
  animation: hero-glow 7s ease-in-out infinite;
}
@keyframes hero-glow {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(241,196,15,.16)) drop-shadow(0 2px 30px rgba(212,175,122,.12)); }
  50%      { filter: drop-shadow(0 0 34px rgba(241,196,15,.30)) drop-shadow(0 2px 40px rgba(212,175,122,.22)); }
}
.hero-tagline {
  display: block; margin: 22px auto 0; max-width: 24em;
  font-size: clamp(19px, 2.6vw, 27px); font-weight: 500; letter-spacing: -.01em;
  color: var(--text); line-height: 1.32; text-wrap: balance;
}
.hero-lead {
  max-width: 36em; margin: 18px auto 30px; color: var(--text-soft);
  font-size: clamp(16px, 1.45vw, 18px); line-height: 1.7; text-wrap: pretty;
}
.hero-form {
  display: flex; gap: 10px; max-width: 480px; margin: 0 auto 14px; padding: 8px;
  border-radius: 20px; background: rgba(12,14,32,.7); border: 1px solid rgba(160,172,220,.22);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04);
}
.hero-form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1px solid transparent; background: rgba(255,255,255,.05); color: var(--text);
  font: inherit; font-size: 17px; color-scheme: dark;
}
.hero-form input:focus { outline: none; border-color: rgba(212,175,122,.6); background: rgba(255,255,255,.07); }
.hero-form button {
  height: 52px; padding: 0 24px; border-radius: 14px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #F0CC86, var(--gold)); color: #1a1405;
  font: inherit; font-size: 16.5px; font-weight: 650; white-space: nowrap;
  transition: filter .18s, transform .18s;
}
.hero-form button:hover { filter: brightness(1.06); transform: translateY(-1px); }
/* Пол — переключатель на два деления. Влияет только на согласование в тексте,
   поэтому стоит рядом с датой тихо, без лишнего веса. */
.sex-pick {
  display: inline-flex; gap: 4px; flex: 0 0 auto; margin: 0; padding: 4px;
  border: 1px solid rgba(160,172,220,.22); border-radius: 14px;
  background: rgba(255,255,255,.04);
}
.sex-pick label { position: relative; display: block; margin: 0; }
.sex-pick input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.sex-pick span {
  display: grid; place-items: center; min-width: 42px; height: 44px; padding: 0 10px;
  border-radius: 10px; font-size: 15px; color: #A7ADC2; transition: background .16s, color .16s;
}
.sex-pick input:checked + span { background: rgba(212,175,122,.16); color: var(--gold-2); font-weight: 600; }
.sex-pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hero .hint { margin: 0 auto; font-size: 14.5px; color: #A7ADC2; }
.hero .hint b { color: var(--gold-2); font-weight: 600; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 26px auto 0; padding: 0; list-style: none; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #A7ADC2; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(212,175,122,.8); }
.hero .preview { position: relative; z-index: 2; max-width: var(--max); margin: 36px auto 0; }
.hero .preview .card { border-color: rgba(212,175,122,.3); background: linear-gradient(180deg, rgba(24,27,52,.92), rgba(13,16,34,.94)); }
.hero .preview .card h2 { font-size: clamp(22px, 3vw, 28px); }
.hero .preview .disclaimer { color: var(--text-dim); font-size: 13.5px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 2; transform: translateX(-50%);
  color: #A7ADC2; text-decoration: none; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero-scroll::after { content: ""; width: 1px; height: 28px; background: linear-gradient(180deg, var(--gold), transparent); animation: scroll-cue 2.2s ease-in-out infinite; }
@keyframes scroll-cue { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(6px); opacity: .4; } }
@media (max-width: 560px) {
  .hero { padding-top: 9vh; }
  .hero-lead { font-size: 16px; line-height: 1.6; }
  .hero-tagline { font-size: 22px; }
  .hero-form { flex-direction: column; }
  /* В колонке flex-основа идёт по высоте, и `flex: 1` съедал заданные 52px:
     поле даты схлопывалось до 32px против кнопки в 52. */
  .hero-form input { flex: 0 0 auto; width: 100%; }
  .hero-form button { width: 100%; }
  /* В колонке переключатель пола растягивается во всю ширину: две равные
     половины читаются понятнее, чем две кнопки у левого края. */
  .sex-pick { width: 100%; }
  .sex-pick label { flex: 1; }
  .sex-pick span { width: 100%; height: 48px; }
  .hero-scroll { display: none; }
}
/* Визитка: девять позиций и три числа Сюцай — сеткой, а не простынёй */
.preview-head { margin: 28px 0 12px; font-size: clamp(18px, 2.6vw, 22px); }
.preview-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.preview-item { margin: 0; }
.preview-item p { font-size: 15px; margin: 10px 0 0; }
.preview-item .card-head { align-items: flex-start; }
.preview-hd { margin-top: 16px; border-style: dashed; }
@media (max-width: 560px) {
  .preview-grid { grid-template-columns: 1fr; }
}

/* Уголок вошедшего: вместо «Войти» — он сам и дорога в карту */
.session-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none;
  color: var(--text); font-size: 14.5px; line-height: 1;
  border: 1px solid rgba(212,175,122,.4);
  background: linear-gradient(180deg, rgba(212,175,122,.14), rgba(212,175,122,.04));
  transition: border-color .15s, filter .15s;
}
.session-badge:hover { border-color: var(--gold); filter: brightness(1.08); }
.session-mark {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-size: 12px; font-weight: 700; color: #1a1405;
  background: radial-gradient(circle at 34% 30%, #F6DCA6, var(--gold) 72%);
}
.session-name { font-weight: 550; }
.session-plan {
  font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold-2, #F3D08C); padding-left: 9px;
  border-left: 1px solid rgba(212,175,122,.35);
}
@media (max-width: 560px) {
  .session-badge { padding: 6px; gap: 0; }
  .session-name, .session-plan { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scene { opacity: .6; }
  .hero-name, .hero-scroll::after { animation: none; }
  .btn, .card-x, .ask, .layer, .steps li, .author, .plan { transition: none !important; }
}

/* ---------- Секции ---------- */

.lp-section { padding: clamp(56px, 9vw, 112px) clamp(16px, 4vw, 40px); position: relative; }
.lp-section.alt { background: linear-gradient(180deg, rgba(255,255,255,.028), transparent 70%); }
.lp-section.alt::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,122,.35), transparent);
}
.lp-inner { max-width: 1080px; margin: 0 auto; }
.lp-inner.narrow { max-width: 780px; }
.lp-inner.center { text-align: center; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); opacity: .7; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }
.lp-section h2 {
  font-size: clamp(28px, 4.2vw, 42px); font-weight: 600; letter-spacing: -.02em; line-height: 1.12;
  margin-bottom: 14px; text-wrap: balance;
}
.lp-sub { color: #B4B9CC; max-width: 46em; margin-bottom: 30px; font-size: 17.5px; line-height: 1.6; text-wrap: pretty; }
.lp-section h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }

/* общая карточка секций */
.card-x {
  background: linear-gradient(180deg, rgba(24,27,52,.82), rgba(13,16,34,.86));
  border: 1px solid rgba(160,172,220,.16); border-radius: var(--lp-radius);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card-x:hover {
  transform: translateY(-3px); border-color: rgba(212,175,122,.42);
  box-shadow: 0 24px 50px -32px rgba(0,0,0,.9), inset 0 0 0 1px rgba(212,175,122,.08);
}

/* С чем приходят */
.asks { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ask { position: relative; padding: 24px 24px 12px 74px; }
.ask-n {
  position: absolute; left: 22px; top: 24px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-2); font-weight: 600; font-size: 15px;
  border: 1px solid rgba(212,175,122,.55); background: rgba(212,175,122,.08);
}
.ask h3 { margin-bottom: 8px; }
.ask p { color: #B4B9CC; font-size: 16px; line-height: 1.6; }
.ask-do { border-top: 1px dashed rgba(160,172,220,.22); padding-top: 12px; color: var(--text-soft) !important; }
.ask-do b { color: var(--gold-2); font-weight: 600; }
.asks-note { margin: 30px auto 0; padding: 18px 22px; border-left: 2px solid var(--gold); color: var(--text-soft); font-size: 16.5px; max-width: 60em; background: rgba(212,175,122,.05); border-radius: 0 14px 14px 0; }

/* Слои */
.layers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.layer { position: relative; padding: 26px 22px 12px; overflow: hidden; }
.layer::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: var(--accent, var(--gold)); opacity: .9; border-radius: 0 0 2px 2px; }
.layer::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 40% at 50% 0%, color-mix(in srgb, var(--accent, var(--gold)) 16%, transparent), transparent 70%); }
.layer[data-accent="soul"] { --accent: #D4AF7A; }
.layer[data-accent="character"] { --accent: #3B5BDB; }
.layer[data-accent="person"] { --accent: #22B8CF; }
.layer[data-accent="practice"] { --accent: #8B5CF6; }
.layer-tag { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 600; }
.layer h3 { margin-bottom: 8px; }
.layer p { color: #B4B9CC; font-size: 15.5px; line-height: 1.6; }

/* Шаги */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 24px 22px 10px 74px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 22px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: var(--gold-2); font-weight: 600; font-size: 14px; letter-spacing: .04em;
  border: 1px solid rgba(212,175,122,.55); background: rgba(212,175,122,.08);
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: #B4B9CC; font-size: 15.5px; line-height: 1.6; }

/* Что получишь */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.features li { padding: 4px 0 4px 40px; position: relative; color: #B4B9CC; font-size: 16px; line-height: 1.6; }
.features li::before {
  content: "✦"; position: absolute; left: 0; top: 4px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-2); font-size: 12px;
  border: 1px solid rgba(212,175,122,.45); background: rgba(212,175,122,.08);
}
.features b { display: block; color: var(--text); font-weight: 600; font-size: 17px; margin-bottom: 2px; }

/* ---------- Авторы ---------- */

.authors { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.author { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; padding: 24px; }
/* Портреты 2:3 целиком, без кадрирования: авторы прислали именно такие */
.author-photo img, .author-initials {
  width: 200px; aspect-ratio: 2 / 3; height: auto; border-radius: 16px; object-fit: cover; display: block;
  border: 1px solid rgba(212,175,122,.5); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 40px rgba(90,110,220,.18);
  transition: transform .3s ease;
}
.author:hover .author-photo img { transform: scale(1.02); }
.author-initials { display: grid; place-items: center; background: linear-gradient(135deg, #1a1f45, #0d1024); color: var(--gold); font-weight: 500; font-size: 32px; letter-spacing: .06em; }
.author h3 { margin-bottom: 4px; font-size: 21px; }
.author-role { color: var(--gold-2); font-size: 14px; margin-bottom: 14px; letter-spacing: .01em; }
.author-body p { color: #B4B9CC; font-size: 15.5px; line-height: 1.62; }
@media (max-width: 560px) {
  .author { grid-template-columns: 1fr; }
  .author-photo { display: flex; justify-content: center; }
  .author-photo img, .author-initials { width: min(260px, 70vw); }
}

/* ---------- Тарифы ---------- */

.lp-plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 8px; }
.lp-plans .plan { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: var(--lp-radius); }
.lp-plans .plan h3 { font-size: 20px; margin-bottom: 2px; }
.lp-plans .card-sub { font-size: 14px; }
.lp-plans .price { font-size: 36px; font-weight: 600; letter-spacing: -.02em; margin: 14px 0 6px; line-height: 1; }
.lp-plans .price small { font-size: 14px; font-weight: 400; color: var(--text-dim); letter-spacing: 0; }
.lp-plans .price.word { font-size: 26px; font-weight: 500; padding: 5px 0; color: var(--gold-2); }
.lp-plans .plan ul { flex: 1; list-style: none; padding: 0; margin: 12px 0 18px; }
.lp-plans .plan li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; color: #B4B9CC; line-height: 1.5; }
.lp-plans .plan li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 13px; }
.lp-plans .plan.featured {
  border-color: rgba(212,175,122,.7);
  box-shadow: 0 0 70px -10px rgba(212,175,122,.18), inset 0 0 0 1px rgba(212,175,122,.2);
  background: linear-gradient(180deg, rgba(48,40,32,.55), rgba(13,16,34,.9));
}
.plan-badge {
  position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(180deg, #F0CC86, var(--gold)); color: #1a1405; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.lp-plans .btn { margin-top: auto; }

/* ---------- FAQ ---------- */

.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; line-height: 1.4; padding: 10px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #B4B9CC; margin: 12px 0 0; font-size: 16.5px; line-height: 1.65; max-width: 62em; }

/* ---------- CTA ---------- */

.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 48px); border-radius: 28px;
  background: linear-gradient(180deg, rgba(24,27,52,.85), rgba(13,16,34,.9)); border: 1px solid rgba(212,175,122,.3);
}
.cta-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 50% 110%, rgba(212,175,122,.22), transparent 70%); }
.cta-panel > * { position: relative; }
.cta-panel h2 { margin-bottom: 8px; }
.cta-panel .lp-sub { margin: 0 auto 26px; }

/* ---------- Подвал ---------- */

.lp-foot { padding: 36px clamp(16px, 4vw, 40px) 44px; border-top: 1px solid var(--line); }
.lp-foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-dim); font-size: 14.5px; margin-bottom: 14px; }
/* Ссылки подвала — цель для пальца, а не строка в 18px */
.lp-foot a { color: var(--text-soft); display: inline-block; padding: 9px 0; }
.lp-foot .hint { font-size: 13.5px; line-height: 1.6; max-width: 70em; }
