/* ===== StaticOwl polish layer for the click360 mirror =====
   Improves on the original: a modern typeface (Inter), crisper rendering,
   better heading rhythm + body readability, and a non-overlapping cookie bar.
   Scoped to text carriers only — icon fonts (<i>, fa-*, eicon-*) are left intact. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root { --c360-ink: #e8edf5; --c360-muted: #aab4c5; }

/* 1) Typeface — apply to text elements, NOT to icon glyphs */
body,
h1, h2, h3, h4, h5, h6,
p, li, td, th, blockquote, figcaption, label, strong, em, small,
a, button, input, select, textarea,
.elementor-heading-title,
.elementor-widget-text-editor,
.elementor-button,
.elementor-icon-list-text,
.elementor-tab-title, .elementor-tab-content,
.elementor-price-table, .elementor-testimonial-content,
.menu-item a .text-wrap, .menu-link {
  font-family: 'Inter', 'Inter var', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* NOTE: do NOT touch <i>/.fa/eicon/sl icon glyphs — their own icon-font rules must
   win. We never target those selectors above, so FontAwesome etc. render as normal. */

body { text-rendering: optimizeLegibility; }

/* 2) Heading rhythm — tighten display headings, keep sizes (no layout break) */
h1, h2, h3,
.elementor-heading-title {
  letter-spacing: -0.018em !important;
}
h1, .elementor-widget-heading h1.elementor-heading-title { line-height: 1.08 !important; }
h2, .elementor-widget-heading h2.elementor-heading-title { line-height: 1.14 !important; }

/* 3) Body readability — a touch larger + more line spacing where it's safe */
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-testimonial-content,
.elementor-tab-content {
  line-height: 1.72 !important;
}
.elementor-widget-text-editor p { margin-bottom: 1.05em; }

/* 4) Buttons — a little more presence + smoother corners */
.elementor-button, a.elementor-button, .wp-block-button__link {
  letter-spacing: 0.01em !important;
  border-radius: 10px !important;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease !important;
}
.elementor-button:hover, a.elementor-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* 5) Links in body copy — clearer affordance without shouting */
.elementor-widget-text-editor a { text-underline-offset: 2px; }

/* 6) Cookie notice — stop it overlapping the hero; clean bottom-left card */
#ocn-cookie-wrap, #ocn-cookie-wrap.flyin {
  position: fixed !important;
  right: 20px !important; left: auto !important;
  bottom: 20px !important; top: auto !important;
  max-width: 360px !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.45) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  backdrop-filter: blur(6px);
  z-index: 99999 !important;
}
#ocn-cookie-inner { padding: 18px 20px !important; }
.ocn-cookie-content { font-size: 13.5px !important; line-height: 1.6 !important; margin: 0 0 12px !important; }
@media (max-width: 640px) {
  #ocn-cookie-wrap, #ocn-cookie-wrap.flyin { left: 12px !important; right: 12px !important; bottom: 12px !important; max-width: none !important; width: auto !important; }
}

/* ===== PUSH 2 — right-size the logo + a bolder, more confident pass ===== */

/* 7) LOGO — right-sized. Was 327x71 (84% of a phone's width, and it overflowed).
   Constrain ONLY the image height (keep aspect); never touch the logo LINKS'
   display — the sticky logo's link is display:none until scroll, and forcing it
   visible double-renders the wordmark. */
img.custom-logo {
  height: 42px !important; width: auto !important; max-height: 42px !important; max-width: none !important;
  padding: 16px 0 16px 6px !important; box-sizing: content-box !important;
}
img.sticky-logo {
  height: 34px !important; width: auto !important; max-height: 34px !important; max-width: none !important;
  padding: 10px 0 10px 6px !important; box-sizing: content-box !important;
}
@media (max-width: 768px) {
  img.custom-logo { height: 30px !important; max-height: 30px !important; padding: 12px 0 12px 4px !important; }
  img.sticky-logo { height: 28px !important; max-height: 28px !important; padding: 10px 0 10px 4px !important; }
}

/* 8) DISPLAY HEADINGS — more authority (heavier weight, tighter tracking) */
h1, .elementor-widget-heading h1.elementor-heading-title {
  font-weight: 800 !important;
  letter-spacing: -0.022em !important;
  line-height: 1.05 !important;
}
h2, .elementor-widget-heading h2.elementor-heading-title {
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.12 !important;
}
h3, .elementor-widget-heading h3.elementor-heading-title {
  font-weight: 700 !important;
  letter-spacing: -0.014em !important;
}

/* 9) NAV — cleaner caps: Inter 600, lighter tracking, smoother hover */
.main-navigation a, #site-navigation-wrap .menu > li > a,
.dropdown-menu a, .oceanwp-mobile-menu-icon a {
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: color .15s ease, opacity .15s ease !important;
}

/* 10) BUTTONS — more substance (padding + weight); radius/hover come from layer 1 */
.elementor-button, a.elementor-button, .wp-block-button__link {
  font-weight: 600 !important;
  padding-top: .85em !important; padding-bottom: .85em !important;
  padding-left: 1.75em !important; padding-right: 1.75em !important;
}

