/* Главная для гостя. Один акцентный цвет (var(--accent) из style.css), системный шрифт. */
.landing { background: #fff; }
.lp-wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.lp-top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.lp-in { max-width: 920px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lp-brand { font-weight: 600; color: var(--text); text-decoration: none; }
.lp-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-link { color: var(--muted); text-decoration: none; }
.lp-link:hover { color: var(--text); }
.btn { display: inline-block; padding: 8px 16px; border-radius: 6px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; text-decoration: none; font: inherit; cursor: pointer; }
.btn.ghost { background: #fff; color: var(--accent); }
.btn.small { padding: 4px 12px; font-size: 14px; }
.btn.big { padding: 12px 22px; font-size: 16px; }
.lp-hero { padding: 56px 0 40px; background: var(--bg); border-bottom: 1px solid var(--line); }
.lp-hero h1 { font-size: 34px; line-height: 1.2; margin: 0 0 16px; max-width: 720px; }
.lead { font-size: 18px; max-width: 720px; margin: 0 0 24px; color: #374151; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.lp-sec { padding: 44px 0; } .lp-sec.alt { background: var(--bg); border-block: 1px solid var(--line); }
.lp-sec h2 { font-size: 26px; margin: 0 0 20px; }
.lead2 { margin: -8px 0 20px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #fff; }
.steps h3 { margin: 8px 0 4px; font-size: 17px; } .steps p { margin: 0; color: #4b5563; }
.n { display: inline-block; width: 28px; height: 28px; line-height: 28px; text-align: center;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; }
.benefits, .usp { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.benefits li, .usp li { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #fff; }
.benefits h3, .usp h3 { margin: 0 0 6px; font-size: 17px; }
.benefits p, .usp p { margin: 0; color: #4b5563; }
.usp li { border-left: 4px solid var(--accent); }
.facts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.facts dt { font-size: 30px; font-weight: 700; color: var(--accent); }
.facts dd { margin: 4px 0 0; color: #4b5563; }
.lp-foot { padding: 24px 0; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
/* окно входа: без JS открывается по :target */
.modal { display: none; position: fixed; inset: 0; z-index: 20; align-items: center; justify-content: center; padding: 16px; }
.modal:target, .modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17,24,39,.45); }
.modal-card { position: relative; width: 100%; max-width: 400px; max-height: 100%; overflow: auto;
  background: #fff; border-radius: 10px; padding: 24px 20px; }
.modal-close { position: absolute; top: 8px; right: 12px; font-size: 26px; line-height: 1; color: var(--muted); text-decoration: none; }
.modal-title { margin: 0 0 12px; font-size: 22px; }
button.wide { width: 100%; padding: 10px; }
@media (max-width: 600px) { .lp-hero { padding: 36px 0 28px; } .lp-hero h1 { font-size: 26px; }
  .lead { font-size: 16px; } .lp-link { display: none; } }
