/* ==========================================================================
   COLORS  (reusable variables: use as var(--fin-orange), etc.)
   ========================================================================== */

:root {
  --fin-orange: #ff5600;
  --fin-light-orange: #ff9a66;
  --off-white: #faf9f6;
  --off-black: #111111;
  --off-black-60: rgba(17, 17, 17, 0.6); /* #111111 at 60% */
  --off-white-card: #f0ede8;
  --off-white-promo: #f1eee9;
  --off-white-swoosh: #f7f6f2;
  --promo-handle-size: 8px;
  --promo-handle-color: #d3cec6;
}

/* ==========================================================================
   TYPOGRAPHY  (inside the section IDs only)
   ========================================================================== */

/* Font references (not assigned to anything yet). Served from the web-files Heroku app, CORS-limited to salesforce.com. */
@font-face {
  font-family: "Saans";
  src: url("https://web-files-e3394a301e96.herokuapp.com/assets/Saans-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saans Mono";
  src: url("https://web-files-e3394a301e96.herokuapp.com/assets/SaansMono-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Serrif";
  src: url("https://web-files-e3394a301e96.herokuapp.com/assets/Serrif-Light-subset.woff2")
    format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Headings (inside the section IDs only): the site sets heading colors with many class-based rules (e.g. .marquee--blade .headline),
   so !important is needed to override them all */
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  :is(h1, h2, h3, h4, h5, h6, .headline) {
  color: var(--off-black) !important;
}

/* H1 (Headline): Saans Regular, centred, max width 987px.
   Sizes: 80px (1440 design), 64px (1024/768 designs), 40px (375 design); line height = size, letter spacing = -0.03em of size. */
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  h1 {
  font-family: "Saans", Arial, sans-serif;
  font-weight: 400;
  font-size: 71px;
  line-height: 75px;
  letter-spacing: -2.4px;
  color: var(--off-black);
}
@media (max-width: 1279px) {
  :is(
      #marquee,
      #marquee-off-white,
      #logos,
      #logos-off-white,
      #tabs,
      #tabs-off-white,
      #quote,
      #quote-off-white,
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small,
      #pillars,
      #pillars-off-white,
      #promo,
      #promo-off-white,
      #story,
      #story-off-white,
      #story-small,
      #story-off-white-small,
      #footer,
      #footer-off-white,
      #headline,
      #headline-off-white,
      #faq,
      #faq-off-white
    )
    h1 {
    font-size: 64px;
    line-height: 64px;
    letter-spacing: -1.92px;
  }
}
@media (max-width: 599px) {
  :is(
      #marquee,
      #marquee-off-white,
      #logos,
      #logos-off-white,
      #tabs,
      #tabs-off-white,
      #quote,
      #quote-off-white,
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small,
      #pillars,
      #pillars-off-white,
      #promo,
      #promo-off-white,
      #story,
      #story-off-white,
      #story-small,
      #story-off-white-small,
      #footer,
      #footer-off-white,
      #headline,
      #headline-off-white,
      #faq,
      #faq-off-white
    )
    h1 {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.2px;
  }
}

/* Body copy: Saans Regular, #111111, scoped to the page content wrapper */
#main-content {
  font-family: "Saans", Arial, sans-serif;
  font-weight: 400;
  color: var(--off-black);
  /* No sideways page scroll: the full-width artwork (100vw) and the scrolling logo belt can run a few pixels wider
     than the visible page. "clip" (not "hidden") cuts that off without affecting vertical overflow or sticky elements. */
  overflow-x: clip;
}
#main-content :is(p, li, blockquote, figcaption) {
  font-family: "Saans", Arial, sans-serif;
  font-weight: 400;
  color: var(--off-black);
}

/* Body copy on mobile (767px and below): sans copy is 14px with an 18px line height.
   The serif copy rules further down come later and set their own size (16px / 21px), so they are not affected. */
@media (max-width: 767px) {
  #main-content :is(p, li, blockquote, figcaption) {
    font-size: 14px;
    line-height: 18px;
  }
}

/* All headings in the page content: Saans, #111111 (sections can still override, e.g. the logos label uses Saans Mono) */
#main-content :is(h1, h2, h3, h4, h5, h6) {
  font-family: "Saans", Arial, sans-serif;
  color: var(--off-black);
}

/* ==========================================================================
   BUTTONS  (.cta_button inside the section IDs only)
   The site drives button colors with --sds-c-button-* variables, so we set those.
   The ID prefix makes these win over the site's own :hover/:focus/:active rules.
   ========================================================================== */

/* Buttons: primary = off-black fill, white text; hover fills fin-orange */
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button[data-variant="primary"],
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button[data-variant="primary"]:hover,
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button[data-variant="primary"]:focus,
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button[data-variant="primary"]:active {
  --sds-c-button-radius-border: 4px;
  border-radius: 4px;
  --sds-c-button-color-background: var(--off-black);
  --sds-c-button-color-border: var(--off-black);
  --sds-c-button-text-color: #ffffff;
  --sds-c-button-color-background-hover: var(--fin-orange);
  --sds-c-button-color-border-hover: var(--fin-orange);
  --sds-c-button-text-color-hover: #ffffff;
  --sds-c-button-color-background-focus: var(--off-black);
  --sds-c-button-color-border-focus: var(--off-black);
  --sds-c-button-text-color-focus: #ffffff;
  --sds-c-button-color-background-active: var(--off-black);
  --sds-c-button-color-border-active: var(--off-black);
  --sds-c-button-text-color-active: #ffffff;
}

/* Buttons: secondary = off-black stroke, off-black text, no fill */
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button[data-variant="secondary"],
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button[data-variant="secondary"]:hover,
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button[data-variant="secondary"]:focus,
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button[data-variant="secondary"]:active {
  --sds-c-button-radius-border: 4px;
  border-radius: 4px;
  --sds-c-button-color-background: transparent;
  --sds-c-button-color-border: var(--off-black);
  --sds-c-button-text-color: var(--off-black);
  --sds-c-button-color-background-focus: transparent;
  --sds-c-button-color-border-focus: var(--off-black);
  --sds-c-button-text-color-focus: var(--off-black);
  --sds-c-button-color-background-active: transparent;
  --sds-c-button-color-border-active: var(--off-black);
  --sds-c-button-text-color-active: var(--off-black);
}

/* Buttons: secondary hover fills with off-black and flips the text to white */
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button[data-variant="secondary"]:hover {
  --sds-c-button-color-background-hover: var(--off-black);
  --sds-c-button-color-border-hover: var(--off-black);
  --sds-c-button-text-color-hover: #ffffff;
}

/* Buttons: secondary on mobile gets a 75% white fill so it stays visible over the background artwork */
@media (max-width: 767px) {
  :is(
      #marquee,
      #marquee-off-white,
      #logos,
      #logos-off-white,
      #tabs,
      #tabs-off-white,
      #quote,
      #quote-off-white,
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small,
      #pillars,
      #pillars-off-white,
      #promo,
      #promo-off-white,
      #story,
      #story-off-white,
      #story-small,
      #story-off-white-small,
      #footer,
      #footer-off-white,
      #headline,
      #headline-off-white,
      #faq,
      #faq-off-white
    )
    a.cta_button[data-variant="secondary"],
  :is(
      #marquee,
      #marquee-off-white,
      #logos,
      #logos-off-white,
      #tabs,
      #tabs-off-white,
      #quote,
      #quote-off-white,
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small,
      #pillars,
      #pillars-off-white,
      #promo,
      #promo-off-white,
      #story,
      #story-off-white,
      #story-small,
      #story-off-white-small,
      #footer,
      #footer-off-white,
      #headline,
      #headline-off-white,
      #faq,
      #faq-off-white
    )
    a.cta_button[data-variant="secondary"]:focus,
  :is(
      #marquee,
      #marquee-off-white,
      #logos,
      #logos-off-white,
      #tabs,
      #tabs-off-white,
      #quote,
      #quote-off-white,
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small,
      #pillars,
      #pillars-off-white,
      #promo,
      #promo-off-white,
      #story,
      #story-off-white,
      #story-small,
      #story-off-white-small,
      #footer,
      #footer-off-white,
      #headline,
      #headline-off-white,
      #faq,
      #faq-off-white
    )
    a.cta_button[data-variant="secondary"]:active {
    --sds-c-button-color-background: rgba(255, 255, 255, 0.75);
    --sds-c-button-color-background-focus: rgba(255, 255, 255, 0.75);
    --sds-c-button-color-background-active: rgba(255, 255, 255, 0.75);
  }
}