/* 11) ICON SAFETY — only neutralize inherited letter-spacing on glyphs.
   Do NOT force font-weight here: FontAwesome Solid needs 900 and sets it itself;
   overriding it to normal would blank the icons (same failure class as `revert`). */
i, [class*="fa-"], [class*="eicon-"], .elementor-icon { letter-spacing: normal !important; }

/* ===== PUSH 3 — menu cleanup (match the logo polish: intentional + tidy) ===== */
/* Menu = #menu-main-menu (desktop, in nav#site-navigation) + a clone under
   #mobile-dropdown. "Get Started" is the LAST item (li#menu-item-677). */

/* 12) Desktop top-level links — slightly larger, cleaner caps + a subtle hover */
#menu-main-menu > li > a.menu-link {
  font-size: 14px !important;
  letter-spacing: 0.045em !important;
  transition: color .15s ease, opacity .15s ease !important;
}
#menu-main-menu > li > a.menu-link:hover { color: #52a7fe !important; }

/* 12b) Vertically center the nav on the LOGO center. Nav is float:right at top=0
   (row 30px, center 15px); the logo box is 74px (center 37px) → push nav down 22px
   so both share one centerline. (Top-of-page state; the shrink-header is checked live.) */
#site-navigation-wrap { margin-top: 22px !important; }

/* 13) Primary CTA — "Get Started" as a pill button in the site's own CTA blue */
#menu-main-menu > li:last-child { display: flex !important; align-items: center !important; }
#menu-main-menu > li:last-child > a.menu-link {
  background: #52a7fe !important;   /* same blue as the hero .elementor-button */
  color: #fff !important;
  border-radius: 999px !important;
  padding: 8px 20px !important;
  margin-left: 10px !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  transition: filter .15s ease, transform .15s ease !important;
}
#menu-main-menu > li:last-child > a.menu-link:hover {
  color: #fff !important;
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}

/* 14) Mobile dropdown panel — dark theme to match the header (was white #fff) */
#mobile-dropdown, #mobile-dropdown nav, #mobile-dropdown ul,
#mobile-dropdown ul.menu > li { background-color: #0b1222 !important; }
#mobile-dropdown ul.menu > li { border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
#mobile-dropdown a, #mobile-dropdown .dropdown-toggle, #mobile-dropdown span,
#mobile-dropdown button { color: #e8edf5 !important; }
#mobile-dropdown ul.menu > li > a { font-weight: 500 !important; }

/* 14b) Mobile CTA — "Get Started" as a full filled pill button */
#mobile-dropdown ul.menu > li:last-child { border-bottom: none !important; }
#mobile-dropdown ul.menu > li:last-child > a {
  background: #52a7fe !important; color: #fff !important;
  border-radius: 999px !important; text-align: center !important;
  margin: 16px 20px !important; padding: 13px 20px !important;
  font-weight: 700 !important;
}

/* ===== PUSH 4 — toggle cleanup, product-image framing, mobile hero type, niceties ===== */

/* 15) MOBILE TOGGLE — the open state was red text + a red outline (theme default);
   make it light & clean in both states, keep a keyboard focus ring. */
a.mobile-menu, a.mobile-menu.opened { color: #fff !important; outline: none !important; }
a.mobile-menu i, a.mobile-menu span,
a.mobile-menu.opened i, a.mobile-menu.opened .oceanwp-close-text { color: #fff !important; }
a.mobile-menu:focus-visible { outline: 2px solid #52a7fe !important; outline-offset: 3px; }

/* 16) MAIN PRODUCT IMAGE (hero dashboard, wp-image-4333) — present it as a
   floating UI panel: rounded corners, hairline edge, soft brand-tinted shadow. */
.elementor-element-d65859a img, img.wp-image-4333 {
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  box-shadow: 0 30px 70px rgba(2,8,20,.60), 0 12px 34px rgba(82,167,254,.16) !important;
}

/* 17) HOME MOBILE HERO TYPE — source forces all hero headings to 35px on phones.
   Scoped by element id to the 3 home hero widgets so nothing else is affected:
   shrink the eyebrow + body back to real sizes; leave the headline bold. */
@media (max-width: 767px) {
  .elementor-element-1c8444f .elementor-heading-title {   /* eyebrow "Neural Deterministics" */
    font-size: 15px !important; line-height: 1.35 !important; letter-spacing: .06em !important;
  }
  .elementor-element-f417241 .elementor-heading-title {   /* body "Click360 predicts…" */
    font-size: 17px !important; line-height: 1.55 !important;
  }
}

/* 18) SAFE NICETIES */
html { scroll-behavior: smooth; }                      /* in-page nav anchors glide */
::selection { background: rgba(82,167,254,.30); }      /* on-brand text highlight */
a:focus-visible, button:focus-visible, .elementor-button:focus-visible {
  outline: 2px solid #52a7fe !important; outline-offset: 2px;   /* keyboard a11y */
}

/* 19) BLOG POST TITLE — theme default is dark-gray text (#333, invisible on the
   dark bg) + a red underline (#e80000), both meant for a light theme. Make the
   title legible and swap the red rule for a subtle light divider. (All posts.) */
.single-post-title.entry-title, .single-post-title {
  color: #eaf0f8 !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}
