/* ==========================================================================
   TrackZen Software — Shared Stylesheet
   Design system: dark navy brand palette, Inter + Plus Jakarta Sans type,
   utility sections, responsive from 360px up.
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #071a33;
  --navy-900: #0b2545;
  --navy-800: #123057;
  --navy-700: #1a3d6d;
  --blue-600: #2f6fed;
  --blue-500: #4c86ff;
  --teal-400: #22d3c5;
  --teal-300: #6fe6da;
  --amber-500: #f5a623;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f6f9fc;
  --mist: #eef2f8;
  --line: #e3e9f2;
  --ink-900: #101c30;
  --ink-700: #29354a;
  --ink-500: #5b6b84;
  --ink-400: #7c8aa0;

  /* Type */
  --font-heading: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizing */
  --container: 1220px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 12px 28px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.16);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Promo banner offset (set dynamically by JS; 0 when absent/dismissed) */
  --banner-h: 0px;
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-heading); color: var(--navy-900); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }
svg { display: block; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; }

/* ---- Layout helpers --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--navy { background: var(--navy-900); color: rgba(255,255,255,0.86); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--mist { background: var(--off-white); }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-600);
  background: rgba(47, 111, 237, 0.08);
  padding: 7px 14px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); }
.section--navy .eyebrow { color: var(--teal-300); background: rgba(34, 211, 197, 0.12); }
h2.h-lg { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-500); line-height: 1.6; }
.section--navy .section-head p { color: rgba(255,255,255,0.72); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 15.5px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 10px 24px rgba(47,111,237,0.32); }
.btn-primary:hover { background: #2560d6; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(47,111,237,0.4); }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.section--navy .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.28); }
.section--navy .btn-ghost:hover { border-color: var(--teal-300); color: var(--teal-300); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---- Promo banner (homepage fuel-savings callout) ------------------------ */
.promo-banner {
  position: sticky; top: 0; z-index: 101;
  background: linear-gradient(100deg, var(--navy-900) 0%, var(--blue-600) 50%, var(--teal-400) 100%);
  background-size: 220% 220%;
  animation: promoGradient 9s ease infinite;
  color: var(--white);
  overflow: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.promo-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,0.22) 40%, transparent 55%);
  background-size: 220% 100%;
  animation: promoShine 5.5s ease-in-out infinite;
  pointer-events: none;
}
.promo-banner.is-hiding { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.promo-banner-inner {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0;
  min-height: 34px;
}
.promo-banner-message {
  display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1;
}
.promo-banner-badge {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.16);
  border-radius: var(--radius-pill);
  animation: promoPulse 2.2s ease-in-out infinite;
}
.promo-banner-badge svg { width: 17px; height: 17px; color: var(--teal-300); }
.promo-banner-text {
  margin: 0; min-width: 0;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px;
  font-size: 14.5px;
}
.promo-banner-text strong { font-family: var(--font-heading); font-weight: 700; }
.promo-banner-text span { color: rgba(255,255,255,0.85); }
.promo-banner-cta {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: var(--white); color: var(--navy-900);
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.promo-banner-cta svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.promo-banner-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.26); }
.promo-banner-cta:hover svg { transform: translateX(3px); }
.promo-banner-close {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 30px; height: 30px;
  background: transparent; border: none; cursor: pointer; padding: 0;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.promo-banner-close svg { width: 15px; height: 15px; }
.promo-banner-close:hover { background: rgba(255,255,255,0.16); color: var(--white); }

@keyframes promoGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes promoShine {
  0% { background-position: -60% 0; }
  60%, 100% { background-position: 160% 0; }
}
@keyframes promoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-banner, .promo-banner::after, .promo-banner-badge { animation: none; }
}

