/* ── ResearchHub — Landing page styles ───────────────────────────────────── */

.lp-body { background: var(--bg); margin: 0; }

/* Nav */
.lp-nav {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.lp-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lp-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.lp-brand-icon { width: 20px; height: 20px; stroke-width: 1.75px; }
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.lp-nav-links a {
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
}
.lp-nav-links a:hover { color: var(--accent-dark); }
.lp-btn-nav {
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.85rem !important;
}
.lp-btn-nav-primary {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}
.lp-btn-nav-primary:hover { background: var(--accent-dark) !important; }

/* Hero */
.lp-hero {
  background: linear-gradient(160deg, var(--sidebar-bg) 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.lp-hero-inner { position: relative; z-index: 1; }
/* side decorations: chaos (left) → order (right); hidden when they would touch the text */
.hero-deco { position: absolute; top: 130px; width: 210px; opacity: .55; pointer-events: none; }
.hero-deco.left  { left:  max(12px, calc(50% - 600px)); }
.hero-deco.right { right: max(12px, calc(50% - 600px)); }
@media (max-width: 1150px) { .hero-deco { display: none; } }
.step-ill { height: 96px; width: 100%; margin: -0.25rem 0 0.75rem; }
.lp-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.lp-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.lp-accent { color: var(--accent-dark); }
.lp-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.lp-hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.lp-badges { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.lp-badge {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Buttons */
.lp-btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.12s;
}
.lp-btn-primary:hover { background: var(--accent-dark); color: #fff; }
.lp-btn-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1.5px solid var(--accent);
  border-radius: 7px;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}
.lp-btn-outline:hover { background: var(--sidebar-bg); }
.lp-btn-lg { padding: 0.8rem 2rem; font-size: 1rem; }

/* Sections */
.lp-section { padding: 3.5rem 1.5rem; }
.lp-section-alt { background: var(--card-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-section-inner { max-width: 1100px; margin: 0 auto; }
.lp-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2rem;
  text-align: center;
}

/* Steps */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.lp-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.lp-step-num {
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.lp-step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.lp-step p  { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* Features */
.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.lp-feature {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem;
  background: var(--bg);
}
.lp-feature-icon { margin-bottom: 0.75rem; color: var(--accent-dark); }
.lp-feature-icon svg { width: 28px; height: 28px; stroke-width: 1.5px; }
.lp-feature h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.lp-feature p  { font-size: 0.84rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* Who */
.lp-who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.lp-who-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem;
}
.lp-who-icon { margin-bottom: 0.75rem; color: var(--accent-dark); }
.lp-who-icon svg { width: 30px; height: 30px; stroke-width: 1.5px; }
.lp-who-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.lp-who-card p  { font-size: 0.84rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* Quote */
.lp-quote {
  background: var(--beige);
  border-top: 1px solid var(--beige-dark);
  border-bottom: 1px solid var(--beige-dark);
  padding: 2.5rem 1.5rem;
}
.lp-quote blockquote {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1rem;
  font-style: italic;
  color: #4F4D46;
  line-height: 1.8;
  text-align: center;
  border: none;
  padding: 0;
}

/* CTA section */
.lp-cta-section {
  padding: 3.5rem 1.5rem;
  background: var(--sidebar-bg);
  border-top: 1px solid var(--border);
}

/* Footer */
.lp-footer {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}
.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.lp-footer-links { display: flex; gap: 1.25rem; }
.lp-footer-links a { font-size: 0.83rem; color: var(--muted); text-decoration: none; }
.lp-footer-links a:hover { color: var(--accent-dark); }
