/* Landing page — standalone marketing styles (illumin-inspired:
   bold gradient hero, generous whitespace, card sections). Self-hosted. */

/* Palette mirrors /static/style.css exactly (same brand blue, grays,
   borders) so the landing page and the app read as one product. */
:root {
  --l-bg: #ffffff;
  --l-text: #1c2128;
  --l-muted: #59636e;
  --l-primary: #1a6feb;
  --l-primary-deep: #0b3ea8;
  --l-surface: #f6f7f9;
  --l-border: #d9dde3;
  --l-hero-grad: linear-gradient(135deg, #0b1b3f 0%, #12327e 55%, #1a6feb 100%);
  --l-accent: #57c876;
  --l-chip: #eef2f6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --l-bg: #14181d;
    --l-text: #e6e9ec;
    --l-muted: #9aa4af;
    --l-primary: #4d8ef7;
    --l-primary-deep: #dbe7ff;
    --l-surface: #1c2128;
    --l-border: #343b44;
    --l-chip: #262d35;
  }
  .card, .strip, .step { box-shadow: none; }
  .card .icon, .badge-soon { background: #1b2a45; }
  .badge-soon { color: #8ab8ff; }
  .l-btn.primary { background: #e6e9ec; color: #0b3ea8; }
}

* { box-sizing: border-box; margin: 0; }
body.landing {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--l-text);
  background: var(--l-bg);
  line-height: 1.55;
}
.landing a { text-decoration: none; }
.landing section { padding: 4.5rem 1.5rem; }
.landing .wrap { max-width: 68rem; margin: 0 auto; }

/* nav */
.l-nav {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 0.9rem 1.5rem;
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
}
.l-nav .wrap { display: flex; align-items: center; width: 100%; max-width: 68rem; margin: 0 auto; }
.l-nav .brand {
  color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.l-nav .spacer { flex: 1; }
.l-nav .nav-link { color: rgba(255,255,255,0.85); margin-right: 1.2rem; font-size: 0.95rem; }
.l-nav .nav-link:hover { color: #fff; }

/* buttons */
.l-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1.4rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem; cursor: pointer; border: none;
}
.l-btn.primary { background: #fff; color: var(--l-primary-deep); }
.l-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.l-btn.solid { background: var(--l-primary); color: #fff; }
.l-btn.solid:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,111,235,0.35); }
.l-btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.l-btn.ghost:hover { border-color: #fff; }

/* hero */
.hero {
  background: var(--l-hero-grad);
  color: #fff;
  padding: 8.5rem 1.5rem 5.5rem;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem; align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.hero h1 em { font-style: normal; color: #8ab8ff; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); margin-bottom: 1.8rem; max-width: 32rem; }
.hero .cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero .art { width: 100%; height: auto; }
.hero .glow {
  position: absolute; width: 45rem; height: 45rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(87,200,118,0.18) 0%, transparent 60%);
  top: -12rem; right: -14rem; pointer-events: none;
}

/* trust strip */
.strip { background: var(--l-surface); border-bottom: 1px solid var(--l-border); padding: 1.4rem 1.5rem; }
.strip .wrap { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; color: var(--l-muted); font-size: 0.95rem; }
.strip b { color: var(--l-text); }

/* sections */
.landing h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 0.6rem; }
.landing .sub { color: var(--l-muted); font-size: 1.08rem; max-width: 38rem; margin-bottom: 2.5rem; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--l-bg);
  border: 1px solid var(--l-border);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: 0 1px 3px rgba(16,24,40,0.05);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #e7f0fe; margin-bottom: 1rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.card p { color: var(--l-muted); font-size: 0.95rem; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: var(--l-surface); border-radius: 14px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--l-primary); color: #fff; font-weight: 700;
  margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.step p { color: var(--l-muted); font-size: 0.93rem; }

/* employers split */
.split { background: var(--l-surface); }
.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.badge-soon {
  display: inline-block; background: #e7f0fe; color: var(--l-primary-deep);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 1rem;
}
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.check-list li { display: flex; gap: 0.6rem; margin-bottom: 0.7rem; color: var(--l-muted); }
.check-list li::before { content: "✓"; color: var(--l-accent); font-weight: 800; }

/* final CTA */
.cta-final { background: var(--l-hero-grad); color: #fff; text-align: center; }
.cta-final h2 { color: #fff; }
.cta-final .sub { color: rgba(255,255,255,0.85); margin-left: auto; margin-right: auto; }

/* footer */
.l-footer { padding: 1.6rem 1.5rem; color: var(--l-muted); font-size: 0.88rem; border-top: 1px solid var(--l-border); }
.l-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }

@media (max-width: 800px) {
  .hero .wrap, .split .wrap { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 7rem; }
  .hero .art-wrap { order: -1; max-width: 24rem; margin: 0 auto; }
}