/* ---- Header / Nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: var(--banner-h, 0px); z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: top 0.28s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 21px; color: var(--navy-900); }
.brand .brand-mark { width: 38px; height: 38px; flex: none; }
.brand .brand-word b { color: var(--blue-600); }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--ink-700);
  padding: 10px 16px; border-radius: var(--radius-pill); transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--blue-600); background: rgba(47,111,237,0.08); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: var(--navy-900); position: relative; }
.nav-toggle { flex-direction: column; gap: 4px; }

.mobile-nav {
  display: none; position: fixed; inset: calc(var(--banner-h, 0px) + 84px) 0 0 0; background: var(--white); z-index: 99;
  padding: 24px; overflow-y: auto;
  transition: inset 0.28s var(--ease);
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--navy-900); padding: 16px 4px; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 24px; }

/* ---- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(34,211,197,0.16), transparent 60%),
              linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 80px 0 110px;
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; font-family: var(--font-heading);
  color: rgba(255,255,255,0.86); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 14px; border-radius: var(--radius-pill);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--teal-300); }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); color: var(--white); }
.hero h1 span { color: var(--teal-300); }
.hero p.lead { margin-top: 22px; font-size: 19px; color: rgba(255,255,255,0.78); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.32); }
.hero .btn-ghost:hover { border-color: var(--teal-300); color: var(--teal-300); }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35)); }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(700px 400px at 20% 20%, black, transparent 75%);
}

/* ---- Stat / trust strip ---------------------------------------------------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: center; padding: 26px 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--navy-800); }
.trust-item svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; }

/* ---- Cards ------------------------------------------------------------------ */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(47,111,237,0.25); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(47,111,237,0.12), rgba(34,211,197,0.14)); margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--blue-600); }
.card h3 { font-size: 19.5px; margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: 15.5px; }
.card .tag { display: inline-block; font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-400); background: rgba(34,211,197,0.12); padding: 5px 11px; border-radius: var(--radius-pill); margin-bottom: 14px; }

