/* DevStack - refined type & polish (Plus Jakarta Sans only) */

html[data-theme="dark"] {
  --ds-font: "Plus Jakarta Sans", sans-serif;
  --ds-radius-lg: 1rem;
  --ds-radius-md: 0.75rem;
  --ds-border-soft: rgba(148, 163, 184, 0.14);
  --ds-type-base: 0.9rem;
  --ds-type-sm: 0.8125rem;
  --ds-type-xs: 0.75rem;
  --ds-title-lg: clamp(1.45rem, 2.4vw, 1.85rem);
  --ds-title-hero: clamp(1.55rem, 3.2vw, 2.15rem);
}

/* —— Global type scale (smaller across all pages) —— */
html[data-theme="dark"] body.site-themed {
  font-family: var(--ds-font) !important;
  font-size: var(--ds-type-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

html[data-theme="dark"] body.site-themed p,
html[data-theme="dark"] body.site-themed li,
html[data-theme="dark"] body.site-themed .nav-link,
html[data-theme="dark"] body.site-themed label,
html[data-theme="dark"] body.site-themed .btn,
html[data-theme="dark"] body.site-themed td,
html[data-theme="dark"] body.site-themed th {
  font-family: var(--ds-font) !important;
  font-size: inherit;
}

html[data-theme="dark"] body.site-themed h1,
html[data-theme="dark"] body.site-themed h2,
html[data-theme="dark"] body.site-themed h3,
html[data-theme="dark"] body.site-themed h4,
html[data-theme="dark"] body.site-themed h5,
html[data-theme="dark"] body.site-themed .h1,
html[data-theme="dark"] body.site-themed .h2,
html[data-theme="dark"] body.site-themed .h3,
html[data-theme="dark"] body.site-themed .header-headings h1,
html[data-theme="dark"] body.site-themed .header-headings h2,
html[data-theme="dark"] body.site-themed .header-text,
html[data-theme="dark"] body.site-themed .cta-band .h1,
html[data-theme="dark"] body.site-themed .cs-detail-hero .h1 {
  font-family: var(--ds-font) !important;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ds-heading);
}

html[data-theme="dark"] body.site-themed .home-landing-hero h1,
html[data-theme="dark"] body.site-themed .home-banner .header-headings h1 {
  font-size: var(--ds-title-hero) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.03em !important;
}

html[data-theme="dark"] body.site-themed .section-header .header-headings h2,
html[data-theme="dark"] body.site-themed .section-header .header-headings .h1,
html[data-theme="dark"] body.site-themed main .h1,
html[data-theme="dark"] body.site-themed .about-banner h1,
html[data-theme="dark"] body.site-themed .cs-detail-hero .h1 {
  font-size: var(--ds-title-lg) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
}

html[data-theme="dark"] body.site-themed .home-landing-hero .hero-lead,
html[data-theme="dark"] body.site-themed .home-banner .hero-lead,
html[data-theme="dark"] body.site-themed .section-header .header-headings p,
html[data-theme="dark"] body.site-themed .section-header .header-headings .mb0,
html[data-theme="dark"] body.site-themed .hero-lead {
  font-size: var(--ds-type-sm) !important;
  line-height: 1.55 !important;
  color: var(--ds-muted);
  max-width: 34rem;
}

html[data-theme="dark"] body.site-themed .section-eyebrow,
html[data-theme="dark"] body.site-themed .hero-kicker {
  font-family: var(--ds-font) !important;
  font-size: 0.68rem !important;
  font-weight: 600;
  letter-spacing: 0.12em;
}

html[data-theme="dark"] body.site-themed .ind-card h3,
html[data-theme="dark"] body.site-themed .ind-card h5,
html[data-theme="dark"] body.site-themed .solution-card h3,
html[data-theme="dark"] body.site-themed .feature-card h3,
html[data-theme="dark"] body.site-themed .svc-card h3,
html[data-theme="dark"] body.site-themed .plan h3,
html[data-theme="dark"] body.site-themed .trust-pill h4,
html[data-theme="dark"] body.site-themed .process-step h4,
html[data-theme="dark"] body.site-themed .work-item h3,
html[data-theme="dark"] body.site-themed .case-study-card h3,
html[data-theme="dark"] body.site-themed .playbook-body h3 {
  font-family: var(--ds-font) !important;
  font-size: 0.92rem !important;
  font-weight: 600;
  line-height: 1.3;
}

html[data-theme="dark"] body.site-themed .ind-card p,
html[data-theme="dark"] body.site-themed .solution-card p,
html[data-theme="dark"] body.site-themed .feature-body p,
html[data-theme="dark"] body.site-themed .svc-card p,
html[data-theme="dark"] body.site-themed .trust-pill p,
html[data-theme="dark"] body.site-themed .process-step p,
html[data-theme="dark"] body.site-themed .case-study-card p,
html[data-theme="dark"] body.site-themed .plan p,
html[data-theme="dark"] body.site-themed .playbook-body p {
  font-size: var(--ds-type-xs) !important;
  line-height: 1.45 !important;
}

html[data-theme="dark"] body.site-themed .navbar-light .navbar-nav .nav-link {
  font-size: 0.8125rem !important;
}

html[data-theme="dark"] body.site-themed .cta-link,
html[data-theme="dark"] body.site-themed .cta-link.--md,
html[data-theme="dark"] body.site-themed .cta-link.--lg {
  font-family: var(--ds-font) !important;
  font-size: 0.8125rem !important;
  line-height: 1.3 !important;
  font-weight: 600;
}

html[data-theme="dark"] body.site-themed .s-navbar .navbar-nav .nav-cta .nav-link {
  font-size: 0.78rem !important;
  padding: 0.45rem 0.95rem !important;
}

html[data-theme="dark"] body.site-themed .hero-actions .cta-link,
html[data-theme="dark"] body.site-themed .cta-band .cta-link {
  font-size: 0.8rem !important;
  padding: 0.45rem 0.9rem !important;
}

html[data-theme="dark"] body.site-themed .footer-section .cta-footer h3,
html[data-theme="dark"] body.site-themed .footer-section .cta-footer a {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
}

html[data-theme="dark"] body.site-themed .made-with,
html[data-theme="dark"] body.site-themed .copyright {
  font-size: var(--ds-type-xs) !important;
}

/* —— Cards: quieter, cleaner —— */
html[data-theme="dark"] body.site-themed .ind-card,
html[data-theme="dark"] body.site-themed .solution-card,
html[data-theme="dark"] body.site-themed .feature-card,
html[data-theme="dark"] body.site-themed .case-study-card,
html[data-theme="dark"] body.site-themed .svc-card,
html[data-theme="dark"] body.site-themed .playbook-card,
html[data-theme="dark"] body.site-themed .plan,
html[data-theme="dark"] body.site-themed .trust-pill,
html[data-theme="dark"] body.site-themed .stat-card,
html[data-theme="dark"] body.site-themed .testimonial-card,
html[data-theme="dark"] body.site-themed .card,
html[data-theme="dark"] body.site-themed .contact-panel {
  background: rgba(12, 18, 34, 0.72) !important;
  border: 1px solid var(--ds-border-soft) !important;
  border-radius: var(--ds-radius-lg) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

html[data-theme="dark"] body.site-themed .ind-card:hover,
html[data-theme="dark"] body.site-themed .solution-card:hover,
html[data-theme="dark"] body.site-themed .feature-card:hover,
html[data-theme="dark"] body.site-themed .case-study-card:hover,
html[data-theme="dark"] body.site-themed .svc-card:hover,
html[data-theme="dark"] body.site-themed .playbook-card:hover,
html[data-theme="dark"] body.site-themed .plan:hover,
html[data-theme="dark"] body.site-themed .trust-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.28) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] body.site-themed .cta-link.--primary-cta,
html[data-theme="dark"] body.site-themed .hero-actions .cta-link.--primary-cta,
html[data-theme="dark"] body.site-themed .wa-cta.--primary-cta,
html[data-theme="dark"] body.site-themed .nav-cta .nav-link {
  background: linear-gradient(135deg, #0ea5e9, #22d3ee) !important;
  color: #041018 !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  border: 0 !important;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.22);
}

html[data-theme="dark"] body.site-themed .hero-actions .cta-link:not(.--primary-cta),
html[data-theme="dark"] body.site-themed .phone-cta {
  border: 1px solid rgba(34, 211, 238, 0.28) !important;
  background: rgba(6, 182, 212, 0.06) !important;
  color: var(--ds-accent-2) !important;
  border-radius: 999px !important;
}

/* Nav WhatsApp CTA - aligned pill with icon */
body.site-themed .s-navbar .navbar-nav .nav-cta {
  display: flex;
  align-items: center;
  margin-left: 0.35rem;
}

body.site-themed .s-navbar .navbar-nav .nav-cta .nav-link::after,
body.site-themed .s-navbar .navbar-nav .nav-cta .nav-wa-cta::after,
body.site-themed .mobile-nav .navbar-nav .nav-cta .nav-link::after,
body.site-themed .js-mobile-nav .navbar-nav .nav-cta .nav-link::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

body.site-themed .s-navbar .navbar-nav .nav-cta .nav-link,
body.site-themed .s-navbar .navbar-nav .nav-cta .nav-wa-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  height: auto !important;
  min-height: 2.15rem;
  margin: 0 0 0 0.35rem !important;
  vertical-align: middle;
}