/* Buttons: remove the white streak on the primary button's edge
   The site draws a white-to-transparent gradient border with an :after (--pbc-g-button-outline-gradient),
   which shows as a light streak on the right side of the off-black button. */
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button[data-variant="primary"]:after {
  content: none;
}

/* Buttons: focus / click ring in off-black instead of the site's blue
   The page's ".version--two" styles draw it as "outline: 3px solid var(--pbc-focus-state-color)",
   so the color is changed at its source (the variable) for buttons. */
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button,
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button:focus,
:is(
    #marquee,
    #marquee-off-white,
    #logos,
    #logos-off-white,
    #tabs,
    #tabs-off-white,
    #quote,
    #quote-off-white,
    #features,
    #features-off-white,
    #features-small,
    #features-off-white-small,
    #pillars,
    #pillars-off-white,
    #promo,
    #promo-off-white,
    #story,
    #story-off-white,
    #story-small,
    #story-off-white-small,
    #footer,
    #footer-off-white,
    #headline,
    #headline-off-white,
    #faq,
    #faq-off-white
  )
  a.cta_button:active {
  --pbc-focus-state-color: var(--off-black);
  --sds-c-button-outline-color: var(--off-black);
  --sds-c-button-outline-color-active: var(--off-black);
}

/* ==========================================================================
   OFF-WHITE VARIANTS
   Every section ID has an "-off-white" twin (e.g. #quote and #quote-off-white).
   The twin gets all the same styles below (see the :is() selectors); this is the only difference.
   ========================================================================== */

#logos-off-white,
#tabs-off-white,
#quote-off-white,
#features-off-white,
#features-off-white-small,
#pillars-off-white,
#promo-off-white,
#story-off-white,
#story-off-white-small,
#footer-off-white,
#headline-off-white,
#faq-off-white {
  background-color: var(--off-white);
  /* Background images that use z-index: -1 would fall behind this color. isolation keeps them above it. */
  isolation: isolate;
}

/* ==========================================================================
   MARQUEE  (#marquee)
   ========================================================================== */

:is(#marquee, #marquee-off-white) {
  position: relative;
  /* overflow is visible so the artwork can hang down past the bottom of the section, behind the logos below */
  overflow: visible;
  background-color: var(--off-white);
  /* The site's bg images use z-index: -1. Without their own stacking context they fall behind this
     section's background color. isolation keeps them inside the section, above the color. */
  isolation: isolate;
}

/* Marquee: the site adds a white overlay with an inline style, so !important is needed to override it */
:is(#marquee, #marquee-off-white) .background__gradient {
  background-color: var(--off-white) !important;
}

/* Marquee: background artwork, sized by width and anchored to the bottom
   The artwork is sized from the viewport width (capped), not from the section's height, so it keeps the
   same proportions relative to the mockup at any width and stops growing at --marquee-art-max.
   - --marquee-art-width    how wide the artwork is: the viewport width, up to the cap
   - --marquee-art-overhang how far the artwork hangs below the section (into the logos section), as a share
                            of its width. Raise to move the artwork down, lower to move it up.
   - --marquee-art-gap      space between the buttons and the mockup, as a share of the artwork width.
                            This is the clear space the artwork's top loops sit in; raise it if they touch the copy. */
:is(#marquee, #marquee-off-white, #logos, #logos-off-white) {
  --marquee-art-max: 1500px;
  --marquee-art-width: min(100vw, var(--marquee-art-max));
  --marquee-art-overhang: calc(var(--marquee-art-width) * 0.1);
  --marquee-art-gap: calc(var(--marquee-art-width) * 0.16);
}

:is(#marquee, #marquee-off-white) .blade__background--custom-desktop,
:is(#marquee, #marquee-off-white) .blade__background--custom-mobile {
  /* The site pins these to the top with a fixed height; switch to bottom-anchored and width-driven */
  top: auto;
  bottom: calc(var(--marquee-art-overhang) * -1);
  left: 0;
  right: 0;
  margin-inline: auto;
  width: var(--marquee-art-width);
  height: auto;
}

/* Marquee: aspect ratios of the two artwork files (desktop 3260x2648, mobile 1000x1921) */
:is(#marquee, #marquee-off-white) .blade__background--custom-desktop {
  aspect-ratio: 3260 / 2648;
}

:is(#marquee, #marquee-off-white) .blade__background--custom-mobile {
  aspect-ratio: 1000 / 1921;
}

/* Marquee: from 768px up use the desktop artwork instead of the mobile one
   The site only switches to the desktop artwork at 1024px; this brings the switch down to 768px. */
@media (min-width: 768px) {
  :is(#marquee, #marquee-off-white) .blade__background--custom-desktop {
    display: block;
  }
  :is(#marquee, #marquee-off-white) .blade__background--custom-mobile {
    display: none;
  }
}

/* Marquee: carry the off-white background down with the artwork
   The strip starts at the bottom of the section and is as tall as the artwork's overhang, so the color
   stays behind the artwork where it hangs into the logos section. z-index: -2 keeps it behind the
   artwork (z-index: -1) but still inside the section's stacking context (isolation: isolate). */
:is(#marquee, #marquee-off-white)::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: var(--marquee-art-overhang);
  background-color: var(--off-white);
  z-index: -2;
  pointer-events: none;
}

/* Logos: sit above the marquee artwork that hangs down into this section.
   The background fades from transparent to solid white over exactly the artwork's overhang, so by the point
   where the artwork and the marquee's off-white strip end, the section is already solid white. That hides
   their bottom edges and removes the hard line. */
:is(#logos, #logos-off-white) {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.7) calc(var(--marquee-art-overhang) * 0.6),
    #fff var(--marquee-art-overhang)
  );
}