/* ---- Case-study results (KPI row, before/after table, impact ladder) ---- */
.case-study-panel { background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; margin-top: 32px; }
.case-study-block { margin-top: 40px; }
.case-study-block:first-child { margin-top: 0; }
.case-study-heading { font-family: var(--font-heading); font-weight: 800; font-size: 21px; color: var(--navy-900); letter-spacing: -0.01em; }
.case-study-subtext { margin-top: 6px; font-size: 14.5px; color: var(--ink-500); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 20px; box-shadow: var(--shadow-sm); }
.stat-tile .stat-value { font-family: var(--font-heading); font-weight: 800; font-size: 27px; color: var(--navy-900); line-height: 1.1; font-variant-numeric: proportional-nums; }
.stat-tile .stat-value.accent { color: #0F9C8F; }
.stat-tile .stat-sub { font-family: var(--font-heading); font-weight: 700; font-size: 12.5px; color: var(--ink-400); margin-top: 4px; }
.stat-tile .stat-label { margin-top: 10px; font-size: 13.5px; color: var(--ink-500); line-height: 1.45; }

/* Before/after metric comparison — one scannable row per metric instead of prose */
.metric-compare { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 18px; }
.metric-compare-row { display: grid; grid-template-columns: minmax(180px, 1.3fr) auto auto; align-items: center; column-gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.metric-compare-row:last-child { border-bottom: none; }
.metric-compare-row:nth-child(even) { background: var(--off-white); }
.metric-compare-label { font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--navy-900); }
.metric-compare-label small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--ink-400); margin-top: 2px; }
.metric-compare-values { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.metric-compare-before { font-size: 14px; color: var(--ink-500); }
.metric-compare-arrow { color: var(--teal-400); font-size: 15px; }
.metric-compare-after { font-size: 15.5px; font-weight: 800; color: var(--navy-900); }
.metric-compare-delta { justify-self: end; font-family: var(--font-heading); font-weight: 800; font-size: 11.5px; letter-spacing: .01em; padding: 5px 12px; border-radius: var(--radius-pill); background: rgba(34,211,197,0.14); color: #0F9C8F; white-space: nowrap; }
.metric-compare-delta.is-info { background: rgba(47,111,237,0.12); color: var(--blue-600); }

.callout-highlight { background: var(--navy-900); color: rgba(255,255,255,0.88); border-radius: var(--radius-lg); padding: 22px 28px; margin-top: 24px; font-size: 14.5px; line-height: 1.6; }
.callout-highlight strong { color: var(--teal-300); }

/* Financial-impact ladder — replaces a wide scroll-to-read table with stacked rows */
.impact-ladder { display: grid; gap: 12px; margin-top: 18px; }
.impact-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 26px; }
.impact-row.is-total { background: var(--navy-900); border-color: var(--navy-900); }
.impact-row-head { min-width: 118px; }
.impact-row-title { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--navy-900); }
.impact-row.is-total .impact-row-title { color: var(--white); }
.impact-row-sub { display: block; font-size: 12px; color: var(--ink-400); margin-top: 2px; }
.impact-row.is-total .impact-row-sub { color: rgba(255,255,255,0.6); }
.impact-row-figures { display: flex; gap: 30px; flex-wrap: wrap; }
.impact-figure { display: flex; flex-direction: column; min-width: 88px; }
.impact-figure-value { font-family: var(--font-heading); font-weight: 800; font-size: 16.5px; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.impact-row.is-total .impact-figure-value { color: var(--white); }
.impact-row.is-total .impact-figure-value.accent { color: var(--teal-300); font-size: 19px; }
.impact-figure-label { font-size: 11.5px; color: var(--ink-500); margin-top: 2px; }
.impact-row.is-total .impact-figure-label { color: rgba(255,255,255,0.65); }

.case-note { margin-top: 20px; font-size: 13px; color: var(--ink-400); line-height: 1.6; }

@media (max-width: 920px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .case-study-panel { padding: 30px 24px; }
}
@media (max-width: 640px) {
  .metric-compare-row { grid-template-columns: 1fr; row-gap: 8px; padding: 16px 18px; }
  .metric-compare-values { white-space: normal; flex-wrap: wrap; row-gap: 4px; }
  .metric-compare-delta { justify-self: start; }
  .impact-row { padding: 16px 20px; }
  .impact-row-figures { gap: 20px; width: 100%; justify-content: space-between; }
  .impact-figure { min-width: 0; flex: 1 1 28%; }
}

/* ---- Blog cards (homepage preview + /blog/ listing) ---------------------- */
.blog-grid { align-items: stretch; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(47,111,237,0.25); }
.blog-card-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, rgba(47,111,237,0.12), rgba(34,211,197,0.14)); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.blog-card-fallback svg { width: 40px; height: 40px; color: var(--blue-600); opacity: 0.55; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-body .tag { align-self: flex-start; }
.blog-card-body h3 { font-size: 18.5px; line-height: 1.35; }
.blog-card-body p { color: var(--ink-500); font-size: 15px; flex: 1; margin: 0; }
.blog-card-meta { font-family: var(--font-heading); font-weight: 600; font-size: 13px; color: var(--ink-400); }

.blog-card-skeleton { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 360px; position: relative; }
.blog-card-skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--off-white) 30%, var(--mist) 50%, var(--off-white) 70%);
  background-size: 200% 100%; animation: skeletonShine 1.4s ease-in-out infinite;
}
@keyframes skeletonShine { 0% { background-position: 140% 0; } 100% { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { .blog-card-skeleton::after { animation: none; } }

.blog-preview-footer { margin-top: 40px; text-align: center; }
.blog-feed-error {
  grid-column: 1 / -1; text-align: center; padding: 40px 24px; color: var(--ink-500);
  background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-lg);
}
.blog-feed-error a { color: var(--blue-600); font-weight: 700; }
.blog-load-more-wrap { margin-top: 44px; text-align: center; }

/* Single blog post */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.post-tags span {
  font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--teal-300); background: rgba(34,211,197,0.14); padding: 5px 12px; border-radius: var(--radius-pill);
}
.post-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; color: rgba(255,255,255,0.72); font-size: 14.5px; }
.post-content-wrap { max-width: 740px; margin: 0 auto; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); margin: -72px 0 40px; box-shadow: var(--shadow-lg); position: relative; }
.entry-content { font-size: 17px; line-height: 1.75; color: var(--ink-700); }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--font-heading); color: var(--navy-900); margin: 36px 0 14px; line-height: 1.3;
}
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 21px; }
.entry-content h4 { font-size: 18px; }
.entry-content p { margin: 0 0 20px; }
.entry-content a { color: var(--blue-600); text-decoration: underline; text-decoration-color: rgba(47,111,237,0.35); }
.entry-content a:hover { text-decoration-color: var(--blue-600); }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 8px 0 28px; display: block; }
.entry-content ul { list-style: disc; margin: 0 0 20px; padding-left: 24px; }
.entry-content ol { list-style: decimal; margin: 0 0 20px; padding-left: 24px; }
.entry-content li { margin-bottom: 8px; display: list-item; }
.entry-content blockquote {
  margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--teal-400); background: var(--off-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--ink-700); font-style: italic;
}
.entry-content strong, .entry-content b { color: var(--navy-900); }
.entry-content hr { border: none; border-top: 1px solid var(--line); margin: 36px 0; }
.entry-content iframe { max-width: 100%; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.entry-content table td, .entry-content table th { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.post-skeleton-line { height: 16px; border-radius: 6px; background: var(--mist); margin-bottom: 14px; position: relative; overflow: hidden; }
.post-skeleton-line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--mist) 30%, var(--off-white) 50%, var(--mist) 70%);
  background-size: 200% 100%; animation: skeletonShine 1.4s ease-in-out infinite;
}
.post-skeleton-line.w-80 { width: 80%; } .post-skeleton-line.w-60 { width: 60%; } .post-skeleton-line.w-95 { width: 95%; }
.post-back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--blue-600); margin-bottom: 28px; }
.post-back-link svg { width: 16px; height: 16px; }
.post-footer-cta { max-width: 740px; margin: 56px auto 0; padding-top: 36px; border-top: 1px solid var(--line); text-align: center; }

