/* BridgeMD homepage, centered hero. Loaded after company.hero.css and company.counter.css.
   One centered column on the soft blue gray: the headline, one line, two buttons, the compliance badges.
   The headline is the boldest thing on the page and is sized by both the width and the height of the screen, so it stays at
   two lines and the feature grid below starts near the bottom of the first screen. */
/* The hero fills the whole first screen (nothing below peeks in) and its tint fades into the white of the next section,
   so there is no hard edge. Harshil, Nov 10 2026: the cut off bottom looked lame. */
/* The hero fills the first screen. A quiet link at its bottom ("See what Bridget does") shows there is more below. */
body.cx-page .cx-hero { position: relative; display: block; min-height: 0; --peek: 0px; overflow: clip;
  background: linear-gradient(180deg, var(--tint) 0%, #f1f5fc 58%, #fff 100%); }
body.cx-page .cx-hero-l { display: flex; justify-content: center; align-items: center; text-align: center; box-sizing: border-box;
  min-height: calc(100vh - var(--peek)); min-height: calc(100svh - var(--peek)); padding: 100px 28px clamp(84px, 11vh, 112px); background: none; }  /* bottom room for the "See what Bridget does" link */
body.cx-page .cx-hero-copy { max-width: 1380px; display: flex; flex-direction: column; align-items: center; }

/* Headline and line */
/* One deep navy for the whole headline, no black and blue split (Harshil, Nov 10 2026). Blue stays on the buttons. */
body.pub-marketing.cx-page .cx-hero h1 { max-width: 1240px; font-size: clamp(44px, min(5.8vw, 10.5vh), 100px); line-height: .98; font-weight: 800; letter-spacing: -.032em; color: #102a5c; text-wrap: balance; }
body.pub-marketing.cx-page .cx-hero h1 em { color: inherit; }
body.cx-page .cx-hero-sub { max-width: 60ch; margin: clamp(16px, 2.8vh, 26px) auto 0; font-size: 19.5px; line-height: 1.55; letter-spacing: -.012em; color: var(--text); }

/* Buttons: pills */
body.cx-page .cx-hero-cta { justify-content: center; gap: 12px; margin-top: clamp(22px, 3.8vh, 36px); }
body.cx-page .cx-hero .cx-cta { height: 56px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: -.005em; }
body.cx-page .cx-hero .cx-cta:not(.cx-cta-ghost) { box-shadow: 0 1px 1px rgba(10, 30, 70, .12), 0 10px 24px -12px rgba(18, 87, 176, .7); }
body.cx-page .cx-hero .cx-cta-ghost { border-color: #c8d6ec; }
body.cx-page .cx-hero .cx-cta .ico { width: 17px; height: 17px; }

/* Compliance badges, one quiet row */
body.cx-page .cx-hero-trust { margin-top: clamp(26px, 4.4vh, 44px); }
body.cx-page .cx-hero-trust-t { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
body.cx-page .cx-hero-badges { justify-content: center; }

/* Security and compliance: a plain row under the buttons, no card (Nov 16 2026: Harshil wants it clear and unboxed). The label links
   to the full security page. SOC 2 comes first because it is the one a site's security team asks for. */
body.cx-page .cx-hero-priv { width: fit-content; max-width: 100%; margin-inline: auto; padding: 0; background: none; border: 0; box-shadow: none; }
body.cx-page .cx-hero-priv .cx-hero-trust-t { margin-bottom: 14px; color: var(--ink); font-weight: 700; }
body.cx-page .cx-hero-priv .cx-hero-trust-t a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
body.cx-page .cx-hero-priv .cx-hero-trust-t a:is(:hover, :focus-visible) { color: var(--accent); }
body.cx-page .cx-hero-priv .cx-hero-trust-t .ico { width: 13px; height: 13px; }
body.cx-page .cx-hero-priv .cx-chip img { height: 36px; }
body.cx-page .cx-hero-priv .cx-chip-n { font-size: 15px; }

@media (max-width: 899px) {
  body.cx-page .cx-hero-l { min-height: 100vh; min-height: 100svh; padding: 120px 28px 40px; }  /* the next heading starts below the fold, never half cut */
}
@media (max-width: 640px) {
  body.cx-page .cx-hero-l { padding: 100px 16px 32px; }
  body.cx-page .cx-hero-sub { font-size: 17px; }
  body.cx-page .cx-hero-badges { display: flex; flex-wrap: wrap; justify-content: center; }
}

/* ---------- The clinical systems sites run: grey, transparent logos drifting slowly ---------- */
body.cx-page .cx-int { width: min(1080px, calc(100vw - 56px)); margin-top: clamp(24px, 4vh, 40px); }
body.cx-page .cx-int .cx-hero-trust-t { margin-bottom: 16px; }
body.cx-page .cx-int-view { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
body.cx-page .cx-int-row { display: flex; flex: none; align-items: center; gap: 56px; margin: 0; padding: 0 28px; list-style: none; animation: cxIntRun 52s linear infinite; }
body.cx-page .cx-int-view:hover .cx-int-row { animation-play-state: paused; }
body.cx-page .cx-int-row li { display: inline-flex; align-items: center; height: 34px; white-space: nowrap; }
body.cx-page .cx-int-row img { width: auto; filter: brightness(0); opacity: .38; }
body.cx-page .cx-int-wm { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #0b1424; opacity: .38; }
@keyframes cxIntRun { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  body.cx-page .cx-int-row { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 14px; }
  body.cx-page .cx-int-row[aria-hidden="true"] { display: none; }
  body.cx-page .cx-int-view { -webkit-mask-image: none; mask-image: none; justify-content: center; }
}
@media (max-width: 640px) {
  body.cx-page .cx-int { width: calc(100vw - 32px); }
  body.cx-page .cx-int-row { gap: 36px; }
  body.cx-page .cx-int-row img { transform: scale(.82); transform-origin: left center; }
  body.cx-page .cx-int-wm { font-size: 18px; }
}

/* ---------- The way down ---------- */
body.cx-page .cx-hero-more { position: absolute; left: 50%; bottom: clamp(18px, 3.5vh, 34px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; }
body.cx-page .cx-hero-more .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
body.cx-page .cx-hero-more:hover { color: var(--accent); }
body.cx-page .cx-hero-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  body.cx-page .cx-hero-more .ico { animation: cxNudge 2.4s ease-in-out 1.2s 3; }
  @keyframes cxNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
}
@media (max-width: 899px) {
  body.cx-page .cx-hero-more { display: none; }   /* phones and tablets scroll by habit, and the hero there is shorter than the screen */
}
