/* SXO homepage preview — /home-sxo-preview/ */

/* Featured projects title + dek */
.jj-cases-title-wrap {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
}

.jj-cases-title-col .jj-section-dek {
  margin: 0;
  max-width: 38em;
  line-height: 1.6;
}

.jj-cases-title-col .jj-section-dek a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* WTE local line — below headline, above CTA row */
.jj-wte-local-line {
  margin: 0 0 1.25em;
  line-height: 1.6;
  max-width: 36em;
}

.jj-wte-local-line a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Einstein quote + three phases — extra vertical breathing room (desktop only) */
@media screen and (min-width: 991px) {
  .section.services .container.hero.home.services {
    padding-top: clamp(5rem, 9vw, 7rem);
    padding-bottom: clamp(5rem, 9vw, 7rem);
  }
}

/* Strip Webflow section wrapper padding around full-width bands */
.section.jj-sxo-band-wrap {
  padding: 0;
  margin: 0;
  border: none;
  /* Webflow .section { overflow: hidden } blocks child negative margin overlap */
  overflow: visible;
}

/* —— Full-width SXO bands (outside main-grid) —— */
.jj-sxo-band {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.jj-sxo-band__inner {
  width: 100%;
  max-width: 88em;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5em;
  padding-right: 2.5em;
  box-sizing: border-box;
}

.jj-sxo-band__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1em;
  opacity: 0.55;
}

.jj-sxo-band__title {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 14em;
}

.jj-sxo-band__dek {
  margin: 1em 0 0;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 32em;
  opacity: 0.72;
}

/* Tighter: What clients say → People that trusted me */
.jj-testi-inner {
  padding-top: 2em !important;
  padding-bottom: 0 !important;
}

.jj-testi-inner .jj-testi-item {
  padding-top: 1em !important;
  padding-bottom: 1em !important;
}

.jj-testi-inner .jj-testi-item:last-child {
  padding-bottom: 0.25em !important;
  border-bottom: none;
}

.section:has(.jj-testi-inner):has(+ .section .container.without-top-padding.home) {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.section:has(.container.without-top-padding.home) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.container.without-top-padding.home {
  margin-top: 0 !important;
  padding-top: 0.75em !important;
}

/* WTE trusted block */
.container.without-top-padding.home .div-block-6 {
  margin-top: 0;
}

.container.without-top-padding.home .jj-trusted-lottie {
  margin-top: 0.5em;
}

/* Stacked cards — 2em radius, overlap 2em (match page-wrapper) */
.jj-sxo-stack-bottom {
  position: relative;
  border-bottom-left-radius: 2em;
  border-bottom-right-radius: 2em;
  margin-bottom: -2em;
  overflow: hidden;
}

/* Awards → CTA → Passion stack: margin collapse inside page-wrapper is unreliable */
.jj-sxo-band--awards.jj-sxo-stack-bottom {
  margin-bottom: -2em;
}

/* Best fit in former Passion slot — same scroll anchor; height grows with content */
.passion-section.jj-sxo-best-fit-slot {
  background-image: none;
  background-color: #131417;
  height: auto !important;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  overflow: visible;
}

.jj-sxo-best-fit-slot .jj-sxo-band--best-in-slot {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  display: block;
  min-height: 0;
}

/* Match FAQ / WTE: container padding + main-grid columns */
.jj-sxo-best-fit-slot .container.home {
  width: 100%;
  max-width: 100%;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  box-sizing: border-box;
}

@media screen and (min-width: 991px) {
  .jj-sxo-best-fit-slot .container.home {
    padding-top: clamp(3.75rem, 8vw, 5.75rem);
    padding-bottom: clamp(3.75rem, 8vw, 5.75rem);
  }
}

.jj-sxo-best-fit-inner {
  width: 100%;
  margin-top: 0 !important;
  padding: 0;
}

.jj-sxo-best-fit-intro {
  grid-area: 1 / 1 / 2 / 3;
  align-self: start;
  min-width: 0;
}

.jj-sxo-best-fit-inner .jj-section-right {
  grid-area: 1 / 3 / 2 / 5;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.jj-sxo-best-fit-slot .jj-sxo-band__eyebrow {
  color: rgba(255, 255, 255, 0.45);
}

.jj-sxo-best-fit-slot .jj-sxo-band__title {
  color: #fff;
}

.jj-sxo-best-fit-slot .jj-sxo-band__footnote {
  color: rgba(255, 255, 255, 0.42);
}

/* Best fit — value bento cards (dark theme, matches investing section layout) */
.jj-sxo-best-fit-slot .jj-value-wte--dark.jj-wte-inner {
  border-top: none;
  padding: 0;
}

.jj-sxo-best-fit-slot .jj-value-wte--dark .jj-wte-label {
  color: rgba(255, 255, 255, 0.45);
}

.jj-sxo-best-fit-slot .jj-value-wte--dark .jj-value-wte-title {
  color: #fff;
}

.jj-sxo-best-fit-slot .jj-value-wte--dark .jj-wte-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5rem;
}

.jj-sxo-best-fit-slot .jj-value-wte--dark .jj-wte-body {
  color: rgba(255, 255, 255, 0.62);
}

.jj-sxo-best-fit-slot .jj-value-wte--dark .jj-wte-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  border-radius: 0.75em;
  padding: 1.5em;
  align-items: start;
}

