/* Components moved out of Elementor HTML widgets. Colours use the Elementor v4 variables (--label). */

/* ==== FX accordion (Image Cards component #653, hook classes fx-accordion / fx-accordion-card) ==== */
/* ==========================================
   FX ACCORDION v2.1
   ELEMENTOR ATOMIC WIDGETS
========================================== */

.fx-accordion {
  --fx-gap: 32px;
  --fx-radius: 20px;
  --fx-height: 630px;

  --fx-padding-x: 32px;
  --fx-padding-y: 32px;

  --fx-title-size: 32px;
  --fx-description-size: 16px;
  --fx-description-gap: 24px;

  --fx-expand: 2.2;
  --fx-duration: 750ms;
  --fx-ease: cubic-bezier(.22, 1, .36, 1);

  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;

  gap: var(--fx-gap) !important;
  width: 100%;
  min-width: 0;
}

/* ==========================================
   CARD
========================================== */

.fx-accordion > .fx-accordion-card {
  position: relative !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
  gap: 0 !important;

  flex: 1 1 0% !important;
  min-width: 0 !important;

  height: var(--fx-height);
  min-height: 0 !important;

  padding:
    var(--fx-padding-y)
    var(--fx-padding-x) !important;

  box-sizing: border-box;
  border-radius: var(--fx-radius);

  overflow: hidden !important;
  isolation: isolate;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  cursor: pointer;

  transition:
    flex-grow var(--fx-duration) var(--fx-ease)
    !important;
}

/* ==========================================
   BACKGROUND OVERLAY
========================================== */

.fx-accordion > .fx-accordion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  border-radius: inherit;

  /* Image card overlay (Figma Layout / 423 / 395). Tuned by eye against Figma on 2026-10-29: the literal Figma
     fills rendered too dark. Teal fades in from 40% down to solid, plus a light black lift at the top. */
  background:
    linear-gradient(180deg, rgb(15 46 51 / 0%) 40.48%, var(--deep-teal) 99.96%),
    linear-gradient(0deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 15%) 100%);
  background-repeat: no-repeat;

  pointer-events: none;
}

/* ==========================================
   COMMON CONTENT STYLES
========================================== */

.fx-accordion > .fx-accordion-card > h4,
.fx-accordion > .fx-accordion-card > p {
  position: relative !important;
  z-index: 2;

  box-sizing: border-box;

  color: var(--white) !important;
  -webkit-text-fill-color: var(--white) !important;

  mix-blend-mode: normal !important;
  text-shadow: none !important;

  padding: 0 !important;
}

/* ==========================================
   TITLE
   FIXED: NO FORCED NARROW WIDTH
========================================== */

.fx-accordion > .fx-accordion-card > h4 {
  display: block !important;

  font-family: inherit;
  font-size: var(--fx-title-size) !important;
  font-weight: 700 !important;
  font-style: normal;
  line-height: 1.3 !important;

  /* Important fix */
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  height: auto !important;
  min-height: 0 !important;

  flex: 0 0 auto !important;

  margin: 0 !important;

  opacity: 1 !important;
  visibility: visible !important;

  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;

  transition: none !important;
}

/* ==========================================
   DESCRIPTION
   HIDDEN BY DEFAULT
========================================== */

.fx-accordion > .fx-accordion-card > p {
  display: block !important;

  font-family: inherit;
  font-size: var(--fx-description-size) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;

  width: 100% !important;
  min-width: 0;

  flex: 0 0 auto !important;

  height: auto !important;
  max-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;

  opacity: 0 !important;
  visibility: hidden !important;

  transform: translateY(12px);
  pointer-events: none;

  transition:
    max-height 650ms var(--fx-ease),
    margin-top 650ms var(--fx-ease),
    opacity 400ms ease,
    transform 550ms var(--fx-ease),
    visibility 400ms ease
    !important;
}

/* ==========================================
   DESKTOP EXPANSION
========================================== */

