/* ==========================================================================
   theme.css: design tokens, self-hosted fonts and the design layer.
   Loaded last. Fonts: Plus Jakarta Sans (display) + Inter (text), both
   variable (real weights instead of browser faux-bold), SIL OFL 1.1.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2")
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Metric-matched fallbacks keep layout stable while the fonts load */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 104%;
  ascent-override: 96%;
  descent-override: 21%;
  line-gap-override: 0%;
}

:root {
  --font-display:
    "Plus Jakarta Sans", "Jakarta Fallback", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --font-body:
    "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  /* Brand palette */
  --navy: #040e27;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --gold: #fac800;
  --gold-hover: #ffda44;
  --ink: #040e27;
  --ink-soft: #424245;
  --surface-dark: #121620;

  /* Theme-dependent accent (blue on light, gold on dark) */
  --accent: var(--blue);
  --accent-hover: var(--blue-hover);
  --on-accent: #ffffff;
  --radius-card: 18px;
}
body.dark-mode {
  --accent: var(--gold);
  --accent-hover: var(--gold-hover);
  --on-accent: var(--navy);
}

html body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============================================================
   UPLIFT: accessibility, navigation hierarchy, mobile polish
   ============================================================ */

/* Skip link: hidden until focused with the keyboard */
.skip-link {
  position: fixed;
  left: 12px;
  z-index: 10000;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0071e3;
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  top: -80px; /* off-screen until focused */
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.35);
}
body.dark-mode .skip-link {
  background: #fac800;
  color: #040e27 !important;
  box-shadow: 0 0 0 3px rgba(250, 200, 0, 0.35);
}
main:focus {
  outline: none;
}

/* Consistent, visible keyboard focus (mouse clicks stay ring-free) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #0071e3 !important;
  outline-offset: 3px;
}
body.dark-mode a:focus-visible,
body.dark-mode button:focus-visible,
body.dark-mode .btn:focus-visible,
body.dark-mode [tabindex]:focus-visible {
  outline-color: #fac800 !important;
}

/* Dark header nav: idle links muted, only hover/active in gold.
   The id raises specificity above the blanket
   `body.dark-mode a:not(...)` rule that painted every link gold. */
body.dark-mode .header-area .main-menu nav ul#navigation li a {
  color: rgba(241, 243, 248, 0.78) !important;
}
body.dark-mode .header-area .main-menu nav ul#navigation li a:hover,
body.dark-mode .header-area .main-menu nav ul#navigation li a:focus-visible,
body.dark-mode .header-area .main-menu nav ul#navigation li a.active {
  color: #fac800 !important;
}

/* Last nav item was missing from the staggered fade-in */
.header-area .main-menu nav ul li:nth-child(6) {
  animation-delay: 0.35s;
}
@media (prefers-reduced-motion: reduce) {
  .header-area .main-menu nav ul li {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* Mobile: case-study lists: the bullets are absolutely positioned at
   the left edge, so centred list text drifted away from its bullet. */
@media (max-width: 767px) {
  .case-study-block,
  .case-study-block h4,
  .case-study-block p,
  .case-study-block ul,
  .case-study-block li {
    text-align: left !important;
  }
  .case-study-block h4 {
    justify-content: flex-start !important;
  }
  .case-study-block p,
  .case-study-block li {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }
}

/* Bullets: size relative to the item and share its line box, so the dot
   sits on the first text line at every breakpoint (was fixed 22px). */
.case-study-block li:before {
  top: 0;
  font-size: 1.4em !important;
  line-height: 1.214 !important; /* 1.214 × 1.4em ≈ the li's 1.7 line-height */
}

/* ============================================================
   SERVICE & "RECOGNIZE" CARDS: left-aligned, scannable
   kicker (category) → title → copy → meta → action
   ============================================================ */
#recognize .single_service,
#services .single_service {
  align-items: flex-start !important;
  text-align: left !important;
  padding: 32px 30px !important;
}
#recognize .single_service .icon,
#services .single_service .icon {
  justify-content: flex-start !important;
  margin-bottom: 22px !important;
}
#recognize .single_service .icon img,
#services .single_service .icon img {
  width: 56px;
  height: 56px;
}
#recognize .single_service h3,
#recognize .single_service p,
#services .single_service h3,
#services .single_service p {
  text-align: left !important;
  flex: 0 0 auto !important;
}
#recognize .single_service h3,
#services .single_service h3 {
  font-size: 1.3rem !important;
  margin-bottom: 4px;
}
#recognize .single_service p,
#services .single_service p {
  font-size: 0.98rem;
  line-height: 1.65;
}
.service-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin: 0 0 10px !important;
  line-height: 1.2 !important;
}
.service-meta {
  margin: auto 0 0 !important; /* pins meta + action to the card bottom */
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem !important;
  width: 100%;
}
body.dark-mode .service-meta {
  border-top-color: rgba(255, 255, 255, 0.08);
}
.service-link {
  margin: 14px 0 0 !important;
}
#recognize .single_service .service-link {
  margin-top: auto !important;
  padding-top: 8px;
}
.service-link a:not(.btn) {
  font-weight: 650;
  color: var(--accent) !important;
  text-decoration: none;
}
.service-link a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#services .accent-card .service-link {
  margin-top: auto !important;
  padding-top: 20px;
}

