/* ==========================================================================
   Relent — Landing page shared styles (lp-* namespace)
   Depends on styles.css being loaded first.
   ========================================================================== */

/* ── Page shell ─────────────────────────────────────────────────────────── */
.lp-page {
  padding-top: 90px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  padding: clamp(64px, 10vw, 112px) 24px clamp(56px, 8vw, 88px);
  text-align: center;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, oklch(78% 0.10 35 / 0.10), transparent),
    radial-gradient(ellipse 40% 40% at 80% 80%, oklch(80% 0.08 155 / 0.06), transparent);
  pointer-events: none;
}

.lp-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.lp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-h1 {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.lp-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--peach-2);
}

.lp-hero-intro {
  margin: 0 auto 32px;
  max-width: 54ch;
  color: var(--ink-2);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
}

.lp-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.lp-hero-trust {
  margin: 0 auto;
  max-width: 44ch;
  color: var(--ink-4);
  font-size: 13px;
  line-height: 1.55;
}

/* ── Content sections ───────────────────────────────────────────────────── */
.lp-section {
  padding: clamp(48px, 6vw, 80px) 24px;
  border-top: 1px solid var(--border-soft);
}

.lp-section-dark {
  background: rgba(0, 0, 0, 0.18);
}

.lp-section-inner {
  max-width: 720px;
  margin: 0 auto;
}

.lp-section-inner.lp-wide {
  max-width: 960px;
}

.lp-h2 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lp-h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--peach-2);
}

.lp-h3 {
  margin: 28px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.lp-body {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.72;
  max-width: 64ch;
}

.lp-body + .lp-body { margin-top: 16px; }

.lp-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

.lp-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--peach);
}

.lp-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.lp-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.lp-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}

.lp-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}

/* ── Example scenario block ─────────────────────────────────────────────── */
.lp-scenario {
  margin-top: 28px;
  padding: 28px;
  border-left: 2px solid var(--peach);
  border-radius: 0 14px 14px 0;
  background: var(--surface);
}

.lp-scenario-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lp-scenario p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
  font-style: italic;
}

/* ── Trust / safety note ────────────────────────────────────────────────── */
.lp-trust-note {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
}

.lp-trust-note p {
  margin: 0;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.65;
}

.lp-trust-note a {
  color: var(--peach-2);
  text-underline-offset: 3px;
  text-decoration: underline;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.lp-faq-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.lp-faq-item {
  border-bottom: 1px solid var(--border);
}

.lp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  user-select: none;
}

.lp-faq-item summary::-webkit-details-marker { display: none; }

.lp-faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-3);
  transition: transform 200ms var(--ease), color 180ms;
}

.lp-faq-item[open] summary::after {
  content: '−';
  color: var(--peach-2);
  border-color: var(--peach-dim);
}

.lp-faq-answer {
  padding: 0 0 20px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 62ch;
}

.lp-faq-answer a {
  color: var(--peach-2);
  text-underline-offset: 3px;
  text-decoration: underline;
}

/* ── CTA block ──────────────────────────────────────────────────────────── */
.lp-cta-section {
  padding: clamp(56px, 8vw, 96px) 24px;
  text-align: center;
  border-top: 1px solid var(--border-soft);
}

.lp-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.lp-cta-h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lp-cta-h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--peach-2);
}

.lp-cta-body {
  margin: 0 auto 28px;
  max-width: 44ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

/* ── Related pages ──────────────────────────────────────────────────────── */
.lp-related {
  padding: clamp(40px, 5vw, 64px) 24px;
  border-top: 1px solid var(--border-soft);
}

.lp-related-label {
  display: block;
  margin-bottom: 18px;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lp-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-related-link {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13.5px;
  transition: color 160ms, border-color 160ms;
}

.lp-related-link:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ── Footer for landing pages ───────────────────────────────────────────── */
.lp-footer {
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.lp-footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 48px;
  align-items: start;
}

.lp-footer-brand p {
  margin: 8px 0 0;
  max-width: 34ch;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.6;
}

.lp-footer-cols {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.lp-footer-col h5 {
  margin: 0 0 12px;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lp-footer-col a {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-3);
  font-size: 13.5px;
  transition: color 140ms;
}

.lp-footer-col a:hover { color: var(--ink-2); }

.lp-footer-safety {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lp-footer-safety p {
  margin: 0;
  color: var(--ink-4);
  font-size: 12.5px;
  line-height: 1.6;
}

.lp-footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--ink-4);
  font-size: 12.5px;
}

/* ── Blog article ────────────────────────────────────────────────────────── */
.lp-article-header {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border-soft);
}
.lp-article-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.lp-article-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--peach-2);
  margin: 0 0 18px;
}
.lp-article-meta {
  margin: 20px 0 0;
  font-size: 13.5px;
  color: var(--ink-4);
}
.lp-article-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-soft);
}
.lp-article-section:last-of-type { border-bottom: none; }
.lp-article-section .lp-article-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 22px;
}
.lp-article-section .lp-article-inner h2 em { font-style: italic; color: var(--peach-2); }
.lp-article-section .lp-article-inner p {
  color: var(--ink-2);
  font-size: clamp(15px, 1.8vw, 16.5px);
  line-height: 1.78;
  margin: 0 0 18px;
}
.lp-article-section .lp-article-inner p:last-child { margin-bottom: 0; }
.lp-article-section .lp-article-inner ul,
.lp-article-section .lp-article-inner ol {
  color: var(--ink-2);
  font-size: clamp(15px, 1.8vw, 16.5px);
  line-height: 1.78;
  margin: 0 0 18px;
  padding-left: 22px;
}
.lp-article-section .lp-article-inner li { margin-bottom: 8px; }
.lp-callout {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--peach-2);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 28px 0;
}
.lp-callout p { margin: 0 !important; font-style: italic; color: var(--ink) !important; }

/* ── Blog index grid ─────────────────────────────────────────────────────── */
.lp-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.lp-blog-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.lp-blog-card:hover { background: rgba(255,255,255,0.06); }
.lp-blog-card-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--peach-2);
}
.lp-blog-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.lp-blog-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.lp-blog-card-arrow { font-size: 14px; color: var(--peach-2); margin-top: 2px; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .lp-footer-inner {
    grid-template-columns: 1fr;
  }

  .lp-footer-cols {
    gap: 28px;
  }

  .lp-blog-grid { grid-template-columns: 1fr; }
  .lp-article-inner { padding: 0 16px; }
}
