/* Стили главной страницы (вынесены из <style> в head 2026-07-10). Подключают index.html и help.html.
   При правке поднимать ?v=N в ОБОИХ файлах. */

/* Десктоп-навбар: кнопка «Войти» с иконкой входа (на месте FAQ). Показываем только гостю. */
.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    border: 1.5px solid var(--dusty-lavender);
    border-radius: 50px;
    color: var(--deep-plum) !important;
    font-weight: 600;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-login:hover {
    background: var(--light-lavender);
    border-color: var(--deep-plum);
}
.nav-login-icon { flex-shrink: 0; }
/* Авторизованному пользователю «Войти» в навбаре не нужен */
nav.nav--authed .nav-login-item { display: none; }
/* Мобильное меню: гостю — навигация (Как это работает/Методы/Отзывы/FAQ),
   авторизованному вместо неё — личный кабинет (Профиль/ИИ баланс/Моя анкета). */
.mobile-nav-account-links { display: none; }
.mobile-menu--authed .mobile-nav-guest-links { display: none; }
.mobile-menu--authed .mobile-nav-account-links { display: flex; }
/* Меню не «примагничено»: остаётся вверху страницы и уезжает при скролле
   (переопределяет position:fixed из общего index.css — только на главной). */
nav { position: absolute; }
/* CTA под шагами «Как проходит беседа» */
.how-cta { text-align: center; margin-top: 3rem; }

/* ---- English landing blocks (package C2): how it works, what Vera is not, presets, closed payments ---- */
.how-it-works, .what-vera-is { padding: 4.5rem 5% 2.5rem; max-width: 1180px; margin: 0 auto; }
.how-it-works .section-header, .what-vera-is .section-header { text-align: center; margin-bottom: 2rem; }
.landing-steps { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.landing-step { position: relative; background: #fff; border-radius: 20px; padding: 1.6rem 1.5rem 1.5rem; box-shadow: 0 10px 30px rgba(61,46,61,0.08); }
.landing-step h3 { font-size: 1.2rem; margin: 0.4rem 0 0.5rem; }
.landing-step p { font-size: 1rem; }
.landing-step-n { display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--light-lavender); color: var(--deep-plum); font-weight: 700; }
.landing-two-col { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.landing-card { background: #fff; border-radius: 20px; padding: 1.6rem 1.5rem; box-shadow: 0 10px 30px rgba(61,46,61,0.08); }
.landing-card h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.landing-card ul { list-style: none; padding: 0; }
.landing-card li { position: relative; padding-left: 1.3rem; margin-bottom: 0.7rem; color: var(--text-secondary); line-height: 1.45; }
.landing-card li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--dusty-lavender); }
.landing-presets { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin: 1.5rem 0; }
.landing-presets .example-text strong { display: block; color: var(--deep-plum); }
.landing-presets .example-text span { display: block; font-size: 1.4rem; font-weight: 700; color: var(--deep-plum); }
.landing-payments-closed { margin-top: 0.5rem; font-weight: 600; color: var(--deep-plum); }
.landing-payments-closed[hidden] { display: none; }
.pricing-section .pricing-note a { color: var(--deep-plum); text-decoration: underline; }
.crisis-note p a { color: var(--deep-plum); text-decoration: underline; font-weight: 600; }
@media (min-width: 768px) {
    .landing-steps { grid-template-columns: repeat(3, 1fr); }
    .landing-two-col { grid-template-columns: 1fr 1fr; }
    .landing-presets { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Content pages (help, about, microphone help): one reading column under the landing navigation ---- */
.content-page { max-width: 760px; margin: 0 auto; padding: 8.5rem 5% 3rem; }
.content-page h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.content-page h2 { font-size: 1.45rem; margin: 2.2rem 0 0.7rem; }
.content-page h3 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
.content-page p, .content-page li { color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.8rem; }
.content-page ul, .content-page ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.content-page a { color: var(--deep-plum); text-decoration: underline; }
.content-page .lede { font-size: 1.1rem; }
.content-page .content-note { background: #fff; border-radius: 16px; padding: 1rem 1.2rem; box-shadow: 0 6px 20px rgba(61,46,61,0.07); }
.content-page .back { display: inline-block; margin-bottom: 1.2rem; font-weight: 600; }
.content-footer { max-width: 760px; margin: 0 auto; padding: 1.5rem 5% 3rem; font-size: 0.92rem; color: var(--text-secondary); border-top: 1px solid var(--light-lavender); }
.content-footer a { color: var(--deep-plum); }