/* ============================================================
   BACK TO TOP: sits above the theme toggle
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 92px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.back-to-top[hidden] {
  display: none;
}
.back-to-top:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--on-accent);
}
body.dark-mode .back-to-top {
  background: #1b2130;
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f3f8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
body.dark-mode .back-to-top:hover {
  background: var(--accent);
  color: var(--on-accent);
}
@media (max-width: 767px) {
  .back-to-top {
    right: 22px;
    bottom: 84px;
  }
}

/* ============================================================
   CASE STUDIES: prev/next arrows beside the dots
   ============================================================ */
/* .owl-loaded raises specificity over owl.carousel.css, which loads
   asynchronously (after this file) and would reset display to block. */
.case-studies-carousel.owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.case-studies-carousel .owl-stage-outer {
  flex: 0 0 100%;
}
.case-studies-carousel .owl-dots {
  order: 2;
  margin: 32px 16px 0 !important;
}
.case-studies-carousel .cs-prev {
  order: 1;
}
.case-studies-carousel .cs-next {
  order: 3;
}
.case-studies-carousel .cs-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 32px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.case-studies-carousel .cs-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
body.dark-mode .case-studies-carousel .cs-nav {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: #f1f3f8;
}
body.dark-mode .case-studies-carousel .cs-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

/* ============================================================
   PORTFOLIO: captions were hover-only, so touch devices never
   saw project names. Show them on touch and on keyboard focus.
   ============================================================ */

/* Footer template credit (CC BY 3.0 attribution) */
.template-credit {
  opacity: 0.7;
  font-size: 0.85em;
}

/* ============================================================
   TYPOGRAPHY POLISH
   ============================================================ */
/* Quotes read better upright (and Inter italic isn't shipped, so the
   browser would synthesise a slanted face). */
.testimonial-text {
  font-style: normal !important;
}
/* Card titles use the display face at a real semibold */
.step-card h3,
.process-step h3,
.pricing-header h3,
.cta-qualification h4 {
  font-family: var(--font-display);
  font-weight: 650 !important;
  letter-spacing: -0.015em;
}