@media (hover: hover) and (pointer: fine) {

  .fx-accordion > .fx-accordion-card:hover {
    flex-grow: var(--fx-expand) !important;
  }

  .fx-accordion > .fx-accordion-card:hover > p {
    max-height: 400px !important;
    margin-top: var(--fx-description-gap) !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Active state for tap and keyboard */
.fx-accordion > .fx-accordion-card.is-active {
  flex-grow: var(--fx-expand) !important;
}

.fx-accordion > .fx-accordion-card.is-active > p {
  max-height: 400px !important;
  margin-top: var(--fx-description-gap) !important;

  opacity: 1 !important;
  visibility: visible !important;

  transform: translateY(0);
  pointer-events: auto;
}

/* Keyboard focus */
.fx-accordion > .fx-accordion-card:focus-visible {
  outline: 3px solid var(--accent) !important;
  outline-offset: 3px;
}

/* ==========================================
   TABLET
========================================== */

@media (min-width: 768px) and (max-width: 1199px) {

  .fx-accordion {
    --fx-height: 500px;
    --fx-gap: 12px;

    --fx-padding-x: 20px;
    --fx-padding-y: 28px;

    --fx-title-size: 24px;
    --fx-description-size: 14px;

    --fx-expand: 2;
  }
}

/* ==========================================
   SMALL TABLET
========================================== */

@media (min-width: 768px) and (max-width: 900px) {

  .fx-accordion {
    flex-direction: column !important;

    --fx-gap: 14px;
    --fx-title-size: 25px;
    --fx-description-size: 15px;
  }

  .fx-accordion > .fx-accordion-card {
    flex: none !important;
    width: 100% !important;

    height: auto !important;
    min-height: 170px !important;

    transition:
      min-height 650ms var(--fx-ease)
      !important;
  }

  .fx-accordion > .fx-accordion-card.is-active {
    flex-grow: 0 !important;
    min-height: 320px !important;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

  .fx-accordion {
    flex-direction: column !important;

    --fx-gap: 14px;
    --fx-radius: 16px;

    --fx-padding-x: 24px;
    --fx-padding-y: 24px;

    --fx-title-size: 24px;
    --fx-description-size: 15px;
    --fx-description-gap: 16px;
  }

  .fx-accordion > .fx-accordion-card {
    flex: none !important;
    width: 100% !important;

    height: auto !important;
    min-height: 160px !important;

    transition:
      min-height 650ms var(--fx-ease)
      !important;
  }

  .fx-accordion > .fx-accordion-card.is-active {
    flex-grow: 0 !important;
    min-height: 320px !important;
  }

  .fx-accordion > .fx-accordion-card > h4 {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 380px) {

  .fx-accordion {
    --fx-padding-x: 18px;
    --fx-padding-y: 20px;

    --fx-title-size: 21px;
    --fx-description-size: 14px;
  }

  .fx-accordion > .fx-accordion-card.is-active {
    min-height: 300px !important;
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

  .fx-accordion > .fx-accordion-card,
  .fx-accordion > .fx-accordion-card > p {
    transition: none !important;
    animation: none !important;
  }
}

/* ==== Scroll stacking cards (Home) ==== */

/* ===================================
   SCROLL STACKING CARDS
   Only works inside .stack-section
=================================== */

.stack-section {
  position: relative;
  overflow: visible !important;
}

.stack-section .stack-cards,
.stack-section .sa-points {
  position: relative;
  overflow: visible !important;
}

.stack-section .stack-card,
.stack-section .sa-point {
  position: sticky !important;
  top: var(--stack-top, 100px) !important;
  z-index: var(--stack-index, 1);
  isolation: isolate; /* keep the background opaque when stacked */

  /* Smooth motion */
  will-change: transform;
  transform-origin: center top;
  transition: box-shadow 0.25s ease;
  backface-visibility: hidden;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .stack-section .stack-card,
  .stack-section .sa-point {
    top: var(--stack-top, 80px) !important;
    will-change: auto;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .stack-card, .sa-point {
    transition: none !important;
    transform: none !important;
  }
}

/* ==== Integrations progress steps (Home) ==== */
/* Main section */
.fx-progress-section {
  width: 100%;
  background: var(--white);
  box-sizing: border-box;
  font-family: inherit;
}

/* Five equal columns */
.fx-progress-container {
  display: flex;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  align-items: flex-start;
}

.fx-progress-step {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  position: relative;
}

/* Icons and horizontal lines */
.fx-progress-top {
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: calc(50% - 12px);
}

/* Green checkmark */
.fx-check {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  z-index: 2;
}

.fx-check svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: var(--green);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.fx-circle,
.fx-tick {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

/* Connecting line */
.fx-connector {
  height: 2px;
  flex: 1;
  background: var(--border-on-light);
  margin-left: 9px;
  position: relative;
  overflow: visible;
}

.fx-connector::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 136%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
}

/* Extend connector to next check */
.fx-progress-step:not(:last-child)
.fx-progress-top {
  padding-right: 0;
}

.fx-progress-step:not(:last-child)
.fx-connector {
  margin-right: calc(-50% + 21px);
  z-index: 1;
}

.fx-progress-step:not(:last-child)
.fx-progress-top {
  z-index: 1;
}

/* Step labels */

.fx-progress-label {
  color: var(--deep-teal);
  text-align: center;
  font-family: inherit;
  font-size:18px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 28px */

  padding: 15px 8px 0;
  letter-spacing: normal;
}


/* Animations activate on scroll */
.fx-progress-section.fx-visible .fx-circle {
  animation: fxDraw 0.65s ease forwards;
  animation-delay: var(--fx-delay);
}

.fx-progress-section.fx-visible .fx-tick {
  animation: fxDraw 0.45s ease forwards;
  animation-delay: calc(var(--fx-delay) + 0.4s);
}

.fx-progress-section.fx-visible
.fx-connector::after {
  animation: fxLine 0.65s ease forwards;
  animation-delay: calc(var(--fx-delay) + 0.65s);
}

.fx-progress-step:nth-child(1) {
  --fx-delay: 0s;
}
.fx-progress-step:nth-child(2) {
  --fx-delay: 1.1s;
}
.fx-progress-step:nth-child(3) {
  --fx-delay: 2.2s;
}
.fx-progress-step:nth-child(4) {
  --fx-delay: 3.3s;
}
.fx-progress-step:nth-child(5) {
  --fx-delay: 4.4s;
}

@keyframes fxDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fxLine {
  to {
    transform: scaleX(1);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .fx-progress-section {
    padding: 45px 12px;
  }

  .fx-progress-label {
    font-size: 15px;
    letter-spacing: 0;
    padding-left: 5px;
    padding-right: 5px;
  }

  .fx-check {
    width: 22px;
    height: 22px;
  }

  .fx-progress-top {
    padding-left: calc(50% - 11px);
  }
}

/* Mobile: vertical timeline */
@media (max-width: 767px) {
  .fx-progress-section {
    padding: 35px 25px;
  }

  .fx-progress-container {
    flex-direction: column;
    max-width: 450px;
  }

  .fx-progress-step {
    display: flex;
    width: 100%;
    min-height: 92px;
    flex: none;
    align-items: flex-start;
    text-align: left;
  }

  .fx-progress-top {
    padding: 0 !important;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    justify-content: center;
  }

  .fx-check {
    width: 24px;
    height: 24px;
  }

  .fx-connector {
    position: absolute;
    left: 14px;
    top: 29px;
    height: 62px;
    width: 2px;
    margin: 0 !important;
    background: var(--border-on-light);
  }

  .fx-connector::after {
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
  }

  .fx-progress-section.fx-visible
  .fx-connector::after {
    animation: fxLineVertical 0.65s ease forwards;
    animation-delay: calc(var(--fx-delay) + 0.65s);
  }

  .fx-progress-label {
    padding: 1px 0 0 16px;
    font-size: 17px;
    line-height: 1.4;
    text-align: left;
  }

  .fx-progress-step:last-child {
    min-height: auto;
  }
}

@keyframes fxLineVertical {
  to {
    transform: scaleY(1);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .fx-circle,
  .fx-tick {
    stroke-dashoffset: 0;
    animation: none !important;
  }

  .fx-connector::after {
    transform: scaleX(1);
    animation: none !important;
  }

  @media (max-width: 767px) {
    .fx-connector::after {
      transform: scaleY(1);
    }
  }
}

/* ==== Text highlights (global classes highlight-accent / highlight-green, stat-number) ==== */
/* The scripts wrap the green words in <span>. Editors can't type a span in the v4 rich text field, so bold (B in the
   toolbar) does the same job there: coloured, not heavier. */
.e-heading-base span,
.highlight-accent span,
.highlight-accent b,
.highlight-accent strong {
  color: var(--accent);
  font-weight: inherit;
}

.highlight-green span,
.highlight-green b,
.highlight-green strong {
  color: var(--green);
  font-weight: inherit;
}

/* "6 months": Figma sets the unit at 32px against the 80px figure, on the same baseline. */
.stat-number span {
  font-size: 0.4em;
  vertical-align: baseline;
  line-height: 0; /* keep the line box at the figure's height so the label below doesn't drop */
  margin-left: -3%;	
}

/* ==== FX accordion card photo (overridable e-image, class fx-card-image) ==== */
.fx-accordion > .fx-accordion-card > .fx-card-image,
.fx-accordion > .fx-accordion-card > * > .fx-card-image {
  position: absolute !important;
  inset: 0;
  z-index: -1;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
}

/* ==== Optional items: anything left blank on a page is hidden ====
   Components carry the maximum number of items (cards, rows, accordion items, stats, buttons).
   A page fills the ones it needs. Empty text elements are removed server-side
   (hello_elementor_child_strip_empty_text in functions.php), so an item with no text element left is hidden here. */
:is(.feature-card, .feature-inline, .stat-item, .faq-item, .optional-item):not(:has(.e-heading-base, .e-paragraph-base)) {
  display: none !important;
}

.optional-row:not(:has(.e-heading-base, .e-paragraph-base)) {
  display: none !important;
}

/* ==== Content-type shortcodes (case study stats/testimonials, webinar speakers/learn/sign-up; Figma detail pages 2026-10-30) ==== */
/* Case study stats (Stats / 7): 48px gap, 1px white 70% rule, value 48 accent, label 18/500 white. */
.sa-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 48px;
}

.sa-stat {
  padding-left: 32px;
  border-left: 1px solid var(--white-fade);
}

.sa-stat__value {
  margin: 0 0 8px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent);
}

.sa-stat__label {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
}

/* Case study testimonials (Testimonial / 44): minty r40 cards, photo 624x320 on top, 32px padding. */
.sa-testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.sa-testimonial {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-large);
  background: var(--minty-white);
}

.sa-testimonial__image {
  width: 100%;
  aspect-ratio: 624 / 320;
  object-fit: cover;
  margin: 0 0 32px;
}

.sa-testimonial__quote {
  margin: 0 0 24px;
  padding: 0 32px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--teal-light);
}

.sa-testimonial figcaption {
  padding: 0 32px 32px;
  font-size: 16px;
  color: var(--deep-teal);
}

.sa-testimonial figcaption strong {
  font-weight: 600;
}

/* Webinar speakers (Layout / 613): two columns, 156px photo r10, name 24, role 20/700 accent, bio 16 at 70%. */
.sa-speakers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 64px;
}

.sa-speaker {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.sa-speaker__photo {
  width: 156px;
  height: 156px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.sa-speakers .sa-speaker__name {
  margin: 0 0 4px;
  font-size: 24px;
}

.sa-speaker__role {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.sa-speaker__bio {
  margin: 0;
  font-size: 16px;
  color: var(--teal-light);
}

/* What you'll learn (Layout / 308, minty band): accent check icon, 16px copy at 70%, two columns. */
.sa-learn {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  font-size: 16px;
  color: var(--teal-light);
}

.sa-learn li {
  padding-left: 48px;
  position: relative;
}

.sa-learn li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.0635 6.79785C19.1627 6.79788 19.2389 6.82834 19.3174 6.90723C19.396 6.98628 19.4267 7.06364 19.4268 7.16504C19.4268 7.26621 19.3965 7.34439 19.3184 7.42383L9.7002 17.0352C9.618 17.1167 9.54201 17.1455 9.44922 17.1455C9.35658 17.1455 9.28147 17.1173 9.20117 17.0371L4.66602 12.502C4.58904 12.4238 4.56097 12.3493 4.56348 12.252C4.56631 12.1459 4.60105 12.0636 4.68262 11.9824C4.76168 11.9038 4.83902 11.8731 4.94043 11.873C5.01685 11.873 5.08003 11.8905 5.14062 11.9326L5.20117 11.9834L9.0957 15.8965L9.44922 16.252L9.80371 15.8975L18.7959 6.91113C18.8809 6.82853 18.9627 6.79785 19.0635 6.79785Z' fill='%23000' stroke='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.0635 6.79785C19.1627 6.79788 19.2389 6.82834 19.3174 6.90723C19.396 6.98628 19.4267 7.06364 19.4268 7.16504C19.4268 7.26621 19.3965 7.34439 19.3184 7.42383L9.7002 17.0352C9.618 17.1167 9.54201 17.1455 9.44922 17.1455C9.35658 17.1455 9.28147 17.1173 9.20117 17.0371L4.66602 12.502C4.58904 12.4238 4.56097 12.3493 4.56348 12.252C4.56631 12.1459 4.60105 12.0636 4.68262 11.9824C4.76168 11.9038 4.83902 11.8731 4.94043 11.873C5.01685 11.873 5.08003 11.8905 5.14062 11.9326L5.20117 11.9834L9.0957 15.8965L9.44922 16.252L9.80371 15.8975L18.7959 6.91113C18.8809 6.82853 18.9627 6.79785 19.0635 6.79785Z' fill='%23000' stroke='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Case study points ([sa_case_points field=... icon=... style=...]): title + text rows from the Case Study repeaters.
   "rows" = the Challenge / Solution cards (Figma Comparison / 13: 1px lines between rows, 24px deep-teal x or check,
   title 20/700, text 16 at 100%). "cards" = The Results (Figma Layout / 353: white bordered cards r20, 32px accent
   circle with the white lens_blur glyph, title 24/700, text 16 at 70%). The design sizes these titles at 20 / 24px, so
   the kit heading sizes are overridden here (selector specificity beats the kit's `h3` / `h4` rules). */
.sa-points {
  display: flex;
  flex-direction: column;
}

.sa-points--rows {
  border-top: 1px solid var(--border-on-light);
}

.sa-points--rows .sa-point {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-on-light);
}

.sa-points--rows .sa-point:last-child {
  border-bottom: 0;
}

.sa-points .sa-point__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--deep-teal);
}

.sa-points .sa-point__text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--deep-teal);
}

.sa-point__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.sa-points--cross .sa-point__icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5996 5.925C17.7639 5.925 17.8659 5.97351 17.9463 6.05391C18.0265 6.13422 18.0751 6.2357 18.0752 6.39961C18.0752 6.56382 18.0266 6.6659 17.9463 6.74629L12.6924 12.0002L13.0459 12.3537L17.9463 17.2531C18.0267 17.3335 18.0752 17.4357 18.0752 17.5998C18.0752 17.7641 18.0267 17.8661 17.9463 17.9465C17.8659 18.0269 17.7639 18.0754 17.5996 18.0754C17.4355 18.0754 17.3333 18.0269 17.2529 17.9465L12.3535 13.0461L12 12.6926L6.74609 17.9465C6.66571 18.0268 6.56362 18.0754 6.39941 18.0754C6.23551 18.0753 6.13402 18.0267 6.05371 17.9465C5.97331 17.8661 5.9248 17.7641 5.9248 17.5998C5.92484 17.4357 5.97334 17.3335 6.05371 17.2531L11.3066 12.0002L10.9531 11.6467L6.05371 6.74629C5.97331 6.66589 5.9248 6.56388 5.9248 6.39961C5.92488 6.23557 5.97337 6.13425 6.05371 6.05391C6.13405 5.97357 6.23537 5.92508 6.39941 5.925C6.56368 5.925 6.66569 5.97351 6.74609 6.05391L11.6465 10.9533L12 11.3068L17.2529 6.05391C17.3333 5.97354 17.4355 5.92504 17.5996 5.925Z' fill='%23000' stroke='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5996 5.925C17.7639 5.925 17.8659 5.97351 17.9463 6.05391C18.0265 6.13422 18.0751 6.2357 18.0752 6.39961C18.0752 6.56382 18.0266 6.6659 17.9463 6.74629L12.6924 12.0002L13.0459 12.3537L17.9463 17.2531C18.0267 17.3335 18.0752 17.4357 18.0752 17.5998C18.0752 17.7641 18.0267 17.8661 17.9463 17.9465C17.8659 18.0269 17.7639 18.0754 17.5996 18.0754C17.4355 18.0754 17.3333 18.0269 17.2529 17.9465L12.3535 13.0461L12 12.6926L6.74609 17.9465C6.66571 18.0268 6.56362 18.0754 6.39941 18.0754C6.23551 18.0753 6.13402 18.0267 6.05371 17.9465C5.97331 17.8661 5.9248 17.7641 5.9248 17.5998C5.92484 17.4357 5.97334 17.3335 6.05371 17.2531L11.3066 12.0002L10.9531 11.6467L6.05371 6.74629C5.97331 6.66589 5.9248 6.56388 5.9248 6.39961C5.92488 6.23557 5.97337 6.13425 6.05371 6.05391C6.13405 5.97357 6.23537 5.92508 6.39941 5.925C6.56368 5.925 6.66569 5.97351 6.74609 6.05391L11.6465 10.9533L12 11.3068L17.2529 6.05391C17.3333 5.97354 17.4355 5.92504 17.5996 5.925Z' fill='%23000' stroke='%23000'/%3E%3C/svg%3E");
}

.sa-points--check .sa-point__icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(4.07 6.33)'%3E%3Cpath d='M15 0.5C15.0992 0.500032 15.1754 0.530485 15.2539 0.609375C15.3325 0.688423 15.3633 0.76579 15.3633 0.867188C15.3633 0.968357 15.333 1.04653 15.2549 1.12598L5.63672 10.7373C5.55452 10.8188 5.47853 10.8476 5.38574 10.8477C5.29311 10.8477 5.218 10.8194 5.1377 10.7393L0.602539 6.2041C0.525564 6.12592 0.497496 6.0514 0.5 5.9541C0.502835 5.84807 0.537576 5.76574 0.619141 5.68457C0.698206 5.60593 0.775547 5.57522 0.876953 5.5752C0.953371 5.5752 1.01655 5.59261 1.07715 5.63477L1.1377 5.68555L5.03223 9.59863L5.38574 9.9541L5.74023 9.59961L14.7324 0.613281C14.8174 0.530676 14.8992 0.5 15 0.5Z' fill='%23000' stroke='%23000'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(4.07 6.33)'%3E%3Cpath d='M15 0.5C15.0992 0.500032 15.1754 0.530485 15.2539 0.609375C15.3325 0.688423 15.3633 0.76579 15.3633 0.867188C15.3633 0.968357 15.333 1.04653 15.2549 1.12598L5.63672 10.7373C5.55452 10.8188 5.47853 10.8476 5.38574 10.8477C5.29311 10.8477 5.218 10.8194 5.1377 10.7393L0.602539 6.2041C0.525564 6.12592 0.497496 6.0514 0.5 5.9541C0.502835 5.84807 0.537576 5.76574 0.619141 5.68457C0.698206 5.60593 0.775547 5.57522 0.876953 5.5752C0.953371 5.5752 1.01655 5.59261 1.07715 5.63477L1.1377 5.68555L5.03223 9.59863L5.38574 9.9541L5.74023 9.59961L14.7324 0.613281C14.8174 0.530676 14.8992 0.5 15 0.5Z' fill='%23000' stroke='%23000'/%3E%3C/g%3E%3C/svg%3E");
}

