/**
* Стили публичной маркетинговой страницы (см. app/templates/landing.twig,
* LandingController). Использует токены/сброс из app.css (:root, body, шрифт)
* — здесь только разметка самой страницы. Все классы с префиксом lp- —
* локальны для лендинга, не пересекаются с классами SPA (app.css).
*/

body.lp-body { overflow-x: hidden; }

.lp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.lp-sans { font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.lp-mono {
  font-family: ui-monospace, "Cascadia Code", "Consolas", "SFMono-Regular", Menlo, monospace;
  letter-spacing: .04em;
}

.lp-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: 1080px; margin: 0 auto;
}
.lp-brand { display: flex; align-items: center; gap: 10px; }
.lp-brand-mark {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.lp-brand-name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.lp-topbar nav { display: flex; align-items: center; gap: 26px; }
.lp-topbar nav a { text-decoration: none; color: var(--fg-muted); font-size: 14.5px; }
.lp-topbar nav a:hover { color: var(--fg); }
.lp-topbar .lp-btn { padding: 8px 18px; font-size: 13.5px; }
@media (max-width: 680px) { .lp-topbar nav a.lp-nav-link { display: none; } }

.lp-hero { padding: 48px 0 36px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .lp-hero-grid { grid-template-columns: 1fr; } }

.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--accent); margin-bottom: 16px; font-weight: 700;
}
.lp-eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--accent); }

h1.lp-headline {
  font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin: 0;
  font-family: "Inter", -apple-system, sans-serif; font-weight: 700; text-wrap: balance;
}
h1.lp-headline em {
  font-style: normal; color: var(--accent);
  background: linear-gradient(transparent 62%, var(--accent-tint) 0);
}

.lp-lede {
  margin-top: 20px; font-size: 17.5px; color: var(--fg-muted); max-width: 48ch; font-weight: 400;
}
.lp-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary { background: var(--accent); color: #fff; }
.lp-btn-ghost { background: none; border-color: var(--border); color: var(--fg); }

.lp-meta { margin-top: 26px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: var(--fg-muted); }
.lp-meta span b { color: var(--fg); font-weight: 600; }

/* ---- коллаж карточек-иллюстраций в hero ---- */
.lp-collage { position: relative; height: 380px; }
.lp-card {
  position: absolute; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.35);
}
.lp-card-board { width: 240px; padding: 14px; top: 4px; left: 6px; transform: rotate(-3deg); z-index: 3; }
.lp-card-board .lp-col-h { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-muted); margin-bottom: 8px; }
.lp-chip {
  background: var(--bg); border: 1px solid var(--border); border-radius: 7px; padding: 8px 10px;
  font-size: 12px; margin-bottom: 7px; display: flex; align-items: center; gap: 7px;
}
.lp-chip i { width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; }
.lp-chip.lp-done { opacity: .55; text-decoration: line-through; }

.lp-card-cloud { width: 220px; padding: 16px; top: 150px; right: 0; transform: rotate(3deg); z-index: 2; }
.lp-file-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 9px; align-items: center; padding: 6px 0; font-size: 12px; }
.lp-file-row + .lp-file-row { border-top: 1px solid var(--border); }
.lp-ficon {
  width: 22px; height: 22px; border-radius: 5px; background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700;
}
.lp-size { color: var(--fg-muted); font-size: 10.5px; }

.lp-card-ai { width: 220px; padding: 16px; bottom: 0; left: 80px; transform: rotate(-2deg); z-index: 1; }
.lp-msg { display: flex; gap: 8px; margin-bottom: 10px; }
.lp-msg:last-child { margin-bottom: 0; }
.lp-av { width: 20px; height: 20px; border-radius: 50%; background: var(--accent-tint); flex: none; }
.lp-bubble { background: var(--bg); border-radius: 8px; padding: 6px 9px; font-size: 11.5px; color: var(--fg-muted); line-height: 1.4; }

