/* ============================================================
   CAPEXIA — Composants
   Nav, Hero, Sections HP, Blog, Use Cases, Footer, Modal, Popin
   ============================================================ */

/* ── HEADER / MEGA-MENUS ─────────────────────────────────── */
:root { --header-height: 76px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 200; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
.site-header [hidden], .header-mobile [hidden], .header-mobile[hidden], .header-backdrop[hidden] { display: none; }
.header-inner { max-width: var(--w); min-height: var(--header-height); margin: 0 auto; padding-inline: var(--container-gutter); display: flex; align-items: center; gap: 28px; }
.header-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--deep); font-size: 18px; font-weight: 600; letter-spacing: .14em; text-decoration: none; flex-shrink: 0; }
.header-brand img { display: block; width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.header-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.header-trigger, .header-about { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--header-height); padding: 0; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--ink); font: inherit; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.header-trigger:hover, .header-trigger[aria-expanded="true"], .header-about:hover, .header-about[aria-current] { color: var(--deep); border-bottom-color: var(--deep); }
.header-trigger svg, .header-mobile-trigger svg { transition: transform .18s ease; flex-shrink: 0; }
.header-trigger[aria-expanded="true"] svg, .header-mobile-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 28px; }
.header-demo { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; background: var(--deep); color: var(--paper); font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.6; text-decoration: none; cursor: pointer; }
.header-demo:hover { filter: brightness(.92); }
.header-demo-full { white-space: nowrap; }
.header-demo-short { display: none; }
.header-panel { position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; background: var(--paper); border-block: 1px solid var(--rule); box-shadow: 0 24px 48px -24px rgba(16,32,42,.35); }
.header-panel-inner { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) minmax(0,1.3fr); align-items: start; gap: 32px 40px; max-width: var(--w); margin: 0 auto; padding: 36px var(--container-gutter) 40px; }
.header-groups { display: contents; }
.header-group { min-width: 0; }
.header-group-wide { grid-column: span 3; }
.header-group-title, .header-group-spacer { min-height: 32px; padding-bottom: 10px; margin: 0 0 10px; border-bottom: 1px solid var(--rule); color: var(--deep); font-size: 14px; font-weight: 600; line-height: 1.5; }
.header-group-note { color: var(--muted); font-size: 15px; line-height: 1.6; }
.header-link { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; align-items: start; padding: 10px 0; color: var(--ink); text-decoration: none; }
.header-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--stone); color: var(--deep); }
.header-link:hover .header-icon { background: var(--deep); color: var(--paper); }
.header-link b { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }
.header-link:hover b, .header-link[aria-current] b { text-decoration: underline; text-underline-offset: 3px; }
.header-link-description { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.header-erp-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px 20px; }
.header-erp-card { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 18px; border: 1px solid var(--rule); }
.header-erp-card:hover { border-color: var(--deep); }
.header-erp-card .header-link-text { display: contents; }
.header-erp-card .header-link-description, .header-erp-card .header-badge { grid-column: 1 / -1; }
.header-erp-card b { align-self: center; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.header-badge { display: inline-block; margin: 10px 0 6px; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 600; background: var(--stone); color: var(--deep); }
.header-badge-adapt { background: #FDF1D8; color: #7A5200; }
.header-badge-study { color: var(--muted); }
.header-feature { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; background: var(--stone); border-top: 3px solid var(--deep); }
.header-feature-title { font-family: var(--serif); color: var(--ink); font-size: 22px; line-height: 1.25; }
.header-feature-text { margin-bottom: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.header-feature .header-demo { white-space: nowrap; }
.header-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--link); text-decoration: none; }
.header-all:hover { text-decoration: underline; }
.header-quiz { width: 100%; padding: 14px 16px; margin-bottom: 6px; background: var(--band); color: var(--on-band); font-size: 13px; }
.header-quiz span { display: block; height: 5px; margin-top: 8px; background: linear-gradient(to right,var(--amber) 30%,rgba(255,255,255,.25) 30%); }
.site-header button:focus-visible, .site-header a:focus-visible, .header-mobile button:focus-visible, .header-mobile a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.nav-burger { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.header-backdrop { position: fixed; inset: 0; z-index: 210; background: rgba(0,0,0,.45); }
.header-mobile { position: fixed; inset: 0 0 0 auto; z-index: 220; width: min(100%,440px); padding: 20px 24px 28px; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); color: var(--ink); font-family: var(--sans); }
.header-mobile-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 24px; }
.header-close { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.header-mobile-nav { display: block; }
.header-mobile-trigger, .header-mobile-about { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--rule); color: var(--ink); font: inherit; font-size: 17px; text-decoration: none; text-align: left; cursor: pointer; }
.header-mobile .header-groups { display: grid; gap: 12px; padding: 16px 0; }
.header-mobile .header-group-wide { grid-column: auto; }
.header-mobile .header-group-spacer { display: none; }
.header-mobile .header-group-title { min-height: auto; margin-bottom: 4px; font-size: 13px; }
.header-mobile .header-link { gap: 10px; }
.header-mobile .header-link b { font-size: 15px; }
.header-mobile .header-link-description, .header-mobile .header-badge, .header-mobile .header-group-note { display: none; }
.header-mobile .header-erp-links { display: block; }
.header-mobile .header-erp-card { display: grid; grid-template-columns: 40px minmax(0,1fr); padding: 10px 0; border: 0; }
.header-mobile .header-erp-card .header-link-text { display: block; }
.header-mobile .header-erp-card b { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.header-mobile-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
.header-mobile-bottom .header-demo { width: 100%; }
@media (max-width: 1200px) {
  :root { --header-height: 68px; }
  .header-nav { display: none; }
  .header-actions { margin-left: auto; }
  .nav-burger { display: inline-flex; }
  .header-panel { display: none; }
}
@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .header-demo-full { display: none; }
  .header-demo-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .header-trigger svg, .header-mobile-trigger svg { transition: none; } }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 140px 60px 80px; position: relative; overflow: hidden;
  /*display: flex; flex-direction: column; justify-content: space-between;*/
  /*padding: 140px 60px 60px; position: relative; overflow: hidden;*/
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(26,82,118,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(200,169,110,.07) 0%, transparent 60%),
    linear-gradient(180deg, #0d1b2a 0%, #111e2e 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
/*.hero-content { position: relative; z-index: 2; max-width: 1100px; }*/
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--accent); }
.hero-em { font-style: italic; color: var(--accent); }
/*.hero-sub { font-size: 17px; line-height: 1.75; color: var(--grey); max-width: 900px; margin-bottom: 6px; font-weight: 300; }*/
.hero-sub { font-size: 17px; line-height: 1.75; color: var(--grey); max-width: 900px; margin-bottom: 6px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 42px; }
.hero-metrics { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 40px 52px; justify-content: flex-end; padding-top: 60px; }
.c-gold { color: var(--accent); }
.metric { text-align: center; }
.metric-val {
  font-family: 'Source Serif 4', serif;
  font-size: 44px; font-weight: 300; color: var(--accent);
  line-height: 1; display: block; margin-bottom: 6px;
}
.metric-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); }