.sa-points--cards {
  gap: 32px;
}

.sa-points--cards .sa-point {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-medium);
}

.sa-points--cards .sa-point__title {
  gap: 20px;
  font-size: 24px;
}

.sa-points--cards .sa-point__text {
  color: var(--teal-light);
}

.sa-points--lens .sa-point__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent) url("../img/lens-blur-white.svg") center / 25px 25px no-repeat;
  -webkit-mask: none;
  mask: none;
}

@media (max-width: 767px) {
  .sa-points .sa-point__title {
    font-size: 18px;
  }

  .sa-points--cards .sa-point__title {
    font-size: 20px;
  }

  .sa-points--cards {
    gap: 24px;
  }
}

/* Webinar sign-up card ([sa_webinar_signup] inside the dark green gradient card; hook class sa-signup-dark on the shortcode
   widget, its only placement): white labels, white inputs r5, 14px note at 70%, "Watch Now" as a translucent white
   outline button. Posts nowhere yet, see content-shortcodes.php. */
.sa-signup-dark .sa-signup {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sa-signup-dark .sa-signup__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}

.sa-signup-dark .sa-signup__field input {
  height: 48px;
  padding: 12px;
  border: 1px solid var(--border-on-light);
  border-radius: 5px;
  font: inherit;
  background: var(--white);
  color: var(--deep-teal);
}