/* ============================================================
   SECTION KICKERS: small label above every section heading
   ============================================================ */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px !important;
  font-family: var(--font-display);
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent) !important;
}
.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ============================================================
   HERO STATS STRIP
   ============================================================ */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
}
.hero-stats li {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f7f9fc;
}
body.dark-mode .hero-stats li {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.slider_area .single_slider .slider_text .hero-stat-num {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.slider_area .single_slider .slider_text .hero-stat-label {
  display: block;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
body.dark-mode .slider_area .single_slider .slider_text .hero-stat-label {
  color: rgba(241, 243, 248, 0.72);
}
@media (max-width: 575px) {
  .hero-stats {
    gap: 8px;
    margin-top: 28px;
  }
  .hero-stats li {
    flex: 1 1 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 16px;
    text-align: left;
  }
  .slider_area .single_slider .slider_text .hero-stat-num {
    font-size: 1.5rem;
    min-width: 44px;
  }
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  row-gap: 4px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 28px 30px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.12);
}
body.dark-mode .product-card {
  background: linear-gradient(
    160deg,
    rgba(27, 33, 48, 0.95) 0%,
    rgba(20, 25, 37, 0.95) 100%
  );
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
body.dark-mode .product-card:hover {
  border-color: rgba(250, 200, 0, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}
.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 20px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
}
body.dark-mode .product-icon {
  background: rgba(250, 200, 0, 0.12);
  color: var(--gold);
}
.product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #248a3d;
  background: rgba(52, 199, 89, 0.1);
}
.product-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
body.dark-mode .product-status {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}
.product-kicker {
  margin: 0 0 6px !important;
  font-family: var(--font-display);
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent) !important;
}
.product-card .product-name {
  margin: 0 0 10px !important;
  font-family: var(--font-display);
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.product-tagline {
  margin: 0 0 14px !important;
  font-size: 1.02rem !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
  font-weight: 500 !important;
}
body.dark-mode .product-tagline {
  color: #f1f3f8 !important;
}
.product-audience {
  margin: 0 0 18px !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}
.product-features {
  margin: 0 0 20px;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
body.dark-mode .product-features {
  border-top-color: rgba(255, 255, 255, 0.08);
}
.product-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
body.dark-mode .product-features li {
  color: rgba(241, 243, 248, 0.8);
}
.product-features li strong {
  color: var(--ink);
}
body.dark-mode .product-features li strong {
  color: #ffffff;
}
.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 10.6L4 8.1l-.9.9 3.4 3.4 6.5-6.5-.9-.9z' fill='%23fff'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
body.dark-mode .product-features li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 10.6L4 8.1l-.9.9 3.4 3.4 6.5-6.5-.9-.9z' fill='%23040e27'/%3E%3C/svg%3E");
}
.product-note {
  margin: auto 0 14px !important; /* pins note + CTA to the bottom */
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--ink-soft) !important;
}
body.dark-mode .product-note {
  color: rgba(241, 243, 248, 0.7) !important;
}
.product-card .product-cta {
  width: 100%;
  text-align: center;
  white-space: normal;
}

/* ============================================================
   BUTTONS: one shape across the site (pills stay pills)
   ============================================================ */
.btn:not(.btn-reviews-toggle),
.boxed-btn,
.btn_1,
.btn_2 {
  border-radius: 12px !important;
}

/* Wrapped direct links: no dangling "·" at the end of a line */
@media (max-width: 575px) {
  .hero-go-direct .hero-go-sep {
    display: none !important;
  }
  .hero-go-direct .hero-direct-links {
    gap: 6px 18px !important;
  }
}

/* Product cards keep left alignment on every breakpoint (a mobile
   template rule centres all text inside sections). */
.product-card,
.product-card p,
.product-card h3,
.product-card li {
  text-align: left !important;
}
.product-card .product-cta {
  text-align: center !important;
}

/* Kickers are <p>s: out-rank `body.dark-mode p { color: … !important }`
   so they keep the theme accent (blue on light, gold on dark). */
html body p.section-kicker,
html body .single_service p.service-kicker,
html body p.product-kicker {
  color: var(--accent) !important;
}

/* ============================================================
   UPLIFT ROUND 3 — rhythm, meet copy, process, investment,
   FAQ, footer
   ============================================================ */

/* One vertical rhythm for every section (was 100–200px, uneven) */
#recognize,
#services,
#products,
#case-studies,
#how-we-work,
#investment,
#faq,
#reviews,
#final-cta {
  padding-top: 112px !important;
  padding-bottom: 112px !important;
}
@media (max-width: 767px) {
  #recognize,
  #services,
  #products,
  #case-studies,
  #how-we-work,
  #investment,
  #faq,
  #reviews,
  #final-cta {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }
}
.section-subtitle {
  margin-bottom: 0 !important;
}

/* Meet card copy (styles moved out of inline attributes) */
#meet .meet-card .meet-h3 {
  margin: 0 0 20px;
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.1vw, 2.35rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.028em;
}
#meet .meet-card .meet-em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
#meet .meet-card .meet-body {
  margin: 0 0 16px;
  max-width: 600px;
  font-size: 1.02rem;
  line-height: 1.7;
}
#meet .meet-card .meet-body + .meet-list {
  margin-top: 26px !important;
}

/* Process: calmer numbered cards */
.process-step h3 {
  text-transform: none !important;
  font-size: 1.25rem !important;
  letter-spacing: -0.015em !important;
}
.process-step .step-duration {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Investment: side-by-side comparison */
.invest-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0 18px;
}
.invest-option {
  padding: 22px 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
}
.invest-option-featured {
  border-color: var(--accent);
  background: rgba(0, 113, 227, 0.05);
}
body.dark-mode .invest-option {
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark-mode .invest-option-featured {
  border-color: var(--accent);
  background: rgba(250, 200, 0, 0.06);
}
html body .invest-option p {
  margin: 0;
  text-align: left !important;
}
html body .invest-option .invest-label {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft) !important;
}
body.dark-mode .invest-option .invest-label {
  color: rgba(241, 243, 248, 0.7) !important;
}
html body .invest-option .invest-price {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--accent) !important;
}
html body .invest-option .invest-price-muted {
  color: var(--ink) !important;
  opacity: 0.55;
}
body.dark-mode .invest-option .invest-price-muted {
  color: #f1f3f8 !important;
}
html body .invest-option .invest-detail {
  font-size: 0.9rem;
  line-height: 1.5;
}
html body .invest-savings {
  margin: 0 0 8px;
  text-align: center;
  font-size: 0.95rem;
}
.invest-savings span {
  display: inline-block;
  margin-right: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: #248a3d;
  background: rgba(52, 199, 89, 0.1);
}
body.dark-mode .invest-savings span {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}
.investment-disclaimer {
  font-style: normal !important;
}
@media (max-width: 575px) {
  .invest-compare {
    grid-template-columns: 1fr;
  }
}

