/* ═══════════════════════════════════════════
   CSS VARIABLES — Marquee Insights Brand
   ═══════════════════════════════════════════ */
:root {
  /* Primary */
  --mi-orange: #f05a28;
  --mi-orange-80: #f2783d;
  --mi-orange-60: #fb9b6c;
  --mi-orange-40: #ffbc9b;
  --mi-orange-20: #ffddcc;
  --mi-orange-10: #ffede4;

  /* Secondary */
  --mi-blue: #006e96;
  --mi-blue-80: #338bab;
  --mi-blue-60: #66a8c0;
  --mi-blue-40: #99c5d5;
  --mi-blue-20: #cce2ea;
  --mi-blue-10: #e5f0f4;

  --mi-putty: #ded5cd;
  --mi-putty-80: #e5ded9;
  --mi-putty-60: #ece6e2;
  --mi-putty-40: #f2efec;
  --mi-putty-20: #f9f7f5;
  --mi-putty-10: #fcfbfa;

  --mi-grey: #807879;
  --mi-grey-80: #9d9798;
  --mi-grey-60: #b5b1b2;
  --mi-grey-40: #cecbcb;

  /* Accent */
  --mi-red: #be202e;
  --mi-yellow: #f79d1f;
  --mi-green: #98d1e4;
  --mi-cyan: #43aed4;
  --mi-purple: #90298d;

  /* Neutrals */
  --ink: #1a1617;
  --ink-light: #3d3536;
  --ink-muted: #5e5556;
  --white: #ffffff;
  --off-white: #faf8f6;

  /* Layout */
  --max-width: 1280px;
  --section-pad: clamp(80px, 10vw, 140px);
  --grid-gap: clamp(32px, 4vw, 64px);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; font-weight: 500; }

.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mi-orange);
}

/* ═══════════════════════════════════════════
   ANIMATION UTILITIES
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.site-header.scrolled {
  background: rgba(250, 248, 246, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--mi-orange);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  background: var(--mi-orange);
  color: var(--white) !important;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #d94d1f;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--section-pad);
  position: relative;
  overflow: hidden;
}

/* Subtle graph-line decorative element */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 55%;
  height: 120%;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 48px,
      var(--mi-orange-10) 48px,
      var(--mi-orange-10) 52px
    );
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 600px; }

.hero h1 {
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--mi-orange);
}
.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animated data visualization in hero */
.hero-graphic {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  position: relative;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--mi-orange-20);
  animation: pulse-ring 4s ease-in-out infinite;
}
.hero-ring:nth-child(1) { inset: 10%; border-color: var(--mi-orange-20); animation-delay: 0s; }
.hero-ring:nth-child(2) { inset: 22%; border-color: var(--mi-blue-20); animation-delay: 0.8s; }
.hero-ring:nth-child(3) { inset: 34%; border-color: var(--mi-putty); animation-delay: 1.6s; }

@keyframes pulse-ring {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

/* Stat cards floating in hero */
.hero-stat-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  animation: float 6s ease-in-out infinite;
}
.hero-stat-card .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.hero-stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--mi-grey);
  margin-top: 4px;
}
.hero-stat-card:nth-child(4) {
  top: 12%; right: 8%;
  animation-delay: 0s;
}
.hero-stat-card:nth-child(4) .stat-number { color: var(--mi-orange); }
.hero-stat-card:nth-child(5) {
  bottom: 20%; left: 4%;
  animation-delay: 1.5s;
}
.hero-stat-card:nth-child(5) .stat-number { color: var(--mi-blue); }
.hero-stat-card:nth-child(6) {
  bottom: 8%; right: 16%;
  animation-delay: 3s;
}
.hero-stat-card:nth-child(6) .stat-number { color: var(--mi-orange-80); }

/* Central motif */
.hero-center-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--mi-orange);
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 48px rgba(240, 90, 40, 0.3);
  overflow: hidden;
}
.hero-center-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  /* Invert orange icon to white using CSS filter */
  filter: brightness(0) invert(1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary {
  background: var(--mi-orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(240, 90, 40, 0.25);
}
.btn-primary:hover {
  background: #d94d1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240, 90, 40, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--mi-blue);
  border: 2px solid var(--mi-blue-40);
}
.btn-secondary:hover {
  border-color: var(--mi-blue);
  background: var(--mi-blue-10);
  transform: translateY(-2px);
}
.btn-ghost {
  background: none;
  padding: 0;
  color: var(--mi-orange);
  font-weight: 600;
}
.btn-ghost:hover { gap: 14px; }
.btn-ghost .arrow { transition: transform 0.3s; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════ */
.problem-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--mi-putty-20);
  border-radius: 12px;
  border-left: 3px solid var(--mi-orange-40);
  transition: border-color 0.3s, transform 0.3s;
}
.problem-list li:hover {
  border-left-color: var(--mi-orange);
  transform: translateX(4px);
}
.problem-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--mi-orange-10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mi-orange);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════
   OUTCOMES / STATS
   ═══════════════════════════════════════════ */
