/* Shared Smart Fox homepage components. Load after style.css and themes.css. */
.sf-references {
  --sf-ref-paper: var(--paper, #fff);
  --sf-ref-ink: var(--ink, #171717);
  --sf-ref-rule: var(--line, #dededb);
  position: relative;
  padding: 26px 0 0;
  margin: 0;
  color: var(--sf-ref-ink);
  background: var(--sf-ref-paper);
  border-top: 1px solid var(--sf-ref-rule);
}
.sf-references-heading {
  width: min(1280px, calc(100% - 100px));
  margin: 0 auto 24px;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-right: 220px;
}
.sf-references .sf-references-heading h2 {
  color: var(--sf-ref-ink);
  font: 500 16px/1.55 var(--font, sans-serif);
  letter-spacing: 0;
  margin: 0;
}
.sf-references .sf-logo-strip {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--sf-ref-rule);
  isolation: isolate;
}
.sf-references .sf-logo-track {
  display: flex;
  width: max-content;
  animation: sf-brand-logo-drift 50s linear infinite;
  animation-play-state: paused;
}
.sf-references[data-sf-running="true"] .sf-logo-track { animation-play-state: running; }
.sf-references[data-sf-paused="true"] .sf-logo-track,
.sf-references .sf-logo-strip:is(:hover, :focus-within) .sf-logo-track { animation-play-state: paused; }
.sf-references .sf-logo-group { display: flex; flex: none; }
.sf-references .sf-logo-cell {
  width: 272px;
  height: 272px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--sf-ref-rule);
  background: var(--sf-ref-paper);
  flex: none;
  transition: background .2s ease;
}
.sf-references .sf-logo-cell:hover { background: var(--panel, #f3f3ef); }
.sf-references .sf-logo-cell img {
  width: auto;
  height: auto;
  max-width: 112px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}
.sf-references .sf-logo-cell:hover img { filter: none; mix-blend-mode: normal; }
html[data-theme="dark"] .sf-references .sf-logo-cell img,
html[data-theme="dark"] .sf-references .sf-logo-cell:hover img { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
.sf-references .sf-references-motion {
  display: flex;
  justify-content: flex-end;
  width: min(1280px, calc(100% - 100px));
  margin: 0 auto;
  padding: 9px 0;
}
.sf-references .sf-references-pause {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 44px;
  color: var(--sf-ref-ink);
  background: transparent;
  border: 0;
  padding: 8px 0 8px 12px;
  font: 12px/1.4 var(--font, sans-serif);
}
.sf-references[data-sf-enhanced] .sf-references-pause { display: inline-flex; }
.sf-references .sf-pause-symbol { font-size: 14px; width: 15px; text-align: center; }
.sf-references .sf-references-pause:hover { text-decoration: underline; text-underline-offset: 4px; }
.sf-references .sf-references-more { margin: 0; padding: 0; border: 0; }
.sf-references .sf-references-more > summary {
  position: absolute;
  right: max(50px, calc((100% - 1280px) / 2));
  top: 26px;
  min-height: 44px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 8px 0 8px 12px;
  margin: 0;
  color: var(--sf-ref-ink);
  cursor: pointer;
  font: 400 13px/1.4 var(--font, sans-serif);
  list-style: none;
}
.sf-references summary::-webkit-details-marker,
.sf-footer summary::-webkit-details-marker { display: none; }
/* The landing page's FAQ styles rotate direct summary spans globally.
   Reference labels and footer toggles keep their own typography/geometry. */
.sf-references .sf-references-more > summary > span,
.sf-footer .sf-footer-expertise summary > span {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  transform: none;
  rotate: none;
  translate: none;
  scale: none;
}
.sf-references .sf-less-label { display: none; }
.sf-references details[open] .sf-more-label { display: none; }
.sf-references details[open] .sf-less-label { display: inline; }
.sf-references .sf-details-mark,
.sf-footer .sf-details-mark { width: 12px; height: 12px; position: relative; flex: none; display: inline-block; }
.sf-references .sf-details-mark::before,
.sf-references .sf-details-mark::after,
.sf-footer .sf-details-mark::before,
.sf-footer .sf-details-mark::after { content: ''; position: absolute; background: currentColor; top: 5px; left: 0; width: 12px; height: 1px; }
.sf-references .sf-details-mark::after,
.sf-footer .sf-details-mark::after { transform: rotate(90deg); transition: transform .15s; }
.sf-references details[open] > summary .sf-details-mark::after,
.sf-footer details[open] > summary .sf-details-mark::after { transform: rotate(0); }
.sf-references .sf-references-grid {
  width: min(1280px, calc(100% - 100px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--sf-ref-rule);
  border-left: 1px solid var(--sf-ref-rule);
}
.sf-references .sf-references-grid .sf-logo-cell {
  width: 100%;
  height: 160px;
  min-width: 0;
  padding: 22px;
  border-bottom: 1px solid var(--sf-ref-rule);
}
.sf-references .sf-references-grid .sf-logo-cell img { max-width: min(112px, 100%); }
@keyframes sf-brand-logo-drift { to { transform: translateX(-50%); } }

/* Homepage CTA: the original pixel chevron in its lime square. */
html body :is(a,button).sf-cta.sf-cta {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 8px 8px 20px;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-family: var(--font, sans-serif);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: none;
  transform: none;
  transition: background .2s ease;
}
html body :is(a,button).sf-cta.sf-cta:hover { background: #282828; color: #fff; transform: none; }
html[data-theme="dark"] body :is(a,button).sf-cta.sf-cta { background: #f1f1f3; color: #1a1a1e; }
html[data-theme="dark"] body :is(a,button).sf-cta.sf-cta:hover { background: #fff; color: #1a1a1e; }
html body .sf-cta.sf-cta .sf-cta-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(#d6f54a, #c5ea2c);
  color: #141414;
}
html body .sf-cta .sf-cta-arrow > svg { width: 17px; height: 21px; color: #141414; transform: none; transition: translate .2s ease; }
html body .sf-cta:hover .sf-cta-arrow > svg { translate: 2px 0; }
html body .sf-cta:disabled { opacity: .6; cursor: not-allowed; }
html body .sf-cta.sf-cta.nav-cta { font-size: 13px; white-space: nowrap; }

/* The source Smart Fox footer remains black in both appearance modes. */
html body .sf-footer.sf-footer {
  background: #000;
  color: #fff;
  color-scheme: dark;
  display: block;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  --sf-footer-rule: #ffffff30;
}
.sf-footer .sf-footer-inner { width: min(1200px, 100%); margin: 0 auto; padding: 80px 48px 32px; }
.sf-footer .sf-footer-top { margin-bottom: 48px; }
.sf-footer .sf-footer-brand { display: inline-block; margin-bottom: 16px; }
.sf-footer .sf-footer-brand img { width: 256px; height: 32px; object-fit: contain; filter: invert(1); }
.sf-footer p, .sf-footer a, .sf-footer h2, .sf-footer summary { color: #fff; }
.sf-footer .sf-footer-description { max-width: 390px; font-size: 14px; line-height: 1.65; margin: 0 0 12px; }
.sf-footer .sf-footer-address { font-size: 13px; line-height: 1.7; margin: 0 0 20px; }
.sf-footer .sf-footer-address a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 4px; }
.sf-footer .sf-footer-socials { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sf-footer .sf-footer-socials > a { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid #ffffff18; border-radius: 0; background: #ffffff0d; }
.sf-footer .sf-social-icon { width: 16px; height: 16px; }
.sf-footer .sf-footer-certifications { margin-top: 32px; }
.sf-footer h2 { font: 600 12px/1.5 var(--font, sans-serif); letter-spacing: .06em; margin: 0 0 16px; }
.sf-footer .sf-footer-certifications > div { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sf-footer .sf-footer-certifications img { width: auto; max-width: 70px; height: 18px; object-fit: contain; filter: none; opacity: 1; }
.sf-footer .sf-footer-certifications img:nth-child(2) { height: 15px; }
.sf-footer .sf-footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; margin-bottom: 56px; }
.sf-footer .sf-footer-column { min-width: 0; }
.sf-footer .sf-footer-link-group h2 { text-transform: uppercase; }
.sf-footer .sf-footer-link-group + .sf-footer-link-group { margin-top: 32px; }
.sf-footer ul { margin: 0; padding: 0; list-style: none; }
.sf-footer li + li { margin-top: 8px; }
.sf-footer .sf-footer-columns a { font-size: 14px; line-height: 1.55; display: inline-flex; align-items: center; min-height: 36px; }
.sf-footer .sf-footer-expertise details { border: 1px solid #ffffff1f; margin: 0 0 8px; padding: 0; border-radius: 0; }
.sf-footer .sf-footer-expertise summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; cursor: pointer; min-height: 44px; margin: 0; padding: 10px 12px; font: 400 13px/1.4 var(--font,sans-serif); }
.sf-footer .sf-footer-expertise details > ul { padding: 0 12px 14px; }
.sf-footer .sf-footer-expertise details li + li { margin-top: 7px; }
.sf-footer .sf-footer-expertise details a { font-size: 13px; }
.sf-footer .sf-footer-bottom { border-top: 1px solid var(--sf-footer-rule); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.sf-footer .sf-footer-bottom > p { max-width: 560px; font-size: 12px; line-height: 1.6; margin: 0; }
.sf-footer .sf-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.sf-footer .sf-footer-legal a { font-size: 12px; line-height: 1.5; min-height: 32px; display: flex; align-items: center; }
.sf-footer a { transition: color .2s, background .2s; }
.sf-footer a:hover { color: #ded6c7; text-decoration: underline; text-underline-offset: 5px; }
.sf-footer .sf-footer-socials a:hover { background: #25231f; text-decoration: none; }
.sf-footer a:focus-visible, .sf-footer summary:focus-visible { outline: 3px solid #d4ef4a; outline-offset: 4px; }
.sf-footer .sf-footer-pixel-signature { height: 250px; width: calc(100% - 64px); margin: 30px auto 0; position: relative; mask-image: linear-gradient(to bottom, transparent 0%, #0003 30%, #000 95%); }
.sf-footer .sf-footer-pixel-signature canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.sf-footer .sf-pixel-fallback { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; height: 100%; color: #fff; font: 800 clamp(18px, 6vw, 90px)/1.1 var(--font,sans-serif); letter-spacing: -.04em; }
.sf-footer .sf-footer-pixel-signature[data-rendered] .sf-pixel-fallback { display: none; }

@media (max-width: 1199px) {
  .sf-footer .sf-footer-columns { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px 28px; }
  .sf-references .sf-references-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .sf-references-heading, .sf-references .sf-references-motion, .sf-references .sf-references-grid { width: calc(100% - 48px); }
  .sf-references .sf-references-more > summary { right: 24px; }
  .sf-footer .sf-footer-inner { padding: 56px 32px 32px; }
  .sf-footer .sf-footer-bottom { flex-direction: column; align-items: flex-start; }
  .sf-footer .sf-footer-pixel-signature { height: 190px; width: calc(100% - 32px); margin-top: 16px; }
  html body :is(a,button).sf-cta.sf-cta.nav-cta { min-height: 44px; padding: 5px 5px 5px 12px; gap: 10px; font-size: 12px; }
  html body .sf-cta.nav-cta .sf-cta-arrow { width: 31px; height: 31px; flex-basis: 31px; }
}
@media (max-width: 767px) {
  .sf-references .sf-logo-cell { width: 160px; height: 160px; padding: 25px; }
  .sf-references .sf-logo-cell img { max-width: 80px; max-height: 40px; }
  .sf-references .sf-references-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sf-references .sf-references-grid .sf-logo-cell { height: 130px; padding: 18px; }
  .sf-footer .sf-footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
  .sf-references-heading { padding-right: 0; }
  .sf-references .sf-references-more > summary { position: static; width: calc(100% - 48px); margin: 0 auto 12px; padding: 8px 0; justify-content: flex-end; }
  .sf-references .sf-references-motion { padding-bottom: 0; }
}
@media (max-width: 480px) {
  .sf-references { padding-top: 18px; }
  .sf-references-heading { width: calc(100% - 36px); padding-right: 0; margin-bottom: 16px; }
  .sf-references .sf-references-heading h2 { font-size: 14px; max-width: none; }
  .sf-references .sf-references-more > summary { width: calc(100% - 36px); gap: 10px; font-size: 12px; }
  .sf-references .sf-references-motion, .sf-references .sf-references-grid { width: calc(100% - 36px); }
  .sf-references .sf-references-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sf-references .sf-references-pause { font-size: 11px; }
  .sf-footer .sf-footer-inner { padding: 48px 24px 24px; }
  .sf-footer .sf-footer-top { margin-bottom: 40px; }
  .sf-footer .sf-footer-columns { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .sf-footer .sf-footer-columns a { font-size: 13px; }
  .sf-footer .sf-footer-brand img { max-width: 240px; height: auto; }
  .sf-footer .sf-footer-expertise summary { font-size: 12px; padding: 10px 9px; }
  .sf-footer .sf-footer-expertise details > ul { padding-inline: 9px; }
  .sf-footer .sf-footer-pixel-signature { height: 130px; width: calc(100% - 16px); }
  html body :is(a,button).sf-cta.sf-cta { font-size: 13px; gap: 14px; padding-left: 15px; }
  html body :is(a,button).sf-cta.sf-cta.nav-cta { font-size: 10px; gap: 6px; padding-left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-references .sf-logo-track { animation: none; }
  .sf-references .sf-logo-strip { overflow-x: auto; }
  .sf-references .sf-logo-group[aria-hidden="true"] { display: none; }
  .sf-references .sf-references-motion { display: none; }
  .sf-references .sf-logo-cell, html body .sf-cta, html body .sf-cta .sf-cta-arrow > svg { transition: none; }
}
