/* ============================================
   RankRush KSA — Design 2: Modern Saudi Premium
   Palette: Saudi green + navy + gold + warm off-white
   Type: Inter (display + body), Source Serif (rare editorial)
   ============================================ */

/* ---------- Font Loading ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:ital,wght@0,400;1,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Primary palette — Saudi premium */
  --color-primary: #006C35;          /* Saudi green */
  --color-primary-mid: #008A45;      /* Lighter green for hovers */
  --color-primary-dark: #004A24;     /* Deeper green for pressed/active */
  --color-accent: #C8B273;           /* Gold — premium secondary */
  --color-accent-soft: #F2EBD3;      /* Pale gold tint for soft fills */
  --color-navy: #0A2540;             /* Deep navy — text + dark surfaces */
  --color-navy-soft: #1F3A5C;        /* Lighter navy for nested surfaces */

  /* Surfaces */
  --color-page-bg: #FFFFFF;          /* Pure white page bg */
  --color-mint: #F8F5EE;             /* Warm off-white for section--mint */
  --color-white: #FFFFFF;
  --color-surface-soft: #F5F1E8;     /* Sand surface for stat panels */

  /* Text */
  --color-text: #0A2540;             /* Deep navy for all headings */
  --color-text-body: #475569;        /* Slate body text */
  --color-text-muted: #64748B;       /* Muted text for captions */
  --color-border: #E5E7EB;           /* Light borders */
  --color-border-strong: #CBD5E1;    /* Stronger border for emphasis */

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;  /* Reserved for rare editorial moments */

  /* Layout */
  --container-max: 1200px;
  --container-pad: 28px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Spacing scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  /* Shadows — subtle, layered */
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  background: var(--color-page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';  /* Inter stylistic tweaks */
}
img, svg { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-mid); }

/* ---------- Typography (Inter-based, modern institutional) ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3.5vw, 34px); letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 2.5vw, 24px); letter-spacing: -0.015em; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
p { margin: 0 0 var(--space-sm); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent-soft);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 108, 53, 0.12);
}

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.section { padding: var(--space-2xl) 0; }
.section--compact { padding: var(--space-xl) 0; }
.section--mint { background: var(--color-mint); }
.section--primary { background: var(--color-navy); color: var(--color-white); }
.section--primary h1, .section--primary h2, .section--primary h3, .section--primary h4 { color: var(--color-white); }
.section--primary p { color: rgba(255, 255, 255, 0.78); }
.section--primary .eyebrow {
  background: rgba(200, 178, 115, 0.15);
  color: var(--color-accent);
  border-color: rgba(200, 178, 115, 0.25);
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.site-logo__mark {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
}
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  color: var(--color-text-body);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.site-nav a:hover { color: var(--color-primary); }
.site-nav .dropdown { position: relative; }
.site-nav .dropdown__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  min-width: 280px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  border: 1px solid var(--color-border);
}
.site-nav .dropdown:hover .dropdown__menu { opacity: 1; visibility: visible; }
.site-nav .dropdown__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.site-nav .dropdown__menu a:hover { background: var(--color-mint); color: var(--color-primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-primary-mid);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--dark {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn--dark:hover {
  background: var(--color-navy-soft);
  color: var(--color-accent);
}

/* ---------- Mobile menu ---------- */
.mobile-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
}

/* ---------- Hero (homepage) — Split layout, left-aligned ---------- */
.hero {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--color-surface-soft) 100%);
  border-bottom: 1px solid var(--color-border);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}
.hero__content {
  max-width: 580px;
}
.hero__title {
  margin: 0 0 20px;
  font-size: clamp(36px, 4.8vw, 50px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--color-text);
}
.hero__title em { color: var(--color-primary); font-style: normal; }
.hero__sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-body);
  margin: 0 0 var(--space-md);
}
.hero__ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; }

/* Stat panel grid (Design 2 hero signature) */
.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero__stat-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__stat-num {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
}
.hero__stat-label { font-size: 12px; }
.hero__stat-card--green { background: var(--color-primary); color: var(--color-white); }
.hero__stat-card--gold { background: var(--color-accent); color: var(--color-navy); }
.hero__stat-card--soft { background: var(--color-surface-soft); color: var(--color-text); border: 1px solid var(--color-border); }
.hero__stat-card--navy { background: var(--color-navy); color: var(--color-white); }

