/* =====================================================
   Signal — Shared Design System  ·  Orange Brand
   ===================================================== */

/* Google Fonts loaded asynchronously in each HTML <head> for performance */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #06080C;
  color: #E2E8F0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #06080C; }
::-webkit-scrollbar-thumb { background: rgba(249,115,22,0.35); border-radius: 3px; }

/* ── CSS Variables ── */
:root {
  --orange:       #E8541A;
  --orange-dark:  #C9420E;
  --orange-light: #F06830;
  --orange-glow:  rgba(232,84,26,0.28);
  --orange-subtle:rgba(232,84,26,0.08);
  --orange-border:rgba(232,84,26,0.22);
  --bg:           #06080C;
  --bg2:          #0A0D14;
  --border:       rgba(255,255,255,0.07);
  --text:         #E2E8F0;
  --muted:        #64748B;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { line-height: 1.15; font-weight: 700; color: #F8FAFC; }

.gradient-text {
  background: linear-gradient(135deg, #FB923C 0%, #F97316 50%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, #F8FAFC 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Backgrounds ── */
.bg-primary   { background-color: #06080C; }
.bg-secondary { background-color: #0A0D14; }

.grid-bg {
  background-image:
    linear-gradient(rgba(249,115,22,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-glow {
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 720px;
  background: radial-gradient(ellipse at center, rgba(249,115,22,0.14) 0%, rgba(234,88,12,0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-glow-left {
  position: absolute;
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(249,115,22,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.section-glow-right {
  position: absolute;
  top: 50%;
  right: -180px;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(234,88,12,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #F97316, #EA580C);
  color: #fff;
  box-shadow: 0 0 28px rgba(249,115,22,0.38), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(249,115,22,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: #E2E8F0;
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.24);
}

.btn-ghost {
  background: transparent;
  color: #94A3B8;
  padding: 10px 20px;
}
.btn-ghost:hover { color: #E2E8F0; }

.btn-orange-outline {
  background: transparent;
  color: #FB923C;
  border: 1px solid rgba(249,115,22,0.35);
}
.btn-orange-outline:hover {
  background: rgba(249,115,22,0.08);
  border-color: rgba(249,115,22,0.6);
}

.btn-lg  { padding: 16px 32px; font-size: 16px; border-radius: 12px; }
.btn-sm  { padding: 8px 18px;  font-size: 13px; border-radius: 8px;  }

/* ── Cards ── */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(249,115,22,0.28);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.card-persona {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}
.card-persona:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(249,115,22,0.32);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

/* ── Badges / Pills ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-orange {
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.28);
  color: #FB923C;
}
.badge-amber {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.25);
  color: #FCD34D;
}
.badge-green {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  color: #34D399;
}
.badge-blue {
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: #60A5FA;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6,8,12,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-link:hover { color: #E2E8F0; background: rgba(255,255,255,0.05); }
.nav-link.active { color: #E2E8F0; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Dropdown */
.nav-dropdown-parent { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 268px;
  background: #0E1118;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.65);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.nav-dropdown-parent:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-dropdown a:hover { background: rgba(255,255,255,0.06); }
.nav-dropdown .dd-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown .dd-label { font-size: 13px; font-weight: 600; color: #E2E8F0; }
.nav-dropdown .dd-sub   { font-size: 11px; color: #64748B; margin-top: 1px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.1); }
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #E8541A;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav Drawer ── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(5,9,15,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 20px 32px;
  z-index: 998;
  flex-direction: column;
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile-section {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #475569;
  padding: 16px 12px 6px;
}
.nav-mobile a {
  display: block;
  padding: 12px 14px;
  color: #CBD5E1;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-mobile a:hover, .nav-mobile a:active { background: rgba(255,255,255,0.06); color: #F1F5F9; }
.nav-mobile-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 8px 0; }
.nav-mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile-ctas .btn { display: block; text-align: center; }

/* ── Hero ── */
.hero { padding: 160px 0 80px; position: relative; overflow: hidden; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 24px;
  background: rgba(249,115,22,0.10);
  border: 1px solid rgba(249,115,22,0.22);
  font-size: 13px;
  font-weight: 600;
  color: #FB923C;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(17px, 2.5vw, 20px);
  color: #94A3B8;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stats > div {
  padding: 0 24px 0 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  margin-right: 24px;
}
.hero-stats > div:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #F8FAFC;
}
.hero-stat-label { font-size: 13px; color: #64748B; margin-top: 2px; }

/* ── Dashboard Mockup ── */
.dashboard-mockup {
  background: #0C111D;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.04);
}
.db-topbar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.db-dot { width: 10px; height: 10px; border-radius: 50%; }
.db-titlebar { flex: 1; display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.db-tab {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.db-tab.active { background: rgba(249,115,22,0.18); color: #FB923C; }
.db-tab:not(.active) { color: #64748B; }
.db-content { padding: 16px; }

.db-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 6px;
  transition: background 0.15s;
}
.db-row:hover { background: rgba(255,255,255,0.04); }
.db-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  color: white;
}
.db-info { flex: 1; min-width: 0; }
.db-name    { font-size: 13px; font-weight: 600; color: #E2E8F0; }
.db-company { font-size: 11px; color: #64748B; margin-top: 1px; }

/* Funnel stage pills */
.stage-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.stage-disco    { background: rgba(249,115,22,0.12); color: #FB923C;  border: 1px solid rgba(249,115,22,0.22); }
.stage-proposal { background: rgba(59,130,246,0.12);  color: #60A5FA; border: 1px solid rgba(59,130,246,0.22); }
.stage-closing  { background: rgba(16,185,129,0.12);  color: #34D399; border: 1px solid rgba(16,185,129,0.22); }
.stage-closed   { background: rgba(16,185,129,0.2);   color: #34D399; border: 1px solid rgba(16,185,129,0.3);  }

/* ── Premium SVG Icon Containers ── */
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}
.icon-orange  { background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.22); color: #FB923C; }
.icon-amber   { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.22); color: #FCD34D; }
.icon-green   { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.22); color: #34D399; }
.icon-blue    { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.22); color: #60A5FA; }
.icon-rose    { background: rgba(244,63,94,0.12);  border: 1px solid rgba(244,63,94,0.22);  color: #FB7185; }
.icon-violet  { background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.22); color: #A78BFA; }

/* ── Feature Card ── */
.feature-card {
  padding: 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s ease;
}
.feature-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(249,115,22,0.24);
  transform: translateY(-3px);
}
.feature-card h3 { font-size: 17px; font-weight: 700; color: #F1F5F9; margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: #64748B; line-height: 1.68; }

/* ── Feature Grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── Persona Cards ── */
.persona-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.persona-icon { font-size: 36px; margin-bottom: 20px; }
.persona-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

/* ── How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
}
.steps-grid::after {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 1px;
  background: linear-gradient(90deg, rgba(249,115,22,0.5), rgba(234,88,12,0.4));
}
.step { padding: 40px 32px; text-align: center; position: relative; }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316, #EA580C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(249,115,22,0.45);
}
.step h3 { font-size: 18px; font-weight: 700; color: #F1F5F9; margin-bottom: 10px; }
.step p   { font-size: 14px; color: #64748B; line-height: 1.65; }

/* ── Comparison Table ── */
.comparison-table { width: 100%; border-collapse: collapse; border-radius: 16px; overflow: hidden; }
.comparison-table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #94A3B8;
}
.comparison-table th.highlight { background: rgba(249,115,22,0.10); color: #FB923C; }
.comparison-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: #94A3B8;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.comparison-table td.highlight { background: rgba(249,115,22,0.05); color: #E2E8F0; font-weight: 500; }
.comparison-table td:first-child { color: #E2E8F0; font-weight: 500; }
.comparison-table tr:last-child td { border-bottom: none; }
.check   { color: #34D399; font-size: 16px; }
.cross   { color: #475569; font-size: 16px; }
.partial { color: #FCD34D; font-size: 16px; }

/* ── Logos Bar ── */
.logos-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 36px 0;
  opacity: 0.38;
  filter: grayscale(1);
}
.logo-item { font-size: 20px; font-weight: 800; color: #94A3B8; letter-spacing: -0.02em; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  padding: 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
}
.testimonial-text { font-size: 15px; color: #CBD5E1; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: #E2E8F0; }
.testimonial-role { font-size: 12px; color: #64748B; margin-top: 2px; }

/* ── Pain Point List ── */
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}
.pain-title { font-size: 15px; font-weight: 600; color: #E2E8F0; margin-bottom: 4px; }
.pain-desc  { font-size: 13px; color: #64748B; line-height: 1.55; }

/* ── Solution List ── */
.solution-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #CBD5E1;
  line-height: 1.5;
}
.solution-list li::before {
  content: '';
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 6px;
  background: rgba(249,115,22,0.14) url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5L4.5 8.5L11 1.5' stroke='%23F97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(249,115,22,0.25);
  margin-top: 1px;
}

/* ── Integration List ── */
.int-name { font-size: 15px; font-weight: 700; color: #E2E8F0; margin-bottom: 2px; }
.int-desc { font-size: 13px; color: #94A3B8; line-height: 1.5; }

/* ── ROI Stats ── */
.roi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.roi-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 16px;
  background: rgba(249,115,22,0.06);
  border: 1px solid rgba(249,115,22,0.16);
}
.roi-num {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FB923C, #F97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.roi-label { font-size: 14px; color: #64748B; line-height: 1.45; }

/* ── Section Labels ── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #F97316;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.section-sub { font-size: 17px; color: #64748B; max-width: 560px; line-height: 1.65; margin: 0 auto; text-align: center; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.pricing-card {
  border-radius: 20px;
  padding: 36px 32px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.pricing-card.featured {
  background: rgba(249,115,22,0.07);
  border-color: rgba(249,115,22,0.32);
  box-shadow: 0 0 48px rgba(249,115,22,0.12);
}
.pricing-card.dfy {
  background: linear-gradient(160deg, rgba(249,115,22,0.10), rgba(234,88,12,0.06));
  border-color: rgba(249,115,22,0.35);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F97316, #EA580C);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-tier   { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #64748B; margin-bottom: 8px; }
.pricing-price  { font-size: 44px; font-weight: 900; letter-spacing: -0.03em; color: #F8FAFC; line-height: 1; }
.pricing-period { font-size: 13px; color: #64748B; margin-top: 4px; }
.pricing-desc   { font-size: 14px; color: #64748B; margin: 18px 0; line-height: 1.6; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 20px 0 28px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.4;
}
.pricing-features li::before {
  content: '';
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(249,115,22,0.14) url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23F97316' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(249,115,22,0.22);
  margin-top: 1px;
}

/* ── Integrations ── */
.integrations-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.integration-item {
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 12px;
  transition: all 0.2s;
}
.integration-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(249,115,22,0.22);
  transform: translateY(-2px);
}
.integration-item .int-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.integration-item .int-name { font-size: 11px; color: #64748B; font-weight: 500; text-align: center; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 24px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; color: #E2E8F0; gap: 16px; }
.faq-answer { font-size: 14px; color: #64748B; line-height: 1.7; margin-top: 16px; }
.faq-chevron { color: #64748B; font-size: 20px; flex-shrink: 0; }

/* ── Footer ── */
footer {
  background: #080B12;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p { font-size: 14px; color: #64748B; line-height: 1.7; margin-top: 14px; max-width: 240px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  margin-bottom: 18px;
}
.footer-col a { display: block; font-size: 14px; color: #64748B; text-decoration: none; margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: #E2E8F0; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 13px; color: #475569; }

/* ── Pill / Tag ── */
.pill {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: #94A3B8;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.pill:hover { background: rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.25); color: #FB923C; }

/* ── DFY Service Card ── */
.dfy-banner {
  border-radius: 20px;
  padding: 48px;
  background: linear-gradient(135deg, rgba(249,115,22,0.10), rgba(234,88,12,0.06));
  border: 1px solid rgba(249,115,22,0.28);
  position: relative;
  overflow: hidden;
}
.dfy-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.dfy-includes { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 24px 0; }
.dfy-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #CBD5E1;
}
.dfy-item svg { flex-shrink: 0; color: #F97316; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .integrations-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 60px; }
  .feature-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  /* Nav mobile */
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex; }
  .nav-actions .btn { display: none; }  /* hide all nav buttons on mobile — use drawer instead */
  /* Hero — hide forced line breaks so headline flows naturally */
  .hero-br { display: none; }
  /* Hero */
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats > div { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 0 0 20px 0; margin: 0; }
  .hero-stats > div:last-child { border-bottom: none; padding-bottom: 0; }
  /* Misc */
  .logos-bar { gap: 28px; }
  .dfy-includes { grid-template-columns: 1fr; }
  /* Comparison cards — stack vertically */
  .silo-compare { grid-template-columns: 1fr !important; gap: 16px !important; }
  .silo-arrow { display: none; }
  /* Universal mobile stack utility — overrides inline styles too */
  .mob-stack { grid-template-columns: 1fr !important; }
  .mob-stack > * { min-width: 0; }
  /* Blog */
  .blog-grid { grid-template-columns: 1fr !important; }
  .article-body { padding: 0 20px 72px !important; }
}

/* ── Blog Index ── */
.blog-hero { padding: 140px 0 72px; position: relative; overflow: hidden; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.blog-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: rgba(232,84,26,0.3); transform: translateY(-3px); }
.blog-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.blog-card-thumb {
  height: 200px;
  background: linear-gradient(135deg, rgba(232,84,26,0.15), rgba(139,92,246,0.1));
  position: relative;
  overflow: hidden;
}
.blog-card-featured .blog-card-thumb { height: auto; min-height: 260px; }
.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-featured .blog-card-body { padding: 40px; }
.blog-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.blog-cat-orange { background: rgba(232,84,26,0.12); color: #F97316; }
.blog-cat-blue   { background: rgba(59,130,246,0.12); color: #60A5FA; }
.blog-cat-green  { background: rgba(16,185,129,0.12); color: #34D399; }
.blog-cat-purple { background: rgba(139,92,246,0.12); color: #A78BFA; }
.blog-title { font-size: 18px; font-weight: 700; color: #F1F5F9; line-height: 1.35; margin-bottom: 10px; }
.blog-card-featured .blog-title { font-size: clamp(22px, 2.5vw, 28px); }
.blog-excerpt { font-size: 14px; color: #64748B; line-height: 1.65; flex: 1; margin-bottom: 20px; }
.blog-meta { font-size: 12px; color: #475569; display: flex; align-items: center; gap: 14px; }
.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #E8541A;
  text-decoration: none;
  margin-top: 16px;
}
.blog-read-link:hover { color: #F06830; }

/* ── Article Page ── */
.article-hero { padding: 140px 0 52px; position: relative; overflow: hidden; }
.article-body { max-width: 780px; margin: 0 auto; padding: 0 24px 96px; }
.article-body h2 { font-size: clamp(20px,2.5vw,26px); font-weight: 800; letter-spacing: -0.02em; color: #F1F5F9; margin: 48px 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.article-body h3 { font-size: 17px; font-weight: 700; color: #E2E8F0; margin: 32px 0 12px; }
.article-body p { font-size: 16px; color: #94A3B8; line-height: 1.8; margin-bottom: 20px; }
.article-body ul, .article-body ol { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; }
.article-body li { font-size: 15px; color: #94A3B8; line-height: 1.7; padding-left: 22px; position: relative; }
.article-body li::before { content: '–'; position: absolute; left: 0; color: #E8541A; font-weight: 700; }
.article-body ol { counter-reset: article-ol; }
.article-body ol li { counter-increment: article-ol; }
.article-body ol li::before { content: counter(article-ol) '.'; color: #E8541A; font-weight: 700; font-size: 13px; }
.article-body strong { color: #E2E8F0; font-weight: 600; }
.article-body a { color: #E8541A; text-decoration: underline; text-underline-offset: 3px; }
.article-callout {
  background: rgba(232,84,26,0.06);
  border: 1px solid rgba(232,84,26,0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 15px;
  color: #CBD5E1;
  line-height: 1.7;
}
.article-callout strong { color: #F97316; }
.article-cta {
  background: linear-gradient(135deg, rgba(232,84,26,0.1), rgba(139,92,246,0.08));
  border: 1px solid rgba(232,84,26,0.25);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}
.article-cta h3 { font-size: 20px; margin-bottom: 10px; color: #F1F5F9; }
.article-cta p { font-size: 14px; color: #94A3B8; margin-bottom: 20px; }
.article-faq { margin-top: 56px; }
.article-faq h2 { font-size: clamp(20px,2.5vw,26px); font-weight: 800; color: #F1F5F9; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 14px; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); padding: 20px 0; }
.faq-q { font-size: 16px; font-weight: 600; color: #E2E8F0; margin-bottom: 10px; }
.faq-a { font-size: 15px; color: #94A3B8; line-height: 1.7; }
.article-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 40px 0; }
@media (max-width: 768px) {
  .blog-card-featured { grid-template-columns: 1fr; }
  .blog-card-featured .blog-card-thumb { min-height: 180px; }
}

/* ═══════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
════════════════════════════════════════════════════════ */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  color: #94A3B8;
  flex-shrink: 0;
  padding: 0;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.10);
  color: #E2E8F0;
}
/* Show moon icon (dark mode default), hide sun */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

/* ── Mobile drawer theme toggle row ── */
.theme-toggle-mob {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #CBD5E1;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.theme-toggle-mob:hover,
.theme-toggle-mob:active { background: rgba(255,255,255,0.06); color: #F1F5F9; }
/* Icons */
.theme-toggle-mob .icon-sun  { display: none;  flex-shrink: 0; }
.theme-toggle-mob .icon-moon { display: block; flex-shrink: 0; }
/* Labels */
.theme-toggle-mob .ttm-dark  { display: block; }
.theme-toggle-mob .ttm-light { display: none;  }

/* Light mode flip */
html.light .theme-toggle-mob { color: #374151; }
html.light .theme-toggle-mob:hover,
html.light .theme-toggle-mob:active { background: rgba(0,0,0,0.04); color: #0F172A; }
html.light .theme-toggle-mob .icon-sun  { display: block !important; }
html.light .theme-toggle-mob .icon-moon { display: none  !important; }
html.light .theme-toggle-mob .ttm-dark  { display: none  !important; }
html.light .theme-toggle-mob .ttm-light { display: block !important; }

/* ═══════════════════════════════════════════════════════
   LIGHT MODE  —  html.light overrides
   !important is used intentionally: it is the only way
   to beat both class-based and inline styles from an
   external stylesheet when CSS variables are not used
   consistently across every page.
════════════════════════════════════════════════════════ */

/* Toggle button flip in light mode */
html.light .theme-toggle {
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.10) !important;
  color: #475569 !important;
}
html.light .theme-toggle:hover {
  background: rgba(0,0,0,0.09) !important;
  color: #1E293B !important;
}
html.light .theme-toggle .icon-sun  { display: block !important; }
html.light .theme-toggle .icon-moon { display: none  !important; }

/* ── Base ── */
html.light body {
  background-color: #F8FAFC !important;
  color: #1E293B !important;
}
html.light ::-webkit-scrollbar-track { background: #F1F5F9 !important; }
html.light ::-webkit-scrollbar-thumb { background: rgba(232,84,26,0.30) !important; }

/* Grid — keep pattern, softer on light */
html.light .grid-bg {
  background-image:
    linear-gradient(rgba(232,84,26,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,84,26,0.06) 1px, transparent 1px) !important;
}

/* Glow orbs — much more subtle */
html.light .hero-glow {
  background: radial-gradient(ellipse at center,
    rgba(232,84,26,0.07) 0%, rgba(234,88,12,0.02) 45%, transparent 70%) !important;
}
html.light .section-glow-left,
html.light .section-glow-right { opacity: 0.22 !important; }

/* ── Typography ── */
html.light h1, html.light h2, html.light h3,
html.light h4, html.light h5, html.light h6 { color: #0F172A !important; }

/* ── Navigation ── */
html.light .nav {
  background: rgba(248,250,252,0.94) !important;
  border-bottom-color: rgba(0,0,0,0.08) !important;
}
html.light .nav-logo-text { color: #0F172A !important; }
html.light .nav-link { color: #475569 !important; }
html.light .nav-link:hover { color: #0F172A !important; background: rgba(0,0,0,0.04) !important; }
html.light .nav-link.active { color: #0F172A !important; }

html.light .nav-dropdown {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.09) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.13) !important;
}
html.light .nav-dropdown a:hover { background: rgba(0,0,0,0.04) !important; }
html.light .nav-dropdown .dd-label { color: #1E293B !important; }
html.light .nav-dropdown .dd-sub   { color: #64748B !important; }

/* Mobile nav drawer */
html.light .nav-mobile {
  background: rgba(248,250,252,0.99) !important;
  border-bottom-color: rgba(0,0,0,0.08) !important;
}
html.light .nav-mobile a { color: #374151 !important; }
html.light .nav-mobile a:hover,
html.light .nav-mobile a:active { background: rgba(0,0,0,0.04) !important; color: #0F172A !important; }
html.light .nav-mobile-section { color: #94A3B8 !important; }
html.light .nav-mobile-divider { background: rgba(0,0,0,0.07) !important; }
html.light .nav-mobile-ctas    { border-top-color: rgba(0,0,0,0.08) !important; }
html.light .nav-hamburger {
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.10) !important;
}

/* ── Hero ── */
html.light .hero-sub        { color: #475569 !important; }
html.light .hero-eyebrow    { background: rgba(232,84,26,0.08) !important; }
html.light .hero-stat-num   { color: #0F172A !important; }
html.light .hero-stat-label { color: #64748B !important; }
html.light .hero-stats      { border-top-color: rgba(0,0,0,0.08) !important; }
html.light .hero-stats > div { border-right-color: rgba(0,0,0,0.08) !important; }

/* ── Backgrounds ── */
html.light .bg-primary   { background-color: #F8FAFC !important; }
html.light .bg-secondary { background-color: #EFF3F8 !important; }

/* ── Buttons ── */
html.light .btn-secondary {
  background: rgba(0,0,0,0.04) !important;
  color: #374151 !important;
  border-color: rgba(0,0,0,0.12) !important;
}
html.light .btn-secondary:hover {
  background: rgba(0,0,0,0.07) !important;
  border-color: rgba(0,0,0,0.20) !important;
}
html.light .btn-ghost       { color: #475569 !important; }
html.light .btn-ghost:hover { color: #1E293B !important; }
html.light .btn-orange-outline {
  color: #D14318 !important;
  border-color: rgba(209,67,24,0.35) !important;
}
html.light .btn-orange-outline:hover { background: rgba(209,67,24,0.07) !important; }

/* ── Cards ── */
html.light .card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
html.light .card:hover {
  background: #FFFFFF !important;
  border-color: rgba(232,84,26,0.25) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.10) !important;
}
html.light .card-persona {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.07) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}
html.light .card-persona:hover {
  background: #FFFFFF !important;
  border-color: rgba(232,84,26,0.25) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.10) !important;
}

/* Feature cards */
html.light .feature-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.07) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}
html.light .feature-card:hover { border-color: rgba(232,84,26,0.22) !important; }
html.light .feature-card h3    { color: #0F172A !important; }
html.light .feature-card p     { color: #475569 !important; }

/* ── Testimonials ── */
html.light .testimonial {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.07) !important;
}
html.light .testimonial-text { color: #374151 !important; }
html.light .testimonial-name { color: #0F172A !important; }
html.light .testimonial-role { color: #64748B !important; }

/* ── Pain / Solution lists ── */
html.light .pain-list li {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.07) !important;
}
html.light .pain-title { color: #0F172A !important; }
html.light .pain-desc  { color: #475569 !important; }
html.light .solution-list li { color: #374151 !important; }

/* ── Steps ── */
html.light .step h3 { color: #0F172A !important; }
html.light .step p  { color: #475569 !important; }

/* ── Section misc ── */
html.light .section-sub { color: #475569 !important; }

/* ── ROI cards ── */
html.light .roi-card {
  background: rgba(232,84,26,0.05) !important;
  border-color: rgba(232,84,26,0.14) !important;
}
html.light .roi-label { color: #475569 !important; }

/* ── Dashboard mockup ── */
html.light .dashboard-mockup {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.10) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05) !important;
}
html.light .db-topbar {
  background: rgba(0,0,0,0.02) !important;
  border-bottom-color: rgba(0,0,0,0.07) !important;
}
html.light .db-row:hover      { background: rgba(0,0,0,0.03) !important; }
html.light .db-name           { color: #1E293B !important; }
html.light .db-company        { color: #64748B !important; }
html.light .db-tab:not(.active) { color: #94A3B8 !important; }

/* ── Comparison table ── */
html.light .comparison-table th {
  background: rgba(0,0,0,0.03) !important;
  border-bottom-color: rgba(0,0,0,0.08) !important;
  color: #475569 !important;
}
html.light .comparison-table th.highlight { background: rgba(232,84,26,0.08) !important; }
html.light .comparison-table td {
  color: #475569 !important;
  border-bottom-color: rgba(0,0,0,0.05) !important;
}
html.light .comparison-table td:first-child { color: #1E293B !important; }
html.light .comparison-table td.highlight {
  color: #1E293B !important;
  background: rgba(232,84,26,0.04) !important;
}

/* ── Integration items ── */
html.light .integration-item {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.07) !important;
}
html.light .integration-item:hover { border-color: rgba(232,84,26,0.20) !important; }
html.light .integration-item .int-name { color: #64748B !important; }

/* ── Logos bar ── */
html.light .logos-bar { filter: grayscale(1) !important; opacity: 0.45 !important; }
html.light .logo-item { color: #475569 !important; }

/* ── FAQ ── */
html.light .faq-item     { border-bottom-color: rgba(0,0,0,0.07) !important; }
html.light .faq-question { color: #1E293B !important; }
html.light .faq-answer   { color: #475569 !important; }
html.light .faq-chevron  { color: #94A3B8 !important; }
html.light .faq-q        { color: #1E293B !important; }
html.light .faq-a        { color: #475569 !important; }

/* ── Pricing ── */
html.light .pricing-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.08) !important;
}
html.light .pricing-card.featured {
  background: rgba(232,84,26,0.05) !important;
  border-color: rgba(232,84,26,0.30) !important;
  box-shadow: 0 0 48px rgba(232,84,26,0.09) !important;
}
html.light .pricing-card.dfy {
  background: linear-gradient(160deg, rgba(232,84,26,0.07), rgba(234,88,12,0.04)) !important;
  border-color: rgba(232,84,26,0.28) !important;
}
html.light .pricing-price    { color: #0F172A !important; }
html.light .pricing-tier     { color: #64748B !important; }
html.light .pricing-period   { color: #64748B !important; }
html.light .pricing-desc     { color: #475569 !important; border-bottom-color: rgba(0,0,0,0.06) !important; }
html.light .pricing-features li { color: #374151 !important; }

/* ── DFY Banner ── */
html.light .dfy-banner {
  background: linear-gradient(135deg, rgba(232,84,26,0.07), rgba(234,88,12,0.03)) !important;
  border-color: rgba(232,84,26,0.22) !important;
}
html.light .dfy-item { color: #374151 !important; }

/* ── Pill ── */
html.light .pill {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.08) !important;
  color: #475569 !important;
}
html.light .pill:hover {
  background: rgba(232,84,26,0.07) !important;
  color: #D14318 !important;
  border-color: rgba(232,84,26,0.22) !important;
}

/* ── Footer ── */
html.light footer {
  background: #EFF3F8 !important;
  border-top-color: rgba(0,0,0,0.08) !important;
}
html.light .footer-brand p     { color: #475569 !important; }
html.light .footer-col h4      { color: #94A3B8 !important; }
html.light .footer-col a       { color: #475569 !important; }
html.light .footer-col a:hover { color: #0F172A !important; }
html.light .footer-bottom      { border-top-color: rgba(0,0,0,0.06) !important; }
html.light .footer-bottom p    { color: #64748B !important; }

/* ── Blog cards ── */
html.light .blog-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.07) !important;
}
html.light .blog-title   { color: #0F172A !important; }
html.light .blog-excerpt { color: #475569 !important; }
html.light .blog-meta    { color: #64748B !important; }

/* ── Article body ── */
html.light .article-body h2 {
  color: #0F172A !important;
  border-bottom-color: rgba(0,0,0,0.07) !important;
}
html.light .article-body h3 { color: #1E293B !important; }
html.light .article-body p  { color: #374151 !important; }
html.light .article-body li { color: #374151 !important; }
html.light .article-callout {
  background: rgba(232,84,26,0.04) !important;
  border-color: rgba(232,84,26,0.15) !important;
  color: #374151 !important;
}
html.light .article-cta {
  background: linear-gradient(135deg, rgba(232,84,26,0.06), rgba(139,92,246,0.04)) !important;
  border-color: rgba(232,84,26,0.18) !important;
}
html.light .article-cta h3 { color: #0F172A !important; }
html.light .article-cta p  { color: #475569 !important; }
html.light .article-divider { background: rgba(0,0,0,0.07) !important; }
html.light .article-faq h2  {
  color: #0F172A !important;
  border-bottom-color: rgba(0,0,0,0.07) !important;
}

/* ════════════════════════════════════════════════════════
   PIPELINE FLOW DIAGRAMS — light mode fixes
   Each page uses its own class prefix to avoid conflicts.
════════════════════════════════════════════════════════ */

/* --- Node circles ---
   In dark mode: background #05090F, outline 6px solid #05090F
   In light mode: match the page bg so the gap ring disappears cleanly */
html.light .hiw-node,
html.light .sl-pipe-node,
html.light .f-pipe-node,
html.light .sc-pipe-node,
html.light .nm-pipe-node,
html.light .pipe-node {
  background: #F8FAFC !important;
  outline-color: #F8FAFC !important;
}

/* --- Cards below nodes ---
   In dark mode: near-transparent on dark bg.
   In light mode: needs solid white + dark border to be visible */
html.light .hiw-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07) !important;
}
html.light .hiw-card:hover { background: #FFFFFF !important; }
html.light .hiw-card h3 { color: #0F172A !important; }
html.light .hiw-card p  { color: #475569 !important; }

html.light .sl-pipe-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07) !important;
}
html.light .sl-pipe-card:hover { background: #FFFFFF !important; }
html.light .sl-pipe-card h4 { color: #0F172A !important; }
html.light .sl-pipe-card p  { color: #475569 !important; }

html.light .f-pipe-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07) !important;
}
html.light .f-pipe-card:hover { background: #FFFFFF !important; }
html.light .f-pipe-card h4 { color: #0F172A !important; }
html.light .f-pipe-card p  { color: #475569 !important; }

html.light .sc-pipe-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07) !important;
}
html.light .sc-pipe-card:hover { background: #FFFFFF !important; }
html.light .sc-pipe-card h4 { color: #0F172A !important; }
html.light .sc-pipe-card p  { color: #475569 !important; }

html.light .nm-pipe-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07) !important;
}
html.light .nm-pipe-card:hover { background: #FFFFFF !important; }
html.light .nm-pipe-card h4 { color: #0F172A !important; }
html.light .nm-pipe-card p  { color: #475569 !important; }

html.light .pipe-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07) !important;
}
html.light .pipe-card:hover { background: #FFFFFF !important; }
html.light .pipe-card h4 { color: #0F172A !important; }
html.light .pipe-card p  { color: #475569 !important; }

/* --- Animated packet dots ---
   In dark mode: white dot with white + orange glow.
   In light mode: dark dot (visible on light bg) with softer glow */
html.light .hiw-packet,
html.light .sl-pipe-packet,
html.light .f-pipe-packet,
html.light .sc-pipe-packet,
html.light .nm-pipe-packet,
html.light .pipe-packet {
  background: #1E293B !important;
  box-shadow: 0 0 6px rgba(30,41,59,0.55), 0 0 16px rgba(232,84,26,0.38) !important;
}

/* --- Endpoint labels --- */
html.light .hiw-ep,
html.light .sl-pipe-ep,
html.light .f-pipe-ep,
html.light .sc-pipe-ep,
html.light .nm-pipe-ep,
html.light .pipe-ep { color: #475569 !important; }

/* --- Badges inside pipeline cards --- */
html.light .hiw-badge,
html.light .sl-pipe-badge,
html.light .f-pipe-badge,
html.light .sc-pipe-badge,
html.light .nm-pipe-badge,
html.light .pipe-badge {
  background: rgba(0,0,0,0.05) !important;
  color: #374151 !important;
  border-color: rgba(0,0,0,0.08) !important;
}

/* ════════════════════════════════════════════════════════
   LIGHT MODE — INLINE STYLE OVERRIDES
   Sections and divs that use inline style="background:..."
   cannot be targeted by class selectors, so we use:
   1. A universal section rule (highest-impact fix)
   2. CSS attribute selectors [style*="..."] for specific values
   These all use !important which beats inline styles per the
   CSS cascade spec (author !important > author normal).
════════════════════════════════════════════════════════ */

/* Universal section background fix — covers ALL <section> elements
   regardless of whether their bg is set by class or inline style */
html.light section { background-color: #F8FAFC !important; }

/* Alternate-rhythm sections: if they had secondary dark bg, give them
   a very slightly off-white tint to preserve visual rhythm */
html.light section[style*="#0A0D14"],
html.light section[style*="#080B12"],
html.light section[style*="#0E1118"] { background-color: #EFF3F8 !important; }

/* Non-section dark-bg containers (divs, articles, etc.) */
html.light [style*="background:#0A0D14"]  { background-color: #EFF3F8 !important; }
html.light [style*="background: #0A0D14"] { background-color: #EFF3F8 !important; }
html.light [style*="background:#080B12"]  { background-color: #EFF3F8 !important; }
html.light [style*="background: #080B12"] { background-color: #EFF3F8 !important; }
html.light [style*="background:#06080C"]  { background-color: #F8FAFC !important; }
html.light [style*="background:#05090F"]  { background-color: #F8FAFC !important; }
html.light [style*="background:#0C111D"]  { background-color: #FFFFFF !important; }
html.light [style*="background:#0E1118"]  { background-color: #EFF3F8 !important; }

/* Inline light text colours — remap to dark equivalents */
html.light [style*="color:#E2E8F0"],
html.light [style*="color: #E2E8F0"]  { color: #1E293B !important; }

html.light [style*="color:#CBD5E1"],
html.light [style*="color: #CBD5E1"]  { color: #374151 !important; }

html.light [style*="color:#F8FAFC"],
html.light [style*="color: #F8FAFC"]  { color: #0F172A !important; }

html.light [style*="color:#F1F5F9"],
html.light [style*="color: #F1F5F9"]  { color: #0F172A !important; }

html.light [style*="color:#94A3B8"],
html.light [style*="color: #94A3B8"]  { color: #475569 !important; }

html.light [style*="color:#475569"],
html.light [style*="color: #475569"]  { color: #374151 !important; }

/* Inline white-on-dark dividers → dark-on-light */
html.light [style*="background:rgba(255,255,255,0.06)"] { background: rgba(0,0,0,0.07) !important; }
html.light [style*="background:rgba(255,255,255,0.07)"] { background: rgba(0,0,0,0.07) !important; }
html.light [style*="background:rgba(255,255,255,0.05)"] { background: rgba(0,0,0,0.06) !important; }

/* Inline white borders → dark borders */
html.light [style*="border:1px solid rgba(255,255,255,0.06)"]  { border-color: rgba(0,0,0,0.08) !important; }
html.light [style*="border:1px solid rgba(255,255,255,0.07)"]  { border-color: rgba(0,0,0,0.08) !important; }
html.light [style*="border:1px solid rgba(255,255,255,0.08)"]  { border-color: rgba(0,0,0,0.09) !important; }
html.light [style*="border:1px solid rgba(255,255,255,0.10)"]  { border-color: rgba(0,0,0,0.10) !important; }
html.light [style*="border:1px solid rgba(255,255,255,0.12)"]  { border-color: rgba(0,0,0,0.11) !important; }

/* Inline border-top / border-bottom white separators */
html.light [style*="border-top:1px solid rgba(255,255,255"]   { border-top-color:    rgba(0,0,0,0.08) !important; }
html.light [style*="border-bottom:1px solid rgba(255,255,255"] { border-bottom-color: rgba(0,0,0,0.08) !important; }
