/* index.css — landing page only. Site-wide styles live in css/all/memberpilot-style.css */

/* ── Hero ── */
.hero { text-align: center; padding: 88px 64px 72px; }
.hero h1 { max-width: 720px; margin: 0 auto 18px; }
.hero .lead { max-width: 560px; margin: 0 auto 30px; font-size: 1.12rem; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; margin-bottom: 14px; }
.trust-line { font-size: 0.85rem; color: var(--muted); }
.trust-line strong { color: var(--body); }

/* ── How it works: 4 steps + walkthrough video ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.step { text-align: left; }
.step .n {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blurple-tint); color: var(--blurple);
  font-weight: 800; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 4px; font-size: 1rem; }
.step p { font-size: 0.88rem; color: var(--muted); }

/* ── Story duo: VSL + founder blurb ── */
.story-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.story-grid blockquote { font-size: 1.05rem; color: var(--body); }
.story-grid .sig { margin-top: 14px; font-weight: 700; color: var(--ink); }
.story-grid .sig span { color: var(--muted); font-weight: 500; font-size: 0.85rem; display: block; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature .chip {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blurple-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 14px;
}
.feature h3 { margin-bottom: 6px; font-size: 1rem; }
.feature p { font-size: 0.9rem; }

/* ── Compare (2 columns, no names) ── */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 15px 18px; font-size: 0.93rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--ink); font-weight: 600; }
.compare-table th { font-weight: 800; color: var(--ink); }
.compare-table th.us { background: var(--blurple-tint); color: var(--blurple); border-radius: 10px 10px 0 0; }
.compare-table td.us { background: var(--blurple-tint); font-weight: 700; color: var(--ink); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:last-child td.us { border-radius: 0 0 10px 10px; }
.compare-table .good { color: var(--green); }
.compare-table .bad { color: var(--muted); }

/* ── Under the hood (trust) ── */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.trust-list { list-style: none; }
.trust-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.trust-list li:last-child { border-bottom: none; }
.trust-list.can li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.trust-list.cant li::before { content: "✕ "; color: var(--red); font-weight: 800; }
.trust-note { font-size: 0.9rem; color: var(--muted); }

/* ── Pricing (symmetry law: same skeleton, buttons pinned to same line) ── */
.toggle-row { display: flex; justify-content: center; margin-bottom: 6px; }
.toggle-row button {
  padding: 10px 22px; font-size: 0.92rem; font-weight: 700;
  background: #fff; color: var(--body);
  border: 1px solid var(--line); cursor: pointer;
}
.toggle-row button:first-child { border-radius: 10px 0 0 10px; }
.toggle-row button:last-child { border-radius: 0 10px 10px 0; }
.toggle-row button.active { background: var(--blurple); color: #fff; border-color: var(--blurple); }
.save-note { text-align: center; font-size: 0.83rem; color: var(--green); font-weight: 700; margin-bottom: 30px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.plan.popular { border: 2px solid var(--blurple); position: relative; }
.plan .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blurple); color: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 4px 14px; border-radius: 99px;
}
.plan h3 { font-size: 1.2rem; }
.plan .price { font-size: 2.3rem; font-weight: 800; color: var(--ink); margin: 12px 0 0; }
.plan .price small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.plan .billed { font-size: 0.78rem; color: var(--muted); }
.plan .cap-line { font-size: 0.9rem; color: var(--blurple); font-weight: 700; margin: 12px 0 16px; }
.plan ul { list-style: none; flex: 1; margin-bottom: 24px; }
.plan li { padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
.plan li:last-child { border-bottom: none; }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.plan .btn { width: 100%; text-align: center; }
.pricing-foot { text-align: center; margin-top: 26px; font-size: 0.93rem; }
.pricing-foot strong { color: var(--ink); }

/* ── FAQ ── */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 700; font-size: 0.98rem; }
.faq details p { margin-top: 10px; font-size: 0.92rem; }

/* ── Final CTA ── */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 560px; margin: 0 auto 12px; }
.final-cta p { max-width: 460px; margin: 0 auto 26px; }

/* ── Mobile: stack everything, keep it glideable ── */
@media (max-width: 900px) {
  .hero { padding: 56px 24px 48px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .steps { grid-template-columns: 1fr 1fr; }
  .story-grid, .trust-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: 12px 10px; font-size: 0.85rem; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