.outcomes-section {
  padding: var(--section-pad) 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.outcomes-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(240,90,40,0.08), transparent 70%);
  pointer-events: none;
}

.outcomes-section h2 { color: var(--white); }
.outcomes-section .eyebrow { color: var(--mi-orange-60); }

.outcomes-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.outcome-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.outcome-card:hover {
  border-color: rgba(240, 90, 40, 0.3);
  transform: translateY(-4px);
}

.outcome-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--mi-orange);
  line-height: 1;
  margin-bottom: 8px;
}
.outcome-label {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--white);
}
.outcome-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   COPILOT CALLOUT
   ═══════════════════════════════════════════ */
.copilot-section {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.copilot-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  padding: clamp(40px, 5vw, 64px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.04);
  border: 1px solid var(--mi-putty-60);
  position: relative;
  overflow: hidden;
}
.copilot-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--mi-orange), var(--mi-blue));
}

.copilot-pain {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 32px;
}
.copilot-pain li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.copilot-pain li::before {
  content: '×';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mi-orange-10);
  color: var(--mi-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.copilot-callout {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--mi-blue);
  padding: 20px 24px;
  background: var(--mi-blue-10);
  border-radius: 12px;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════
   HOW WE WORK — PROCESS
   ═══════════════════════════════════════════ */
.process-section {
  padding: var(--section-pad) 0;
  background: var(--mi-putty-20);
}

.process-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--mi-putty-60);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.process-step:hover {
  border-color: var(--mi-orange-40);
  box-shadow: 0 12px 40px rgba(240, 90, 40, 0.08);
  transform: translateY(-4px);
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--mi-orange-20);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step:hover .step-number {
  color: var(--mi-orange);
  transition: color 0.3s;
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.6; }

/* Connector lines */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -13px;
  width: 24px;
  height: 2px;
  background: var(--mi-orange-40);
  z-index: 1;
}

/* ═══════════════════════════════════════════
   CASE STUDY
   ═══════════════════════════════════════════ */
.case-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
}

.case-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.case-stat {
  padding: 24px;
  background: var(--mi-putty-20);
  border-radius: 14px;
  transition: transform 0.3s;
}
.case-stat:hover { transform: translateY(-3px); }
.case-stat .stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--mi-orange);
  margin-bottom: 4px;
}
.case-stat .stat-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.case-visual {
  position: relative;
  padding: 48px;
  background: linear-gradient(135deg, var(--mi-blue), #004d6a);
  border-radius: 20px;
  color: var(--white);
  overflow: hidden;
}
.case-visual::before {
  content: '';
  position: absolute;
  top: -20%; right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(240,90,40,0.15), transparent 70%);
  pointer-events: none;
}
.case-visual .eyebrow { color: var(--mi-orange-60); margin-bottom: 16px; }
.case-visual blockquote {
  font-size: 1.3rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.case-visual .attribution {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq-section {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: start;
}

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

.faq-item {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--mi-putty-60);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--mi-orange-40); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.faq-question .chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}
.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
  padding: var(--section-pad) 0;
  background: var(--mi-orange);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0,0,0,0.08), transparent 50%);
  pointer-events: none;
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.btn-white {
  background: var(--white);
  color: var(--mi-orange);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  padding: 64px 0 40px;
  background: var(--ink);
  color: rgba(255,255,255,0.5);
}

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

.footer-brand {
  max-width: 300px;
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--mi-orange-60); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════
   INTERIOR PAGES — Shared Components
   ═══════════════════════════════════════════ */

/* Page Hero (single-column, interior pages) */
.page-hero {
  padding: clamp(140px, 16vw, 200px) 0 clamp(64px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240,90,40,0.06), rgba(0,110,150,0.06));
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 45%;
  height: 140%;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 52px,
      var(--mi-orange-10) 52px,
      var(--mi-orange-10) 56px
    );
  opacity: 0.5;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  max-width: 820px;
  margin-bottom: 20px;
}
.page-hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Content Sections */
.content-section {
  padding: var(--section-pad) 0;
}
.section-alt {
  background: var(--mi-putty-20);
}
.section-dark {
  background: var(--ink);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--mi-orange-60); }

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--ink-muted); line-height: 1.7; }