.jj-sxo-best-fit-slot .jj-value-wte--dark .jj-wte-item .jj-wte-icon-wrap {
  display: none;
}

.jj-sxo-best-fit-slot .jj-value-wte--dark .jj-wte-item .jj-wte-title {
  align-self: start;
}

.jj-sxo-best-fit-slot .jj-value-wte-bento {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5em;
}

.jj-sxo-best-fit-slot .jj-value-wte-bento .jj-wte-item--wide,
.jj-sxo-best-fit-slot .jj-value-wte-bento .jj-wte-item--narrow,
.jj-sxo-best-fit-slot .jj-value-wte-bento .jj-wte-item--center {
  grid-column: span 1;
}

.jj-sxo-best-fit-slot .jj-value-wte-bento .jj-wte-item--wide .jj-wte-body {
  max-width: none;
}

.jj-sxo-best-fit-slot .jj-value-wte--dark .jj-wte-icon-wrap[data-jj-value-icon] svg .jj-vi-line {
  stroke: rgba(255, 255, 255, 0.46);
}

.jj-sxo-best-fit-slot .jj-value-wte--dark .jj-wte-icon-wrap[data-jj-value-icon] svg .jj-vi-line,
.jj-sxo-best-fit-slot .jj-value-wte--dark .jj-wte-icon-wrap[data-jj-value-icon] svg .jj-vi-accent {
  vector-effect: non-scaling-stroke;
}

@media (prefers-reduced-motion: reduce) {
  .jj-sxo-best-fit-slot .jj-value-wte--dark .jj-wte-icon-wrap[data-jj-value-icon] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/*
 * Bottom stack (top → bottom): Awards 6 → Get started 5 → Passion 4 → Footer 3
 * Each band overlaps the next by 2em; higher z-index keeps its rounded bottom visible.
 */

/* 1. Awards — on top */
.section.jj-sxo-band-wrap--awards {
  position: relative;
  z-index: 6;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-bottom-left-radius: 2em;
  border-bottom-right-radius: 2em;
}

.jj-sxo-band--awards {
  background-color: var(--brand--bg, #fff);
  color: inherit;
  padding: 1.25em 0 6em;
  margin-top: 0;
}

.jj-sxo-band--awards .paragraph.small.text-color-grey-60.awards {
  display: block;
  margin-top: 1.25em;
  margin-bottom: 2.75em;
  max-width: 42em;
}

.jj-sxo-band--awards > .container.w-container {
  position: static;
  z-index: auto;
  overflow: visible;
  background: transparent;
  margin-bottom: 0;
  border-radius: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* 2. Get started — under Awards, above Passion */
.section.jj-sxo-band-wrap--cta {
  position: relative;
  z-index: 5;
  margin-top: -2em;
  padding-top: 0;
  overflow: hidden;
  border-bottom-left-radius: 2em;
  border-bottom-right-radius: 2em;
}

.jj-sxo-band--cta.jj-sxo-stack-bottom {
  position: relative;
  z-index: 1;
  margin-bottom: -2em;
}

.jj-sxo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-top: 2.75em;
  list-style: none;
  padding: 0;
}

.jj-sxo-card {
  border-radius: 0.75em;
  padding: 1.65em 1.5em 1.5em;
  display: flex;
  flex-direction: column;
  gap: 0.65em;
}

.jj-sxo-card__num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
}

.jj-sxo-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.jj-sxo-card__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
}

.jj-sxo-best-fit-slot .jj-sxo-band__footnote {
  margin: 2.25em 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 40em;
}

