/* Shared by every page: base, nav, bottom blur, lights band and footer.
   Page-specific styles stay in each page and load after this file. */

  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; height: 100%; }
  body {
    background: #121212;
    color: #f2f2ef;
    font-family: Inter, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  a { color: inherit; text-decoration: none; }

  /* ---------- site nav ----------
     Behaviour modelled on annnimate.com, with the ResultsCX logo, links and colours:
     - at the very top it is transparent and full width
     - once you scroll (or open a menu) it pulls in from the edges and turns solid
     - scrolling down hides it, scrolling up brings it back
     - Industry / Services / Insights open a large panel attached under the bar
     - below 1100px it becomes a full-height sheet with expandable groups */
  :root { /* shared by the bar, its dropdown and the phone sheet (which sits outside the header) */
    --nav-bg: #0d1c45;
    --nav-line: rgba(255, 255, 255, .09);
    --nav-ease: cubic-bezier(.25, 1, .5, 1);
  }
  .nav {
    position: fixed; z-index: 60;
    top: 0; left: 0; right: 0;
    padding: 0;
    font-family: Inter, -apple-system, system-ui, sans-serif;
    color: #fff;
    transition: padding .3s var(--nav-ease), transform .45s cubic-bezier(.76, 0, .24, 1);
  }
  .nav.is-solid { padding: 16px max(32px, calc((100% - 1728px) / 2)) 0; }
  .nav.is-hidden { transform: translateY(calc(-100% - 8px)); }
  .nav_shell { position: relative; }

  .nav_bar {
    position: relative; z-index: 2; /* its small menus (region) open above the big dropdown panel */
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto; /* logo | links centred in the space between | buttons */
    column-gap: 24px;
    align-items: center;
    height: 72px;
    padding-inline: max(32px, calc((100% - 1680px) / 2));
    background: rgba(13, 28, 69, 0);
    border-radius: 36px; /* a full pill at 72px tall */
    /* when a panel closes, wait for it to fold away before rounding the bottom corners again */
    transition: background-color .3s var(--nav-ease), padding .3s var(--nav-ease), border-radius .2s ease .3s;
  }
  /* frosted glass while scrolling: the page shows through, blurred */
  .nav.is-solid .nav_bar {
    padding-inline: 24px;
    background: rgba(13, 28, 69, .72); /* dense enough that the white menu text stays clear over white sections */
    -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 6px 18px -10px rgba(0, 0, 0, .18);
  }
  .nav.is-open .nav_bar { background: var(--nav-bg); box-shadow: none; } /* solid, no outline, while a menu panel hangs under it */
  .nav.is-open .nav_bar { border-radius: 24px 24px 0 0; transition: background-color .3s var(--nav-ease), padding .3s var(--nav-ease), border-radius .15s ease; }

  .nav_logo { justify-self: start; display: block; }
  .nav_logo img { display: block; width: 142px; height: 35px; }

  .nav_links { justify-self: center; display: flex; align-items: center; gap: 2px; }
  .nav_link {
    display: block;
    padding: 9px 13px;
    border: 0; background: transparent;
    color: rgba(255, 255, 255, .8);
    font: inherit; font-size: 15px; font-weight: 500;
    line-height: 18px; letter-spacing: .2px;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
  }
  .nav_link:hover, .nav_link.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
  .nav_link { border-radius: 999px; }

  .nav_right { justify-self: end; display: flex; align-items: center; gap: 22px; }
  /* "AI Mode" pill: magnifier with a sparkle and a label, like Google's AI Mode button */
  .nav_search {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
    font: inherit; font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    transition: background-color .2s ease, box-shadow .2s ease;
  }
  .nav_search svg { flex: none; width: 21px; height: 21px; }
  .nav_search svg path:last-child { color: #61cd3f; fill: #61cd3f; } /* the AI sparkle in brand green */
  .nav_search:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
  /* proximity glow, as on Google's AI Mode button but in brand blue and green: as the cursor comes near,
     a glowing arc lights the edge nearest to it and slides round with it. --ga is the angle towards the
     cursor and --gs how close it is (0 to 1), both set by the script */
  .nav_search > * { position: relative; z-index: 1; }
  /* the light: two soft lights, blue and green, placed one behind the other along the button's outline at
     the point nearest the cursor (--l1x/--l1y and --l2x/--l2y, set by the script). They fill the button's own
     shape, are blurred outward, and the button itself is cut out, so the light is brightest right at the
     edge and fades smoothly away from it, like Google's AI Mode button */
  .nav_search::before {
    content: ""; position: absolute; inset: -18px; padding: 18px; border-radius: 999px; pointer-events: none;
    background:
      radial-gradient(64px circle at var(--l1x, 50%) var(--l1y, 50%), #4a95ff, rgba(17, 106, 248, .8) 45%, rgba(17, 106, 248, 0) 80%),
      radial-gradient(64px circle at var(--l2x, 50%) var(--l2y, 50%), #8be466, rgba(97, 205, 63, .75) 45%, rgba(97, 205, 63, 0) 80%);
    background-origin: content-box; background-clip: content-box;
    filter: blur(5px);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: var(--gs, 0); transition: opacity .2s linear;
  }
  .nav_search::after { display: none; }
  @media (prefers-reduced-motion: reduce) { .nav_search::before { transition: none; } }
  /* once clicked (search open) or reached by keyboard: a solid blue ring */
  .nav_search.is-active, .nav_search:focus-visible { box-shadow: inset 0 0 0 2px #116af8, 0 0 0 1px rgba(17, 106, 248, .35); outline: none; }
  .nav_search:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  @media (min-width: 1100px) and (max-width: 1240px) { .nav_right { gap: 10px; } .nav_link { padding-inline: 7px; } .nav_lang { padding-inline: 6px 4px; } } /* tighter spacing so everything fits on small laptops */
  @media (max-width: 1440px) { .nav_right .nav_search { width: 40px; padding: 0; justify-content: center; } .nav_search_label { display: none; } } /* icon only where the bar gets tight */
  .nav_search_m { display: none; }
  /* region switch: "US" with a small arrow, opening a little menu with United States / United Kingdom */
  .nav_region { position: relative; }
  /* region switch: "US" with a small arrow; the codes drop down in one narrow column right under it */
  .nav_lang {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 6px 8px 8px; border: 0; border-radius: 999px; background: transparent;
    color: rgba(255, 255, 255, .8); cursor: pointer;
    font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .2px;
    transition: color .2s ease, background-color .2s ease;
  }
  .nav_lang:hover, .nav_lang[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .08); }
  .nav_lang:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .nav_lang_chev { width: 14px; height: 14px; transition: rotate .3s var(--nav-ease); }
  .nav_lang[aria-expanded="true"] .nav_lang_chev { rotate: 180deg; }
  .nav_region_menu {
    position: absolute; z-index: 5; top: calc(100% + 10px); left: 0; right: 0;
    margin: 0; padding: 4px; list-style: none;
    border-radius: 14px; background: var(--nav-bg);
    box-shadow: inset 0 0 0 1px var(--nav-line), 0 20px 40px -16px rgba(0, 0, 0, .55);
    animation: nav-region-in .25s var(--nav-ease);
  }
  .nav_region_menu[hidden] { display: none; }
  @keyframes nav-region-in { from { opacity: 0; translate: 0 -6px; } }
  .nav_region_menu li + li { margin-top: 2px; }
  .nav_region_menu button {
    display: block; width: 100%;
    padding: 8px 0; border: 0; border-radius: 10px; background: transparent;
    color: rgba(255, 255, 255, .7); cursor: pointer; text-align: center;
    font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .2px;
    transition: background-color .2s ease, color .2s ease;
  }
  .nav_region_menu button:hover, .nav_region_menu button:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; outline: none; }
  .nav_region_menu [aria-checked="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
  /* phone menu: a small US | UK switch */
  .nav_region_seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
  .nav_region_seg button {
    padding: 7px 14px; border: 0; border-radius: 999px; background: transparent;
    color: rgba(255, 255, 255, .7); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
  }
  .nav_region_seg [aria-pressed="true"] { background: #fff; color: #041131; }
  /* "Talk to us": arrow fill button. A white circle holds the arrow; on hover it grows from
     behind the arrow to fill the whole pill, the label turns navy and the arrow swaps. */
  .nav_cta {
    --fill-scale: 12; /* enough for the circle to cover the whole pill */
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 5px 5px 5px 20px;
    border-radius: 999px;
    overflow: hidden;
    background: #116af8; color: #fff;
    font-size: 15px; font-weight: 500; line-height: 18px; letter-spacing: .2px;
    white-space: nowrap;
    transition: color .45s cubic-bezier(.65, 0, .35, 1);
  }
  .nav_cta_icon {
    position: relative;
    display: grid; place-items: center;
    width: 30px; height: 30px; flex: none;
    border-radius: 50%;
    color: #041131;
  }
  .nav_cta_icon::before { /* the white circle that grows */
    content: "";
    position: absolute; inset: 0; z-index: -1;
    border-radius: 50%;
    background: #fff;
    transition: transform .55s cubic-bezier(.65, 0, .35, 1);
  }
  /* the arrows live in their own round window, so a sliding arrow never shows outside the circle
     (the circle itself can still grow over the whole button on hover) */
  .nav_cta_arrows { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
  .nav_cta_icon svg {
    grid-area: 1 / 1;
    width: 15px; height: 15px;
    transition: transform .5s cubic-bezier(.65, 0, .35, 1);
  }
  .nav_cta_icon svg + svg { transform: translateX(-28px); opacity: 0; }
  .nav_cta:hover, .nav_cta:focus-visible { color: #041131; }
  .nav_cta:hover .nav_cta_icon::before, .nav_cta:focus-visible .nav_cta_icon::before { transform: scale(var(--fill-scale)); }
  .nav_cta:hover .nav_cta_icon svg, .nav_cta:focus-visible .nav_cta_icon svg { transform: translateX(28px); opacity: 0; }
  .nav_cta:hover .nav_cta_icon svg + svg, .nav_cta:focus-visible .nav_cta_icon svg + svg { transform: translateX(0); opacity: 1; }
  .nav_cta_icon svg { transition: transform .5s cubic-bezier(.65, 0, .35, 1), opacity .3s ease; }
  /* idle nudge: every 3 s the arrow slides out to the right and a fresh one slides in, a quiet
     "click here"; it stops while the button is hovered, where the hover fill takes over */
  .nav_cta_icon svg { animation: cta-nudge 3s cubic-bezier(.65, 0, .35, 1) infinite; }
  .nav_cta_icon svg + svg { animation-name: cta-nudge-in; }
  @keyframes cta-nudge { 0%, 78% { transform: translateX(0); opacity: 1; } 96%, 100% { transform: translateX(var(--cta-slide, 28px)); opacity: 0; } }
  @keyframes cta-nudge-in { 0%, 78% { transform: translateX(calc(var(--cta-slide, 28px) * -1)); opacity: 0; } 96%, 100% { transform: translateX(0); opacity: 1; } }
  .nav_cta:hover .nav_cta_icon svg, .nav_cta:focus-visible .nav_cta_icon svg { animation: none; }
  @media (prefers-reduced-motion: reduce) {
    .nav_cta, .nav_cta_icon::before, .nav_cta_icon svg { transition: none !important; animation: none !important; }
  }
  .nav a:focus-visible, .nav button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

  /* dropdown panel, attached under the bar */
  .nav_drop {
    position: absolute; z-index: 1; left: 0; right: 0; top: 100%;
    height: 0; overflow: hidden;
    background: var(--nav-bg);
    box-shadow: inset 0 1px 0 var(--nav-line);
    border-radius: 0 0 24px 24px;
    transition: height .45s var(--nav-ease);
  }
  .nav.is-solid .nav_drop { padding-inline: 0; }
  .nav_panel {
    position: absolute; top: 0; left: 0; right: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    padding: 32px 24px 36px;
    opacity: 0; visibility: hidden; translate: 0 -8px;
    transition: opacity .2s ease, translate .35s var(--nav-ease), visibility 0s linear .2s;
  }
  .nav_panel.is-active {
    opacity: 1; visibility: visible; translate: 0 0;
    transition: opacity .3s ease .06s, translate .45s var(--nav-ease) .06s;
  }
  .nav_intro { grid-column: 1 / span 4; max-width: 340px; }
  .nav_intro h2 { margin: 0 0 14px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
  .nav_intro p { margin: 0 0 22px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
  .nav_more { font-size: 14px; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); }
  .nav_more:hover { border-color: #fff; }
  .nav_col { grid-column: span 2; }
  .nav_col:first-of-type { grid-column: 6 / span 2; }
  .nav_col h3 { margin: 4px 0 14px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .5); }
  .nav_col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .nav_col a { display: inline-block; padding: 5px 0; font-size: 15px; color: rgba(255, 255, 255, .88); transition: color .2s ease, translate .2s ease; }
  .nav_col a:hover { color: #fff; translate: 3px 0; }
  .nav_feature { grid-column: 10 / -1; display: block; }
  .nav_feature_img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: #1a2b5c; }
  .nav_feature_img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale .6s var(--nav-ease); }
  .nav_feature:hover .nav_feature_img img { scale: 1.04; }
  .nav_feature small { display: block; margin: 14px 0 4px; font-size: 12px; color: rgba(255, 255, 255, .5); }
  .nav_feature span { font-size: 15px; font-weight: 500; }

  /* page dim behind an open menu */
  .nav_dim {
    position: fixed; inset: 0; z-index: 59;
    background: rgba(2, 8, 24, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility 0s linear .35s;
  }
  .nav_dim.is-on { opacity: 1; visibility: visible; transition: opacity .35s ease; }

  /* phone / tablet */
  .nav_burger, .nav_sheet { display: none; }
  @media (max-width: 1099px) {
    .nav_links, .nav_right, .nav_drop { display: none; }
    .nav_bar { grid-template-columns: 1fr auto auto; padding-inline: 20px; }
    .nav_search_m { display: grid; place-items: center; width: 40px; padding: 0; margin-right: 4px; } /* icon only on small screens */
    .nav.is-solid { padding: 12px 12px 0; }
    .nav.is-solid .nav_bar { padding-inline: 16px; }
    .nav_burger {
      display: grid; place-items: center;
      width: 44px; height: 44px; margin-right: -10px;
      border: 0; background: transparent; color: #fff; cursor: pointer;
    }
    .nav_burger svg { width: 24px; height: 24px; }

    .nav_sheet {
      display: flex; flex-direction: column;
      position: fixed; inset: 12px; z-index: 61;
      border-radius: 24px;
      overflow-y: auto; overscroll-behavior: contain;
      background: var(--nav-bg);
      opacity: 0; visibility: hidden; translate: 0 -12px;
      transition: opacity .3s ease, translate .45s var(--nav-ease), visibility 0s linear .3s;
    }
    .nav_sheet.is-open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s ease, translate .45s var(--nav-ease); }
    .nav_sheet_head {
      display: flex; align-items: center; justify-content: space-between;
      height: 72px; padding: 0 6px 0 16px; flex: none;
      border-bottom: 1px solid var(--nav-line);
    }
    .nav_close {
      display: grid; place-items: center; width: 44px; height: 44px;
      border: 0; background: transparent; color: #fff; cursor: pointer;
    }
    .nav_close svg { width: 24px; height: 24px; }
    .nav_list { list-style: none; margin: 0; padding: 8px 16px; }
    .nav_list > li { border-bottom: 1px solid var(--nav-line); }
    .nav_item {
      display: flex; align-items: center; justify-content: space-between; width: 100%;
      padding: 16px 0;
      border: 0; background: transparent; color: #fff;
      font: inherit; font-size: 22px; font-weight: 500; letter-spacing: -.01em; text-align: left;
      cursor: pointer;
    }
    .nav_plus { width: 18px; height: 18px; flex: none; transition: rotate .35s var(--nav-ease); }
    .nav_item[aria-expanded="true"] .nav_plus { rotate: 45deg; }
    .nav_sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--nav-ease); }
    .nav_sub.is-open { grid-template-rows: 1fr; }
    .nav_sub ul { overflow: hidden; list-style: none; margin: 0; padding: 0; }
    .nav_sub a { display: block; padding: 8px 0; font-size: 16px; color: rgba(255, 255, 255, .72); }
    .nav_sub li:last-child a { padding-bottom: 20px; }
    .nav_sheet_foot { margin-top: auto; padding: 24px 16px; display: flex; align-items: center; gap: 20px; }
    .nav_sheet_foot .nav_cta { flex: 1; --fill-scale: 24; padding: 8px 8px 8px 22px; font-size: 16px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .nav, .nav *, .nav_dim { transition: none !important; }
  }

  /* ---------- bottom blur, whole site ----------
     six stacked layers, each blurring more and each faded in over its own band,
     so content goes gradually out of focus toward the bottom edge of the screen */
  .edge_blur {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    height: 90px;
    pointer-events: none;
  }
  .edge_blur > div { position: absolute; inset: 0; }
  .edge_blur > div:nth-child(1) { backdrop-filter: blur(1px);  -webkit-backdrop-filter: blur(1px);  mask-image: linear-gradient(transparent 12.5%, #000 25%, #000 37.5%, transparent 50%);   -webkit-mask-image: linear-gradient(transparent 12.5%, #000 25%, #000 37.5%, transparent 50%); }
  .edge_blur > div:nth-child(2) { backdrop-filter: blur(2px);  -webkit-backdrop-filter: blur(2px);  mask-image: linear-gradient(transparent 25%, #000 37.5%, #000 50%, transparent 62.5%);   -webkit-mask-image: linear-gradient(transparent 25%, #000 37.5%, #000 50%, transparent 62.5%); }
  .edge_blur > div:nth-child(3) { backdrop-filter: blur(4px);  -webkit-backdrop-filter: blur(4px);  mask-image: linear-gradient(transparent 37.5%, #000 50%, #000 62.5%, transparent 75%);   -webkit-mask-image: linear-gradient(transparent 37.5%, #000 50%, #000 62.5%, transparent 75%); }
  .edge_blur > div:nth-child(4) { backdrop-filter: blur(8px);  -webkit-backdrop-filter: blur(8px);  mask-image: linear-gradient(transparent 50%, #000 62.5%, #000 75%, transparent 87.5%);   -webkit-mask-image: linear-gradient(transparent 50%, #000 62.5%, #000 75%, transparent 87.5%); }
  .edge_blur > div:nth-child(5) { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); mask-image: linear-gradient(transparent 62.5%, #000 75%, #000 87.5%, transparent 100%); -webkit-mask-image: linear-gradient(transparent 62.5%, #000 75%, #000 87.5%, transparent 100%); }
  .edge_blur > div:nth-child(6) { backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); mask-image: linear-gradient(transparent 75%, #000 87.5%, #000 100%);                -webkit-mask-image: linear-gradient(transparent 75%, #000 87.5%, #000 100%); }
  @media (max-width: 599px) { .edge_blur { height: 64px; } }

  /* ---------- Lights band + footer ---------- */
  .lt_wrap {
    --lt-edge: max(32px, calc((100% - 1680px) / 2));
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(460px, 48vw, 680px);
    display: flex; align-items: flex-end;
    padding: 120px var(--lt-edge) 96px;
    background: #020a1f;
    color: #f2f2ef;
    font-family: Inter, -apple-system, system-ui, sans-serif;
  }
  .lt_canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; }
  /* fine vertical lines over the lights, then fades into the sections above and below */
  .lt_wrap::before { /* fine dot screen, faded in from the top so the band has no hard upper edge */
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(circle, rgba(2, 10, 31, .55) .7px, transparent 1.1px) 0 0 / 3px 3px; /* fine dot screen */
    -webkit-mask-image: linear-gradient(transparent 0%, #000 45%, #000 80%, transparent 100%);
    mask-image: linear-gradient(transparent 0%, #000 45%, #000 80%, transparent 100%);
  }
  .lt_wrap::after { /* blend into the navy section above and the footer below; keep the text side calmer */
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      linear-gradient(#041131 0%, rgba(4, 17, 49, .6) 14%, rgba(4, 17, 49, 0) 38%, rgba(2, 10, 31, 0) 62%, #020a1f 100%),
      linear-gradient(90deg, rgba(2, 10, 31, .75) 0%, rgba(2, 10, 31, 0) 55%);
  }
  .lt_inner { position: relative; z-index: 1; max-width: 1280px; }
  .lt_title {
    margin: 0 0 32px;
    font-size: clamp(40px, 4.6vw, 76px);
    font-weight: 400; line-height: 1.05; letter-spacing: -.04em;
  }
  .lt_title span { display: block; } /* one line each, same colour */
  .lt_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
  .lt_cta { --fill-scale: 12; }
  .lt_ghost {
    display: inline-flex; align-items: center;
    height: 40px; padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
    color: #f2f2ef; font-size: 15px; font-weight: 500;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
  }
  .lt_ghost:hover, .lt_ghost:focus-visible { background: #fff; border-color: #fff; color: #041131; }
  .lt_ghost:focus-visible, .lt_cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

  .ft {
    --ft-edge: max(32px, calc((100% - 1680px) / 2));
    padding: 72px var(--ft-edge) 40px;
    background: #020a1f;
    color: #f2f2ef;
    font-family: Inter, -apple-system, system-ui, sans-serif;
  }
  .ft_top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-bottom: 56px; }
  .ft_logo img { display: block; width: 150px; height: auto; }
  .ft_col h2 { margin: 0 0 22px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
  .ft_col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
  .ft_col a, .ft_legal a { color: #9aa6c0; font-size: 15px; transition: color .2s ease; }
  .ft_col a:hover, .ft_legal a:hover { color: #fff; }
  .ft_bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .ft_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
  .ft_region { display: inline-flex; align-items: center; gap: 8px; color: #f2f2ef; font-size: 15px; }
  .ft_region svg { width: 16px; height: 16px; }
  .ft_legal { display: flex; flex-wrap: wrap; gap: 12px 28px; }
  .ft_copy { color: #6f7b96; font-size: 14px; }
  .ft_social { display: flex; gap: 12px; }
  .ft_social a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: #f2f2ef; color: #020a1f;
    transition: background-color .2s ease, transform .2s ease;
  }
  .ft_social a:hover { background: #61cd3f; transform: translateY(-2px); }
  .ft_social svg { width: 18px; height: 18px; }
  .ft a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

  @media (max-width: 1023px) {
    .ft_top { grid-template-columns: repeat(2, 1fr); }
    .ft_logo { grid-column: 1 / -1; }
  }
  @media (max-width: 599px) {
    .lt_wrap { --lt-edge: 20px; padding-top: 96px; padding-bottom: 64px; min-height: 480px; }
    .ft { --ft-edge: 20px; padding-top: 56px; }
    .ft_top { gap: 36px 20px; padding-bottom: 40px; }
    .ft_bottom { flex-direction: column; align-items: flex-start; }
  }

  /* the bottom-of-screen blur steps aside at the very end of the page */
  .edge_blur { transition: opacity .4s ease; }
  .edge_blur.is-off { opacity: 0; }

  /* ---------- AI search (opens from the bar) ---------- */
  /* the page dims behind it (under the menu bar, like the dropdown menus) */
  .srch {
    position: fixed; inset: 0; z-index: 59;
    background: rgba(2, 8, 24, .55);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .3s ease;
    font-family: Inter, -apple-system, system-ui, sans-serif; letter-spacing: -.01em;
  }
  .srch[hidden] { display: none; }
  .srch.is-open { opacity: 1; }
  html.srch-open { overflow: hidden; }
  /* the panel hangs from the menu bar: same left edge and width (set by the script), square top, round bottom */
  .srch_panel {
    position: fixed; left: var(--srch-x, 12px); top: var(--srch-y, 84px); width: var(--srch-w, calc(100% - 24px));
    max-height: calc(100vh - var(--srch-y, 84px) - 16px); max-height: calc(100dvh - var(--srch-y, 84px) - 16px);
    overflow-y: auto; overscroll-behavior: contain;
    padding: 24px 24px 28px;
    border-radius: 0 0 24px 24px;
    background: var(--nav-bg); color: #f2f2ef;
    box-shadow: inset 0 1px 0 var(--nav-line), 0 30px 60px -30px rgba(0, 0, 0, .55);
    clip-path: inset(0 0 100% 0 round 0 0 24px 24px);
    transition: clip-path .45s var(--nav-ease);
  }
  .srch.is-open .srch_panel { clip-path: inset(0 0 0 0 round 0 0 24px 24px); }
  .srch_panel > * { max-width: 920px; margin-inline: auto; } /* content keeps a comfortable reading width on wide bars */
  /* the field: same as the Home page ask box. Blue outline all round with a green spark that travels
     along it (--sx / --sy, set by the script) and follows the pointer; example questions type themselves in */
  .srch_form {
    position: relative; isolation: isolate; display: flex; align-items: center; gap: 12px;
    height: 72px; padding: 0 10px 0 24px; border-radius: 999px;
    background: rgba(8, 24, 70, .85);
    box-shadow: 0 30px 80px -30px rgba(17, 106, 248, .6);
    transition: box-shadow .3s ease;
  }
  .srch_form::before {
    content: ""; position: absolute; inset: -2px; z-index: 0; padding: 2px; border-radius: inherit; pointer-events: none;
    background: radial-gradient(110px circle at var(--sx, 50%) var(--sy, 0%), #d6ffc4 0%, #7ee05a 22%, rgba(97, 205, 63, .35) 48%, rgba(97, 205, 63, 0) 72%), rgba(17, 106, 248, .7);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  }
  .srch_halo { position: absolute; inset: -2px; z-index: -2; border-radius: inherit; pointer-events: none; background: radial-gradient(90px 46px at var(--sx, 50%) var(--sy, 0%), rgba(97, 205, 63, .75), rgba(97, 205, 63, 0) 75%); filter: blur(10px); }
  .srch_form::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #081a46; }
  .srch_form:focus-within { box-shadow: 0 30px 90px -24px rgba(17, 106, 248, .85); }
  .srch_icon { position: relative; flex: none; width: 22px; height: 22px; color: #61cd3f; }
  .srch_input {
    position: relative; flex: 1; min-width: 0; height: 100%;
    border: 0; outline: 0; background: transparent; color: #fff;
    font: inherit; font-size: 18px; letter-spacing: -.01em;
  }
  .srch_input::placeholder { color: transparent; } /* the typed examples stand in for the placeholder */
  .srch_input::-webkit-search-cancel-button { display: none; }
  .srch_ghost { position: absolute; left: 58px; right: 80px; top: 50%; translate: 0 -50%; font-size: 18px; color: rgba(255, 255, 255, .45); white-space: nowrap; overflow: hidden; pointer-events: none; }
  .srch_ghost::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: rgba(255, 255, 255, .6); animation: srch-blink 1s steps(1) infinite; }
  .srch_form.has-text .srch_ghost { display: none; }
  @keyframes srch-blink { 50% { opacity: 0; } }
  .srch_go {
    position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px;
    border: 0; border-radius: 50%; background: #116af8; color: #fff; cursor: pointer;
    transition: background-color .25s ease, color .25s ease, scale .25s ease;
  }
  .srch_go svg { width: 20px; height: 20px; }
  .srch_go:hover { background: #fff; color: #116af8; scale: 1.05; }
  .srch_go:focus-visible, .srch_chip:focus-visible, .srch a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .srch_body { padding: 6px 14px 0; }
  .srch_label { margin: 22px 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #6f7b96; }
  .srch_label[hidden] { display: none; }
  .srch_chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .srch_chip {
    padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
    background: transparent; color: #f2f2ef; font: inherit; font-size: 14px; cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  }
  .srch_chip:hover { background: #fff; color: #041131; border-color: #fff; }
  .srch_quick, .srch_results { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
  .srch_quick a, .srch_results a {
    display: flex; flex-direction: column; gap: 3px;
    padding: 12px 14px; margin-inline: -14px; border-radius: 14px;
    font-size: 16px; font-weight: 500; color: #fff;
    transition: background-color .2s ease;
  }
  .srch_quick a { flex-direction: row; align-items: baseline; gap: 12px; }
  .srch_quick a span, .srch_results a span { font-size: 14px; font-weight: 400; color: #9aa6c0; }
  .srch_quick a:hover, .srch_results a:hover { background: rgba(255, 255, 255, .07); }
  .srch_results b { font-weight: 500; }
  /* the AI overview card */
  .srch_ai {
    margin-top: 16px; padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(17, 106, 248, .22), rgba(97, 205, 63, .08));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  }
  .srch_ai_head { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: #61cd3f; letter-spacing: .02em; }
  .srch_ai_head svg { width: 16px; height: 16px; }
  .srch_ai_text { margin: 0; font-size: 17px; line-height: 1.6; color: #f2f2ef; }
  .srch_ai_text:empty { display: none; }
  .srch_think { display: grid; gap: 10px; }
  .srch_think[hidden] { display: none; }
  .srch_think i { height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.2), rgba(255,255,255,.06)); background-size: 200% 100%; animation: srch-shimmer 1.1s linear infinite; }
  .srch_think i:nth-child(2) { width: 86%; } .srch_think i:nth-child(3) { width: 60%; }
  @keyframes srch-shimmer { to { background-position: -200% 0; } }
  .srch_sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .srch_sources:empty { display: none; }
  .srch_src {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    padding: 7px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); color: #dfe6f5; font-size: 13px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    animation: srch-in .4s ease both;
    transition: background-color .2s ease;
  }
  .srch_src:hover { background: rgba(255, 255, 255, .16); color: #fff; }
  @keyframes srch-in { from { opacity: 0; translate: 0 6px; } }
  .srch_note { margin: 18px 0 0; font-size: 12px; color: #6f7b96; }
  @media (max-width: 599px) {
    .srch_panel { padding: 14px 14px 22px; }
    .srch_form { height: 60px; padding-left: 18px; }
    .srch_input, .srch_ghost { font-size: 16px; }
    .srch_ghost { left: 50px; right: 66px; }
    .srch_go { width: 44px; height: 44px; }
    .srch_quick a { flex-direction: column; gap: 2px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .srch, .srch_panel { transition: none; }
    .srch_think i, .srch_src, .srch_ghost::after { animation: none; }
  }

  /* ask bar floating under an open dropdown (desktop) */
  .nav_ask {
    position: fixed; z-index: 61; left: 50%; top: 0;
    width: min(780px, calc(100% - 64px));
    font-family: Inter, -apple-system, system-ui, sans-serif;
    opacity: 0; visibility: hidden; translate: -50% 12px;
    transition: opacity .3s ease, translate .45s var(--nav-ease), visibility 0s linear .3s;
  }
  .nav_ask.is-on { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity .35s ease .12s, translate .5s var(--nav-ease) .12s; }
  @media (max-width: 1099px) { .nav_ask { display: none; } }
  @media (prefers-reduced-motion: reduce) { .nav_ask, .nav_ask.is-on { transition: none; } }
