/* Landing page. Layer 17 — loaded by landing.html only, after 00-tokens.css.
 *
 * The dashboard's layers 01–16 are not loaded here: none of them apply to a
 * marketing page, and pulling in a 16-layer cascade to style eight sections
 * would mean every future dashboard change could move this page. Tokens are
 * shared, styles are not. That is the whole point of having a token layer.
 *
 * Same rules as everywhere else: no emoji, Lucide icons only; green and black;
 * every value from a token. */

body {
  margin: 0;
  background: var(--fp-bg);
  color: var(--fp-text-body);
  font-family: var(--fp-font);
  line-height: var(--fp-lh-body);
  -webkit-font-smoothing: antialiased;
}

.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--fp-4); }

/* ── Top bar ─────────────────────────────────────────────────────────── */
.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fp-4);
  padding: var(--fp-4) 0;
}
.lp-nav-links { display: flex; align-items: center; gap: var(--fp-4); }
.lp-nav-links a {
  color: var(--fp-text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: var(--fp-transition);
}
.lp-nav-links a:hover { color: var(--fp-text); }
.lp-nav-actions { display: flex; align-items: center; gap: var(--fp-2); }

@media (max-width: 860px) {
  .lp-nav-links { display: none; }   /* the same links live in the footer */
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.lp-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--fp-7);
  align-items: center;
  padding: var(--fp-7) 0 var(--fp-8);
}
@media (max-width: 940px) {
  .lp-hero { grid-template-columns: 1fr; gap: var(--fp-5); padding: var(--fp-5) 0 var(--fp-6); }
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--fp-2);
  padding: 6px 14px;
  border-radius: var(--fp-radius-pill);
  border: 1px solid var(--fp-brand-30);
  background: var(--fp-brand-08);
  color: var(--fp-brand);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--fp-4);
}
.lp-badge svg { width: 13px; height: 13px; }

.lp-hero h1 {
  margin: 0 0 var(--fp-3) 0;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.05;
  letter-spacing: var(--fp-track-tight);
  color: var(--fp-text);
  font-weight: 800;
}
.lp-hero h1 em { font-style: normal; color: var(--fp-brand); }
.lp-hero-sub {
  margin: 0 0 var(--fp-5) 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fp-text-body);
  max-width: 46ch;
}
.lp-hero-actions { display: flex; gap: var(--fp-2); flex-wrap: wrap; margin-bottom: var(--fp-5); }
.lp-hero-actions .fp-btn { padding: 13px 26px; font-size: 14px; }

.lp-points { display: flex; gap: var(--fp-5); flex-wrap: wrap; }
.lp-point { display: flex; gap: var(--fp-2); align-items: flex-start; }
.lp-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: var(--fp-radius-sm);
  background: var(--fp-brand-08);
  border: 1px solid var(--fp-brand-30);
  color: var(--fp-brand);
}
.lp-point-icon svg { width: 15px; height: 15px; }
.lp-point-title { font-size: 13px; font-weight: 700; color: var(--fp-text); }
.lp-point-body { font-size: 12px; color: var(--fp-text-muted); }

/* The hero card. Real numbers, fetched on load — see js/18-landing.js. */
.lp-preview {
  background: linear-gradient(160deg, var(--fp-surface-raised), var(--fp-surface));
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius-lg);
  padding: var(--fp-4);
  box-shadow: var(--fp-shadow-lift);
}
.lp-preview-label {
  font-size: var(--fp-size-caption);
  letter-spacing: var(--fp-track-label);
  text-transform: uppercase;
  color: var(--fp-text-muted);
  font-weight: 700;
  margin-bottom: var(--fp-2);
}
.lp-preview-read {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fp-text-body);
  min-height: 84px;
}
.lp-preview hr { border: none; border-top: 1px solid var(--fp-border-soft); margin: var(--fp-4) 0; }
.lp-preview-gauge { display: flex; align-items: center; justify-content: center; }

/* ── Sections ────────────────────────────────────────────────────────── */
.lp-section { padding: var(--fp-7) 0; border-top: 1px solid var(--fp-border-soft); }
.lp-section h2 {
  margin: 0 0 var(--fp-5) 0;
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: var(--fp-track-tight);
  color: var(--fp-text);
  font-weight: 800;
}
.lp-section-sub {
  margin: -28px auto var(--fp-5);
  text-align: center;
  color: var(--fp-text-muted);
  font-size: 14px;
  max-width: 56ch;
}