@media (max-width: 760px) {
  .post-cover { margin-top: -48px; }
}

/* Solutions grid uses smaller icon cards */
.solution-card { display: flex; gap: 16px; padding: 26px; }
.solution-card .card-icon { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 0; flex: none; }
.solution-card .card-icon svg { width: 22px; height: 22px; }
.solution-card h3 { font-size: 17px; margin-bottom: 6px; }
.solution-card p { font-size: 14.5px; }

/* Product app cards (IDEAL/OASIS/FOCUS/IDEA) */
.app-card { position: relative; overflow: hidden; }
.app-card .app-glyph { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-heading); font-weight: 800; font-size: 20px; margin-bottom: 22px; }
.app-card .app-full { display: block; font-size: 13px; font-weight: 600; color: var(--ink-400); margin-bottom: 4px; }
.app-card h3 { font-size: 22px; margin-bottom: 12px; }
.app-card .for-who { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-heading); font-size: 12.5px; font-weight: 700; color: var(--navy-800); background: var(--mist); padding: 6px 12px; border-radius: var(--radius-pill); margin-top: 16px; }
.app-card ul { margin-top: 18px; display: grid; gap: 10px; }
.app-card ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-500); }
.app-card ul li svg { width: 18px; height: 18px; color: var(--teal-400); flex: none; margin-top: 2px; }

