/* ==========================================================================
   Halveron shared site chrome — header, overlay menu, footer.
   Used on every page except the dedicated product pages (salesag, ai-crm,
   studioos, influence-app, halveron-connect), which keep their own identity.
   ========================================================================== */
:root {
  --gn-ink: #0e0e0e;
  --gn-chalk: #ffffff;
  --gn-paper: #f4f1ec;
  --gn-muted: rgba(14, 14, 14, 0.55);
  --gn-line: rgba(14, 14, 14, 0.1);
  --gn-ember: #ff4301;
  --gn-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --gn-container: min(80rem, calc(100% - 3rem));
  --gn-header-h: 5rem;
  /* Mirror homepage --container-padding / --column-gap (styles.css) */
  --gn-container-padding: 1.5rem;
  --gn-column-gap: 1.5rem;
}
@media (min-width: 768px) {
  :root { --gn-column-gap: 2rem; }
}
@media (min-width: 1024px) {
  :root {
    --gn-header-h: 6rem;
    --gn-container-padding: 3rem;
  }
}

/* Defensive reset — guards against page-level global `a` rules (e.g. legal.css underlines links) */
.gn-header a,
.gn-overlay a,
.gn-footer a {
  text-decoration: none;
}

.gn-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gn-ember);
}
.gn-kicker::before { content: "/ "; }

.gn-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.gn-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .gn-reveal { opacity: 1; transform: none; transition: none; }
}

.gn-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--gn-font);
  transition: filter 0.2s ease, background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}
.gn-btn--primary { background: var(--gn-ember); color: var(--gn-chalk); }
.gn-btn--primary:hover { filter: brightness(1.08); }
.gn-btn--ink { background: var(--gn-ink); color: var(--gn-chalk); }
.gn-btn--ink:hover { filter: brightness(1.3); }
.gn-btn--ghost-dark { border: 1px solid rgba(255, 255, 255, 0.28); color: var(--gn-chalk); background: transparent; }
.gn-btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.08); }
.gn-btn--ghost-light { border: 1px solid var(--gn-line); color: var(--gn-ink); background: transparent; }
.gn-btn--ghost-light:hover { background: rgba(14, 14, 14, 0.04); }

/* ==========================================================================
   Header — mirrors the homepage nav: transparent bar, mix-blend-difference on
   desktop (auto-inverts against whatever scrolls beneath), comma-separated
   links, magnetic 3-line menu button, and the custom inertia cursor.
   ========================================================================== */
.gn-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  font-family: var(--gn-font);
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .gn-header { mix-blend-mode: difference; }
}
.gn-header-inner {
  position: relative;
  box-sizing: border-box;
  /* Full-bleed like homepage header nav — no max-width / margin auto centering */
  height: var(--gn-header-h);
  padding: 0 var(--gn-container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  color: var(--gn-ink);
  /* Matches the homepage body clamp so calc(1em - 1px) on .gn-nav-link resolves identically */
  font-size: clamp(1rem, 0.47vw + 0.84rem, 1.35rem);
  /* Explicit — do not inherit page body weight/line-height (about.css, blog.css omit both) */
  font-weight: 500;
  line-height: 1;
  transition: color 0.4s ease;
}
@media (min-width: 1024px) {
  .gn-header-inner {
    /* Exact 12-column grid match to the homepage's header nav (col-span-5 / 4 / 3) */
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--gn-column-gap);
    align-items: center;
  }
}
/* On desktop the whole bar is white and mix-blend-difference inverts it live. */
@media (min-width: 1024px) {
  .gn-header-inner { color: #fff; }
}
/* On mobile (no mix-blend) fall back to per-page colours. */
@media (max-width: 1023px) {
  .gn-header--dark .gn-header-inner { color: var(--gn-chalk); }
  .gn-header.is-open .gn-header-inner { color: var(--gn-chalk); }
}

/* ---- Brand ---- */
.gn-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  /* Matches the homepage .brand-mark */
  font-size: clamp(1.3rem, 1vw + 1rem, 2.25rem);
  font-weight: 760;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  line-height: 1;
  color: inherit;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .gn-brand {
    grid-column: 1 / span 5;
    overflow: hidden;
  }
}
.gn-brand .gn-dot { color: var(--gn-ember); }

