/* ============================================================
   O2C Masters — shared design system
   "Dutch boldness. Italian precision."
   One source of truth for every page on o2cmasters.com.
   ============================================================ */

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

:root {
  --red-900: #6B0F17;
  --red-700: #AE1C28;
  --red-500: #CD212A;
  --red-300: #E8737A;
  --red-100: #FAEAEB;

  --orange-700: #CC3F00;
  --orange-500: #FF4F00;
  --orange-300: #FF8C66;
  --orange-100: #FFF0EB;

  --blue-900: #0D2659;
  --blue-700: #21468B;
  --blue-500: #007FFF;
  --blue-300: #66B2FF;
  --blue-100: #EBF4FF;

  --green-700: #005C2E;
  --green-500: #008C45;
  --green-300: #4DB87F;
  --green-100: #E6F5EE;

  --gray-900: #1E2124;
  --gray-800: #383C42;
  --gray-700: #52575F;
  --gray-600: #6D737C;
  --gray-500: #898F99;
  --gray-400: #A8ADB5;
  --gray-300: #C8CBD1;
  --gray-200: #E2E4E8;
  --gray-100: #F1F2F4;
  --gray-50:  #F8F9FA;

  --surface-dark:  #1E2124;
  --surface-mid:   #383C42;
  --surface-light: #F8F4F0;
  --surface-white: #FDFCFB;

  --semantic-error:      #CD212A; --semantic-error-bg:   #FAEAEB;
  --semantic-success:    #008C45; --semantic-success-bg: #E6F5EE;
  --semantic-info:       #007FFF; --semantic-info-bg:    #EBF4FF;
  --semantic-warning:    #E07B00; --semantic-warning-bg: #FFF3E0;

  --fg-1: var(--gray-900);
  --fg-2: var(--gray-800);
  --fg-3: var(--gray-600);
  --fg-4: var(--gray-500);
  --fg-on-dark: #FDFCFB;
  --bg-page: var(--surface-light);
  --bg-card: var(--surface-white);
  --border: var(--gray-200);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono:    'DM Mono', 'SF Mono', Menlo, Consolas, monospace;

  --fs-eyebrow: 11px;
  --fs-caption: 12px;
  --fs-small:   13px;
  --fs-body:    15px;
  --fs-lead:    17px;
  --fs-h4:      20px;
  --fs-h3:      24px;
  --fs-h2:      30px;
  --fs-h1:      42px;
  --fs-display: 64px;

  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px;  --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.09);
  --shadow-lg: 0 24px 48px rgba(0,0,0,0.12);

  --container-prose: 760px;
  --container-md:  960px;
  --container-lg:  1280px;

  --t-fast: 120ms ease;
  --t-base: 200ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--fg-2);
  background: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--gray-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--orange-500);
}

a { text-decoration: none; }

/* ── EYEBROW ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-500);
  font-weight: 500;
  display: block;
  margin-bottom: var(--space-4);
}
.eyebrow.on-dark { color: var(--orange-300); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 11px 22px; border-radius: var(--radius-md);
  border: none; cursor: pointer;
  line-height: 1; letter-spacing: -0.005em;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--orange-500); color: var(--gray-900); }
.btn-primary:hover { background: var(--orange-700); color: #FFF; }
.btn-secondary { background: var(--gray-900); color: var(--fg-on-dark); }
.btn-secondary:hover { background: var(--gray-800); }
.btn-ghost { background: transparent; color: var(--gray-900); border: 1px solid var(--gray-300); }
.btn-ghost:hover { border-color: var(--gray-900); }
.btn-ghost-light { background: transparent; color: var(--fg-on-dark); border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.6); }
.btn-link { background: transparent; color: var(--blue-700); padding: 11px 8px; }
.btn-link:hover { color: var(--orange-500); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn[disabled] { background: var(--gray-200); color: var(--gray-400); cursor: not-allowed; }

/* ── BADGES ── */
.badge {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  padding: 3px 9px; border-radius: var(--radius-xs);
  display: inline-flex; align-items: center; gap: 4px;
}
.b-success { background: var(--green-100); color: var(--green-700); }
.b-error   { background: var(--red-100);   color: var(--red-700); }
.b-info    { background: var(--blue-100);  color: var(--blue-700); }
.b-warn    { background: var(--semantic-warning-bg); color: #CC7700; }
.b-neutral { background: var(--gray-100);  color: var(--gray-700); }

/* ── INPUTS ── */
.input {
  width: 100%; font-family: var(--font-body); font-size: 14px;
  padding: 11px 14px; background: var(--surface-white);
  border: 1px solid var(--gray-300); border-radius: var(--radius-md);
  color: var(--gray-900);
}
.input:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 2px var(--blue-100); }

