/* Лендинг для гостей сайта. Токены — из app.css, классы — с префиксом ld-. */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-size: 16px; line-height: 1.55; overflow-x: hidden; }
.skip { top: -80px; }
:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
h1, h2, h3 { text-wrap: balance; }
.ld-sub, .ld-lead, .ld-card p, .ld-step p { text-wrap: pretty; }

.ld-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- шапка ---------- */
.ld-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.ld-header-in { height: 64px; display: flex; align-items: center; gap: 24px; }
.ld-nav { display: flex; gap: 4px; margin-left: 16px; }
.ld-nav a { color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: var(--radius); }
.ld-nav a:hover { color: var(--text); background: var(--soft); text-decoration: none; }
.ld-header-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ld-header .btn { height: 38px; font-size: 15px; }
.ld-signin { color: var(--text); }

/* ---------- общие элементы ---------- */
.ld-eyebrow { color: var(--accent-text); font-size: 14px; font-weight: 600; letter-spacing: .2px; margin-bottom: 12px; }
.ld-main h2, .ld-section h2, .ld-final h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.18; letter-spacing: -.6px; font-weight: 700; }
.ld-sub { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 14px; max-width: 640px; }
.ld-head { max-width: 720px; margin-bottom: 48px; }
.ld-center { text-align: center; margin-top: 48px; }
.ld-btn-xl { height: 50px; padding: 0 26px; font-size: 16px; border-radius: 10px; }
.ld-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.ld-section { padding: 104px 0; }
.ld-section-soft { background: var(--side); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* скриншот в «окне» */
.ld-shot { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -8px rgba(16, 24, 40, .14), 0 32px 64px -24px rgba(16, 24, 40, .18); }
.ld-shot picture { display: block; }
.ld-shot img { display: block; width: 100%; height: auto; }

/* ---------- первый экран ---------- */
.ld-hero { padding: 80px 0 0; position: relative; isolation: isolate;
  background: radial-gradient(1100px 520px at 50% -120px, var(--accent-soft), rgba(228, 233, 247, 0) 70%); }
.ld-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: var(--side); z-index: -1;
  border-top: 1px solid var(--line-soft); }
.ld-hero-text { max-width: 820px; margin: 0 auto; text-align: center; }
.ld-hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.07; letter-spacing: -1.4px; font-weight: 750; }
.ld-lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; margin: 22px auto 0; max-width: 680px; }
.ld-hero .ld-cta { justify-content: center; }
.ld-cta-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.ld-ya-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.ld-ya { width: 20px; height: 20px; border-radius: 50%; background: #FC3F1D; color: #fff; font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; line-height: 1; }
.ld-hero-shot { margin: 56px auto 0; max-width: 1120px; padding-bottom: 72px; }

/* ---------- возможности ---------- */
.ld-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ld-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; transition: border-color .15s, box-shadow .15s; }
.ld-card:hover { border-color: #CDD3DD; box-shadow: 0 8px 24px -12px rgba(16, 24, 40, .18); }
.ld-card-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 18px; }
.ld-card h3 { font-size: 18px; letter-spacing: -.2px; margin: 0 0 8px; }
.ld-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.ld-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.ld-split-feature { margin-top: 104px; }
.ld-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.ld-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ld-tick { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }

/* ---------- как начать ---------- */
.ld-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.ld-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; position: relative; }
.ld-step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ld-step h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -.2px; }
.ld-step p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- доступ ---------- */
.ld-roles { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ld-roles > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ld-roles dt { font-weight: 600; font-size: 16px; }
.ld-roles dd { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- скорость ---------- */
.ld-speed { display: grid; gap: 40px; }
.ld-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ld-facts li { border-top: 2px solid var(--accent); padding-top: 16px; }
.ld-facts h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -.2px; }
.ld-facts p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- финальный призыв ---------- */
.ld-final { padding: 104px 0; }
.ld-final-box { background: var(--accent); color: #fff; border-radius: 20px; padding: 64px 32px; text-align: center; position: relative; overflow: hidden;
  background-image: radial-gradient(600px 300px at 85% -20%, rgba(255, 255, 255, .16), transparent 70%),
    radial-gradient(500px 260px at 0% 120%, rgba(16, 24, 80, .28), transparent 70%); }
.ld-final h2 { color: #fff; }
.ld-final p { margin: 14px auto 0; font-size: 18px; color: #fff; opacity: .92; max-width: 560px; }
.ld-cta-center { justify-content: center; }
.ld-btn-white { background: #fff; border-color: #fff; color: var(--accent-text); font-weight: 600; }
.ld-btn-white:hover { background: #EEF1FB; border-color: #EEF1FB; }
.ld-btn-outline { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.ld-btn-outline:hover { background: rgba(255, 255, 255, .12); }
.ld-final-box :focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(16, 24, 80, .5); }

/* ---------- подвал ---------- */
.ld-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.ld-footer-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ld-footer p { color: var(--muted); font-size: 14px; }
.ld-footer-link { margin-left: auto; font-size: 14px; font-weight: 500; }

/* ---------- адаптивность ---------- */
@media (max-width: 1024px) {
  .ld-grid { grid-template-columns: repeat(2, 1fr); }
  .ld-split { grid-template-columns: 1fr; gap: 40px; }
  .ld-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .ld-nav { display: none; }
  .ld-section, .ld-final { padding: 72px 0; }
  .ld-split-feature { margin-top: 72px; }
  .ld-head { margin-bottom: 32px; }
  .ld-steps { grid-template-columns: 1fr; }
  .ld-hero { padding-top: 56px; }
  .ld-hero-shot { margin-top: 40px; padding-bottom: 48px; }
}
@media (max-width: 600px) {
  .ld-wrap { padding: 0 16px; }
  .ld-header-in { height: 56px; }
  .ld-header-cta { display: none; }
  .ld-signin { border-color: var(--control); }
  .ld-grid, .ld-facts { grid-template-columns: 1fr; }
  .ld-facts { gap: 24px; }
  .ld-card, .ld-step { padding: 22px; }
  .ld-hero h1 { letter-spacing: -.8px; }
  .ld-cta { flex-direction: column; align-items: stretch; }
  .ld-cta .btn { width: 100%; }
  .ld-shot { border-radius: 10px; }
  .ld-final-box { padding: 44px 20px; border-radius: 16px; }
  .ld-footer-link { margin-left: 0; }
}