/* ── PROBLEM ──────────────────────────────────────────────── */
.problem { background: var(--navy-mid); }
.problem-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.problem-list { margin-top: 40px; }
.problem-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  opacity: 0; transform: translateX(20px); transition: all .6s ease;
}
.problem-item.visible { opacity: 1; transform: none; }
.problem-num {
  font-family: 'Source Serif 4', serif;
  font-size: 13px; color: var(--accent); opacity: .6; min-width: 28px; padding-top: 2px;
}
.problem-text { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.problem-text strong { color: var(--text); display: block; margin-bottom: 4px; font-weight: 400; }
.problem-visual {
  background: rgba(255,255,255,.02); border: 1px solid rgba(200,169,110,.12);
  padding: 36px; position: sticky; top: 120px;
}
.excel-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.excel-mock { font-family: monospace; font-size: 12px; }
.excel-header {
  background: rgba(200,169,110,.08); padding: 8px 12px;
  display: grid; grid-template-columns: 80px 1fr 80px 80px; gap: 8px;
  color: var(--accent); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px;
}
.excel-row {
  padding: 8px 12px;
  display: grid; grid-template-columns: 80px 1fr 80px 80px; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.04); font-size: 11px; color: var(--text-muted);
}
.status-danger { color: #e07070; }
.status-warn { color: #e0c070; }
.status-ok { color: #70c0a0; }
.excel-caption {
  margin-top: 14px; font-size: 11px; color: var(--text-muted);
  font-family: 'IBM Plex Sans', sans-serif;
  border-top: 1px solid rgba(200,169,110,.12); padding-top: 12px;
  text-align: center; font-style: italic;
}

/* ── SOLUTION ─────────────────────────────────────────────── */
.solution { background: var(--navy); }
.solution-inner { max-width: 1100px; margin: 0 auto; }
.solution-header { max-width: 600px; margin-bottom: 70px; }
.cycle {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: nowrap; overflow-x: auto; padding: 20px 0;
}
.cycle-step { display: flex; flex-direction: column; align-items: center; min-width: 110px; }
.cycle-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(200,169,110,.35);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Source Serif 4', serif; font-size: 15px; font-weight: 600;
  color: var(--accent); letter-spacing: 1px;
  margin-bottom: 14px; transition: all .3s;
}
.cycle-step:hover .cycle-dot { background: rgba(200,169,110,.08); border-color: var(--accent); transform: scale(1.06); }
.cycle-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); text-align: center; font-weight: 500; }
.cycle-arrow { font-size: 16px; color: rgba(200,169,110,.3); padding: 0 2px; margin-bottom: 28px; }
.solution-note {
  margin-top: 50px; padding: 28px 36px;
  background: rgba(200,169,110,.05); border-left: 3px solid var(--accent);
  font-size: 15px; line-height: 1.65; color: var(--text-muted); max-width: 640px;
}
.solution-note strong { color: var(--accent); }

/* ── PILLARS ──────────────────────────────────────────────── */
.pillars { background: var(--navy-mid); }
.pillars-inner { max-width: 1200px; margin: 0 auto; }
.pillars-header { max-width: 580px; margin-bottom: 60px; }
.pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.pillar {
  background: rgba(255,255,255,.02); padding: 44px;
  border: 1px solid rgba(255,255,255,.04); transition: all .4s;
  position: relative; overflow: hidden;
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.pillar:hover { background: rgba(255,255,255,.04); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.pillar-icon { color: rgba(200,169,110,.5); }
.pillar-icon svg { display: block; }
.pillar-num {
  font-family: 'Source Serif 4', serif; font-size: 54px; font-weight: 300;
  color: rgba(200,169,110,.1); line-height: 1;
}
.pillar h3 { font-size: 18px; font-weight: 500; margin-bottom: 14px; letter-spacing: -.01em; }
.pillar p { font-size: 14px; line-height: 1.75; color: var(--text-muted); }

/* ── NOT ERP (POSITIONNEMENT) ─────────────────────────────── */
.not-erp { background: var(--navy); }
.not-erp-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.not-list { margin-top: 32px; display: flex; flex-direction: column; gap: 0; }
.not-item {
  display: flex; align-items: flex-start; gap: 16px;
  font-size: 14px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.05); line-height: 1.65;
}
.not-x { color: #c46060; font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.not-label { color: var(--white); font-weight: 500; font-size: 14px; }
.not-sep { color: var(--grey); }
.not-desc { color: var(--text-muted); }
.distinction-block {
  background: rgba(200,169,110,.05); border: 1px solid rgba(200,169,110,.2);
  padding: 46px; position: relative;
}
.distinction-block::before {
  content: '"'; font-family: 'Source Serif 4', serif;
  font-size: 120px; font-weight: 300; color: rgba(200,169,110,.07);
  position: absolute; top: -20px; left: 24px; line-height: 1;
}
.distinction-quote {
  font-family: 'Source Serif 4', serif; font-size: 22px; font-weight: 400;
  line-height: 1.55; color: var(--white); margin-bottom: 18px; position: relative; z-index: 1;
}
.distinction-sub { font-size: 14px; color: var(--grey); line-height: 1.65; }

/* ── FOR WHO ──────────────────────────────────────────────── */
.for-who { background: var(--navy-mid); }
.for-who-inner { max-width: 1200px; margin: 0 auto; }
.for-who-header { max-width: 600px; margin-bottom: 60px; }
.personas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.persona {
  background: rgba(255,255,255,.025); border: 1px solid rgba(200,169,110,.18);
  padding: 32px 28px; transition: all .4s;
  display: flex; flex-direction: column;
}
.persona:hover {
  background: rgba(200,169,110,.04); border-color: rgba(200,169,110,.35);
  transform: translateY(-3px);
}
.persona-priority {
  font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
  display: flex; align-items: center; gap: 8px;
}
.persona-priority::before {
  content: ''; display: block; width: 22px; height: 1px; background: var(--accent); flex-shrink: 0;
}
.persona h3 {
  font-family: 'Source Serif 4', serif; font-size: 22px; font-weight: 400;
  color: var(--white); margin-bottom: 18px; line-height: 1.2;
}
.persona p { font-size: 13px; line-height: 1.75; color: var(--text-muted); flex: 1; margin-bottom: 24px; }
.persona-badge {
  display: block; padding: 10px 14px;
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(200,169,110,.3);
  line-height: 1.6;
}

/* ── BENEFITS ─────────────────────────────────────────────── */
.benefits { background: var(--navy); }
.benefits-inner { max-width: 1200px; margin: 0 auto; }
.benefits-header { max-width: 680px; margin-bottom: 70px; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.08);
  border-left: 1px solid rgba(255,255,255,.08);
}
.benefit {
  padding: 52px 40px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.benefit-val {
  font-family: 'Source Serif 4', serif; font-size: 76px; font-weight: 300;
  color: var(--accent); line-height: 1; margin-bottom: 18px; letter-spacing: -.02em;
}
.benefit-label { font-size: 13px; color: var(--text-muted); line-height: 1.65; text-align: center; }

/* ── HOW ──────────────────────────────────────────────────── */
.how { background: var(--navy-mid); }
.how-inner { max-width: 960px; margin: 0 auto; }
.how-header { max-width: 680px; margin-bottom: 70px; }
.how-steps { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.07); }
.how-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 48px;
  padding: 44px 0; border-bottom: 1px solid rgba(255,255,255,.07); align-items: start;
}
.how-step-num {
  font-family: 'Source Serif 4', serif; font-size: 42px; font-weight: 300;
  color: rgba(200,169,110,.15); line-height: 1; padding-top: 4px;
}
.how-step-content h4 {
  font-family: 'Source Serif 4', serif; font-size: 26px; font-weight: 400;
  color: var(--white); margin-bottom: 14px; line-height: 1.2;
}
.how-step-content p { font-size: 14px; line-height: 1.75; color: var(--text-muted); }

/* ── INTEGRATIONS ─────────────────────────────────────────── */
.integrations { background: var(--navy); }
.integrations-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.int-header { margin-bottom: 0; }
.int-header .section-lead { max-width: 580px; margin: 0 auto; }
.int-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 52px 0 44px; }
.int-pill {
  font-size: 12px; color: var(--grey); letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,.12); padding: 10px 22px;
  background: rgba(255,255,255,.02); transition: all .25s;
}
.int-pill:hover { border-color: rgba(200,169,110,.25); color: var(--white); }
.int-note {
  font-size: 13px; color: var(--text-muted); font-style: italic; text-align: center;
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 28px; line-height: 1.7;
  max-width: 700px; margin: 0 auto;
}
.int-note strong { color: var(--accent); font-style: normal; }