/* ---- Logo mark (icon lockup) — swaps light/dark PNG to match the current header state ---- */
.gn-logo-mark {
  /* Scales with the wordmark; sized a touch larger than the glyph height and
     nudged down so its visual weight lines up with the wordmark's baseline. */
  height: 1.85em;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  transform: translateY(0.12em);
}
.gn-logo-mark.is-white { display: none; }
.gn-header--dark .gn-logo-mark.is-black { display: none; }
.gn-header--dark .gn-logo-mark.is-white { display: block; }
.gn-header.is-open .gn-logo-mark.is-black { display: none; }
.gn-header.is-open .gn-logo-mark.is-white { display: block; }
/* Desktop header is white + mix-blend-difference: the white mark inverts live like the text. */
@media (min-width: 1024px) {
  .gn-header .gn-logo-mark.is-black { display: none; }
  .gn-header .gn-logo-mark.is-white { display: block; }
}

.gn-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.gn-footer-brand .gn-logo-mark { height: 1.4rem; }

/* ---- Inline nav links (comma-separated, homepage cue) ---- */
.gn-nav-links {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .gn-nav-links {
    display: flex;
    /* Exact grid slot + shift to match the homepage's #header-nav */
    grid-column: 6 / span 4;
    justify-content: flex-end;
    margin: 0;
    left: 2.25rem;
    /* Homepage: #header-nav has `gap-x-1` (0.25rem flex gap between items) */
    gap: 0.25rem;
    /* Homepage: #header-nav { font-size: calc(1em - 1px) } */
    font-size: calc(1em - 1px);
  }
}
.gn-nav-item { display: inline-flex; align-items: center; }
/* Real sibling span — matches the homepage's exact comma markup:
   <span class="px-1 text-white/40">,</span> — 0.25rem each side, no other margin.
   (Not a ::after pseudo-element: those don't reliably match a real anonymous
   flex-item's box model, which is what caused earlier spacing drift.) */
.gn-nav-comma {
  padding: 0 0.25rem;
  opacity: 0.4;
  font-weight: 500;
}
.gn-nav-link {
  position: relative;
  /* Matches the homepage's link: py-0.5 only, no horizontal padding/margin */
  padding: 0.125rem 0;
  margin: 0;
  font-size: inherit;
  font-weight: 500;
  white-space: nowrap;
  color: inherit;
}
.gn-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.05rem;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gn-nav-link:hover::after,
.gn-nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.gn-header.is-open .gn-nav-links { opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }

/* ---- Right cluster ---- */
.gn-header-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .gn-header-right { grid-column: 10 / span 3; justify-content: flex-end; }
}
/* CTA is a homepage-style text action-link (survives mix-blend-difference). */
.gn-cta {
  position: relative;
  display: none;
  align-items: center;
  font-size: clamp(1rem, 0.47vw + 0.84rem, 1.35rem);
  font-weight: 500;
  white-space: nowrap;
  color: inherit;
}
@media (min-width: 1024px) { .gn-cta { display: inline-flex; } }
.gn-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gn-cta:hover::after { transform: scaleX(1); transform-origin: left; }
.gn-header.is-open .gn-cta { opacity: 0; pointer-events: none; }