/* Platform product blocks (Hifzi, MapWiz, etc.) */
.platform-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.platform-block:last-child { border-bottom: none; }
.platform-block.reverse .platform-art { order: 2; }
.platform-art { background: linear-gradient(160deg, var(--mist), var(--white)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.platform-art svg { width: 100%; height: auto; }
.platform-copy .card-icon { margin-bottom: 18px; }
.platform-copy h3 { font-size: 28px; margin-bottom: 16px; }
.platform-copy p { color: var(--ink-500); font-size: 16px; }
.platform-copy .btn { margin-top: 22px; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.feature-pill { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--navy-800); background: var(--mist); border: 1px solid var(--line); padding: 7px 13px; border-radius: var(--radius-pill); }

/* ---- Values / benefits ------------------------------------------------------ */
.value-card { text-align: left; }
.benefit-list { display: grid; gap: 16px; margin-top: 26px; }
.benefit-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--ink-700); }
.benefit-list .check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(34,211,197,0.14); display: flex; align-items: center; justify-content: center; }
.benefit-list .check svg { width: 14px; height: 14px; color: #0f9c8f; }
.benefit-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.benefit-panel h3 { font-size: 21px; }
.benefit-panel .tag { margin-bottom: 6px; }

/* ---- CTA banner --------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg); padding: 64px; color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 90% 10%, rgba(34,211,197,0.28), transparent 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.32); }
.cta-banner .btn-ghost:hover { border-color: var(--teal-300); color: var(--teal-300); }
.cta-banner h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); max-width: 520px; }
.cta-banner p { color: rgba(255,255,255,0.76); margin-top: 10px; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- FAQ / accordion (light use) ----------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { cursor: pointer; font-family: var(--font-heading); font-weight: 700; font-size: 16.5px; color: var(--navy-900); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--blue-600); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 14px; color: var(--ink-500); font-size: 15.5px; max-width: 760px; }

/* ---- Footer --------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.68); padding: 76px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-contact { margin-top: 20px; display: grid; gap: 10px; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,0.78); }
.footer-contact svg { width: 17px; height: 17px; color: var(--teal-300); flex: none; }
.footer-col h4 { color: var(--white); font-size: 14.5px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.66); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--teal-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,0.5); }

/* ---- Breadcrumb / page hero (products page) -------------------------------------- */
.page-hero { padding: 64px 0 72px; background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: var(--white); }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 48px); max-width: 760px; }
.page-hero p.lead { color: rgba(255,255,255,0.76); font-size: 18px; margin-top: 18px; max-width: 620px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,0.55); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,0.8); }
.suite-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.suite-nav a { font-family: var(--font-heading); font-weight: 700; font-size: 13.5px; color: var(--white); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); padding: 9px 16px; border-radius: var(--radius-pill); }
.suite-nav a:hover { background: rgba(34,211,197,0.18); border-color: rgba(34,211,197,0.4); }

/* ---- Reveal animation -------------------------------------------------------------
   Content is fully visible by default so it never depends on JavaScript running
   (search crawlers, slow connections, scripting disabled). Only when main.js
   confirms it can run the reveal effect does it flag <html class="js-anim">
   and animate elements in as they scroll into view. */
.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-anim .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-top .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin-inline: auto; }
  .platform-block, .platform-block.reverse { grid-template-columns: 1fr; }
  .platform-block.reverse .platform-art { order: 0; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-desktop, .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .site-header .container { height: 72px; }
  .mobile-nav { inset: calc(var(--banner-h, 0px) + 72px) 0 0 0; }
  body { font-size: 16px; }
  .solution-card { flex-direction: column; }
  .promo-banner-inner {
    flex-direction: column; align-items: stretch; gap: 10px;
    padding: 14px 0; padding-right: 38px;
  }
  .promo-banner-message { padding-right: 4px; }
  .promo-banner-text { font-size: 13.5px; }
  .promo-banner-text span { display: block; }
  .promo-banner-cta { align-self: flex-start; padding: 9px 16px; font-size: 13px; }
  .promo-banner-close { position: absolute; top: 14px; right: 24px; }
}
@media (min-width: 761px) {
  .header-actions .btn-primary { display: inline-flex; }
}