/* ── UC TEASER ────────────────────────────────────────────── */
.uc-teaser { background: var(--navy-mid); }
.uc-teaser-inner { max-width: 1200px; margin: 0 auto; }
.uc-teaser-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.uc-teaser-header h2 { max-width: 500px; }
.uc-grid-small { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uc-card-small {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  padding: 32px 28px; cursor: pointer; transition: all .4s; position: relative; overflow: hidden;
}
.uc-card-small::after {
  content: '→'; position: absolute; bottom: 24px; right: 28px;
  color: var(--accent); font-size: 16px; opacity: 0; transition: all .3s;
}
.uc-card-small:hover { background: rgba(200,169,110,.05); border-color: rgba(200,169,110,.2); transform: translateY(-3px); }
.uc-card-small:hover::after { opacity: 1; right: 22px; }
.uc-card-icon { font-size: 28px; margin-bottom: 16px; }
.uc-card-sector { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.uc-card-small h4 {
  font-family: 'Source Serif 4', serif; font-size: 20px; font-weight: 400;
  color: var(--white); line-height: 1.35; margin-bottom: 10px;
}
.uc-card-small p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  padding: 120px 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(200,169,110,.07) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-section .section-lead { max-width: 100%; margin: 0 auto 48px; text-align: center; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer{background:var(--stone);border-top:1px solid var(--rule);font-family:var(--sans);font-size:15px;line-height:1.6;color:var(--muted)}
.footer-container{max-width:var(--w);margin:0 auto;padding-inline:var(--container-gutter)}
.site-footer ul{list-style:none;margin:0;padding:0}
.footer-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:32px 0!important;border-bottom:1px solid var(--rule)}
.footer-trust li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:center}
.footer-trust-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--paper);color:var(--deep);flex-shrink:0}
.footer-trust-icon svg{display:block;width:22px;height:22px;padding:0}
.footer-trust b{display:block;color:var(--ink);font-size:15px;font-weight:600}
.footer-trust span{font-size:14px;line-height:1.45}
.footer-columns{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:32px;padding:44px 0}
.footer-brand-block p{margin:14px 0 20px;max-width:24em}
.site-footer .footer-column h2{font:600 15px/1.6 var(--sans);letter-spacing:normal;display:flex;align-items:center;gap:10px;margin:0 0 14px;color:var(--ink)}
.footer-column h2 svg{color:var(--deep);flex-shrink:0}
.footer-column ul{display:flex;flex-direction:column;gap:10px;padding-left:28px}
.site-footer a:not(.header-demo):not(.header-brand){color:var(--muted);text-decoration:none}
.site-footer a:hover:not(.header-demo){color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.site-footer a:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.site-footer .header-demo{color:#fff}
.footer-base{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:20px 0 28px;border-top:1px solid var(--rule);font-size:14px}
.footer-legal{display:flex;gap:20px;flex-wrap:wrap}
@media(max-width:980px){.footer-columns,.footer-trust{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.footer-columns,.footer-trust{grid-template-columns:minmax(0,1fr)}}

/* ── SHARED FORM FIELDS / HOME POPIN ──────────────────────── */
@keyframes popinIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--grey); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  color: var(--white); padding: 12px 14px; font-size: 14px;
  font-family: 'IBM Plex Sans', sans-serif; outline: none; transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--navy-mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { width: 100%; margin-top: 8px; }
.form-legal { font-size: 11px; color: var(--text-muted); margin-top: 12px; text-align: center; }
.form-legal a { color: var(--accent); text-decoration: none; }
.form-checkbox { margin-bottom: 16px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; accent-color: var(--accent); cursor: pointer; margin-top: 2px; }
.checkbox-label a { color: var(--accent); text-decoration: none; }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.field-error { display: none; font-size: 11px; color: #e05c5c; margin-top: 5px; }
.form-group label span[aria-hidden], .form-row label span[aria-hidden] { color: #e05c5c; }
.form-message.is-error { color: #e05c5c; font-size: 13px; margin-top: 8px; }
.form-message.is-success { color: #4caf8a; font-size: 13px; margin-top: 8px; }

/* ── TOAST ────────────────────────────────────────────────── */
.toast {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  padding: 16px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 500; line-height: 1.4;
  color: #fff; max-width: 420px;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transform: translateX(120%); transition: transform .3s ease;
}
.toast.show { transform: translateX(0); }
.toast.toast-error { background: #c62828; }
.toast.toast-success { background: #2e7d32; }

/* ── POPIN ────────────────────────────────────────────────── */
.popin-overlay {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(5,12,22,.7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
}
.popin-overlay.active { display: flex; }
.popin {
  background: var(--navy-mid); border: 1px solid rgba(200,169,110,.25);
  padding: 44px 48px; max-width: 480px; width: 90%;
  position: relative; animation: popinIn .4s ease;
}
.popin-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; color: var(--grey); font-size: 20px; cursor: pointer;
}
.popin-close:hover { color: var(--white); }
.popin-eyebrow {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.popin-eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--accent); }
.popin h3 {
  font-family: 'Source Serif 4', serif; font-size: 30px; font-weight: 400;
  color: var(--white); line-height: 1.25; margin-bottom: 12px;
}
.popin p { font-size: 14px; color: var(--grey); line-height: 1.65; margin-bottom: 28px; }
.popin-form .form-group { margin-bottom: 14px; }
.popin-form .form-group label {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--grey); display: block; margin-bottom: 6px;
}
.popin-form input,
.popin-form select {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  color: var(--white); padding: 11px 13px; font-size: 13px;
  font-family: 'IBM Plex Sans', sans-serif; outline: none; transition: border-color .2s;
}
.popin-form input:focus,
.popin-form select:focus { border-color: var(--accent); }
.popin-form select option { background: var(--navy-mid); }
.popin-success { text-align: center; padding: 20px 0; }
.popin-success .popin-eyebrow { margin-bottom: 24px; }
.popin-success h3 { margin-bottom: 16px; }
.popin-success p { margin-bottom: 0; }

/* ── BLOG ─────────────────────────────────────────────────── */
.blog-hero { padding: 160px 60px 80px; background: var(--navy); position: relative; overflow: hidden; }
.blog-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 60% 30%, rgba(26,82,118,.15) 0%, transparent 70%);
}
.blog-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.blog-hero-content { position: relative; z-index: 2; max-width: 720px; }
.blog-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.blog-filters { padding: 0 60px 56px; background: var(--navy); }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 7px 18px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.12); color: var(--text-muted);
  background: none; cursor: pointer; transition: all .25s; font-family: 'IBM Plex Sans', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent); color: var(--accent); background: rgba(200,169,110,.06);
}
.blog-grid-section { padding: 0 60px 100px; background: var(--navy); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.blog-card {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05);
  transition: all .4s; cursor: pointer; position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
}
.blog-card:hover { text-decoration: none; }
.blog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.blog-card:hover { background: rgba(255,255,255,.045); transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.blog-card:hover::before { transform: scaleX(1); }
.blog-card-body { padding: 34px 30px; }
.blog-card-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.blog-tag {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--navy); background: var(--accent); padding: 3px 9px; font-weight: 500;
}
.blog-tag.secondary { background: rgba(200,169,110,.15); color: var(--accent); }
.blog-date { font-size: 11px; color: var(--text-muted); }
.blog-card h3 {
  font-family: 'Source Serif 4', serif; font-size: 21px; font-weight: 400;
  color: var(--white); line-height: 1.35; margin-bottom: 12px;
}
.blog-card p { font-size: 13px; line-height: 1.7; color: var(--text-muted); margin-bottom: 22px; }
.blog-card-footer {
  padding: 16px 30px; border-top: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: space-between;
}
.blog-read-time { font-size: 11px; color: var(--text-muted); }
.blog-read-more { font-size: 11px; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; }
.blog-card.featured { grid-column: span 2; }
.blog-card.featured .blog-card-body { padding: 42px 38px; }
.blog-card.featured h3 { font-size: 28px; }

/* ── ARTICLE ──────────────────────────────────────────────── */
.article-hero {
  padding: 160px 60px 70px; background: var(--navy);
  position: relative; overflow: hidden; border-bottom: 1px solid rgba(200,169,110,.1);
}
.article-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 30% 40%, rgba(26,82,118,.12) 0%, transparent 65%);
}
.article-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.article-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.article-hero h1 { font-size: clamp(32px, 5vw, 58px); margin-bottom: 24px; }
.article-hero .lead { font-size: 17px; line-height: 1.75; color: var(--grey); font-weight: 300; max-width: 700px; }
.article-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 80px;
  max-width: 1200px; margin: 0 auto; padding: 80px 60px; align-items: start;
}
.article-body h2 { font-size: 32px; margin: 52px 0 18px; }
.article-body h3 { font-size: 22px; margin: 36px 0 14px; }
.article-body p { font-size: 15px; line-height: 1.85; color: rgba(212,221,232,.9); margin-bottom: 22px; }
.article-body strong { color: var(--white); font-weight: 500; }
.article-body em { color: var(--accent); font-style: italic; }
.article-figure { margin: 36px 0; }
.article-image { width: 100%; max-width: 100%; max-height: 400px; object-fit: cover; border-radius: 4px; }
.article-figcaption {
  font-size: 13px; color: var(--text-muted); margin-top: 10px;
  text-align: center; font-style: italic;
}
.article-body .rich-text img { width: 100%; max-width: 100%; max-height: 400px; object-fit: cover; border-radius: 4px; margin: 24px 0; }
.article-body .block-image + .block-rich_text,
.article-body .block-rich_text + .block-image { margin-top: 36px; }
.article-callout {
  background: rgba(200,169,110,.06); border-left: 3px solid var(--accent);
  padding: 22px 26px; margin: 34px 0;
}
.article-callout p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text); }
.article-callout strong { color: var(--accent); }
.article-list { margin: 22px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.article-list-item { display: flex; gap: 14px; font-size: 15px; line-height: 1.65; color: rgba(212,221,232,.9); }
.article-list-item::before {
  content: '—'; color: var(--accent); flex-shrink: 0;
  font-family: 'Source Serif 4', serif; font-size: 18px;
}
.article-separator { width: 60px; height: 1px; background: var(--accent); margin: 46px 0; opacity: .4; }
.article-sidebar { position: sticky; top: 100px; }
.sidebar-cta {
  background: rgba(200,169,110,.07); border: 1px solid rgba(200,169,110,.2);
  padding: 32px; margin-bottom: 20px;
}
.sidebar-cta .section-tag { margin-bottom: 12px; }
.sidebar-cta h4 {
  font-family: 'Source Serif 4', serif; font-size: 22px; font-weight: 400;
  color: var(--white); margin-bottom: 10px; line-height: 1.3;
}
.sidebar-cta p { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.sidebar-cta .btn-primary { width: 100%; justify-content: center; font-size: 12px; padding: 13px 18px; }
.sidebar-toc {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06); padding: 26px;
}
.sidebar-toc-title {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.toc-item {
  font-size: 13px; color: var(--text-muted); padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.04); cursor: pointer; transition: color .2s;
}
.toc-item:hover { color: var(--accent); }
.toc-item:last-child { border-bottom: none; }
.related-section { padding: 80px 60px; background: var(--navy-mid); border-top: 1px solid rgba(255,255,255,.06); }
.related-section h2 { font-size: 36px; margin-bottom: 36px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  padding: 26px; cursor: pointer; transition: all .3s; text-decoration: none; display: block;
}
.related-card:hover { background: rgba(200,169,110,.05); border-color: rgba(200,169,110,.2); transform: translateY(-2px); }
.related-card h4 {
  font-family: 'Source Serif 4', serif; font-size: 18px; font-weight: 400;
  color: var(--white); line-height: 1.4; margin-bottom: 8px; margin-top: 10px;
}

/* ── USE CASES LISTING ────────────────────────────────────── */
.uc-hero { padding: 160px 60px 80px; background: var(--navy); position: relative; overflow: hidden; }
.uc-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 30%, rgba(26,82,118,.2) 0%, transparent 70%);
}
.uc-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.uc-hero-content { position: relative; z-index: 2; max-width: 720px; }
.uc-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.uc-listing-section { padding: 80px 60px 100px; background: var(--navy); }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.uc-card {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05);
  cursor: pointer; transition: all .4s; position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
}
.uc-card:hover { text-decoration: none; }
.uc-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .4s;
}
.uc-card:hover { background: rgba(255,255,255,.04); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.uc-card:hover::before { transform: scaleY(1); }
.uc-card-inner { padding: 40px 36px; }
.uc-sector-tag {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.uc-sector-tag::before { content: ''; width: 16px; height: 1px; background: var(--accent); }
.uc-card h3 {
  font-family: 'Source Serif 4', serif; font-size: 23px; font-weight: 400;
  color: var(--white); line-height: 1.3; margin-bottom: 14px;
}
.uc-card p { font-size: 13px; line-height: 1.7; color: var(--text-muted); margin-bottom: 24px; }
.uc-results {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px 36px;
  background: rgba(200,169,110,.04); border-top: 1px solid rgba(200,169,110,.1);
}
.uc-result-item { text-align: center; }
.uc-result-val {
  font-family: 'Source Serif 4', serif; font-size: 28px; font-weight: 300;
  color: var(--accent); display: block;
}
.uc-result-label { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.uc-cta-strip {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent);
  padding: 16px 36px; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.05);
}
.uc-card:hover .uc-cta-strip { color: var(--accent-light); }

/* ── USE CASE DETAIL ──────────────────────────────────────── */
.uc-detail-hero { padding: 160px 60px 100px; background: var(--navy); position: relative; overflow: hidden; }
.uc-detail-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(26,82,118,.18) 0%, transparent 70%);
}
.uc-detail-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.uc-detail-hero-inner { position: relative; z-index: 2; max-width: 860px; }
.uc-detail-hero h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 24px; }
.uc-detail-hero .lead { font-size: 17px; line-height: 1.78; color: var(--grey); max-width: 680px; font-weight: 300; }
.uc-detail-metrics { display: flex; gap: 52px; margin-top: 52px; position: relative; z-index: 2; }
.uc-detail-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 80px;
  max-width: 1200px; margin: 0 auto; padding: 80px 60px; align-items: start;
}
.uc-context-block {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  padding: 36px; margin-bottom: 36px;
}
.uc-context-block .section-tag { margin-bottom: 16px; }
.uc-context-block p { font-size: 15px; line-height: 1.8; color: rgba(212,221,232,.9); }
.uc-challenges { margin: 36px 0; }
.uc-challenge-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.uc-challenge-icon { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.uc-challenge-text { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.uc-challenge-text strong { color: var(--text); display: block; margin-bottom: 3px; font-weight: 400; }
.uc-solution-block {
  background: rgba(200,169,110,.05); border-left: 3px solid var(--accent);
  padding: 28px 32px; margin: 36px 0;
}
.uc-solution-block .section-tag { margin-bottom: 14px; }
.uc-solution-block p { font-size: 15px; line-height: 1.78; color: var(--text); }
.uc-results-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 36px 0; }
.uc-result-full {
  padding: 32px 24px; background: rgba(255,255,255,.015);
  border: 1px solid rgba(255,255,255,.05); text-align: center;
}
.uc-result-full .val {
  font-family: 'Source Serif 4', serif; font-size: 48px; font-weight: 300;
  color: var(--accent); line-height: 1; display: block; margin-bottom: 8px;
}
.uc-result-full .lbl { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.uc-quote-block {
  margin: 40px 0; padding: 36px; background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06); position: relative;
}
.uc-quote-block::before {
  content: '"'; font-family: 'Source Serif 4', serif; font-size: 100px;
  color: rgba(200,169,110,.1); position: absolute; top: -10px; left: 20px; line-height: 1;
}
.uc-quote-text {
  font-family: 'Source Serif 4', serif; font-size: 20px; font-weight: 400;
  line-height: 1.55; color: var(--white); margin-bottom: 14px; position: relative; z-index: 1;
}
.uc-quote-author { font-size: 12px; color: var(--text-muted); letter-spacing: .5px; }
.uc-features-sidebar {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  padding: 28px; margin-top: 20px;
}
.uc-features-sidebar .section-tag { margin-bottom: 16px; }
.uc-feature-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
}
.uc-feature-item:last-child { border-bottom: none; }
.uc-feature-check { color: var(--accent); flex-shrink: 0; }

