/* Лендинг: визуально как мастер (miniapp-shell + index-wizard), узкая колонка, разовый доступ по дням. */

html {
  overflow-x: clip;
}

/* Как в index-wizard.css: отступы мастера */
body.miniapp-wizard.landing-page {
  max-width: 100%;
  padding-top: max(8px, env(safe-area-inset-top, 0px)) !important;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
  padding-left: max(12px, env(safe-area-inset-left, 0px)) !important;
  padding-right: max(12px, env(safe-area-inset-right, 0px)) !important;
  overflow-x: clip;
  box-sizing: border-box;
}

.landing-page .shell.landing-shell {
  max-width: min(480px, 100%);
  width: 100%;
  margin: 0 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .landing-page .shell.landing-shell {
    max-width: min(520px, 100%);
  }
}

/* Как #screen-main > .app-head в index-wizard.css (мастер) */
.landing-app-head {
  flex-shrink: 0;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 6px 4px 2px;
  flex-wrap: wrap;
}

/* иконка как в body.miniapp-wizard .app-head-ico, но вместо эмодзи — белое сердце */
body.miniapp-wizard.landing-page .app-head-ico {
  color: #fff;
  font-size: 0; /* снять базовую высоту строки под эмодзи */
  line-height: 0;
}

body.miniapp-wizard.landing-page .app-head-ico .app-head-ico-heart {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.landing-greet {
  text-align: center;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero-wizard {
  position: relative;
  margin: 0 0 1.1rem;
  padding: 1.35rem 1.1rem 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(168deg, rgba(139, 124, 255, 0.11) 0%, transparent 42%),
    linear-gradient(205deg, rgba(22, 22, 30, 0.98) 0%, rgba(11, 11, 15, 0.94) 45%, rgba(18, 18, 26, 0.97) 100%);
  box-shadow:
    0 0 0 1px rgba(139, 124, 255, 0.07) inset,
    0 20px 48px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  min-width: 0;
  box-sizing: border-box;
}

.landing-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--accent);
  opacity: 0.95;
}

.landing-hero-title {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
  color: var(--text);
}

.landing-hero-lead {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  text-wrap: pretty;
}

.landing-hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

a.btn.btn-primary {
  text-decoration: none;
  color: #fff !important;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

a.btn.btn-primary.landing-btn-main {
  min-height: 50px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-cta-bottom {
  width: 100%;
  min-width: 0;
  margin: 0 0 1.25rem;
  box-sizing: border-box;
}

.landing-cta-bottom .btn {
  width: 100%;
  box-sizing: border-box;
}

.hint-under.landing-hint {
  margin-top: 10px;
}

.landing-h2 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text);
}

.landing-block {
  margin: 0 0 0.9rem;
  min-width: 0;
  box-sizing: border-box;
}

.landing-bullets {
  list-style: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
}

.landing-bullets li {
  position: relative;
  padding-left: 1.05rem;
  margin: 0 0 0.4rem;
}

.landing-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.landing-bullets li:last-child {
  margin-bottom: 0;
}

.landing-card-premium {
  margin-bottom: 0.9rem;
}

.landing-card-premium .card-lead {
  margin-bottom: 0;
}

.landing-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.landing-step {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.landing-step-bad {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, #9b8fff, var(--accent) 50%, #6b5bdc);
  box-shadow: 0 3px 12px rgba(107, 91, 220, 0.3);
  margin-top: 0.05rem;
}

.landing-footer {
  text-align: center;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  min-width: 0;
  box-sizing: border-box;
}

.landing-foot-line {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  color: var(--text);
  font-weight: 600;
}

.landing-foot-name {
  color: var(--text);
}

.landing-foot-legal {
  margin: 0.2rem 0 0;
}

.landing-foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 0.35rem;
  margin: 0;
  font-size: 0.82rem;
  min-width: 0;
  max-width: 100%;
}

.landing-foot-sep {
  color: var(--muted);
  font-weight: 400;
  user-select: none;
  opacity: 0.7;
}

.landing-page a.faq-link {
  display: inline;
  white-space: normal;
  margin-top: 0;
  line-height: 1.5;
  word-break: break-word;
}

/* Не снимаем глобальный градиент body::before у shell */
@media (min-width: 800px) {
  .landing-page .shell {
    max-width: min(520px, 92vw);
  }
}

@media (prefers-reduced-motion: reduce) {

  .btn.btn-primary:active,
  a.btn.btn-primary:active {
    transform: none;
  }
}