.sa-signup-dark .sa-signup__note {
  margin: 0;
  font-size: 14px;
  color: var(--white-fade);
}

.sa-signup-dark .sa-signup__submit {
  align-self: flex-start;
  padding: 12px 24px;
  border: 1px solid var(--white);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--white) 20%, transparent);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.3s;
}

.sa-signup-dark .sa-signup__submit:hover,
.sa-signup-dark .sa-signup__submit:focus-visible {
  background: color-mix(in srgb, var(--white) 35%, transparent);
}

@media (max-width: 1024px) {
  .sa-stats,
  .sa-testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sa-stats,
  .sa-testimonials,
  .sa-learn,
  .sa-speakers {
    grid-template-columns: 1fr;
  }

  .sa-speaker {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==== Header Contact Sales (v3 button): hover matches btn-primary (brightness, 0.3s). Gradients can't animate. ==== */
.elementor-location-header .elementor-button {
  transition: filter 0.3s;
  white-space: nowrap; /* never wraps "Contact Sales" when the row gets tight */
}

.elementor-location-header .elementor-button:hover,
.elementor-location-header .elementor-button:focus-visible {
  filter: brightness(90%);
}

/* ==== Tabs Showcase (component 697, hook class tabs-showcase) ====
   Figma (Layout / 1): image left with 10px radius; heading, text and then the two tab buttons stacked in the
   right column, the group centred against the image. e-tabs keeps its menu and content as siblings, so the left
   column and the tabs root become display: contents and the wrapper lays the three parts out on a grid. The
   image spans both rows; its surplus height is absorbed by stretching the text column (content at the bottom)
   and the menu (buttons at the top), so the 32px row gap is the only space between text and buttons. */
.tabs-showcase {
  display: grid !important;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  grid-template-rows: auto auto;
  /* !important: the wrapper's col-gap-80 class (gap: 80px) has higher specificity */
  column-gap: 80px !important;
  row-gap: 32px !important;
}

.tabs-showcase > .e-flexbox-base:first-child,
.tabs-showcase .e-tabs-base {
  display: contents !important;
}

.tabs-showcase .e-tabs-content-area-base {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
}

.tabs-showcase .e-tab-content-base {
  padding: 0 !important;
}

.tabs-showcase > .e-flexbox-base:last-child {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  justify-self: start;
  justify-content: flex-end !important;
  width: auto !important;
  margin: 0 !important;
}

.tabs-showcase .e-tabs-menu-base {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  align-items: flex-start !important;
  align-content: flex-start !important;
  justify-content: flex-start !important;
}

@media (max-width: 1024px) {
  .tabs-showcase {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: 24px !important;
  }

  .tabs-showcase .e-tabs-content-area-base { grid-column: 1; grid-row: 1; }
  .tabs-showcase > .e-flexbox-base:last-child { grid-column: 1; grid-row: 2; }
  .tabs-showcase .e-tabs-menu-base { grid-column: 1; grid-row: 3; }
}

/* ==== Footer column headings (v3 text-editor): drop the theme paragraph margin so heading-to-link is 16px (Figma) ==== */
.elementor-location-footer .elementor-widget-text-editor p {
  margin-bottom: 0;
}

/* ==== Header nav dropdown (v3 nav-menu, header template #35) ====
   Shift the desktop dropdown left by the dropdown item padding (20px) + border (1px) so its link text lines up with
   the parent item's text. SmartMenus writes an inline margin-left: 0, hence !important. The ::before bridge covers
   the 12px gap set by the widget's Dropdown > Distance control, so the menu stays open while the pointer crosses it. */
.elementor-location-header .elementor-nav-menu--main > .elementor-nav-menu > li > .elementor-nav-menu--dropdown {
  margin-left: -21px !important;
}

.elementor-location-header .elementor-nav-menu--main > .elementor-nav-menu > li > .elementor-nav-menu--dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}

/* ==== Header sticky shrink (header template #35) ====
   Elementor adds elementor-sticky--effects to the sticky root container once the page is scrolled past its
   Effects Offset (40px). The boxed container's padding renders on .e-con-inner from --padding-top/bottom. */
.elementor-location-header .e-con.elementor-sticky > .e-con-inner {
  transition: padding 0.3s ease;
}

.elementor-location-header .elementor-element.e-con.elementor-sticky--effects {
  --padding-top: 20px;
  --padding-bottom: 20px;
}

/* ==== Image card photo crops (Figma Layout / 395 CROP transforms): the landscape photos show the slice from 42.5% /
   50% of the frame; portrait photos aren't affected. object-position isn't a v4 style prop, hence here. ==== */
.fx-accordion > .fx-accordion-card:nth-child(1) > .fx-card-image { object-position: 64% 50%; }
.fx-accordion > .fx-accordion-card:nth-child(2) > .fx-card-image { object-position: 76% 50%; }
.fx-accordion > .fx-accordion-card:nth-child(3) > .fx-card-image { object-position: 50% 50%; }

/* ==== Feature Grid (component 616, hook class feature-grid): Figma Layout / 245 fills a two-card last row at 50% each.
   Flex wrap instead of a fixed 3-column grid; three-card rows are unchanged, a lone card caps at 50%. ==== */
.feature-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 64px 48px !important;
}