/* ── LEGAL ────────────────────────────────────────────────── */
.legal-hero {
  padding: 160px 60px 40px; background: var(--navy);
  border-bottom: 1px solid rgba(200,169,110,.08);
}
.legal-hero h1 {
  font-family: 'Source Serif 4', serif; font-size: clamp(36px, 5vw, 60px);
  font-weight: 300; color: var(--white); margin: 0;
}
.legal-body { max-width: 820px; margin: 0 auto; padding: 40px 60px 80px; }
.legal-body h2 {
  font-family: 'Source Serif 4', serif; font-size: 28px; font-weight: 400;
  color: var(--white); margin: 48px 0 16px;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 {
  font-family: 'Source Serif 4', serif; font-size: 20px; font-weight: 400;
  color: var(--accent); margin: 28px 0 10px;
}
.legal-body p { font-size: 14px; line-height: 1.8; color: rgba(212,221,232,.85); margin-bottom: 16px; }
.legal-body ul { margin: 12px 0 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-body ul li { font-size: 14px; line-height: 1.7; color: rgba(212,221,232,.85); }
.legal-body strong { color: var(--white); }
.legal-separator { width: 50px; height: 1px; background: var(--accent); opacity: .4; margin: 40px 0; }
.legal-meta { font-size: 12px; color: var(--text-muted); font-style: italic; margin-bottom: 40px; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  section,
  .blog-hero, .blog-filters, .blog-grid-section,
  .article-hero, .related-section,
  .uc-hero, .uc-listing-section, .uc-detail-hero,
  .legal-hero, .legal-body, .cta-section {
    padding-left: 24px; padding-right: 24px;
  }
  .hero { padding: 120px 24px 60px; }
  .hero-metrics { justify-content: flex-start; flex-wrap: wrap; gap: 28px; padding-top: 40px; }
  .problem-inner, .not-erp-inner { grid-template-columns: 1fr; gap: 40px; }
  .problem-visual { position: static; }
  .pillars-grid, .personas, .benefits-grid, .uc-results-full { grid-template-columns: 1fr 1fr; }
  .blog-grid, .uc-grid, .related-grid, .uc-grid-small { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: span 1; }
  .article-layout, .uc-detail-layout { grid-template-columns: 1fr; padding: 40px 24px; }
  .article-sidebar { position: static; }
  .uc-teaser-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .uc-detail-metrics { flex-wrap: wrap; gap: 28px; }
  .how-step { grid-template-columns: 60px 1fr; gap: 24px; padding: 32px 0; }
  .cycle { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .cycle-arrow { display: none; }
  .solution-note { padding: 22px 24px; }
  .distinction-block { padding: 32px; }
}

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 60px 16px; }
  .hero { padding: 110px 16px 50px; min-height: auto; }
  .hero-content { max-width: 100%; }
  .hero h1, h1 { font-size: clamp(32px, 8vw, 44px); margin-bottom: 18px; }
  h2 { font-size: clamp(26px, 6vw, 36px); }
  .hero-sub { font-size: 15px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-metrics { gap: 20px; padding-top: 32px; }
  .metric-val { font-size: 34px; }
  .metric-label { font-size: 9px; }

  /* Problem */
  .problem-inner { gap: 28px; }
  .excel-header, .excel-row { grid-template-columns: 60px 1fr 70px 60px; gap: 4px; font-size: 9px; }
  .excel-header { font-size: 8px; }
  .problem-visual { padding: 20px; overflow-x: auto; }

  /* Solution */
  .solution-header { margin-bottom: 40px; }
  .cycle { gap: 6px; }
  .cycle-step { min-width: 80px; }
  .cycle-dot { width: 44px; height: 44px; font-size: 13px; }
  .cycle-label { font-size: 8px; }
  .solution-note { margin-top: 32px; font-size: 14px; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 28px 20px; }
  .pillar-num { font-size: 40px; }
  .pillars-header { margin-bottom: 36px; }

  /* Not-ERP / Positionnement */
  .not-erp-inner { gap: 28px; }
  .distinction-block { padding: 24px; }
  .distinction-quote { font-size: 18px; }

  /* For Who / Personas */
  .personas { grid-template-columns: 1fr; gap: 12px; }
  .persona { padding: 24px 20px; }
  .persona h3 { font-size: 20px; }
  .for-who-header { margin-bottom: 36px; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefit { padding: 28px 16px; }
  .benefit-val { font-size: 48px; }
  .benefit-label { font-size: 11px; }
  .benefits-header { margin-bottom: 40px; }

  /* How it works */
  .how-step { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .how-step-num { font-size: 32px; }
  .how-step-content h4 { font-size: 22px; }
  .how-header { margin-bottom: 40px; }

  /* Integrations */
  .int-pills { gap: 6px; margin: 32px 0 28px; }
  .int-pill { padding: 8px 14px; font-size: 11px; }

  /* CTA */
  .cta-section { padding: 60px 16px; }
  .cta-inner h2 { font-size: clamp(26px, 6vw, 36px); }

  /* Footer */

  /* Blog */
  .blog-hero, .uc-hero, .uc-detail-hero, .article-hero, .legal-hero {
    padding: 120px 16px 50px;
  }
  .blog-filters { padding: 0 16px 32px; }
  .blog-grid-section, .uc-listing-section { padding: 0 16px 60px; }
  .related-section { padding: 50px 16px; }

  /* Article & UC Detail */
  .article-layout, .uc-detail-layout { padding: 32px 16px; gap: 40px; }
  .uc-detail-metrics { gap: 20px; }

  /* Modal */
  .form-row { grid-template-columns: 1fr; }

  /* Legal */
  .legal-inner { padding: 50px 16px; }
  .legal-body { padding: 50px 16px; }

  /* Section common */
  .section-lead { font-size: 15px; }
  .section-tag { font-size: 9px; letter-spacing: 2.5px; }

  /* UC Teaser */
  .uc-grid-small { grid-template-columns: 1fr; }
  .uc-card-inner { padding: 28px 20px; }

  /* Mobile menu */
}

/* ── SMALL MOBILE ────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero { padding: 100px 12px 40px; }
  section { padding: 50px 12px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { padding: 24px 16px; }
  .benefit-val { font-size: 42px; }
  .hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .metric { text-align: left; }
  .excel-header, .excel-row { grid-template-columns: 50px 1fr 55px 50px; }
  .popin { padding: 28px 16px; }
  .uc-results-full { grid-template-columns: 1fr; }
}

/* ── LEGAL PAGES ──────────────────────────────────────────── */
.legal-section { background: var(--navy); min-height: 60vh; }
.legal-inner { max-width: 780px; margin: 0 auto; padding: 80px 40px; }
.legal-inner h1 { font-family: "Source Serif 4", serif; font-size: 42px; font-weight: 300; color: var(--white); margin-bottom: 48px; }
.legal-body { font-size: 14px; line-height: 1.8; color: var(--text-muted); }
.legal-body h2 { font-family: "Source Serif 4", serif; font-size: 24px; color: var(--white); margin: 40px 0 16px; }
.legal-body h3 { font-size: 16px; color: var(--white); margin: 28px 0 10px; }
/* Editorial page components. Existing home/blog/forms keep their own layouts. */
.editorial-page{background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.6;--navy:var(--paper);--navy-mid:var(--stone);--navy-light:var(--rule);--accent:var(--amber);--accent-light:var(--teal);--white:var(--ink);--grey:var(--muted);--grey-light:var(--muted);--text:var(--ink);--text-muted:var(--muted)}
.editorial-page #main-content{padding-top:calc(var(--header-height) + 1px)}
.editorial-page #main-content h1,.editorial-page #main-content h2,.editorial-page #main-content h3{font-family:var(--serif);font-weight:400;margin:0;color:inherit;letter-spacing:-.01em;text-wrap:balance}
.editorial-page #main-content p{margin:0}
.editorial-page #main-content a{color:var(--link)}
.editorial-page .wrap{max-width:var(--w);margin:0 auto;padding-inline:var(--container-gutter)}
.editorial-page .sec{padding:clamp(64px,9vw,120px) 0}
.editorial-page .sec-stone{background:var(--stone)}
.editorial-page #main-content .h2{font-size:clamp(32px,3.8vw,52px);line-height:1.08;max-width:18em}
.editorial-page .intro{font-size:19px;line-height:1.6;color:var(--muted);max-width:38em;margin-top:20px!important}
.editorial-page .phero{padding:clamp(40px,6vw,80px) 0;background:var(--band);color:var(--on-band)}
.editorial-page .phero .wrap{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:center}
.editorial-page nav.crumb{position:static;display:block;background:none;backdrop-filter:none;border:0;padding:0;margin:0 0 22px;font-size:14px;color:var(--on-band-muted)}
.editorial-page #main-content .crumb a{color:var(--on-band-muted);text-decoration:none}
.editorial-page #main-content .phero h1{font-size:clamp(32px,3.6vw,48px);line-height:1.12}
.editorial-page .phero .lead{margin-top:20px!important;max-width:34em;font-size:18px;color:var(--on-band-muted)}
.editorial-page .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.editorial-page #main-content .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:0 22px;border:1px solid transparent;border-radius:2px;font-size:15px;font-weight:600;text-decoration:none;line-height:1.6}
.editorial-page #main-content .btn-solid{background:var(--deep);color:var(--paper)}
.editorial-page #main-content .btn-light{background:var(--cta);color:var(--cta-ink)}
.editorial-page #main-content .btn-ghost{border-color:var(--deep);color:var(--link);background:transparent}
.editorial-page #main-content .phero .btn-ghost{border-color:var(--on-band-muted);color:var(--on-band)}
.editorial-page #main-content .phero .btn-ghost:is(:hover,:focus-visible){background:var(--on-band);border-color:var(--on-band);color:var(--deep)}
.editorial-page .keys{list-style:none;margin:0;padding:8px 28px;background:var(--panel);color:var(--panel-ink);border-radius:4px;box-shadow:0 30px 60px -24px rgba(0,0,0,.3)}
.editorial-page .keys li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--rule)}
.editorial-page .keys li:last-child{border-bottom:0}
.editorial-page .keys b{font-weight:600}
.editorial-page .ki,.editorial-page .fi{display:flex;align-items:center;justify-content:center;background:var(--stone);color:var(--deep);border-radius:50%;width:44px;height:44px;flex-shrink:0}
.editorial-page .feat4{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:clamp(24px,3vw,40px);margin-top:48px}
.editorial-page .f4{border-top:2px solid var(--deep);padding-top:22px}
.editorial-page .f4 .fi{width:48px;height:48px;margin-bottom:18px}
.editorial-page #main-content .f4 h3{font-size:22px;line-height:1.25}
.editorial-page .f4 p{margin-top:10px!important;color:var(--muted);font-size:16px;line-height:1.6}
.editorial-page .checks{list-style:none;margin:32px 0 0;padding:0;border-top:1px solid var(--rule);max-width:760px}
.editorial-page .checks li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--rule)}
.editorial-page .check-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;color:var(--deep)}
.editorial-page .related-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px 28px;border-top:2px solid var(--deep);margin-top:40px;padding-top:14px}
.editorial-page .related-links .ml{display:flex;align-items:center;gap:14px;min-width:0;padding:20px 12px;border-bottom:1px solid var(--rule);border-radius:6px 6px 0 0;text-decoration:none;transition:background-color .18s ease,border-color .18s ease}
.editorial-page .related-links .mi{display:flex;align-items:center;justify-content:center;flex:0 0 40px;height:40px;color:var(--deep);background:var(--stone);border-radius:50%}
.editorial-page .related-links .mt{display:block;min-width:0;flex:1;font-size:16px;line-height:1.45}
.editorial-page .related-links .mt b{font-weight:600}
.editorial-page .link-arrow{display:flex;color:var(--muted)}
/* Shared resource links: clear interaction without moving the layout. */
.editorial-page .related-links .mi{transition:background-color .18s ease,color .18s ease}
.editorial-page .related-links .link-arrow{flex-shrink:0;transition:transform .18s ease,color .18s ease}
.editorial-page .related-links .ml:focus-visible{outline:2px solid var(--deep);outline-offset:4px;background:var(--stone);border-color:var(--deep)}
.editorial-page .related-links .ml:focus-visible .mi{background:var(--deep);color:var(--paper)}
.editorial-page .related-links .ml:focus-visible .link-arrow{color:var(--deep);transform:translate(2px,-2px)}
.editorial-page .related-links .ml:focus-visible .mt{text-decoration:underline;text-underline-offset:4px}
@media(hover:hover){
.editorial-page .related-links .ml:hover{background:var(--stone);border-color:var(--deep)}
.editorial-page .sec-stone .related-links .ml:hover{background:var(--paper)}
.editorial-page .related-links .ml:hover .mi{background:var(--deep);color:var(--paper)}
.editorial-page .related-links .ml:hover .link-arrow{color:var(--deep);transform:translate(2px,-2px)}
.editorial-page .related-links .ml:hover .mt{text-decoration:underline;text-underline-offset:4px}
}
@media(prefers-reduced-motion:reduce){
.editorial-page .related-links .ml,.editorial-page .related-links .mi,.editorial-page .related-links .link-arrow{transition:none}
.editorial-page .related-links .ml:is(:hover,:focus-visible) .link-arrow{transform:none}
}