.jj-sxo-band--cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #fff;
  background-image: linear-gradient(
    180deg,
    rgba(19, 20, 23, 0.03) 0%,
    rgba(19, 20, 23, 0.07) 100%
  );
  color: var(--black, #131417);
  padding: calc(clamp(5rem, 11vw, 7.75rem) + 2em) 0 calc(clamp(5rem, 11vw, 7.75rem) + 2em);
  text-align: center;
  margin-top: 0;
}

/* 3. Passion — under Get started, above Footer */
.section.jj-sxo-band-wrap--passion {
  position: relative;
  z-index: 4;
  padding: 0;
  margin-top: -2em;
  overflow: hidden;
  border-bottom-left-radius: 2em;
  border-bottom-right-radius: 2em;
  background-color: var(--black, #131417);
}

.jj-sxo-band--passion {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  background: transparent;
}

.jj-sxo-band--passion.jj-sxo-stack-bottom {
  border-bottom-left-radius: 2em;
  border-bottom-right-radius: 2em;
  margin-bottom: -2em;
  overflow: hidden;
}

.jj-sxo-band--passion.jj-sxo-stack-bottom > .passion-section,
.jj-sxo-band--passion .passion-section {
  margin: 0;
  height: auto !important;
  min-height: clamp(32em, 46vh, 40em);
  display: flex;
  flex-direction: column;
  justify-content: center !important;
  align-items: flex-start;
  place-content: center flex-start;
  border-bottom-left-radius: 2em;
  border-bottom-right-radius: 2em;
  overflow: hidden;
  background-color: var(--black, #131417);
}

/* Passion Projects — img parallax (replaces Webflow background-image) */
.jj-sxo-band--passion .passion-section.jj-passion-parallax {
  position: relative;
  background-image: none !important;
}

.jj-passion-parallax__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.jj-passion-parallax__img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 118%;
  top: -9%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 70%;
  will-change: transform;
}

.jj-passion-parallax .cta {
  position: relative;
  z-index: 2;
}

.jj-passion-parallax .div-block-2 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .jj-passion-parallax__img {
    will-change: auto;
    top: 0;
    height: 100%;
  }
}

.jj-sxo-band--passion .passion-section .cta {
  width: min(90%, 28em);
  max-width: 28em;
  margin-left: 2.5em;
  margin-right: auto;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

.jj-sxo-band--passion .passion-section .cta .passion-h2,
.jj-sxo-band--passion .passion-section .cta .passion-sub {
  text-align: left;
  align-items: baseline;
  place-content: flex-start;
}

/* Awards — tablet/mobile: title first, TNW block full width underneath */
@media screen and (max-width: 991px) {
  .jj-sxo-band--awards .main-grid > h6.animation-reveal-1,
  .jj-sxo-band--awards #w-node-c7b1d432-6a7b-b5db-72c7-5050b57bfb5d-49e5264b {
    grid-column: 1 / -1 !important;
    grid-area: auto !important;
    width: 100%;
    max-width: 100%;
  }

  .jj-sxo-band--awards .main-grid > h6.animation-reveal-1 {
    margin-top: 0 !important;
  }

  .jj-sxo-band--awards .row-items-wrapper.animation-reveal-2 {
    margin-top: 1.5em;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .jj-sxo-band--awards .row-item {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .jj-sxo-band--awards .paragraph.small.text-color-grey-60.awards {
    width: 100%;
    max-width: 100%;
    margin-top: 1.25em;
    box-sizing: border-box;
  }
}

/* iPad + mobile — widen block; center copy */
@media screen and (max-width: 991px) {
  .jj-sxo-band--passion.jj-sxo-stack-bottom > .passion-section,
  .jj-sxo-band--passion .passion-section {
    min-height: clamp(44em, 62vh, 52em);
    align-items: center;
    justify-content: center !important;
    place-content: center center;
  }

  .jj-sxo-band--passion .passion-section .cta {
    width: min(94%, 40em) !important;
    max-width: 40em;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center !important;
    text-align: center !important;
    padding-left: 1.25em;
    padding-right: 1.25em;
  }

  .jj-sxo-band--passion .passion-section .cta .passion-h2,
  .jj-sxo-band--passion .passion-section .cta .passion-sub {
    width: 100%;
    max-width: 100%;
    text-align: center;
    align-items: center;
    place-content: center;
  }

  .jj-sxo-band--awards {
    padding-bottom: 9em;
  }

  .section.jj-sxo-band-wrap--cta {
    margin-top: -1.25em;
  }
}

/* Phone — wider Passion copy block + taller band */
@media screen and (max-width: 767px) {
  .jj-sxo-band--passion.jj-sxo-stack-bottom > .passion-section,
  .jj-sxo-band--passion .passion-section {
    min-height: clamp(48em, 72vh, 58em);
  }
}

@media screen and (max-width: 480px) {
  .jj-sxo-band--passion.jj-sxo-stack-bottom > .passion-section,
  .jj-sxo-band--passion .passion-section {
    min-height: clamp(52em, 78vh, 64em);
  }

  .jj-sxo-band--passion .passion-section .cta {
    width: min(96%, 80em) !important;
    max-width: 80em !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .jj-sxo-band--awards .paragraph.small.text-color-grey-60.awards {
    margin-bottom: 3em;
  }

  .section.jj-sxo-band-wrap--cta {
    margin-top: -0.75em;
  }
}

.jj-sxo-cta-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.92;
}

.jj-sxo-cta-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 52% 80% at 72% 44%,
      rgba(255, 255, 255, 0.42) 0%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 100% 100% at 50% 50%,
      transparent 58%,
      rgba(19, 20, 23, 0.05) 100%
    );
}

