/* -------------------------------------------------------------------------
   Rindify · Public landing page (builds on the tokens in app.css)
   ---------------------------------------------------------------------- */

.lp-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.lp-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.lp-brand .brand-wordmark { font-size: 1.65rem; }
.lp-nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.lp-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 4.5rem;
}
.lp-hero-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 1.4rem; scroll-margin-top: 2rem; }
.lp-hero h1 {
  font-family: var(--r-font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
}
.lp-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.55; color: var(--r-muted); max-width: 33rem; margin: 0; }

.lp-pill {
  align-self: flex-start;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--r-sun-soft);
  color: var(--r-sun-ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.lp-form { display: flex; flex-direction: column; gap: 0.6rem; max-width: 33rem; }
.lp-form .form-label { font-weight: 700; margin: 0; }
.lp-form-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.lp-form-row .form-control { flex: 1 1 240px; min-height: 54px; border-radius: 999px; padding: 0 1.15rem; font-size: 1rem; width: auto; }
.lp-form-row .btn { min-height: 54px !important; padding: 0 1.5rem; font-size: 1rem; }
.lp-note { font-size: 0.9rem; color: var(--r-muted); }
.lp-error { font-size: 0.9rem; font-weight: 600; color: var(--r-coral-ink); }
.lp-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.lp-joined {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 33rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-radius);
  background: var(--r-primary-soft);
  color: var(--r-primary-ink);
  line-height: 1.45;
}
.lp-joined-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--r-primary);
  color: var(--r-primary-contrast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.lp-hero-art { flex: 1 1 380px; display: flex; justify-content: center; }
.lp-preview {
  width: 100%;
  max-width: 440px;
  background: var(--r-surface);
  border: 1px solid var(--r-border);
  border-radius: 28px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 30px 60px rgba(11, 61, 43, 0.12);
}
.lp-preview-head { display: flex; align-items: center; justify-content: space-between; }
.lp-preview-hi { font-family: var(--r-font-display); font-weight: 800; font-size: 1.4rem; }
.lp-chip { padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--r-surface-2); color: var(--r-muted); font-size: 0.82rem; font-weight: 600; }
.lp-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.lp-tile { border-radius: 18px; padding: 0.9rem; display: flex; flex-direction: column; gap: 0.35rem; }
.lp-tile span { font-size: 0.82rem; font-weight: 700; }
.lp-tile strong { font-family: var(--r-font-display); font-weight: 700; font-size: 1.4rem; color: var(--r-text); font-variant-numeric: tabular-nums; }
.lp-tile-row { flex-direction: row; align-items: center; justify-content: space-between; }
.lp-tile-income { background: var(--r-primary-soft); color: var(--r-primary-ink); }
.lp-tile-expense { background: var(--r-coral-soft); color: var(--r-coral-ink); }
.lp-tile-profit { background: var(--r-sky-soft); color: var(--r-sky-ink); }
.lp-bars { display: flex; align-items: flex-end; gap: 0.6rem; height: 110px; padding: 0.35rem 0.25rem 0; }
.lp-bars span { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--r-track); }
.lp-bars span.is-mid { background: var(--r-mint); }
.lp-bars span.is-now { background: var(--r-primary); }

.lp-band { background: var(--r-surface); border-top: 1px solid var(--r-border); border-bottom: 1px solid var(--r-border); }
.lp-section { padding-top: 4.5rem; padding-bottom: 4.5rem; display: flex; flex-direction: column; gap: 2.25rem; }
.lp-h2 {
  font-family: var(--r-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 40rem;
  margin: 0;
}

.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.lp-feature { border-radius: var(--r-radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.lp-feature h3 { font-family: var(--r-font-display); font-weight: 700; font-size: 1.45rem; margin: 0; color: var(--r-text); }
.lp-feature p { margin: 0; font-size: 1rem; line-height: 1.55; }
.lp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--r-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.lp-feature-mint { background: var(--r-primary-soft); color: var(--r-primary-ink); }
.lp-feature-sky { background: var(--r-sky-soft); color: var(--r-sky-ink); }
.lp-feature-sun { background: var(--r-sun-soft); color: var(--r-sun-ink); }
.lp-feature-lav { background: var(--r-lav-soft); color: var(--r-lav-ink); }

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.lp-steps li { display: flex; flex-direction: column; gap: 0.6rem; }
.lp-steps h3 { font-weight: 700; font-size: 1.25rem; margin: 0; font-family: var(--r-font-body); letter-spacing: 0; }
.lp-steps p { margin: 0; line-height: 1.55; color: var(--r-muted); }
.lp-step-num { font-family: var(--r-font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--r-mint); }

.lp-cta-wrap { padding-bottom: 4.5rem; }
.lp-cta {
  background: var(--r-logo-bg);
  color: var(--r-logo-fg);
  border-radius: 32px;
  padding: clamp(2rem, 6vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.lp-cta > div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 0.6rem; }
.lp-cta h2 { font-family: var(--r-font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.03em; margin: 0; }
.lp-cta p { margin: 0; font-size: 1.05rem; opacity: 0.9; }
.lp-cta-btn {
  --bs-btn-bg: var(--r-logo-fg);
  --bs-btn-color: var(--r-logo-bg);
  --bs-btn-border-color: var(--r-logo-fg);
  --bs-btn-hover-bg: var(--r-surface-2);
  --bs-btn-hover-color: var(--r-primary-ink);
  --bs-btn-hover-border-color: var(--r-surface-2);
  min-height: 54px !important;
  padding: 0 1.6rem !important;
}

.lp-footer { border-top: 1px solid var(--r-border); }
.lp-footer .lp-wrap {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--r-muted);
}

@media (max-width: 575.98px) {
  .lp-wrap { padding-left: 1rem; padding-right: 1rem; }
  .lp-hero { padding-top: 1.5rem; gap: 2.5rem; }
  .lp-brand .brand-wordmark { font-size: 1.4rem; }
  .lp-form-row .btn { width: 100%; }
}

/* Legal pages (privacy policy): one readable column under the landing nav. */
.legal { max-width: 720px; padding-top: 1.5rem; padding-bottom: 4rem; line-height: 1.65; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.6rem); margin-bottom: 0.25rem; }
.legal-updated { color: var(--r-muted); margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: 0.35rem; }
