/* FairBot site design (from the 2026 mockups): tokens, header, footer, buttons, cards, page head, front page.
   Plain CSS on top of dist/site.css (which still styles the stored content: BS3/Drupal classes). Scoped to body.fb. */

.fb {
  --fb-blue: #3994d0;        /* brand blue: buttons, backgrounds */
  --fb-blue-dark: #1f6fa8;   /* text links: 5.3:1 on white (AA) */
  --fb-navy: #0f3557;
  --fb-green: #2e9e33;
  --fb-green-dark: #24812a;
  --fb-action: #24812a;       /* fill behind white text (buttons, badges): 4.9:1; same in both themes */
  --fb-action-hover: #1e6b22; /* 6.6:1 */
  --fb-ink: #1d2733;
  --fb-muted: #5b6673;
  --fb-line: #e3e8ee;
  --fb-soft: #f4f7fa;
  --fb-head-start: #2272ad;  /* first stop of the blue heads: white 5.2:1, --fb-on-blue 4.7:1 (AA) */
  --fb-on-blue: #eef6fc;     /* secondary text on the blue heads (was #cfe6f7 / #e6f1fa: below AA) */
  --fb-radius: 12px;      /* cards and panels */
  --fb-radius-sm: 8px;    /* buttons, fields, small boxes */
  color: var(--fb-ink);
  background: #fff;
}
.fb .fb-main, .fb .fb-hero, .fb .fb-page-head, .fb .fb-announce {
  font-family: 'Roboto Regular', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6;
}
.fb .fb-main p, .fb .fb-hero p, .fb .fb-page-head p { padding: 0; }
.fb .fb-main a:not(.fb-btn):not(.fb-card):not(.fb-thumb):not(.fb-zoom) { color: var(--fb-blue-dark); }
.fb h1, .fb h2, .fb h3 { font-family: 'Roboto Bold', Arial, sans-serif; font-weight: 700; color: inherit; margin-top: 0; }
/* No single word alone on a paragraph's last line, headings broken into even lines (browsers without support
   just wrap as before). */
.fb p, .fb li, .fb dd { text-wrap: pretty; }
.fb h1, .fb h2, .fb h3 { text-wrap: balance; }