.feature-grid > * {
  flex: 1 1 calc(33.333% - 32px);
  max-width: calc(50% - 24px);
  min-width: 0;
}

@media (max-width: 1024px) {
  .feature-grid { gap: 40px 32px !important; }
  .feature-grid > * { flex-basis: calc(50% - 16px); max-width: calc(50% - 16px); }
}

@media (max-width: 767px) {
  .feature-grid { gap: 24px !important; }
  .feature-grid > * { flex-basis: 100%; }
}

/* ==== Content listing pages (Figma Blog / Case studies / Webinar / Podcast / Careers, 2026-10-29) ==== */
/* The Hero Split component crops its photo 1:1 (Products, Solutions, Industries). The content pages reuse it with a
   600x400 photo: the slot wrapper carries hero-media-landscape. */
.section-slot.hero-media-landscape .e-image-base {
  aspect-ratio: 3 / 2;
}

/* CTA / 1 sits on white on the content listing and detail pages (minty white everywhere else). Slot class cta-on-white. */
.section-slot.cta-on-white > .e-flexbox-base {
  background-color: var(--white);
}

/* Case study grid: the featured first item spans the 3 columns (Loop Grid alternate template). The grid is 2-up on tablet
   and 1-up on mobile, so the span follows. */
@media (max-width: 1024px) {
  .sa-grid-featured .elementor-repeater-item-casefeat {
    grid-column: span 2 !important;
  }
}