/* Magnetic 3-line menu button (GSAP-driven pull via .magnetic-btn). */
.gn-menu-btn {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: transparent;
  color: inherit;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  will-change: transform;
}
.gn-menu-btn svg { width: 1.5rem; height: 1.5rem; }
/* Mobile: fixed top-right like index.html (#menu-btn-mobile in .fixed.right-4.top-5) */
@media (max-width: 1023px) {
  .gn-header-right {
    position: static;
    gap: 0;
  }
  .gn-menu-btn {
    position: fixed;
    top: 1.25rem;
    right: 1rem;
    z-index: 600;
    border-radius: 999px;
    background: var(--gn-ink);
    color: var(--gn-chalk);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
  .gn-header--dark .gn-menu-btn { background: var(--gn-chalk); color: var(--gn-ink); }
  .gn-header.is-open .gn-menu-btn { background: transparent; color: var(--gn-chalk); box-shadow: none; }
}
/* Desktop: match homepage header-menu-button -m-2.5 p-2.5 (pulls control to the edge) */
@media (min-width: 1024px) {
  .gn-menu-btn {
    margin: -0.625rem;
    padding: 0.625rem;
  }
}
.gn-menu-btn .gn-icon-close { display: none; }
.gn-menu-btn[aria-expanded="true"] .gn-icon-open { display: none; }
.gn-menu-btn[aria-expanded="true"] .gn-icon-close { display: block; }

/* ==========================================================================
   Custom inertia cursor (ported from the homepage). Desktop / fine-pointer
   only; hidden on touch. Driven by global-nav.js with GSAP quickTo.
   ========================================================================== */
.gn-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 0;
  height: 0;
  color: #0e0e0e;
  pointer-events: none;
  opacity: 0;
  contain: layout style size;
  transition: opacity 0.3s, color 0.4s;
}
.gn-cursor.is-enabled { opacity: 1; }
.gn-cursor::before {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 48px;
  height: 48px;
  content: "";
  background: currentColor;
  border-radius: 9999px;
  transform: scale(0.2);
  transition: transform 0.25s ease-in-out, opacity 0.1s;
}
.gn-cursor.-hidden::before { transform: scale(0); }
.gn-cursor.-inverse { color: #fff; }
.gn-cursor.-pointer::before { transform: scale(0.15); }
.gn-cursor.-menu::before { transform: scale(1.2); }
.gn-cursor.-text::before { background: #ff4301; transform: scale(1.7); }
.gn-cursor.-active::before { transform: scale(0.25); }
@supports (mix-blend-mode: exclusion) {
  .gn-cursor.-inverse,
  .gn-cursor.-menu { mix-blend-mode: exclusion; }
  .gn-cursor.-menu::before { background: #fff; }
}
.gn-cursor-text {
  position: absolute;
  top: -18px;
  left: -18px;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #0e0e0e;
  font-size: 0.8rem;
  line-height: 1;
  opacity: 0;
  text-align: center;
  transform: scale(0) rotate(10deg);
  transition: opacity 0.35s, transform 0.3s;
}
.gn-cursor.-text .gn-cursor-text { opacity: 1; transform: scale(1); }
@media (pointer: coarse) {
  .gn-cursor { display: none; }
}

/* ---------- Fullscreen overlay menu ---------- */
.gn-overlay {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--gn-ink);
  color: var(--gn-chalk);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--gn-header-h) + 1.5rem) 1.5rem 3rem;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.gn-overlay[data-open="true"] {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: auto;
}
.gn-overlay-inner {
  max-width: var(--gn-container);
  margin-inline: auto;
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) { .gn-overlay-inner { grid-template-columns: 1.3fr 1fr; } }

.gn-overlay-links { display: flex; flex-direction: column; }
.gn-overlay-link-wrap { overflow: hidden; }
.gn-overlay-link {
  display: block;
  padding: 0.55rem 0;
  font-size: clamp(1.9rem, 5.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(120%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
.gn-overlay[data-open="true"] .gn-overlay-link { transform: translateY(0); }
.gn-overlay-link:hover { color: var(--gn-ember); }

.gn-overlay-products-sub {
  --gn-overlay-products-gap: clamp(1.75rem, 3vw, 2.75rem);
  margin: 0.5rem 0 1.5rem;
  display: grid;
  gap: var(--gn-overlay-products-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .gn-overlay-products-sub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 720px) {
  .gn-overlay-products-sub {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.gn-overlay-products-row {
  display: grid;
  gap: var(--gn-overlay-products-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .gn-overlay-products-row {
    display: contents;
  }
}
.gn-overlay-products-sub p {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.gn-overlay-products-sub ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.gn-overlay-products-sub a { font-size: 0.95rem; color: rgba(255, 255, 255, 0.65); transition: color 0.2s ease; }
.gn-overlay-products-sub a:hover { color: var(--gn-chalk); }

.gn-overlay-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 900px) { .gn-overlay-side { border-top: none; padding-top: 0; } }
.gn-overlay-side p { margin: 0 0 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.gn-overlay-side a { display: block; font-size: 1.05rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 0.4rem; transition: color 0.2s ease; }
.gn-overlay-side a:hover { color: var(--gn-ember); }
.gn-overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  background: var(--gn-ember);
  color: var(--gn-chalk) !important;
  font-weight: 700;
  font-size: 0.95rem;
  width: fit-content;
}
.gn-overlay-cta:hover { filter: brightness(1.08); }

body.gn-lock { overflow: hidden; }

/* ---------- Footer ---------- */
.gn-footer { background: var(--gn-ink); color: var(--gn-chalk); padding: 3.5rem 1.5rem 2rem; font-family: var(--gn-font); }
.gn-footer-inner { max-width: var(--gn-container); margin-inline: auto; }
.gn-footer-top { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.gn-footer-brand { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.gn-footer-brand .gn-dot { color: var(--gn-ember); }
.gn-footer-tagline { margin: 0.85rem 0 0; max-width: 20rem; font-size: 0.88rem; line-height: 1.6; color: rgba(255, 255, 255, 0.5); }
.gn-footer-col p { margin: 0 0 0.85rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }
.gn-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.gn-footer-col a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); transition: color 0.2s ease; }
.gn-footer-col a:hover { color: var(--gn-ember); }
.gn-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }
.gn-footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.gn-footer-bottom a:hover { color: var(--gn-ember); }

/* ==========================================================================
   Products mega-dropdown — ported verbatim from the homepage (styles.css).
   Desktop only; the panel is fixed and appended to <body> by global-nav.js so
   it escapes the header's mix-blend. Trigger sizing tweaked to match .gn-nav-link.
   ========================================================================== */
@media (min-width: 1024px) {
  .products-dropdown-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  .products-nav-trigger {
    /* Homepage applies this via a separate Tailwind `inline-flex items-center` utility class */
    display: inline-flex;
    align-items: center;
    position: relative;
    gap: 0.2rem;
    /* Match sibling .gn-nav-link — no extra padding that widens the bar */
    padding: 0.125rem 0;
    margin: 0;
    line-height: 1.1;
    border-radius: 0;
    overflow: visible;
    transition: color 0.25s ease;
  }
  .products-nav-trigger.gn-nav-link::after {
    /* Hover pill replaces the underline treatment for Products */
    display: none;
  }
  .products-comma {
    /* Match .gn-nav-comma */
    padding: 0 0.25rem;
    margin: 0;
    color: inherit;
    opacity: 0.4;
  }
  .products-nav-trigger > span:not(.products-nav-hover),
  .products-nav-chevron {
    position: relative;
    z-index: 1;
  }
  .products-nav-hover {
    position: absolute;
    /* Absolute overlay only — does not affect trigger box size */
    inset: -0.28rem -0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .products-nav-chevron {
    display: block;
    width: 0.85rem;
    height: 0.85rem;
    flex-shrink: 0;
    opacity: 0.4;
    transition:
      opacity 0.28s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .products-dropdown-shell:hover .products-nav-hover,
  .products-dropdown-shell:focus-within .products-nav-hover,
  .products-dropdown-shell.is-open .products-nav-hover {
    opacity: 1;
  }
  .products-dropdown-shell:hover .products-nav-chevron,
  .products-dropdown-shell:focus-within .products-nav-chevron,
  .products-dropdown-shell.is-open .products-nav-chevron {
    opacity: 0.85;
    transform: rotate(180deg);
  }
  .products-dropdown-panel {
    position: fixed;
    left: var(--products-dropdown-left, 0);
    top: var(--products-dropdown-top, 0);
    z-index: 800;
    width: min(60rem, calc(100vw - 2rem));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.4rem);
    transform-origin: top center;
    mix-blend-mode: normal;
    isolation: isolate;
    transition:
      opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.32s ease;
  }
  .products-dropdown-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .products-dropdown-card {
    width: 100%;
    height: min(31rem, calc(100vh - 5.5rem));
    padding: 0.55rem;
    overflow: hidden;
    color: #1d1d1f;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 1rem;
    box-shadow:
      0 0 0 0.5px rgba(0, 0, 0, 0.03),
      0 2px 8px rgba(0, 0, 0, 0.035),
      0 14px 32px rgba(0, 0, 0, 0.07),
      0 32px 64px rgba(0, 0, 0, 0.05);
  }
  .products-dropdown-inner {
    display: grid;
    grid-template-columns: 14.75rem minmax(0, 1fr) 19.5rem;
    gap: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .products-dropdown-sidebar {
    display: grid;
    align-content: start;
    align-self: stretch;
    grid-auto-rows: max-content;
    gap: 0.2rem;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 0.55rem 0.85rem 0.55rem 0.4rem;
    margin-right: 0;
    background: rgba(245, 245, 247, 0.85);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.7rem 0 0 0.7rem;
  }
  .products-division-trigger {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem 0.75rem;
    margin: 0;
    text-align: left;
    color: rgba(29, 29, 31, 0.58);
    background: transparent;
    border: 0;
    border-radius: 0.65rem;
    cursor: pointer;
    transition:
      background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .products-division-trigger:hover,
  .products-division-trigger:focus-visible {
    color: #1d1d1f;
    background: rgba(255, 255, 255, 0.72);
    outline: none;
  }
  .products-division-trigger.is-active {
    color: #1d1d1f;
    background: #fff;
    outline: none;
  }
  .products-division-accent {
    width: 0.14rem;
    margin-top: 0.2rem;
    align-self: stretch;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(29, 29, 31, 0.14);
    transition:
      background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease;
  }
  .products-division-accent--core,
  .products-division-accent--marketing,
  .products-division-accent--sales {
    background: rgba(29, 29, 31, 0.16);
  }
  .products-division-trigger.is-active .products-division-accent--core,
  .products-division-trigger.is-active .products-division-accent--marketing,
  .products-division-trigger.is-active .products-division-accent--sales {
    background: #ff4301;
  }
  .products-division-copy {
    display: grid;
    gap: 0.22rem;
    flex: 1;
    min-width: 0;
  }
  .products-division-title {
    display: block;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.015em;
  }
  .products-division-meta {
    display: block;
    color: rgba(29, 29, 31, 0.4);
    font-size: 0.68rem;
    line-height: 1.4;
    transition: color 0.28s ease;
  }
  .products-division-trigger:hover .products-division-meta,
  .products-division-trigger:focus-visible .products-division-meta,
  .products-division-trigger.is-active .products-division-meta {
    color: rgba(29, 29, 31, 0.55);
  }
  .products-division-chevron {
    width: 0.85rem;
    height: 0.85rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    /* Always reserve space — quiet opacity only, no slide-in that feels like growth */
    opacity: 0.2;
    transition: opacity 0.28s ease, color 0.28s ease;
  }
  .products-division-trigger:hover .products-division-chevron,
  .products-division-trigger:focus-visible .products-division-chevron,
  .products-division-trigger.is-active .products-division-chevron {
    opacity: 0.5;
  }
  .products-division-trigger.is-active .products-division-chevron {
    opacity: 0.72;
    color: #ff4301;
  }
  .products-dropdown-panels {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.55rem 1.15rem 0.55rem 1rem;
    margin-right: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    scrollbar-width: thin;
  }
  .products-division-panel {
    display: none;
    min-width: 0;
    width: 100%;
  }
  .products-division-panel.is-active {
    display: block;
  }
  .products-dropdown-column {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .products-dropdown-kicker {
    margin: 0 0 0.95rem;
    padding-bottom: 0.7rem;
    color: rgba(29, 29, 31, 0.38);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .products-dropdown-list {
    display: grid;
    gap: 0.25rem;
  }
  .product-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    min-width: 0;
    width: 100%;
    padding: 0.72rem 0.8rem;
    margin: 0 -0.8rem;
    border-radius: 0.65rem;
    border: 1px solid transparent;
    transition:
      background-color 0.22s ease,
      border-color 0.22s ease;
    outline-offset: 2px;
  }
  .product-menu-item > span:not(.product-menu-icon) {
    flex: 1;
    min-width: 0;
  }
  .product-menu-item:hover,
  .product-menu-item:focus {
    background-color: rgba(29, 29, 31, 0.03);
    border-color: rgba(0, 0, 0, 0.04);
  }
  .product-menu-item.is-active {
    background-color: rgba(255, 67, 1, 0.05);
    border-color: rgba(255, 67, 1, 0.1);
  }
  .product-menu-icon {
    display: flex;
    width: 2.2rem;
    height: 2.2rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(29, 29, 31, 0.62);
    background: rgba(245, 245, 247, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.5rem;
    transition:
      background-color 0.22s ease,
      border-color 0.22s ease,
      color 0.22s ease;
  }
  .product-menu-icon svg {
    width: 1.05rem;
    height: 1.05rem;
  }
  .product-menu-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-width: 0;
    color: #1d1d1f;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    white-space: normal;
    transition: color 0.22s ease;
  }
  .product-menu-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.42rem;
    border-radius: 0.3rem;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(29, 29, 31, 0.48);
    background: rgba(29, 29, 31, 0.045);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition:
      color 0.28s ease,
      background-color 0.28s ease,
      border-color 0.28s ease;
  }
  .product-menu-tag--core,
  .product-menu-tag--marketing,
  .product-menu-tag--sales {
    color: rgba(29, 29, 31, 0.5);
    background: rgba(29, 29, 31, 0.045);
    border-color: rgba(0, 0, 0, 0.06);
  }
  .product-menu-description {
    display: block;
    margin-top: 0.18rem;
    color: rgba(29, 29, 31, 0.46);
    font-size: 0.76rem;
    line-height: 1.42;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.22s ease;
  }
  .product-menu-item:hover .product-menu-icon,
  .product-menu-item:focus .product-menu-icon {
    color: rgba(29, 29, 31, 0.78);
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
  }
  .product-menu-item.is-active .product-menu-icon {
    color: #ff4301;
    background: rgba(255, 67, 1, 0.08);
    border-color: rgba(255, 67, 1, 0.18);
  }
  .product-menu-item:hover .product-menu-title,
  .product-menu-item:focus .product-menu-title {
    color: #1d1d1f;
  }
  .product-menu-item.is-active .product-menu-title {
    color: #1d1d1f;
  }
  .product-menu-item:hover .product-menu-description,
  .product-menu-item:focus .product-menu-description,
  .product-menu-item.is-active .product-menu-description {
    color: rgba(29, 29, 31, 0.6);
  }
  .product-menu-item.is-active .product-menu-tag {
    color: #ff4301;
    background: rgba(255, 67, 1, 0.08);
    border-color: rgba(255, 67, 1, 0.16);
  }
  .products-detail-panel {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 1.25rem 1.3rem;
    margin: 0.2rem 0.2rem 0.2rem 0;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #f5f5f7;
    color: #1d1d1f;
    transition: opacity 0.22s ease;
  }
  .products-detail-panel.is-fading {
    opacity: 0.45;
  }
  .products-detail-eyebrow {
    margin-bottom: 0.9rem;
    color: rgba(29, 29, 31, 0.36);
    font-size: 0.64rem;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .products-detail-title {
    color: #1d1d1f;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.025em;
  }
  .products-detail-meta {
    margin-top: 0.45rem;
    color: #ff4301;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
  }
  .products-detail-body {
    margin-top: 1rem;
    color: rgba(29, 29, 31, 0.68);
    font-size: 0.84rem;
    line-height: 1.65;
  }
  .products-detail-points {
    display: grid;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .products-detail-points li {
    position: relative;
    padding-left: 1.05rem;
    color: rgba(29, 29, 31, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
  }
  .products-detail-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 999px;
    background: #ff4301;
    opacity: 0.9;
  }

  /* Trigger text inherits from .gn-nav-link (already calc(1em - 1px) via .gn-nav-links) */
  .products-nav-trigger { font-size: inherit; font-weight: 500; }
}

/* Reset default list markers for the injected products dropdown (pages lack a global ul reset) */
@media (min-width: 1024px) {
  .products-dropdown-list,
  .products-detail-points {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .products-dropdown-list { display: grid; gap: 0.25rem; }
  .products-detail-points { display: grid; gap: 0.55rem; margin-top: auto; padding-top: 1.4rem; }
  .products-dropdown-list > li,
  .products-detail-points > li { list-style: none; }
}

/* Fixed header offset on pages using shared nav */
body.has-gn-nav .pseo-main,
body.has-gn-nav .legal-main {
  padding-top: calc(var(--gn-header-h) + 2rem);
}
body.has-gn-nav.case-studies-page .pp-main {
  padding-top: calc(var(--gn-header-h) + 1rem);
}
body.has-gn-nav:not(.case-studies-page) .pp-main {
  padding-top: calc(var(--gn-header-h) + 1.5rem);
}
body.has-gn-nav .about-hero {
  padding-top: var(--gn-header-h);
}

/* blog.css loads after global-nav.css — use full padding shorthand so content
   clears the fixed header the same way the homepage hero sits beneath its nav */
body.has-gn-nav .blog-main {
  padding: calc(var(--gn-header-h) + 2rem) 1.5rem 5rem;
}
body.has-gn-nav .blog-article {
  padding: calc(var(--gn-header-h) + 2rem) 1.5rem 5rem;
}

/* Safe-area / notch insets — mirrors styles.css header nav rules */
@supports (padding: env(safe-area-inset-top)) {
  .gn-header-inner {
    padding-top: env(safe-area-inset-top);
  }
  @media (max-width: 1023px) {
    .gn-menu-btn {
      top: max(1.25rem, env(safe-area-inset-top));
      right: max(1rem, env(safe-area-inset-right));
    }
  }
}