@media (max-width: 860px) { .lp-collage { height: 320px; margin-top: 8px; } }
@media (max-width: 520px) {
  .lp-card-board { width: 185px; } .lp-card-cloud { width: 175px; right: -6px; } .lp-card-ai { width: 165px; left: 26px; }
}

/* ---- секции ---- */
.lp-section { padding: 72px 0; border-top: 1px solid var(--border); }
.lp-section-head { max-width: 58ch; margin-bottom: 42px; }
.lp-section-head h2 { font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -.01em; margin: 0; font-weight: 700; text-wrap: balance; }
.lp-section-head p { margin-top: 12px; color: var(--fg-muted); font-size: 16px; }

.lp-spread { display: grid; grid-template-columns: .85fr 1fr; gap: 48px; align-items: center; }
.lp-spread.lp-rev { grid-template-columns: 1fr .85fr; }
.lp-spread.lp-rev .lp-spread-visual { order: 2; }
.lp-spread + .lp-spread { margin-top: 60px; }
@media (max-width: 780px) {
  .lp-spread, .lp-spread.lp-rev { grid-template-columns: 1fr; }
  .lp-spread.lp-rev .lp-spread-visual { order: 0; }
}
.lp-spread-num { font-size: 12.5px; color: var(--accent); margin-bottom: 8px; display: block; font-weight: 700; }
.lp-spread h3 { font-size: 22px; margin: 0 0 10px; font-weight: 700; }
.lp-spread p { color: var(--fg-muted); font-size: 15px; max-width: 44ch; margin: 0; }
.lp-spread-visual {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px; box-shadow: 0 14px 30px -20px rgba(0,0,0,.3); min-height: 190px;
}

.lp-mini-list .lp-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px;
}
.lp-mini-list .lp-row:last-child { border-bottom: none; }
.lp-mini-list .lp-when { margin-left: auto; color: var(--fg-muted); font-size: 11px; }

.lp-kanban { display: flex; gap: 12px; }
.lp-kanban .lp-col { flex: 1; }
.lp-kanban .lp-col-h { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--fg-muted); margin-bottom: 8px; }
.lp-kanban .lp-card2 { background: var(--bg); border: 1px solid var(--border); border-radius: 7px; padding: 8px 9px; font-size: 12px; margin-bottom: 8px; }
.lp-kanban .lp-card2 b { display: block; margin-bottom: 4px; }
.lp-kanban .lp-swatch { width: 20px; height: 4px; border-radius: 2px; margin-bottom: 5px; display: block; }

.lp-ai-mini .lp-composer {
  margin-top: 14px; display: flex; align-items: center; gap: 8px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; color: var(--fg-muted);
}

.lp-feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
@media (max-width: 780px) { .lp-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .lp-feature-grid { grid-template-columns: 1fr; } }
.lp-feature-cell { background: var(--bg-alt); padding: 24px 22px; }
.lp-feature-cell .lp-icon {
  width: 30px; height: 30px; border-radius: 8px; background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 14px;
}
.lp-feature-cell h4 { font-size: 15px; margin: 0 0 6px; font-weight: 600; }
.lp-feature-cell p { font-size: 13.5px; color: var(--fg-muted); margin: 0; }

.lp-cta-card {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 18px;
  padding: 50px 44px; text-align: center;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 26px 26px; background-position: center;
}
.lp-cta-card h2 { font-size: clamp(22px, 3vw, 30px); max-width: 28ch; margin: 0 auto; font-weight: 700; text-wrap: balance; }
.lp-cta-card p { color: var(--fg-muted); margin: 14px auto 0; max-width: 46ch; font-size: 15px; }
.lp-cta-card .lp-ctas { justify-content: center; margin-top: 26px; }

.lp-footer {
  padding: 30px 0 44px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--fg-muted); flex-wrap: wrap; gap: 12px;
}

@media (prefers-reduced-motion: reduce) { .lp-btn { transition: none; } }
