/* ============================================
   TradeFlow Marketing — Global Stylesheet
   Brand: #1F6FEB blue + #111827 charcoal
   Font: DM Sans (Google Fonts)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

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

:root {
  --blue:       #1F6FEB;
  --blue-dark:  #185FA5;
  --blue-light: #378ADD;
  --blue-pale:  #E6F1FB;
  --blue-deep:  #042C53;
  --charcoal:   #111827;
  --gray-900:   #1f2937;
  --gray-700:   #374151;
  --gray-500:   #6B7280;
  --gray-400:   #9CA3AF;
  --gray-300:   #D1D5DB;
  --gray-200:   #E5E7EB;
  --gray-100:   #F3F4F6;
  --gray-50:    #F9FAFB;
  --white:      #ffffff;
  --green:      #1D9E75;
  --green-pale: #E7F6EE;
  --amber:      #B45309;
  --red:        #B91C1C;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  22px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 18px 50px -10px rgba(17,24,39,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-lockup { display: flex; align-items: center; gap: 10px; }
.logo-lockup a { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg { width: 20px; height: 20px; }

.logo-wordmark {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--charcoal);
}
.logo-wordmark span { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 400;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); text-decoration: none; }

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s, background 0.15s;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
}
.btn:hover { opacity: 0.92; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); opacity: 1; color: var(--white); }
.btn-secondary { background: transparent; color: var(--charcoal); border: 1px solid var(--gray-300); }
.btn-secondary:hover { background: var(--gray-100); color: var(--charcoal); }
.btn-ghost { background: transparent; color: var(--blue); padding-left: 0; padding-right: 0; }
.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-block { display: block; width: 100%; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--gray-100);
  padding: 40px 48px 32px;
  background: var(--gray-50);
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 32px;
}
.footer-brand .logo-lockup { margin-bottom: 14px; }
.footer-brand p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 14px;
  font-family: 'DM Mono', monospace;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--gray-700); }
.footer-col a:hover { color: var(--charcoal); text-decoration: none; }

.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-500);
}

/* ── UTILITIES ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 48px; }
.text-blue { color: var(--blue); }
.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  font-family: 'DM Mono', monospace;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
  font-family: 'DM Mono', monospace;
}

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ── FORMS (shared) ── */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,111,235,0.10);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .container, .container-narrow { padding: 0 20px; }
  .footer { padding: 32px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .field-row { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 28px; }
}
