/* Landing A, sell-first, trust-heavy. Reuses tokens from /site/shared.css. */

:root {
  --lpa-card-bg: #ffffff;
  --lpa-check: #16a34a;
  --lpa-miss: #9ca3af;
  --lpa-flag-bg: rgba(220, 38, 38, 0.1);
  --lpa-flag-text: #b91c1c;
  --lpa-smd-col-bg: rgba(79, 70, 229, 0.04);
}

html.dark {
  --lpa-card-bg: #1f2937;
  --lpa-check: #34d399;
  --lpa-miss: #6b7280;
  --lpa-flag-bg: rgba(248, 113, 113, 0.15);
  --lpa-flag-text: #fca5a5;
  --lpa-smd-col-bg: rgba(129, 140, 248, 0.07);
}

body { min-height: 100dvh; display: flex; flex-direction: column; }
.lpa-main { flex: 1; }

.lpa-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}
@media (max-width: 520px) {
  .lpa-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* ── Hero ── */
.lpa-hero { padding: 2rem 1rem 2.5rem; text-align: center; }
.lpa-hero h1 {
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.875rem;
  text-wrap: balance;
}
.lpa-subhead {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  line-height: 1.5;
  text-wrap: balance;
}
.lpa-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  background: var(--btn-bg);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.15s;
}
.lpa-cta:hover { background: var(--btn-bg-hover); }
.lpa-cta:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.lpa-trust-line {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
@media (min-width: 640px) {
  .lpa-hero { padding: 4rem 2rem; }
  .lpa-hero h1 { font-size: 2.5rem; }
}

/* ── Generic section ── */
.lpa-section { padding: 2.5rem 0; }
.lpa-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-wrap: balance;
}
.lpa-section-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 40rem;
  line-height: 1.5;
}
.lpa-section-intro a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.15s;
}
.lpa-section-intro a:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }
.lpa-section-intro a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 2px; }
@media (min-width: 640px) {
  .lpa-section { padding: 3.5rem 0; }
  .lpa-section h2 { font-size: 1.875rem; }
}

/* ── Before picture, mock email thread ── */
.lpa-email {
  background: var(--lpa-card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}
.lpa-email-head {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.lpa-email-from { color: var(--text-muted); }
.lpa-email-subj { color: var(--text); font-weight: 500; margin-top: 0.125rem; }
.lpa-email-body { padding: 0.25rem 1rem 0.5rem; }
.lpa-email-msg {
  display: flex;
  gap: 0.875rem;
  padding: 0.625rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.lpa-email-msg:last-child { border-bottom: none; }
.lpa-email-when {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  min-width: 3.25rem;
  padding-top: 0.1875rem;
}
.lpa-email-text { flex: 1; }
.lpa-email-flag {
  display: inline-block;
  margin-left: 0.375rem;
  padding: 0.0625rem 0.4375rem;
  background: var(--lpa-flag-bg);
  color: var(--lpa-flag-text);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  vertical-align: baseline;
}
.lpa-email-dim { color: var(--text-muted); font-style: italic; }

/* ── How it works ── */
.lpa-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .lpa-steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.lpa-step {
  background: var(--lpa-card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.lpa-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: var(--btn-bg);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.lpa-step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.lpa-step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Comparison table ── */
.lpa-compare {
  background: var(--lpa-card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow-x: auto;
}
.lpa-compare table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.lpa-compare th,
.lpa-compare td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.lpa-compare thead th {
  font-weight: 600;
  color: var(--text);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg);
}
.lpa-compare thead th:not(:first-child) { text-align: center; }
.lpa-compare tbody th {
  font-weight: 500;
  color: var(--text);
}
.lpa-compare tbody td {
  text-align: center;
  font-size: 0.875rem;
  white-space: nowrap;
}
.lpa-compare tbody tr:last-child th,
.lpa-compare tbody tr:last-child td { border-bottom: none; }
.lpa-yes { color: var(--lpa-check); font-weight: 600; }
.lpa-no { color: var(--lpa-miss); }
.lpa-sometimes { color: var(--text-secondary); }
.lpa-smd-col { background: var(--lpa-smd-col-bg); }

/* ── Use cases ── */
.lpa-use-cases {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .lpa-use-cases { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
.lpa-use-card {
  background: var(--lpa-card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.lpa-use-card-role {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}
.lpa-use-card-role svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lpa-use-card-scenario {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.375rem;
  line-height: 1.4;
}
.lpa-use-card-outcome {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Final CTA ── */
.lpa-final {
  text-align: center;
  padding: 3rem 1rem 4rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}
.lpa-final h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.lpa-final .lpa-trust-line { margin-top: 1rem; }
@media (min-width: 640px) {
  .lpa-final { padding: 5rem 2rem 6rem; }
  .lpa-final h2 { font-size: 2.25rem; }
}
