/* =========================================================
   Elanor Labs — modern stylesheet (v4, Elanor Labs tree brand: charcoal + olive)
   White-dominant, modern SaaS aesthetic, Gong/Salesloft pattern.
   Brand Guidelines v2.0 (Sept 2026): Poppins headings/accents, Inter body; Charcoal #2C3339, Sage #4C5B4B, Apple Green #7F9A33.
   ========================================================= */

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

:root {
  /* Brand */
  --navy: #2C3339;
  --navy-soft: #4C5B4B;
  --gold: #7F9A33;
  --gold-bright: #A9BD6E;
  --gold-soft: #E7ECD6;
  --gold-tint: rgba(127,154,51,0.06);
  --cream: #F4F6F1;
  --white: #FFFFFF;

  /* Neutrals */
  --slate: #4C5B4B;
  --slate-soft: #7F8A80;
  --line: rgba(44,51,57,0.08);
  --line-strong: rgba(44,51,57,0.14);

  /* Semantic */
  --green: #7F9A33;
  --green-soft: #E7ECD6;
  --red: #C5564E;
  --red-soft: #FBE9E7;

  /* Typography */
  --ff-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-accent: 'Poppins', 'Inter', system-ui, sans-serif;
  --ff-head: 'Poppins', 'Inter', system-ui, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(44,51,57,0.04), 0 1px 3px rgba(44,51,57,0.06);
  --shadow-md: 0 8px 24px rgba(44,51,57,0.06), 0 2px 6px rgba(44,51,57,0.04);
  --shadow-lg: 0 24px 48px rgba(44,51,57,0.08), 0 8px 16px rgba(44,51,57,0.05);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.15s var(--ease);
  --t-med: 0.25s var(--ease);
  --t-slow: 0.4s var(--ease);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.6;
}

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: 68px;
  transition: box-shadow var(--t-med);
}
nav.scrolled { box-shadow: 0 2px 16px rgba(44,51,57,0.05); }

.nav-logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
  line-height: 0;
}
.logo-wordmark { height: 44px; width: auto; min-width: 200px; display: block; }
.nav-logo em { font-style: normal; color: var(--gold); font-weight: 500; margin-left: 0.32rem; }

.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links > li > a {
  font-size: 0.9rem; font-weight: 500; color: var(--slate);
  text-decoration: none; transition: color var(--t-fast);
  display: inline-block;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--navy); }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 8px;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  transition: background var(--t-fast), color var(--t-fast) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: 0.65em; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast);
}
.dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.dropdown-menu a:hover { background: var(--cream); color: var(--navy); }
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none;
  cursor: pointer;
  justify-content: center;
  padding: 0;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body { padding-top: 68px; }

/* ─── BUTTONS ─────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-dark {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.btn-primary { background: var(--navy); color: var(--white); border: 1.5px solid var(--navy); }
.btn-primary:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--line-strong); padding: 0.65rem 1.25rem; }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--navy); color: var(--white); padding: 0.85rem 1.75rem; }
.btn-dark:hover { background: var(--gold); color: var(--navy); }

.btn-secondary .arrow { transition: transform var(--t-fast); }
.btn-secondary:hover .arrow { transform: translateX(3px); }

/* Larger CTA size */
.hero .btn-primary, .hero .btn-secondary, .cta-banner .btn-dark {
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  border-radius: 10px;
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  padding: 4rem 5%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4.5rem;
  align-items: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -10%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(127,154,51,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero.simple {
  grid-template-columns: 1fr;
  padding: 4rem 5% 3rem;
  text-align: left;
}
.hero.simple .hero-text { max-width: 880px; }
.hero.simple .hero-sub { max-width: 720px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  background: var(--gold-soft);
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--gold); font-family: var(--ff-accent); font-weight: 500; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }

.hero-text { animation: fadeUp 0.6s var(--ease) 0.1s both; }
.hero-visual {
  display: flex; flex-direction: column; gap: 1rem;
  animation: fadeUp 0.6s var(--ease) 0.25s both;
  position: relative;
}

/* Stat cards (legacy support — used in old hero-visual structure) */
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat-card.dark { background: var(--navy); border-color: rgba(255,255,255,0.10); padding: 2rem 1.75rem; }
.stat-card.dark .stat-number { color: var(--white); }
.stat-card.dark .stat-label { color: rgba(255,255,255,0.7); }
.stat-card.dark .stat-watermark {
  position: absolute; right: -1rem; top: -1.5rem;
  font-family: var(--ff-accent);
  font-size: 12rem; font-weight: 600;
  color: rgba(127,154,51,0.06);
  line-height: 1; pointer-events: none; letter-spacing: -0.04em;
}
.stat-number {
  font-family: var(--ff-accent);
  font-size: 2.4rem; font-weight: 600;
  color: var(--navy); line-height: 1;
  margin-bottom: 0.3rem;
  position: relative; z-index: 1;
}
.stat-label { font-size: 0.85rem; color: var(--slate); font-weight: 400; position: relative; z-index: 1; }
.stat-source { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 0.5rem; letter-spacing: 0.04em; text-transform: uppercase; position: relative; z-index: 1; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.hero-badge {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.hero-badge-icon {
  width: 40px; height: 40px;
  background: rgba(127,154,51,0.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-badge-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.hero-badge-text strong { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.2rem; color: var(--white); }
.hero-badge-text span { font-size: 0.825rem; color: rgba(255,255,255,0.7); }

/* ─── PRODUCT MOCKUP (homepage hero) ──────────────── */
.product-mockup {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.pm-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.pm-title { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.pm-meta { font-size: 0.72rem; color: var(--slate-soft); margin-top: 0.15rem; }
.pm-score-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; padding: 1rem; background: var(--cream); border-radius: 10px; }
.pm-score-label { font-size: 0.72rem; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: 0.08em; }
.pm-score-num { font-family: var(--ff-accent); font-size: 2.25rem; font-weight: 600; color: var(--navy); line-height: 1; }
.pm-score-num em { color: var(--slate-soft); font-style: normal; font-size: 0.55em; font-weight: 500; }
.pm-skill { margin-bottom: 0.75rem; }
.pm-skill-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.3rem; }
.pm-skill-name { font-size: 0.78rem; color: var(--navy); font-weight: 500; }
.pm-skill-score { font-size: 0.78rem; color: var(--slate-soft); font-weight: 600; }
.pm-skill-bar { height: 5px; background: var(--cream); border-radius: 100px; overflow: hidden; }
.pm-skill-fill { height: 100%; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%); border-radius: 100px; }
.pm-skill.weak .pm-skill-fill { background: linear-gradient(90deg, #E8716B 0%, #F0918C 100%); }
.pm-moment { margin-top: 1.25rem; padding: 0.85rem 1rem; background: var(--green-soft); border-left: 3px solid var(--green); border-radius: 6px; font-size: 0.78rem; color: var(--navy); display: flex; align-items: flex-start; gap: 0.5rem; }
.pm-moment-tag { font-weight: 700; color: var(--green); margin-right: 0.25rem; font-size: 0.7rem; letter-spacing: 0.06em; }
.pm-floating-stat {
  position: absolute;
  bottom: -28px; right: -28px;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 130px;
}
.pm-floating-stat-num { font-family: var(--ff-accent); font-size: 1.85rem; color: var(--gold); font-weight: 600; line-height: 1; margin-bottom: 0.2rem; }
.pm-floating-stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.78); letter-spacing: 0.04em; }

/* ─── SECTION COMMON ──────────────────────────────── */
section { padding: 5.5rem 5%; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.section-title em { font-family: var(--ff-accent); font-weight: 500; font-style: normal; color: var(--gold); }

.section-sub {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.65;
  font-weight: 400;
  max-width: 700px;
}
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ─── VALUE STRIP ─────────────────────────────────── */
.value-strip {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 5%;
  display: flex; justify-content: space-around; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.value-item {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--navy);
}
.value-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.value-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
}

/* ─── PLATFORMS ───────────────────────────────────── */
.platforms { background: var(--white); padding: 3rem 5%; border-bottom: 1px solid var(--line); }
.platforms-label { text-align: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-soft); margin-bottom: 1.75rem; }
.platform-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0; }
.platform-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--slate);
  margin: 0.3rem;
  background: var(--white);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.platform-pill:hover { border-color: var(--gold); color: var(--navy); }
.platform-pill .pill-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ─── PROBLEM SPLIT ───────────────────────────────── */
.problem-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.85rem 2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid rgba(192,57,43,0.7);
}
.problem-card.way { background: var(--navy); color: var(--white); border-left-color: var(--gold); }
.problem-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.problem-card.way h3 { color: var(--white); }
.problem-card ul { list-style: none; }
.problem-card li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.92rem; color: var(--slate);
  line-height: 1.6; margin-bottom: 0.65rem;
}
.problem-card.way li { color: rgba(255,255,255,0.8); }
.problem-card li::before { content: '\2715'; color: rgba(192,57,43,0.7); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.problem-card.way li::before { content: '\2713'; color: var(--gold); }

/* ─── SERVICES / FEATURE GRID ─────────────────────── */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  position: relative;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }

.svc-pill {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--navy);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
}

.svc-icon-wrap {
  width: 44px; height: 44px;
  background: var(--gold-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.svc-icon-wrap svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.svc-title { font-family: var(--ff-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; line-height: 1.3; }
.svc-body { font-size: 0.9rem; color: var(--slate); line-height: 1.65; margin-bottom: 1.25rem; }
.svc-link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.3rem;
  transition: color var(--t-fast);
}
.svc-link:hover { color: var(--navy); }

/* ─── OUTCOMES STRIP / STATS ──────────────────────── */
.outcomes-strip { background: var(--navy); padding: 4rem 5%; }
.outcomes-header { text-align: center; margin-bottom: 2.5rem; }
.outcomes-header .section-label { color: var(--gold); }
.outcomes-header .section-title { color: var(--white); }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.outcome-card {
  background: transparent;
  padding: 1.25rem;
  text-align: center;
}
.outcome-number {
  font-family: var(--ff-accent);
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.outcome-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  font-weight: 400;
}
.outcome-label strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 0.2rem; font-size: 0.92rem; }

/* ─── PROCESS / HOW IT WORKS ──────────────────────── */
.process { background: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--gold) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.process-step { text-align: center; padding: 0 1rem; position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: var(--ff-accent);
  font-size: 1.5rem; font-weight: 600;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(127,154,51,0.15);
}
.step-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.55rem; }
.step-body { font-size: 0.88rem; color: var(--slate); line-height: 1.6; }

/* ─── ABOUT ───────────────────────────────────────── */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-block { position: relative; }
.about-image-placeholder { width: 100%; aspect-ratio: 4/5; background: var(--navy); border-radius: 16px; display: flex; align-items: flex-end; overflow: hidden; position: relative; }
.about-image-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.about-img-label { background: var(--gold); padding: 1.25rem 1.5rem; width: 100%; position: relative; z-index: 2; }
.about-img-label strong { display: block; font-family: var(--ff-accent); font-size: 1.1rem; color: var(--navy); }
.about-img-label span { font-size: 0.8rem; color: rgba(44,51,57,0.7); }
.about-accent { display: none; }
.about-text { font-size: 1rem; color: var(--slate); line-height: 1.75; margin-bottom: 1.25rem; }
.about-bullets { list-style: none; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.about-bullets li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.92rem; color: var(--navy); font-weight: 500; }
.about-bullets li::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 0.55rem; }