body.site-themed .s-navbar .navbar-nav .nav-cta .nav-wa-cta i,
body.site-themed .s-navbar .navbar-nav .nav-cta .nav-link i {
  font-size: 1rem;
  line-height: 1;
  margin: 0 !important;
  color: inherit;
}

body.site-themed .s-navbar .navbar-nav .nav-cta .nav-wa-cta span,
body.site-themed .s-navbar .navbar-nav .nav-cta .nav-link span {
  line-height: 1.2;
}

html[data-theme="dark"] body.site-themed .nav-cta .nav-wa-cta,
html[data-theme="dark"] body.site-themed .nav-cta .nav-link {
  background: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28) !important;
}

html[data-theme="dark"] body.site-themed .nav-cta .nav-wa-cta:hover,
html[data-theme="dark"] body.site-themed .nav-cta .nav-link:hover {
  background: #1ebe57 !important;
  color: #ffffff !important;
  filter: none;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.36) !important;
}

/* Contact page action buttons - real inner padding */
body.site-themed .contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

body.site-themed .contact-actions .cta-link,
body.site-themed .contact-panel .wa-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem !important;
  min-height: 2.65rem;
  line-height: 1.25 !important;
  text-decoration: none !important;
  box-sizing: border-box;
}

body.site-themed .contact-actions .cta-link i,
body.site-themed .contact-panel .wa-cta i {
  font-size: 1.05rem;
  line-height: 1;
  margin: 0 !important;
}

