/* ════════════════════════════════════════════════════════════════
   LesLeads — Shared Design System
   Loaded by: index.html, about.html, solutions.html, contact.html
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg: #FAFAF7;
  --bg-warm: #F5F2EB;
  --ink: #0A0E14;
  --ink-soft: #2A3038;
  --muted: #5C6470;
  --muted-light: #8A9099;
  --line: #E8E5DE;
  --line-soft: #F0EDE6;
  --forest: #1F3D2A;
  --forest-dark: #14291C;
  --forest-soft: #2D5238;
  --peach: #F4C2A8;
  --peach-soft: #FAE0CC;
  --mint: #D4E8DC;
  --mint-soft: #E8F2EC;
  --lavender: #DCD4E8;
  --cream: #FFF8EC;
  --shadow-sm: 0 1px 2px rgba(10, 14, 20, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 14, 20, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(10, 14, 20, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Geist', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-feature-settings: "ss01", "cv11";
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', monospace; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
a { color: inherit; text-decoration: none; }

/* ───── NAV ───── */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16.5px; letter-spacing: -0.025em;
}
.logo-mark { width: 28px; height: 28px; flex-shrink: 0; display: block; }
.logo .ll { color: var(--forest); }

.nav-links { display: flex; gap: 36px; font-size: 14.5px; color: var(--ink-soft); font-weight: 450; }
.nav-links a { transition: color 0.2s ease; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -26px;
  left: 0; right: 0;
  height: 2px;
  background: var(--forest);
}

.nav-cta { display: flex; align-items: center; gap: 24px; }
.nav-cta .signin { font-size: 14.5px; color: var(--ink-soft); font-weight: 450; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.2s ease;
  cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--forest-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { background: white; border-color: var(--ink-soft); }
.btn-large { padding: 14px 24px; font-size: 15px; }
.btn .arrow { transition: transform 0.2s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(2px); }
.btn-on-dark { background: var(--bg); color: var(--ink); }
.btn-on-dark:hover { background: white; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* ───── PAGE HERO (used on inner pages) ───── */
.page-hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.page-hero-mesh {
  position: absolute;
  inset: -100px -100px auto -100px;
  height: 600px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
  background:
    radial-gradient(ellipse 600px 400px at 15% 20%, var(--peach-soft) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 85% 30%, var(--mint) 0%, transparent 55%),
    radial-gradient(ellipse 800px 300px at 30% 90%, var(--cream) 0%, transparent 50%);
  filter: blur(40px);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,14,20,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,14,20,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
  z-index: 1; pointer-events: none;
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 100px;
  background: white;
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.eyebrow-tag {
  background: var(--forest); color: white;
  padding: 2px 9px;
  border-radius: 100px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1.page-title {
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
}
h1.page-title .serif { color: var(--forest); font-size: 1.05em; line-height: 0.9; display: inline-block; transform: translateY(0.04em); }

.page-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 600px;
  font-weight: 400;
}

/* ───── SECTION HEAD ───── */
section.block { padding: 120px 0; }
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--forest);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.section-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--forest); border-radius: 50%;
}
h2.section-title {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 20px;
}
h2.section-title .serif { color: var(--forest); font-size: 1.05em; }
.section-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 580px;
}

/* ───── FOOTER ───── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-brand {
  color: white;
  font-weight: 600; font-size: 17px;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.footer-brand .ll { color: var(--peach); }
.footer-tag { font-size: 14px; line-height: 1.55; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-col h5 { font-size: 13px; font-weight: 500; color: white; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 14px; color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color 0.2s ease;
  cursor: pointer;
}
.footer-col li:hover { color: white; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ───── ANIMATION ───── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.d-1 { animation-delay: 0.05s; }
.d-2 { animation-delay: 0.15s; }
.d-3 { animation-delay: 0.25s; }
.d-4 { animation-delay: 0.35s; }
.d-5 { animation-delay: 0.45s; }

/* ───── FINAL CTA SECTION (shared) ───── */
.final-cta {
  background: var(--forest-dark);
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(212, 232, 220, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 80% 70%, rgba(244, 194, 168, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
h2.cta-title {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 24px;
}
h2.cta-title .serif { color: var(--peach); font-size: 1.05em; }
.cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  max-width: 480px;
}
.cta-actions {
  display: flex; flex-direction: column;
  gap: 14px; align-items: flex-start;
}

/* ───── RESPONSIVE ───── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .page-hero { padding: 56px 0 72px; }
  section.block { padding: 80px 0; }
  .footer-grid, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
}