/* FAQ: clean list, no repeated icon */
.faq-card .faq-button {
  gap: 16px;
}
.faq-card .faq-title {
  font-family: var(--font-display);
  font-weight: 650 !important;
  letter-spacing: -0.01em;
}

/* Footer: quiet links, accent only on hover */
.footer .footer_title {
  text-transform: none !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
html body.dark-mode #contact .footer-links a:not(:hover),
html body.dark-mode #contact .footer-contact a:not(:hover) {
  color: rgba(241, 243, 248, 0.72) !important;
}
html body:not(.dark-mode) #contact .footer-links a:not(:hover),
html body:not(.dark-mode) #contact .footer-contact a:not(:hover) {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* Six social icons on one row */
.footer_widget.site-footer {
  gap: 8px !important;
}
.footer_widget.site-footer .social-item {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
}

/* Footer social row: always one line */
.footer_widget.site-footer {
  flex-wrap: nowrap !important;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .footer_widget.site-footer {
    gap: 6px !important;
  }
  .footer_widget.site-footer .social-item {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
  }
}

/* ============================================================
   APPLE-GRADE LAYER — calm surfaces, big type, glass header,
   pill buttons, soft cards, subtle motion
   ============================================================ */
:root {
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --ink: #040e27;
  --ink-soft: #6e6e73;
  --surface-light: #ffffff;
  --surface-muted: #f5f5f7;
  --radius-card: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Glass header ---------- */
html body #sticky-header.main-header-area {
  background: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none !important;
}
html body.dark-mode #sticky-header.main-header-area {
  background: rgba(18, 22, 32, 0.72) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body:not(.dark-mode) .header-area .logo .logo-icon {
  color: var(--blue) !important;
}
body:not(.dark-mode) .header-area .logo .logo-text {
  color: var(--ink) !important;
}
body:not(.dark-mode) .header-area .main-menu nav ul#navigation li a {
  color: rgba(4, 14, 39, 0.78) !important;
  font-weight: 500;
}
body:not(.dark-mode) .header-area .main-menu nav ul#navigation li a:hover,
body:not(.dark-mode) .header-area .main-menu nav ul#navigation li a.active {
  color: var(--ink) !important;
}
body:not(.dark-mode) .header-area .main-menu nav ul li a::after {
  background: var(--ink) !important;
}
body:not(.dark-mode) .slicknav_icon-bar {
  background: var(--ink) !important;
}
body:not(.dark-mode) .slicknav_btn:hover,
body:not(.dark-mode) .slicknav_btn:focus {
  background: rgba(0, 0, 0, 0.05) !important;
}
body:not(.dark-mode) .header-area .logo .logo-section-indicator {
  color: var(--ink-soft) !important;
}

/* ---------- Surfaces: white / #f5f5f7 rhythm in the new order ---------- */
body:not(.dark-mode) #services,
body:not(.dark-mode) #case-studies,
body:not(.dark-mode) #recognize,
body:not(.dark-mode) #investment {
  background: var(--surface-light) !important;
}
body:not(.dark-mode) #final-cta {
  background: var(--surface-muted) !important;
}
body:not(.dark-mode) #products,
body:not(.dark-mode) #reviews,
body:not(.dark-mode) #how-we-work,
body:not(.dark-mode) #faq {
  background: var(--surface-muted) !important;
}
/* Hairlines between sections are no longer needed with tonal rhythm */
#recognize::before,
#services::before,
#products::before,
#case-studies::before,
#how-we-work::before,
#investment::before,
#faq::before,
#reviews::before,
.final-cta-section::before {
  display: none !important;
}

/* ---------- Type ---------- */
body:not(.dark-mode) {
  color: var(--ink);
}
html body main h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.07 !important;
  letter-spacing: -0.035em !important;
}
body:not(.dark-mode) main h2 {
  color: var(--ink) !important;
}
html body main .section-subtitle {
  max-width: 680px !important;
  margin-top: 18px !important;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem) !important;
  line-height: 1.5 !important;
}
body:not(.dark-mode) main .section-subtitle {
  color: var(--ink-soft) !important;
}
.section-kicker::before,
.section-kicker::after {
  display: none;
}
html body p.section-kicker {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin-bottom: 10px !important;
}

/* ---------- Hero ---------- */
.hero-premium .slider_text {
  max-width: 980px;
  margin: 0 auto;
}
.hero-availability {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px !important;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--ink) !important;
  background: var(--surface-muted);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