.intro-text {
  max-width: 720px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

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

/* Content Cards */
.content-card {
  background: var(--white);
  border: 1px solid var(--mi-putty-60);
  border-radius: 14px;
  padding: 28px 26px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.content-card:hover {
  border-color: var(--mi-orange-40);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}
.content-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
}
.content-card p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Contrast Cards (fail vs. diff) */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contrast-card {
  border-radius: 14px;
  padding: 32px 28px;
}
.contrast-card h3 { margin-bottom: 18px; }
.contrast-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contrast-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.contrast-card li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 8px;
}
.contrast-fail {
  background: var(--mi-putty-40);
  border: 1px solid var(--mi-putty-60);
}
.contrast-fail li::before {
  background: var(--mi-grey-60);
}
.contrast-win {
  background: var(--mi-orange-10);
  border: 1px solid var(--mi-orange-20);
}
.contrast-win li::before {
  background: var(--mi-orange);
}

/* Numbered Steps */
.numbered-steps {
  list-style: none;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.numbered-step {
  counter-increment: step-counter;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--mi-putty-60);
  align-items: start;
}
.numbered-step:last-child { border-bottom: none; }
.numbered-step::before {
  content: counter(step-counter);
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  background: var(--mi-blue);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.numbered-step h3 { margin-bottom: 8px; }
.numbered-step p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Proof / Stat Cards */
.stat-card {
  background: var(--white);
  border: 1px solid var(--mi-putty-60);
  border-radius: 14px;
  padding: 28px 26px;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover {
  border-color: var(--mi-orange-40);
  transform: translateY(-3px);
}
.stat-card .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--mi-orange);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card h3 { margin-bottom: 10px; }
.stat-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Blockquote */
.pull-quote {
  border-left: 4px solid var(--mi-orange);
  padding: 20px 0 20px 24px;
  margin: 40px 0 0;
  max-width: 680px;
}
.pull-quote p {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 500;
  color: var(--ink-light);
  line-height: 1.55;
  font-style: italic;
}

/* CTA Row */
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:not(:last-child)::after { display: none; }
  .outcomes-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid,
  .problem-grid,
  .copilot-card,
  .case-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; padding-top: 120px; }
  .hero::before { width: 100%; opacity: 0.3; }
  .hero-visual { order: -1; }
  .hero-graphic { max-width: 320px; margin: 0 auto; }

  .page-hero { padding: 120px 0 64px; }
  .page-hero::after { display: none; }

  .outcomes-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .contrast-grid { grid-template-columns: 1fr; }

  .case-results {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .case-results { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .numbered-step { grid-template-columns: 48px 1fr; gap: 16px; }
}

/* ═══════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════ */
.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 12px 16px;
  border: 1px solid var(--mi-putty-60);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mi-orange);
  box-shadow: 0 0 0 3px var(--mi-orange-10);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mi-grey-60);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235e5556' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-hint {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.form-submit {
  align-self: flex-start;
}
.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background: var(--mi-orange-10);
  border: 1px solid var(--mi-orange-20);
  border-radius: 16px;
}
.form-success h3 {
  color: var(--mi-orange);
  margin-bottom: 12px;
}
.form-success p {
  color: var(--ink-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
/* ═══════════════════════════════════════════
   MOBILE NAV — Class-based open state
   (replaces inline JS style manipulation)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links.nav-open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250, 248, 246, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    z-index: 99;
  }
}


/* ═══════════════════════════════════════════
   ARTICLE TEMPLATE — Shared across all
   insights/ article pages
   ═══════════════════════════════════════════ */
.article-body {
  max-width: 740px;
  margin: 0 auto;
}
.article-body p {
  margin-bottom: 1.4em;
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-body h2 {
  margin-top: 2.4em;
  margin-bottom: 0.6em;
}
.article-body ul,
.article-body ol {
  margin-bottom: 1.4em;
  padding-left: 1.5em;
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-body li {
  margin-bottom: 0.5em;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 740px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--mi-putty-60);
}
.article-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mi-blue);
  transition: color 0.2s;
}
.article-nav a:hover {
  color: var(--mi-orange);
  text-decoration: none;
}


/* ═══════════════════════════════════════════
   INSIGHTS INDEX — Grid & cards
   ═══════════════════════════════════════════ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--mi-putty-60);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.insight-card:hover {
  border-color: var(--mi-orange-40);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.insight-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mi-orange);
  margin-bottom: 14px;
}
.insight-card h3 { margin-bottom: 10px; }
.insight-card h3 a {
  color: var(--ink);
  transition: color 0.2s;
}
.insight-card h3 a:hover {
  color: var(--mi-orange);
  text-decoration: none;
}
.insight-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}
.insight-card .read-more {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mi-blue);
}
.insight-card .read-more:hover {
  text-decoration: none;
  color: var(--mi-orange);
}

/* Start-here routing strip (insights index) */
.start-here-strip { margin-bottom: 48px; }
.start-here-strip .strip-intro {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 720px;
}
.route-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.route-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.55;
}
.route-list li .route-trigger {
  color: var(--ink-muted);
  flex-shrink: 0;
}
.route-list li a {
  font-weight: 600;
  color: var(--mi-blue);
  transition: color 0.2s;
}
.route-list li a:hover {
  color: var(--mi-orange);
  text-decoration: none;
}