.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--fp-4); }
.lp-step { text-align: center; padding: var(--fp-3); }
.lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: var(--fp-3);
  border-radius: 50%;
  border: 1px solid var(--fp-brand-30);
  background: var(--fp-brand-08);
  color: var(--fp-brand);
  font-weight: 800;
  font-size: 14px;
}
.lp-step h3 { margin: 0 0 var(--fp-1) 0; font-size: 15px; color: var(--fp-text); }
.lp-step p { margin: 0; font-size: 13px; color: var(--fp-text-muted); line-height: 1.6; }

/* Six features, so the grid is capped at THREE columns rather than left on
   auto-fit. At 1120px auto-fit packed five across and dropped the sixth onto a
   row of its own — an orphan card reads as an afterthought, and the sixth here
   is Community, which is not one. Three columns give 3 + 3. */
.lp-features { display: grid; grid-template-columns: 1fr; gap: var(--fp-3); }
@media (min-width: 560px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .lp-features { grid-template-columns: repeat(3, 1fr); } }
.lp-feature {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius-lg);
  padding: var(--fp-4);
}
.lp-feature-icon { color: var(--fp-brand); margin-bottom: var(--fp-2); }
.lp-feature-icon svg { width: 20px; height: 20px; }
.lp-feature h3 { margin: 0 0 var(--fp-1) 0; font-size: 14px; color: var(--fp-text); }
.lp-feature p { margin: 0; font-size: 13px; color: var(--fp-text-muted); line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--fp-3); }
.lp-plan {
  display: flex;
  flex-direction: column;
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius-lg);
  padding: var(--fp-4);
}
.lp-plan--featured { border-color: var(--fp-brand-30); }
.lp-plan-head { display: flex; align-items: center; justify-content: space-between; gap: var(--fp-2); margin-bottom: var(--fp-2); }
.lp-plan-name { font-size: 15px; font-weight: 800; color: var(--fp-brand); }
.lp-plan--free .lp-plan-name { color: var(--fp-text); }
.lp-plan-soon {
  font-size: 11px;
  font-weight: 700;
  color: var(--fp-text-faint);
  border: 1px solid var(--fp-border-strong);
  border-radius: var(--fp-radius-pill);
  padding: 3px 10px;
  white-space: nowrap;
}
.lp-plan-price { font-size: 30px; font-weight: 800; color: var(--fp-text); line-height: 1; }
.lp-plan-price span { font-size: 13px; font-weight: 500; color: var(--fp-text-muted); }
.lp-plan ul { list-style: none; margin: var(--fp-3) 0 var(--fp-4); padding: 0; flex: 1; }
.lp-plan li {
  display: flex;
  gap: var(--fp-2);
  align-items: flex-start;
  font-size: 13px;
  color: var(--fp-text-body);
  margin-bottom: 9px;
  line-height: 1.5;
}
.lp-plan li svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--fp-brand); }
.lp-pay-note { margin-top: var(--fp-4); text-align: center; font-size: 12px; color: var(--fp-text-muted); }

/* ── Reviews placeholder ─────────────────────────────────────────────── */
.lp-reviews {
  display: flex;
  gap: var(--fp-3);
  align-items: flex-start;
  background: var(--fp-surface-sunk);
  border: 1px solid var(--fp-border-soft);
  border-radius: var(--fp-radius-lg);
  padding: var(--fp-4);
}
.lp-reviews svg { width: 22px; height: 22px; color: var(--fp-text-faint); flex-shrink: 0; }
.lp-reviews h3 { margin: 0 0 var(--fp-1) 0; font-size: 14px; color: var(--fp-text); }
.lp-reviews p { margin: 0; font-size: 13px; color: var(--fp-text-muted); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.lp-footer { padding: var(--fp-5) 0 var(--fp-6); border-top: 1px solid var(--fp-border-soft); }
.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fp-3);
  justify-content: center;
  margin-bottom: var(--fp-3);
}
.lp-footer-links a { color: var(--fp-text-muted); text-decoration: none; font-size: 13px; }
.lp-footer-links a:hover { color: var(--fp-text); }
.lp-footer-note { text-align: center; font-size: 12px; color: var(--fp-text-faint); line-height: 1.6; }

/* The "why come back" section reuses .lp-step but marks each item with an icon
   instead of a number — those three are not a sequence, they are three things
   that are different tomorrow, and numbering them would imply an order that
   does not exist. Sizing the SVG is all that is needed; the circle, colour and
   spacing are already right. */
.lp-step-num svg { width: 16px; height: 16px; }
