/* ========================================================================
   MFG Outreach — clean B2B SaaS aesthetic
   Light, geometric, dashboard-feel. Inter type. Slate + blue.
   ======================================================================== */

:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --mute: #475569;
  --mute-2: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #f1f5f9;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #dbeafe;
  --blue-tint: #eff6ff;
  --green: #10b981;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.08);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo em {
  font-style: normal;
  color: var(--blue);
  font-weight: 600;
}

.topnav { display: flex; align-items: center; gap: 32px; }
.topnav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mute);
  transition: color 0.15s;
}
.topnav a:hover { color: var(--ink); }
.topnav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background 0.15s;
}
.topnav-cta:hover { background: var(--ink-2); }

/* ---------- Generic ---------- */
.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.kicker.center { display: block; text-align: center; }

h1, h2, h3 {
  font-family: var(--font);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
}
h1 { font-size: clamp(38px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
h2.center { text-align: center; }
h3 { font-size: 20px; }

.lede {
  font-size: 18px;
  color: var(--mute);
  max-width: 640px;
  margin-bottom: 56px;
}
.lede.center { margin-left: auto; margin-right: auto; text-align: center; }

.primary {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}
.primary:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.primary-block { display: block; text-align: center; padding: 15px 24px; }
.secondary {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: white;
  transition: all 0.15s;
}
.secondary:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--blue-tint), transparent 70%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pill {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
  border: 1px solid #c7d9f7;
}
.hero-text h1 {
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-text p {
  font-size: 18px;
  color: var(--mute);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.checks {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.checks li {
  font-size: 14px;
  color: var(--mute);
  font-weight: 500;
  position: relative;
  padding-left: 22px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--blue-soft);
  border-radius: 50%;
}
.checks li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* ---------- Hero dashboard mock ---------- */
.hero-visual { position: relative; }
.dash {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.dash:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.dash-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ef4444; }
.dot-y { background: #f59e0b; }
.dot-g { background: #10b981; }
.dash-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute-2);
  margin-left: 10px;
}
.dash-body { padding: 24px; }
.dash-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.dash-row:last-child { margin-bottom: 0; }
.dash-kpi {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.dash-kpi-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.dash-kpi-num.accent { color: var(--blue); }
.dash-kpi-lbl {
  font-size: 12px;
  color: var(--mute-2);
}
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  padding: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.bar {
  flex: 1;
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}
.bar.accent-bar {
  background: linear-gradient(180deg, #60a5fa, var(--blue));
}
.dash-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-2);
  font-family: var(--mono);
}
.dash-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.dash-pill-dot.blue { background: var(--blue); }

/* ---------- Trust strip ---------- */
.trust {
  padding: 48px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute-2);
  margin-bottom: 24px;
}
.trust-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}

/* ---------- Problem section ---------- */
.problem { padding: 100px 0; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem p {
  color: var(--mute);
  font-size: 17px;
  margin-bottom: 18px;
  max-width: 480px;
}
.data-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.data-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.data-row:last-of-type { border-bottom: 0; }
.data-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.data-lbl {
  font-size: 14px;
  color: var(--mute);
}
.data-source {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute-2);
  margin-top: 14px;
}

/* ---------- How it works (timeline) ---------- */
.how {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
  counter-reset: t;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-soft), var(--blue), var(--blue-soft));
  z-index: 0;
}
.timeline li {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  z-index: 1;
}
.t-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  font-family: var(--mono);
  box-shadow: 0 0 0 6px var(--bg-2);
}
.timeline h3 { margin-bottom: 8px; font-size: 18px; }
.timeline p {
  font-size: 14px;
  color: var(--mute);
}

/* ---------- Outcomes / metrics ---------- */
.outcomes { padding: 100px 0; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.metric {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.metric:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.metric-feature {
  background: linear-gradient(180deg, var(--blue-tint), var(--bg));
  border-color: #c7d9f7;
}
.metric-num {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}
.metric-feature .metric-num { color: var(--blue); }
.metric-lbl {
  font-size: 14px;
  color: var(--mute);
}

/* ---------- Pricing table ---------- */
.pricing {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ptable-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.ptable {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.ptable th, .ptable td {
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.ptable thead th {
  background: var(--bg-2);
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  vertical-align: top;
  position: relative;
}
.ptable th .ptable-price {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 8px;
  letter-spacing: -0.02em;
}
.ptable th .ptable-price em {
  font-style: normal;
  font-size: 14px;
  color: var(--mute);
  font-weight: 500;
}
.ptable th .ptable-setup {
  display: block;
  font-size: 12px;
  color: var(--mute-2);
  font-weight: 500;
  margin-top: 4px;
  font-family: var(--mono);
}
.ptable .featured {
  background: var(--blue-tint);
}
.ptable th.featured {
  background: var(--blue);
  color: white;
}
.ptable th.featured .ptable-price,
.ptable th.featured .ptable-price em,
.ptable th.featured .ptable-setup { color: white; }
.ptable .ptable-flag {
  display: inline-block;
  background: white;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.ptable td {
  color: var(--ink-2);
}
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td:first-child {
  font-weight: 500;
  color: var(--mute);
  font-size: 14px;
}
.ptable-cta-row td { background: var(--bg-2); padding: 24px; }
.ptable-cta-row td.featured { background: var(--blue-tint); }
.ptable-btn {
  display: inline-block;
  background: var(--bg);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line-2);
  transition: all 0.15s;
}
.ptable-btn:hover { border-color: var(--ink); }
.ptable-btn-feature {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.ptable-btn-feature:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: white;
}

/* ---------- FAQ ---------- */
.faq { padding: 100px 0; }
.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq details[open] {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  padding: 0 26px 24px;
  color: var(--mute);
  font-size: 15px;
}

/* ---------- Booking ---------- */
.book {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, var(--blue-tint), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cal-wrap { margin-top: 16px; }
.cal-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 520px;
  margin: 0 auto;
}
.cal-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-tint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.cal-card h3 { margin-bottom: 8px; }
.cal-card > p {
  color: var(--mute);
  margin-bottom: 24px;
}
.cal-alt {
  margin-top: 18px;
  font-size: 14px;
  color: var(--mute-2);
}
.cal-alt a { color: var(--blue); font-weight: 500; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 64px 0 24px;
}
.footer .logo { color: white; }
.footer .logo em { color: #93c5fd; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1e293b;
}
.footer-brand p {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 12px;
  max-width: 280px;
}
.footer-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 16px;
}
.footer-links a, .footer-links span {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-links a:hover { color: white; }
.muted { color: #64748b !important; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
}
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .dash { transform: none; max-width: 520px; margin: 0 auto; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 620px) {
  .topnav a:not(.topnav-cta) { display: none; }
  .hero { padding: 48px 0 64px; }
  .problem, .how, .outcomes, .pricing, .faq, .book { padding: 64px 0; }
  .timeline { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .trust-grid { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cal-card { padding: 32px 24px; }
}
