/* JusticeOS — Access to Justice Landing Page */

:root {
  --navy: #0F1F3D;
  --navy-mid: #1A3358;
  --cream: #FDFAF5;
  --cream-dark: #F5F0E8;
  --amber: #F59E0B;
  --amber-light: #FCD34D;
  --amber-dark: #D97706;
  --text-dark: #1A1A2E;
  --text-mid: #4A5568;
  --text-light: #718096;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 31, 61, 0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.nav-logo .accent { color: var(--amber); }

/* Hero */
.hero {
  padding: 160px 32px 100px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--cream), transparent);
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.7;
}

/* Stats */
.stats-section {
  background: var(--cream);
  padding: 80px 32px;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(15, 31, 61, 0.12);
  flex-shrink: 0;
}

/* How */
.how-section {
  background: var(--white);
  padding: 100px 32px;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.how-label, .features-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 16px;
}
.how-headline, .features-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.2;
  max-width: 560px;
  margin-bottom: 64px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.step-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.step-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Features */
.features-section {
  background: var(--cream);
  padding: 100px 32px;
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.features-headline { margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(15, 31, 61, 0.1);
  border: 1px solid rgba(15, 31, 61, 0.1);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--white);
  padding: 48px;
}
.feature-icon {
  margin-bottom: 24px;
}
.feature-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.feature-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Philosophy */
.philosophy-section {
  background: var(--navy);
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.philosophy-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
}
.philosophy-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.philosophy-mark { margin-bottom: 32px; }
.philosophy-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 36px;
}
.philosophy-body {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

/* Closing */
.closing-section {
  background: var(--cream-dark);
  padding: 100px 32px;
  border-top: 1px solid rgba(15, 31, 61, 0.08);
}
.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber-dark);
  border: 1.5px solid var(--amber-dark);
  border-radius: 100px;
  padding: 8px 20px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  padding: 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.footer-logo .accent { color: var(--amber); }
.footer-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.footer-note {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 40px; }
  .stat-divider { display: none; }
  .hero { padding: 120px 24px 80px; }
  .stat { padding: 0; }
  .feature-card { padding: 32px; }
}