:is(#marquee, #marquee-off-white) .background__image--custom {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;

  /* Stop the background image from being selected or dragged when you click and drag on the section */
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

:is(#marquee, #marquee-off-white) .video-html5 {
  /* Reserve the video's 16:9 space before it loads, so the section doesn't jump when it appears */
  aspect-ratio: 16 / 9;
}

:is(#marquee, #marquee-off-white) .video-html5 video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:is(#marquee, #marquee-off-white) .content__wrapper {
  /* Space between the buttons and the mockup, so the artwork's top loops don't sit behind the copy */
  margin-bottom: max(70px, var(--marquee-art-gap));
}

/* Marquee: wider, centred text column (1024px+)
   The site puts the content in columns 3-10 (3 / span 8) from 1024px; 2 / span 10 centres a wider 10-column block. */
@media (min-width: 1024px) {
  :is(#marquee, #marquee-off-white) .content__wrapper {
    grid-column: 2 / span 10;
  }
}

/* Marquee: larger headline on desktop (1280px+)
   Headline: 80px / 80px, letter spacing -0.03em. Below 1280px the shared H1 sizes above still apply. */
@media (min-width: 1280px) {
  :is(#marquee, #marquee-off-white) h1 {
    font-size: 80px;
    line-height: 80px;
    letter-spacing: -2.4px;
  }
}

/* Marquee: 40px headline on mobile (767px and below)
   The shared H1 rule only drops to 40px at 599px and below; between 600px and 767px it is still 64px. */
@media (max-width: 767px) {
  :is(#marquee, #marquee-off-white) h1 {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.2px;
  }
}

/* Marquee: subhead is a narrower, centred block under the headline (wraps to about five lines).
   Raise max-width for fewer, longer lines; lower it for more. */
:is(#marquee, #marquee-off-white) .blade__description {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

/* ==========================================================================
   LOGOS  (#logos)
   ========================================================================== */

:is(#logos, #logos-off-white) {
}

/* Logos: headline (logo label)
   Saans Mono Regular, 16px / 16px, 0.6px letter spacing, #111111, uppercase, centred, one line. */
:is(#logos, #logos-off-white) :is(h1, h2, h3, h4, h5, h6, .headline) {
  font-family: "Saans Mono", ui-monospace, Menlo, monospace;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0.6px;
  color: var(--off-black);
  text-align: center;
  white-space: nowrap;
}

/* Logos: 4 per row on desktop, spread across the container
   The site uses flex-wrap with 200px tiles and a 16px gap, capped per breakpoint. Switching to a 4-column grid
   gives exactly 4 per row and lets the tiles spread out evenly. Raise max-width to spread them further apart,
   lower it to pull them closer. (Only applies at 928px+; below that the site's own layout is kept.) */
@media (min-width: 928px) {
  :is(#logos, #logos-off-white) .logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    width: 100%;
    max-width: 1000px;
    justify-self: center;
  }

  /* Cancel the site's margin tweaks for orphaned last-row tiles; the 4-column grid doesn't need them */
  :is(#logos, #logos-off-white) .logo-block {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Logos: tablet and mobile (1023px and below)
   - The marquee artwork hangs further down into this section (0.05 here; mobile's 0.45 is set after this block).
   - The headline wraps and stays centred instead of running off the edge on one line.
   - The logos sit in one horizontally scrolling row instead of wrapping into a grid. */
@media (max-width: 1023px) {
  :is(#marquee, #marquee-off-white, #logos, #logos-off-white) {
    --marquee-art-overhang: calc(var(--marquee-art-width) * 0.05);
    /* More clear space between the buttons and the artwork's top loop so they don't touch (default is 0.16).
       Raise 0.3 for more space, lower it for less. */
    --marquee-art-gap: calc(var(--marquee-art-width) * 0.3);
  }

  :is(#logos, #logos-off-white) :is(h1, h2, h3, h4, h5, h6, .headline) {
    white-space: normal;
    text-wrap: balance;
  }

  /* More white behind the headline, and no hard lines: the fade starts fully clear at the top edge so there is no step where
     this section meets the marquee artwork, then builds to solid white. No hard line at the bottom either.
     The stops are percentages of the section's own height (not the artwork overhang), so the fade always reaches
     solid white before the section ends, even when the artwork hangs lower than the section is tall. */
  :is(#logos, #logos-off-white) {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0.08) 8%,
      rgba(255, 255, 255, 0.25) 16%,
      rgba(255, 255, 255, 0.5) 26%,
      rgba(255, 255, 255, 0.75) 38%,
      rgba(255, 255, 255, 0.9) 52%,
      rgba(255, 255, 255, 0.97) 70%,
      #fff 90%
    );
  }

  /* Fade the artwork itself out along its bottom edge, so it dissolves instead of being cut off where it ends. */
  :is(#marquee, #marquee-off-white) .blade__background--custom-mobile {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0,
      #000 45%,
      transparent 100%
    );
    mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%);
  }

  /* Auto-scroll, endless, CSS only (no duplicated logos).
     Every logo block gets the same fixed-width slot and its own copy of one animation. Each slides left across a track
     that is --logos-count slots long, and when it leaves the left edge it re-enters from the far right, off screen. The blocks'
     delays are staggered by one slot each, so together they look like one endless belt.
     - --logos-slot         width of each logo's slot
     - --logos-scroll-time  time for one logo to travel the whole track (longer = slower)
     --logos-count        how many logos there are. Set it to the number of logos on the page (up to 40).
     Track length and stagger are worked out from it, so adding or removing a logo is a one-number change. */
  :is(#logos, #logos-off-white) {
    overflow-x: clip;
    --logos-slot: 150px;
    --logos-scroll-time: 60s;
    --logos-count: 16;
  }
  :is(#logos, #logos-off-white) .logo-grid {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 85px;
    overflow: hidden;
  }
  :is(#logos, #logos-off-white) .logo-block {
    position: absolute;
    top: 0;
    left: calc(var(--logos-slot) * -1);
    width: var(--logos-slot);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    animation: logos-belt var(--logos-scroll-time) linear infinite;
    animation-delay: calc(
      var(--logos-scroll-time) * (var(--logos-count) - var(--i, 1)) /
        var(--logos-count) * -1
    );
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(1) {
    --i: 1;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(2) {
    --i: 2;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(3) {
    --i: 3;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(4) {
    --i: 4;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(5) {
    --i: 5;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(6) {
    --i: 6;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(7) {
    --i: 7;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(8) {
    --i: 8;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(9) {
    --i: 9;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(10) {
    --i: 10;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(11) {
    --i: 11;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(12) {
    --i: 12;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(13) {
    --i: 13;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(14) {
    --i: 14;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(15) {
    --i: 15;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(16) {
    --i: 16;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(17) {
    --i: 17;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(18) {
    --i: 18;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(19) {
    --i: 19;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(20) {
    --i: 20;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(21) {
    --i: 21;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(22) {
    --i: 22;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(23) {
    --i: 23;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(24) {
    --i: 24;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(25) {
    --i: 25;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(26) {
    --i: 26;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(27) {
    --i: 27;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(28) {
    --i: 28;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(29) {
    --i: 29;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(30) {
    --i: 30;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(31) {
    --i: 31;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(32) {
    --i: 32;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(33) {
    --i: 33;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(34) {
    --i: 34;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(35) {
    --i: 35;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(36) {
    --i: 36;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(37) {
    --i: 37;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(38) {
    --i: 38;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(39) {
    --i: 39;
  }
  :is(#logos, #logos-off-white) .logo-block:nth-child(40) {
    --i: 40;
  }

  :is(#logos, #logos-off-white) .logo-grid:hover .logo-block {
    animation-play-state: paused;
  }
}

/* Marquee: mobile artwork is much taller than the desktop one, so it needs a bigger overhang than tablet */
@media (max-width: 767px) {
  :is(#marquee, #marquee-off-white, #logos, #logos-off-white) {
    --marquee-art-overhang: calc(var(--marquee-art-width) * 0.45);
  }
}

@keyframes logos-belt {
  from {
    transform: translateX(calc(var(--logos-slot) * var(--logos-count)));
  }
  to {
    transform: translateX(0);
  }
}

/* Reduced motion: no animation; the logos sit in a row you scroll by hand */
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  :is(#logos, #logos-off-white) .logo-grid {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  :is(#logos, #logos-off-white) .logo-block {
    position: static;
    flex: 0 0 auto;
    animation: none;
  }
}

/* Logos: no tile background
   The site gives each logo tile a white fill; transparent lets the section background show through. */
:is(#logos, #logos-off-white) .card__logomark__wrapper {
  background-color: transparent;
}

/* Logos: each logo's tile is 85px tall */
:is(#logos, #logos-off-white) .card__logomark__wrapper {
  height: 85px;
}

/* Logos: size (~20% larger than the site's 136x76 desktop / 104x58 mobile caps) */
:is(#logos, #logos-off-white) .card__logomark__image {
  max-width: 164px;
  max-height: 92px;
}

@media (max-width: 1023px) {
  :is(#logos, #logos-off-white) .card__logomark__image {
    max-width: 124px;
    max-height: 70px;
    max-height: 32px;
  }
}

/* Logos: scroll speed
   The site sets this as "animation: slideLeft 26s linear infinite" on .pbc-slider__track--left.
   A longer duration = slower scroll. */
:is(#logos, #logos-off-white) .pbc-slider__track--left {
  animation-duration: 50s;
}

/* ==========================================================================
   HEADLINE  (#headline)
   ========================================================================== */

/* Headline: 80px of space above the content and none below (the container with the min-spacing-bottom class) */
:is(#headline, #headline-off-white) .container.container--min-spacing-bottom {
  padding-top: 80px;
  padding-bottom: 0;
}

/* Headline: all of it (including the span) is #111111, left-aligned (the span is right-aligned from 1295px up, see below).
   !important plus the .headline class is needed to beat the global heading colour rule (which also targets .headline). */
:is(#headline, #headline-off-white) h2.headline {
  grid-column: 1 / -1;
  max-width: none;
  text-align: left;
  font-family: "Saans", Arial, sans-serif;
  font-weight: 400;
  font-size: 80px;
  line-height: 80px;
  letter-spacing: -2.1px;
  color: var(--off-black) !important;
}
@media (max-width: 1279px) {
  :is(#headline, #headline-off-white) h2.headline {
    font-size: 64px;
    line-height: 64px;
    letter-spacing: -1.92px;
  }
}
@media (max-width: 599px) {
  :is(#headline, #headline-off-white) h2.headline {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.2px;
  }
}
:is(#headline, #headline-off-white) h2.headline span {
  display: block;
  text-align: right;
  color: var(--off-black) !important;
}

/* Below 1024px: the headline doesn't break and is all left aligned. The line break and right alignment only start at 1024px.
   (Was 1294px / 1295px; change both numbers back to revert.) */
@media (max-width: 1023px) {
  :is(#headline, #headline-off-white) h2.headline {
    text-align: left;
  }
  :is(#headline, #headline-off-white) h2.headline span {
    display: inline;
    text-align: inherit;
  }
}

/* Body copy column: left-aligned under the headline, 6 of 12 columns (full width on mobile) */
:is(#headline, #headline-off-white) .blade__description {
  grid-column: 1 / span 6;
  max-width: none;
  text-align: left;
}
/* Tablet (600px to 1023px): the column spans the whole grid and is capped at 65% of its width, so it isn't narrower than that */
@media (min-width: 600px) and (max-width: 1023px) {
  :is(#headline, #headline-off-white) .blade__description {
    grid-column: 1 / -1;
    max-width: 65%;
  }
}
@media (max-width: 599px) {
  :is(#headline, #headline-off-white) .blade__description {
    grid-column: 1 / -1;
  }
}

/* Body copy: Serrif Light, #111111 */
:is(#headline, #headline-off-white) :is(p, li, blockquote, figcaption) {
  font-family: "Serrif", Georgia, serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 21px;
  color: var(--off-black);
}

/* ==========================================================================
   TABS  (#tabs)
   ========================================================================== */

/* Tabs: less space above and below the tabs container (site default is 64px) */
:is(#tabs, #tabs-off-white) > .container {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* Tabs: headline inside each tab panel (e.g. "Automates processes end to end") is 24px */
:is(#tabs, #tabs-off-white)
  [role="tabpanel"]
  .oneup__blade-heading
  h2.headline {
  font-size: 24px;
  line-height: 24px;
}
@media (max-width: 1023px) {
  :is(#tabs, #tabs-off-white)
    [role="tabpanel"]
    .oneup__blade-heading
    h2.headline {
    font-size: 20px;
    line-height: 20px;
  }
}

/* Tabs: 8px between that headline and the description under it */
:is(#tabs, #tabs-off-white)
  [role="tabpanel"]
  .oneup__blade-heading
  .blade__description {
  margin-top: 8px;
}

/* Tabs: no top or bottom padding on the container inside each tab panel */
:is(#tabs, #tabs-off-white)
  .container.container--min-spacing-bottom.container--min-spacing-top {
  padding-bottom: 0;
}

/* Tabs: hide the section headline (the header above the tab list; headings inside the tab panels are untouched) */
:is(#tabs, #tabs-off-white) .horizontaltabs__blade-heading {
  display: none;
}

/* Tabs: the tab buttons use Saans (buttons don't inherit the page font by default, and the site sets its own) */
:is(#tabs, #tabs-off-white) .tablist :is(button, button span),
:is(#tabs, #tabs-off-white) .secondary-tablist :is(button, button span) {
  font-family: "Saans", Arial, sans-serif;
}

/* Tabs: the description under each panel headline is left-aligned on mobile (767px and below) */
@media (max-width: 767px) {
  :is(#tabs, #tabs-off-white) [role="tabpanel"] .blade__description {
    text-align: left;
  }
}

/* Tabs: tab buttons are 16px on mobile (767px and below) */
@media (max-width: 767px) {
  :is(#tabs, #tabs-off-white) .tablist :is(button, button span),
  :is(#tabs, #tabs-off-white) .secondary-tablist :is(button, button span) {
    font-size: 16px;
  }
}

/* Tabs: stacked panel layout
   The site puts the text and image side by side (content left, image right, 6 columns each).
   Stack them instead: image full width on top, text centered underneath. */
:is(#tabs, #tabs-off-white) [role="tabpanel"] .image__wrapper,
:is(#tabs, #tabs-off-white) [role="tabpanel"] .video__wrapper {
  grid-column: 1 / -1;
  grid-row: 1;
  padding-top: 0;
}

:is(#tabs, #tabs-off-white) [role="tabpanel"] .image__wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

:is(#tabs, #tabs-off-white) [role="tabpanel"] .content__wrapper {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0;
  text-align: center;
}

/* Tabs: space between the image and the headline below it
   The site's grid has a 64px row gap on wide screens (32px on medium), which is what made this gap large.
   Tune to taste. */
:is(#tabs, #tabs-off-white) [role="tabpanel"] .grid_main {
  row-gap: 32px;
}

/* Tabs: keep the description from stretching edge to edge under the image */
:is(#tabs, #tabs-off-white) [role="tabpanel"] .content__container {
  max-width: 880px;
  margin-inline: auto;
}

/* Tabs: more space between the tab row and the content title below it
   (site default is 12px, or 8px on mobile, applied as margin-bottom on the tab list). Tune to taste. */
:is(#tabs, #tabs-off-white) .tablist {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  :is(#tabs, #tabs-off-white) .tablist {
    margin-bottom: 32px;
  }
}

/* Tabs: active tab highlight (text + underline) in fin-orange instead of the site's blue */
:is(#tabs, #tabs-off-white) .tablist [aria-selected="true"] span {
  color: var(--fin-orange);
  box-shadow: inset 0 -5px 0 -1px var(--fin-orange);
}

/* Tabs: keyboard focus outline (the site draws it with a :before border in its blue focus color) */
:is(#tabs, #tabs-off-white) .tablist > li > button:focus:before {
  border-color: var(--fin-orange);
}

/* Tabs: hover/focus text color */
:is(#tabs, #tabs-off-white) .tablist button:hover,
:is(#tabs, #tabs-off-white) .tablist button:focus span {
  color: var(--fin-orange);
}

/* Tabs: "More" dropdown (shown when the tab list is too long, e.g. on mobile)
   The site colors these with --pbc-tab-text-more-dropdown-color-* variables, so they're set to orange here. */
:is(#tabs, #tabs-off-white) .tablist {
  --pbc-tab-text-more-dropdown-color-hover: var(--fin-orange);
  --pbc-tab-text-more-dropdown-color-active: var(--fin-orange);
}

/* Tabs: "More" button dots (the site uses a blue data-URI SVG on hover/focus/open; swapped for orange) */
:is(#tabs, #tabs-off-white) .tablist .more-tab.active > button > span:after,
:is(#tabs, #tabs-off-white) .tablist .more-tab > button:active > span:after,
:is(#tabs, #tabs-off-white) .tablist .more-tab > button:focus > span:after,
:is(#tabs, #tabs-off-white) .tablist .more-tab > button:hover > span:after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6' fill='none'%3E%3Cpath fill='%23FF5600' fill-rule='evenodd' d='M3 0c1.65 0 3 1.35 3 3S4.65 6 3 6 0 4.65 0 3s1.35-3 3-3Zm9 0c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3Zm9 0c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3Z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* ==========================================================================
   QUOTE  (#quote)
   ========================================================================== */

/* Quote: no space above the content (the site's container has 64px of top padding) */
:is(#quote, #quote-off-white) > .container {
  padding-top: 0;
}

/* Quote: card background (the site sets white via .pbc-g-elevation-2) */
:is(#quote, #quote-off-white) .card--card_quote {
  background-color: var(--off-white-card);
}

/* Quote: flat card, no drop shadow or rounded corners
   (the site adds the shadow with .pbc-g-elevation-2 and the radius with .border-rad-16) */
:is(#quote, #quote-off-white) .card--card_quote {
  box-shadow: none;
  border-radius: 0;
}

/* Quote: headline is 24px (site default is 20px) with a proportional line height */
:is(#quote, #quote-off-white) .card__headline {
  font-size: 24px;
  line-height: 1.2;
}

/* Quote: tagline is Saans */
:is(#quote, #quote-off-white) .tagline_wrapper,
:is(#quote, #quote-off-white) .tagline_wrapper :is(p, span, div) {
  font-family: "Saans", Arial, sans-serif;
}

/* Quote: the name in the tagline is bold */
:is(#quote, #quote-off-white) .tagline_wrapper .name {
  font-weight: 700;
}

/* Story: card headline is 20px on mobile (767px and below) */
@media (max-width: 767px) {
  :is(#story, #story-off-white, #story-small, #story-off-white-small)
    .card__headline {
    font-size: 20px;
    line-height: 20px;
  }
}

/* Quote: highlighted words get an orange highlight instead of orange text
   box-decoration-break: clone repeats the padding on each line when the highlight wraps. */
:is(#quote, #quote-off-white) .card__headline span.fin-orange {
  color: inherit;
  background-color: var(--fin-orange);
  padding-inline: 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Quote: hide the swoosh behind the text (it used to be recolored to --off-white-swoosh, which is now unused) */
:is(#quote, #quote-off-white) .card_quote--background-swoosh {
  display: none;
}

/* Quote: hide the quote mark */
:is(#quote, #quote-off-white) .card__quote-mark.card__quote--us {
  display: none;
}

/* Quote: quote mark in fin-orange
   The site renders it as an image via content: url(), which CSS can't recolor,
   so it's swapped for an inline SVG with an orange fill (%23FF5600 = #FF5600). */
:is(#quote, #quote-off-white) .card--card_quote .card__quote-mark:before {
  content: url("data:image/svg+xml,%3Csvg width='104' height='80' viewBox='0 0 104 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40.4216 80V41.1679H22.4902C22.4902 25.6934 26.4412 22.1898 40.1176 19.562V0C13.6765 0.291967 0 16.6423 0 37.9562V80H40.4216ZM103.333 80V41.1679H85.402C85.402 25.6934 89.3529 22.1898 103.029 19.562V0C76.5882 0.291967 62.9118 16.6423 62.9118 37.9562V80H103.333Z' fill='%23FF5600'/%3E%3C/svg%3E");
}

:is(#quote, #quote-off-white) .card--card_quote {
  border: 0;
  background-image:
    linear-gradient(var(--promo-handle-color), var(--promo-handle-color)),
    linear-gradient(var(--promo-handle-color), var(--promo-handle-color)),
    linear-gradient(var(--promo-handle-color), var(--promo-handle-color)),
    linear-gradient(var(--promo-handle-color), var(--promo-handle-color));
  background-repeat: no-repeat;
  background-size: var(--promo-handle-size) var(--promo-handle-size);
  background-position:
    0 0,
    100% 0,
    0 100%,
    100% 100%;
}

/* ==========================================================================
   FEATURES  (#features)
   ========================================================================== */

/* Features: no space above the content (the site's container has 64px of top padding) */
:is(#features, #features-off-white, #features-small, #features-off-white-small)
  > .container {
  padding-top: 0;
}

/* Features: hide the section headline (the h2 in the header; the description under it and the accordion titles stay) */
:is(#features, #features-off-white) .productfeature__blade-heading h2 {
  display: none;
}

/* Features: layout (desktop only, from 1039px up)
   The site switches to its desktop layout at 1024px, but with the Qualified chat script it switches at about 1039px
   (the scrollbar is not counted). Starting at 1039px keeps our grid from applying while the site is still stacked.
   The site puts the heading + tabs in one left column with the image on the right.
   display: contents lets the heading and tabs become direct children of the grid, so we can
   put the heading across the top (centered), then the image on the left and tabs on the right. */
@media (min-width: 1039px) {
  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .productfeature__content-group {
    display: contents;
  }

  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .productfeature__blade-heading {
    /* Centered 8 of 12 columns, so the headline wraps (after "Slack," or so) as the grid resizes.
       Use "4 / span 6" for an earlier break or "2 / span 10" for a later one. */
    grid-column: 3 / span 8;
    grid-row: 1;
    text-align: center;
    margin-bottom: 64px;
  }

  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .productfeature__blade-heading
    .blade__description {
    max-width: 760px;
    margin-inline: auto;
  }

  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .show-hide__media--desktop {
    /* The site sets an inline style="grid-row: 1 / span 6" on these, so !important is needed to override it */
    grid-row: 2 !important;
  }

  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .productfeature__tabs {
    grid-row: 2;
    align-self: start;
  }

  /* The WordPress layout setting adds .blade_layout--left / .blade_layout--right to the section.
     Left = image on the left, tabs on the right. Right = tabs on the left, image on the right. */
  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    ).blade_layout--left
    .show-hide__media--desktop {
    grid-column: 1 / span 6;
  }

  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    ).blade_layout--left
    .productfeature__tabs {
    grid-column: 8 / span 5;
  }

  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    ).blade_layout--right
    .show-hide__media--desktop {
    grid-column: 7 / span 6;
  }

  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    ).blade_layout--right
    .productfeature__tabs {
    grid-column: 1 / span 5;
  }
}
/* Features: stacked layout on pages with the Qualified chat script (about 768px to 1038px of window width)
   The site's tablet layout insets the tabs and the image (columns 2 to 11). Here both go full width instead.
   This is a container query on purpose: Qualified measures the site's 1023px breakpoint without the scrollbar, so the
   site stays stacked until about 1038px of window width. It only matches when that container exists (see the note in
   the features desktop layout above); pages without the script keep the site's own layout. */
@container q-docked-container (min-width: 768px) and (max-width: 1023px) {
  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .productfeature__all-content.grid_sub,
  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .productfeature__content-group {
    grid-column: 1 / -1;
  }
  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .show-hide__media--mobile.grid_sub {
    grid-template-columns: 1fr;
  }
  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .show-hide__image {
    grid-column: 1 / -1;
  }
}
/* 
/* NOTE: the small-variant rules sit after the shared layout rules above on purpose; they have equal specificity, so the later ones win. */
/* Features (small variant): #features-small and #features-off-white-small get all the same styles as #features, but keep
   the headline visible and style it (and the copy under it) differently.
   Headline: Saans Regular 54px / 54px, -1.6px letter spacing, #111111. Each span in the headline starts a new line. */
:is(#features-small, #features-off-white-small)
  .productfeature__blade-heading
  h2.headline {
  font-family: "Saans", Arial, sans-serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 54px;
  letter-spacing: -1.6px;
  color: var(--off-black);
  text-align: left;
}
:is(#features-small, #features-off-white-small)
  .productfeature__blade-heading
  h2.headline
  span {
  display: block;
}
@media (max-width: 599px) {
  :is(#features-small, #features-off-white-small)
    .productfeature__blade-heading
    h2.headline
    span {
    display: inline;
  }
}

/* Features (small variant): headline and subcopy line up with the left edge of the content below (the image),
   instead of the centred 3 / span 8 block the other features sections use. Desktop only, like the layout above. */
@media (min-width: 1039px) {
  :is(#features-small, #features-off-white-small)
    .productfeature__blade-heading {
    grid-column: 1 / span 8;
    text-align: left;
  }
  :is(#features-small, #features-off-white-small)
    .productfeature__blade-heading
    .blade__description {
    margin-inline: 0;
  }
}
/* 
/* Features (small variant): subcopy under the headline. Serrif Light, #111111, left-aligned.
   Same as the serif body copy in the headline section (size and line height come from the site); max-width gives the three-line wrap. */
:is(#features-small, #features-off-white-small)
  .productfeature__blade-heading
  .blade__description {
  max-width: 660px;
  text-align: left;
}
:is(#features-small, #features-off-white-small)
  .productfeature__blade-heading
  .blade__description
  p {
  font-family: "Serrif", Georgia, serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 21px;
  color: var(--off-black);
}

/* Features: selected item highlight (left bar + title) in fin-orange instead of the site's blue */
:is(#features, #features-off-white, #features-small, #features-off-white-small)
  .show-hide__item.selected {
  border-left-color: var(--fin-orange);
}

:is(#features, #features-off-white, #features-small, #features-off-white-small)
  .show-hide__item
  [aria-expanded="true"]
  .accordion__title {
  color: var(--fin-orange);
}

/* Features: title hover color */
:is(#features, #features-off-white, #features-small, #features-off-white-small)
  .accordion__trigger:hover
  .accordion__title,
:is(#features, #features-off-white, #features-small, #features-off-white-small)
  .accordion__trigger:active
  .accordion__title {
  color: var(--fin-orange);
}

/* Features: accordion titles are Saans */
:is(#features, #features-off-white, #features-small, #features-off-white-small)
  .accordion__title {
  font-family: "Saans", Arial, sans-serif;
}

/* Features: accordion button text is 20px on mobile (767px and below) */
@media (max-width: 767px) {
  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .accordion__trigger,
  :is(
      #features,
      #features-off-white,
      #features-small,
      #features-off-white-small
    )
    .accordion__trigger
    .accordion__title {
    font-size: 20px;
  }
}

/* Features: accordion (mobile/tablet) states
   Resting: off-black title, off-black +/- icon on a fin-light-orange circle.
   Hover / pressed: orange title, orange circle with a white icon.
   Expanded: orange title (above), resting icon. Keyboard focus ring: orange.
   The site drives these with variables, so they're set at the source (blue → orange). */
:is(#features, #features-off-white, #features-small, #features-off-white-small)
  .accordion__trigger {
  --pbc-g-interactive-text-color: var(--off-black);
  --pbc-accordion-icon-color: var(--off-black);
  --pbc-accordion-icon-background-color: var(--fin-light-orange);
  --pbc-accordion-icon-background-color-hover: var(--fin-orange);
  --pbc-accordion-icon-color-hover: #ffffff;
  --pbc-focus-state-color: var(--fin-orange);
}

/* ==========================================================================
   PILLARS  (#pillars)
   ========================================================================== */

:is(#pillars, #pillars-off-white) {
}

/* ==========================================================================
   PROMO  (#promo)
   ========================================================================== */

:is(#promo, #promo-off-white) {
}

/* Promo: card (the box inside the blade): #F1EEE9 background, no drop shadow, border or rounded corners */
:is(#promo, #promo-off-white) .pb-large-corner article {
  background-color: var(--off-white-promo);
  box-shadow: none;
  border: 0;
  border-radius: 0;
}

/* Promo: six small "selection handle" squares on the card: corners plus the top and bottom centre.
   Drawn with one pseudo-element made of six gradient squares, centred on the card's edges. Tune the size and color here. */
:is(#promo, #promo-off-white) .pb-large-corner article {
  position: relative;
}
:is(#promo, #promo-off-white) .pb-large-corner article::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--promo-handle-color), var(--promo-handle-color)),
    linear-gradient(var(--promo-handle-color), var(--promo-handle-color)),
    linear-gradient(var(--promo-handle-color), var(--promo-handle-color)),
    linear-gradient(var(--promo-handle-color), var(--promo-handle-color));
  background-repeat: no-repeat;
  background-size: var(--promo-handle-size) var(--promo-handle-size);
  background-position:
    0 0,
    100% 0,
    0 100%,
    100% 100%;
}

/* 
/* Promo: headline (a div, not a heading): Saans Regular, -1.6px letter spacing, #111111.
   54px / 54px normally, 40px / 44px on tablet (up to 1038px: the promo stays stacked until the split layout starts at 1039px),
   30px / 34px on mobile (767px and below). */
:is(#promo, #promo-off-white) .promotion__blade-heading > div:first-child {
  font-family: "Saans", Arial, sans-serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 54px;
  letter-spacing: -1.6px;
  color: var(--off-black);
}
@media (max-width: 1038px) {
  :is(#promo, #promo-off-white) .promotion__blade-heading > div:first-child {
    font-size: 40px;
    line-height: 44px;
  }
}
@media (max-width: 767px) {
  :is(#promo, #promo-off-white) .promotion__blade-heading > div:first-child {
    font-size: 30px;
    line-height: 34px;
  }
}

/* Promo: no space under the description (the site adds 48px with .mb-48, 32px on mobile with .mobile-mb-32) */
:is(#promo, #promo-off-white) .blade__description {
  margin-bottom: 0;
}

/* Promo: copy: Serrif Light, #111111 (size and line height come from the site) */
:is(#promo, #promo-off-white) .blade__description p {
  font-family: "Serrif", Georgia, serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 21px;
  color: var(--off-black);
}

/* Promo: hide the buttons */
:is(#promo, #promo-off-white) .cta_container {
  display: none;
}

/* ==========================================================================
   STORY  (#story)
   ========================================================================== */

/* Story: cards span the full grid (1 / span 12)
   On wide screens (1440px+) the site's container query sets the cards to 2 / span 10; the ID selector outranks it. */
:is(#story, #story-off-white, #story-small, #story-off-white-small) .cards {
  grid-column: 1 / -1;
}

/* Story: tighter space between columns.
   The site lays the cards out with flex + space-between and adds a 24-48px margin-left on every card after the first,
   so any leftover width becomes extra gap. Here the cards share the row equally with one fixed gap instead. */
@media (min-width: 768px) {
  :is(#story, #story-off-white, #story-small, #story-off-white-small) .cards {
    justify-content: flex-start;
    gap: 24px;
  }
  :is(#story, #story-off-white, #story-small, #story-off-white-small)
    .cards
    > .card__wrapper {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
  }
  :is(#story, #story-off-white, #story-small, #story-off-white-small)
    .cards
    .card:not(:first-child) {
    margin-left: 0;
  }
}

/* Story (small variant): #story-small and #story-off-white-small get all the same styles as #story, plus the same
   headline / subcopy treatment as the features small variant, left-aligned instead of the site's centred header.
   Headline: Saans Regular 54px / 54px, -1.6px letter spacing, #111111. Each span in the headline starts a new line. */
:is(#story-small, #story-off-white-small) .story__blade-heading {
  /* Full grid width, so the headline starts at the left edge of the cards below instead of the site's indented column */
  grid-column: 1 / -1;
  margin-inline: 0;
  text-align: left;
}
:is(#story-small, #story-off-white-small) .story__blade-heading h2.headline {
  font-family: "Saans", Arial, sans-serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 54px;
  letter-spacing: -1.6px;
  color: var(--off-black);
  text-align: left;
}
:is(#story-small, #story-off-white-small)
  .story__blade-heading
  h2.headline
  span {
  display: block;
}
/* Below 1295px the headline is 40px / 40px (same as the headline section on mobile) */
@media (max-width: 1294px) {
  :is(#story-small, #story-off-white-small) .story__blade-heading h2.headline {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.2px;
  }
}
@media (max-width: 599px) {
  :is(#story-small, #story-off-white-small)
    .story__blade-heading
    h2.headline
    span {
    display: inline;
  }
}

/* Story (small variant): subcopy under the headline. Serrif Light, #111111, left-aligned.
   Same as the serif body copy in the headline section (size and line height come from the site); max-width gives the three-line wrap. */
:is(#story-small, #story-off-white-small)
  .story__blade-heading
  .blade__description {
  max-width: 660px;
  margin-inline: 0;
  text-align: left;
}
:is(#story-small, #story-off-white-small)
  .story__blade-heading
  .blade__description
  p {
  font-family: "Serrif", Georgia, serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 21px;
  color: var(--off-black);
}

/* ==========================================================================
   FOOTER  (#footer)
   ========================================================================== */

:is(#footer, #footer-off-white) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Extra height pushes the artwork down relative to the headline: the section is --footer-art-shift taller, and the
     artwork keeps its original size, anchored to the bottom, so the extra space opens up above it.
     Raise --footer-art-shift to push the artwork lower, lower it to bring it back up (0 = original layout). */
  --footer-art-height: 620px;
  --footer-art-shift: 50px;
  min-height: calc(var(--footer-art-height) + var(--footer-art-shift));
}

/* Footer: the site stacks the background image below the content. Pin it behind the content instead,
   filling the section and anchored to the bottom, so the artwork sits under/around the buttons. */
:is(#footer, #footer-off-white) .blade__background--below {
  position: absolute;
  /* Original size, anchored to the bottom (the section is taller than this; see --footer-art-shift above) */
  inset: auto 0 0 0;
  height: var(--footer-art-height);
  /* Same as the marquee: cap the width and center it, so the artwork stops scaling up on wide screens.
     Past this width the off-white section color fills the sides. Tune the max-width to taste. */
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
}

:is(#footer, #footer-off-white) .background__graphics,
:is(#footer, #footer-off-white) .blade__background-image {
  height: 100%;
}

:is(#footer, #footer-off-white) .background__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Footer: content sits above the artwork, with the headline pushed down from the top */
:is(#footer, #footer-off-white) .container {
  position: relative;
  z-index: 1;
}

/* Footer: larger headline, wrapping onto two lines (tune font-size / max-width to taste) */
:is(#footer, #footer-off-white) .headline.text__headline--large {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.05;
  max-width: 11em;
  margin-inline: auto;
}

/* ==========================================================================
   FAQ  (#faq)
   ========================================================================== */

/* FAQ: accordion title is Saans, #111111 */
:is(#faq, #faq-off-white) .accordion__title {
  font-family: "Saans", Arial, sans-serif;
  color: var(--off-black);
}

/* FAQ: body copy is Saans, #111111 (the global body copy rule already sets this; repeated so the site's own rules can't win) */
:is(#faq, #faq-off-white) :is(p, li, blockquote, figcaption) {
  font-family: "Saans", Arial, sans-serif;
  color: var(--off-black);
}

/* FAQ: accordion button: same states as the features accordion
   Resting: off-black +/- on a fin-light-orange circle. Hover / pressed: fin-orange circle with a white icon. Focus ring: orange. */
:is(#faq, #faq-off-white) .accordion__trigger {
  --pbc-g-interactive-text-color: var(--off-black);
  --pbc-accordion-icon-color: var(--off-black);
  --pbc-accordion-icon-background-color: #f1eee9;
  --pbc-accordion-icon-background-color-hover: var(--off-black);
  --pbc-accordion-icon-color-hover: #ffffff;
  --pbc-focus-state-color: var(--off-black);
}

/* ==========================================================================
   HELPERS  (not tied to any ID)
   ========================================================================== */

/* Helpers: orange text */
span.fin-orange {
  color: var(--fin-orange);
}

/* Helpers: square image corners, whole page
   Every image inside #main-content gets square corners. The ID in the selector outranks the site's
   class-based rounding rules (16px, 8px, 50%), so no !important is needed. */
#main-content img {
  border-radius: 0;
}

/*
 OVERRIDES
/* ==========================================================================
   HERO
   ========================================================================== */

#marquee > .container article {
  margin-left: 16px;
  margin-right: 16px;
}

#marquee .content__wrapper {
  margin-bottom: max(95px, calc(min(100vw, 1500px) * 0.2));
}

@media (min-width: 768px) {
  #marquee .content__wrapper {
    margin-bottom: max(95px, calc(min(100vw, 1500px) * 0.15));
  }
}

#marquee .marquee__blade-heading {
  margin-bottom: 24px;
}

#marquee .blade__description p {
  margin-top: 24px;
  color: rgba(17, 17, 17, 0.8);
}

@media (min-width: 768px) {
  #marquee .blade__description p {
    max-width: 560px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 140%; /* 19.6px */
    letter-spacing: 0;
  }
}

#marquee .cta_container.ctas__2 {
  flex-direction: column;
  height: 52px;
}

#marquee .cta_button__wrapper a {
  padding: 12px 32px;
  font-weight: 400;
  height: 52px;
}

#marquee .cta_button__wrapper svg {
  display: none;
}

#marquee .video__wrapper {
  padding-block: 0;
}

/* ==========================================================================
   LOGOS
   ========================================================================== */

#logos .logogrid__blade-heading h2.headline {
  color: var(--off-black-60, rgba(17, 17, 17, 0.6));
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 12px */
  letter-spacing: 0.6px;
}

#logos > .container {
  padding-block: 20px;
}

#logos .grid_main {
  margin-left: 0;
  margin-right: 0;
  grid-row-gap: 10px;
}

@media (min-width: 1024px) {
  #logos > .container {
    padding-block: 80px;
  }

  #logos .grid_main {
    margin-inline: auto;
    grid-template-columns: repeat(12, 1fr);
  }

  #logos .logo-grid {
    grid-column: 2 / 12;
  }
}

/* ==========================================================================
   HEADLINE SECTIONS
   ========================================================================== */

:is(#headline, #headline-off-white) > .container {
  padding-top: 40px !important;
}

:is(#headline, #headline-off-white) > .container article {
  margin-inline: 24px;
}

:is(#headline, #headline-off-white) .blade__description p {
  color: var(--off-black-80, rgba(17, 17, 17, 0.8));
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.16px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  :is(#headline, #headline-off-white) > .container {
    padding-top: 64px !important;
  }

  :is(#headline, #headline-off-white) > .container article {
    margin-inline: 32px;
  }

  :is(#headline, #headline-off-white) .blade__description {
    max-width: min(75%, 525px);
  }

  :is(#headline, #headline-off-white) .blade__description p {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  :is(#headline, #headline-off-white) .blade__description {
    grid-column: 1 / 10;
  }

  :is(#headline, #headline-off-white) > .container article {
    margin-inline: 48px;
  }
}

@media (min-width: 1440px) {
  :is(#headline, #headline-off-white) > .container article {
    margin-inline: 0;
  }

  :is(#headline, #headline-off-white) > .container {
    padding-top: 80px !important;
  }
}

/* ==========================================================================
   TABS SECTIONS
   ========================================================================== */

:is(#tabs, #tabs-off-white) > .container {
  padding-top: 40px;
  padding-bottom: 48px;
}

:is(#tabs, #tabs-off-white) .tablist {
  margin-bottom: 0;
}

:is(#tabs, #tabs-off-white)
  [role="tabpanel"]
  .oneup--blade
  > .container
  article {
  grid-row-gap: 20px;
}

:is(#tabs, #tabs-off-white) .tablist button[role="tab"] {
  font-weight: 400;
  font-size: 16px;
  font-style: normal;
  line-height: 110%; /* 17.6px */
  letter-spacing: -0.16px;
}

:is(#tabs, #tabs-off-white) .tablist button[aria-selected="true"] span {
  font-weight: 400;
}

:is(#tabs, #tabs-off-white)
  [role="tabpanel"]
  .oneup__blade-heading
  h2.headline {
  text-align: left;
}

:is(#tabs, #tabs-off-white) [role="tabpanel"] .blade__description {
  margin-bottom: 0;
}

:is(#tabs, #tabs-off-white) [role="tabpanel"] .blade__description p {
  color: rgba(17, 17, 17, 0.8);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 19.6px */
  letter-spacing: 0;
}

@media (min-width: 768px) {
  :is(#tabs, #tabs-off-white) > .container {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  :is(#tabs, #tabs-off-white)
    [role="tabpanel"]
    .oneup__blade-heading
    h2.headline {
    text-align: center;
  }

  :is(#tabs, #tabs-off-white) [role="tabpanel"] .blade__description {
    max-width: 620px;
  }
}

@media (min-width: 1440px) {
  :is(#tabs, #tabs-off-white) > .container {
    padding-top: 64px;
    padding-bottom: 80px;
  }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

:is(#quote, #quote-off-white) .card--card_quote {
  padding: 30px 24px 40px;
  position: relative;
}

:is(#quote, #quote-off-white) .card--card_quote .card_quote_align--left {
  flex-direction: column-reverse;
}

:is(#quote, #quote-off-white) .card__content__wrapper {
  position: relative;
  padding-top: 70px;
}

:is(#quote, #quote-off-white) .card__content__wrapper::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 40px;
  background: top left / contain no-repeat;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

:is(#quote, #quote-off-white):has([data-module-name="Isabel Larrow"])
  .card__content__wrapper::before {
  background-image: url("https://cdn.sanity.io/images/4bgok82s/production/551428838082cbdabb8fbd1fe6c58762ef0d5b09-182x60.svg");
}
:is(#quote, #quote-off-white):has([data-module-name="Shannon Magiera"])
  .card__content__wrapper::before {
  background-image: url("https://cdn.sanity.io/images/4bgok82s/production/9804fcbeb4695c250e5d6a310ef02089a04d8f3b-188x112.png");
}
:is(#quote, #quote-off-white):has([data-module-name="Alessandro Presa Perez"])
  .card__content__wrapper::before {
  background-image: url("https://cdn.sanity.io/images/4bgok82s/production/20cfa7db03f5ecaf1d9274dfefdb6a3b301e9a84-286x112.png");
}

:is(#quote, #quote-off-white):has([data-module-name="Alison Edgley"])
  .card__content__wrapper::before {
  background-image: url("https://cdn.sanity.io/images/4bgok82s/monorepo-static-assets/6b52ff2a7999962041333f8fffc18d2f4339dc5e-768x540.png");
}

:is(#quote, #quote-off-white) h3.card__headline {
  color: #111;
  font-family: Saans;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px; /* 108.333% */
  letter-spacing: -0.72px;
}

:is(#quote, #quote-off-white) .tagline_wrapper {
  margin-top: 150px;
  margin-bottom: 0;
}

:is(#quote, #quote-off-white) .tagline_wrapper .name {
  color: #111;
  font-family: Saans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px; /* 140% */
  letter-spacing: 0;
}

:is(#quote, #quote-off-white) .tagline_wrapper .role_company {
  color: rgba(17, 17, 17, 0.5);
  font-family: Saans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
  letter-spacing: 0;
}

:is(#quote, #quote-off-white) .card__image__wrapper {
  position: absolute;
  height: 90px;
  bottom: 90px;
  aspect-ratio: 115 / 143;
}

:is(#quote, #quote-off-white) .card__image__wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  :is(#quote, #quote-off-white) .card__content__wrapper {
    grid-column-start: 1;
    grid-column-end: 9;
    margin-left: 0;
    margin-right: 20px;
  }

  :is(#quote, #quote-off-white) .card__image__wrapper {
    grid-column-start: 9;
    grid-column-end: 13;
    position: relative;
    bottom: 0;
    width: 100%;
    height: min-content;
    margin-top: auto;
  }
  :is(#quote, #quote-off-white) .card__image__wrapper img {
    aspect-ratio: 115/143;
  }

  :is(#quote, #quote-off-white) .tagline_wrapper {
    margin-top: 80px;
  }

  :is(#quote, #quote-off-white) .card__content__wrapper::before {
    top: 0;
  }
}

@media (min-width: 850px) {
  :is(#quote, #quote-off-white) .card__content__wrapper {
    padding-top: 90px;
  }

  :is(#quote, #quote-off-white) .tagline_wrapper {
    margin-top: 100px;
  }
}

@media (min-width: 950px) {
  :is(#quote, #quote-off-white) .card__content__wrapper {
    padding-top: 110px;
  }

  :is(#quote, #quote-off-white) .tagline_wrapper {
    margin-top: 120px;
  }
}

@media (min-width: 1440px) {
  :is(#quote, #quote-off-white) .card__content__wrapper {
    padding-inline: 170px;
    padding-top: 120px;
  }

  :is(#quote, #quote-off-white) .tagline_wrapper {
    margin-top: 150px;
  }

  :is(#quote, #quote-off-white) h3.card__headline {
    font-size: 28px;
    line-height: 32px;
  }
}

:is(#quote, #quote-off-white) .card__headline span.fin-orange {
  color: inherit;
  padding-inline: 0.1em;
  background-color: transparent;
  background-image: linear-gradient(var(--fin-orange), var(--fin-orange));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% calc(1lh - 2px);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ==========================================================================
   FEATURE ACCORDION
   ========================================================================== */

:is(#features, #features-off-white) .productfeature__blade-heading {
  margin: 40px;
}

:is(#features, #features-off-white) .accordion__heading {
  padding-block: 24px;
}

:is(#features, #features-off-white)
  .accordion__heading:has(button[aria-expanded="true"]) {
  padding-bottom: 16px;
}

:is(#features, #features-off-white) .accordion__description p {
  color: rgba(17, 17, 17, 0.8);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 19.6px */
  letter-spacing: 0;
}

@media (min-width: 768px) {
  :is(#features, #features-off-white) .productfeature__blade-heading {
    margin: 72px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :is(#features, #features-off-white) .productfeature__content-group {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  :is(#features, #features-off-white) .productfeature__blade-heading {
    margin: 0;
  }

  :is(#features, #features-off-white)
    .accordion__heading:has(button[aria-expanded="true"]) {
    padding-block: 0;
  }

  :is(#features, #features-off-white) > .container {
    padding-top: 48px;
  }
}

@media (min-width: 1440px) {
  :is(#features, #features-off-white) > .container {
    padding-top: 64px;
    padding-bottom: 80px;
  }
}

/* ==========================================================================
   STORY CARDS
   ========================================================================== */

#story-off-white-small .cards.align-slot--left.cards_grid-row-2 {
  margin-top: 16px;
}

#story-off-white-small .card__description p {
  color: rgba(17, 17, 17, 0.8);
  font-family: Saans;
  font-size: var(--body-size, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 19.6px */
  letter-spacing: var(--body-letter-spacing, 0);
}

@media (min-width: 768px) {
  :is(#story-small, #story-off-white-small)
    .story__blade-heading
    .blade__description
    p {
    max-width: 75%;
  }
}

@media (min-width: 1440px) {
  #story-off-white-small .cards.align-slot--left.cards_grid-row-2 {
    margin-top: 0px;
  }
}

/* ==========================================================================
   HIGHEST STANDARDS
   ========================================================================== */

#promo-off-white .content__wrapper {
  margin-inline: 24px;
  padding-bottom: 16px;
}

#promo-off-white .image__wrapper {
  margin-inline: 24px;
  padding-bottom: 24px;
}

#promo-off-white .promotion__blade-heading > div:first-child {
  color: #111;
  font-family: Saans;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 30px */
  letter-spacing: -0.96px;
}

#promo-off-white .blade__description p {
  color: rgba(17, 17, 17, 0.8);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%; /* 22.4px */
  letter-spacing: -0.16px;
}

@media (min-width: 768px) {
  #promo-off-white > .container article {
    grid-column: 1 / -1;
    padding: 24px;
  }

  #promo-off-white .content__wrapper {
    margin-inline: 0;
    padding-block: 0;
    grid-column: 1 / 7;
    max-width: 482px;
  }

  #promo-off-white .image__wrapper {
    margin-inline: 0;
    padding-block: 0;
    grid-column: 7 / -1;
  }
}

@media (min-width: 1024px) {
  #promo-off-white .promotion__blade-heading > div:first-child {
    font-size: 40px;
  }
}

@media (min-width: 1440px) {
  #promo-off-white .promotion__blade-heading > div:first-child {
    font-size: 54px;
  }

  #promo-off-white > .container article {
    grid-template-columns: repeat(12, 1fr);
  }
}

/* ==========================================================================
   FOOTER CTA
   ========================================================================== */
#footer-off-white .cta_container.ctas__2 {
  flex-direction: column;
  height: 52px;
}

#footer-off-white .cta_button__wrapper a {
  padding: 12px 32px;
  font-weight: 400;
  height: 52px;
}

#footer-off-white .cta_button__wrapper svg {
  display: none;
}

/* ==========================================================================
   FAQs
   ========================================================================== */

:is(#faq, #faq-off-white) .faq__blade-heading h2.headline {
  font-size: 54px;
  line-height: 54px;
  letter-spacing: -1.6px;
}
@media (max-width: 1294px) {
  :is(#faq, #faq-off-white) .faq__blade-heading h2.headline {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.2px;
  }
}

/* ==========================================================================
   Use customer data and context to resolve cases
   ========================================================================== */

:is(#headline, #headline-off-white)
  article:is(
    [data-module-name="Use customer data and context to resolve cases"]
  )
  h2.headline {
  font-size: 54px;
  line-height: 54px;
  letter-spacing: -1.6px;
  max-width: 22ch;
}
@media (max-width: 1294px) {
  :is(#headline, #headline-off-white)
    article:is(
      [data-module-name="Use customer data and context to resolve cases"]
    )
    h2.headline {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.2px;
  }
}

/* ==========================================================================
   Deliver perfect experiences on Voice, Slack, WhatsApp, and more
   ========================================================================== */

@media (min-width: 1024px) and (max-width: 1084px) {
  :is(#headline, #headline-off-white)
    article:is(
      [data-module-name="Deliver perfect experiences on Voice, Slack, WhatsApp, and more"]
    )
    h2.headline {
    font-size: 60px;
  }
}

@media (min-width: 1280px) and (max-width: 1338px) {
  :is(#headline, #headline-off-white)
    article:is(
      [data-module-name="Deliver perfect experiences on Voice, Slack, WhatsApp, and more"]
    )
    h2.headline {
    font-size: 76px;
  }
}