/* ---------- Bento Grid (legacy class — kept for non-homepage uses) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
  margin-top: var(--space-lg);
}
.bento__card {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid transparent;
}
.bento__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bento__card--hero { grid-column: span 2; grid-row: span 2; background: var(--color-primary); color: var(--color-white); }
.bento__card--hero h3 { color: var(--color-white); font-size: 30px; }
.bento__card--white { background: var(--color-white); color: var(--color-text); border-color: var(--color-border); }
.bento__card--accent { background: var(--color-accent); color: var(--color-navy); }
.bento__card--mid { background: var(--color-navy); color: var(--color-white); }
.bento__card--mid h3 { color: var(--color-white); }
.bento__card--soft { background: var(--color-surface-soft); color: var(--color-text); }
.bento__card--stat { grid-column: span 2; background: var(--color-white); color: var(--color-text); border-color: var(--color-border); flex-direction: row; align-items: center; justify-content: space-between; }
.bento__eyebrow { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; opacity: 0.85; }
.bento__card--hero .bento__eyebrow { color: var(--color-accent); }
.bento__title { font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.bento__sub { font-size: 12px; margin-top: 4px; opacity: 0.85; }
.bento__stat { font-size: 38px; color: var(--color-primary); line-height: 1; font-weight: 600; letter-spacing: -0.025em; }
.bento__pill { font-size: 11px; background: var(--color-surface-soft); color: var(--color-primary); padding: 6px 14px; border-radius: var(--radius-pill); font-weight: 600; }
.bento__arrow {
  width: 38px; height: 38px;
  background: var(--color-accent);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
}

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--color-navy);
  padding: var(--space-md) 0;
  color: var(--color-white);
}
.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.stat-band__num {
  font-size: 32px;
  color: var(--color-accent);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.stat-band__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}

/* ---------- Generic page header (interior pages) ---------- */
.page-header {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 108, 53, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.page-header > * { position: relative; }
.page-header h1 { color: var(--color-white); }
.page-header .eyebrow {
  background: rgba(200, 178, 115, 0.15);
  color: var(--color-accent);
  border-color: rgba(200, 178, 115, 0.25);
}
.page-header__sub {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.55;
}
.breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--color-accent); }
.breadcrumb a:hover { color: var(--color-white); }

