/* ============================================================================
   StaffCircle — ROI calculator CTA component
   ----------------------------------------------------------------------------
   One shared stylesheet for the secondary "calculate your ROI" placements that
   point at /roi/. Loaded AFTER each page's inline <style> (same pattern as
   /assets/mobile.css) so it wins the cascade without touching page CSS.

   Why a shared file: every page on this site carries its own inline <style>
   and the only button classes they all define are .btn-pink (primary) and
   .btn-yellow. There is no site-wide secondary/outline button to reuse, so it
   lives here once rather than being copy-pasted into nine pages. Nothing here
   restyles an existing class — every selector is roi- prefixed.

   Brand: navy #0C1C4D, pink #F80168, cyan #3CC3F4 / #1E9ED0 (accessible on
   white), Lato for the emphasis, Poppins for body. Buttons are outline-only so
   they never compete with the primary demo CTA on the same page.

   Companion: /assets/roi-cta.js (click tracking).
   ========================================================================== */

/* The `hidden` attribute must beat the display rules below (used on /pricing/,
   where the band only appears once the calculator has produced an estimate). */
[hidden].roi-band, [hidden].roi-link-wrap { display: none !important; }

/* ==========================================================================
   1. BAND — centred single line + outline button (pricing, product, partners)
   ========================================================================== */
.roi-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 34px 0 6px;
}
.roi-band-line {
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--grey, #5A6480);
  max-width: 680px;
  margin: 0;
}
/* Tucked under an existing CTA (tour closing block, gated-content thank-you):
   tighter, with a hairline rule to mark it as the secondary path. */
.roi-band.roi-band-tight {
  padding: 20px 0 0;
  margin-top: 20px;
  gap: 13px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.roi-band.roi-band-tight .roi-band-line { font-size: 14px; }

.roi-band-line b,
.roi-callout-line b {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  color: var(--navy, #0C1C4D);
}

/* ==========================================================================
   2. BUTTON — secondary / outline. Deliberately quieter than .btn-pink and
      .btn-yellow: no fill, no drop shadow.

      Selectors are written as `a.roi-btn` (0,1,1) on purpose: long-form pages
      style every in-body link with `.article-body a { color: pink; border-
      bottom: ... }`, which would otherwise outrank a bare `.roi-btn`. Equal
      specificity + this sheet loading last means the button wins.
   ========================================================================== */
a.roi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1;
  color: var(--navy, #0C1C4D);
  background: transparent;
  border: 1.5px solid var(--navy, #0C1C4D);
  border-radius: 999px;
  padding: 13px 28px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}
a.roi-btn:hover {
  background: var(--navy, #0C1C4D);
  color: #fff;
  transform: translateY(-1px);
}
a.roi-btn:focus-visible {
  outline: 3px solid var(--cyan, #3CC3F4);
  outline-offset: 2px;
}

/* On navy / gradient surfaces (tour closing CTA, gated-content thank-you). */
.roi-on-dark a.roi-btn,
a.roi-btn.roi-on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}
.roi-on-dark a.roi-btn:hover,
a.roi-btn.roi-on-dark:hover {
  background: #fff;
  color: var(--navy, #0C1C4D);
  border-color: #fff;
}
.roi-on-dark .roi-band-line,
.roi-on-dark .roi-callout-line {
  color: rgba(255, 255, 255, .86);
}
.roi-on-dark .roi-band-line b,
.roi-on-dark .roi-callout-line b { color: #fff; }

/* ==========================================================================
   3. TEXT LINK — homepage stats band. No button, no card, standard cyan.
   ========================================================================== */
.roi-link-wrap {
  text-align: center;
  margin-top: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--grey, #5A6480);
}
a.roi-link {
  color: var(--cyan-d, #1E9ED0);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 158, 208, .35);
  padding-bottom: 1px;
  white-space: nowrap;
}
a.roi-link:hover {
  color: var(--pink, #F80168);
  border-bottom-color: rgba(248, 1, 104, .4);
}

/* ==========================================================================
   4. CALLOUT — inline block for long-form articles. Mirrors the left-rule
      treatment of .article-body blockquote so it reads as part of the page.
   ========================================================================== */
.roi-callout {
  margin: 30px 0;
  padding: 22px 26px;
  background: var(--soft, #F4F6FB);
  border-left: 4px solid var(--pink, #F80168);
  border-radius: 0 12px 12px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.roi-callout-line {
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--grey, #5A6480);
  margin: 0;
}

/* ==========================================================================
   5. OPTION ROW — /book-web-demo/ "explore other options" panel. Keeps that
      component's row + arrow pattern, laid out horizontally so it can sit
      full width above the two existing illustrated cards.
   ========================================================================== */
a.roi-opt {
  display: flex;
  color: var(--navy, #0C1C4D);
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line, #E7EBF3);
  border-radius: 14px;
  background: #fff;
  padding: 13px 14px;
  margin-bottom: 14px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(12, 28, 77, .06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.roi-opt:hover {
  transform: translateY(-2px);
  border-color: var(--pink, #F80168);
  box-shadow: 0 12px 26px rgba(12, 28, 77, .1);
}
.roi-opt-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3CC3F4, #9A62AC);
}
.roi-opt-ico svg { width: 20px; height: 20px; display: block; }
.roi-opt-copy { flex: 1 1 auto; min-width: 0; }
.roi-opt-title {
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--navy, #0C1C4D);
}
.roi-opt-copy p {
  font-size: 11.5px;
  color: var(--grey, #5A6480);
  line-height: 1.5;
  margin: 3px 0 0;
}
.roi-opt-arrow {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink, #F80168);
  color: #fff;
}
.roi-opt-arrow svg { width: 12px; height: 12px; display: block; }

/* ==========================================================================
   6. PHONES — single column, nothing wider than the viewport
   ========================================================================== */
@media (max-width: 900px) {
  .roi-band { padding: 26px 0 4px; gap: 14px; }
  .roi-band-line,
  .roi-callout-line,
  .roi-link-wrap { font-size: 14.5px; }
  a.roi-btn {
    width: 100%;
    max-width: 340px;
    padding: 14px 20px;
    text-align: center;
  }
  .roi-callout { margin: 24px 0; padding: 18px 18px; }
  .roi-callout a.roi-btn { max-width: 100%; }
  a.roi-link { white-space: normal; }
  a.roi-opt { padding: 12px; gap: 11px; }
  .roi-opt-ico { width: 36px; height: 36px; }
}