/* announcement bar */
.fb-announce { background: var(--fb-navy); color: #dbe9f6; font-size: 14px; }
.fb-announce .container { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.fb-announce a { color: #fff; }
.fb-announce-more { margin-left: auto; opacity: .85; }
.fb-pill { background: var(--fb-action);  /* go-green was 3.5:1 at 12px */
  color: #fff; font-size: 12px; letter-spacing: .01em;
  padding: 2px 8px; border-radius: 999px; font-family: 'Roboto Bold', Arial, sans-serif; }

/* buttons */
.fb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px;
  border-radius: var(--fb-radius-sm); border: 2px solid transparent; font-family: 'Roboto Medium', Arial, sans-serif; font-size: 16px;
  line-height: 1.3; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.fb-btn:hover { text-decoration: none; }
.fb-btn:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.fb-btn-lg { padding: 14px 26px; font-size: 18px; }
.fb-btn-block { display: flex; width: 100%; }
.fb-btn-primary { background: var(--fb-action); color: #fff; }  /* white on go-green was 3.5:1 */
.fb-btn-primary:hover { background: var(--fb-action-hover); color: #fff; }
.fb-btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.fb-btn-ghost:hover { background: #fff; color: var(--fb-navy); }
.fb-btn-outline { border-color: var(--fb-blue); color: var(--fb-blue-dark); background: #fff; }
.fb-btn-outline:hover { background: var(--fb-blue); color: #fff; }
.fb-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.fb-cta-center { justify-content: center; }

/* hero: as on the old site, one flat blue that darkens a little towards the bottom (owner, 2026-12-02); the old
   #3994d0 itself is below AA behind white text, so it starts from --fb-head-start */
.fb-hero { color: #fff; padding: 56px 0 64px; overflow: hidden;
  background: linear-gradient(180deg, var(--fb-head-start) 0%, var(--fb-head-start) 55%, #1b6399 100%); }
.fb-eyebrow { font-family: 'Roboto Medium', Arial, sans-serif; font-size: 16px; color: var(--fb-on-blue); margin-bottom: 10px !important; }
.fb-hero h1 { font-size: 46px; line-height: 1.1; margin-bottom: 18px; }
.fb-lead { font-size: 19px; color: var(--fb-on-blue); max-width: 34em; }
.fb-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--fb-on-blue); }
.fb-facts i { color: #a8e6ab; margin-right: 6px; }
/* hero slideshow: the app windows themselves (grid, ladder), no laptop (owner, 2026-11-26). One frame for every
   slide: the screenshots differ a little in shape, so each fills the frame from its top-left corner (a few pixels of
   the wider one's right edge are cut) and the crossfade never changes the hero's height. */
.fb-slides { margin-top: 32px; }
@media (min-width: 992px) { .fb-slides { margin-top: 0; } }
.fb-slides .carousel-item { transition-duration: .8s; height: 100%; }
.fb-slides .carousel-inner { aspect-ratio: 1417 / 1018; border-radius: var(--fb-radius); border: 1px solid rgba(255, 255, 255, .35);
  background: #fff; box-shadow: 0 20px 40px rgba(6, 26, 46, .35); }
.fb-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
/* Bootstrap moves .active only inside .carousel-indicators, so the dots carry that class; these rules undo its
   default look (absolute bar at the bottom, 30x3px lines). */
.fb-slide-dots.carousel-indicators { position: static; display: flex; justify-content: center; gap: 10px; margin: 18px 0 0; padding: 0; }
/* Each dot is a 24px target (WCAG 2.5.8) drawn as a 10px dot; the current one is a 26px bar. */
.fb-slide-dots.carousel-indicators [data-bs-target] { position: relative; box-sizing: border-box; flex: none; width: 24px; height: 24px;
  margin: 0; padding: 0; border: 0; border-radius: 6px; background: none; opacity: 1; text-indent: 0; transition: width .2s; }
.fb-slide-dots.carousel-indicators [data-bs-target]::before { content: ''; position: absolute; left: 7px; right: 7px; top: 7px; bottom: 7px;
  border-radius: 5px; background: rgba(255, 255, 255, .45); transition: background-color .2s; }
.fb-slide-dots.carousel-indicators .active { width: 40px; }
.fb-slide-dots.carousel-indicators .active::before { background: #fff; }
.fb-slide-dots.carousel-indicators { gap: 2px; align-items: center; }
.fb-slide-dots button:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
@media (max-width: 767px) { .fb-hero { padding: 36px 0 40px; } .fb-hero h1 { font-size: 32px; } .fb-lead { font-size: 17px; } }

/* page head (inner pages): shorter than the old blue intro, one heading only; same blue as the home hero */
.fb-page-head { background: linear-gradient(180deg, var(--fb-head-start) 0%, var(--fb-head-start) 55%, #1b6399 100%); color: #fff; padding: 28px 0 96px; }
.fb-page-head h1 { font-size: 38px; margin: 6px 0 10px; }
.fb-crumbs { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; font-size: 14px; color: var(--fb-on-blue); }
.fb-crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .6; }
.fb-crumbs a { color: #fff; }
@media (max-width: 767px) { .fb-page-head h1 { font-size: 28px; } }
/* Admin preview of an unpublished item (in the head: cards below overlap it). Same look in both themes. */
.fb .fb-page-head .fb-unpublished { display: inline-block; margin: 14px 0 4px; padding: 4px 12px; border-radius: 999px;
  background: #fde68a; color: #713f12; font-size: 14px; font-weight: 500; }
/* a page's intro from the admin: its first paragraph is the lead */
.fb-head-intro > p:first-child { font-size: 19px; color: var(--fb-on-blue); }
/* page heads: the lead runs the container's full width (owner, 2026-11-27); the hero keeps 34em beside the slides */
.fb-page-head .fb-lead { max-width: none; }
.fb-head-intro a:not(.fb-btn) { color: #fff; text-decoration: underline; }
@media (max-width: 767px) { .fb-head-intro > p:first-child { font-size: 17px; } }

/* sections */
.fb-section { padding: 72px 0; }
.fb-section-tight { padding-top: 0; }
.fb-section-alt { background: var(--fb-soft); }
.fb-section-head { text-align: center; max-width: 40em; margin: 0 auto 44px; }
.fb-section-head h2 { font-size: 32px; margin-bottom: 8px; }
.fb-section-head p { color: var(--fb-muted); }
.fb-section-head-row { display: flex; justify-content: space-between; align-items: baseline; max-width: none; text-align: left; margin-bottom: 24px; }
@media (max-width: 767px) { .fb-section { padding: 48px 0; } .fb-section-head h2 { font-size: 26px; } }

/* feature rows */
.fb-feature { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.fb-feature:last-child { margin-bottom: 0; }
/* Flipped rows mirror the columns too, so every screenshot gets the wide (7fr) column. */
.fb-feature-flip { grid-template-columns: 5fr 7fr; }
.fb-feature-flip .fb-feature-media { order: 2; }
.fb-feature h3 { font-size: 26px; margin-bottom: 8px; }
.fb-feature p { color: var(--fb-muted); margin-bottom: 14px; }
@media (max-width: 767px) {
  .fb-feature { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .fb-feature-flip .fb-feature-media { order: 0; }
}
.fb-zoom { position: relative; display: block; border-radius: var(--fb-radius); overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 53, 87, .16); border: 1px solid var(--fb-line); background: #fff; }
.fb-zoom img { display: block; width: 100%; height: auto; transition: transform .3s; }
.fb-zoom:hover img { transform: scale(1.02); }
.fb-zoom-hint { position: absolute; right: 12px; bottom: 12px; background: rgba(15, 53, 87, .85); color: #fff;
  font-size: 13px; padding: 5px 10px; border-radius: 6px; opacity: .9; }
.fb-checks { list-style: none; padding: 0; margin: 0; }
.fb-checks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.fb-checks li::before { content: '\f00c'; font-family: 'Font Awesome 7 Free'; font-weight: 900; position: absolute; left: 0; top: 1px;
  color: var(--fb-green); }
.fb-checks-lg li { font-size: 17px; margin-bottom: 12px; }
.fb-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fb-tags li { background: #e8f2fa; color: var(--fb-navy); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.fb-link { font-family: 'Roboto Medium', Arial, sans-serif; text-decoration: none; }
.fb-link i { font-size: .85em; margin-left: 4px; }

/* cards */
.fb-card { display: block; height: 100%; background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius);
  padding: 26px; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
a.fb-card:hover { box-shadow: 0 10px 28px rgba(15, 53, 87, .12); color: inherit; text-decoration: none; }
.fb-card h3 { font-size: 19px; margin-bottom: 6px; }
.fb-card p { color: var(--fb-muted); font-size: 15px; margin: 0; }
.fb-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 12px; background: #e3f0fa; color: var(--fb-blue-dark); font-size: 21px; margin-bottom: 16px; }
.fb-news time { display: block; font-size: 13px; color: var(--fb-muted); margin-bottom: 6px; }
.fb-news h3 { color: var(--fb-blue-dark); }

/* screenshot thumbnails */
.fb-thumb { display: block; border-radius: var(--fb-radius); overflow: hidden; border: 1px solid var(--fb-line);
  background: #fff; color: var(--fb-ink); text-decoration: none; transition: box-shadow .2s; }
.fb-thumb:hover { box-shadow: 0 10px 28px rgba(15, 53, 87, .12); color: var(--fb-ink); text-decoration: none; }
/* The whole window, not a top-left crop (a crop of dense UI read as noise); letterboxed on the soft band. */
.fb-thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--fb-soft); padding: 8px; }
.fb-thumb span { display: block; padding: 10px 12px; font-size: 14px; border-top: 1px solid var(--fb-line); }

/* CTA band */
.fb-cta-band { background: linear-gradient(135deg, #1d5f9a, #143f6b); color: #fff; text-align: center; padding: 64px 0; }
.fb-cta-band h2 { font-size: 32px; margin-bottom: 8px; }
.fb-cta-band p { color: #d5e6f5; }

/* lightbox */
/* The whole image fits the screen: limited by width and height (room left for the close button and caption). */
.fb-lightbox .modal-dialog { max-width: min(1200px, 95vw); justify-content: center; }
.fb-lightbox .modal-content { background: transparent; border: 0; position: relative; width: auto; }
.fb-lightbox img { display: block; width: auto; height: auto; max-width: min(1200px, 95vw);
  max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); border-radius: 8px; background: #fff; }
.fb-lightbox-caption { color: #fff; text-align: center; margin: 10px 0 0; }
.fb-lightbox-close { position: absolute; top: -40px; right: 0; background: none; border: 0; color: #fff; font-size: 26px; }
.fb .modal-backdrop.show { opacity: .85; }

/* pricing */
.fb .fb-plans { margin-top: -64px; }  /* cards overlap the blue head */
.fb-plan { position: relative; height: 100%; background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius);
  padding: 30px 24px 24px; text-align: center; box-shadow: 0 6px 20px rgba(15, 53, 87, .08); display: flex; flex-direction: column; }
.fb-plan h2 { font-size: 20px; color: var(--fb-ink); margin-bottom: 14px; }
.fb-plan-price { font-family: 'Roboto Bold', Arial, sans-serif; font-size: 46px; line-height: 1; margin-bottom: 8px !important; }
.fb-cur { font-size: .55em; vertical-align: top; margin-right: 2px; position: relative; top: .25em; }
.fb-plan-month { color: var(--fb-muted); font-size: 15px; }
.fb-plan-save { color: var(--fb-green-dark); font-family: 'Roboto Medium', Arial, sans-serif; font-size: 15px; min-height: 1.6em; margin: 4px 0 20px !important; }
.fb-plan .fb-btn { margin-top: auto; }
.fb-plan-featured { border: 2px solid var(--fb-green); box-shadow: 0 16px 40px rgba(46, 158, 51, .18); }
.fb-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--fb-action); color: #fff;
  font-size: 13px; padding: 4px 12px; border-radius: 999px;
  font-family: 'Roboto Bold', Arial, sans-serif; white-space: nowrap; }
.fb .fb-included { margin-top: 72px; align-items: center; }
.fb-included h2 { font-size: 26px; margin-bottom: 18px; }
.fb-trial { background: var(--fb-soft); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.fb-trial h3 { font-size: 22px; }
.fb-trial p { margin-bottom: 18px !important; }
.fb-trial p:last-child { margin-bottom: 0 !important; }  /* the editor wraps the button in a <p> */
.fb-secure { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--fb-line); text-align: center; color: var(--fb-muted); font-size: 15px; }
.fb-secure .fa-lock { color: var(--fb-green); margin-right: 4px; }
.fb-pay { list-style: none; padding: 0; margin: 12px 0 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.fb-pay i { font-size: 34px; color: #6b7785; }
/* Card-shaped text badge matching the Font Awesome card icons (same grey, height and corner radius). */
.fb-pay-badge { display: inline-flex; align-items: center; height: 30px; padding: 0 8px; border-radius: 4px; background: #6b7785;
  color: #fff; font-family: 'Roboto Bold', Arial, sans-serif; font-size: 13px; letter-spacing: .02em; }
.fb-pay-text { font-size: 14px; }

/* download page in the new design: version card overlapping the page head (like the pricing cards) */
.fb-ver { position: relative; margin-top: -64px; display: grid; grid-template-columns: 1.3fr 1.7fr auto; gap: 24px 40px;
  align-items: center; background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius); padding: 28px 32px;
  box-shadow: 0 16px 40px rgba(15, 53, 87, .12); }
.fb-ver-product { display: flex; align-items: center; gap: 18px; }
.fb-ver-logo { flex: none; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px;
  background: #f4f7fa; border: 1px solid var(--fb-line); }
.fb-ver-logo img { width: 48px; height: auto; }
.fb-ver h2 { font-size: 26px; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.fb-ver-product .fb-link { font-size: 15px; }
.fb-ver-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.fb-ver-facts > div { padding: 0 20px; border-left: 1px solid var(--fb-line); }
.fb-ver-facts dt { font-weight: normal; font-size: 14px; color: var(--fb-muted); }
.fb-ver-facts dd { margin: 2px 0 0; font-family: 'Roboto Medium', Arial, sans-serif; font-size: 17px; white-space: nowrap; }
@media (max-width: 991px) {
  .fb-ver { grid-template-columns: 1fr auto; }
  .fb-ver-facts { grid-column: 1 / -1; grid-row: 2; }
  .fb-ver-facts > div:first-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 575px) {
  .fb-ver { grid-template-columns: 1fr; padding: 22px 20px; }
  .fb-ver-facts { grid-row: auto; }
  .fb-ver-facts > div { padding: 0 10px; }
  .fb-ver-facts dd { font-size: 15px; }
  .fb-ver-btn { width: 100%; }
}
.fb .fb-ver-more { margin-top: 32px; }
.fb .fb-ver-steps { margin: 12px 0 0; padding-left: 1.4em; }
.fb-ver-steps li { margin-bottom: 8px; color: var(--fb-muted); }
.fb-ver-steps li::marker { color: var(--fb-blue-dark); font-family: 'Roboto Bold', Arial, sans-serif; }
.fb-ver-steps strong { color: var(--fb-ink); font-family: 'Roboto Medium', Arial, sans-serif; font-weight: normal; }
.fb-ver-help { margin-top: 16px !important; padding-top: 14px !important; border-top: 1px solid var(--fb-line); font-size: 15px; color: var(--fb-muted); }

/* shared by the inner pages */
.fb .fb-steps { list-style: none; padding: 0; }
.fb-card h3 i { color: var(--fb-blue-dark); margin-right: 6px; }
@media (max-width: 767px) {
  .fb-section-head-row { flex-wrap: wrap; gap: 4px 16px; }
}

/* ---------------------------------------------------------------- header (sticky) */
/* Anchor links (table of contents, #sections) stop below the sticky header, not under it.
   --fb-header-h is measured by static/js/site.js (it changes when the phone menu opens). */
html { scroll-padding-top: calc(var(--fb-header-h, 73px) + 16px); }
.fb-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--fb-line);
  font-family: 'Roboto Regular', Arial, Helvetica, sans-serif; transition: box-shadow .2s; }
.fb-header.is-scrolled { box-shadow: 0 6px 20px rgba(15, 53, 87, .10); }
@supports (backdrop-filter: blur(8px)) { .fb-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(8px); } }
.fb-header-bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.fb-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fb-navy);
  font-family: 'Roboto Bold', Arial, sans-serif; font-size: 22px; letter-spacing: -.01em; flex-shrink: 0; }
.fb-brand:hover { text-decoration: none; color: var(--fb-navy); }
.fb-brand img { width: 44px; height: auto; }
.fb-brand-light, .fb-brand-light:hover { color: #fff; }
.fb-nav { flex: 1; }
.fb-nav-links { list-style: none; margin: 0; padding: 0; display: flex; }
.fb-nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--fb-ink); font-family: 'Roboto Medium', Arial, sans-serif;
  font-size: 15px; text-decoration: none; transition: background-color .15s, color .15s; }
.fb-nav-links a:hover { background: var(--fb-soft); color: var(--fb-blue-dark); text-decoration: none; }
.fb-nav-links a.is-active { color: var(--fb-blue-dark); background: #e8f2fa; }
.fb-nav a:focus-visible, .fb-nav-toggle:focus-visible, .fb-brand:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.fb-search { position: relative; margin: 0; }
.fb-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--fb-muted); font-size: 14px; pointer-events: none; }
.fb-search input { width: 170px; height: 40px; padding: 0 12px 0 34px; border: 1px solid var(--fb-line); border-radius: 8px;
  background: var(--fb-soft); color: var(--fb-ink); font-size: 15px; transition: border-color .15s, background-color .15s, width .2s; }
.fb-search input::placeholder { color: var(--fb-muted); }
.fb-search input:focus { outline: none; border-color: var(--fb-blue); background: #fff; box-shadow: 0 0 0 3px rgba(57, 148, 208, .2); }
.fb-nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--fb-line); border-radius: 8px;
  background: #fff; padding: 0; align-items: center; justify-content: center; }
.fb-burger, .fb-burger::before, .fb-burger::after { display: block; width: 20px; height: 2px; background: var(--fb-navy); border-radius: 2px;
  position: relative; transition: transform .2s, background-color .2s; }
.fb-burger::before, .fb-burger::after { content: ''; position: absolute; left: 0; }
.fb-burger::before { top: -6px; }
.fb-burger::after { top: 6px; }
.fb-nav-toggle[aria-expanded="true"] .fb-burger { background: transparent; }
.fb-nav-toggle[aria-expanded="true"] .fb-burger::before { transform: translateY(6px) rotate(45deg); }
.fb-nav-toggle[aria-expanded="true"] .fb-burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 992px) {
  /* always open on desktop, whatever Bootstrap's collapse did */
  .fb-nav.collapse, .fb-nav.collapsing { display: flex !important; height: auto !important; align-items: center; gap: 16px; }
  .fb-nav nav { margin-right: auto; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .fb-header-bar { gap: 16px; }
  .fb-nav-links a { padding: 8px 9px; }
  .fb-search input { width: 150px; }
}
@media (max-width: 991px) {
  .fb-header-bar { flex-wrap: wrap; min-height: 0; gap: 0; }
  .fb-brand { height: 64px; }
  .fb-nav-toggle { display: inline-flex; }
  .fb-nav { flex-basis: 100%; }
  .fb-nav.show { padding-bottom: 16px; }
  .fb-nav-links { flex-direction: column; padding: 4px 0 12px; border-top: 1px solid var(--fb-line); margin-top: 0; }
  .fb-nav-links a { padding: 12px 8px; font-size: 17px; border-radius: 6px; }
  .fb-search input { width: 100%; height: 44px; font-size: 16px; }
}

/* ---------------------------------------------------------------- footer */
.fb-footer { background: #0b2a45; color: #b9cde0; font-family: 'Roboto Regular', Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.6;
  padding: 64px 0 0; }
.fb-footer a { color: #e2edf7; text-decoration: none; }
.fb-footer a:hover { color: #fff; text-decoration: underline; }
.fb-footer a:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.fb-footer p { padding: 0; margin: 0; }
.fb-footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.6fr; gap: 40px;
  grid-template-areas: "about product company news"; padding-bottom: 48px; }
.fb-footer-about { grid-area: about; }
.fb-footer-product { grid-area: product; }
.fb-footer-company { grid-area: company; }
.fb-footer-news { grid-area: news; }
.fb-footer-about p { margin-top: 16px; max-width: 22em; }
.fb-footer-brandrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.fb-footer-vendor { display: inline-flex; background: #fff; border-radius: var(--fb-radius-sm); padding: 4px 10px; }
.fb-footer-vendor img { display: block; width: 105px; height: 35px; }
.fb-footer h2 { font-family: 'Roboto Bold', Arial, sans-serif; font-size: 16px;
  color: #fff; margin: 0 0 16px; }
.fb-footer-col ul { list-style: none; padding: 0; margin: 0; }
.fb-footer-col li + li { margin-top: 10px; }
.fb-social { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 10px; }
.fb-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: #e2edf7; font-size: 17px; transition: background-color .15s, transform .15s; }
.fb-social a:hover { background: var(--fb-blue); color: #fff; text-decoration: none; }
.fb-footer-news p { margin-bottom: 16px; }
.fb-footer-form { display: flex; gap: 8px; margin: 0 0 12px; }
.fb-footer-form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 16px; }
.fb-footer-form input::placeholder { color: #8ea7bf; }
.fb-footer-form input:focus { outline: none; border-color: var(--fb-blue); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 3px rgba(57, 148, 208, .35); }
.fb-footer-form .fb-btn { padding: 0 18px; height: 46px; font-size: 15px; }
.fb-footer-small { font-size: 14px; color: #b9cde0 !important; }
.fb-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0 24px; font-size: 14px; color: #8ea7bf; }
.fb-footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }
.fb-footer-bottom a { color: #b9cde0; }

@media (max-width: 991px) {
  .fb-footer-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "about news" "product company"; gap: 40px 32px; }
}
@media (max-width: 767px) {
  .fb-footer { padding-top: 44px; }
  .fb-footer-grid { grid-template-areas: "about about" "product company" "news news"; gap: 32px 24px; padding-bottom: 36px; }
  .fb-footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) { .fb-footer-form { flex-direction: column; } .fb-footer-form input { flex: none; } }
.fb-page-head .fb-head-note { color: var(--fb-on-blue); font-size: 15px; margin-top: 14px; }
.fb-page-head .fb-head-link { color: #fff; text-decoration: underline; }

/* Trust badge (home hero, pricing head): licensed Betfair vendor + since 2004. */
.fb-trust { list-style: none; padding: 0; margin: 22px 0 0; display: inline-flex; flex-wrap: wrap; align-items: center;
  gap: 6px 0; background: rgba(15, 53, 87, .28);  /* navy plate: darkens behind the text (a white one lightened it below AA) */ border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--fb-radius-sm); color: #fff; font-size: 15px; }
.fb-trust li { padding: 8px 16px; }
.fb-trust li + li { border-left: 1px solid rgba(255, 255, 255, .28); }
.fb-trust i { color: #ffd43b; margin-right: 6px; }
.fb-trust strong { font-family: 'Roboto Bold', Arial, sans-serif; font-weight: 700; }
.fb-page-head .fb-trust { margin-top: 18px; }
@media (max-width: 575px) { .fb-trust { display: flex; } .fb-trust li { flex: 1 1 100%; } .fb-trust li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .28); } }

/* Pricing questions */
.fb-faq-more { text-align: center; color: var(--fb-muted); margin-top: 20px !important; }

/* Download: Betfair account note + SmartScreen help. */
.fb .fb-main .fb-need { position: relative; margin: 12px 0 14px; padding: 12px 14px 12px 40px; background: #e3f0fa; border-radius: 8px; font-size: 15px; color: var(--fb-ink); }
.fb-need > i:first-child { position: absolute; left: 14px; top: 17px; color: var(--fb-blue-dark); }  /* not flex: the text is plain inline content */
.fb-smartscreen { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: center; margin-top: 24px; }
.fb-smartscreen h3 { font-size: 20px; }
.fb-smartscreen-text > p { color: var(--fb-muted); }
.fb-ss-mock { background: #0b5aa6; color: #fff; padding: 22px 24px 20px; font-family: 'Segoe UI', Arial, sans-serif; font-size: 13px; line-height: 1.45;
  border-radius: 4px; box-shadow: 0 10px 28px rgba(15, 53, 87, .25); }
.fb .fb-ss-mock p { margin-bottom: 10px; }
.fb .fb-ss-title { font-size: 21px; font-weight: 300; margin-bottom: 12px; }
.fb-ss-btn { display: inline-block; margin: 8px 8px 0 0; padding: 5px 16px; border: 2px solid #fff; font-size: 13px; }
.fb-ss-btn-dim { border-color: rgba(255, 255, 255, .6); color: rgba(255, 255, 255, .85); }
@media (max-width: 767px) { .fb-smartscreen { grid-template-columns: 1fr; } }
.fb .fb-ss-mock, .fb .fb-ss-mock p { color: #fff; }
.fb .fb-ss-mock .fb-ss-app { color: #d6e6f5; }
.fb-hero .fb-trust { font-size: 14px; }
.fb-hero .fb-trust li { padding: 7px 13px; }
@media (max-width: 1199px) {
  .fb-hero .fb-trust { flex-direction: column; align-items: stretch; gap: 0; }
  .fb-hero .fb-trust li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .28); }
}
/* Under the pricing cards: VAT included · No automatic renewal */
.fb-plan-notes { list-style: none; padding: 0; margin: 32px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px;
  font-family: 'Roboto Medium', Arial, sans-serif; font-size: 16px; color: var(--fb-ink); }
.fb-plan-notes i { color: var(--fb-green); margin-right: 6px; }

/* Front page: "Already a customer?" strip under the hero (block home_customers). A quiet shelf between the blue hero
   and the first band: customers find their tasks without competing with the trial button. Tokens only, so it
   follows the dark theme by itself. */
.fb-customers { background: var(--fb-soft); border-bottom: 1px solid var(--fb-line); font-size: 15px; line-height: 1.4; }
.fb-customers .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; padding-top: 10px; padding-bottom: 10px; }
.fb .fb-customers p { margin: 0; padding: 0; }
.fb-customers-label { font-family: 'Roboto Medium', Arial, sans-serif; color: var(--fb-ink); }
.fb-customers-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.fb-customers-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--fb-blue-dark);
  font-family: 'Roboto Medium', Arial, sans-serif; text-decoration: none; }
.fb-customers-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fb-customers-links a:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; border-radius: 4px; }
.fb-customers-links i { font-size: 14px; width: 16px; text-align: center; }
@media (max-width: 767px) {
  .fb-customers .container { padding-top: 14px; padding-bottom: 8px; }
  .fb-customers-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 0 16px; }
}

/* Free-trial band: facts under the buttons (block home_cta). On Blue text, light-green checks as in the hero facts. */
.fb-cta-notes { list-style: none; padding: 0; margin: 24px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px;
  font-size: 15px; color: var(--fb-on-blue); }
.fb-cta-notes i { color: #a8e6ab; margin-right: 6px; }

/* Hero: what the trial download needs, right under the buttons (block home_hero). The button downloads the .exe
   directly (owner), so this line carries the context: Windows, a Betfair account, and where the install help is. */
.fb .fb-hero .fb-cta-help { margin: 12px 0 0; font-size: 14px; color: var(--fb-on-blue); }
.fb .fb-hero .fb-cta-help a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.fb .fb-hero .fb-cta-help a:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; border-radius: 2px; }