.editorial-page .close{border-top:1px solid var(--rule)}
.editorial-page .close .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px 64px;align-items:start}
.editorial-page .btns{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.editorial-page .steps3{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 40px}
.editorial-page .steps3 li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;align-items:start;padding-top:20px;border-top:1px solid var(--rule)}
.editorial-page .steps3 svg{color:var(--deep);margin-top:2px}
.editorial-page .steps3 b{display:block;font-family:var(--serif);font-weight:400;font-size:20px;line-height:1.3;margin-bottom:4px}
.editorial-page .steps3 span{color:var(--muted);font-size:16px}
@media(max-width:1100px){.editorial-page .close .wrap{grid-template-columns:minmax(0,1fr)}.editorial-page .btns{flex-direction:row;flex-wrap:wrap}}
@media(max-width:980px){
  .editorial-page .phero{padding:36px 0 44px}
  .editorial-page .phero .wrap{grid-template-columns:minmax(0,1fr)}
  .editorial-page .keys{padding:2px 20px}
  .editorial-page .keys li{padding:12px 0;grid-template-columns:36px minmax(0,1fr);gap:12px}
  .editorial-page .keys .ki{width:36px;height:36px}
  .editorial-page .keys .ki svg{width:18px;height:18px}
}
@media(max-width:640px){
.editorial-page .sec{padding-block:52px}
.editorial-page #main-content .h2{font-size:28px}
.editorial-page .intro,.editorial-page .phero .lead{font-size:17px}
.editorial-page nav.crumb{margin-bottom:14px}
.editorial-page .steps3{grid-template-columns:minmax(0,1fr)}.editorial-page .btns,.editorial-page .btns .btn{width:100%}.editorial-page .phero .actions .btn{width:100%}}