body.site-themed .contact-actions .wa-cta.--primary-cta,
body.site-themed .contact-panel .wa-cta.--primary-cta {
  background: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3) !important;
}

body.site-themed .contact-actions .wa-cta.--primary-cta:hover,
body.site-themed .contact-panel .wa-cta.--primary-cta:hover {
  background: #1ebe57 !important;
  color: #fff !important;
  filter: none;
}

body.site-themed .contact-actions .phone-cta {
  padding: 0.7rem 1.15rem !important;
}

body.site-themed .contact-panel .wa-cta--block {
  display: inline-flex !important;
  width: 100%;
  max-width: 18rem;
  padding: 0.8rem 1.25rem !important;
}

html[data-theme="dark"] body.site-themed .contact-panel {
  padding: 1.5rem 1.35rem;
  background: linear-gradient(165deg, rgba(14, 165, 233, 0.1), rgba(12, 18, 34, 0.88)) !important;
}

html[data-theme="dark"] body.site-themed .contact-panel__glow {
  opacity: 0.55;
}

html[data-theme="dark"] body.site-themed .cta-band {
  border-radius: var(--ds-radius-lg);
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.14), rgba(6, 8, 15, 0.92) 50%, rgba(6, 182, 212, 0.1));
}

html[data-theme="dark"] body.site-themed .hero-dashboard-frame,
html[data-theme="dark"] body.site-themed .hero-visual-wrap {
  border-radius: var(--ds-radius-lg);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(56, 189, 248, 0.12);
}

/* —— Our process: aligned equal grid —— */
html[data-theme="dark"] body.site-themed #process .process-grid,
body.site-themed #process .process-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
  margin-top: 1.75rem;
}

body.site-themed #process .process-grid > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0 !important;
}

body.site-themed #process .process-step {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.55rem;
  background: rgba(12, 18, 34, 0.72);
  border: 1px solid var(--ds-border-soft, rgba(148, 163, 184, 0.14));
  border-radius: var(--ds-radius-lg, 1rem);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

body.site-themed #process .process-step .step-num {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.65rem;
  font-size: 0.8rem;
  flex-shrink: 0;
}

body.site-themed #process .process-step h4 {
  margin-bottom: 0.35rem;
  min-height: 1.35em;
}

body.site-themed #process .process-step p {
  margin: 0;
  flex: 1;
}

body.site-themed #process .section-header .header-headings {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

body.site-themed #process .section-header .header-headings p {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1199.98px) {
  body.site-themed #process .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.site-themed #process .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  body.site-themed #process .process-step {
    padding: 0.85rem 0.45rem;
  }

  html[data-theme="dark"] body.site-themed .home-landing-hero h1 {
    font-size: clamp(1.4rem, 5.5vw, 1.75rem) !important;
  }

  html[data-theme="dark"] body.site-themed .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  html[data-theme="dark"] body.site-themed .contact-actions .cta-link {
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body.site-themed #process .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
