/* release 371 (designer's new design, owner: "site has to migrate to this ... I like simplicity and animations"): the Scoutics
   brand from the designer's Webflow export, as one stylesheet loaded after sx_system.css on every HTML page (design_system.py).
   Two parts:
   1. b-* components for pages rebuilt in the designer's layout (sections, bands, cards, splits, checks, tabs, buttons, motion);
   2. a re-skin of the existing components (buttons, plan chips, focus ring, header, phone menu) onto the brand, by selector, so
      pages not yet rebuilt still match.
   Values are the designer's: indigo #5663F0 (white text 4.73:1), Nunito, 8px corners, white cards with a soft shadow, an indigo
   band behind photos, sections that fade up as they come into view. Text greys are the designer's darker steps (4.5:1 or better).
   Motion runs only when static/js/sx_motion.js is running (html.b-motion) and never with "reduce motion". */

/* ---------------------------------------------------------------- tokens */
:root {
  --b-primary: #5663F0; --b-primary-600: #4647E5; --b-primary-700: #3B3CC4; --b-primary-50: #EEF0FE; --b-primary-tint: #5663F014;
  --b-ink: #303131; --b-text: #414444; --b-muted: #646867; --b-line: #E3E4E4; --b-soft: #F2F3F3; --b-white: #fff;
  --b-success: #338637; --b-success-50: #F3FAF3; --b-error: #C81E1E; --b-error-50: #FFF0F0;
  --b-radius: 8px; --b-radius-lg: 12px;
  --b-shadow: 0 0 20px 4px rgba(0, 0, 0, .10); --b-shadow-lg: 0 2px 20px 7px rgba(0, 0, 0, .12);
  --b-font: Nunito, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --b-container: 1312px; --b-gutter: 24px;
  --b-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------- page building blocks (b-*) */
.b-page { color: var(--b-ink); font-family: var(--b-font); font-size: 16px; line-height: 1.5; background: #fff; }
.b-container { box-sizing: border-box; width: 100%; max-width: var(--b-container); margin: 0 auto; padding: 0 var(--b-gutter); position: relative; }
.b-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.b-section { padding: 120px 0; position: relative; }
.b-section.is-medium { padding: 96px 0; }
.b-section.is-small { padding: 56px 0; }
.b-section.is-flush-top { padding-top: 0; }
.b-section.is-soft { background: var(--b-soft); }
.b-band { background: var(--b-primary); color: #fff; }
.b-band :is(h1, h2, h3, p, .b-h1, .b-h2, .b-h3, .b-lead, .b-text) { color: #fff; }
/* the indigo title band at the top of inner pages (designer: "subpage-primary") */
.b-subhero { background: var(--b-primary); color: #fff; padding: 56px 0; overflow: hidden; }
.b-subhero h1, .b-subhero .b-h1 { color: #fff; margin: 0; font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.b-subhero p { color: #fff; margin: 12px 0 0; font-size: 18px; max-width: 720px; opacity: .95; }

.b-h1 { margin: 0; color: var(--b-ink); font-family: var(--b-font); font-size: 64px; line-height: 1.02; font-weight: 800; letter-spacing: -.015em; }
.b-h2 { margin: 0; color: var(--b-ink); font-family: var(--b-font); font-size: 36px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.b-h3 { margin: 0; color: var(--b-ink); font-family: var(--b-font); font-size: 22px; line-height: 1.3; font-weight: 700; }
.b-lead { margin: 0; color: var(--b-text); font-size: 20px; line-height: 1.5; }
.b-text { margin: 0; color: var(--b-muted); font-size: 16px; line-height: 1.6; }
.b-small { margin: 0; color: var(--b-muted); font-size: 14px; line-height: 1.5; }
.b-eyebrow { margin: 0 0 10px; color: var(--b-primary-600); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.b-center { text-align: center; }
.b-center :is(.b-lead, .b-text) { margin-left: auto; margin-right: auto; }
.b-stack > * + * { margin-top: 16px; }
.b-stack-lg > * + * { margin-top: 24px; }
.b-mt-8 { margin-top: 8px; } .b-mt-16 { margin-top: 16px; } .b-mt-24 { margin-top: 24px; } .b-mt-32 { margin-top: 32px; } .b-mt-48 { margin-top: 48px; }

/* buttons: the designer's indigo primary and indigo-outlined secondary; both grow a little on hover */
.b-btn, .b-btn-secondary, .b-btn-light {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 8px 18px; border: 1px solid var(--b-primary); border-radius: var(--b-radius); font: 700 16px/1.25 var(--b-font);
  text-decoration: none; cursor: pointer; transition: transform .2s var(--b-ease), background-color .2s, color .2s, border-color .2s; }
.b-btn { background: var(--b-primary); color: #fff; }
.b-btn:hover { background: var(--b-primary-600); border-color: var(--b-primary-600); color: #fff; }
.b-btn-secondary { background: #fff; color: var(--b-ink); }
.b-btn-secondary:hover { background: var(--b-primary-50); color: var(--b-ink); }
.b-btn-light { background: #fff; border-color: #fff; color: var(--b-primary-700); }
.b-btn-light:hover { background: var(--b-primary-50); color: var(--b-primary-700); }
.b-band .b-btn-secondary { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.b-btn.is-lg, .b-btn-secondary.is-lg, .b-btn-light.is-lg { min-height: 52px; padding: 12px 24px; font-size: 18px; }
.b-btn:disabled, .b-btn[aria-disabled="true"] { background: var(--b-soft); border-color: var(--b-line); color: var(--b-muted); cursor: not-allowed; transform: none !important; }
.b-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.b-center .b-btns, .b-btns.is-center { justify-content: center; }
.b-link { color: var(--b-primary-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.b-link:hover { color: var(--b-primary-700); }

/* cards */
.b-card { box-sizing: border-box; background: #fff; border-radius: var(--b-radius); padding: 24px; box-shadow: var(--b-shadow); position: relative; }
.b-card.is-line { box-shadow: none; border: 1px solid var(--b-line); transition: border-color .2s; }
.b-card.is-line:hover { border-color: var(--b-primary); }
.b-card.is-pad-lg { padding: 36px; }
.b-card.is-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
a.b-card { display: block; color: inherit; text-decoration: none; transition: transform .2s var(--b-ease), box-shadow .2s; }
a.b-card:hover { box-shadow: var(--b-shadow-lg); }

/* grids and the two-column split (copy beside a photo) */
.b-grid-2, .b-grid-3, .b-grid-4 { display: grid; gap: 32px; }
.b-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.b-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.b-split.is-flip > :first-child { order: 2; }

/* photos: rounded, with the designer's indigo block offset behind them */
.b-media { position: relative; display: block; }
.b-media img { display: block; width: 100%; height: auto; border-radius: var(--b-radius); position: relative; z-index: 1; box-shadow: var(--b-shadow); object-fit: cover; }
.b-media.has-shape::before { content: ""; position: absolute; z-index: 0; top: -24px; right: -24px; width: 62%; height: 78%; background: var(--b-primary); border-radius: var(--b-radius); }
.b-media.has-shape.is-left::before { right: auto; left: -24px; }
.b-media.is-cover img { aspect-ratio: 3 / 2; }

/* small icon tile and the indigo check list */
.b-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--b-radius); background: var(--b-soft); color: var(--b-primary); font-size: 24px; line-height: 1; }
.b-icon svg { width: 24px; height: 24px; }
.b-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.b-checks li { position: relative; padding-left: 36px; color: var(--b-text); font-size: 16px; line-height: 1.5; }
.b-checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--b-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* numbered steps (designer's "1. Pick a Game" cards) */
.b-steps { display: grid; gap: 16px; counter-reset: bstep; }
.b-step { counter-increment: bstep; }
.b-step .b-h3::before { content: counter(bstep) ". "; }

/* pill tabs (designer's tab-link-v1) */
.b-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--b-radius); background: var(--b-soft); }
.b-tabs :is(a, button) { min-height: 40px; padding: 8px 20px; border: 0; border-radius: var(--b-radius); background: transparent; color: var(--b-ink); font: 700 15px/1.2 var(--b-font); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.b-tabs :is(a, button):hover { background: var(--b-primary-tint); }
.b-tabs :is(a, button):is([aria-selected="true"], [aria-current="page"], .is-active) { background: var(--b-primary); color: #fff; }

/* the indigo call-to-action band with a white card in it (designer's "Create your free Scoutics account today") */
.b-cta { background: var(--b-primary); padding: 96px 0; }
.b-cta .b-card { max-width: 760px; margin: 0 auto; text-align: center; padding: 36px; }
.b-cta-plain { background: var(--b-primary); color: #fff; text-align: center; padding: 96px 0; }
.b-cta-plain :is(h2, .b-h2) { color: #fff; font-size: 48px; }
.b-cta-plain p { color: #fff; max-width: 680px; margin: 16px auto 0; }

/* figures shown inside brand cards (a price, a win %) */
.b-stat { font-size: 36px; font-weight: 800; line-height: 1.1; color: var(--b-ink); font-variant-numeric: tabular-nums; }
.b-stat small { font-size: 15px; font-weight: 600; color: var(--b-muted); }
.b-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--b-primary-50); color: var(--b-primary-700); font: 700 13px/1.6 var(--b-font); }
.b-badge.is-live { background: #FDECEC; color: #B42318; }
.b-badge.is-good { background: var(--b-success-50); color: var(--b-success); }
.b-note { color: var(--b-muted); font-size: 14px; }
.b-divider { border: 0; border-top: 1px solid var(--b-line); margin: 32px 0; }

/* FAQ / details in the designer's accordion look */
.b-faq { display: grid; gap: 12px; }
.b-faq details { border: 1px solid var(--b-line); border-radius: var(--b-radius); background: #fff; }
.b-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 14px 20px; font-weight: 700; color: var(--b-ink); }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: "+"; color: var(--b-primary); font-size: 24px; line-height: 1; transition: transform .2s; }
.b-faq details[open] summary::after { transform: rotate(45deg); }
.b-faq details > :not(summary) { padding: 0 20px 18px; margin: 0; color: var(--b-muted); }

/* ---------------------------------------------------------------- motion (static/js/sx_motion.js adds html.b-motion and .is-in) */
html.b-motion .b-reveal { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .7s var(--b-ease), transform .7s var(--b-ease); transition-delay: var(--b-delay, 0s); }
html.b-motion .b-pop { opacity: 0; transform: scale(.8); transition: opacity .6s var(--b-ease), transform .6s var(--b-ease); transition-delay: var(--b-delay, 0s); }
html.b-motion .b-reveal.is-in, html.b-motion .b-pop.is-in { opacity: 1; transform: none; }
@media (hover: hover) {
  .b-btn:hover, .b-btn-secondary:hover, .b-btn-light:hover, a.b-card:hover { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  html.b-motion .b-reveal, html.b-motion .b-pop { opacity: 1 !important; transform: none !important; transition: none !important; }
  .b-btn, .b-btn-secondary, .b-btn-light, a.b-card, .b-faq summary::after { transition: none !important; transform: none !important; }
}

/* ---------------------------------------------------------------- the shared footer (templates/partials/brand_footer.html) */
.b-footer { font-family: var(--b-font); color: var(--b-ink); background: #fff; border-top: 1px solid var(--b-line); margin-top: 0; }
.b-footer a { color: var(--b-text); text-decoration: none; }
.b-footer a:hover { color: var(--b-primary-600); text-decoration: underline; text-underline-offset: 3px; }
.b-footer-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 1.1fr); gap: 32px; padding: 72px 0 40px; }
.b-footer h2 { margin: 0 0 16px; font-size: 18px; font-weight: 800; color: var(--b-ink); }
.b-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.b-footer li a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; }
.b-footer-card { align-self: start; background: var(--b-primary); color: #fff; border-radius: var(--b-radius); padding: 24px; }
.b-footer-card strong { display: block; font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.b-footer-card p { margin: 0; font-size: 14px; line-height: 1.5; color: #fff; }
.b-footer-card a { color: #fff; text-decoration: underline; }
.b-footer-legal { border-top: 1px solid var(--b-line); padding: 20px 0; color: var(--b-muted); font-size: 13px; }
.b-footer-legal :is(p, div) { color: var(--b-muted); }
.b-footer-bottom { border-top: 1px solid var(--b-line); padding: 20px 0 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--b-muted); }
.b-footer-bottom img { height: 24px; width: auto; display: block; }
.b-footer-right { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.b-footer-social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--b-primary); color: #fff !important; }
.b-footer-social:hover { background: var(--b-primary-600); text-decoration: none !important; }
.b-footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.b-footer select { min-height: 36px; padding: 4px 10px; border: 1px solid var(--b-line); border-radius: var(--b-radius); background: #fff; color: var(--b-ink); font: 600 14px/1 var(--b-font); }

/* ---------------------------------------------------------------- phones and tablets */
@media (max-width: 991px) {
  .b-section { padding: 88px 0; }
  .b-section.is-medium { padding: 72px 0; }
  .b-h1 { font-size: 52px; }
  .b-split { grid-template-columns: 1fr; gap: 40px; }
  .b-split.is-flip > :first-child { order: 0; }
  .b-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-footer-card { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  :root { --b-gutter: 16px; }
  .b-section { padding: 64px 0; }
  .b-section.is-medium { padding: 56px 0; }
  .b-section.is-small { padding: 40px 0; }
  .b-subhero { padding: 40px 0; }
  .b-subhero h1, .b-subhero .b-h1 { font-size: 34px; }
  .b-h1 { font-size: 40px; }
  .b-h2 { font-size: 28px; }
  .b-lead { font-size: 18px; }
  .b-grid-2, .b-grid-3, .b-grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .b-card.is-pad-lg, .b-cta .b-card { padding: 24px; }
  .b-cta, .b-cta-plain { padding: 64px 0; }
  .b-cta-plain :is(h2, .b-h2) { font-size: 32px; }
  .b-media.has-shape::before { top: -12px; right: -12px; }
  .b-media.has-shape.is-left::before { left: -12px; }
  .b-btns { gap: 12px; }
  .b-btns > :is(.b-btn, .b-btn-secondary, .b-btn-light) { flex: 1 1 auto; }
  .b-footer-top { grid-template-columns: 1fr 1fr; padding: 48px 0 32px; }
  .b-footer li a { min-height: 44px; }
}

/* ================================================================ re-skin of the existing components onto the brand.
   :not(#sx371a)...(#sx371d) carries one more step than sx_system.css, so these win over it without depending on order. */

/* type: Nunito for reading text everywhere; icon fonts, code and the simulator's pitch numbers keep theirs */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body { font-family: var(--b-font) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(h1, h2, h3, h4, h5, h6, p, a, button, li, dt, dd, label, td, th, input, select, textarea, small, strong, em, span, div, summary, legend, figcaption, caption, blockquote):not(.ti):not([class^="ti-"]):not([class*=" ti-"]):not(.fa):not([class^="fa-"]):not([class*=" fa-"]):not(.material-icons):not(.material-symbols-outlined):not(code):not(pre):not(kbd):not(.mono):not([class*="mono"]) { font-family: var(--b-font) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(h1, h2, h3) { letter-spacing: -.01em; }

/* one focus ring: indigo, outside the control; white on indigo surfaces */
:root { --focus-color: #4647E5; --focus-ring: 2px solid #4647E5; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(header.sx-nav, .sx-navbar, header.scoutics-topbar, .sx-drop-list, #scTopMenuPanel, #scTopProfileMenu, .scoutics-profile-menu, .sau-menu, .sx-psheet-card, .scoutics-menu-panel, #sxMenu) { --focus-color: #4647E5; --focus-ring: 2px solid #4647E5; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.b-band, .b-subhero, .b-cta, .b-cta-plain, .b-footer-card) { --focus-color: #fff; --focus-ring: 2px solid #fff; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(a, button, input, select, textarea, summary, [role="tab"], [role="radio"], [role="button"], [tabindex]:not([tabindex="-1"])):focus-visible { outline: var(--focus-ring) !important; outline-offset: 2px; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d):not(#sx371e) body :is(header.sx-nav .sx-nav-right a.sx-btn, header.scoutics-topbar a.scoutics-top-sim):focus-visible { outline: 2px solid #4647E5 !important; outline-offset: 3px !important; }

/* one primary button: indigo, white text */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(
  .sx-btn:not(.is-outline):not(.is-light), .button.primary, button.sc-play-cta, .featured .plan-cta, .pricing-plan.chosen .plan-cta,
  .bt-btn-primary, #sx-age .sx-age-yes, #sx-signin-dialog .sxs-btn:not(.sxs-outline), .mw-btn:not(.is-ghost):not(.mw-ghost), .pricing-continue,
  header.scoutics-topbar a.scoutics-top-sim, .sx-btn.is-orange
) {
  border-color: var(--b-primary) !important; background: var(--b-primary) !important; background-color: var(--b-primary) !important; color: #fff !important;
  font: 700 16px/1.2 var(--b-font) !important; border-radius: var(--b-radius) !important; transition: transform .2s var(--b-ease), background-color .2s !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.sx-btn:not(.is-outline):not(.is-light), .button.primary, button.sc-play-cta, .featured .plan-cta, .pricing-plan.chosen .plan-cta, .bt-btn-primary, #sx-age .sx-age-yes, #sx-signin-dialog .sxs-btn:not(.sxs-outline), .mw-btn:not(.is-ghost):not(.mw-ghost), .pricing-continue, header.scoutics-topbar a.scoutics-top-sim, .sx-btn.is-orange) * { color: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.sx-btn:not(.is-outline):not(.is-light), .button.primary, button.sc-play-cta, .featured .plan-cta, .pricing-plan.chosen .plan-cta, .bt-btn-primary, #sx-age .sx-age-yes, #sx-signin-dialog .sxs-btn:not(.sxs-outline), .mw-btn:not(.is-ghost):not(.mw-ghost), .pricing-continue, header.scoutics-topbar a.scoutics-top-sim, .sx-btn.is-orange):hover:not(:disabled) {
  background: var(--b-primary-600) !important; background-color: var(--b-primary-600) !important; border-color: var(--b-primary-600) !important; }
/* one secondary button: white with the indigo line */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.sx-btn.is-outline, .sx-btn.is-light, #sx-signin .sxs-btn, .sxs-btn.sxs-outline, .plan-cta:not(.featured .plan-cta):not(.pricing-plan.chosen .plan-cta), .bt-btn-ghost, #sx-age .sx-age-no) {
  border-color: var(--b-primary) !important; background: #fff !important; background-color: #fff !important; color: var(--b-ink) !important; font: 700 16px/1.2 var(--b-font) !important; transition: transform .2s var(--b-ease), background-color .2s !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.sx-btn.is-outline, .sx-btn.is-light, #sx-signin .sxs-btn, .sxs-btn.sxs-outline, .plan-cta:not(.featured .plan-cta):not(.pricing-plan.chosen .plan-cta), .bt-btn-ghost, #sx-age .sx-age-no):hover:not(:disabled) {
  background: var(--b-primary-50) !important; background-color: var(--b-primary-50) !important; border-color: var(--b-primary) !important; color: var(--b-ink) !important; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.sx-btn, .button.primary, button.sc-play-cta, .plan-cta, .bt-btn-primary, .bt-btn-ghost, .pricing-continue, header.scoutics-topbar a.scoutics-top-sim):hover:not(:disabled) { transform: scale(1.04); }
}
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.button.primary, button.sc-play-cta, .plan-cta, .bt-btn-primary, .bt-btn-ghost, .sx-age-yes, .mw-btn):is(:disabled, [aria-disabled="true"]) {
  background: var(--b-soft) !important; background-color: var(--b-soft) !important; border-color: var(--b-line) !important; color: var(--b-muted) !important; transform: none !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .pricing-plan.chosen { outline: 2px solid var(--b-primary) !important; }

/* plan chips: Pro takes the brand indigo (it was navy and mint); Fan the brand green */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.bt-pro-tag, .sau-plan, .plan-chip, a.bt-lock):is([data-sx-plan="pro"]), html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body [class*="plan-badge--pro"] {
  background: var(--b-primary) !important; color: #fff !important; border-color: var(--b-primary) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.bt-pro-tag, .sau-plan, .plan-chip, a.bt-lock):is([data-sx-plan="fan"]), html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body [class*="plan-badge--fan"] {
  background: var(--b-success-50) !important; color: #23662A !important; border-color: #9BDA9E !important; }

/* ---------------------------------------------------------------- the top bar: white, the designer's logo, indigo actions */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar {
  background: #fff !important; color: var(--b-ink) !important; border-bottom: 1px solid var(--b-line) !important; box-shadow: none !important; backdrop-filter: none !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-topbar-inner { max-width: var(--b-container); margin: 0 auto; min-height: 72px; padding-left: var(--b-gutter); padding-right: var(--b-gutter); box-sizing: border-box; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar :is(.scoutics-nav-link, .scoutics-profile-signin, .scoutics-profile-label, .scoutics-top-contact, .scoutics-menu-trigger, .scoutics-top-bell) { color: var(--b-ink) !important; background: transparent !important; font: 600 16px/1.2 var(--b-font) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar :is(.scoutics-nav-link:hover, .scoutics-nav-link.is-active, .scoutics-nav-link[aria-expanded="true"]) { color: var(--b-primary) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-nav-link.is-active::after { background: var(--b-primary) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-profile-signin {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px !important; border: 1px solid var(--b-primary) !important; border-radius: var(--b-radius) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-profile-signin:hover { background: var(--b-primary-50) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar :is(.scoutics-top-contact, .scoutics-top-theme) { display: none !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-profile-trigger { background: transparent !important; color: var(--b-ink) !important; border-color: var(--b-line) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-profile-avatar { background: var(--b-primary) !important; color: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-logo { display: block; height: 28px; width: auto; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-brand { display: inline-flex; align-items: center; min-height: 44px; }
/* the Explore mega menu */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-mega {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); width: min(1000px, calc(100vw - 48px)); box-sizing: border-box;
  display: grid; grid-template-columns: 3fr 1fr; gap: 32px; padding: 32px 36px 36px; background: #fff; border-radius: var(--b-radius); box-shadow: 0 2px 20px 10px rgba(0, 0, 0, .12); z-index: 60; text-align: left; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-mega[hidden] { display: none; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-mega-title { margin: 0 0 12px; color: var(--b-ink); font: 800 16px/1.3 var(--b-font); }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-mega a { display: flex; flex-direction: column; padding: 6px 0; min-height: 32px; color: var(--b-ink) !important; text-decoration: none; font: 600 15px/1.3 var(--b-font); background: none !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-mega a small { color: var(--b-muted); font: 400 13px/1.35 var(--b-font); margin-top: 2px; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-mega a:hover, html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-mega a[aria-current="page"] { color: var(--b-primary) !important; }
html.b-motion header.scoutics-topbar .b-mega:not([hidden]) { animation: b-drop .22s var(--b-ease); }
@keyframes b-drop { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { html.b-motion header.scoutics-topbar .b-mega:not([hidden]) { animation: none; } }

/* the phone menu panel: white, indigo for the current page */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .scoutics-menu-panel { background: #fff !important; color: var(--b-ink) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .scoutics-menu-panel :is(.scoutics-menu-item, .scoutics-menu-user-name, .scoutics-menu-section-title) { color: var(--b-ink) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .scoutics-menu-panel .scoutics-menu-item.is-active { color: var(--b-primary-600) !important; background: var(--b-primary-50) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .scoutics-menu-panel :is(.scoutics-menu-avatar) { background: var(--b-primary) !important; color: #fff !important; }

/* the legal notice inside the white footer (its own sheet was written for the old black footer) */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-footer .sc-legal { max-width: var(--b-container); padding: 24px var(--b-gutter); color: var(--b-muted); font-family: var(--b-font); font-size: 13px; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-footer .sc-legal__lede { color: var(--b-ink); font-size: 15px; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-footer .sc-legal :is(a, .sc-legal__resources a) { color: var(--b-text); text-decoration-color: var(--b-line); }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-footer .sc-legal__resources { border-top-color: var(--b-line); }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-footer .sc-legal__age { border-color: var(--b-line); color: var(--b-text); }
/* the Explore menu opens under the whole bar, centred */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-topbar-inner { position: relative; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-nav-drop.is-mega { position: static; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-desktop-nav { gap: 32px; margin-left: auto; margin-right: auto; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-topbar-spacer { display: none; }
@media print { html.b-motion .b-reveal, html.b-motion .b-pop { opacity: 1 !important; transform: none !important; } }

/* release 371 (builders' reports): leftovers of the old navy bar and cream theme, fixed for every page */
/* the closed phone menu sat 15px into a desktop screen as tick marks */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body #scTopMenuPanel[aria-hidden="true"] { visibility: hidden; }
/* the burger, search and account icons were white on the white bar (release 343's navy-bar rules) */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(header.sx-nav .sx-burger, header.scoutics-topbar .scoutics-menu-trigger) { color: var(--b-ink) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.sx-nav .sx-burger span,
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-menu-trigger::before,
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .scoutics-menu-trigger::after { background: var(--b-ink) !important; background-color: var(--b-ink) !important; border-color: var(--b-ink) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(header.sx-nav, header.scoutics-topbar) :is(svg, i.ti) { color: inherit; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(header.sx-nav, header.scoutics-topbar) :is(.sx-nav-right, .scoutics-topbar-inner) > :is(a, button):not(.scoutics-top-sim):not(.sx-btn) { color: var(--b-ink) !important; }
/* the old mint line under an open menu button */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(#sxMenu .sx-drop > button, .scoutics-desktop-nav .scoutics-nav-drop-btn)[aria-expanded="true"] { box-shadow: inset 0 -2px var(--b-primary) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(#sxMenu > a, #sxMenu .sx-drop > button, .scoutics-desktop-nav > a, .scoutics-desktop-nav .scoutics-nav-drop-btn) { color: var(--b-ink) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(#sxMenu > a, #sxMenu .sx-drop > button, .scoutics-desktop-nav > a, .scoutics-desktop-nav .scoutics-nav-drop-btn):is(:hover, .is-active, [aria-current="page"], [aria-expanded="true"]) { color: var(--b-primary) !important; }
/* the cream theme's thin headings and grey page: the designer's bold headings on white */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body { background-color: #fff; }
html.sx-cream:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body { background: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(h1, h2) { font-weight: 800 !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body h3 { font-weight: 700 !important; }
/* secondary buttons on indigo bands read white-outlined; a b-page body has no default margin */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.b-band, .b-cta-plain, .b-subhero) .b-btn-secondary { background: transparent !important; border-color: rgba(255, 255, 255, .85) !important; color: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.b-band, .b-cta-plain, .b-subhero) .b-btn-secondary:hover { background: rgba(255, 255, 255, .12) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(.b-band, .b-cta-plain, .b-subhero) .b-btn-light { background: #fff !important; color: var(--b-primary-700) !important; }
body.b-page { margin: 0; }
/* footer links keep the footer's colours on pages whose own sheet colours every link */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body footer.b-footer a:not(.b-footer-social) { color: var(--b-text) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body footer.b-footer a:not(.b-footer-social):hover { color: var(--b-primary-600) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body footer.b-footer .b-footer-card :is(a, p, strong) { color: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body footer.b-footer h2 { color: var(--b-ink) !important; font-size: 18px !important; }

/* release 371 (owner: "no symbol on top header ... just show the text like what we had before"): the SCOUTICS wordmark alone */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-logo { height: 17px; width: auto; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-footer-bottom img.b-logo { height: 17px; }
@media (max-width: 600px) { html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-logo { height: 14px; } }
/* the old footer's legal paragraphs above the legal notice */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-footer-notes { padding-top: 4px; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-footer-notes p { margin: 0 0 10px; max-width: 760px; color: var(--b-muted) !important; font-size: 13px; line-height: 1.6; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .b-footer-notes a { color: var(--b-text) !important; text-decoration: underline !important; text-underline-offset: 2px; }

/* release 373 (design review, R3): leftovers fixed for every page */
/* the phone bottom bar's current item in the brand indigo (it was navy) */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sc-tabbar a[aria-current="page"] { color: var(--b-primary-600) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-yellow { color: var(--b-primary) !important; }
/* the old light theme's body margin and grey page */
html.sx-cream:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) { background: #fff !important; }
html.sx-cream:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body { margin: 0 !important; }
/* the footer's small-print links reach 44px on phones */
@media (max-width: 767px) {
  html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body footer.b-footer :is(.sc-legal__resources a, .b-footer-notes a) { display: inline-flex; align-items: center; min-height: 44px; }
}
/* release 373 (design review, R2): the signed-in dot in the brand green; the page focus the age gate leaves is not ringed;
   the footer's social icons are 44px on phones */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sx-pb-on { background: var(--b-success) !important; box-shadow: 0 0 0 2px #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d):not(#sx371e) body :is(main, #main)[tabindex="-1"]:focus { outline: none !important; }
@media (max-width: 767px) { html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body footer.b-footer .b-footer-social { width: 44px; height: 44px; } }
/* release 373 (design review, R1): phone top-bar icons dark on the white bar; the Ask button and the sign-up strip in the brand */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .sx-pb { color: var(--b-ink) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .sx-pb svg.lc { stroke: var(--b-ink) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sca .sca-fab { background: var(--b-primary) !important; color: #fff !important; font-family: var(--b-font) !important; box-shadow: 0 10px 30px -10px rgba(70, 71, 229, .55) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sca .sca-fab:hover { background: var(--b-primary-600) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body #sx-signin { background: var(--b-primary-50) !important; border-color: transparent !important; border-radius: var(--b-radius) !important; box-shadow: none !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body #sx-signin .sxs-title { color: var(--b-ink) !important; font-weight: 800 !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body #sx-signin .sxs-line { color: var(--b-text) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d):not(#sx371e) body #sx-signin .sxs-btn:not(.sxs-outline) { background: var(--b-primary) !important; border-color: var(--b-primary) !important; color: #fff !important; }

/* release 377 (owner: "on phone version you don't need full SCOUTICS on top, just show the S"): the S mark on phones, the
   wordmark on wider screens (the link keeps its "Scoutics home" name) */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-mark { display: none; height: 28px; width: auto; }
@media (max-width: 767px) {
  html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-logo { display: none !important; }
  html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body header.scoutics-topbar .b-mark { display: block; }
}

/* release 377 (owner: "still some pages I see old style"): the desktop shell's page header (the owner's Customers, Messages and
   Stock pages, and any page that still shows it) in the designer's subpage look: an indigo title band, white title, no mint marker */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-hero { background: var(--b-primary) !important; border-radius: var(--b-radius-lg, 12px); border: 0 !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-hero-left { padding: 40px 44px !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-hero :is(.sds-title, .sds-title *, p, .sds-sub, .sds-lede) { color: #fff !important; -webkit-text-fill-color: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-title { font: 800 48px/1.05 var(--b-font) !important; letter-spacing: -.015em !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-title .sds-yellow { background: none !important; padding: 0 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-eye-pill { background: #fff !important; color: var(--b-primary-700) !important; font-family: var(--b-font) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-hero :is(.sds-eyebrow, .sds-eye, .sds-kicker) { color: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-hero-right { background: rgba(255, 255, 255, .1) !important; border-color: rgba(255, 255, 255, .25) !important; color: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-hero-right * { color: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-hero-right::before { display: none !important; }
@media (max-width: 767px) { html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-title { font-size: 34px !important; } html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-hero-left { padding: 28px 20px !important; } }
/* the owner's Stock page: its warm palette (orange calls and picks, beige panels) becomes the brand's */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body.admin-page {
  --bg: #fff; --panel: #fff; --raised: #F2F3F3; --line: #E3E4E4; --ink: #303131; --dim: #646867; --accent: #4647E5; --strategy: #5663F0; --market: #3B3CC4; background: #fff !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body.admin-page :is(.signal, .watch, .panel, section.card) { box-shadow: var(--b-shadow); border-radius: var(--b-radius-lg, 12px); }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body.admin-page .signal.is-hold { border-left-color: var(--b-primary) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body.admin-page .signal.is-hold .signal-word { background: var(--b-primary) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .sds-hero { margin-bottom: 28px !important; }
/* release 377: the brand font also on bold and italic labels, times and chart text (they kept Inter or the system font); icon
   fonts and code stay as they are */
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body :is(b, i, time, u, mark, abbr, cite, output, svg text, svg tspan):not(.ti):not([class^="ti-"]):not([class*=" ti-"]):not(.fa):not([class^="fa-"]):not([class*=" fa-"]):not(.material-icons):not(.material-symbols-outlined):not([class*="mono"]) { font-family: var(--b-font) !important; }
html:not(#sx371a):not(#sx371b):not(#sx371c):not(#sx371d) body .pricing-message.info { color: var(--b-ink) !important; border-color: var(--b-primary) !important; background: var(--b-primary-50) !important; }