/* ─── COMPARE TABLE ───────────────────────────────── */
.compare { background: var(--cream); }
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 2rem;
  background: var(--white);
}
.compare-table thead th {
  padding: 1.1rem 1.5rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th:first-child { background: var(--white); color: var(--slate); text-align: left; }
.compare-table thead th:nth-child(2) { background: var(--white); color: var(--slate); text-align: center; }
.compare-table thead th:nth-child(3) { background: var(--navy); color: var(--gold); text-align: center; }
.compare-table tbody tr:nth-child(even) td { background: rgba(44,51,57,0.02); }
.compare-table tbody tr:nth-child(even) td:nth-child(3) { background: rgba(44,51,57,0.96); }
.compare-table tbody td { padding: 1rem 1.5rem; font-size: 0.875rem; border-bottom: 1px solid var(--line); }
.compare-table tbody td:first-child { color: var(--navy); font-weight: 600; }
.compare-table tbody td:nth-child(2) { text-align: center; color: var(--slate); background: var(--white); }
.compare-table tbody td:nth-child(3) { text-align: center; background: var(--navy); color: rgba(255,255,255,0.85); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.check-yes { color: var(--gold); font-size: 1.1rem; font-weight: 700; }
.check-no { color: rgba(192,57,43,0.6); font-size: 1.1rem; font-weight: 700; }

/* Rich variant */
.compare-table.rich { table-layout: fixed; }
.compare-table.rich th:nth-child(1), .compare-table.rich td:nth-child(1) { width: 22%; }
.compare-table.rich th:nth-child(2), .compare-table.rich td:nth-child(2) { width: 38%; }
.compare-table.rich th:nth-child(3), .compare-table.rich td:nth-child(3) { width: 40%; }
.compare-table.rich thead th { padding: 1rem 1.25rem; text-align: left; }
.compare-table.rich thead th:nth-child(2), .compare-table.rich thead th:nth-child(3) { text-align: left; }
.compare-table.rich tbody td { padding: 1.15rem 1.25rem; vertical-align: top; font-size: 0.9rem; line-height: 1.55; text-align: left; }
.compare-table.rich tbody td:nth-child(2), .compare-table.rich tbody td:nth-child(3) { text-align: left; }
.compare-table.rich .cell-label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.compare-table.rich tbody td:first-child .cell-label { color: var(--navy); }
.compare-table.rich tbody td:nth-child(2) .cell-label { color: var(--navy); }
.compare-table.rich tbody td:nth-child(3) .cell-label { color: var(--gold); }
.compare-table.rich .cell-note { display: block; font-size: 0.84rem; line-height: 1.55; font-weight: 400; }
.compare-table.rich tbody td:first-child .cell-note { color: var(--slate-soft); }
.compare-table.rich tbody td:nth-child(2) .cell-note { color: var(--slate); }
.compare-table.rich tbody td:nth-child(3) .cell-note { color: rgba(255,255,255,0.78); }

/* ─── FAQ ─────────────────────────────────────────── */
.faq { background: var(--white); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2.5rem;
}
.faq-item { background: var(--white); padding: 1.85rem 2rem; transition: background var(--t-fast); }
.faq-item:hover { background: var(--cream); }
.faq-q { font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.75rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; line-height: 1.4; }
.faq-q::after { content: '+'; color: var(--gold); font-size: 1.2rem; font-weight: 400; flex-shrink: 0; line-height: 1; }
.faq-a { font-size: 0.9rem; color: var(--slate); line-height: 1.75; }

/* ─── TESTIMONIALS ───────────────────────────────── */
.testimonials { background: var(--cream); }
.testimonials .section-label { color: var(--gold); }
.testimonials .section-title { color: var(--navy); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testi-quote { font-family: var(--ff-accent); font-size: 2rem; color: var(--gold); line-height: 1; margin-bottom: 1rem; }
.testi-text { font-size: 0.92rem; color: var(--slate); line-height: 1.7; margin-bottom: 1.5rem; }
.testi-author strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.testi-author span { font-size: 0.8rem; color: var(--slate-soft); }

/* ─── SERVE ───────────────────────────────────────── */
.serve { background: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 5.5rem 5%; }
.serve-visual { position: relative; width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.serve-ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.serve-ring:nth-child(1) { width: 100%; height: 100%; }
.serve-ring:nth-child(2) { width: 70%; height: 70%; }
.serve-ring:nth-child(3) { width: 40%; height: 40%; }
.serve-pin-group { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; z-index: 2; }
.serve-pin-label { font-family: var(--ff-accent); font-size: 0.85rem; font-weight: 500; color: var(--navy); background: var(--white); padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 100px; white-space: nowrap; }
.serve-pin { width: 14px; height: 14px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 6px rgba(127,154,51,0.18), 0 0 0 12px rgba(127,154,51,0.08); }
.serve-orbit { position: absolute; inset: 0; }
.serve-tag { position: absolute; display: flex; align-items: center; gap: 0.45rem; background: var(--white); padding: 0.4rem 0.75rem; border: 1px solid var(--line); border-radius: 100px; font-size: 0.78rem; color: var(--slate); white-space: nowrap; box-shadow: var(--shadow-sm); }
.serve-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.serve-name { font-weight: 600; color: var(--navy); }

/* ─── CTA BANNER ──────────────────────────────────── */
.cta-banner {
  padding: 4rem 5%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: flex;
  align-items: center; justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: 50%; left: 30%; transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(127,154,51,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-text { flex: 1; position: relative; z-index: 1; }
.cta-mark { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.cta-title { font-family: var(--ff-head); font-size: clamp(1.7rem, 2.6vw, 2.25rem); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 0.65rem; letter-spacing: -0.02em; }
.cta-title em { font-family: var(--ff-accent); font-style: normal; color: var(--gold-bright); font-weight: 500; }
.cta-sub { font-size: 0.95rem; color: rgba(255,255,255,0.78); line-height: 1.65; max-width: 600px; }
.cta-banner .btn-dark { background: var(--gold); color: var(--navy); border: none; padding: 0.95rem 2.25rem; font-size: 0.95rem; position: relative; z-index: 1; white-space: nowrap; }
.cta-banner .btn-dark:hover { background: var(--gold-bright); }

/* ─── CONTACT ─────────────────────────────────────── */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-info p { font-size: 0.95rem; color: var(--slate); line-height: 1.7; margin: 1rem 0 1.75rem; max-width: 480px; }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.9rem; color: var(--navy); }
.contact-detail svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 2rem; box-shadow: var(--shadow-sm); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  font-family: inherit; font-size: 0.92rem;
  color: var(--navy); background: var(--white);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 0.75rem 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(127,154,51,0.15); }
.form-submit { font-family: inherit; background: var(--navy); color: var(--white); border: none; padding: 0.9rem 2rem; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background var(--t-fast); width: 100%; }
.form-submit:hover { background: var(--gold); color: var(--navy); }

/* ─── FOOTER ──────────────────────────────────────── */
footer { background: var(--white); padding: 4rem 5% 2rem; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer-brand .nav-logo { color: var(--navy); margin-bottom: 1rem; display: inline-flex; align-items: center; }
.footer-brand .nav-logo em { color: var(--gold); }
.footer-brand p { font-size: 0.88rem; color: var(--slate); line-height: 1.65; max-width: 360px; }
.footer-col h4 { font-size: 0.78rem; color: var(--navy); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: var(--slate); text-decoration: none; font-size: 0.88rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; padding-top: 1.5rem; font-size: 0.78rem; color: var(--slate-soft); }

/* ─── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp 0.6s var(--ease) 0.1s both; }

/* ─── MOBILE RESPONSIVE ───────────────────────────── */
@media (max-width: 980px) {
  .services-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero { gap: 3rem; padding: 3rem 5%; }
  section { padding: 4rem 5%; }
}
@media (max-width: 768px) {
  body { padding-top: 60px; }
  nav { height: 60px; padding: 0.75rem 5%; }
  .nav-toggle { display: flex !important; }
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; gap: 0;
    padding: 0.5rem 5% 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 60px); overflow-y: auto;
    transform: translateY(-110%); visibility: hidden;
    transition: transform var(--t-med), visibility var(--t-med);
  }
  nav.open .nav-links { transform: translateY(0); visibility: visible; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; padding-top: 0.85rem; }
  .nav-links > li > a { display: block; padding: 0.95rem 0; font-size: 0.95rem; color: var(--navy) !important; font-weight: 500; }
  .nav-cta { text-align: center; padding: 0.85rem 1.25rem !important; display: block; }
  .nav-dropdown > a::after { display: none; }
  .dropdown-menu { position: static !important; transform: none !important; opacity: 1 !important; visibility: visible !important; box-shadow: none !important; border: none !important; padding: 0 0 0.6rem !important; background: transparent !important; min-width: 0 !important; display: block !important; margin-top: 0; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a { padding: 0.5rem 0 0.5rem 1rem !important; font-size: 0.88rem !important; color: var(--slate) !important; }

  .hero { grid-template-columns: 1fr !important; padding: 2.5rem 5%; gap: 2.5rem; }
  .hero h1 { font-size: clamp(1.85rem, 7vw, 2.4rem); }
  .hero-sub { font-size: 0.95rem; }
  .stat-row { grid-template-columns: 1fr !important; }
  .pm-floating-stat { display: none; }

  section { padding: 3.5rem 5%; }
  .section-title { font-size: clamp(1.5rem, 5vw, 1.9rem); }
  .section-sub { font-size: 0.95rem; }

  .value-strip { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.5rem 5%; }
  .platforms { padding: 2rem 5%; }

  .services-grid { grid-template-columns: 1fr !important; }
  .services-grid[style*="repeat(4"], .services-grid[style*="repeat(2"] { grid-template-columns: 1fr !important; }
  .service-card { padding: 1.6rem 1.4rem; }

  .outcomes-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .outcomes-strip { padding: 3.5rem 5%; }

  .process-steps { grid-template-columns: 1fr; gap: 2rem; }
  .step-num { width: 56px; height: 56px; }

  .testi-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { padding: 1.4rem; }

  .problem-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .problem-card { padding: 1.5rem; }

  .about-grid { grid-template-columns: 1fr !important; gap: 2.5rem; }
  .about-image-block { max-width: 360px; margin: 0 auto; }

  .compare-table { font-size: 0.78rem; }
  .compare-table thead th { padding: 0.75rem; font-size: 0.7rem; }
  .compare-table tbody td { padding: 0.75rem; font-size: 0.78rem; }

  .compare-table.rich { table-layout: auto; }
  .compare-table.rich th:nth-child(1), .compare-table.rich td:nth-child(1),
  .compare-table.rich th:nth-child(2), .compare-table.rich td:nth-child(2),
  .compare-table.rich th:nth-child(3), .compare-table.rich td:nth-child(3) { width: auto; }

  .serve { grid-template-columns: 1fr !important; gap: 2rem; padding: 3.5rem 5%; }
  .serve-visual { display: none; }

  .cta-banner { flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 3rem 5%; }
  .cta-title { font-size: 1.6rem; }

  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .contact-form { padding: 1.5rem 1.4rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; line-height: 1.15; }
  .section-title { font-size: 1.4rem; }
  .nav-logo { font-size: 1.1rem; }
}

/* =========================================================
   HOMEPAGE MODERN COMPONENTS
   New components introduced for the modern homepage redesign.
   ========================================================= */

.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.accent { font-family: var(--ff-accent); font-weight: 500; font-style: normal; color: var(--gold); }

/* Logos band */
.logos {
  padding: 3rem 5% 4rem;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.logos-label { font-size: 0.78rem; font-weight: 600; color: var(--slate-soft); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.5rem; }
.logos-row { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 2rem; max-width: 1100px; margin: 0 auto; }
.logo-placeholder {
  height: 36px;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-soft);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.55;
  font-style: italic;
}

/* "What Elanor does" two-column */
.what-block { background: var(--cream); padding: 6rem 5%; }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.what-visual {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

/* Call feed visual */
.feed-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 0.85rem; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.feed-row:last-child { border-bottom: none; }
.feed-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 700; }
.feed-icon.score-high { background: var(--green-soft); color: var(--green); }
.feed-icon.score-low { background: var(--red-soft); color: var(--red); }
.feed-icon.score-mid { background: var(--gold-soft); color: var(--gold); }
.feed-rep { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.feed-meta { font-size: 0.72rem; color: var(--slate-soft); margin-top: 0.1rem; }
.feed-score { font-family: var(--ff-accent); font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.feed-score em { font-style: normal; font-weight: 500; }
.feed-score.high em { color: var(--green); }
.feed-score.low em { color: var(--red); }
.feed-score.mid em { color: var(--gold); }

/* Stat strip (modern dark stat band) */
.stat-strip { background: var(--navy); padding: 4.5rem 5%; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.stat-item { text-align: center; padding: 0 1rem; }
.stat-num { font-family: var(--ff-accent); font-size: clamp(2.5rem, 4vw, 3.5rem); color: var(--gold); font-weight: 600; line-height: 1; margin-bottom: 0.5rem; }
.stat-name { font-size: 0.85rem; color: var(--white); font-weight: 600; margin-bottom: 0.3rem; }
.stat-desc { font-size: 0.78rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* Feature grid (modern services) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.5rem; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.feature-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.92rem; color: var(--slate); line-height: 1.6; }
.feature-card .feature-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; color: var(--gold); margin-top: 1rem; text-decoration: none; }
.feature-card .feature-link:hover { color: var(--navy); }

/* How it works (modern variant of process-steps) */
.how-block { background: var(--white); padding: 6rem 5%; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3.5rem; position: relative; }
.how-steps::before {
  content: ''; position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--gold) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.how-step { text-align: center; padding: 0 1rem; position: relative; z-index: 1; }
.how-num {
  width: 64px; height: 64px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-accent);
  font-size: 1.5rem; font-weight: 600;
  color: var(--gold);
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(127,154,51,0.15);
}
.how-step h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.how-step p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; }

/* Testimonial featured */
.testimonial-block { background: var(--cream); padding: 6rem 5%; text-align: center; }
.testimonial-quote {
  font-family: var(--ff-accent);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--navy);
  max-width: 900px;
  margin: 0 auto 2rem;
  font-style: normal;
}
.testimonial-quote .accent { color: var(--gold); }
.testimonial-attr { font-size: 0.9rem; color: var(--slate); }
.testimonial-attr strong { color: var(--navy); font-weight: 700; }

/* Role grid */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3.5rem; }
.role-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.role-tag { font-size: 0.7rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.85rem; }
.role-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.3; }
.role-card p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; margin-bottom: 1rem; }
.role-card a { font-size: 0.85rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.role-card a:hover { color: var(--navy); }

/* CTA block (modern gradient version) */
.cta-block {
  padding: 5rem 5%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle at center, rgba(127,154,51,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-block h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.cta-block h2 .accent { font-family: var(--ff-accent); font-weight: 500; font-style: normal; color: var(--gold-bright); }
.cta-block p { font-size: 1.05rem; color: rgba(255,255,255,0.78); margin-bottom: 2rem; line-height: 1.6; }
.cta-block .btn-primary { background: var(--gold); color: var(--navy); border: none; padding: 1rem 2.25rem; font-size: 1rem; }
.cta-block .btn-primary:hover { background: var(--gold-bright); }

/* Mobile */
@media (max-width: 980px) {
  .features-grid, .role-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .how-steps::before { display: none; }
}
@media (max-width: 768px) {
  .what-grid { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid, .role-grid, .stat-grid, .how-steps { grid-template-columns: 1fr; }
  .what-block, .how-block, .testimonial-block { padding: 3.5rem 5%; }
}

/* =========================================================
   SKILL-SET DIAGNOSIS section
   ========================================================= */
.skill-block { background: var(--cream); padding: 6rem 5%; }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.skill-profile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 1.85rem;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.skill-profile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.skill-rep { font-size: 0.78rem; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.skill-bars { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.5rem; }
.skill-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.skill-row > span:first-child { font-size: 0.95rem; font-weight: 600; color: var(--navy); flex-shrink: 0; min-width: 60px; }
.skill-bar-track { flex: 1; height: 8px; background: var(--cream); border-radius: 100px; overflow: hidden; }
.skill-bar-fill { height: 100%; border-radius: 100px; transition: width 0.6s var(--ease); }
.skill-bar-fill.high { background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%); }
.skill-bar-fill.mid { background: linear-gradient(90deg, var(--gold-soft) 0%, var(--gold) 100%); }
.skill-bar-fill.low { background: linear-gradient(90deg, #E8716B 0%, #F0918C 100%); }
.skill-score { font-family: var(--ff-accent); font-size: 1.15rem; font-weight: 600; color: var(--navy); min-width: 36px; text-align: right; }
.skill-summary { font-size: 0.88rem; color: var(--slate); line-height: 1.6; padding-top: 1rem; border-top: 1px solid var(--line); font-style: italic; }

/* =========================================================
   REVENUE CORRELATION section
   ========================================================= */
.correlation-block { background: var(--white); padding: 6rem 5%; }
.correlation-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; max-width: 1280px; margin: 0 auto; }
.correlation-note {
  font-family: var(--ff-accent); font-style: normal;
  font-size: 1.05rem; color: var(--gold);
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  line-height: 1.6;
}
.correlation-visual {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.chart-frame { position: relative; }
.chart-frame-title { font-size: 0.78rem; font-weight: 700; color: var(--slate); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5rem; }
.chart-area {
  position: relative;
  height: 280px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.chart-area::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--line-strong);
}
.chart-area::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0;
  width: 1px; background: var(--line-strong);
}
.chart-area .grid-line {
  position: absolute; left: 0; right: 0;
  height: 1px; background: var(--line);
}
.chart-area .dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(127,154,51,0.3);
  transform: translate(-50%, 50%);
}
.chart-area .trend-line {
  position: absolute;
  bottom: 18%; left: 10%;
  width: 78%; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, var(--gold-bright) 100%);
  transform: rotate(-22deg);
  transform-origin: left center;
  opacity: 0.6;
}
.chart-axis-x { font-size: 0.78rem; color: var(--slate); font-weight: 600; text-align: center; margin-top: 0.85rem; }
.chart-axis-y { font-size: 0.78rem; color: var(--slate); font-weight: 600; position: absolute; left: -2.5rem; top: 50%; transform: rotate(-90deg) translateX(50%); transform-origin: center; white-space: nowrap; }
.chart-caption {
  font-size: 0.78rem; color: var(--slate-soft);
  margin-top: 1.25rem;
  text-align: center;
  font-style: italic;
}
.chart-callout {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 2;
}
.chart-callout-num { color: var(--gold); font-family: var(--ff-accent); font-size: 1.15rem; font-weight: 600; line-height: 1; margin-bottom: 0.1rem; }

@media (max-width: 980px) {
  .skill-grid { grid-template-columns: 1fr; }
  .correlation-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .skill-block, .correlation-block { padding: 3.5rem 5%; }
}

/* =========================================================
   RBI CATEGORY section (homepage)
   ========================================================= */
.category-block { background: var(--white); padding: 6rem 5%; }
.category-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.x-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Sales tech stack visual */
.stack-frame {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-md);
}
.stack-frame-title {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.5rem;
  text-align: center;
}
.stack-layer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.15rem 1.4rem;
  margin-bottom: 0.6rem;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.stack-layer.rbi {
  background: var(--navy);
  border: 2px solid var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(44,51,57,0.12);
  margin-bottom: 1rem;
}
.stack-layer.rbi .stack-name { color: var(--gold); }
.stack-layer.rbi .stack-desc { color: rgba(255,255,255,0.72); }
.stack-tag {
  position: absolute;
  top: -10px; right: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.stack-content { flex: 1; }
.stack-name {
  font-family: var(--ff-body);
  font-size: 1rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
  letter-spacing: -0.01em;
}
.stack-desc { font-size: 0.82rem; color: var(--slate); }
.stack-output {
  margin-top: 1.25rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.stack-output-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.stack-output-label {
  font-family: var(--ff-accent);
  font-style: normal;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .category-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .category-block { padding: 3.5rem 5%; }
}

/* =========================================================
   ASK ELANOR section
   ========================================================= */
.ask-block { background: var(--cream); padding: 6rem 5%; }
.ask-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.ask-frame {
  background: #F2F4F7;
  border-radius: 18px;
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.ask-icon-wrap {
  width: 56px; height: 56px;
  background: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-sm);
}
.ask-icon-wrap svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ask-greeting {
  font-family: var(--ff-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}
.ask-greeting .wave { display: inline-block; }
.ask-subtitle {
  font-size: 0.92rem;
  color: var(--slate);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.ask-prompts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.ask-prompt {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.83rem;
  line-height: 1.4;
  color: var(--navy);
  cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.ask-prompt:hover { border-color: var(--gold); transform: translateY(-2px); }
@media (max-width: 980px) {
  .ask-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ask-prompts { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ask-block { padding: 3.5rem 5%; }
  .ask-greeting { font-size: 1.2rem; }
}

/* =========================================================
   PRODUCT SCREENSHOT STYLES
   ========================================================= */
.screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--white);
}
.screenshot-frame {
  background: var(--white);
  padding: 1rem;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.screenshot-frame img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* Demonstration screenshot row */
.evidence-block { background: var(--cream); padding: 6rem 5%; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.evidence-image { width: 100%; }
.evidence-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
@media (max-width: 980px) {
  .evidence-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .evidence-block { padding: 3.5rem 5%; }
}

/* =========================================================
   MODERN THEME — final mobile responsiveness layer
   Catches all the new components added during the redesign
   ========================================================= */

@media (max-width: 980px) {
  /* CTA block (gradient navy) */
  .cta-block { padding: 4rem 5%; }
  .cta-block h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }

  /* Hero gap reduction */
  .hero { gap: 3rem; }

  /* Stack visual */
  .stack-frame { padding: 1.5rem 1.4rem; }

  /* Screenshot wrapping */
  .screenshot-frame { padding: 0.75rem; }
}

@media (max-width: 768px) {
  /* === CTA block on mobile === */
  .cta-block { padding: 3rem 5%; }
  .cta-block h2 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.85rem; }
  .cta-block p { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .cta-block .btn-primary { padding: 0.85rem 1.75rem; font-size: 0.92rem; }

  /* === Stack tech visual (RBI category section) === */
  .stack-frame { padding: 1.25rem 1rem; }
  .stack-frame-title { font-size: 0.7rem; margin-bottom: 1rem; }
  .stack-layer { padding: 0.85rem 1rem; }
  .stack-layer.rbi { transform: none; }
  .stack-tag { font-size: 0.55rem; padding: 0.2rem 0.5rem; }
  .stack-name { font-size: 0.92rem; }
  .stack-desc { font-size: 0.78rem; }
  .stack-output-label { font-size: 1.05rem; }

  /* === Product mockup (hero scorecard) === */
  .product-mockup { padding: 1.15rem; border-radius: 12px; }
  .pm-header { padding-bottom: 0.75rem; margin-bottom: 1rem; }
  .pm-title { font-size: 0.78rem; }
  .pm-meta { font-size: 0.66rem; }
  .pm-score-row { padding: 0.85rem; margin-bottom: 1.1rem; }
  .pm-score-label { font-size: 0.65rem; }
  .pm-score-num { font-size: 1.85rem; }
  .pm-skill { margin-bottom: 0.6rem; }
  .pm-skill-name { font-size: 0.72rem; }
  .pm-skill-score { font-size: 0.72rem; }
  .pm-moment { padding: 0.7rem 0.85rem; font-size: 0.72rem; margin-top: 1rem; }
  .pm-moment-tag { font-size: 0.62rem; }
  /* Hide the floating "100% of calls scored" stat — already covered above but keep explicit */
  .pm-floating-stat { display: none; }

  /* === Screenshots (pic1, pic3, pic4, pic5) === */
  .screenshot, .screenshot-frame img { border-radius: 10px; }
  .screenshot-frame { padding: 0.5rem; border-radius: 12px; }

  /* === Ask Elanor chat mockup (when used as standalone) === */
  .ask-frame { padding: 1.5rem 1.25rem; }
  .ask-icon-wrap { width: 48px; height: 48px; margin-bottom: 1rem; }
  .ask-icon-wrap svg { width: 24px; height: 24px; }
  .ask-greeting { font-size: 1.1rem; }
  .ask-subtitle { font-size: 0.85rem; margin-bottom: 1.25rem; }
  .ask-prompts { grid-template-columns: 1fr; gap: 0.5rem; }
  .ask-prompt { font-size: 0.8rem; padding: 0.75rem 0.9rem; }

  /* === Skill profile cards === */
  .skill-profile { padding: 1.5rem 1.4rem; }
  .skill-rep { font-size: 0.72rem; padding-bottom: 0.85rem; margin-bottom: 1rem; }
  .skill-row > span:first-child { font-size: 0.85rem; min-width: 50px; }
  .skill-score { font-size: 1.05rem; min-width: 30px; }
  .skill-summary { font-size: 0.82rem; padding-top: 0.85rem; }

  /* === Feature cards (What You Get) === */
  .feature-card { padding: 1.6rem 1.4rem; border-radius: 12px; }
  .feature-icon { width: 40px; height: 40px; }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: 0.88rem; }

  /* === Role cards === */
  .role-card { padding: 1.5rem 1.25rem; border-radius: 12px; }
  .role-card h3 { font-size: 1rem; }
  .role-card p { font-size: 0.85rem; }

  /* === Stat strip (modern dark band) === */
  .stat-strip { padding: 3rem 5%; }
  .stat-num { font-size: 2.4rem; }
  .stat-name { font-size: 0.82rem; }
  .stat-desc { font-size: 0.74rem; }

  /* === How it works (4-step) === */
  .how-num { width: 56px; height: 56px; font-size: 1.3rem; }
  .how-step h3 { font-size: 0.95rem; }
  .how-step p { font-size: 0.85rem; }

  /* === Testimonial === */
  .testimonial-quote { font-size: 1.2rem; line-height: 1.45; }
  .testimonial-attr { font-size: 0.85rem; }

  /* === Section blocks padding (modern theme) === */
  .ask-block, .evidence-block, .correlation-block, .skill-block,
  .what-block, .how-block, .testimonial-block, .category-block,
  .stat-strip { padding: 3rem 5%; }

  /* === Chart callout (kept for any legacy usage) === */
  .chart-callout { font-size: 0.65rem; padding: 0.4rem 0.65rem; top: 0.5rem; right: 0.5rem; }
  .chart-callout-num { font-size: 1rem; }

  /* === Section title scaling === */
  .section-title { font-size: clamp(1.5rem, 5vw, 1.85rem); }

  /* === Hero h1 in modern theme === */
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.6rem); line-height: 1.1; }
}

@media (max-width: 480px) {
  /* Smallest phones */
  .hero h1 { font-size: 1.7rem; }
  .pm-score-num { font-size: 1.6rem; }
  .pm-skill-name, .pm-skill-score { font-size: 0.7rem; }
  .stat-num { font-size: 2rem; }
  .testimonial-quote { font-size: 1.05rem; }
  .ask-greeting { font-size: 1rem; }
  .stack-name { font-size: 0.88rem; }
  .stack-desc { font-size: 0.74rem; }
  .feature-card { padding: 1.35rem 1.15rem; }
  .skill-profile { padding: 1.25rem 1.1rem; }
  .cta-block h2 { font-size: 1.35rem; }
}

/* =========================================================
   VISION / MANIFESTO section ("The Human Layer")
   The philosophical "why" — full-width navy band
   ========================================================= */
.vision-block {
  background: var(--navy);
  padding: 7rem 5%;
  position: relative;
  overflow: hidden;
}
.vision-block::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px; height: 1100px;
  background: radial-gradient(circle at center, rgba(127,154,51,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.vision-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.vision-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(127,154,51,0.3);
  border-radius: 100px;
  background: rgba(127,154,51,0.08);
}
.vision-headline {
  font-family: var(--ff-accent);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 2.5rem;
  letter-spacing: -0.015em;
}
.vision-headline em { color: var(--gold); font-style: italic; }
.vision-body {
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.vision-pullquote {
  font-family: var(--ff-accent);
  font-style: normal;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--gold);
  line-height: 1.45;
  margin: 2.5rem auto;
  max-width: 720px;
  padding: 1.75rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.vision-closer {
  font-family: var(--ff-accent);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  margin-top: 2.5rem;
}
.vision-closer em { color: var(--gold); font-style: italic; }

@media (max-width: 768px) {
  .vision-block { padding: 4.5rem 5%; }
  .vision-eyebrow { font-size: 0.7rem; margin-bottom: 1.5rem; padding: 0.35rem 0.85rem; }
  .vision-headline { font-size: 1.5rem; margin-bottom: 1.75rem; }
  .vision-body { font-size: 0.95rem; }
  .vision-pullquote { font-size: 1.05rem; padding: 1.25rem 0.75rem; margin: 1.75rem auto; }
  .vision-closer { font-size: 1.2rem; margin-top: 1.75rem; }
}

/* =========================================================
   FINAL MOBILE PASS — gap-fillers identified in audit
   ========================================================= */

/* Universal safety net — prevent any rogue element from
   triggering horizontal scroll on narrow viewports */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video, iframe { max-width: 100%; height: auto; }
* { min-width: 0; }

@media (max-width: 980px) {
  /* problem-grid often has inline gap: 80px from role pages — clamp it */
  .problem-grid { gap: 2rem !important; }
}

@media (max-width: 768px) {
  /* Touch targets — every interactive control must be at least 44px tall */
  .btn-primary, .btn-secondary, .btn-dark, .nav-cta,
  .form-submit, button[type="submit"], input[type="submit"] {
    min-height: 44px;
  }
  .ask-prompt { min-height: 44px; }

  /* Forms: tighten padding, ensure inputs are easy to tap */
  .contact-form { padding: 1.25rem 1.1rem !important; }
  .form-group input, .form-group select, .form-group textarea {
    min-height: 44px;
    font-size: 16px; /* prevents iOS zoom-on-focus */
    padding: 0.75rem 0.85rem;
  }
  .form-group textarea { min-height: 96px; }
  .form-submit { min-height: 48px; font-size: 0.95rem; padding: 0.85rem 1.5rem; }

  /* Trapped equity timeline rows — keep meta on its own line */
  .scenario-tl-row { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
  .vault-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .vault-row .vault-meta { white-space: normal !important; word-break: break-word; }

  /* Integrations cards / flex pill rows: ensure wrap */
  .integration-pills, .integration-row, .integrations-cards { flex-wrap: wrap !important; gap: 0.6rem !important; }

  /* Generic inline grids (Tailwind-style repeat(2/3/4)) — flatten to 1col */
  [style*="repeat(2,"], [style*="repeat(3,"], [style*="repeat(4,"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Containers / max-width caps — never let inline max-width: 1200px etc.
     create overflow on small viewports */
  [style*="max-width:"] { max-width: 100% !important; }

  /* Generic large gaps from inline styles */
  [style*="gap: 4rem"], [style*="gap: 5rem"], [style*="gap: 6rem"] { gap: 2rem !important; }
  [style*="gap: 80px"], [style*="gap: 64px"], [style*="gap: 72px"] { gap: 1.5rem !important; }

  /* Padding on big inline-padded sections (e.g. style="padding:6rem 5%") */
  [style*="padding: 6rem"], [style*="padding: 7rem"], [style*="padding:6rem"], [style*="padding:7rem"] { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
}

@media (max-width: 480px) {
  /* Vision block — tighter padding on phones */
  .vision-block { padding: 3.5rem 5% !important; }
  .vision-headline { font-size: 1.3rem !important; line-height: 1.25; }
  .vision-pullquote { font-size: 0.98rem !important; padding: 1rem 0.5rem !important; }
  .vision-closer { font-size: 1.05rem !important; }

  /* Role card padding tighter */
  .role-card { padding: 1.25rem 1rem !important; }
  .role-card h3 { font-size: 0.95rem; }

  /* Cards generally tighter */
  .feature-card, .service-card, .skill-profile, .integration-card { padding: 1.2rem 1rem !important; }

  /* Section title final tighten */
  .section-title { font-size: 1.3rem !important; line-height: 1.2; }
  h1 { font-size: 1.65rem !important; line-height: 1.15; }
  h2 { font-size: 1.3rem !important; }

  /* Hero buttons stack */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; width: 100%; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; text-align: center; justify-content: center; }

  /* Footer columns text */
  .footer-col h4 { font-size: 0.85rem; }
  .footer-col ul li a { font-size: 0.85rem; }

  /* Stats compact */
  .stat-strip { padding: 2.5rem 5% !important; }
  .stat-num { font-size: 1.85rem !important; }

  /* Mockup further compaction */
  .product-mockup { padding: 1rem !important; }
  .pm-score-num { font-size: 1.5rem !important; }
}


/* =========================================================
   v6 ADDITIONS — behavior panel, revenue proof, key moments
   ========================================================= */

/* --- Shared section scaffolding --- */
.sec { padding: 6rem 5%; }
.sec-inner { max-width: 1100px; margin: 0 auto; }
.sec-inner.narrow { max-width: 860px; }
.sec-head { text-align: center; margin-bottom: 3rem; }
.sec-head h2 {
  font-family: var(--ff-accent);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--navy);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.01em;
}
.sec-head h2 em { font-style: italic; color: var(--gold); font-weight: 500; }
.sec-head p {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}
.sec.on-navy { background: var(--navy); }
.sec.on-navy .sec-head h2 { color: var(--white); }
.sec.on-navy .sec-head p { color: rgba(255,255,255,0.78); }
.sec.on-navy .section-eyebrow { color: var(--gold); }

/* --- Problem statement / why it matters --- */
.problem-quote {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.problem-quote .pq-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 0.6rem;
}
.problem-quote .pq-text {
  font-family: var(--ff-accent);
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--navy);
}
.answer-line {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--slate);
  max-width: 720px;
  margin: 0 auto 3rem;
}
.answer-line strong { color: var(--navy); font-weight: 600; }

/* --- Behavior panel --- */
.behavior-layer { margin-bottom: 2.25rem; }
.behavior-layer-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-strong);
  flex-wrap: wrap;
}
.behavior-layer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.behavior-layer-note { font-size: 0.82rem; color: var(--slate-soft); }
.behavior-layer.featured .behavior-layer-title { color: var(--gold); }

.behavior-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.behavior-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.behavior-layer.featured .behavior-cell {
  border-color: rgba(127,154,51,0.25);
  background: linear-gradient(180deg, rgba(127,154,51,0.035) 0%, var(--white) 60%);
}
.behavior-cell-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.behavior-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.behavior-score {
  font-family: var(--ff-accent);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.behavior-bar {
  height: 5px;
  background: rgba(44,51,57,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.behavior-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 100px;
}
.behavior-fill.mid { background: var(--gold-bright); opacity: 0.75; }
.behavior-fill.low { background: var(--red); }
.behavior-cell.is-low .behavior-score { color: var(--red); }
.behavior-caption {
  margin-top: 0.5rem;
  font-size: 0.76rem;
  color: var(--slate-soft);
  line-height: 1.45;
}
.behavior-foot {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--slate-soft);
  line-height: 1.6;
}

/* --- Revenue proof --- */
.proof-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.proof-claim {
  font-family: var(--ff-accent);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.45;
  color: var(--white);
  margin: 0 0 1.25rem;
}
.proof-claim em { font-style: italic; color: var(--gold); }
.proof-body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin: 0 0 1.5rem;
}
.proof-steps { list-style: none; padding: 0; margin: 0 0 1.5rem; counter-reset: pstep; }
.proof-steps li {
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 0.95rem;
  font-size: 0.93rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  counter-increment: pstep;
}
.proof-steps li::before {
  content: counter(pstep);
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(127,154,51,0.18);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proof-steps li strong { color: var(--white); font-weight: 600; }

.proof-viz {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.85rem 1.75rem 1.5rem;
}
.proof-viz-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}
.quartile-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.quartile-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.quartile-track {
  height: 30px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.quartile-fill {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,0.14);
}
.quartile-fill.top { background: var(--gold); }
.quartile-axis {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.proof-disclosure {
  margin-top: 1.1rem;
  font-size: 0.74rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.45);
}
.proof-note {
  margin-top: 2.5rem;
  padding: 1.15rem 1.5rem;
  background: rgba(127,154,51,0.08);
  border: 1px solid rgba(127,154,51,0.3);
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.proof-note strong { color: var(--gold); font-weight: 600; }

/* --- Key moments --- */
.moments-panel {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.moments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.moments-head-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.moments-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.moments-list { padding: 1.15rem; display: flex; flex-direction: column; gap: 0.85rem; }
.moment {
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  border: 1px solid;
  text-align: left;
}
.moment.strong { background: rgba(127,154,51,0.05); border-color: rgba(127,154,51,0.25); }
.moment.weak { background: rgba(197,86,78,0.05); border-color: rgba(197,86,78,0.25); }
.moment-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}
.moment-time {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}
.moment-verdict {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.moment.strong .moment-verdict { background: rgba(127,154,51,0.12); color: #12805F; }
.moment.weak .moment-verdict { background: rgba(197,86,78,0.12); color: #A8413A; }
.moment-skill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-soft);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
}
.moment-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-left: auto;
}
.moment-quote {
  font-family: var(--ff-accent);
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 0.7rem;
}
.moment-analysis {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}
.moments-foot {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate-soft);
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .proof-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .behavior-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sec { padding: 3.5rem 5%; }
  .sec-head { margin-bottom: 2.25rem; }
  .sec-head h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .sec-head p { font-size: 0.95rem; }
  .problem-quote { padding: 1.25rem 1.35rem; margin-bottom: 2rem; }
  .problem-quote .pq-text { font-size: 1.05rem; }
  .answer-line { font-size: 1rem; margin-bottom: 2rem; }
  .behavior-grid { grid-template-columns: 1fr; }
  .proof-viz { padding: 1.4rem 1.25rem 1.15rem; }
  .quartile-row { grid-template-columns: 74px 1fr; gap: 0.6rem; }
  .quartile-label { font-size: 0.74rem; }
  .moments-list { padding: 0.85rem; }
  .moment { padding: 1rem; }
  .moment-title { margin-left: 0; width: 100%; margin-top: 0.3rem; }
  .moments-head { padding: 0.95rem 1.1rem; }
}

/* Brand v2.0: headings in Poppins */
h1, h2, h3, h4 { font-family: var(--ff-head); }
/* Brand v2.0: accent words are colour, not italics */
h1 em, h2 em, h3 em, h4 em { font-style: normal; }
[style*="ff-accent"] em { font-style: normal; }
/* Brand v2.0: accent words in headings/pull-quotes are Apple Green Poppins, never italic */
h1 em, h2 em, h3 em, h4 em,
.vision-headline em, .vision-closer em, .proof-claim em, .behavior-banner-text em,
[style*="ff-accent"] em, em[style*="ff-accent"] { font-style: normal !important; }

/* =========================================================
   v13 — Homepage hero: real Elanor call-review screen
   HTML/CSS replica of the app UI (sharp at any density).
   Replaces the Acme placeholder mockup.
   ========================================================= */
.hero.hero-appshot { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; }
.app-shot { --as-ink:#1F2937; --as-text:#6B7280; --as-line:#E9EBEE; --as-green:#5DBE8A; --as-amber:#EDB83D; --as-red:#E5675F;
  font-family: var(--ff-body); background:#F1F3F5; border:1px solid #E3E6EA; border-radius:16px; padding:10px; box-shadow: var(--shadow-lg);
  display:grid; grid-template-columns: 1.3fr 1fr; gap:10px; align-items:stretch; color:var(--as-ink); }
.as-left .as-card { flex:1; }
.as-col { display:flex; flex-direction:column; gap:10px; min-width:0; }
.as-card { background:#fff; border:1px solid var(--as-line); border-radius:12px; padding:14px; }
.as-title { display:flex; align-items:center; gap:7px; font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--as-ink); margin-bottom:10px; }
.as-title svg, .as-row span svg, .as-box svg, .as-int-icon svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.as-title-row { justify-content:space-between; }
.as-title-row span { display:flex; align-items:center; gap:7px; }
.as-title-row em { font-style:normal; font-size:8.5px; font-weight:500; letter-spacing:0; text-transform:none; color:var(--as-text); background:#EEF0F2; padding:2px 7px; border-radius:100px; }
.as-summary-head { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.as-summary-head .as-title { margin-top:16px; }
.as-ring { position:relative; width:52px; text-align:center; flex-shrink:0; }
.as-ring svg { width:52px; height:52px; display:block; }
.as-ring span { position:absolute; top:0; left:0; width:52px; height:52px; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; color:#2F6B4F; }
.as-ring small { display:block; font-size:7px; line-height:1.3; font-weight:600; letter-spacing:.08em; color:var(--as-text); margin-top:3px; }
.as-text { font-size:10.5px; line-height:1.6; color:var(--as-text); margin:10px 0 12px; }
.as-box { display:flex; gap:7px; border-radius:9px; padding:9px 10px; font-size:10.5px; line-height:1.5; color:var(--as-ink); }
.as-box + .as-box { margin-top:8px; }
.as-box b { display:block; font-size:9px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:2px; }
.as-box svg { margin-top:2px; }
.as-box.good { background:#F4FAF6; border:1px solid #D4EEDD; }
.as-box.good b, .as-box.good svg { color:var(--as-green); }
.as-box.warn { background:#FFFBF1; border:1px solid #F5E6BC; }
.as-box.warn b, .as-box.warn svg { color:var(--as-amber); }
.as-stat { padding:7px 0; border-top:1px solid var(--as-line); }
.as-title + .as-stat { border-top:none; padding-top:0; }
.as-row { display:flex; align-items:center; justify-content:space-between; gap:6px; font-size:10.5px; }
.as-row span { display:flex; align-items:center; gap:6px; color:var(--as-ink); min-width:0; }
.as-row span svg { color:var(--as-text); width:11px; height:11px; }
.as-row b { font-weight:700; font-size:11px; white-space:nowrap; }
.as-row b.dark { color:var(--as-ink); } .as-row b.green { color:var(--as-green); } .as-row b.amber { color:var(--as-amber); } .as-row b.red { color:var(--as-red); }
.as-bar { height:7px; border-radius:100px; background:#7DBDF0; overflow:hidden; margin-top:6px; }
.as-bar i { display:block; height:100%; background:#EC8580; }
.as-legend { display:flex; justify-content:space-between; font-size:8px; color:var(--as-text); margin-top:3px; }
.as-seg { display:grid; grid-template-columns:repeat(10,1fr); gap:3px; margin-top:6px; }
.as-seg i { height:5px; border-radius:100px; background:#6CCB97; }
.as-seg i.off { background:#E6E8EB; }
.as-overall { display:flex; align-items:center; justify-content:space-between; font-size:9.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--as-text); padding-bottom:9px; border-bottom:1px solid var(--as-line); margin-bottom:9px; }
.as-overall b { background:#F2FAF5; border:1px solid #DDF0E4; color:var(--as-green); font-size:13px; padding:3px 8px; border-radius:7px; letter-spacing:0; }
.as-overall b small { font-size:8px; color:var(--as-text); font-weight:500; }
.as-int { display:flex; gap:8px; }
.as-int + .as-int { margin-top:9px; }
.as-int-icon { width:22px; height:22px; border-radius:6px; background:#F2FAF5; color:var(--as-green); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.as-int-icon svg { width:11px; height:11px; }
.as-int-body { flex:1; min-width:0; }
.as-int-body .nm { font-weight:600; font-size:11px; }
.as-fill { height:4px; border-radius:100px; background:#E6E8EB; margin:4px 0 5px; overflow:hidden; }
.as-fill i { display:block; height:100%; background:#6CCB97; }
.as-int-body p { font-size:9.5px; line-height:1.5; font-style:italic; color:var(--as-text); }

@media (max-width: 1100px) {
  .hero.hero-appshot { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .app-shot { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero.hero-appshot { grid-template-columns: 1fr !important; }
  .app-shot { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 600px) {
  .app-shot { grid-template-columns: 1fr; padding:8px; }
  .as-text, .as-box, .as-row { font-size:12px; }
  .as-int-body p { font-size:11px; }
}