@media (max-width: 767px) {
  .sa-grid-featured .elementor-repeater-item-casefeat {
    grid-column: span 1 !important;
  }
}

/* Webinar featured carousel (Loop Carousel, class sa-carousel): one slide, then a controls row with the dots on the left and
   the two round arrows on the right (Figma Blog / 22). Dots 8px deep teal (20% when inactive), arrows 48px on deep teal 10%. */
.sa-carousel.elementor-widget-loop-carousel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 16px;
}

.sa-carousel.elementor-widget-loop-carousel > .swiper,
.sa-carousel.elementor-widget-loop-carousel > .elementor-loop-container {
  flex: 0 0 100%;
  width: 100%;
}

.sa-carousel.elementor-widget-loop-carousel .swiper-pagination {
  position: static;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  order: 1;
  flex: 1 1 auto;
  width: auto;
  margin: 0;
  text-align: left;
  display: flex;
  gap: 8px;
}

.sa-carousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: var(--deep-teal);
  opacity: 0.2;
}

.sa-carousel .swiper-pagination-bullet-active {
  opacity: 1;
}

.sa-carousel.elementor-widget-loop-carousel .elementor-swiper-button {
  position: static;
  transform: none;
  inset: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--deep-teal) 10%, transparent);
  color: var(--deep-teal);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.sa-carousel .elementor-swiper-button svg {
  width: 24px;
  height: 24px;
  fill: var(--deep-teal);
}