/* ── NAV ── */
nav.marketing {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,244,240,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}

.nav-logo span { color: var(--orange-500); }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px; font-weight: 400;
  color: var(--gray-700);
  transition: color var(--t-base);
}
.nav-links a:hover { color: var(--gray-900); }
.nav-links a.active { color: var(--gray-900); font-weight: 500; }

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

/* ── FLAG BAR ── */
.flag-bar {
  height: 3px;
  background: linear-gradient(90deg,
    var(--red-700) 0%, var(--red-700) 25%,
    var(--orange-500) 25%, var(--orange-500) 50%,
    var(--blue-700) 50%, var(--blue-700) 75%,
    var(--green-500) 75%, var(--green-500) 100%
  );
}

/* ── HERO (dark) ── */
.hero-dark {
  background: var(--surface-dark);
  color: var(--fg-on-dark);
  padding: 120px 40px 140px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--orange-500);
}

.hero-dark .bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--orange-500);
}

.hero-dark .halo {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 90% at 95% 50%, rgba(255,79,0,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 30% 60% at 5%  80%, rgba(174,28,40,0.14) 0%, transparent 60%);
}

.hero-inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  position: relative;
}

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

.hero-dark h1 {
  font-size: clamp(40px, 5.5vw, var(--fs-display));
  font-weight: 900;
  color: var(--fg-on-dark);
  margin-bottom: var(--space-5);
}

.hero-dark .lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  color: rgba(253,252,251,0.7);
  max-width: 520px;
  margin-bottom: var(--space-7);
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 56px; flex-wrap: wrap;
  margin-top: 80px; padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 900;
  color: var(--fg-on-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,252,251,0.45);
  margin-top: 6px;
}

/* ── SECTION WRAPPERS ── */
.section { padding: 96px 40px; }

.section-inner {
  max-width: var(--container-lg);
  margin: 0 auto;
}

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .lead { margin-left: auto; margin-right: auto; }

.section-header h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  margin-bottom: var(--space-4);
  max-width: 640px;
}

.section-header.center h2 { margin-left: auto; margin-right: auto; }

.lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  color: var(--fg-3);
  max-width: 560px;
  line-height: 1.7;
}

/* ── PILLARS ── */
.pillars-section { background: var(--gray-900); color: var(--fg-on-dark); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pillar {
  background: var(--surface-dark);
  padding: 40px 32px;
  position: relative;
  cursor: pointer;
  transition: background var(--t-base);
  outline: none;
}

.pillar:hover { background: var(--surface-mid); }
.pillar:focus-visible { outline: 2px solid var(--orange-300); outline-offset: -2px; }
.pillar.expanded { background: var(--surface-mid); }

.pillar-dot {
  width: 10px; height: 10px; border-radius: 50%;
  margin-bottom: 20px;
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--fg-on-dark);
}

.pillar-toggle {
  color: rgba(253,252,251,0.3);
  transition: transform var(--t-base), color var(--t-base);
  flex-shrink: 0;
  margin-left: 12px;
  margin-top: 4px;
}

.pillar.expanded .pillar-toggle {
  transform: rotate(45deg);
  color: var(--orange-300);
}

.pillar p {
  font-size: var(--fs-small);
  color: rgba(253,252,251,0.55);
  line-height: 1.65;
}

.pillar-expanded-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms ease;
}

.pillar.expanded .pillar-expanded-wrap { grid-template-rows: 1fr; }

.pillar-expanded { overflow: hidden; }

.pillar-expanded-inner {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-small);
  color: rgba(253,252,251,0.65);
  line-height: 1.7;
}

/* ── SERVICES / CARD GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all var(--t-base);
}

.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-500);
  margin-bottom: 18px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  margin-bottom: 10px;
}

.card p { font-size: 14px; color: var(--fg-3); line-height: 1.7; }

/* ── HOW IT WORKS ── */
.how-section { background: var(--gray-50); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 900;
  color: var(--gray-200);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  margin-bottom: 10px;
}

.step p { font-size: 14px; color: var(--fg-3); line-height: 1.7; }