/* Square page shell above footer — white page-wrapper radius caused corner gaps */
.page-wrapper {
  margin-bottom: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* 4. Footer — bottom of stack */
.footer-wrapper {
  position: relative;
  z-index: 3;
  margin-top: -2em;
  border-radius: 0 !important;
  background-color: var(--black, #131417);
  overflow: visible;
}

.footer-wrapper .section.footer,
.footer-wrapper .container.footer,
.footer-wrapper .grid {
  border-radius: 0 !important;
}

/* Footer social pills — side by side on desktop */
.footer-wrapper .footer-bottom-wrapper.center-align {
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.65em 0.75em;
}

.footer-wrapper .footer-bottom-wrapper.center-align > a.jj-stroke-cta-pill {
  flex: 0 0 auto;
  position: relative;
}

.jj-sxo-band--cta .jj-sxo-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.jj-sxo-band--cta .jj-sxo-band__eyebrow {
  color: rgba(19, 20, 23, 0.55);
}

.jj-sxo-band--cta .jj-sxo-band__title {
  color: var(--black, #131417);
  max-width: none;
  text-align: center;
}

.jj-sxo-band--cta .jj-sxo-band__dek {
  text-align: center;
  color: rgba(19, 20, 23, 0.72);
  opacity: 1;
  max-width: 26em;
}

.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill {
  border-color: rgba(19, 20, 23, 0.28);
}

.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill .link-floating-text,
.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill .link-floating-text.shadow-medium {
  color: var(--black, #131417) !important;
  text-shadow: 0 15px 0 var(--black, #131417) !important;
}

.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill:hover .link-text-wrapper .link-floating-text,
.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill:focus-visible .link-text-wrapper .link-floating-text,
.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill:hover .link-floating-text,
.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill:focus-visible .link-floating-text,
.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill:hover .link-floating-text.shadow-medium,
.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill:focus-visible .link-floating-text.shadow-medium {
  color: #fff !important;
  text-shadow: 0 15px 0 #fff !important;
}

.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill .link-arrow {
  color: var(--black, #131417);
}

.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill:hover .link-arrow,
.jj-sxo-band--cta a.button.stroke.white.jj-stroke-cta-pill:focus-visible .link-arrow {
  color: #fff !important;
}

.jj-sxo-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65em;
  align-items: center;
  margin-top: 2em;
}

/* Dark-band stroke pills — blue fill + white label on hover (not global white fill) */
.jj-sxo-cta-actions .jj-sxo-cta-btn {
  align-self: center;
  flex-shrink: 0;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
}

/* FAQ — matches homepage jj-testi / jj-wte grid */
#engagement-faq .container.home {
  width: 100%;
  max-width: 100%;
}

.jj-faq-inner {
  width: 100%;
  padding: 3.5em 0 1.5em;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  margin-top: 0 !important;
}

.jj-faq-intro {
  grid-area: 1 / 1 / 2 / 3;
  align-self: start;
  min-width: 0;
}

.jj-faq-intro .h2-test {
  margin: 0.65em 0 0.75em;
}

.jj-faq-intro-dek {
  margin: 0;
  max-width: 16em;
  line-height: 1.65;
}

.jj-faq-inner .jj-section-right {
  grid-area: 1 / 3 / 2 / 5;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.jj-sxo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.jj-sxo-faq-list details {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
}

.jj-sxo-faq-list details:first-child {
  border-top: none;
}

.jj-sxo-faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1em 0;
  list-style: none;
  color: #131417;
  line-height: 1.35;
}

.jj-sxo-faq-list summary::-webkit-details-marker {
  display: none;
}

.jj-sxo-faq-list details[open] summary {
  padding-bottom: 0.4em;
}

.jj-sxo-faq-list details p {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.15em;
  font-size: 0.875rem;
  line-height: 1.72;
  color: rgba(0, 0, 0, 0.58);
  box-sizing: border-box;
}

/* Preview-only: compare investment FAQ variants on /home-sxo-preview/ */
.jj-faq-preview-tag {
  display: inline-block;
  margin-right: 0.55em;
  padding: 0.2em 0.55em;
  border-radius: 0.35em;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  line-height: 1.2;
}

.jj-faq-preview-pick--a .jj-faq-preview-tag {
  color: #131417;
  background: rgba(48, 53, 162, 0.12);
}

.jj-faq-preview-pick--b .jj-faq-preview-tag {
  color: #131417;
  background: rgba(0, 0, 0, 0.07);
}

.jj-faq-intro-dek strong {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.72);
}

@media screen and (max-width: 991px) {
  /* Overscroll past page-wrapper margin — match footer black */
  html,
  html.lenis,
  html.lenis body,
  body {
    background-color: var(--black, #131417) !important;
  }

  .page-wrapper {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .jj-sxo-band__inner {
    padding-left: 1.5em;
    padding-right: 1.5em;
  }

  .passion-section.jj-sxo-best-fit-slot {
    height: auto !important;
  }

  .jj-sxo-best-fit-intro,
  .jj-sxo-best-fit-inner .jj-section-right {
    grid-area: auto !important;
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
  }

  .jj-sxo-best-fit-intro {
    margin-bottom: 1.5em;
  }

  .jj-sxo-cards {
    grid-template-columns: 1fr;
    gap: 2.5em;
  }

  .jj-sxo-best-fit-slot .jj-value-wte-bento {
    grid-template-columns: 1fr;
    gap: 2.5em;
  }

  .jj-faq-intro,
  .jj-faq-inner .jj-section-right {
    grid-area: auto !important;
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
  }

  .jj-faq-intro {
    margin-bottom: 1.5em;
  }

  .jj-faq-intro-dek {
    max-width: none;
  }

  .jj-sxo-faq-list details p {
    width: 100%;
    max-width: 100%;
  }
}

/* iPad / tablet only — terms flush right (like email row) */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .footer-wrapper .container.footer > .grid + .grid {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "social social"
      "copyright terms";
    align-items: end;
    width: 100%;
  }

  .footer-wrapper .grid-item._33.footer-center {
    grid-area: social;
    order: unset !important;
    width: 100% !important;
  }

  .footer-wrapper .grid-item._33.footer-2 {
    grid-area: copyright;
    width: auto !important;
  }

  .footer-wrapper .grid-item._33.footer-3 {
    grid-area: terms;
    width: auto !important;
    justify-self: end;
  }

  .footer-wrapper .grid-item._33.footer-3 .footer-bottom-wrapper.right-align {
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100%;
  }

  .footer-wrapper .grid-item._33.footer-3 .link-block-2 {
    font-size: 0.7rem;
    line-height: 1.4;
  }
}

@media screen and (max-width: 767px) {
  /* Mobile — terms centered */
  .footer-wrapper .container.footer > .grid + .grid {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "copyright"
      "terms";
    justify-items: center;
    width: 100%;
  }

  .footer-wrapper .grid-item._33.footer-center {
    grid-area: social;
    order: unset !important;
    width: 100% !important;
  }

  .footer-wrapper .grid-item._33.footer-2,
  .footer-wrapper .grid-item._33.footer-3 {
    width: 100% !important;
    justify-self: center;
  }

  .footer-wrapper .grid-item._33.footer-2 .footer-bottom-wrapper,
  .footer-wrapper .grid-item._33.footer-3 .footer-bottom-wrapper.right-align {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    text-align: center;
  }

  .div-block-2 {
    height: 2%;
  }

  .jj-faq-inner {
    padding: 2.5em 0;
  }

  .jj-sxo-band__inner {
    padding-left: 1.25em;
    padding-right: 1.25em;
  }

  .passion-section.jj-sxo-best-fit-slot {
    height: auto !important;
  }
}
