/* ── Landing / sub-page styles — reuses the design system tokens from app.css ── */

.lp-main { background: var(--paper); }

/* Breadcrumb */
.lp-breadcrumb {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.lp-breadcrumb a { color: var(--muted); transition: color 0.2s ease; }
.lp-breadcrumb a:hover { color: var(--ink); }
.lp-breadcrumb span { opacity: 0.5; }

/* Hero */
.lp-hero {
  padding: 132px 0 64px;
  background: var(--paper);
}
@media (min-width: 768px) { .lp-hero { padding: 168px 0 88px; } }
.lp-eyebrow {
  display: inline-block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 22px 0 18px;
}
.lp-h1 {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 24px;
  max-width: 16ch;
  color: var(--ink);
}
.lp-h1 em { font-style: normal; color: var(--ink-soft, #5b6478); }
.lp-intro {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft, #5b6478);
  max-width: 58ch;
  margin: 0 0 32px;
}

/* Generic prose paragraph inside sections */
.lp-p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft, #5b6478);
  max-width: 64ch;
  margin: 0 0 18px;
}
.lp-p strong { color: var(--ink); font-weight: 600; }

/* Feature / benefit grid (reuses card look) */
.lp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}
@media (min-width: 640px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.lp-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  background: #fff;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11,20,40,0.07); }
.lp-card-n {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.14em; color: var(--muted);
}
.lp-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 12px 0 8px; color: var(--ink); }
.lp-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft, #5b6478); margin: 0; }

/* Numbered steps */
.lp-steps { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
.lp-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.lp-step:last-child { border-bottom: 1px solid var(--line); }
.lp-step-n { font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; color: var(--muted); padding-top: 3px; }
.lp-step h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.lp-step p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft, #5b6478); margin: 0; max-width: 60ch; }

/* FAQ accordion (native details/summary) */
.lp-faq { margin-top: 28px; border-top: 1px solid var(--line); }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: clamp(16px, 2vw, 19px); font-weight: 600; color: var(--ink);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .ic {
  flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform 0.3s ease;
}
.lp-faq summary .ic::before, .lp-faq summary .ic::after {
  content: ""; position: absolute; background: var(--ink); border-radius: 2px;
  transition: opacity 0.3s ease;
}
.lp-faq summary .ic::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.lp-faq summary .ic::after { left: 10px; top: 2px; bottom: 2px; width: 2px; }
.lp-faq details[open] summary .ic::after { opacity: 0; }
.lp-faq details[open] summary .ic { transform: rotate(180deg); }
.lp-faq-a { padding: 0 0 22px; }
.lp-faq-a p { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft, #5b6478); margin: 0; max-width: 70ch; }

/* CTA band */
.lp-cta {
  margin-top: 8px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 26px;
  padding: 48px 32px;
  text-align: center;
}
@media (min-width: 768px) { .lp-cta { padding: 64px 48px; } }
.lp-cta h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--paper); }
.lp-cta p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.72); max-width: 52ch; margin: 0 auto 28px; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-size: 16px; font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.lp-btn-primary { background: var(--paper); color: var(--ink); }
.lp-btn-primary:hover { transform: translateY(-2px); }
.lp-btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,0.28); }
.lp-btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* Inline link inside prose */
.lp-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: opacity 0.2s ease; }
.lp-link:hover { opacity: 0.6; }

/* Related links row */
.lp-related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--ink); transition: background 0.2s ease, transform 0.2s ease;
}
.lp-chip:hover { background: var(--paper-cool, #f5f6f8); transform: translateY(-2px); }

/* Reveal */
.lp-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.lp-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-reveal { opacity: 1; transform: none; transition: none; } }
