/* ibv5 theme styles — global components (header, nav, footer).
   Ported from the Claude Design export (Nav.jsx, Sections2.jsx Footer). */

/* ---------- Layout helpers ---------- */
.site-main { display: block; }

/* ========================================================================
   HEADER / NAV
   ======================================================================== */
.ib-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 200ms cubic-bezier(0.3, 0.6, 0, 1);
}
.ib-nav.is-scrolled {
  border-bottom-color: #E8EAED;
  box-shadow: 0 1px 0 rgba(48, 60, 70, 0.04), 0 8px 24px rgba(48, 60, 70, 0.04);
}
.ib-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.ib-nav__logo { display: flex; align-items: center; gap: 10px; }
.ib-nav__logo img { height: 44px; width: auto; position: relative; top: -5px; }

.ib-nav__menu { display: flex; align-items: center; gap: 4px; }

.ib-nav__link {
  color: #303C46;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 150ms;
  cursor: pointer;
}
.ib-nav__link:hover { background: #F4F6F8; text-decoration: none; }
.ib-nav__link.is-accent { color: #1A6725; font-weight: 600; }
.ib-nav__link-ai { font-size: 11px; margin-right: 2px; color: #7AC244; }
.ib-nav__chev { font-size: 9px; opacity: 0.5; transition: transform 200ms; }

.ib-nav__actions { display: flex; align-items: center; gap: 12px; }
.ib-nav__login { padding: 8px 12px; }
.ib-nav__burger {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: #303C46; padding: 8px;
}

/* ---------- Mega menu (CSS hover, JS-enhanced) ---------- */
.ib-nav__item { position: relative; }
.ib-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 200ms cubic-bezier(0.3, 0.6, 0, 1);
  z-index: 110;
}
/* hover bridge so the menu doesn't close in the 8px gap */
.ib-mega::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.ib-nav__item:hover .ib-mega,
.ib-nav__item:focus-within .ib-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ib-nav__item:hover .ib-nav__link,
.ib-nav__item:focus-within .ib-nav__link { background: #F4F6F8; }
.ib-nav__item:hover .ib-nav__chev { transform: rotate(180deg); }

.ib-mega__inner {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(48, 60, 70, 0.06), 0 16px 48px rgba(48, 60, 70, 0.10);
  border: 1px solid #ECEFF2;
  padding: 20px;
  display: grid;
  gap: 8px;
  min-width: 520px;
}
.ib-mega--wide .ib-mega__inner { min-width: 720px; }
.ib-mega__col { padding: 8px; }
.ib-mega__heading {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: #9CA8B4; font-weight: 600; margin-bottom: 8px; padding-left: 12px;
}
.ib-mega__link {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: #303C46;
  transition: background 120ms;
}
.ib-mega__link:hover { background: #F4F6F8; text-decoration: none; }
.ib-mega__icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: #F0F1F3;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ib-mega__icon i { font-size: 13px; color: #5A6772; }
.ib-mega__icon.is-ai { background: linear-gradient(135deg, #7BC14D, #48C8F0); }
.ib-mega__icon.is-workstreams { background: linear-gradient(135deg, #9B59B6, #522D62); }
.ib-mega__icon.is-academy { background: linear-gradient(135deg, #D8B227, #987D1C); }
.ib-mega__icon.is-platform { background: linear-gradient(135deg, #1C61A5, #48C8F0); }
.ib-mega__icon.is-ai i,
.ib-mega__icon.is-workstreams i,
.ib-mega__icon.is-academy i { color: #fff; }
.ib-mega__icon-logo { width: 15px; height: auto; filter: brightness(0) invert(1); }
.ib-mega__body { flex: 1; min-width: 0; }
.ib-mega__label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.ib-mega__badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.04em;
  padding: 2px 6px; border-radius: 4px; text-transform: uppercase;
  background: #FFCB6B; color: #4A3203;
}
.ib-mega__badge.is-ai { background: linear-gradient(135deg, #7BC14D, #48C8F0); color: #fff; }
.ib-mega__desc { font-size: 12px; color: #656F7D; margin-top: 2px; line-height: 1.4; display: block; }

/* ---------- Mobile menu (addition; export is desktop-only) ---------- */
.ib-mobile {
  border-top: 1px solid #E8EAED;
  background: #fff;
  padding: 8px 20px 28px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ib-mobile .ib-grid { display: block; }
.ib-mobile__group { border-bottom: 1px solid #F0F1F3; }
/* Top-level rows: ≥52px tap target, flex so the chevron sits at the end. */
.ib-mobile__group > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 6px 4px;
  font-weight: 600; font-size: 16px; color: #1B2530;
  -webkit-tap-highlight-color: transparent;
}
.ib-mobile__group > summary::-webkit-details-marker { display: none; }
.ib-mobile__group > summary::after {
  content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 12px; color: #9CA8B4; flex-shrink: 0;
  transition: transform 240ms cubic-bezier(0.3, 0.6, 0, 1);
}
.ib-mobile__group[open] > summary::after { transform: rotate(180deg); }
/* Submenu — height animated by main.js for a smooth slide-down. */
.ib-mobile__sub { overflow: hidden; transition: height 260ms cubic-bezier(0.3, 0.6, 0, 1); }
.ib-mobile__sub a {
  display: flex; align-items: center; min-height: 44px;
  padding: 4px 12px 4px 14px; border-radius: 8px;
  color: #4A5662; text-decoration: none; font-size: 14.5px;
}
.ib-mobile__sub a:active { background: #F4F6F8; }
.ib-mobile__sub a:last-child { margin-bottom: 6px; }
/* Solo top-level links (e.g. Pricing): ≥52px tap target. */
.ib-mobile__solo {
  display: flex; align-items: center; min-height: 52px; padding: 6px 4px;
  font-weight: 600; font-size: 16px; color: #1B2530; text-decoration: none;
  border-bottom: 1px solid #F0F1F3;
}
.ib-mobile__actions { display: grid; gap: 12px; margin-top: 22px; }
.ib-mobile__actions .ib-btn { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; }
/* Login: centered, full-width tap target, no divider (it's the last item). */
.ib-mobile__actions .ib-mobile__solo { justify-content: center; border-bottom: none; min-height: 44px; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) {
  .ib-mobile__sub, .ib-mobile__group > summary::after { transition: none; }
}

@media (max-width: 1024px) {
  .ib-nav__menu, .ib-nav__actions { display: none; }
  .ib-nav__burger { display: inline-flex; }
}
@media (min-width: 1025px) {
  .ib-mobile { display: none !important; }
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.ib-footer { background: #0F1A22; color: #B6C2CD; padding: 80px 0 60px; }
.ib-footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(6, 1fr);
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ib-footer__logo { height: 32px; margin-bottom: 24px; filter: brightness(0) invert(1); }
.ib-footer__tagline { font-size: 13.5px; line-height: 1.6; color: #9CA8B4; margin: 0 0 20px; }
.ib-footer__social { display: flex; gap: 8px; }
.ib-footer__social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-size: 14px;
}
.ib-footer__social-link.is-primary { background: #1A6725; }
.ib-footer__col-title { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 16px; letter-spacing: 0.02em; }
.ib-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ib-footer__links a { font-size: 13.5px; color: #9CA8B4; text-decoration: none; }
.ib-footer__links a:hover { color: #fff; text-decoration: none; }
.ib-footer__bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: #7A858E;
}
.ib-footer__region { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 1024px) {
  .ib-footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .ib-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ib-footer__top { grid-template-columns: 1fr 1fr; }
  .ib-footer { padding: 56px 0 40px; }
}

/* ---------- Audience selector tabs (AudienceSelector toggle) ---------- */
.ib-aud-tab {
  flex: 1; padding: 14px 16px; border-radius: 12px; border: none; cursor: pointer;
  background: transparent; box-shadow: none;
  font-size: 14px; font-weight: 600; color: #656F7D; font-family: inherit;
  transition: all 200ms; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.ib-aud-tab i { color: #9CA8B4; font-size: 14px; }
.ib-aud-tab.is-active { background: #fff; box-shadow: 0 2px 6px rgba(48,60,70,0.08); color: #303C46; }
.ib-aud-tab.is-active i { color: var(--aud); }
.ib-aud-panel {
  margin-top: 48px; background: linear-gradient(135deg, #FBFCFD 0%, #F4F8FB 100%);
  border: 1px solid #E8EAED; border-radius: 24px; padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  animation: ib-fade-up 400ms cubic-bezier(0.3,0.6,0,1);
}
@media (max-width: 860px) {
  .ib-aud-tabs { flex-wrap: wrap; }
  .ib-aud-tab { flex: 1 1 45%; }
  .ib-aud-panel { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
}

/* ---------- Report Builder sample-gallery tabs (SampleGallery toggle) ---------- */
.ib-rb-tab {
  padding: 10px 20px; border-radius: 999px; border: 1px solid #E8EAED;
  background: #fff; color: #303C46; font-family: inherit; font-weight: 600;
  font-size: 14px; cursor: pointer; transition: all 200ms;
}
.ib-rb-tab.is-active { border-color: #1A6725; background: #1A6725; color: #fff; }
.ib-rb-panel {
  max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid #E8EAED;
  border-radius: 22px; padding: 32px; display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 32px; align-items: stretch; animation: ib-fade-up 350ms cubic-bezier(0.3,0.6,0,1);
}
@media (max-width: 760px) { .ib-rb-panel { grid-template-columns: 1fr; } }

/* ========================================================================
   LEGAL DOCUMENTS — Terms design (.ib-terms / .tp-*), ported from TermsPage.jsx
   ======================================================================== */
.ib-terms { background: #fff; }
.ib-terms .tp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.ib-terms .tp-header { background: linear-gradient(180deg, #FBFCFD 0%, #F4F6F8 100%); border-bottom: 1px solid #ECEFF2; padding: 40px 0 48px; }
.ib-terms .tp-breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #8A95A1; margin-bottom: 26px; flex-wrap: wrap; }
.ib-terms .tp-breadcrumb a { color: #5A6772; text-decoration: none; }
.ib-terms .tp-breadcrumb a:hover { color: #1A6725; text-decoration: underline; }
.ib-terms .tp-breadcrumb span[aria-current] { color: #1B2530; font-weight: 600; }
.ib-terms .tp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #1A6725; margin-bottom: 12px; }
.ib-terms .tp-h1 { font-size: 52px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; color: #1B2530; margin: 0 0 18px; }
.ib-terms .tp-lede { font-size: 19px; line-height: 1.6; color: #4A5662; max-width: 720px; margin: 0 0 32px; }
.ib-terms .tp-meta { display: grid; grid-template-columns: repeat(4, auto); gap: 14px 48px; margin: 0; padding: 22px 0 0; border-top: 1px solid #E3E7EB; justify-content: start; }
.ib-terms .tp-meta-item dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA8B4; margin-bottom: 5px; }
.ib-terms .tp-meta-item dd { margin: 0; font-size: 15px; font-weight: 600; color: #303C46; }
.ib-terms .tp-notice { display: flex; gap: 16px; margin: 32px 0 0; background: #F0F7EC; border: 1px solid #D5E8C8; border-radius: 14px; padding: 20px 24px; color: #2C3B27; }
.ib-terms .tp-notice-icon { color: #1A6725; font-size: 20px; flex-shrink: 0; line-height: 1.5; }
.ib-terms .tp-notice p { font-size: 15px; line-height: 1.6; }
.ib-terms .tp-notice a { color: #1A6725; font-weight: 600; text-decoration: underline; }
.ib-terms .tp-body-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
.ib-terms .tp-body-grid--notoc { grid-template-columns: minmax(0, 1fr); }
.ib-terms .tp-body-grid--notoc .tp-article { max-width: 820px; margin: 0 auto; }
.ib-terms .tp-article { max-width: 820px; }
.ib-terms .tp-toc-col { position: sticky; top: 88px; }
.ib-terms .tp-toc-mobile { display: none; }
.ib-terms .tp-toc-title { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA8B4; margin-bottom: 14px; padding-left: 14px; }
.ib-terms .tp-toc-list { list-style: none; margin: 0; padding: 0; }
.ib-terms .tp-toc-list li { margin: 0; }
.ib-terms .tp-toc-list a { display: flex; gap: 10px; align-items: baseline; padding: 7px 14px; border-radius: 8px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: #5A6772; text-decoration: none; transition: background 120ms, color 120ms, border-color 120ms; }
.ib-terms .tp-toc-list a:hover { background: #F4F6F8; color: #1B2530; text-decoration: none; }
.ib-terms .tp-toc-list a.is-active { color: #1A6725; font-weight: 600; background: #F0F7EC; border-left-color: #1A6725; }
.ib-terms .tp-toc-n { font-variant-numeric: tabular-nums; color: #9CA8B4; font-weight: 600; min-width: 16px; text-align: right; flex-shrink: 0; }
.ib-terms .tp-toc-list a.is-active .tp-toc-n { color: #1A6725; }
/* Legal body (heading-based content; numbers live in the heading text) */
.ib-terms .legal-body { color: #2D3742; font-size: 16px; line-height: 1.7; }
.ib-terms .legal-body h2 { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: #1B2530; margin: 52px 0 22px; padding-bottom: 14px; border-bottom: 1px solid #E8EAED; scroll-margin-top: 92px; }
.ib-terms .legal-body > h2:first-child, .ib-terms .legal-body > *:first-child { margin-top: 0; }
.ib-terms .legal-body h3 { font-size: 18px; font-weight: 700; color: #1B2530; margin: 28px 0 12px; scroll-margin-top: 92px; }
.ib-terms .legal-body h4 { font-size: 16px; font-weight: 700; color: #1B2530; margin: 20px 0 10px; }
.ib-terms .legal-body p { margin: 0 0 16px; }
.ib-terms .legal-body a { color: #1A6725; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.ib-terms .legal-body a:hover { color: #14501D; }
.ib-terms .legal-body strong { font-weight: 700; color: #1B2530; }
/* headings-mode lists (e.g. Workstreams Terms) */
.ib-terms .legal-body--headings ul, .ib-terms .legal-body--headings ol { margin: 12px 0; padding-left: 1.5em; }
.ib-terms .legal-body--headings ul { list-style: disc; }
.ib-terms .legal-body--headings li { margin: 0 0 8px; }
/* numbered-mode: design <ol><li><strong class="heading"> clause structure (e.g. /terms/) */
.ib-terms .legal-body--numbered ol { list-style: none; counter-reset: item; margin: 0; padding: 0; }
.ib-terms .legal-body--numbered ol > li { counter-increment: item; }
.ib-terms .legal-body--numbered > ol > li { margin: 0 0 52px; scroll-margin-top: 92px; }
.ib-terms .legal-body--numbered > ol > li > strong.heading { display: block; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: #1B2530; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid #E8EAED; }
.ib-terms .legal-body--numbered > ol > li > strong.heading::before { content: counter(item) ".\00a0\00a0"; color: #1A6725; font-weight: 700; }
.ib-terms .legal-body--numbered ol ol { margin-top: 16px; }
.ib-terms .legal-body--numbered ol ol > li { position: relative; padding-left: 3.6em; margin: 0 0 15px; line-height: 1.7; }
.ib-terms .legal-body--numbered ol ol > li::before { content: counters(item, "."); position: absolute; left: 0; top: 0; color: #1A6725; font-weight: 600; font-variant-numeric: tabular-nums; }
.ib-terms .legal-body--numbered ol ol ol > li { padding-left: 4.4em; }
.ib-terms .legal-body--numbered ul { list-style: disc; margin: 12px 0; padding-left: 1.3em; }
.ib-terms .legal-body--numbered ul li { margin: 0 0 8px; }
.ib-terms .legal-body--numbered .block { background: #FBFCFD; border: 1px solid #E8EAED; border-radius: 14px; padding: 20px 24px; margin: 24px 0 0; }
.ib-terms .legal-body--numbered .block p { margin: 0 0 12px; font-size: 15px; }
.ib-terms .legal-body ul li::marker { color: #9CA8B4; }
.ib-terms .tp-section-h { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: #1B2530; margin: 0 0 8px; }
.ib-terms .tp-section-sub { font-size: 16px; color: #656F7D; margin: 0 0 32px; }
.ib-terms .tp-related { background: #F9FAFB; border-top: 1px solid #ECEFF2; padding: 72px 0; }
.ib-terms .tp-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ib-terms .tp-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #E8EAED; border-radius: 16px; padding: 24px; text-decoration: none; transition: border-color 150ms, box-shadow 150ms, transform 150ms; }
.ib-terms .tp-card:hover { border-color: #C7DBB6; box-shadow: 0 8px 24px rgba(48,60,70,0.07); transform: translateY(-2px); text-decoration: none; }
.ib-terms .tp-card-icon { width: 44px; height: 44px; border-radius: 11px; background: #E8F0EA; display: inline-flex; align-items: center; justify-content: center; color: #1A6725; font-size: 18px; margin-bottom: 6px; }
.ib-terms .tp-card-title { font-size: 16px; font-weight: 700; color: #1B2530; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ib-terms .tp-card-arrow { font-size: 12px; color: #9CA8B4; transition: transform 150ms, color 150ms; }
.ib-terms .tp-card:hover .tp-card-arrow { color: #1A6725; transform: translateX(3px); }
.ib-terms .tp-card-desc { font-size: 13.5px; line-height: 1.55; color: #656F7D; }
.ib-terms .tp-contact { background: #fff; padding: 0 0 88px; }
.ib-terms .tp-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; background: linear-gradient(120deg, #F0F7EC 0%, #F4F8FB 100%); border: 1px solid #DDEBD2; border-radius: 22px; padding: 40px 44px; }
.ib-terms .tp-address { font-style: normal; font-size: 15px; line-height: 1.6; color: #3A4550; margin: 18px 0 16px; }
.ib-terms .tp-address strong { color: #1B2530; }
.ib-terms .tp-contact-lines { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.ib-terms .tp-contact-lines a { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: #1A6725; text-decoration: none; }
.ib-terms .tp-contact-lines a:hover { text-decoration: underline; }
.ib-terms .tp-contact-lines i { color: #5A8C47; font-size: 14px; }
.ib-terms .tp-contact-cta { flex-shrink: 0; }
@media (max-width: 940px) {
  .ib-terms .tp-body-grid { grid-template-columns: 1fr; gap: 0; }
  .ib-terms .tp-toc-col { position: static; margin-bottom: 28px; }
  .ib-terms .tp-toc-desktop { display: none; }
  .ib-terms .tp-toc-mobile { display: block; }
  .ib-terms .tp-toc-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #E0E4E8; border-radius: 12px; padding: 15px 18px; font-size: 15px; font-weight: 600; color: #1B2530; cursor: pointer; font-family: inherit; }
  .ib-terms .tp-toc-mobile .tp-toc-list { margin: 8px 0 0; padding: 8px; background: #fff; border: 1px solid #ECEFF2; border-radius: 12px; }
  .ib-terms .tp-meta { grid-template-columns: repeat(2, auto); gap: 18px 36px; }
  .ib-terms .tp-card-grid { grid-template-columns: 1fr 1fr; }
  .ib-terms .tp-article { max-width: 100%; }
}
@media (max-width: 600px) {
  .ib-terms .tp-wrap { padding: 0 20px; }
  .ib-terms .tp-h1 { font-size: 38px; }
  .ib-terms .tp-lede { font-size: 17px; }
  .ib-terms .tp-meta { grid-template-columns: 1fr; gap: 16px; }
  .ib-terms .tp-card-grid { grid-template-columns: 1fr; }
  .ib-terms .legal-body h2 { font-size: 21px; }
  .ib-terms .tp-contact-panel { padding: 28px 24px; }
  .ib-terms .tp-contact-cta { width: 100%; justify-content: center; }
}

/* Full platform capabilities accordion (platform.php) — open-state overrides */
.ib-fpc-item.is-open { border-color: #7BC14D; }
.ib-fpc-item.is-open .ib-fpc-ico { background: #1A6725; color: #fff; }

/* Platform sticky section jump-bar (platform.php PlatformSectionNav) */
.ib-pnav-bar { scrollbar-width: none; -ms-overflow-style: none; }
.ib-pnav-bar::-webkit-scrollbar { display: none; }
.ib-pnav-chip {
  flex-shrink: 0; border: none; background: transparent; cursor: pointer;
  padding: 16px 14px; font-size: 13.5px; font-weight: 500; font-family: inherit;
  color: #656F7D; border-bottom: 2px solid transparent;
  transition: color 150ms; white-space: nowrap;
}
.ib-pnav-chip:hover { color: #1A6725; }
.ib-pnav-chip.is-active { color: #1A6725; font-weight: 700; border-bottom-color: #7BC14D; }

/* Breadcrumbs (inc/seo-schema.php ibv5_breadcrumbs) */
.ib-crumbs { background: #fff; border-bottom: 1px solid #F0F2F4; font-size: 13px; }
.ib-crumbs ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ib-crumbs li { display: inline-flex; align-items: center; gap: 6px; color: #656F7D; }
.ib-crumbs li:not(:last-child)::after { content: "/"; color: #C2C9D1; margin-left: 6px; }
.ib-crumbs a { color: #1A6725; text-decoration: none; font-weight: 600; }
.ib-crumbs a:hover { text-decoration: underline; }
.ib-crumbs [aria-current="page"] { color: #656F7D; }

/* Visible keyboard focus states site-wide (WCAG 2.2 — audit spec §3.5/§3.11) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.ib-faq-q:focus-visible, .ib-pnav-chip:focus-visible {
  outline: 2px solid #1A6725; outline-offset: 2px; border-radius: 3px;
}

/* Contact Form 7 forms styled to match the design (.ib-cf7 wrapper) */
form.ib-cf7 { display: grid; gap: 13px; }
.ib-cf7 .ib-field,
.ib-cf7 input[type="text"], .ib-cf7 input[type="email"], .ib-cf7 input[type="tel"],
.ib-cf7 input[type="url"], .ib-cf7 input[type="date"], .ib-cf7 input[type="number"],
.ib-cf7 select, .ib-cf7 textarea {
  width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid #E8EAED;
  font-family: inherit; font-size: 13.5px; color: #1B2530; background: #fff;
  outline: none; box-sizing: border-box;
}
.ib-cf7 select { color: #303C46; cursor: pointer; }
.ib-cf7 textarea { resize: vertical; }
.ib-cf7 .ib-field:focus, .ib-cf7 input:focus, .ib-cf7 select:focus, .ib-cf7 textarea:focus {
  border-color: #7BC14D; box-shadow: 0 0 0 3px rgba(123,193,77,0.15);
}
.ib-cf7 .ib-flabel { display: block; font-size: 12.5px; font-weight: 600; color: #303C46; margin-bottom: 6px; }
.ib-cf7 .ib-frow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.ib-cf7 .ib-req { color: #C0392B; margin-left: 3px; }
/* Pill-style radio/checkbox groups (applicant type / referral methods / report types) */
.ib-cf7 .ib-pills .wpcf7-list-item { margin: 0; }
.ib-cf7 .ib-pills .wpcf7-list-item-label,
.ib-cf7 .ib-pills label { font-size: 12.5px; font-weight: 600; color: #4A5662; }
.ib-cf7 .ib-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ib-cf7 .ib-pills .wpcf7-list-item label,
.ib-cf7 .ib-pills .wpcf7-list-item > label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; border: 1px solid #E8EAED; background: #fff; cursor: pointer; }
.ib-cf7 .wpcf7-list-item input { accent-color: #1A6725; }
.ib-cf7 .wpcf7-acceptance .wpcf7-list-item-label { font-size: 11.5px; color: #656F7D; line-height: 1.4; font-weight: 400; }
.ib-cf7 .wpcf7-submit { background: #1A6725; margin-top: 4px; cursor: pointer; }
.ib-cf7 .wpcf7-response-output { border-radius: 9px; font-size: 13px; margin: 6px 0 0; padding: 10px 14px; }
.ib-cf7 .wpcf7-not-valid-tip { font-size: 11.5px; }
.ib-cf7 .wpcf7-not-valid { border-color: #C0392B !important; }
@media (max-width: 640px) { .ib-cf7 .ib-frow2 { grid-template-columns: 1fr; } }

/* Signup form: hide the inline reCAPTCHA badge — the site's global bottom-right
   badge (position:fixed, body-level) already provides the required attribution.
   Scoped to the form so the global badge is untouched. Invisible reCAPTCHA still executes. */
#signup-form .grecaptcha-badge,
#signup-form .inv-recaptcha-holder .grecaptcha-badge { display: none !important; }
#signup-form .inv-recaptcha-holder { margin: 0 !important; }

/* Pricing calculator — highlight badge (JS-managed as the Properties slider shifts the recommended tier) */
.pr-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); font-size:10.5px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:#fff; background:#7BC14D; padding:5px 14px; border-radius:99px; white-space:nowrap; }

/* Signup plan badge — "Popular" default, JS relabels to "Your choice" on the ?plan= auto-selected plan */
.su-badge { display:inline-block; font-size:9px; font-weight:700; letter-spacing:0.04em; text-transform:uppercase; color:#fff; background:#7BC14D; padding:2px 7px; border-radius:99px; }
