/* Landing page styles (public, auth-inert).
   Reuses the design tokens from app.css (navy/gold/cream palette,
   Cormorant Garamond headings, shared .header/.btn). Everything here
   is scoped under .lp or lp- prefixed classes so it never affects the
   request form or admin pages. Mobile-first: base rules target the
   phone, the min-width query enhances for wider screens. */

.lp { background: var(--cream); }

/* Skip link — off-screen until it receives keyboard focus. */
.lp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 100;
}
.lp-skip:focus { left: 0; }

.lp-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
}

/* ---- Hero ---- */
.lp-hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.lp-seal {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
}
.lp-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}
.lp-subhead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 auto 1rem;
  max-width: 40ch;
}
.lp-hero-body {
  font-size: 1.02rem;
  color: var(--ink);
  margin: 0 auto 1.5rem;
  max-width: 60ch;
}

/* ---- Call to action ---- */
.lp-cta {
  font-size: 1.1rem;
  padding: 0.9rem 1.6rem;
  min-height: 44px;
}
/* Visible keyboard focus ring on the primary action. */
.lp-cta:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.lp-cta-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1rem auto 0;
  max-width: 54ch;
}

/* ---- Generic section ---- */
.lp-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.lp-section h2 { margin-top: 0; }
.lp-section-lede { color: var(--muted); margin: 0 0 0.75rem; }

/* ---- Who-should-use cards ---- */
.lp-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.lp-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
}
.lp-card h3 { margin: 0 0 0.35rem; color: var(--navy); }
.lp-card p { margin: 0; }
.lp-note {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--muted);
  margin: 0;
}

/* ---- Before-you-begin checklist ---- */
.lp-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-checklist li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.75rem;
  border-bottom: 1px solid var(--border);
}
.lp-checklist li:last-child { border-bottom: none; }
.lp-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  background: var(--gold);
}

/* ---- How-it-works steps ---- */
.lp-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-steps li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.7rem 0;
}
.lp-step-num {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-steps strong { color: var(--navy); }

/* ---- FAQ accordions (native details/summary) ---- */
.lp-faq details {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.lp-faq summary {
  cursor: pointer;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold-dark);
}
.lp-faq details[open] summary::after { content: "-"; }
.lp-faq summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}
.lp-faq details > p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--ink);
}

/* Closing CTA block has no divider below it. */
.lp-cta-foot {
  text-align: center;
  border-bottom: none;
}

/* ---- Footer ---- */
.lp-footer {
  text-align: center;
  padding: 2rem 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.lp-footer p { margin: 0 0 0.5rem; }
.lp-footer-org { max-width: 62ch; margin-left: auto; margin-right: auto; }
.lp-footer-links a { color: var(--navy); font-weight: 600; }

/* ---- Wider screens ---- */
@media (min-width: 640px) {
  .lp-hero h1 { font-size: 2.8rem; }
  .lp-cards { grid-template-columns: 1fr 1fr; }
}
