/* ============================================
   GavelOS — Access to Justice Landing Page
   Typography: Cormorant Garamond + DM Sans
   Palette: Deep Navy, Warm Amber, Off-White
   ============================================ */

:root {
  --navy:       #0d1f2d;
  --navy-mid:   #162a3a;
  --navy-light: #1e3a4d;
  --amber:      #c9934a;
  --amber-light:#e8c080;
  --amber-dim:  #9a7035;
  --cream:      #f4ede0;
  --cream-dark: #e8dfd0;
  --text-light: #d4cfc5;
  --text-mid:   #b0a898;
  --gavel-head: #8b5e30;
  --gavel-band: #6b4020;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(13, 31, 45, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 147, 74, 0.12);
}
.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 20px;
  width: 100%;
}
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.nav-logo em {
  font-style: normal;
  color: var(--amber);
}
.nav-tagline {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  min-height: calc(100vh - 64px);
}
.hero-split-left {
  padding: 80px 80px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(201, 147, 74, 0.08);
}
.hero-split-right {
  padding: 60px 60px 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 32px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 28px;
  max-width: 640px;
}
.hero-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 56px;
}
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding-right: 32px;
}
.hero-stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201, 147, 74, 0.2);
  margin: 0 32px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hero-visual-gavel {
  width: 200px;
  height: 260px;
  filter: drop-shadow(0 20px 60px rgba(201, 147, 74, 0.15));
}
.gavel-svg {
  width: 100%;
  height: 100%;
}
.hero-visual-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-visual-label span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 120px 80px;
  background: var(--navy-mid);
  border-top: 1px solid rgba(201, 147, 74, 0.08);
  border-bottom: 1px solid rgba(201, 147, 74, 0.08);
}
.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
}
.manifesto-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-style: italic;
  font-weight: 400;
  color: var(--amber-light);
  line-height: 1.3;
  margin-bottom: 48px;
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--amber);
}
.manifesto-body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 28px;
}
.manifesto-body:last-child { margin-bottom: 0; }

/* ---- APPROACH ---- */
.approach {
  padding: 120px 80px;
  background: var(--navy);
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.approach-header { margin-bottom: 80px; }
.approach-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(201, 147, 74, 0.1);
}
.approach-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(201, 147, 74, 0.1);
  align-items: start;
}
.approach-step-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--amber);
  opacity: 0.35;
  line-height: 1;
  padding-top: 4px;
}
.approach-step-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}
.approach-step-content p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 600px;
}

/* ---- WHY IT WORKS ---- */
.whyitworks {
  padding: 120px 80px;
  background: var(--navy-mid);
  border-top: 1px solid rgba(201, 147, 74, 0.08);
}
.whyitworks-header { margin-bottom: 64px; }
.whyitworks-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 560px;
}
.whyitworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.whyitworks-card {
  background: var(--navy);
  padding: 48px 40px;
  border: 1px solid rgba(201, 147, 74, 0.08);
  transition: border-color 0.3s ease;
}
.whyitworks-card:hover {
  border-color: rgba(201, 147, 74, 0.25);
}
.whyitworks-icon {
  margin-bottom: 28px;
  opacity: 0.85;
}
.whyitworks-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}
.whyitworks-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ---- CLOSING ---- */
.closing {
  padding: 140px 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  text-align: center;
  border-top: 1px solid rgba(201, 147, 74, 0.08);
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}
.closing-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 32px;
}
.closing-headline em {
  font-style: italic;
  color: var(--amber-light);
}
.closing-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer {
  padding: 48px 80px;
  border-top: 1px solid rgba(201, 147, 74, 0.08);
  background: var(--navy);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
}
.footer-logo em {
  font-style: normal;
  color: var(--amber);
}
.footer-meta {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-mid);
  letter-spacing: 0.08em;
}
.footer-note {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  text-align: right;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-split-left {
    padding: 72px 48px 48px;
    border-right: none;
    border-bottom: 1px solid rgba(201, 147, 74, 0.08);
  }
  .hero-split-right {
    padding: 60px 48px;
    min-height: 360px;
  }
  .whyitworks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .approach-step {
    grid-template-columns: 60px 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .hero-split-left { padding: 60px 24px 40px; }
  .hero-split-right { padding: 48px 24px; }
  .manifesto, .approach, .whyitworks, .closing { padding: 80px 24px; }
  .footer { padding: 40px 24px; }
  .hero-stat-row { flex-wrap: wrap; gap: 24px; }
  .hero-stat-divider { display: none; }
  .hero-stat { padding-right: 0; }
  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-note { text-align: left; }
}