body.dark-mode .hero-availability {
  color: #f1f3f8 !important;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.hero-availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.2);
}
html body .hero-premium .slider_text h1 {
  margin: 0 0 22px !important;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  padding: 0 !important;
}
.hero-premium .slider_text h1 .hero-title {
  display: block;
}
.hero-premium .slider_text h1 .hero-accent {
  display: block;
  margin-top: 4px;
  font-weight: 700 !important;
  letter-spacing: -0.045em !important;
}
/* Accent headline: in-palette gradient, accent blue into brand navy */
body:not(.dark-mode) .hero-premium .slider_text h1 .hero-accent,
body:not(.dark-mode) .conversion-accent {
  background: linear-gradient(
    90deg,
    #0071e3 0%,
    #0a5bc4 45%,
    #040e27 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: var(--blue) !important;
  text-shadow: none !important;
}
html body .hero-premium .slider_text .hero-lede {
  max-width: 720px;
  margin: 0 auto 26px !important;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem) !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}
body:not(.dark-mode) .hero-premium .slider_text .hero-lede {
  color: var(--ink-soft) !important;
}
.hero-tech {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto 34px;
  padding: 0;
  list-style: none;
}
.hero-tech li {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  background: var(--surface-muted);
}
body.dark-mode .hero-tech li {
  color: #f1f3f8;
  background: rgba(255, 255, 255, 0.07);
}
.hero-premium .hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0 !important;
}
.hero-premium .hero-cta-buttons .btn {
  margin: 0 !important;
}
.hero-stats {
  margin-top: 56px !important;
}
body:not(.dark-mode) .hero-stats li {
  background: var(--surface-muted) !important;
  border-color: transparent !important;
}
@media (max-width: 575px) {
  html body .hero-premium .slider_text h1 {
    font-size: clamp(2.3rem, 10.5vw, 2.9rem) !important;
  }
  .hero-tech li {
    font-size: 0.8rem;
    padding: 6px 11px;
  }
  .hero-premium .hero-cta-buttons .btn {
    width: 100%;
  }
}

/* ---------- Buttons: Apple pills ---------- */
.btn:not(.btn-reviews-toggle),
.boxed-btn,
.btn_1,
.btn_2 {
  border-radius: 980px !important;
}
html body .btn,
html body .btn:hover,
html body .btn:focus {
  box-shadow: none !important;
}
.btn-lg,
.hero-cta-buttons .btn {
  padding: 13px 26px !important;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
}
body:not(.dark-mode) .btn-primary {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #ffffff !important;
}
body:not(.dark-mode) .btn-primary:hover {
  background: var(--blue-hover) !important;
  border-color: var(--blue-hover) !important;
}
body:not(.dark-mode) .hero-premium .btn-outline-light {
  color: var(--blue) !important;
  border: 1px solid var(--blue) !important;
  background: transparent !important;
}
body:not(.dark-mode) .hero-premium .btn-outline-light:hover {
  color: #ffffff !important;
  background: var(--blue) !important;
}
.header-cta {
  box-shadow: none !important;
}

/* ---------- Cards: one soft system ---------- */
.single_service,
.product-card,
.testimonial-card,
.process-step,
.faq-card,
.step-card,
.case-study,
.pricing-card,
#meet .meet-card,
.cta-qualification {
  border-radius: var(--radius-card) !important;
}
/* On white sections, cards are grey tiles; on grey sections, white cards */
body:not(.dark-mode) #services .single_service:not(.accent-card),
body:not(.dark-mode) #recognize .single_service,
body:not(.dark-mode) #case-studies .case-study,
body:not(.dark-mode) #investment .pricing-card,
body:not(.dark-mode) #final-cta .step-card:not(.step-featured),
body:not(.dark-mode) #final-cta .cta-qualification {
  background: var(--surface-muted) !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Final CTA sits on grey: its cards are white */
html body:not(.dark-mode) #final-cta .step-card:not(.step-featured),
html body:not(.dark-mode) #final-cta .cta-qualification {
  background: #ffffff !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
body:not(.dark-mode) #products .product-card,
body:not(.dark-mode) #reviews .testimonial-card,
body:not(.dark-mode) #how-we-work .process-step,
body:not(.dark-mode) #faq .faq-card {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
body:not(.dark-mode) #products .product-card:hover {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 22px 50px rgba(0, 0, 0, 0.1) !important;
}
body:not(.dark-mode) #services .single_service,
body:not(.dark-mode) #recognize .single_service {
  transition: transform 0.4s var(--ease-out) !important;
}
body:not(.dark-mode) #services .single_service:hover,
body:not(.dark-mode) #recognize .single_service:hover {
  transform: translateY(-4px) !important;
}
/* Case-study inner blocks: quieter */
body:not(.dark-mode) #case-studies .case-study-block {
  background: #ffffff !important;
  border-radius: 16px !important;
}
/* Meet card: calm, no decorative "01" */
#meet .meet-card .meet-num,
#meet .meet-card .meet-glow {
  display: none !important;
}
body:not(.dark-mode) #meet .meet-card {
  background: var(--surface-muted) !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ---------- Scroll reveal (added by js/site.js; off for reduced motion) ---------- */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- For recruiters & hiring teams ---------- */
