/* ============================================
   DemandVertical.com — Shared Stylesheet
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  color: #0f172a;
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---------- Typography ---------- */
h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 0.95rem; font-weight: 600; }
p  { line-height: 1.7; }

/* ---------- Layout ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.nav-logo .logo-text { display: inline; white-space: nowrap; }
.nav-logo .logo-text span { color: #1e40af; }

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: #1e40af; }

.nav-cta,
.nav-links a.nav-cta {
  background: #1e40af;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover,
.nav-links a.nav-cta:hover { background: #1d3fa0; color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: #374151;
}

.nav-toggle svg { display: block; }

/* ---------- Hero ---------- */
.hero {
  background: #0a1628;
  padding: 96px 32px;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 20px;
}

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: #60a5fa; }

.hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid #3b82f6;
  transition: background 0.15s, border-color 0.15s;
  text-align: center;
}

.btn-primary:hover { background: #1d4ed8; border-color: #2563eb; }

.btn-outline-white {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.75);
  transition: background 0.15s, border-color 0.15s;
  text-align: center;
}

.btn-outline-white:hover { background: rgba(255,255,255,0.18); border-color: #fff; }

.btn-outline-blue {
  display: inline-block;
  background: none;
  color: #1e40af;
  padding: 13px 28px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid #1e40af;
  transition: background 0.15s;
  text-align: center;
}

.btn-outline-blue:hover { background: #eff6ff; }

/* ---------- Inner Page Hero ---------- */
.page-hero {
  background: #0a1628;
  padding: 72px 32px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero-bg.svg') right center / cover no-repeat;
  pointer-events: none;
}

.page-hero-inner { max-width: 1140px; margin: 0 auto; }

.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 14px;
}

.page-hero h1 { color: #fff; margin-bottom: 14px; }

.page-hero p {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 520px;
  line-height: 1.65;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: #1e40af;
  padding: 28px 32px;
}

.stats-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

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

.stat-num {
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: #bfdbfe;
  margin-top: 5px;
}

/* ---------- Sections ---------- */
.section { padding: 80px 32px; }
.section-alt { background: #f8fafc; }
.section-dark { background: #0a1628; }

.section-inner { max-width: 1140px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 12px;
}

.section-label-white {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 12px;
}

.section-dark h2 { color: #fff; margin-bottom: 16px; }
.section-dark .sub { color: #94a3b8; max-width: 560px; margin-bottom: 44px; }

.section-light h2,
.section-alt h2 { color: #0f172a; margin-bottom: 16px; }

.sub { font-size: 1rem; color: #64748b; max-width: 560px; margin-bottom: 44px; }

/* ---------- Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
}

.card-icon {
  width: 42px;
  height: 42px;
  background: #eff6ff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card h3 { color: #0f172a; margin-bottom: 10px; }
.card p  { font-size: 0.875rem; color: #64748b; }

/* ---------- Vertical Cards ---------- */
.vertical-card { border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; }

.vc-header {
  padding: 28px 26px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.vc-header-health  { background: #1d4ed8; }
.vc-header-medicare { background: #065f46; }
.vc-header-auto    { background: #7c3aed; }

.vc-body { background: #fff; padding: 24px 26px; }
.vc-body p { font-size: 0.875rem; color: #4b5563; margin-bottom: 16px; }

.vc-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  display: inline-flex;
  align-items: center;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
}

/* ---------- Tech Grid ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.tech-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 22px;
}

.tech-item h4 { color: #e2e8f0; margin-bottom: 9px; }
.tech-item p  { font-size: 0.8rem; color: #94a3b8; line-height: 1.65; }

/* ---------- Solutions ---------- */
.sol-list { display: flex; flex-direction: column; gap: 24px; }

.sol-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px;
  background: #fff;
}

.sol-num { font-size: 3.5rem; font-weight: 800; color: #dbeafe; line-height: 1; margin-bottom: 8px; }
.sol-card h3 { font-size: 1.25rem; color: #0f172a; margin-bottom: 10px; }
.sol-card > p { font-size: 0.9rem; color: #64748b; margin-bottom: 20px; }

.check-list { display: flex; flex-direction: column; gap: 9px; }
.check-list li { font-size: 0.875rem; color: #374151; padding-left: 22px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #2563eb; font-weight: 700; }

/* ---------- Verticals Detail ---------- */
.vert-block { border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; margin-bottom: 36px; }
.vert-block:last-child { margin-bottom: 0; }

.vert-block-header {
  padding: 22px 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}

.vert-block-header .eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 4px;
}

.vert-block-header h2 { font-size: 1.3rem; color: #fff; }

.vert-block-body { padding: 32px 30px; background: #fff; }

.metrics-row { display: flex; gap: 16px; margin-bottom: 28px; }

.metric {
  background: #f1f5f9;
  border-radius: 9px;
  padding: 16px;
  flex: 1;
  text-align: center;
}

.metric-num { font-size: 1.25rem; font-weight: 700; color: #0f172a; }
.metric-label { font-size: 0.72rem; color: #64748b; margin-top: 4px; }

.vert-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.vert-split p { font-size: 0.9rem; color: #4b5563; line-height: 1.75; }
.vert-split p + p { margin-top: 14px; }

.feat-list { display: flex; flex-direction: column; gap: 13px; }

.feat {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
}

.feat-icon {
  width: 34px;
  height: 34px;
  background: #eff6ff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-text h4 { font-size: 0.85rem; color: #0f172a; margin-bottom: 3px; }
.feat-text p  { font-size: 0.78rem; color: #64748b; line-height: 1.5; }

/* ---------- Technology ---------- */
.tech-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 36px; }

.tech-card {
  border: 1px solid #e2e8f0;
  border-left: 3px solid #1e40af;
  border-radius: 0 12px 12px 0;
  padding: 26px;
  background: #fff;
}

.tech-card h3 { color: #0f172a; margin-bottom: 9px; }
.tech-card p  { font-size: 0.875rem; color: #64748b; line-height: 1.65; }

.portal-cta {
  background: #f1f5f9;
  border-radius: 14px;
  padding: 40px;
  text-align: center;
}

.portal-cta .section-label { text-align: center; }
.portal-cta h3 { font-size: 1.3rem; color: #0f172a; margin: 10px 0 12px; }
.portal-cta p { font-size: 0.9rem; color: #64748b; max-width: 460px; margin: 0 auto 28px; line-height: 1.65; }

/* ---------- About ---------- */
.mission-box {
  background: #f1f5f9;
  border-radius: 14px;
  padding: 44px;
  margin-bottom: 48px;
}

.mission-box h2 { color: #0f172a; font-size: 1.4rem; margin: 12px 0 16px; }
.mission-box p { font-size: 0.95rem; color: #4b5563; max-width: 680px; line-height: 1.75; }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 0; }

.about-stat { text-align: center; padding: 32px 16px; }
.about-stat-num { font-size: 2.5rem; font-weight: 800; color: #1e40af; }
.about-stat-label { font-size: 0.85rem; color: #64748b; margin-top: 6px; font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

.contact-form-title { font-size: 0.9rem; font-weight: 600; color: #0f172a; margin-bottom: 22px; }

.form { display: flex; flex-direction: column; gap: 16px; }

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

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label { font-size: 0.8rem; font-weight: 500; color: #374151; }

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid #d1d5db;
  border-radius: 7px;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-field textarea { min-height: 110px; resize: vertical; }

.btn-submit {
  background: #1e40af;
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s;
}

.btn-submit:hover { background: #1d3fa0; }

.contact-aside-title { font-size: 0.9rem; font-weight: 600; color: #0f172a; margin-bottom: 22px; }

.contact-cards { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  background: #fff;
}

.contact-card-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; margin-bottom: 6px; font-weight: 600; }
.contact-card-email { font-size: 0.9rem; font-weight: 600; color: #0f172a; margin-bottom: 5px; }
.contact-card p { font-size: 0.82rem; color: #64748b; line-height: 1.55; }

/* ---------- CTA Section ---------- */
.cta-section { text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p { color: #94a3b8; max-width: 440px; margin: 0 auto 32px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1628; padding: 60px 32px 0; }

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p { font-size: 0.82rem; color: #64748b; line-height: 1.7; margin-top: 14px; max-width: 230px; }

.footer-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #475569;
}

/* ---------- Form Success State ---------- */
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  color: #15803d;
  font-weight: 500;
}

/* ---------- Compliance Page ---------- */

/* Pipeline: 4 numbered steps */
.comp-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.comp-step {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
}

.comp-step-num {
  font-size: 2rem;
  font-weight: 800;
  color: #dbeafe;
  line-height: 1;
  margin-bottom: 12px;
}

.comp-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.comp-step p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* Risk Model: 4 cards with colored header */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.risk-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.risk-head {
  padding: 20px 20px 18px;
}

.risk-name {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}

.risk-score {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.risk-head-low      { background: #16a34a; }
.risk-head-mediu