.sa-carousel .elementor-swiper-button-prev {
  order: 2;
}

.sa-carousel .elementor-swiper-button-next {
  order: 3;
}

/* ==== Detail pages (Figma Blog / Case Study / Webinar / Job Detail Page, 2026-10-30) ==== */
/* Breadcrumb term ([sa_post_terms]) matches the section label: 16px green. */
.sa-terms {
  margin: 0;
  font-size: 16px;
  color: var(--green);
}

/* Share buttons ([sa_share]): 32px minty circles with 24px icons, right of the meta row. */
.sa-share {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* The shortcode widget wrapper is a full-width block; shrink it so the buttons sit on the meta row. */
.elementor-widget-shortcode:has(.sa-share) {
  width: auto;
  margin-left: auto;
}

.sa-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--minty-white);
  color: var(--deep-teal);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.sa-share__btn:hover,
.sa-share__btn:focus-visible,
.sa-share__btn.is-copied {
  background: var(--accent);
  color: var(--white);
}

.sa-share__btn svg {
  width: 24px;
  height: 24px;
}

/* Article body (theme-post-content, hook class sa-article): Content / 28 rich text is H2 32, H3 24, 16px copy at 70%. */
.sa-article h2 {
  font-size: 32px;
  margin: 0 0 20px;
}

.sa-article h3 {
  font-size: 24px;
  margin: 0 0 16px;
}

.sa-article :is(h2, h3):not(:first-child) {
  margin-top: 32px;
}

.sa-article :is(p, li) {
  font-size: 16px;
  color: var(--teal-light);
}

.sa-article p {
  margin: 0 0 16px;
}


/* ==== Testimonial slider (Home, Figma Testimonial / 15: one card visible, dots under the row) ==== */
/* sa-slider sits on the wrapper that holds the photo column and the text column; the track lives in the text column and
   components.js adds the dots as a last, full-width child so they sit under both columns, left aligned. */
.sa-slider {
  flex-wrap: wrap;
}

/* Desktop: the wrapper is a row with an 80px gap; the dots row needs 32px above it (Figma), not the column gap. */
@media (min-width: 1025px) {
  .e-div-block-base.sa-slider,
  .e-flexbox-base.sa-slider {
    row-gap: 32px;
  }
}

.sa-slider__track {
  overflow: hidden;
  width: 100%;
}

.sa-slider__track > .sa-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  transition: transform 0.5s ease;
}

.sa-slider__dots {
  display: flex;
  gap: 8px;
  flex: 0 0 100%;
  justify-content: flex-end;
  padding-right: 20%;
  padding-bottom: 6px;
}

.sa-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--deep-teal);
  opacity: 0.2;
  cursor: pointer;
  transition: opacity 0.3s;
}

.sa-slider__dot.is-active,
.sa-slider__dot:hover,
.sa-slider__dot:focus-visible {
  opacity: 1;
}

/* Previous / Next arrow buttons */
.sa-slider {
  position: relative;
}

.sa-slider__prev,
.sa-slider__next {
  position: absolute;
  top: 98%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: #fff;
  color: #222;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sa-slider__prev {
  left: 70%;
}

.sa-slider__next {
  right: 13%;
}

.sa-slider__prev:hover,
.sa-slider__next:hover,
.sa-slider__prev:focus,
.sa-slider__next:focus,
.sa-slider__prev:active,
.sa-slider__next:active {
  background: #3AB871;
  color: #ffffff;
}