.hire-section {
  position: relative;
  padding: 112px 0 !important;
  background: var(--surface-muted);
}
body.dark-mode .hire-section {
  background: #121620;
}
.hire-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto 40px;
}
.hire-fact {
  padding: 22px 24px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.05);
}
body.dark-mode .hire-fact {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.hire-fact dt {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
body.dark-mode .hire-fact dt {
  color: rgba(241, 243, 248, 0.6);
}
.hire-fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body.dark-mode .hire-fact dd {
  color: #f1f3f8;
}
.hire-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}
.btn-outline-accent {
  color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  background: transparent !important;
}
.btn-outline-accent:hover {
  color: var(--on-accent) !important;
  background: var(--accent) !important;
}
html body .hire-link {
  font-weight: 600;
  color: var(--accent) !important;
  text-decoration: none;
}
html body .hire-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 991px) {
  .hire-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .hire-section {
    padding: 72px 0 !important;
  }
  .hire-facts {
    grid-template-columns: 1fr;
  }
  .hire-actions .btn {
    width: 100%;
  }
}

/* Hero spans: neutralise the template's `.slider_text span` (30px, blue,
   block, margin) for the new hero elements. */
.slider_area .single_slider .slider_text h1 .hero-title {
  display: block;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: var(--ink);
}
body.dark-mode .slider_area .single_slider .slider_text h1 .hero-title {
  color: #ffffff;
}
.slider_area .single_slider .slider_text .hero-availability-dot {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0;
  width: 8px;
  height: 8px;
  font-size: 0;
}
/* Gradient text: room for descenders (the "j") */
.hero-premium .slider_text h1 .hero-accent {
  padding-bottom: 0.08em;
}
/* Every section intro centred */
html body main .section-subtitle {
  margin-left: auto !important;
  margin-right: auto !important;
}
.slider_area .single_slider .slider_text h1 .nobr {
  display: inline;
  margin: 0;
  white-space: nowrap;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.hero-premium .slider_text {
  max-width: 1100px;
}
html body .hero-premium .slider_text h1 {
  font-size: clamp(2.4rem, 6vw, 4.9rem) !important;
}
html body.dark-mode .hire-actions .btn-outline-accent {
  background: transparent !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold) !important;
}
html body.dark-mode .hire-actions .btn-outline-accent:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

/* Meet card: label and highlight in the same language as section kickers */
html body #meet .meet-card .meet-eyebrow {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--accent) !important;
}
#meet .meet-card .meet-eyebrow > span[aria-hidden="true"] {
  display: none !important;
}
html body:not(.dark-mode) #meet .meet-card .meet-em {
  color: var(--blue) !important;
  text-decoration-color: rgba(0, 113, 227, 0.35);
}
@media (max-width: 767px) {
  #meet .meet-card .col-lg-7,
  #meet .meet-card .meet-h3,
  #meet .meet-card .meet-body,
  #meet .meet-eyebrow {
    text-align: left !important;
    justify-content: flex-start !important;
  }
}
@media (max-width: 575px) {
  #meet .meet-card .col-lg-7 > div:last-child {
    align-items: flex-start !important;
  }
}

/* ============================================================
   LIGHT THEME CONSISTENCY — one palette end to end
   ink #040e27 · body #424245 · secondary #6e6e73 · accent #0071e3
   surfaces #fff / #f5f5f7 · hairlines rgba(0,0,0,.08)
   ============================================================ */

/* Footer: brand navy (#040e27), the original footer colour */
body:not(.dark-mode) #contact.footer {
  background: #040e27 !important;
}
body:not(.dark-mode) #contact .footer_title,
body:not(.dark-mode) #contact .footer-contact strong {
  color: #f5f5f7 !important;
}
html body:not(.dark-mode) #contact .footer-links a:not(:hover),
html body:not(.dark-mode) #contact .footer-contact a:not(:hover),
body:not(.dark-mode) #contact .footer-links li,
body:not(.dark-mode) #contact small {
  color: rgba(245, 245, 247, 0.72) !important;
}
html body:not(.dark-mode) #contact a:hover {
  color: #2997ff !important;
}
body:not(.dark-mode) #contact .footer_widget.site-footer .social-item {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #f5f5f7 !important;
  background: transparent !important;
}
body:not(.dark-mode) #contact .footer_widget.site-footer .social-item:hover {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #ffffff !important;
}
body:not(.dark-mode) #contact .copy-right_text {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
body:not(.dark-mode) #contact .copy_right,
body:not(.dark-mode) #contact .copy_right span {
  color: rgba(245, 245, 247, 0.56) !important;
}
body:not(.dark-mode) #contact .copy_right a {
  color: #f5f5f7 !important;
}

