/* Marketing / landing page — nonprofit court-tech look (hero, mission,
   stats, CTA, footer). Built on the brand tokens in base.css. */

.nav {
  position: sticky; top: 0; z-index: 10; background: rgba(255,251,255,.9);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.nav-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--purple); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.nav-links { display: flex; gap: 26px; flex: 1; font-size: 14.5px; color: var(--secondary); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.hero {
  padding: 88px 0 72px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 480px;
  background: radial-gradient(60% 60% at 50% 0%, var(--purple-tint) 0%, transparent 70%);
  z-index: -1;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  color: var(--purple-dark); background: var(--purple-tint); padding: 6px 14px; border-radius: 100px;
  letter-spacing: .02em; margin-bottom: 22px;
}
.hero h1 {
  font-size: 52px; line-height: 1.08; max-width: 780px; margin: 0 auto;
}
.hero .lede {
  font-size: 18px; color: var(--secondary); max-width: 560px; margin: 20px auto 0;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 32px; }
.hero .fine-print { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; }

.stats { padding: 20px 0 76px; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.stat-card .num { font-size: 34px; font-weight: 700; color: var(--purple-dark); letter-spacing: -0.02em; }
.stat-card .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }

.section { padding: 76px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--secondary); font-size: 16px; margin-top: 12px; }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-card { padding: 8px; }
.how-num {
  width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; margin-bottom: 16px;
}
.how-card h3 { font-size: 17px; margin-bottom: 8px; }
.how-card p { color: var(--secondary); font-size: 14.5px; }

.mission-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.mission-art {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); background:
    linear-gradient(135deg, var(--purple-tint) 0%, var(--purple-tint-2) 60%, #fff 100%);
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--purple-dark);
  font-weight: 700; font-size: 15px;
}
.mission-copy h2 { font-size: 30px; margin-bottom: 16px; }
.mission-copy p { color: var(--secondary); font-size: 15.5px; margin-bottom: 14px; }
.mission-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.mission-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); }
.mission-list li::before { content: "✓"; color: var(--purple); font-weight: 700; }

.cta-band {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: 56px 40px; text-align: center; margin: 0 24px;
}
.cta-band h2 { font-size: 30px; color: #fff; }
.cta-band p { color: #C7C2D3; margin-top: 12px; font-size: 15.5px; }
.cta-band .cta-row { margin-top: 26px; }
.cta-band .btn { border-color: transparent; }
.cta-band .btn.ghost { border-color: rgba(255,255,255,.25); color: #fff; }

footer.site-footer { border-top: 1px solid var(--line); padding: 44px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.footer-desc { color: var(--muted); font-size: 13.5px; max-width: 280px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--secondary); margin-bottom: 8px; }
.footer-col a:hover { color: var(--purple-dark); }
.footer-bottom {
  display: flex; justify-content: space-between; color: var(--muted-2); font-size: 12.5px;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid, .mission-grid, .footer-grid { grid-template-columns: 1fr; }
}
