/* ==========================================================================
   Landing page.

   A Decide/Learn surface — the one place in this product where a hero is the
   correct composition, because the visitor arrives knowing nothing and has to be
   convinced. Everything else in the app is Operate/Configure and deliberately
   avoids this shape.

   Every number here is pulled from the real system (bank counts from the split,
   prices from functions/api/_plans.js, PDF page count from the generated file).
   No invented statistics, no fake testimonials.
   ========================================================================== */

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

/* ---------- hero ---------- */

.lp-hero {
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
}

.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 8px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheen-1);
  font-size: 12.5px; color: var(--ink-3);
}
.lp-eyebrow b { color: var(--ink-2); font-weight: 510; }
.lp-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(16,185,129,.16);
}

.lp-h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 5.2vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.022em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
.lp-h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-hi), #a5b4fc);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-lede {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: clamp(14.5px, 1.7vw, 17px);
  line-height: 1.72;
  color: var(--ink-3);
  text-wrap: pretty;
}

.lp-cta-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  border-radius: 11px;
  font-size: 15px; font-weight: 550;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .15s, transform .12s, background .15s, border-color .15s;
}
.lp-btn:active { transform: translateY(1px); }
.lp-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    inset 0 1px 0 0 rgba(255,255,255,.2),
    0 10px 24px -10px rgba(94,106,210,.7);
}
.lp-btn-primary:hover { filter: brightness(1.09); }
.lp-btn-ghost {
  background: var(--sheen-1);
  border-color: var(--line);
  color: var(--ink-2);
}
.lp-btn-ghost:hover { background: var(--sheen-2); border-color: var(--line-hi, rgba(255,255,255,.16)); color: var(--ink); }

.lp-microcopy { font-size: 12.5px; color: var(--ink-4); }

/* ---------- proof strip: real numbers only ---------- */

.lp-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 40px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
}
.lp-proof-cell {
  padding: 18px 16px;
  background: var(--bg);
  text-align: center;
}
.lp-proof-n {
  display: block;
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lp-proof-l {
  display: block; margin-top: 4px;
  font-size: 12px; color: var(--ink-4);
  line-height: 1.5;
}

/* ---------- sections ---------- */

.lp-sec { padding: 64px 0 0; }
.lp-sec-head { max-width: 620px; margin-bottom: 28px; }
.lp-kicker {
  margin: 0 0 8px;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-hi);
}
.lp-h2 {
  margin: 0 0 10px;
  font-size: clamp(21px, 3vw, 29px);
  line-height: 1.25; letter-spacing: -0.017em; font-weight: 600;
  color: var(--ink);
}
.lp-sec-lede { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-3); }

/* ---------- how it works: a numbered sequence, not feature tiles ---------- */

.lp-steps { display: grid; gap: 1px; border: 1px solid var(--line);
            border-radius: 12px; overflow: hidden; background: var(--line); }
.lp-step {
  display: grid; grid-template-columns: 34px 1fr; gap: 14px;
  padding: 20px;
  background: var(--bg);
}
.lp-step-n {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--sheen-2);
  font-size: 12.5px; color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.lp-step-t { margin: 2px 0 5px; font-size: 15px; font-weight: 540; color: var(--ink); }
.lp-step-d { margin: 0; font-size: 13.5px; line-height: 1.68; color: var(--ink-3); }

/* ---------- what is inside: the bank, stated as a table not as cards ---------- */

.lp-bank {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.lp-bank table { width: 100%; border-collapse: collapse; }
.lp-bank th, .lp-bank td {
  padding: 13px 18px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line-soft);
}
.lp-bank th {
  font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-4); font-weight: 500;
  background: var(--sheen-1);
}
.lp-bank td { color: var(--ink-2); }
.lp-bank td.num, .lp-bank th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono, ui-monospace, monospace);
}
.lp-bank tbody tr:last-child td { border-bottom: 0; }
.lp-bank tfoot td {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--ink);
  font-weight: 550;
  background: var(--sheen-1);
}

/* ---------- honesty block: what this is NOT ---------- */

.lp-honest {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 0; border-right: 0;
  border-radius: 0;
  background: transparent;
}
.lp-honest p { margin: 0; font-size: 13px; line-height: 1.72; color: var(--ink-3); }
.lp-honest b { color: var(--ink-2); font-weight: 540; }

/* ---------- pricing teaser ---------- */

.lp-price-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.lp-price {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sheen-1);
}
.lp-price.is-lead {
  border-color: rgba(113,112,255,.34);
  background: linear-gradient(180deg, rgba(94,106,210,.10), transparent 70%);
}
.lp-price-name { margin: 0 0 3px; font-size: 13px; color: var(--ink-3); }
.lp-price-amt {
  margin: 0 0 2px;
  font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lp-price-amt span { font-size: 13px; font-weight: 400; color: var(--ink-4); }
.lp-price-note { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-4); }

/* ---------- FAQ ---------- */

.lp-faq { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lp-faq details { border-bottom: 1px solid var(--line-soft); }
.lp-faq details:last-child { border-bottom: 0; }
.lp-faq summary {
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 18px;
  list-style: none; cursor: pointer;
  font-size: 14px; color: var(--ink-2);
  transition: background .14s, color .14s;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary:hover { background: var(--sheen-1); color: var(--ink); }
.lp-faq summary::after {
  content: ""; margin-left: auto;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .5;
  transition: transform .18s ease;
}
.lp-faq details[open] summary::after { transform: rotate(-135deg); }
.lp-faq-a { margin: 0; padding: 0 18px 16px; font-size: 13.5px; line-height: 1.74; color: var(--ink-3); }
.lp-faq-a b { color: var(--ink-2); font-weight: 540; }

/* ---------- closing call to action ---------- */

.lp-close {
  margin-top: 64px;
  padding: 44px 28px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(94,106,210,.13), transparent 62%),
    var(--sheen-1);
}
.lp-close h2 { margin: 0 0 10px; font-size: clamp(20px, 2.6vw, 26px);
               font-weight: 600; letter-spacing: -0.016em; color: var(--ink); }
.lp-close p { margin: 0 auto 22px; max-width: 460px;
              font-size: 14px; line-height: 1.7; color: var(--ink-3); }

/* ---------- footer ---------- */

.lp-foot {
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--ink-4);
}
.lp-foot a { color: var(--ink-3); text-decoration: none; }
.lp-foot a:hover { color: var(--ink); }
.lp-foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .lp { padding: 0 16px 64px; }
  .lp-hero { padding: 48px 0 40px; }
  .lp-proof { grid-template-columns: 1fr 1fr; }
  .lp-cta-row .lp-btn { width: 100%; }
  .lp-sec { padding: 48px 0 0; }
  .lp-bank th, .lp-bank td { padding: 12px 14px; font-size: 13px; }
  .lp-close { padding: 34px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-btn, .lp-faq summary, .lp-faq details[open] summary::after { transition: none; }
}
