/* BridgeMD homepage, closing lens. Loaded after company.css. Edited only by the closing lens agent.
   Owns: recognition, FAQ, closing call to action and footer.
   Colour roles: --ink for headings and key text, --text (dark gray) for body copy and links,
   --muted (light gray) for captions and small print. */

/* ---------- Recognition ----------
   One calm card. The logo and the exact title sit left, one plain sentence, the LinkedIn link and the
   click to load post button sit right. Nothing decorative. */
.cx-rec { padding: 72px 0; }
.cx-rec .cx-rec-h { margin-bottom: 36px; }
.cx-rec .cx-rec-grid { margin-top: 0; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.cx-rec .cx-rec-card { align-content: start; gap: 24px; padding: 36px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); box-shadow: none; }
.cx-rec .cx-rec-grid.is-one .cx-rec-card { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; gap: 0; padding: 0; }
.cx-rec .cx-rec-hd { min-width: 0; align-self: center; }
.cx-rec .cx-rec-grid.is-one .cx-rec-hd { padding: 48px 56px; }
.cx-rec .cx-rec-t { margin: 0; font-family: var(--f-disp); font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -.034em; font-weight: 600; color: var(--ink); text-wrap: balance; }
/* On wide screens each comma separated part of the title stays whole, so it breaks between parts. */
@media (min-width: 901px) { .cx-rec .cx-rec-t .cx-seg { display: inline-block; max-width: 100%; } }
.cx-rec .cx-rec-tx { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cx-rec .cx-rec-grid.is-one .cx-rec-tx { padding: 48px 56px; border-left: 1px solid var(--line); }
/* The sentence is short, so balanced lines keep it from ending on a lone word. (The shared rule, text-wrap: pretty, made the last lines uneven on a 390 px phone.) */
.cx-rec .cx-rec-card .cx-rec-tx > p { margin: 0; max-width: 46ch; font-size: 18px; line-height: 1.55; color: var(--text); text-wrap: balance; }
.cx-rec .cx-rec-card .cx-feature-link { margin-top: 18px; font-size: 15.5px; }
/* The label is one flowing block and its last word keeps the arrow beside it, so the arrow never drifts to the far edge. */
.cx-rec .cx-feature-txt { min-width: 0; }
.cx-rec .cx-feature-end { white-space: nowrap; }
.cx-rec .cx-feature-end .ico { display: inline-block; margin-left: 6px; vertical-align: -2px; }
.cx-rec .cx-rec-mark { margin: 0 0 18px; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; }
/* Logo. The file is a transparent PNG, so it sits directly on the card with no tile, left aligned with the
   title block. Width and height attributes reserve its space (3.75 ratio), so nothing shifts while it loads. */
.cx-rec .cx-rec-logo { display: block; margin: 0 0 28px; padding: 0; border: 0; border-radius: 0; background: none; }
.cx-rec .cx-rec-logo img { display: block; width: 165px; height: auto; max-width: 100%; }
.cx-rec .cx-rec-tm { margin: 10px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* Optional embedded post. Collapsed by default; the control only shows once its script runs, and the
   iframe is created on the click, so nothing contacts the other site before then. */
.cx-rec .cx-rec-embed-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.cx-rec .cx-rec-embed-ctl[hidden], .cx-rec .cx-rec-embed[hidden] { display: none; }
.cx-rec .cx-rec-embed-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border: 1px solid #b9cbe6; border-radius: 12px; background: #fff; color: var(--accent); font-family: var(--f-mono); font-size: 14.5px; font-weight: 600; letter-spacing: 0; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.cx-rec .cx-rec-embed-btn:hover { border-color: var(--accent); color: var(--accent-d); }
.cx-rec .cx-rec-embed-btn::after { content: ""; flex: none; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.cx-rec .cx-rec-embed-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.cx-rec .cx-rec-embed-note { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.cx-rec .cx-rec-embed-ctl.is-open .cx-rec-embed-note { display: none; }
.cx-rec .cx-rec-embed { grid-column: 1 / -1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; container-type: inline-size; padding: 32px 56px 40px; border-top: 1px solid var(--line); opacity: 0; transition: opacity .3s ease; }
.cx-rec .cx-rec-embed.is-in { opacity: 1; }
/* The frame is as tall as the post, so it never needs its own scrollbar. The post is about 1050 px tall at
   560 px wide and grows as the frame narrows (about 0.94 px per px of width below 520), so the height follows the width. */
.cx-rec .cx-rec-embed iframe { position: relative; display: block; width: 100%; max-width: 560px; height: 1080px; height: calc(1067px + .94 * max(0px, 520px - min(560px, 100cqw))); border: 0; border-radius: 12px; }
.cx-rec .cx-rec-embed-wait { position: absolute; left: 0; right: 0; top: 96px; padding: 0 24px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .cx-rec .cx-rec-embed { transition: none; }
  .cx-rec .cx-rec-embed-btn::after { transition: none; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .cx-rec .cx-rec-grid.is-one .cx-rec-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .cx-rec .cx-rec-grid.is-one .cx-rec-hd, .cx-rec .cx-rec-grid.is-one .cx-rec-tx { padding: 44px 40px; }
  .cx-rec .cx-rec-card .cx-rec-tx > p { font-size: 17px; }
  .cx-rec .cx-rec-embed { padding: 28px 40px 36px; }
}
@media (max-width: 900px) {
  .cx-rec { padding: 56px 0; }
  .cx-rec .cx-rec-embed { padding: 24px 22px 28px; }
  .cx-rec .cx-rec-grid.is-one .cx-rec-card { grid-template-columns: minmax(0, 1fr); }
  .cx-rec .cx-rec-grid.is-one .cx-rec-hd { padding: 32px 28px 26px; }
  .cx-rec .cx-rec-grid.is-one .cx-rec-tx { padding: 24px 28px 32px; border-left: 0; border-top: 1px solid var(--line); }
  .cx-rec .cx-rec-card .cx-rec-tx > p { font-size: 17px; }
}
@media (max-width: 640px) {
  .cx-rec { padding: 48px 0; }
  .cx-rec .cx-rec-logo { margin-bottom: 22px; }
  .cx-rec .cx-rec-logo img { width: 120px; }
  .cx-rec .cx-rec-card .cx-feature-link { min-height: 44px; margin-top: 8px; }
  .cx-rec .cx-rec-embed-ctl { margin-top: 8px; }
  .cx-rec .cx-rec-embed-btn { height: 44px; }
  .cx-rec .cx-rec-grid.is-one .cx-rec-hd { padding: 28px 22px 22px; }
  .cx-rec .cx-rec-grid.is-one .cx-rec-tx { padding: 22px 22px 28px; }
  .cx-rec .cx-rec-card { padding: 28px 22px; }
}

/* ---------- Preview label ----------
   Voice AI is always shown with this label. One quiet brand blue pill in the FAQ and the footer. */
.cx-faq-list .cx-pill, .cx-foot .cx-pill { height: 22px; padding: 0 9px; font-size: 13px; letter-spacing: 0; }
.cx-faq-list .cx-pill { margin: 0 2px; }

/* ---------- FAQ ----------
   Six questions. The question is ink, the answer is dark gray. */
.cx-faq { padding: 96px 0 104px; }
.cx-faq-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
.cx-faq-more { margin-top: 24px; font-size: 16px; line-height: 1.6; color: var(--text); }
.cx-faq-more a, .cx-faq-list details p a { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(18, 87, 176, .35); text-underline-offset: 3px; transition: text-decoration-color .15s ease; }
.cx-faq-more a:hover, .cx-faq-list details p a:hover { text-decoration-color: var(--accent); }
.cx-faq-list { border-top: 1px solid var(--line); }
.cx-faq-list details { border-bottom: 1px solid var(--line); }
.cx-faq-list summary { gap: 24px; min-height: 44px; padding: 22px 0; font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -.015em; color: var(--ink); transition: color .15s ease; }
.cx-faq-list summary:hover { color: var(--accent); }
.cx-faq-list summary::after { transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease), border-color .15s ease; }
.cx-faq-list details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.cx-faq-list summary:hover::after, .cx-faq-list details[open] summary::after { border-color: var(--accent); }
.cx-faq-list details p { max-width: 58ch; padding: 0 56px 26px 0; font-size: 16px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
@keyframes cx-faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cx-faq-list details[open] > p { animation: cx-faq-open .28s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .cx-faq-list details[open] > p { animation: none; }
  .cx-faq-list summary::after { transition: none; }
}
@media (max-width: 960px) {
  .cx-faq { padding: 80px 0; }
  .cx-faq-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cx-faq-more { margin-top: 16px; }
}
@media (max-width: 640px) {
  .cx-faq { padding: 56px 0; }
  .cx-faq-list summary { padding: 20px 0; font-size: 17px; }
  .cx-faq-list details p { padding: 0 0 24px; }
}

/* ---------- Closing call to action ----------
   A heading and two buttons on the blue card. */
.cx-close { padding: 0 0 96px; }
.cx-close-card { padding: 80px 48px; border-radius: 32px; }
body.pub-marketing.cx-page .cx-close-card h2 { font-size: clamp(36px, 4.4vw, 60px); }
/* Keep the accent phrase together on one line where it fits, so the headline breaks after "team". */
@media (min-width: 481px) { body.pub-marketing.cx-page .cx-close-card h2 em { white-space: nowrap; } }
/* On phones the size follows the width so the accent phrase still fits on one line. */
@media (min-width: 340px) and (max-width: 480px) {
  body.pub-marketing.cx-page .cx-close-card h2 { font-size: clamp(30px, 8.4vw, 38px); }
  body.pub-marketing.cx-page .cx-close-card h2 em { white-space: nowrap; }
}
.cx-close-card .cx-close-cta { margin-top: 36px; }
/* The page wide focus ring is brand blue, the same colour as this card, so it needs the higher specificity to turn white here. */
body.cx-page .cx-close-card :focus-visible { outline-color: #fff; }
@media (max-width: 640px) {
  .cx-close { padding: 0 0 64px; }
  .cx-close-card { padding: 56px 22px 48px; border-radius: 24px; }
  .cx-close-card .cx-close-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 32px; }
  .cx-close-card .cx-cta { justify-content: center; }
}

/* ---------- Footer ----------
   The logo, three short link columns, one disclaimer line and the copyright.
   Links are dark gray, the column titles, the disclaimer and the copyright are light gray. */
.cx-foot { padding: 64px 0 32px; }
.cx-foot-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.cx-foot-h { margin: 0 0 16px; font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.cx-foot li + li { margin-top: 12px; }
.cx-foot li a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; white-space: nowrap; font-size: 15px; color: var(--text); transition: color .15s ease; }
.cx-foot li a:hover { color: var(--accent); }
.cx-foot .cx-foot-legal { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.6; color: var(--muted); }
/* Above phone width the line breaks between sentences, so a sentence never splits across two lines. */
@media (min-width: 641px) { .cx-foot .cx-foot-legal span { display: inline-block; max-width: 100%; } }
.cx-foot-bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.cx-foot-bar p { margin: 0; }
.cx-foot-links { display: flex; gap: 20px; }
.cx-foot-links a { color: var(--muted); transition: color .15s ease; }
.cx-foot-links a:hover { color: var(--accent); }
@media (max-width: 960px) {
  .cx-foot { padding: 56px 0 28px; }
  .cx-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
  .cx-foot-brand { grid-column: 1 / -1; }
}
/* Touch devices at any width get 44 px targets in the footer and the recognition card. */
@media (pointer: coarse) {
  .cx-foot li + li { margin-top: 0; }
  .cx-foot li a, .cx-foot-links a { min-height: 44px; min-width: 44px; }
  .cx-foot-links a { display: inline-flex; align-items: center; }
  .cx-foot-brand .cx-brand { min-height: 44px; }
  .cx-rec .cx-rec-card .cx-feature-link { min-height: 44px; }
  .cx-rec .cx-rec-embed-btn { height: 44px; }
}
@media (max-width: 640px) {
  .cx-foot-brand .cx-brand { min-height: 44px; }
  .cx-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .cx-foot-grid > .cx-foot-col:last-child { grid-column: 1 / -1; }
  .cx-foot-grid > .cx-foot-col:last-child ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .cx-foot li + li { margin-top: 0; }
  .cx-foot li a { min-height: 44px; }
  .cx-foot .cx-foot-legal { margin-top: 28px; }
  .cx-foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
}


/* Touch: legal links are full size targets */
@media (pointer: coarse) { .cx-foot-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; } }