/* ---------- Cards (services hub, industries, etc.) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.25s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 44px; height: 44px;
  background: var(--color-mint);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-sm);
  border: 1px solid rgba(0, 108, 53, 0.1);
}
.card__title { font-size: 18px; color: var(--color-text); margin-bottom: 8px; font-weight: 600; letter-spacing: -0.015em; }
.card__desc { font-size: 14px; color: var(--color-text-body); line-height: 1.55; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-sm);
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
}
.card__meta {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ---------- Content sections (service/city/industry pages) ---------- */
.content-section { padding: var(--space-xl) 0; }
.content-section h2 { margin-bottom: var(--space-md); }
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  padding: 14px 0 14px 36px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--color-primary);
  background: var(--color-mint);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(0, 108, 53, 0.15);
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq__item:hover { border-color: var(--color-border-strong); }
.faq__item[open] { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.faq__question {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--color-text);
  font-size: 16px;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__question::after {
  content: '+';
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq__item[open] .faq__question::after { content: '−'; }
.faq__answer { padding: 0 24px 22px; color: var(--color-text-body); font-size: 15px; line-height: 1.7; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-lg);
  margin: var(--space-xl) auto;
  max-width: calc(var(--container-max) - 2 * var(--container-pad));
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 108, 53, 0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip h2 { color: var(--color-white); margin-bottom: var(--space-sm); }
.cta-strip p { color: rgba(255, 255, 255, 0.78); margin-bottom: var(--space-md); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.testimonial {
  background: var(--color-white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.testimonial__stars { color: var(--color-accent); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial__quote { font-size: 16px; color: var(--color-text); line-height: 1.55; margin-bottom: 18px; font-weight: 500; }
.testimonial__author { font-size: 13px; color: var(--color-text-muted); }
.testimonial__author strong { color: var(--color-text); display: block; font-weight: 600; margin-bottom: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-2xl) 0 var(--space-md);
  margin-top: var(--space-2xl);
}
.footer-cta {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer-cta h3 { color: var(--color-white); margin: 0; }
.footer-cta p { color: rgba(255, 255, 255, 0.85); margin: 4px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-lg);
}
.footer-col h4 {
  color: var(--color-accent);
  font-size: 13px;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); font-size: 14px; }
.footer-col a:hover { color: var(--color-accent); }
.footer-social { display: flex; gap: 10px; margin-top: var(--space-md); }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--color-accent); color: var(--color-navy); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  margin-top: var(--space-xl);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hero__stats { max-width: 480px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--hero { grid-column: span 2; grid-row: span 1; min-height: 240px; }
  .bento__card--stat { grid-column: span 2; }
  .two-column { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --container-pad: 18px; --space-2xl: 64px; --space-xl: 48px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); flex-direction: column; padding: var(--space-md); border-top: 1px solid var(--color-border); align-items: flex-start; gap: var(--space-sm); }
  .site-nav.is-open { display: flex; }
  .site-nav .dropdown__menu { position: static; transform: none; box-shadow: none; opacity: 1; visibility: visible; padding: 8px 0 0 12px; border: none; min-width: 0; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__card--hero, .bento__card--stat { grid-column: span 1; min-height: 200px; }
  .stat-band__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { flex-direction: column; text-align: center; }
}

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta-bar { display: none; }
@media (max-width: 767px) {
  .mobile-cta-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; gap: 0;
    background: var(--color-navy);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .mobile-cta-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 8px;
    color: white; text-decoration: none;
    font-weight: 600; font-size: 14px; letter-spacing: 0.2px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 52px;
  }
  .mobile-cta-bar a.whatsapp {
    flex: 2;
    background: #25D366; color: white;
  }
  .mobile-cta-bar a:last-child { border-right: none; }
  .mobile-cta-bar a:hover { opacity: 0.9; }
  body { padding-bottom: 56px; }
  body.no-mobile-cta .mobile-cta-bar { display: none; }
  body.no-mobile-cta { padding-bottom: 0; }
}

/* ---------- Comparison tables ---------- */
.compare-table-wrapper {
  overflow-x: auto;
  margin: var(--space-md) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-white);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 600px;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.5;
}
.compare-table th {
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 1;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tr:nth-child(even) td { background: var(--color-mint); }
.compare-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
}
@media (max-width: 767px) {
  .compare-table { font-size: 13px; min-width: 480px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

/* ---------- Inline chart figures ---------- */
.chart-figure {
  margin: var(--space-md) 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  overflow: hidden;
}
.chart-figure svg { display: block; width: 100%; height: auto; max-height: 520px; }
.chart-caption {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}
.chart-table-title { margin: 0 0 12px; font-size: 17px; color: var(--color-text); font-weight: 600; }
.chart-compare-table {
  width: 100%; border-collapse: collapse; font-size: 14.5px;
  min-width: 480px;
}
.chart-compare-table th, .chart-compare-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--color-border);
  text-align: left; vertical-align: top;
}
.chart-compare-table th {
  background: var(--color-navy); color: var(--color-white);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600;
}
.chart-compare-table tr:nth-child(even) td { background: var(--color-mint); }
.chart-compare-table td:first-child { font-weight: 600; color: var(--color-text); }
.chart-table-wrapper { overflow-x: auto; }
.chart-error {
  background: #FEE2E2; padding: 12px 16px; border-radius: var(--radius-sm);
  color: #991B1B; font-size: 14px;
}

/* ============================================================
   Rich body — blog & case study posts
   ============================================================ */
.content-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.content-section p {
  color: var(--color-text-body);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 740px;
}
.content-section p strong { color: var(--color-text); font-weight: 600; }

.point-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 32px;
}
.point-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.point-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.point-card__badge {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-size: 17px;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.point-card__content { min-width: 0; }
.point-card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.point-card__desc {
  color: var(--color-text-body);
  font-size: 15.5px;
  line-height: 1.65;
}
.point-card__desc strong { color: var(--color-text); font-weight: 600; }
.point-card__desc em { color: var(--color-text); font-style: italic; }

.section--mint .point-card {
  background: var(--color-white);
  border-color: var(--color-border);
}

/* Rich bullets */
ul.rich-bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  max-width: 740px;
}
ul.rich-bullets li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--color-text-body);
  font-size: 15.5px;
  line-height: 1.7;
}
ul.rich-bullets li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
}
ul.rich-bullets li strong { color: var(--color-text); font-weight: 600; }

/* Responsive */
@media (max-width: 720px) {
  .point-card {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 18px 18px;
  }
  .point-card__badge {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  .point-card__title { font-size: 16px; }
  .point-card__desc { font-size: 15px; }
  .content-section p { font-size: 15.5px; }
  .content-section h2 { font-size: 24px; }
}