/* ── STATS BAND ── */
.stats-band {
  background: var(--surface-white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 72px 40px;
}

.stats-row {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-block .value {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-block .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 8px;
}

/* ── SPLIT SECTION ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.benefit-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.benefit-item { display: flex; gap: 14px; align-items: flex-start; }

.benefit-item .icon-wrap {
  width: 24px; min-width: 24px;
  color: var(--green-500);
  margin-top: 1px;
}

.benefit-item h4 {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.benefit-item p { font-size: 14px; color: var(--fg-3); }

/* ── DASHBOARD MOCKUP ── */
.dash-mockup {
  background: var(--surface-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dash-topbar {
  background: var(--gray-900);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 7px;
}

.dot-r { width:10px;height:10px;border-radius:50%;background:#CD212A; }
.dot-y { width:10px;height:10px;border-radius:50%;background:#E07B00; }
.dot-g { width:10px;height:10px;border-radius:50%;background:#008C45; }

.dash-body { padding: 20px; }

.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }

.kpi {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px;
}

.kpi-label { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray-500); }
.kpi-value { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--gray-900); margin-top: 3px; letter-spacing: -0.02em; }
.kpi-delta { font-size: 11px; color: var(--green-500); font-weight: 500; margin-top: 2px; }

.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th {
  font-family: var(--font-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gray-500); padding: 8px 0;
  text-align: left; border-bottom: 1px solid var(--gray-200);
}
.dash-table td {
  font-size: 12px; color: var(--gray-600);
  padding: 9px 0; border-bottom: 1px solid var(--gray-100);
}
.dash-table td:first-child { color: var(--gray-900); font-weight: 500; }

/* ── CLIENTS / LOGO ROW ── */
.clients-section { border-top: 1px solid var(--gray-200); }

.clients-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-400); text-align: center;
  margin-bottom: 32px;
}

.clients-row {
  display: flex; align-items: center; justify-content: center;
  gap: 56px; flex-wrap: wrap;
}

.client-name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  color: var(--gray-300);
  letter-spacing: -0.02em;
}

/* ── TESTIMONIAL / STATEMENT (dark) ── */
.testimonial-section { background: var(--gray-900); padding: 96px 40px; }

.testimonial-inner { max-width: 760px; margin: 0 auto; text-align: center; }

.quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--fg-on-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.quote em { font-style: italic; color: var(--orange-300); }

.quote-attr {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(253,252,251,0.4);
}

/* ── CTA BAND ── */
.cta-section { padding: 120px 40px; text-align: center; background: var(--surface-light); }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; margin-bottom: 16px; }
.cta-section .lead { margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--surface-dark); color: var(--fg-on-dark); padding: 64px 40px 32px; }
.footer-inner { max-width: var(--container-lg); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
  color: var(--fg-on-dark);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.footer-brand-name span { color: var(--orange-500); }
.footer-brand p { font-size: 14px; color: rgba(253,252,251,0.45); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange-300);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(253,252,251,0.5); transition: color var(--t-base); }
.footer-col a:hover { color: var(--fg-on-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(253,252,251,0.3);
  letter-spacing: 0.05em;
}

/* ============================================================
   ARTICLE / INSIGHTS  — long-form reference + comparison pages
   ============================================================ */

/* Article hero (lighter than the marketing hero) */
.article-hero {
  background: var(--surface-dark);
  color: var(--fg-on-dark);
  padding: 96px 40px 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--orange-500);
}
.article-hero .halo {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 40% 80% at 90% 30%, rgba(255,79,0,0.14) 0%, transparent 70%);
}
.article-hero-inner { max-width: var(--container-prose); margin: 0 auto; position: relative; }
.article-hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 900; color: var(--fg-on-dark);
  margin-bottom: var(--space-4);
}
.article-hero .lead { color: rgba(253,252,251,0.7); max-width: 640px; }
.article-meta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(253,252,251,0.45);
  margin-top: var(--space-6);
  display: flex; gap: 20px; flex-wrap: wrap;
}

/* Prose column */
.prose { max-width: var(--container-prose); margin: 0 auto; padding: 72px 40px; }
.prose > * + * { margin-top: var(--space-5); }
.prose h2 {
  font-size: clamp(26px, 3vw, 34px); font-weight: 900;
  margin-top: var(--space-9); margin-bottom: var(--space-2);
  scroll-margin-top: 88px;
}
.prose h3 {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700;
  margin-top: var(--space-7);
}
.prose p { color: var(--fg-2); line-height: 1.8; }
.prose .lead { font-size: var(--fs-lead); color: var(--fg-3); font-weight: 300; max-width: none; }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--fg-2); line-height: 1.8; }
.prose li + li { margin-top: var(--space-2); }
.prose a { color: var(--blue-700); border-bottom: 1px solid var(--gray-300); transition: color var(--t-base); }
.prose a:hover { color: var(--orange-500); border-color: var(--orange-500); }
.prose strong { color: var(--gray-900); font-weight: 700; }
.prose blockquote {
  border-left: 3px solid var(--orange-500);
  padding-left: var(--space-5);
  font-family: var(--font-display); font-style: italic;
  font-size: var(--fs-h4); color: var(--gray-800);
}
.prose hr { border: none; border-top: 1px solid var(--gray-200); margin: var(--space-8) 0; }