@media (max-width: 768px) {
  .insights-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════
   WHAT WE DO — Start-here chooser cards
   ═══════════════════════════════════════════ */
.start-here-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.start-here-card {
  padding: 28px 24px;
  border-radius: 16px;
  border: 2px solid var(--mi-putty-60);
  background: var(--white);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.start-here-card:hover {
  border-color: var(--mi-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(240, 90, 40, 0.08);
}
.start-here-card.featured {
  border-color: var(--mi-orange-40);
  background: var(--mi-orange-10);
}
.start-here-card .card-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mi-orange);
  margin-bottom: 10px;
}
.start-here-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.start-here-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.start-here-card .card-arrow {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mi-orange);
}

@media (max-width: 768px) {
  .start-here-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════
   SERVICE PAGES — Shared components
   (delivers-grid, contrast cards, exec cards,
    value cards, copilot cards)
   ═══════════════════════════════════════════ */

/* Delivers / value cards */
.delivers-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.delivers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.deliver-card {
  padding: 32px 28px;
  background: var(--mi-putty-20);
  border-radius: 16px;
  border: 1px solid var(--mi-putty-60);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.deliver-card:hover {
  border-color: var(--mi-orange-40);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(240, 90, 40, 0.06);
}
.deliver-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.deliver-card h3 { margin-bottom: 10px; }
.deliver-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Contrast grid (fail / win cards) */
.contrast-section {
  padding: var(--section-pad) 0;
}
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.contrast-card {
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--mi-putty-60);
}
.contrast-card.fail {
  background: var(--mi-putty-20);
}
.contrast-card.win {
  background: var(--mi-orange-10);
  border-color: var(--mi-orange-40);
}
.contrast-card .card-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.contrast-card.fail .card-label { color: var(--mi-grey); }
.contrast-card.win .card-label { color: var(--mi-orange); }
.contrast-card h3 { margin-bottom: 10px; }
.contrast-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.contrast-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.contrast-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Exec cards (3-col audience targeting) */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.exec-card {
  padding: 32px 28px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--mi-putty-60);
  transition: border-color 0.3s, transform 0.3s;
}
.exec-card:hover {
  border-color: var(--mi-orange-40);
  transform: translateY(-4px);
}
.exec-card h3 { margin-bottom: 10px; }
.exec-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Value grid (4-col numbered steps variant) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Copilot card (audience-specific) */
.copilot-section {
  padding: var(--section-pad) 0;
}
.copilot-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
}
.copilot-pain {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.copilot-callout {
  padding: 40px 36px;
  background: linear-gradient(135deg, var(--mi-blue), #004d6a);
  border-radius: 20px;
  color: var(--white);
}

/* White outline button (used on dark sections) */
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}
.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .delivers-grid,
  .exec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .delivers-grid,
  .contrast-grid,
  .value-grid,
  .exec-grid {
    grid-template-columns: 1fr;
  }
}
/* ═══════════════════════════════════════════
   USE-CASE EXAMPLE CARD (layout only)
   Kit (ConvertKit) handles form styling and
   success states. This file only provides the
   card layout wrapper.
   Used on: copilot-reality.html
   ═══════════════════════════════════════════ */

.use-case-example {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--mi-putty-60);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.use-case-example::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mi-orange), var(--mi-blue));
}

.uce-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.uce-capture {
  background: var(--mi-putty-20);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 32px);
}

@media (max-width: 768px) {
  .uce-inner {
    grid-template-columns: 1fr;
  }
}