@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

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

:root {
  --navy: #1A3A5C;
  --blue: #2D7DD2;
  --blue-tint: rgba(45,125,210,0.08);
  --blue-border: rgba(45,125,210,0.2);
  --text: #1a1a2e;
  --text-muted: #64748b;
  --text-light: rgba(255,255,255,0.65);
  --border: rgba(0,0,0,0.08);
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.2;
}
h1 { font-size: clamp(1.875rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h3 { font-size: 1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ─── NAVIGATION ─────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-wordmark {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  padding: 1rem 2rem 1.5rem;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.mobile-nav.open { display: block; }

.mobile-nav ul { list-style: none; }

.mobile-nav ul li {
  padding: 0.65rem 0;
  border-bottom: 0.5px solid var(--border);
}

.mobile-nav ul li:last-child { border-bottom: none; }

.mobile-nav a { font-size: 15px; color: var(--text); }

.mobile-nav .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

/* ─── BUTTONS ────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: system-ui, sans-serif;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  border: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--navy); color: white; }
.btn-blue { background: var(--blue); color: white; }
.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: 0.5px solid rgba(255,255,255,0.28);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 0.5px solid rgba(26,58,92,0.3);
}
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-full { width: 100%; }

/* ─── HERO ───────────────────────────────────────────── */

.hero {
  background: var(--navy);
  padding: 5rem 2rem 6rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45,125,210,0.2);
  color: #82B8EE;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 { color: white; max-width: 580px; margin: 0 auto 1rem; }

.hero-sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 490px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background: var(--navy);
  padding: 4rem 2rem 4.5rem;
  text-align: center;
}

.page-hero h1 { color: white; margin-bottom: 0.75rem; }

.page-hero .hero-sub {
  color: var(--text-light);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── STATS BAR ──────────────────────────────────────── */

.stats-bar {
  display: flex;
  background: var(--bg-alt);
  border-bottom: 0.5px solid var(--border);
}

.stat-item {
  flex: 1;
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 0.5px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy);
}

.stat-label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.03em; }

/* ─── LAYOUT ─────────────────────────────────────────── */

.section { padding: 5rem 2rem; }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 760px; margin: 0 auto; }
.container-md { max-width: 920px; margin: 0 auto; }

.section-header { margin-bottom: 2.5rem; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.section-title { margin-bottom: 0.75rem; }

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 0;
}

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* ─── CARDS ──────────────────────────────────────────── */

.card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 18px;
  flex-shrink: 0;
}

.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ─── FIRM CARDS ─────────────────────────────────────── */

.firm-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.firm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-bottom: 1rem;
}

.firm-dot.pipeline { background: rgba(45,125,210,0.3); }

.firm-domain {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 3px;
}

.firm-practice {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.firm-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.firm-badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 0.5px solid var(--border);
}

.firm-badge.pipeline-badge {
  background: var(--blue-tint);
  color: var(--blue);
  border-color: var(--blue-border);
}

/* ─── CTA SECTION ────────────────────────────────────── */

.cta-section {
  background: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-section h2 { color: white; margin-bottom: 0.75rem; }

.cta-section p {
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ─── FOOTER ─────────────────────────────────────────── */

.footer {
  background: var(--bg);
  border-top: 0.5px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.footer-wordmark {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy);
}

.footer-copy { font-size: 12px; color: var(--text-muted); }

.footer-links { display: flex; gap: 1.25rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* ─── FORMS ──────────────────────────────────────────── */

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-label .req { color: var(--blue); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 0.5px solid rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45,125,210,0.12);
}

.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.form-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

/* ─── BADGES ─────────────────────────────────────────── */

.badge {
  display: inline-block;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
  border: 0.5px solid var(--blue-border);
  text-transform: uppercase;
}

/* ─── LISTS ──────────────────────────────────────────── */

.check-list { list-style: none; }
.check-list li {
  padding: 0.45rem 0;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  border-bottom: 0.5px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: "✓"; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.x-list { list-style: none; }
.x-list li {
  padding: 0.45rem 0;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  border-bottom: 0.5px solid var(--border);
}
.x-list li:last-child { border-bottom: none; }
.x-list li::before { content: "✕"; color: #dc3545; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── UTILITIES ──────────────────────────────────────── */

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); font-size: 14px; }
.divider { height: 0.5px; background: var(--border); margin: 2.5rem 0; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.info-box {
  background: var(--blue-tint);
  border: 0.5px solid var(--blue-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.info-box strong { color: var(--navy); }

/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links,
  .nav-actions { display: none; }
  .nav-hamburger { display: block; }

  .stats-bar { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-bottom: 0.5px solid var(--border); }

  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  .hero { padding: 3.5rem 1.25rem 4rem; }
  .page-hero { padding: 3rem 1.25rem 3.5rem; }
  .section { padding: 3.5rem 1.25rem; }
  .cta-section { padding: 3.5rem 1.25rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