/* Pull-out / callout */
.callout {
  background: var(--surface-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.callout .eyebrow { margin-bottom: var(--space-2); }

/* Comparison table */
.compare-wrap { max-width: var(--container-lg); margin: 0 auto; padding: 0 40px; overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14px;
}
.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gray-600);
  text-align: left;
  padding: 14px 18px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.compare-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--fg-2); vertical-align: top;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child,
.compare-table tbody th[scope="row"] {
  font-weight: 700; color: var(--gray-900);
  font-family: var(--font-body); text-align: left;
}
.compare-table tbody tr:hover td { background: var(--gray-50); }

/* Sticky in-page table of contents */
.toc {
  font-family: var(--font-mono);
  font-size: 12px; line-height: 1.9;
}
.toc-label {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: var(--space-3);
}
.toc a { color: var(--gray-600); display: block; padding: 2px 0; transition: color var(--t-base); }
.toc a:hover { color: var(--orange-500); }

/* Insight cards (hub overview) */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.insight-card {
  display: flex; flex-direction: column;
  background: var(--surface-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all var(--t-base);
  height: 100%;
}
.insight-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.insight-card .kicker {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange-500); margin-bottom: 14px;
}
.insight-card h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; margin-bottom: 10px; }
.insight-card p { font-size: 14px; color: var(--fg-3); line-height: 1.7; flex: 1; }
.insight-card .read { margin-top: 18px; font-size: 13px; font-weight: 500; color: var(--blue-700); }
.insight-card.soon { opacity: 0.6; }
.insight-card.soon:hover { transform: none; box-shadow: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-links { display: none; }
}

@media (max-width: 580px) {
  .section { padding: 64px 20px; }
  .hero-dark { padding: 80px 20px 100px; }
  .hero-stats { gap: 32px; }
  .services-grid, .insights-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .prose, .article-hero, .compare-wrap { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   O2C JOURNEY — interactive homepage process roadmap
   ============================================================ */
.jmap { position: relative; background: var(--surface-dark); border-radius: var(--radius-xl); overflow: hidden; padding: 34px 28px 28px; margin-top: 8px; }
.jmap .jbar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange-500); }

.jroad { display: flex; gap: 0; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.jroad::-webkit-scrollbar { height: 6px; }
.jroad::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

.jnode { flex: 1 0 120px; min-width: 120px; position: relative; padding: 24px 6px 4px; text-align: center; cursor: pointer; background: none; border: none; outline: none; font: inherit; color: inherit; text-decoration: none; }
.jnode::before { content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.14); }
.jnode:first-child::before { left: 50%; }
.jnode:last-child::before { right: 50%; }
.jdot { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 15px; height: 15px; border-radius: 50%; background: var(--surface-dark); border: 2px solid var(--gray-600); z-index: 1; transition: all var(--t-base); }
.jnode.bridge .jdot { border-style: dashed; }
.jnum { font-family: var(--font-mono); font-size: 10px; line-height: 1; letter-spacing: 0.12em; color: rgba(253,252,251,0.4); margin-bottom: 8px; }
.jtitle { font-size: 12.5px; font-weight: 500; line-height: 1.25; color: rgba(253,252,251,0.82); margin-bottom: 8px; min-height: 32px; display: flex; align-items: flex-start; justify-content: center; text-align: center; }
.jwho { font-family: var(--font-mono); font-size: 8.5px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; }
.jnode:hover .jdot, .jnode:focus-visible .jdot, .jnode.active .jdot { border-color: var(--orange-500); box-shadow: 0 0 0 4px rgba(255,79,0,0.2); }
.jnode:hover .jtitle, .jnode.active .jtitle { color: var(--fg-on-dark); }

.jloop { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: rgba(253,252,251,0.35); text-align: right; margin: 10px 2px 0; }

.jdetail { margin-top: 22px; background: var(--surface-mid); border-radius: var(--radius-lg); padding: 22px 24px; min-height: 128px; }
.jd-kick { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.jd-title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 700; color: var(--fg-on-dark); margin-bottom: 8px; letter-spacing: -0.01em; }
.jd-desc { font-size: 14px; font-weight: 300; line-height: 1.65; color: rgba(253,252,251,0.72); margin-bottom: 16px; max-width: 640px; }
.jd-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.jd-note { font-size: 13px; font-family: var(--font-mono); color: rgba(253,252,251,0.4); }

@media (max-width: 580px) {
  .jmap { padding: 28px 16px 20px; }
}