/* Stat values never wrap (Figma keeps "20–40%" on one line; the three stat columns size to their content, labels wrap). */
.stat-item > :first-child {
  white-space: nowrap;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .sa-slider__dots {
    padding-right: 30%;
  }

  .sa-slider__prev {
    left: 54%;
  }

  .sa-slider__next {
    right: 20%;
  }
}

@media only screen and (max-width: 767px) {
  .sa-slider__dots {
    padding-right: 0%;
  }

  .sa-slider__prev {
    left: 20%;
  }

  .sa-slider__next {
    right: 20%;
  }
}


/* ==== Contact page (Figma Contact / 7 + Contact / 30, 2026-10-30) ==== */
/* Gravity Forms (legacy markup) inside a widget with class sa-form: labels 16/500, 48px fields r5 with the light border,
   14px notes, primary button. The forms hide their labels and colour their notes inline for the old dark layout, so the
   labels are shown again and the inline colours are overridden here instead of editing the forms. */
.sa-form {
  --sa-form-error: #c02b0a;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper {
  max-width: 100%;
  margin: 0;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper ul.gform_fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper ul.gform_fields li.gfield {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* The captcha field is empty until the widget loads, so it takes no gap of its own. */
.sa-form .gform_wrapper.gform_legacy_markup_wrapper ul.gform_fields li.gfield--type-captcha:not(:has(iframe)):not(.gfield_error) {
  display: none;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gfield_label {
  display: block;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--deep-teal);
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper li.hidden_label > .gfield_label {
  position: static !important;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gfield_required {
  display: none;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .ginput_container {
  margin: 0;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
.sa-form .gform_wrapper.gform_legacy_markup_wrapper select,
.sa-form .gform_wrapper.gform_legacy_markup_wrapper textarea {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--border-on-light);
  border-radius: 5px;
  background-color: var(--white);
  box-shadow: none;
  font-size: 16px;
  line-height: 1.5;
  color: var(--deep-teal);
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):focus,
.sa-form .gform_wrapper.gform_legacy_markup_wrapper select:focus,
.sa-form .gform_wrapper.gform_legacy_markup_wrapper textarea:focus {
  border-color: var(--accent);
  outline: 0;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper textarea {
  height: 158px;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper ul.gform_fields li.gfield select {
  margin: 0;
}

/* First / Last name side by side. */
.sa-form .gform_wrapper.gform_legacy_markup_wrapper ul.gform_fields li.gfield div.ginput_complex.ginput_container.ginput_container_name {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .ginput_container_name > span {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gfield_html,
.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gfield_description {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--teal-light);
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .ginput_container + .gfield_description,
.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gform_fileupload_rules {
  display: block;
  margin-top: 8px;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gfield_html span[style] {
  color: inherit !important;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gfield_html a[style],
.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gfield_html a {
  color: var(--green) !important;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gfield_html h3,
.sa-form .gform_confirmation_message h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.4;
  color: var(--deep-teal);
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gform_footer {
  margin: 24px 0 0;
  padding: 0;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gform_footer .gform_button,
.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gform_footer .gform_button:hover,
.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gform_footer .gform_button:focus {
  width: auto;
  margin: 0;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(0deg, var(--green) 0%, var(--accent) 50%);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: filter 0.3s;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gform_footer .gform_button:hover,
.sa-form .gform_wrapper.gform_legacy_markup_wrapper .gform_footer .gform_button:focus-visible {
  filter: brightness(90%);
}

/* Validation: a red border and a 14px message, without the legacy tinted box. */
.sa-form .gform_wrapper.gform_legacy_markup_wrapper div.validation_error {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  text-align: left;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper div.validation_error .gform_submission_error {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--sa-form-error);
}

/* Gravity Forms narrows errored fields by 16px with !important, hence the longer selector. */
.sa-form .gform_wrapper.gform_legacy_markup_wrapper.gform_validation_error .gform_body ul.gform_fields li.gfield.gfield_error {
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 0 !important;
  padding: 0;
  border: 0;
  background: none;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper li.gfield_error input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
.sa-form .gform_wrapper.gform_legacy_markup_wrapper li.gfield_error select,
.sa-form .gform_wrapper.gform_legacy_markup_wrapper li.gfield_error textarea {
  border-color: var(--sa-form-error);
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper ul.gform_fields li.gfield.gfield_error.gfield_contains_required label.gfield_label,
.sa-form .gform_wrapper.gform_legacy_markup_wrapper ul.gform_fields li.gfield.gfield_error.gfield_contains_required div.ginput_container {
  margin-top: 0;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper ul.gform_fields li.gfield.gfield_error + li.gfield.gfield_error {
  margin-top: 0;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper ul.gform_fields li.gfield.gfield_error .gfield_label {
  margin-left: 0;
  color: var(--deep-teal);
}

/* The captcha field repeats the consent note as its description. */
.sa-form .gform_wrapper.gform_legacy_markup_wrapper li.gfield--type-captcha .gfield_description:not(.validation_message) {
  display: none;
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .validation_message {
  margin: 8px 0 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--sa-form-error);
}

.sa-form .gform_wrapper.gform_legacy_markup_wrapper .validation_message--hidden-on-empty:empty {
  display: none;
}

@media (max-width: 767px) {
  .sa-form .gform_wrapper.gform_legacy_markup_wrapper .ginput_container_name {
    flex-direction: column;
    gap: 24px;
  }
}