/* Portfolio: "More works" as a quiet pill link, not a dark bar */
/* Hover overlay in the accent instead of an off-palette blue */

/* Case studies: quieter duration badge */
.case-study-duration {
  border-radius: 980px !important;
  background: rgba(0, 113, 227, 0.1) !important;
  color: var(--blue) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
}
.case-study-duration i {
  color: inherit !important;
}
body.dark-mode .case-study-duration {
  background: rgba(250, 200, 0, 0.12) !important;
  color: var(--gold) !important;
}
body:not(.dark-mode) .case-study-title {
  color: var(--ink) !important;
}
/* The thick accent rule under case-study titles becomes a hairline */
body:not(.dark-mode) .case-study-title {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  border-bottom-width: 1px !important;
}

/* Review cards: quote mark in accent at low weight, neutral divider */
body:not(.dark-mode) #reviews .quote-icon,
body:not(.dark-mode) #reviews .quote-icon i {
  color: var(--blue) !important;
  opacity: 0.35 !important;
}
body:not(.dark-mode) #reviews .review-divider {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}
body:not(.dark-mode) #reviews .testimonial-text {
  color: var(--ink) !important;
}
body:not(.dark-mode) #reviews .author-company {
  color: var(--ink-soft) !important;
}

/* Status greens: one Apple green */
.product-status,
.invest-savings span {
  color: #248a3d !important;
  background: rgba(52, 199, 89, 0.12) !important;
}
body.dark-mode .product-status,
body.dark-mode .invest-savings span {
  color: #30d158 !important;
  background: rgba(48, 209, 88, 0.12) !important;
}
.hero-availability-dot {
  background: #34c759 !important;
}

/* Meet caption + body in palette greys */
body:not(.dark-mode) #meet .meet-card .meet-body {
  color: #424245 !important;
}
body:not(.dark-mode) #meet .meet-caption {
  color: var(--ink-soft) !important;
}
body.dark-mode .case-study-title {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  border-bottom-width: 1px !important;
}

/* ============================================================
   ROUND 5 — services icons + CTA banner, results band,
   project cards, section rhythm for the final order
   ============================================================ */

/* Rhythm: hero W · hire G · services W · products G · case studies W ·
   reviews G · process W · investment G · FAQ W · final CTA G */
body:not(.dark-mode) #how-we-work,
body:not(.dark-mode) #faq {
  background: var(--surface-light) !important;
}
body:not(.dark-mode) #final-cta {
  background: var(--surface-muted) !important;
}
body:not(.dark-mode) #investment {
  background: var(--surface-muted) !important;
}
/* Cards follow their surface: grey tiles on white, white cards on grey */
html body:not(.dark-mode) #how-we-work .process-step,
html body:not(.dark-mode) #faq .faq-card {
  background: var(--surface-muted) !important;
  box-shadow: none !important;
}
html body:not(.dark-mode) #final-cta .step-card:not(.step-featured),
html body:not(.dark-mode) #final-cta .cta-qualification {
  background: #ffffff !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
html body:not(.dark-mode) #investment .pricing-card {
  background: #ffffff !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Service icons: same tile as product icons */
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  font-size: 20px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue);
}
body.dark-mode .service-icon {
  background: rgba(250, 200, 0, 0.12);
  color: var(--gold);
}
#services .single_service .service-meta {
  margin-top: auto !important;
}

/* "Not sure which fits?" banner under the service grid */
.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  padding: 28px 32px;
  border-radius: var(--radius-card);
  background: var(--navy);
  color: #ffffff;
}
body.dark-mode .services-cta {
  background: rgba(250, 200, 0, 0.08);
  border: 1px solid rgba(250, 200, 0, 0.35);
}
html body .services-cta h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}
html body .services-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75) !important;
}
html body:not(.dark-mode) .services-cta .btn-primary {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--navy) !important;
  flex-shrink: 0;
}
html body:not(.dark-mode) .services-cta .btn-primary:hover {
  background: #f5f5f7 !important;
}
@media (max-width: 767px) {
  .services-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .services-cta .btn {
    width: 100%;
  }
}

