
    :root {
      --black: #000000; --white: #ffffff; --gray-100: #f5f5f7; --gray-200: #e8e8ed;
      --gray-400: #86868b; --gray-600: #424245; --gray-800: #1d1d1f;
      --accent: #6e56cf; --accent-light: #9b8afb;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
      background: var(--black); color: var(--white); -webkit-font-smoothing: antialiased;
    }

    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 48px; height: 52px; background: rgba(0,0,0,0.72);
      backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-logo { font-size: 17px; font-weight: 600; color: var(--white); text-decoration: none; }
    .nav-links { display: flex; gap: 32px; list-style: none; }
    .nav-links a { font-size: 13px; color: rgba(255,255,255,0.7); text-decoration: none; }
    .nav-links a:hover { color: var(--white); }
    .nav-links a.active { color: var(--white); font-weight: 600; }
    .nav-cta {
      font-size: 13px; padding: 7px 16px; background: var(--white); color: var(--black);
      border-radius: 980px; text-decoration: none; font-weight: 500;
    }

    .page-header {
      padding: 140px 24px 60px; text-align: center;
      background: linear-gradient(180deg, rgba(110,86,207,0.08) 0%, transparent 100%);
    }
    .page-header .label { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-light); margin-bottom: 16px; }
    .page-header h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 16px; }
    .page-header p { font-size: 18px; color: var(--gray-400); max-width: 560px; margin: 0 auto; }

    .blog-grid { max-width: 900px; margin: 0 auto; padding: 60px 24px 100px; }

    .blog-card {
      display: block; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
      text-decoration: none; color: inherit; transition: opacity 0.2s;
    }
    .blog-card:hover { opacity: 0.8; }
    .blog-meta { font-size: 13px; color: var(--accent-light); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
    .blog-card h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 12px; line-height: 1.3; }
    .blog-card p { font-size: 16px; color: var(--gray-400); line-height: 1.6; }
    .read-more { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--accent-light); font-weight: 500; }

    .blog-tag {
      display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 1px;
      text-transform: uppercase; padding: 3px 10px; border-radius: 980px;
      background: rgba(110,86,207,0.16); color: var(--accent-light);
      margin-left: 8px; vertical-align: middle;
    }
    .blog-tag.canada { background: rgba(48,209,88,0.14); color: #30d158; }
    .blog-tag.ksa { background: rgba(245,166,35,0.16); color: #f5a623; }
    .blog-tag.fundamentals { background: rgba(0,113,227,0.16); color: #4cb4ff; }
    .blog-tag.local { background: rgba(155,138,251,0.18); color: var(--accent-light); }

    .filter-bar {
      display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
      padding: 0 24px 12px; max-width: 900px; margin: 0 auto;
    }
    .filter-bar button {
      font-family: inherit; font-size: 13px; font-weight: 500;
      padding: 7px 16px; border-radius: 980px; cursor: pointer;
      background: rgba(255,255,255,0.05); color: var(--gray-400);
      border: 1px solid rgba(255,255,255,0.08); transition: all 0.2s;
    }
    .filter-bar button:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }
    .filter-bar button.active { background: var(--white); color: var(--black); border-color: var(--white); }

    .coming-soon {
      text-align: center; padding: 80px 24px; color: var(--gray-400);
    }
    .coming-soon p { font-size: 17px; margin-bottom: 24px; }
    .subscribe-form { display: flex; gap: 12px; justify-content: center; max-width: 460px; margin: 0 auto; }
    .subscribe-form input {
      flex: 1; padding: 14px 16px; font-size: 15px; font-family: inherit;
      background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
      border-radius: 12px; color: var(--white); outline: none;
    }
    .subscribe-form input:focus { border-color: var(--accent); }
    .subscribe-form button {
      padding: 14px 24px; font-size: 15px; font-weight: 600; font-family: inherit;
      background: var(--white); color: var(--black); border: none; border-radius: 980px; cursor: pointer;
    }

    footer {
      display: flex; align-items: center; justify-content: space-between;
      padding: 20px 48px; border-top: 1px solid rgba(255,255,255,0.06);
      font-size: 13px; color: var(--gray-400);
    }
    .footer-logo { font-weight: 600; color: var(--white); }
    .footer-links { display: flex; gap: 24px; list-style: none; }
    .footer-links a { color: var(--gray-400); text-decoration: none; }

    @media (max-width: 768px) {
      nav { padding: 0 20px; }
      .nav-links { display: none; }
      .subscribe-form { flex-direction: column; }
      footer { flex-direction: column; gap: 12px; text-align: center; }
    }


/* Universal */
html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }

/* === Phone icon (SVG, consistent across browsers) === */
.nav-phone, .footer-phone, .cta-phone {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.ph-icon { flex-shrink: 0; vertical-align: -2px; }

/* === Header / nav === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 26px;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
nav .nav-links a.active {
  color: var(--white, #fff) !important;
  font-weight: 600;
}

/* Nav collapses to hamburger at <=1024px: the 7-item horizontal nav +
   phone pill + CTA needs ~1000px to render without wrapping, so tablets
   (768-1024px) get the dropdown menu, not the broken wrap. Other mobile
   rules (footer, hero, etc.) stay at their own 768/600px breakpoints below. */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-block !important; }
  nav .nav-cta { display: none !important; }
  nav .nav-phone { font-size: 12px !important; padding: 5px 10px !important; }
  nav { padding: 0 14px !important; }

  /* Mobile menu drops from nav */
  nav .nav-links {
    display: none !important;
    position: fixed !important;
    top: 52px;
    left: 0; right: 0;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 18px 22px 26px !important;
    background: rgba(0,0,0,0.96) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    list-style: none;
    z-index: 99;
  }
  nav .nav-links.open { display: flex !important; }
  nav .nav-links li { width: 100%; }
  nav .nav-links a {
    display: block;
    padding: 14px 0 !important;
    font-size: 16px !important;
    color: rgba(255,255,255,0.9) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  nav .nav-mobile-extra {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  nav .nav-mobile-extra a {
    display: block;
    padding: 12px 16px !important;
    text-align: center;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 600;
    border-bottom: none !important;
  }
  nav .nav-mobile-extra a.cta-primary {
    background: var(--white, #fff) !important;
    color: var(--black, #000) !important;
  }
  nav .nav-mobile-extra a.cta-phone {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white, #fff) !important;
  }
}
@media (min-width: 1025px) {
  nav .nav-mobile-extra { display: none; }
}

/* === Fix: breadcrumb nav was inheriting tag-selector nav { position:fixed }
       on programmatic pages, overlapping the main nav and hiding its
       links. Force breadcrumb (whether <nav class="breadcrumb"> or
       <div class="breadcrumb">) to render as inline content. === */
nav.breadcrumb,
.breadcrumb {
  position: static !important;
  top: auto !important; left: auto !important; right: auto !important;
  height: auto !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  display: block !important;
  z-index: auto !important;
  justify-content: flex-start !important;
}

/* === Canonical desktop nav-phone pill + nav-cta hover === */
/* Lifted from site/index.html so every page renders the same. The earlier
   mobile-overrides only set inline-flex; these add the pill chrome. */
nav .nav-right {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
nav .nav-phone {
  font-size: 13px !important;
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  padding: 7px 14px !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 980px !important;
  transition: all 0.2s !important;
  white-space: nowrap !important;
}
nav .nav-phone:hover {
  border-color: rgba(255,255,255,0.5) !important;
  color: #fff !important;
}
nav .nav-cta {
  font-size: 13px !important;
  padding: 7px 16px !important;
  background: #fff !important;
  color: #000 !important;
  border-radius: 980px !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: all 0.2s !important;
}
nav .nav-cta:hover {
  background: #f5f5f7 !important;
  transform: scale(1.02);
}

/* === Canonical heading gradient — global so .gradient-text and .accent
       render the same on every page (homepage uses .gradient-text;
       page-header / hero h1 spans use .accent on other pages). === */
.gradient-text, h1 .accent, .hero h1 .gradient-text, .hero h1 .accent,
.page-header h1 .accent, .post-header h1 .accent, .case-hero h1 .accent {
  background: linear-gradient(135deg, #fff 0%, #9b8afb 50%, #6e56cf 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* === Footer (canonical structure from templates/_footer.html) === */
footer {
  display: grid !important;
  grid-template-columns: 1fr 2fr 1fr !important;
  grid-template-areas: "brand links contact" "copy copy copy" !important;
  gap: 28px 40px !important;
  align-items: start !important;
  padding: 48px 32px !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.5) !important;
  text-align: left !important;
}
.footer-brand { grid-area: brand; display: flex; flex-direction: column; gap: 6px; }
.footer-logo { font-size: 15px !important; font-weight: 600; color: rgba(255,255,255,0.85) !important; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-links {
  grid-area: links;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px 24px !important;
  list-style: none;
  padding: 0; margin: 0;
}
.footer-links li { padding: 0 !important; }
.footer-links a { color: rgba(255,255,255,0.55) !important; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white, #fff) !important; }
.footer-contact {
  grid-area: contact;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.footer-contact a { color: rgba(255,255,255,0.65) !important; text-decoration: none; }
.footer-contact a:hover { color: var(--white, #fff) !important; }
.footer-phone { font-weight: 600; color: rgba(255,255,255,0.85) !important; }
.footer-copy {
  grid-area: copy;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px; margin-top: 10px;
  font-size: 12px; color: rgba(255,255,255,0.3);
  text-align: left;
}

@media (max-width: 768px) {
  footer {
    grid-template-columns: 1fr !important;
    grid-template-areas: "brand" "links" "contact" "copy" !important;
    gap: 32px !important;
    padding: 48px 22px 32px !important;
    text-align: center !important;
  }
  .footer-brand { align-items: center; }
  .footer-tagline { font-size: 13px !important; line-height: 1.5; }
  .footer-links {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 28px !important;
    text-align: left;
    max-width: 320px;
    margin: 0 auto;
  }
  .footer-links a {
    display: inline-block;
    padding: 6px 0 !important;
    font-size: 14px !important;
    line-height: 1.3;
  }
  .footer-contact {
    align-items: center;
    gap: 10px !important;
  }
  .footer-contact a {
    font-size: 14px !important;
    padding: 4px 0;
  }
  .footer-phone {
    font-size: 15px !important;
    color: rgba(255,255,255,0.95) !important;
  }
  .footer-copy {
    text-align: center;
    padding-top: 20px !important;
    margin-top: 4px !important;
    font-size: 11px !important;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
}

/* Very small viewports — collapse 2-col link grid to 1-col so labels never wrap */
@media (max-width: 380px) {
  .footer-links {
    grid-template-columns: 1fr !important;
    max-width: 200px;
    text-align: center;
  }
}

/* === Misc fixes === */
/* Hide the homepage scroll-indicator on mobile — its absolute positioning
   inside the hero misplaces when hero collapses on small screens */
@media (max-width: 768px) {
  .scroll-indicator { display: none !important; }
}

/* Tighter mobile typography & padding */
@media (max-width: 600px) {
  /* Hero / headers */
  .hero, header.page-header {
    padding-top: 88px !important;
    padding-bottom: 40px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    min-height: auto !important;
  }
  .hero h1, .page-header h1 {
    font-size: clamp(30px, 8vw, 44px) !important;
    letter-spacing: -1px !important;
    line-height: 1.08 !important;
  }
  .hero .lede, .page-header .lede, .hero-sub {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  /* Section titles */
  .section-title { font-size: clamp(24px, 6.5vw, 36px) !important; line-height: 1.15 !important; }
  .section-body { font-size: 15px !important; }

  /* Sections */
  section, .industries, .proof, .network {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* CTA stacks */
  .hero-cta, .hero-actions, .cta-buttons, .role-card .apply {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }
  .hero-cta a, .hero-actions a, .cta-buttons a, .role-card .apply a {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box;
    padding: 13px 18px !important;
    font-size: 15px !important;
  }

  /* Pricing tier badge */
  .tier.featured::before {
    font-size: 9px !important;
    padding: 3px 9px !important;
    top: -8px !important;
  }

  /* Cards / general padding tighten */
  .agent-card, .tier, .role-card, .value-card { padding: 24px 22px !important; }
  .role-card { padding: 26px 20px !important; }
  .proof-card { padding: 28px 22px !important; }
  .breadcrumb { padding-left: 18px !important; padding-right: 18px !important; font-size: 12px !important; }

  /* CTA section */
  .cta, .cta-section { padding: 70px 18px !important; }
  .cta h2, .cta-inner h2 { font-size: clamp(24px, 6.5vw, 36px) !important; line-height: 1.15 !important; }
  .cta p, .cta-inner p { font-size: 15px !important; }

  /* Footer */
  footer {
    flex-direction: column !important;
    gap: 14px !important;
    padding: 24px 18px !important;
    text-align: center;
  }
  .footer-links { justify-content: center; gap: 14px 18px !important; }

  /* FAQ */
  .faq summary { font-size: 15px !important; }
  .faq details p { font-size: 14px !important; }

  /* Stats inside proof block */
  .proof-stats { gap: 18px !important; }
  .proof-stat .num { font-size: 22px !important; }

  /* Manifesto lines (homepage) */
  .manifesto-line { font-size: clamp(16px, 4.5vw, 22px) !important; padding: 22px 0 !important; }

  /* Flow diagram on homepage — stack vertically */
  .flow-nodes { flex-direction: column !important; gap: 16px; }
  .flow-arrow { transform: rotate(90deg); flex: 0 0 28px !important; }

  /* Case study item — stack */
  .case-item { grid-template-columns: 1fr !important; gap: 16px !important; padding: 32px 22px !important; }
  .case-stat { text-align: left !important; }

  /* Process steps */
  .process-step, .step { flex-direction: column !important; gap: 8px !important; }
  .step-num, .step::before { font-size: 32px !important; }
}

/* === Geo banner (shown for GCC visitors on global pages, and reverse) === */
.cx-geo-banner {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  background: rgba(110, 86, 207, 0.96);
  color: #fff; font-size: 13px; font-weight: 500;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.cx-geo-text { flex: 1; line-height: 1.4; }
.cx-geo-cta { color: #fff !important; text-decoration: underline; font-weight: 600; white-space: nowrap; }
.cx-geo-close {
  background: transparent; border: none; color: rgba(255,255,255,0.85);
  font-size: 20px; cursor: pointer; line-height: 1; padding: 0 4px;
}
.cx-geo-close:hover { color: #fff; }
body.has-geo-banner nav { top: 38px !important; }
@media (max-width: 600px) {
  .cx-geo-banner { font-size: 12px; padding: 8px 14px; gap: 10px; }
  body.has-geo-banner nav { top: 34px !important; }
}

/* Blog controls inherit Creatrixe's black, white and violet palette. */
.page-header p { max-width:680px; color:#aaaab0; }
.page-header h1 { max-width:820px; margin-inline:auto; }
.filter-heading { max-width:900px; margin:0 auto 14px; padding:0 24px; font-size:17px; }
.filter-bar { justify-content:flex-start; }
.filter-bar button { min-height:44px; color:#aaaab0; }
.blog-results { max-width:900px; margin:20px auto 0; padding:0 24px; color:#aaaab0; font-size:14px; }
.blog-grid { padding-top:0; padding-bottom:60px; }
.blog-meta { text-transform:none; letter-spacing:0; }
.blog-card p { color:#aaaab0; }
.blog-feed { max-width:900px; margin:0 auto; padding:0 24px 70px; }
.blog-feed a { color:#b3a5ff; }
[hidden] { display:none !important; }
html[dir="rtl"] .page-header h1, html[dir="rtl"] .blog-card h2 { letter-spacing:0; }
html[dir="rtl"] .page-header p, html[dir="rtl"] .blog-card p { line-height:1.9; }
footer { flex-wrap:wrap; gap:20px; }
.footer-links { flex-wrap:wrap; }
@media(max-width:768px) { .blog-card h2 { font-size:24px; } }