/* Shared breadcrumb: structure only; hero typography remains page-specific. */
nav.crumb{position:relative;z-index:1;display:block;margin:0 0 22px;padding:0;border:0;background:none;color:inherit;font:400 14px/1.6 var(--sans)}
.crumb a{color:inherit;text-decoration:none}
.crumb a:hover{text-decoration:underline;text-underline-offset:3px}
.crumb-separator{padding-inline:3px}
.crumb [aria-current="page"]{overflow-wrap:anywhere}

/* Legal pages share the editorial container and hero, without hero actions. */
.editorial-page .legal-page-hero .wrap{display:block}
.editorial-page #main-content .lg-h{font-size:24px;margin:36px 0 10px}
.editorial-page #main-content .lg-h:first-child{margin-top:0}
.editorial-page #main-content .lg-p{max-width:46em;color:var(--muted)}

/* Shared Contact / Demonstration page forms. */
.lead-layout{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.lead-form-column{flex:1 1 560px;min-width:0}
.lead-sidebar{flex:1 1 320px;min-width:0}
.editorial-page #main-content .lead-sidebar h2{font-size:26px;font-weight:600;margin:0 0 18px}
.editorial-page #main-content .lead-contact-box h2{font-size:24px;margin-bottom:16px}
.lead-contact-box{background:var(--stone);border-top:3px solid var(--deep);padding:28px}
.lead-contact-details{list-style:none;padding:0;margin:0;display:grid;gap:14px;font-size:16px}
.lead-contact-details li{display:flex;gap:12px;align-items:center}
.lead-contact-details .check-icon{display:flex;color:var(--deep);flex-shrink:0}
.lead-next-steps{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:22px}
.lead-next-steps li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;align-items:start}
.lead-step-number{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--deep);color:#fff;font-weight:600}
.editorial-page #main-content .lead-next-steps h3{font-size:20px;line-height:1.3}
.editorial-page #main-content .lead-next-steps p{margin-top:4px;color:var(--muted);font-size:16px}
.lead-form-card{display:flex;flex-direction:column;gap:20px;align-items:flex-start;background:var(--paper);border:1px solid var(--rule);border-top:3px solid var(--deep);padding:clamp(20px,3vw,32px)}
.lead-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;width:100%}
.lead-field{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:600;min-width:0}
.lead-field-wide{grid-column:1/-1}
.lead-field input,.lead-field select,.lead-field textarea{font:400 16px/1.6 var(--sans);color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:2px;min-height:46px;padding:0 12px;width:100%;box-sizing:border-box}
.lead-field textarea{padding:10px 12px;resize:vertical}
.lead-field input:focus,.lead-field select:focus,.lead-field textarea:focus{outline:2px solid var(--deep);outline-offset:1px;border-color:var(--deep)}
.lead-form-note{font-size:14px;color:var(--muted)}
.lead-consent{width:100%;font-size:14px}
.lead-consent label{display:flex;gap:10px;align-items:flex-start}
.lead-consent input{margin-top:5px;accent-color:var(--deep)}
.lead-honeypot{display:none}
.lead-field-errors,.lead-form-errors{color:#a5271c;font-size:14px;font-weight:400}
.lead-field-errors ul,.lead-form-errors ul{padding:0;list-style:none}
.lead-form-message{padding:16px;border-left:3px solid var(--deep);background:var(--stone);width:100%}
.lead-form-card[hidden],.lead-form-card [hidden]{display:none}
.lead-form-card .privacy-notice{text-align:left;margin:0}
@media(max-width:760px){.lead-form-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.lead-form-card{padding:18px}}


/* Shared editorial sequence, product image and native FAQ accordion. */
.editorial-page .seq{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.editorial-page .seq li{position:relative;padding:0 24px 0 0;min-width:0}
.editorial-page .seq li::before{content:"";position:absolute;left:44px;right:0;top:21px;height:2px;background:var(--rule)}
.editorial-page .seq li:last-child::before{display:none}
.editorial-page .seq .sn{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--deep);color:#fff;font-weight:600;font-variant-numeric:tabular-nums}
.editorial-page #main-content .seq h3{font-size:21px;line-height:1.25;margin-top:18px}
.editorial-page #main-content .seq p{margin-top:8px;color:var(--muted);font-size:16px}
.editorial-page .shot2{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,5vw,72px);align-items:center}
.editorial-page .shot2 figure{margin:0;min-width:0}
.editorial-page .shot2 .frame{border:1px solid var(--rule);overflow:hidden;box-shadow:0 24px 48px -28px rgba(16,32,42,.45)}
.editorial-page .shot2 img{display:block;width:100%;height:auto}
.editorial-page .faq{margin-top:32px;border-top:2px solid var(--deep);max-width:880px}
.editorial-page .faq details{border-bottom:1px solid var(--rule)}
.editorial-page .faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 0;font-family:var(--serif);font-size:21px;line-height:1.35}
.editorial-page .faq summary::-webkit-details-marker{display:none}
.editorial-page .faq summary svg{flex:none;color:var(--deep);transition:transform .2s ease}
.editorial-page .faq details[open] summary svg{transform:rotate(45deg)}
.editorial-page .faq .faq-answer{padding:0 0 22px;color:var(--muted);max-width:44em}
.editorial-page .faq .faq-answer ul,.editorial-page .faq .faq-answer ol{padding-left:24px}
.editorial-page .faq .faq-answer a{overflow-wrap:anywhere}
@media(max-width:980px){.editorial-page .seq{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}.editorial-page .seq li::before{display:none}.editorial-page .shot2{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.editorial-page .seq{grid-template-columns:minmax(0,1fr);row-gap:28px}.editorial-page #main-content .seq h3{margin-top:12px}.editorial-page .faq summary{font-size:19px;padding:18px 0}}
@media(prefers-reduced-motion:reduce){.editorial-page .faq summary svg{transition:none}}

/* HTML site map, generated from the published page tree. */
.editorial-page .sitemap-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:40px 32px}
.editorial-page .sitemap-column{padding:0;min-width:0}
.editorial-page #main-content .sitemap-column h2{font-size:22px;line-height:1.3;margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid var(--deep)}
.editorial-page .sitemap-column ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.editorial-page .sitemap-column a{color:var(--ink);text-decoration:none;line-height:1.6;overflow-wrap:anywhere}
.editorial-page .sitemap-column a:hover{text-decoration:underline;text-underline-offset:3px}
.editorial-page .sitemap-column a:focus-visible{outline:2px solid var(--deep);outline-offset:4px;border-radius:2px}

/* Shared details and role lists for editorial pages. */
.editorial-page .keys .kx{display:block;font-size:14px;color:var(--muted);line-height:1.45;margin-top:2px}
.editorial-page .related-links .link-description{display:block;font-size:14px;font-weight:400;color:var(--muted);line-height:1.5;margin-top:3px}
.editorial-page .editorial-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,6vw,96px);align-items:start}
.editorial-page .editorial-split .checks{margin-top:0}
.editorial-page .roles{margin-top:48px;border-top:2px solid var(--deep)}
.editorial-page .role{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr) minmax(0,1fr);gap:16px 40px;padding:26px 0;border-bottom:1px solid var(--rule);text-decoration:none;color:inherit}
.editorial-page #main-content .role h3{font-size:24px;line-height:1.25}
.editorial-page #main-content .role .pain{color:var(--muted);font-family:var(--serif);font-style:italic;font-size:18px;line-height:1.5}
.editorial-page #main-content .role .gain{font-size:16px;line-height:1.6}
.editorial-page .role:is(:hover,:focus-visible) h3{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.editorial-page .role:focus-visible{outline:2px solid var(--deep);outline-offset:4px}
.editorial-page .rh{display:flex;gap:16px;align-items:center}
.editorial-page .ri{flex:none;width:48px;height:48px;border-radius:50%;background:var(--stone);color:var(--deep);display:flex;align-items:center;justify-content:center}
.editorial-page .role .pain,.editorial-page .role .gain{align-self:center}
@media(max-width:980px){.editorial-page .editorial-split,.editorial-page .role{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.editorial-page .role{padding:20px 0}.editorial-page .ri{width:40px;height:40px}}

.editorial-page .shot{margin-top:48px}
.editorial-page .shot figure{margin:0}
.editorial-page .shot .frame{overflow:hidden;border:1px solid var(--rule);border-radius:8px;box-shadow:0 24px 48px -28px rgba(16,32,42,.45)}
.editorial-page .shot img{display:block;width:100%;height:auto}
.editorial-page .shot figcaption{margin-top:16px;color:var(--muted);font-size:14px;line-height:1.6}

/* Shared accessible editorial tables. */
.editorial-page .editorial-table{margin-top:40px;overflow-x:auto;border-top:2px solid var(--deep);overscroll-behavior-x:contain}
.editorial-page .editorial-table table{border-collapse:collapse;width:100%;min-width:560px}
.editorial-page .editorial-table th,.editorial-page .editorial-table td{text-align:left;vertical-align:top;padding:18px 20px 18px 0;border-bottom:1px solid var(--rule);font-size:16px;line-height:1.6}
.editorial-page .editorial-table th{font-weight:600;color:var(--ink)}
.editorial-page .editorial-table td{color:var(--muted)}
.editorial-page .editorial-table thead th{font-size:14px;font-weight:600;color:var(--deep);padding-top:14px}
.editorial-page .editorial-table tbody th{width:28%}
.editorial-page .editorial-table:focus-visible{outline:2px solid var(--deep);outline-offset:4px}
.editorial-page #main-content .table-note{margin-top:20px;font-size:16px;color:var(--muted)}
@media(max-width:640px){.editorial-page .editorial-table th,.editorial-page .editorial-table td{font-size:15px;padding:14px 16px 14px 0}}

/* Reusable linked cards, situation/need comparison, and screenshot gallery. */
.editorial-page #main-content .lc{display:block;text-decoration:none;color:inherit}
.editorial-page .lc:is(:hover,:focus-visible) h3{text-decoration:underline;text-underline-offset:4px}
.editorial-page .lc:focus-visible{outline:2px solid var(--deep);outline-offset:6px}
.editorial-page .more{display:inline-block;margin-top:14px;font-weight:600;font-size:15px;color:var(--link);border-bottom:1px solid currentColor;padding-bottom:2px}
.editorial-page .duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.editorial-page .duo-a,.editorial-page .duo-b{padding:clamp(24px,4vw,44px)}
.editorial-page .duo-a{background:var(--stone);border-top:3px solid var(--amber)}
.editorial-page .duo-b{background:var(--band);color:var(--on-band);border-top:3px solid var(--deep)}
.editorial-page #main-content .duo-l{font-size:14px;font-weight:600;margin-bottom:14px;color:var(--muted)}
.editorial-page #main-content .duo-b .duo-l{color:var(--on-band-muted)}
.editorial-page #main-content .duo-t{font-family:var(--serif);font-size:clamp(20px,2vw,26px);line-height:1.4}
.editorial-page .duo-a .duo-t{font-style:italic}
.editorial-page .figs{margin-top:40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:32px}
.editorial-page .pfig{margin:0;min-width:0}
.editorial-page .pfig .frame{border:1px solid var(--rule);overflow:hidden;box-shadow:0 24px 48px -28px rgba(16,32,42,.45)}
.editorial-page .pfig img{display:block;width:100%;height:auto}
.editorial-page .pfig figcaption{margin-top:14px}
.editorial-page .pfig figcaption b{display:block;color:var(--ink);font-weight:600}
.editorial-page .pfig figcaption span{font-size:15px;color:var(--muted)}
@media(max-width:980px){.editorial-page .duo{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.editorial-page .duo-a,.editorial-page .duo-b{padding:22px}}

/* Brand strips and integration cards: reusable ERP/editorial components. */
.editorial-page .sec-chips{padding-block:28px;border-bottom:1px solid var(--rule)}
.editorial-page #main-content .chips-l{font-size:14px;color:var(--muted);margin-bottom:14px}
.editorial-page .chips{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}
.editorial-page .chip{display:inline-flex;align-items:center;gap:10px;font-weight:600;min-width:0}
.editorial-page .brand-mark{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;background:var(--paper);border:1px solid var(--rule);color:var(--deep)}
.editorial-page .brand-mark img,.editorial-page .integration-card-mark img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.editorial-page .wt{display:inline-flex;align-items:center;gap:8px;min-height:52px;padding:0 16px;border:1px solid var(--rule);border-radius:12px;background:var(--paper);font-weight:600;font-size:15px;color:var(--ink)}
.editorial-page .integration-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:40px}
.editorial-page #main-content .integration-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:24px;border:1px solid var(--rule);text-decoration:none;color:var(--muted);font-size:14px;line-height:1.5}
.editorial-page .integration-card-top{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.editorial-page .integration-card-top b{display:flex;align-items:center;gap:14px;font-family:var(--serif);font-size:22px;font-weight:400;color:var(--ink)}
.editorial-page .integration-card-mark{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:12px;background:var(--paper);border:1px solid var(--rule);color:var(--deep)}
.editorial-page .integration-status{font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px}
.editorial-page .status-reference{background:var(--stone);color:var(--deep)}
.editorial-page .status-adaptation{background:#FDF1D8;color:#7A5200}
.editorial-page .status-study{background:var(--stone);color:var(--muted)}
.editorial-page .integration-card .more{margin-top:auto}
.editorial-page a.integration-card:is(:hover,:focus-visible){border-color:var(--deep)}
.editorial-page a.integration-card:focus-visible{outline:2px solid var(--deep);outline-offset:4px}
.editorial-page #main-content .section-link{margin-top:20px}
.editorial-page .section-link a{font-weight:600;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:2px}
.editorial-page .section-link a:focus-visible{outline:2px solid var(--deep);outline-offset:4px}
@media(max-width:980px){.editorial-page .integration-cards{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.editorial-page .chips{gap:10px 14px}.editorial-page .wt{min-height:44px}.editorial-page .brand-mark{width:44px}}

.editorial-page #main-content .checks + .section-link{margin-top:28px}

/* ERP identity above the hero title, matching the reference layout. */
.editorial-page .hero-brand{margin-bottom:20px}
.editorial-page .hero-brand-mark{display:inline-flex;width:64px;height:64px;border-radius:14px;background:var(--paper);align-items:center;justify-content:center;margin-bottom:20px}

.editorial-page .wt .lucide-icon{flex-shrink:0;color:var(--deep)}