/* Results band: the three headline outcomes, big and scannable */
.results-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1110px;
  margin: 0 auto 48px;
  padding: 0;
  list-style: none;
}
.results-band li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 26px;
  border-radius: var(--radius-card);
  background: var(--surface-muted);
}
body.dark-mode .results-band li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.results-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.results-label {
  font-size: 0.98rem;
  line-height: 1.45;
  color: #424245;
}
body.dark-mode .results-label {
  color: rgba(241, 243, 248, 0.75);
}
@media (max-width: 767px) {
  .results-band {
    grid-template-columns: 1fr;
  }
}

/* Selected work: clean project cards instead of stock photos */

/* ============================================================
   BOOKS — typographic covers in the brand palette
   ============================================================ */
.books-section {
  position: relative;
  padding: 112px 0 !important;
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.book-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 28px 30px;
  border-radius: var(--radius-card);
  text-align: center;
  transition: transform 0.35s var(--ease-out);
}
.book-card:hover {
  transform: translateY(-4px);
}
.book-cover-img {
  display: block;
  width: auto;
  height: 240px;
  margin-bottom: 26px;
  border-radius: 3px 8px 8px 3px;
  box-shadow:
    0 18px 40px rgba(4, 14, 39, 0.28),
    0 2px 6px rgba(4, 14, 39, 0.18);
  transition: transform 0.45s var(--ease-out);
}
.book-card:hover .book-cover-img {
  transform: rotate(-2deg) translateY(-4px);
}
body.dark-mode .book-cover-img {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.book-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
}
.book-status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(0, 0, 0, 0.06);
}
.book-status-live {
  color: #248a3d;
  background: rgba(52, 199, 89, 0.12);
}
body.dark-mode .book-status {
  color: rgba(241, 243, 248, 0.7);
  background: rgba(255, 255, 255, 0.08);
}
body.dark-mode .book-status-live {
  color: #30d158;
  background: rgba(48, 209, 88, 0.12);
}
html body .book-card .book-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
body.dark-mode .book-card .book-title {
  color: #f1f3f8 !important;
}
html body .book-card .book-subtitle {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--accent) !important;
}
html body .book-card .book-desc {
  margin: 0 0 20px;
  font-size: 0.93rem;
  line-height: 1.6;
}
.book-card .book-cta {
  margin-top: auto;
}
.hero-book-link {
  color: inherit !important;
  text-decoration: underline;
  text-decoration-color: rgba(0, 113, 227, 0.4);
  text-underline-offset: 3px;
}
body.dark-mode .hero-book-link {
  text-decoration-color: rgba(250, 200, 0, 0.5);
}
.hire-fact dd a {
  color: inherit !important;
  text-decoration: underline;
  text-decoration-color: rgba(0, 113, 227, 0.4);
  text-underline-offset: 3px;
}
@media (max-width: 991px) {
  .books-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}
@media (max-width: 575px) {
  .books-section {
    padding: 72px 0 !important;
  }
}

/* ============================================================
   FINAL RHYTHM (with Books): hero W · hire G · services W ·
   products G · books W · case studies G · reviews W · process G ·
   investment W · FAQ G · final CTA W. Grey tiles on white
   sections, white cards on grey ones.
   ============================================================ */
html body:not(.dark-mode) #services,
html body:not(.dark-mode) #books,
html body:not(.dark-mode) #reviews,
html body:not(.dark-mode) #investment,
html body:not(.dark-mode) #final-cta {
  background: var(--surface-light) !important;
}
html body:not(.dark-mode) #hire,
html body:not(.dark-mode) #products,
html body:not(.dark-mode) #case-studies,
html body:not(.dark-mode) #how-we-work,
html body:not(.dark-mode) #faq {
  background: var(--surface-muted) !important;
}
body.dark-mode #books {
  background: #121620 !important;
}
/* grey tiles on white */
html body:not(.dark-mode) #books .book-card,
html body:not(.dark-mode) #reviews .testimonial-card,
html body:not(.dark-mode) #investment .pricing-card,
html body:not(.dark-mode) #final-cta .step-card:not(.step-featured),
html body:not(.dark-mode) #final-cta .cta-qualification {
  background: var(--surface-muted) !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* white cards on grey */
html body:not(.dark-mode) #case-studies .case-study,
html body:not(.dark-mode) #case-studies .results-band li,
html body:not(.dark-mode) #how-we-work .process-step,
html body:not(.dark-mode) #faq .faq-card {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
html body:not(.dark-mode) #case-studies .case-study-block {
  background: var(--surface-muted) !important;
}
body.dark-mode .book-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.book-cta .fa-amazon {
  margin-right: 6px;
  font-size: 1.05em;
}

.book-status-date {
  color: var(--blue);
  background: rgba(0, 113, 227, 0.1);
}
body.dark-mode .book-status-date {
  color: var(--gold);
  background: rgba(250, 200, 0, 0.12);
}
