/* DeliverTrack Design System — © 2026 DeliverTrack. All rights reserved. */

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

:root {
  --bg: #fafbfc;
  --bg2: #ffffff;
  --card: #ffffff;
  --border: #e8ecf1;
  --border2: #d1d9e3;
  --text: #1a1f36;
  --text2: #3c4257;
  --muted: #697386;
  --dim: #9ca3b4;
  --accent: #635bff;
  --accent2: #7a73ff;
  --accent-bg: #f0eeff;
  --accent-bg2: #e8e5ff;
  --green: #0da678;
  --green-bg: #e6f7f1;
  --orange: #e68a00;
  --orange-bg: #fff6e5;
  --red: #cd3d64;
  --red-bg: #fde8ee;
  --blue: #3d6bcd;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
.site-nav {
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 18px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(145deg, #7a73ff 0%, var(--accent) 45%, #4f46e5 100%);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(99,91,255,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s;
}
.nav-links a:hover { background: var(--accent-bg); color: var(--accent); text-decoration: none; }

/* ─── BUTTONS ─── */
.btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(99, 91, 255, 0.2);
}
.btn-primary:hover {
  background: var(--accent2);
  box-shadow: 0 4px 20px rgba(99, 91, 255, 0.4), 0 1px 4px rgba(99, 91, 255, 0.25);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--border2); box-shadow: var(--shadow-sm); }
.btn-large { padding: 14px 28px; font-size: 15px; border-radius: var(--radius); }

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
  background: #f4f6f9;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand { max-width: 280px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text2);
  padding: 3px 0;
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── SECTION HELPERS ─── */
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--accent);
  margin-bottom: 14px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bg2);
  padding: 4px 12px;
  border-radius: 20px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text);
  max-width: 560px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 480px;
  line-height: 1.6;
}

/* ─── LEGAL PAGE STYLES ─── */
.legal-page { padding: 60px 0 80px; }
.legal-page h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 6px;
}
.legal-page .legal-date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 36px;
}
.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}
.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.legal-page p {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 14px;
  line-height: 1.7;
}
.legal-page ul {
  margin: 10px 0 14px 24px;
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
}
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links .hide-m { display: none; }
  .footer-inner { flex-direction: column; }
  .section { padding: 56px 0; }
}
