/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
  This is where reset, normalize & box-sizing styles go.
*/






/* ========================================================================== */
/*  1. LAYOUT                                                #layout          */
/* ========================================================================== */
:root {
  --container-width: 1280px;

  /* Spacing */
  --spacing-0x: 0px;
  --spacing-05x: 0px;
  --spacing-1x: 0px;
  --spacing-2x: 4px;
  --spacing-3x: 8px;
  --spacing-4x: 12px;
  --spacing-5x: 16px;
  --spacing-6x: 20px;
  --spacing-8x: 24px;
  --spacing-10x: 32px;
  --spacing-12x: 32px;
  --spacing-14x: 32px;
  --spacing-16x: 32px;
  --spacing-18x: 32px;
  --spacing-20x: 32px;
  --spacing-24x: 32px;
  --spacing-30x: 32px;

  /* Dnd Spacing */
  --container-padding: var(--spacing-5x);
  --dnd-row-gap: var(--spacing-8x);
  --first-section-padding-top: 90px; 
  --dnd-section-bottom-margin: var(--spacing-20x); 
  --dnd-section-bg-padding: var(--spacing-20x); 
  
  /* Misc */
  --scroll-margin-top: 90px;
}

@media (min-width: 640px) {
  :root {
    /* Dnd Spacing */
    /* --first-section-padding-top: 120px; */
    --dnd-section-bottom-margin: 80px;
    --dnd-section-bg-padding: 80px; 
    
    /* Misc */
    --scroll-margin-top: 120px;
  }
}

@media (min-width: 820px) {
  :root {
    /* Spacing */
    --spacing-05x: 2px;
    --spacing-1x: 4px;
    --spacing-2x: 8px;
    --spacing-3x: 12px;
    --spacing-4x: 16px;
    --spacing-5x: 20px;
    --spacing-6x: 24px;
    --spacing-8x: 32px;
    --spacing-10x: 40px;
    --spacing-12x: 48px;
    --spacing-14x: 56px;
    --spacing-16x: 64px;
    --spacing-18x: 72px;
    --spacing-20x: 80px;
    --spacing-24x: 96px;
    --spacing-30x: 120px;

    /* Dnd Spacing */
    --dnd-row-gap: var(--spacing-14x);
  }
}

@media (min-width: 1024px) {
  :root {
    /* Dnd Spacing */
    /* --first-section-padding-top: 160px; */
    --dnd-section-bottom-margin: 120px;
    --dnd-section-bg-padding: 120px; 
    
    /* Misc */
    --scroll-margin-top: 160px;
  }
}

/* ========================================================================== */
/*  2. COLORS                                                #clrs            */
/* ========================================================================== */     

:root,
:host {
  /*** Import color properties from figma ***/
  --primary-base:     #5d2bff;
  --primary-50:       #F6F3FF;
  --primary-100:      #DFD5FF;
  --primary-400:      #784eff;
  --primary-600:      #4e24d5;
  --secondary-base:   #ff2b63;
  --secondary-50:     #FF4E7D;
  --secondary-400:    #ff4e7d;
  --secondary-600:    #d42453;
  --gray-base:        #f2f5ff;
  --gray-200:         #DFE5F5;
  --gray-300:         #CACCD5;
  --gray-400:         #A8AAB2;
  --black-base:       #111111;
  --black-600:        #313131;
  --black-100:        #D1D1D1;
  --black-400:        #606060; 
  --white:            #ffffff;
  --background-gray:  #f9faff;

  /*** Temporary ***/
  --primary-900: #1f0e55;
  --primary-950: #130933;
  
  /*** Components ***/
  --text-base:      var(--black-base);
  --text-light:     var(--black-400);
  --text-white:     var(--white);
  --text-muted:     var(--black-600);
  --border-light:   var(--gray-200);
}

/* ========================================================================== */
/*  3. TYPOGRAPHY                                            #typo            */
/*=========================================================================== */
/*** Custom Fonts (uncomment for manual font-face properties) ***/
/* @font-face {
  font-family: ;
  font-weight:  ;
  font-style: ;
  src: url('') format(''),
       url('') format(''),
       url('') format('');
} */



/*  */

:root {
  /* ========================================================================== */
  /*  base                                                                      */
  --body-font: sans-serif;
  --heading-font: sans-serif;

  /* ========================================================================== */
  /*  Font Sizing                                                               */
  --rem-base-px: 18px;
  --base-line-height: 1.2;

  /* update multiplier to change responsive sizing, unless design has specific sizing */
  --h1-font-size:         4.5rem;
  --h2-font-size:         3rem;
  --h3-font-size:         2rem;
  --h4-font-size:         1.5rem;
  --h5-font-size:         1.25rem;
  --h6-font-size:         1.125rem;
  --preheader-font-size:  0.8889rem;
  --text-sm:              0.8889rem;

  /* ========================================================================== */
  /*  Line Heights                                                              */
  --h1-line-height:         1.2;
  --h2-line-height:         1.2;
  --h3-line-height:         1.2;
  --h4-line-height:         1.2;
  --h5-line-height:         1.2;
  --h6-line-height:         1.2;
  --preheader-line-height:  1.2;
  --text-sm-line-height:    1.2;
}

/*** Mobile Multiplier ***/
@media (max-width: 820px) {
  :root {
    --h1-font-size:         4.5rem;
    --h2-font-size:         3rem;
    --h3-font-size:         2rem;
    --h4-font-size:         1.5rem;
    --h5-font-size:         1.25rem;
    --h6-font-size:         1.125rem;
    --preheader-font-size:  0.8889rem;

    /* ========================================================================== */
    /*  Line Heights                                                              */
    --h1-line-height:         1.2;
    --h2-line-height:         1.2;
    --h3-line-height:         1.2;
    --h4-line-height:         1.2;
    --h5-line-height:         1.2;
    --h6-line-height:         1.2;
    --preheader-line-height:  1.2;
    --text-sm-line-height:    1.2;
  }
}


/* ========================================================================== */
/*  4. Global Styles                                              #styles            */
/*=========================================================================== */

:root {
  /* General */
  --radius: 8px;
  --box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .0);
  --transition: all 200ms ease-in-out;


  /* Buttons */
  --btn-font-size: var(--rem-base-px);
  --btn-padding: 12px 20px;
  --btn-border: 1px solid transparent;
  --btn-radius: 8px;
  --btn-transition: var(--transition);
}

/* ========================================================================== */
/*  5. FORMS                                                #form             */
/* ========================================================================== */  

form, form :before, form :after {
  /* ========================================================================== */
  /*  Labels                                                                    */
  --legend-font-size:   0.9375rem;

  --label-font-family:  var(--heading-font);
  --label-font-size:    1rem;
  --label-font-weight:  500;
  --label-line-height:  1.125;
  --label-color:        var(--neutral-900);
  --label-margin-b:     8px;

  --label-error-font-size:          0.875rem;
  --label-error-font-weight:        450;
  --label-error-line-height:        1;
  --label-error-color:              var();
  --label-error-image:              url('https://23101795.fs1.hubspotusercontent-na1.net/hubfs/23101795/xpel-theme-2024/icons/form-alert-icon.svg');


  /* ========================================================================== */
  /*  Text Input                                                                */
  --input-font-size:                1.125rem;
  --input-font-weight:              400;
  --input-line-height:              1.111;
  --input-color-text:               var();
  --input-color-text-placeholder:   var();
  --input-color-required:           var();
  --input-color-bg:                 var();
  --input-border:                   1px solid var();
  --input-border-radius:            4px;
  --input-padding:                  14px 16px;
  --input-spacing-y:                16px;
  --input-transition:               var(--transition);
  --input-color-outline:            var();

  /* States */
  --input-error-color-border:       var();
  --input-error-color-outline:      var();
  --input-focus-color-border:       var();
  --input-disabled-color-text:      var();
  --input-disabled-color-border:    var();
  --input-disabled-color-bg:        var();

  --textarea-height:                113px; 

  /* ========================================================================== */
  /*  Checkbox                                                                  */
  --checkbox-font-family:       var(--body-font);
  --checkbox-font-size:         1rem;
  --checkbox-font-weight:       450;
  --checkbox-line-height:       1.111;
  --checkbox-color-text:        var();
  --checkbox-dimensions:        20px;
  --checkbox-image-dimensions:  18px;
  --checkbox-border:            1px solid var();
  --checkbox-border-radius:     var(--radius);
  --checkbox-color-bg:          var();

  /* States */
  --checkbox-hover-image:                 url();
  --checkbox-hover-color-border:          var();
  --checkbox-checked-image:               url();
  --checkbox-checked-color-bg:            var();
  --checkbox-checked-color-border:        var();
  --checkbox-checked-hover-color-bg:      var();
  --checkbox-checked-hover-color-border:  var();
  --checkbox-error-color-border:          var();
  --checkbox-disabled-color-text:         var();
  --checkbox-disabled-color-bg:           var();
  --checkbox-disabled-color-border:       var();
  --checkbox-disabled-checked-image:      url();
  --checkbox-disabled-checked-color-bg:   var();
  
  
  /* ========================================================================== */
  /*  Radio                                                                     */
  --radio-font-family:        var(--body-font);
  --radio-font-size:          var(--checkbox-font-size);
  --radio-font-weight:        var(--checkbox-font-weight);
  --radio-color-text:         var(--checkbox-color-text);
  --radio-line-height:        var(--checkbox-line-height);
  --radio-dimensions:         20px;
  --radio-inner-dimensions:   10px;
  --radio-color-bg:           var();
  --radio-border:             1px solid var();
  --radio-border-radius:      50px;

  /* States */
  --radio-hover-color-inner:              var();
  --radio-hover-border:                   1px solid var();
  --radio-checked-color-inner:            var();
  --radio-checked-color-bg:               var();
  --radio-checked-color-border:           2px solid var();
  --radio-checked-hover-color-border:     2px solid var();
  --radio-error-color-border:             var();
  --radio-disabled-color-text:            var();
  --radio-disabled-color-bg:              var();
  --radio-disabled-color-border:          1px solid var();
  --radio-disabled-color-inner:           var();
  --radio-disabled-checked-color-bg:      var();
  --radio-disabled-checked-color-border:  2px solid var();
  --radio-disabled-checked-color-inner:   var();

  /* ========================================================================== */
  /*  Select                                                                    */
  --select-icon:          url();

  /* ========================================================================== */
  /*  datepicker                                                                */
  --date-input-icon:                    url();
  --date-input-icon-height:             24px;
  --date-input-icon-width:              20px;
  --date-input-margin-right:            20px; /* match this to x-padding on input fields */

  --date-picker-font:                   var(--body-font);
  --date-picker-color:                  var();
  --date-picker-border:                 none;
  --date-picker-border-radius:          var(--radius-md);

  --date-picker-number-hover-color:     var();
  --date-picker-number-hover-bg:        var();
  --date-picker-number-today-color:     var();
  --date-picker-number-selected-color:  var();
  --date-picker-number-selected-bg:     var();
}

/* ========================================================================== */
/*  Form Color Variants                                                       */
.form--style-light form, .form--style-light form :before, .form--style-light form :after {
  --input-color-bg:     var();
  --checkbox-color-bg:  transparent;
  --radio-color-bg:     transparent;
}

.form--style-dark form, .form--style-dark form :before, .form--style-dark form :after {
  --label-color:                    var();
  --label-error-color:              var();
  --label-error-image:              url();

  --input-color-text:               var();
  --input-color-text-placeholder:   var();
  --input-color-required:           var();
  --input-color-bg:                 transparent;
  --input-color-outline:            rgb();
  --input-border:                   1px solid var();
  --input-disabled-color-text:      var();
  --input-disabled-color-border:    var();
  --input-disabled-color-bg:        var();
  --input-error-color-border:       var();
  --input-error-color-outline:      0px 0px 0px 3px rgba(222, 28, 34, 0.70);

  --checkbox-color-text:                  var();
  --checkbox-border:                      1px solid var();
  --checkbox-color-bg:                    var();
  --checkbox-hover-color-border:          var();
  --checkbox-checked-image:               url();
  --checkbox-checked-color-bg:            var();
  --checkbox-checked-color-border:        var();
  --checkbox-checked-hover-color-bg:      var();
  --checkbox-checked-hover-color-border:  var();
  --checkbox-disabled-color-text:         var();
  --checkbox-disabled-color-bg:           var();
  --checkbox-disabled-color-border:       var();
  --checkbox-disabled-checked-image:      url();
  --checkbox-disabled-checked-color-bg:   var();

  --radio-color-bg:                       var();
  --radio-border:                         1px solid var();
  --radio-hover-color-inner:              var();
  --radio-hover-border:                   1px solid var();
  --radio-checked-color-inner:            var();
  --radio-checked-color-bg:               var();
  --radio-checked-color-border:           2px solid var();
  --radio-checked-hover-color-border:     2px solid var();
  --radio-disabled-color-text:            var();
  --radio-disabled-color-bg:              var();
  --radio-disabled-color-border:          1px solid var();
  --radio-disabled-color-inner:           var();
  --radio-disabled-checked-color-bg:      var();
  --radio-disabled-checked-color-border:  2px solid var();
  --radio-disabled-checked-color-inner:   var();
}
*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
  Non-cosmetic design patterns including grid and layout classes)
*/



/* CSS variables */
:root {
  --column-gap: 0%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */
.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: var(--dnd-row-gap);
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */
@media (min-width: 820px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
/* container */
.dnd-section {
  overflow-x: clip;
  margin: 0 0 var(--dnd-section-bottom-margin);
}

.content-wrapper,
.dnd-section > .row-fluid {
  margin: 0 auto;
  padding: 0 var(--container-padding);
  max-width: calc(var(--container-width) + (var(--container-padding) * 2));
}

.body-wrapper {
  width: 100%;
}

.dnd-section .dnd-column,
.dnd-section .content-wrapper,
.dnd-section[class*="body_dnd_area-row"] {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.dnd-section > .row-fluid:has(.module-wrapper--full-width) {
  max-width: 100%;
  padding-inline: 0;
}

/* set custom padding for fixed header */
.dnd-section:has([class*="section-background"]) {
  padding-block: var(--dnd-section-bg-padding);
}

.dnd-section:first-child {
  padding-top: var(--first-section-padding-top);
}

.dnd-section:last-child {
  margin-bottom: var(--spacing-8x);
}

.dnd-section:last-child:has([class*="section-background"]) {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  /* .dnd-section .row-fluid > .dnd-column:has(+ .dnd-column) {
    margin-bottom: var(--dnd-section-bottom-margin);
  } */

  .dnd-column:has(.hs-horizontal-spacer) {
    margin-bottom: 0 !important;
  }
}


@media (min-width: 640px) {
  .dnd-section[class*="force-full-width-section"] .dnd-column {
    padding: 0;
  }
}

/* Elements
  Base HMTL elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

.module-wrapper {
  display: flex;
  max-width: 100%;
}

.module-wrapper--center {
  margin: 0 auto;
}

.module-wrapper--right {
  margin: 0;
}

.module-wrapper > div {
  width: 100%;
}

.module-wrapper--col {
  flex-direction: column;
}

@media (min-width: 1050px) {
  .module-wrapper--right {
    margin: 0 0 0 auto;
  }
}

.icon-wrapper,
.icon-wrapper svg {
  display: block;
  height: fit-content;
  width: fit-content;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
html {
  font-family: var(--body-font);
  font-size: var(--rem-base-px);
  font-weight: 400;
  line-height: var(--base-line-height);
  text-wrap: balance;
  overflow-wrap: break-word;
  scroll-behavior: smooth; /** Remove this when using GSAP scroll triggers **/
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.heading-display-1,
.heading-display-2,
.heading-display-3,
.heading-display-4,
.heading-display-5,
.heading-display-6 {
  font-family: var(--heading-font);
  font-weight: 600;
  margin: 0;
}

h1, .heading-display-1 {
  font-size: var(--h1-font-size);
  line-height: var(--h1-line-height);
}

h2, .heading-display-2 {
  font-size: var(--h2-font-size);
  line-height: var(--h2-line-height);
}

h3, .heading-display-3 {
  font-size: var(--h3-font-size);
  line-height: var(--h3-line-height);
}

h4, .heading-display-4 {
  font-size: var(--h4-font-size);
  line-height: var(--h4-line-height);
}

h5, .heading-display-5 {
  font-size: var(--h5-font-size);
  line-height: var(--h5-line-height);
}

h6, .heading-display-6 {
  font-size: var(--h6-font-size);
  line-height: var(--h6-line-height);
}

/* Paragraphs */
p {
  font-size: var(--rem-base-px);
  margin: 0;
}

/* Anchors */
a {
  cursor: pointer;
  font-size: var(--rem-base-px);
  color: var();
  text-decoration: none;
}

a:hover {
  color: var();
}

/* Preheaders */
.preheader {
  display: block;
  font-size: var(--preheader-font-size);
  font-weight: 600;
  line-height: var(--preheader-line-height);
  text-transform: uppercase;
}

/* Lists */
ul, ol {
  margin: 0 0 24px;
  padding: 0;
  text-align: start;
}

:is(ul, ol, li) :is(ul, ol) {
  margin: 0;
  padding: 0;
}

li :is(ul, ol) {
  margin-top: 8px;
}

ul > li {
  margin-left: 20px;
}

ul.list-reset {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

ul.list-reset li {
  margin-left: 0;
}

li {
  --font-size: var(--rem-base-px);
  --line-height: 1.15;
  font-size: var(--font-size);
  font-weight: 400;
  line-height: var(--line-height);
  margin-bottom: 8px;
}

ol {
  list-style: none;
  counter-reset: orderedlist;
}

ol > li {
  position: relative;
  padding-left: 20px;
}

ol > li:before {
  counter-increment: orderedlist;
  content: counter(orderedlist) '.';
  position: absolute;
  inset: 0 auto auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--body-font);
  font-size: 0.875rem;
  height: fit-content;
  width: fit-content;
}

@media (min-width: 799px) {
  ul > li {
    margin-left: 22px;
  }
  
  ul > li::marker {
    font-size: 20px;
    line-height: calc(var(--font-size) * var(--line-height))
  }

  ol > li {
    padding-left: 22px;
  }

  ol > li:before {
    font-size: 1rem;
  }
}

/* Code blocks */
pre {
  overflow: auto;
  margin: 0;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */
blockquote {
  border-left: 2px solid;
  margin: 0;
  padding-left: 0.7rem;
}

/* Horizontal rules */
hr {
  border: none;
  border-bottom: 1px solid #CCC;
}

/* Image alt text */
img {
  font-size: 0.583rem;
  word-break: normal;
}

/* Figcaptions */
figcaption {
  font-size: 0.875rem;
}

/* ========================================================================== */
/*  RICH TEXT STYLING                                                         */
.custom-text-wrapper,
.custom-text-wrapper__rich-text {
  display: flex;
  flex-direction: column;
}

:is(.hs_cos_wrapper_type_rich_text, .custom-text-wrapper, .custom-text-wrapper__rich-text) :is(h1, h2, h3, h4, h5, h6):has(+ *) {
  text-wrap: wrap;
  margin-bottom: var(--spacing-4x);
}

:is(.hs_cos_wrapper_type_rich_text, .custom-text-wrapper, .custom-text-wrapper__rich-text) :is(.preheader, p):has(+ *) {
  text-wrap: wrap;
  margin-bottom: var(--spacing-6x);
}
.reset-button {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}

/* ========================================================================== */
/*  Button Group                                                              */
.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;

  @media (min-width: 820px) {
    flex-direction: row;
    align-items: center;
  }

  & .btn-group--center {
    justify-content: center;
  }

  & .btn-group--right {
    justify-content: flex-end;
  }
}

/* ========================================================================== */
/*  Button Styles                                                             */
.btn,
a.btn,
.form input[type="submit"],
.systems-page .email-prefs input[type="submit"] {
  --color: var(--white);
  --background: transparent;
  --border-color: transparent;
  --padding: 12px 20px;
  --border-radius: 150px;
  --transition: var(--transition);
  color: var(--color);
  padding: var(--padding);
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-size: var(--rem-base-px);
  font-weight: 650;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-1x);
  line-height: 1;
  text-decoration: none;
  width: fit-content;

  @media (max-width: 820px) {
    width: 100%;
  }

  & svg path {
    fill: var(--color);
  }
}

.btn--primary,
a.btn--primary {
  --background: var(--primary-base);
  --border-color: var(--primary-base);

  @media (hover: hover) {
    &:hover {
      --background: var(--primary-600);
      --border-color: var(--primary-600);
    }
  }
}

.btn--primary-clear,
a.btn--primary-clear {
  --color: var(--primary-base);
  --border-color: var(--primary-base);

  @media (hover: hover) {
    &:hover {
      --color: var(--primary-600);
      --border-color: var(--primary-600);
    }
  }
}

.btn--secondary,
a.btn--secondary {
  --background: var(--secondary-base);
  --border-color: var(--secondary-base);

  @media (hover: hover) {
    &:hover {
      --background: var(--secondary-600);
      --border-color: var(--secondary-600);
    }
  }
}

.btn--secondary-clear,
a.btn--secondary-clear {
  --color: var(--secondary-base);
  --border-color: var(--secondary-base);

  @media (hover: hover) {
    &:hover {
      --color: var(--secondary-600);
      --border-color: var(--secondary-600);
    }
  }
}

.btn--ghost,
a.btn--ghost {
  --color: var(--white);
  --border-color: var(--white);

  @media (hover: hover) {
    &:hover {
      --color: var(--white);
      --border-color: var(--white);
    }
  }
}

.btn--link,
a.btn--link {
  --color: var(--primary-base);
  --padding: 0;
  text-decoration: underline;
  text-decoration-color: transparent;

  @media (hover: hover) {
    &:hover {
      --color: var(--primary-600);
      text-decoration-color: var(--primary-600);

      & svg {
        transform: translateX(4px);
      }
    }
  }
}

.btn--link-white,
a.btn--link-white {
  --color: var(--white);
  --padding: 0;
  text-decoration: underline;
  text-decoration-color: transparent;

  @media (hover: hover) {
    &:hover {
      text-decoration-color: var(--white);

      & svg {
        transform: translateX(4px);
      }
    }
  }
}
/* ========================================================================== */
/*  Fields                                                                    */
.hs-form-field {
  margin-bottom: var(--input-spacing-y);
}

/* ========================================================================== */
/*  Labels                                                                    */
form label {
  margin-bottom: var(--label-margin-b);
}

form label, form label span {
  display: inline-block;
  font-family: var(--label-font-family);
  font-size: var(--label-font-size);
  font-weight: var(--label-font-weight);
  line-height: var(--label-line-height);
  color: var(--label-color);
}

/* ========================================================================== */
/*  Help Text                                                                 */
form legend {
  font-size: var(--legend-font-size);
}

/* ========================================================================== */
/*  Fieldsets                                                                 */
form fieldset {
  max-width: 100% !important;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

form fieldset.form-columns-2 {
  display: grid;
  grid-template-columns: 1fr;
}

form fieldset:is(.form-columns-1, .form-columns-2) .hs-form-field {
  width: 100% !important;
  float: none !important;
}

form fieldset:is(.form-columns-1, .form-columns-2) .input {
  margin-right: 0 !important;
}

@media (min-width: 480px) {
  form fieldset.form-columns-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* ========================================================================== */
/*  Inputs                                                                    */
form :is(
  select, 
  select option, 
  textarea, 
  input:is(
    [type=radio], 
    [type=text], 
    [type=checkbox], 
    [type=search], 
    [type=email],
    [type=tel])) 
  {
  display: inline-block;
  font-size: var(--input-font-size);
  font-weight: var(--input-font-weight);
  line-height: var(--input-line-height);
  color: var(--input-color-text);
  padding: var(--input-padding);
  width: 100% !important;
  border: var(--input-border);
  border-radius: var(--input-border-radius);
  background-color: var(--input-color-bg);
  outline: 3px solid transparent;
  outline-offset: 0;
}

form :is(input, textarea, select):is(:focus) {
  border-color: var(--input-focus-color-border);
  outline-color: var(--input-color-outline);
}

form :is(input, textarea, select):disabled {
  cursor: not-allowed;
  color: var(--input-disabled-color-text);
  background: var(--input-disabled-color-bg);
  border-color: var(--input-disabled-color-border);
}

form textarea {
  height: var(--textarea-height);
}

form .hs_submit input[type=submit] {
  display: block;
}

form :is(input:placeholder, form select.is-placeholder, form select option:disabled) {
  font-family: var(--body-font);
  font-weight: 450;
  line-height: 1.111;
  color: var(--input-color-text-placeholder);
}

form input:placeholder:disabled {
  color: var(--input-disabled-color-text); 
}

/* ========================================================================== */
/*  Form List Items                                                           */  
form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: 12px;
}

form .inputs-list > li {
  display: block;
  margin: 0 0 12px;
}

form .inputs-list :is(input, span) {
  vertical-align: middle;
}

/* ========================================================================== */
/*  Inputs - Checkbox                                                         */
form :is(.hs-form-checkbox-display, .hs-form-booleancheckbox-display) {
  cursor: pointer;
  display: flex;
  gap: 12px;
}

form :is(.hs-form-checkbox-display, .hs-form-booleancheckbox-display) span {
  font-family: var(--checkbox-font-family);
  font-size: var(--checkbox-font-size);
  font-weight: var(--checkbox-font-weight);
  line-height: var(--checkbox-line-height);
  color: var(--checkbox-color-text);
  transition: var(--input-transition);
  margin: 0;
}

form .hs-form-checkbox-display:has(input[type=checkbox]:disabled) span {
  color: var(--checkbox-disabled-color-text);
}

form input[type=checkbox] {
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  height: var(--checkbox-dimensions);
  width: var(--checkbox-dimensions) !important;
  background-color: var(--checkbox-color-bg);
  border-radius: var(--checkbox-border-radius);
  border: var(--checkbox-border);
  transition: var(--input-transition);
  outline-offset: 3px;
}

form .inputs-list.error input[type="checkbox"] {
  border-color: var(--checkbox-error-color-border);
}

form input[type="checkbox"]:checked {
  background-color: var(--checkbox-checked-color-bg);
  border-color: var(--checkbox-checked-color-border);
}

form input[type="checkbox"]:disabled,
form input[type="checkbox"]:disabled:hover {
  background-color: var(--checkbox-disabled-color-bg);
  border-color: var(--checkbox-disabled-color-border);
}
form input[type="checkbox"]:disabled:checked,
form input[type="checkbox"]:disabled:checked:hover {
  background-color: var(--checkbox-disabled-checked-color-bg);
  border-color: var(--checkbox-disabled-color-border);
}

form input[type="checkbox"]:before {
  --checkbox-content: var(--checkbox-checked-image);
  content: var(--checkbox-content);
  position: absolute;
  inset: 0;
  height: var(--checkbox-image-dimensions);
  width: var(--checkbox-image-dimensions);
  transition: var(--input-transition);
  opacity: 0;
}

form input[type="checkbox"]:checked:before {
  opacity: 1;
}

form input[type="checkbox"]:disabled:checked:before {
  --checkbox-content: var(--checkbox-disabled-checked-image);
}

form input[type="checkbox"]:after {
  content: var(--checkbox-hover-image);
  position: absolute;
  inset: 0;
  height: var(--checkbox-image-dimensions);
  width: var(--checkbox-image-dimensions);
  transition: var(--input-transition);
  opacity: 0;
}

form input[type="checkbox"]:disabled:after {
  opacity: 0;
}

/* Hover States */
@media (hover: hover) {
  form input[type="checkbox"]:hover:not(input[type="checkbox"]:disabled) {
    border-color: var(--checkbox-hover-color-border);
  }

  form input[type="checkbox"]:checked:hover:not(input[type="checkbox"]:disabled) {
    background-color: var(--checkbox-checked-hover-color-bg);
    border-color: var(--checkbox-checked-hover-color-border);
  }

  form input[type="checkbox"]:hover:not(input[type="checkbox"]:disabled):after {
    opacity: 1;
  }

  form input[type="checkbox"]:checked:hover:not(input[type="checkbox"]:disabled):after {
    opacity: 0;
  }
}

/* ========================================================================== */
/*  Inputs - Radio                                                            */
form .hs-form-radio-display {
  cursor: pointer;
  display: flex;
  gap: 12px;
}

form .hs-form-radio-display span {
  font-family: var(--radio-font-family);
  font-size: var(--radio-font-size);
  font-weight: var(--radio-font-weight);
  line-height: var(--radio-line-height);
  color: var(--radio-color-text);
  transition: var(--input-transition);
  margin: 0;
}

form .hs-form-radio-display:has(input[type=radio]:disabled) span {
  color: var(--radio-disabled-color-text);
}

form input[type=radio] {
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  height: var(--radio-dimensions);
  width: var(--radio-dimensions) !important;
  background-color: var(--radio-color-bg);
  border-radius: var(--radio-border-radius);
  border: var(--radio-border);
  transition: var(--input-transition), border-width 0ms linear;
  outline-offset: 3px;
}

form .inputs-list.error input[type="radio"] {
  border-color: var(--radio-error-color-border);
}

form input[type="radio"]:checked {
  border: var(--radio-checked-color-border);
  background: var(--radio-checked-color-bg);
}

form input[type="radio"]:disabled,
form input[type="radio"]:disabled:hover {
  background-color: var(--radio-disabled-color-bg);
  border: var(--radio-disabled-color-border);
}

form input[type="radio"]:disabled:checked,
form input[type="radio"]:disabled:checked:hover {
  background-color: var(--radio-disabled-checked-color-bg);
  border: var(--radio-disabled-checked-color-border);
} 

form input[type="radio"]:after {
  content: '';
  height: var(--radio-inner-dimensions);
  width: var(--radio-inner-dimensions);
  border-radius: var(--radio-border-radius);
  transition: var(--input-transition);
}

form input[type="radio"]:checked:after {
  background-color: var(--radio-checked-color-inner);
}

form input[type="radio"]:disabled:after {
  background-color: var(--radio-disabled-color-inner);
}

form input[type="radio"]:disabled:checked:after {
  background-color: var(--radio-disabled-checked-color-inner);
}

/* Hover States */
@media (hover: hover) {
  form input[type="radio"]:hover:not(input[type="radio"]:disabled) {
    border: var(--radio-hover-border);
  }

  form input[type="radio"]:checked:hover:not(input[type="radio"]:disabled) {
    border: var(--radio-checked-hover-color-border);
  }

  form input[type="radio"]:hover:not(input[type="radio"]:disabled):after {
    background-color: var(--radio-hover-color-inner);
  }

  form input[type="radio"]:checked:hover:not(input[type="radio"]:disabled):after {
    background-color: var(--radio-checked-color-inner);
  }
}

/* ========================================================================== */
/*  Inputs - Select                                                           */
form .hs-fieldtype-select .input {
  position: relative;
}

form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

form .hs-fieldtype-select .input:after {
  content: var(--select-icon);
  pointer-events: none;
  position: absolute;
  inset: 50% 16px auto auto;
  line-height: 1;
  transform: translateY(-50%);
  transition: all 300ms ease-in-out;
  z-index: 1;
}

form .hs-fieldtype-select .input:has(select:focus):after {
  transform: translateY(-50%) rotate(-180deg);
}

/* ========================================================================== */
/*  Inputs - Date Picker                                                      */
.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content: '';
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  margin-right: var(--date-input-margin-right);
  height: var(--date-input-icon-height);
  width: var(--date-input-icon-width);
  background-image: var(--date-input-icon);
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(-50%);
}

.hs-datepicker {
  width: 100%;
  max-width: 400px;
}

.fn-date-picker.pika-single.is-bound {
  width: 100%;
  border-radius: var(--date-picker-border-radius);
  border: var(--date-picker-border);
}

.fn-date-picker .pika-lendar {
  height: 100%;
  width: 100% !important;
  margin: 0 !important;
  padding: 12px;
  float: none !important;
}

.fn-date-picker .pika-table {
  margin-bottom: 0;
}

.fn-date-picker .pika-label,
.fn-date-picker .pika-table thead th,
.fn-date-picker .pika-button {
  font-family: var(--body-font);
  color: var(--date-picker-color) !important;
}

.fn-date-picker .pika-table thead th abbr {
  text-decoration: none;
}

.fn-date-picker .pika-button {
  font-family: var(--body-font);
  font-weight: 400;
  text-align: center !important;
  background: transparent !important;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.fn-date-picker td.is-today .pika-button {
  font-weight: 700;
  color: var(--date-picker-number-today-color) !important;
}

.fn-date-picker td.is-selected .pika-button {
  background-color: var(--date-picker-number-selected-bg) !important;
  color: var(--date-picker-number-selected-color) !important;
  border-radius: var(--border-radius) !important;
  box-shadow: none;
}

@media (hover: hover) {
  form .fn-date-picker .pika-button:hover {
    background: var(--date-picker-number-hover-bg) !important;
    border-radius: var(--border-radius) !important;
    color: var(--date-picker-number-hover-color) !important;
  }
}

/* ========================================================================== */
/*  Inputs - File Picker                                                      */
form input[type=file] {
  background-color: transparent;
  border-radius: 0;
  border: initial;
  padding-left: 0;
}

/* ========================================================================== */
/*  GDPR                                                                      */
.legal-consent-container .hs-richtext,
.legal-consent-container .hs-richtext p {
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.form--style-dark .legal-consent-container .hs-richtext,
.form--style-dark .legal-consent-container .hs-richtext p {
  color: var(--neutral-200);
}

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 0 !important;
}

/* ========================================================================== */
/*  Validation                                                                */
form label span.hs-form-required {
  color: var(--input-color-required);
}

.hs-input.invalid.error {
  border-color: var(--input-error-color-border);
  box-shadow: var(--input-error-color-outline);
}

form .inputs-list.hs-error-msgs {
  margin: 0;
}

form .hs-error-msgs li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 0;
}

form .hs-error-msgs li:before {
  content: var(--label-error-image);
  display: block;
  line-height: 1;
  height: 16px;
  width: 16px;
}

form .hs-error-msgs label {
  --font-size: var(--label-error-font-size);
  display: inline-block;
  font-size: var(--font-size);
  font-weight: var(--label-error-font-weight);
  line-height: var(--label-error-line-height);
  color: var(--label-error-color);
  margin-bottom: 0;
}

/* ========================================================================== */
/*  Captcha                                                                   */
.grecaptcha-badge {
  margin: 0 auto;
}

/* ========================================================================== */
/*  Submit Message                                                            */
.submitted-message {
  text-align: center;
  font-weight: 700;
  color: var(--primary-base);
}


/* ========================================================================== */
/*  New Form System                                                           */
/* ========================================================================== */
/* ========================================================================== */
/*  NEW FORM VARIABLES                                                        */
div[data-hsfc-id=Renderer] div.hsfc-FormWrapper:not(div[data-hsfc-id=Renderer] a.hsfc-FormWrapper) {
  /* To see all available properties, check: https://developers.hubspot.com/docs/reference/cms/forms/forms */
  --hsf-global__font-family: Manrope, sans-serif;
  --hsf-row__horizontal-spacing: var(--spacing-4x);
  --hsf-row__vertical-spacing: var(--input-spacing-y);
  --hsf-module__vertical-spacing: var(--spacing-2x);
  
  --hsf-button__font-family: var(--body-font);
  --hsf-button__font-size: var(--rem-base-px);
  --hsf-button__color: var(--white-base);
  --hsf-button__background-color: var(--blue-base);
  --hsf-button__background-image: none;
  --hsf-button__border-radius: var(--radius-xl);
  --hsf-button__padding: var(--spacing-3x) var(--spacing-6x);
  --hsf-button__box-shadow: none;

  --hsf-erroralert__font-family: var(--body-font);
  --hsf-erroralert__font-size: 12px;
  --hsf-erroralert__color: var(--form-error);

  --hsf-background__background-color: none;
  --hsf-background__background-image: none;
  --hsf-background__background-size: none;
  --hsf-background__background-position: none;
  --hsf-background__background-repeat: none;
  --hsf-background__border-style: none;
  --hsf-background__border-color: transparent;
  --hsf-background__border-radius: 0;
  --hsf-background__border-width: 0;
  --hsf-background__padding: 0;

  /* --hsf-field-label__font-family: var(--label-font-family); */
  --hsf-field-label__font-size: 12px;
  --hsf-field-label-requiredindicator__color: var(--form-error);
  --hsf-field-input__font-size: 16px;
  --hsf-field-input__background-color: #fff;
  --hsf-field-input__placeholder-color: var(--text-light);
  --hsf-field-input__border-color: var(--text-dark);
  --hsf-field-input__border-width: 1px;
  --hsf-field-input__border-style: solid;
  --hsf-field-input__border-radius: 4px;
  --hsf-field-input__padding: var(--spacing-4x) !important;

  --hsf-field-checkbox__padding: 9px !important;
  --hsf-field-checkbox__color: var(--primary-base);
  --hsf-field-checkbox__background-color: #fff;

  --hsf-field-radio__padding: 9px !important;

  --hsf-button__width: 100%;
  --hsf-button__border-radius: 0;

  /*** Styles ***/
  padding: var(--spacing-8x) var(--spacing-12x);
  box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.10);

  @media (max-width: 640px) {
    padding: var(--spacing-6x) var(--spacing-10x);
  }

  & :is(input[type="text"],
    input[type="tel"],
    input[type="email"],
    textarea) {
      padding: var(--hsf-field-input__padding, var(--hsf-default-field-input__padding)) !important;
  }

  & .hsfc-FieldLabel {
    font-weight: 700;
    line-height: 1;
    text-align: left !important;

    & > span {
      text-align: left;
      margin: 0 0 !important;
    }

    &:has(> .hsfc-CheckboxInput, > .hsfc-RadioInput) span {
      cursor: pointer;
      font-size: 15px;
      font-weight: 400;
      line-height: normal;
      color: var(--text-light);
      padding-left: 0;

      &:before, &:after {
        display: none;
      }
    }
  }

  & .hsfc-TextInput {
    transition: all .2s ease;

    &:is(:hover, :active, :focus) {
      --hsf-field-input__border-color: var(--primary-base);
      box-shadow: none; 
    }

    &:has(+ .hsfc-ErrorAlert) {
      --hsf-field-input__border-color: var(--form-error);
    }
  }

  & .hsfc-CheckboxInput {
    border-radius: 4px;
    left: auto;
    transition: all .2s ease;

    &:is(:hover, :active, :focus) {
      --hsf-field-checkbox__border-color: var(--primary-base);
      box-shadow: none; 
    }

    &:checked:after {
      mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBpZD0iZDYxOGIwMmQiIGQ9Ik0xOCAwSDBWMThIMThWMEwxMy44NDI3IDYuMTU3M0MxNC4wNTI0IDYuMzY3MSAxNC4wNTI0IDYuNzA2MyAxMy44NDI3IDYuOTEzOUw3Ljk1MTEgMTIuODA3NkM3Ljc0MTQgMTMuMDE3NCA3LjQwMjEgMTMuMDE3NCA3LjE5NDYgMTIuODA3Nkw0LjE1NzMgOS43NzI2QzMuOTQ3NiA5LjU2MjggMy45NDc2IDkuMjIzNiA0LjE1NzMgOS4wMTYxQzQuMzY3MSA4LjgwODUgNC43MDYzIDguODA2MyA0LjkxMzkgOS4wMTYxTDcuNTY5NSAxMS42NzE3TDEzLjA4MzkgNi4xNTczQzEzLjI5MzcgNS45NDc2IDEzLjYzMjkgNS45NDc2IDEzLjg0MDQgNi4xNTczSDEzLjg0MjdMMTggMFoiIGZpbGw9IiMyQTRFNzgiPjwvcGF0aD4KPC9zdmc+);
      mask-size: 100%;
    }
  }

  & .hsfc-RadioInput {
    transition: all .2s ease;
    left: auto;

    &:is(:hover, :active, :focus) {
      --hsf-field-radio__border-color: var(--primary-base);
      box-shadow: none; 
    }

    &:checked:after {
      mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBpZD0iNTRhZWIyMWYiPgogICAgPHBhdGggaWQ9ImY2MzdjNjcyIiBkPSJNOSAyQzcuMTQzNDggMiA1LjM2MzAxIDIuNzM3NSA0LjA1MDI1IDQuMDUwMjVDMi43Mzc1IDUuMzYzMDEgMiA3LjE0MzQ4IDIgOUMyIDEwLjg1NjUgMi43Mzc1IDEyLjYzNyA0LjA1MDI1IDEzLjk0OTdDNS4zNjMwMSAxNS4yNjI1IDcuMTQzNDggMTYgOSAxNkMxMC44NTY1IDE2IDEyLjYzNyAxNS4yNjI1IDEzLjk0OTcgMTMuOTQ5N0MxNS4yNjI1IDEyLjYzNyAxNiAxMC44NTY1IDE2IDlDMTYgNy4xNDM0OCAxNS4yNjI1IDUuMzYzMDEgMTMuOTQ5NyA0LjA1MDI1QzEyLjYzNyAyLjczNzUgMTAuODU2NSAyIDkgMloiIGZpbGw9IiMyQTRFNzgiPjwvcGF0aD4KICA8L2c+Cjwvc3ZnPg==);
      mask-size: 100%;
    }
  }

  & .hsfc-ErrorAlert {
    font-weight: 400;
    line-height: 1;
    text-align: left;
  }
  
  & .hsfc-PhoneInput__FlagAndCaret {
    padding-block: 0;
  }


  & .hsfc-TextareaInput {
    display: block;
    height: 139px;

    &:is(:hover, :active, :focus) {
      --hsf-field-textarea__border-color: var(--primary-base);
      box-shadow: none; 
    }
  }

  & .hsfc-DropdownInput__Caret,
  & .hsfc-PhoneInput__FlagAndCaret__Caret {
    border: none;
    transition: all 200ms ease;

    & span {
      display: none;
    }

    &:before {
      content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDE2IDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggaWQ9ImUxMDFjZmU2IiBkPSJNOC40NjI0MiA4LjMwNjE1QzguMjA4NzEgOC41NjQ2MiA3Ljc5MTMyIDguNTY0NjIgNy41Mzc2MSA4LjMwNjE1TDAuOTkwMjkyIDEuNjM2MDFDMC43MzY1ODQgMS4zNzc1NCAwLjczNjU4NCAwLjk1MjMxOCAwLjk5MDI5MyAwLjY5Mzg1QzEuMjQ0IDAuNDM1MzgyIDEuNjYxMzkgMC40MzUzODIgMS45MTUxIDAuNjkzODVMOC4wMDAwMSA2Ljg5MjkxTDE0LjA4NDkgMC42OTM4NTFDMTQuMzM4NiAwLjQzNTM4MyAxNC43NTYgMC40MzUzODMgMTUuMDA5NyAwLjY5Mzg1MUMxNS4yNjM0IDAuOTUyMzE5IDE1LjI2MzQgMS4zNzc1NCAxNS4wMDk3IDEuNjM2MDFMOC40NjI0MiA4LjMwNjE1WiIgZmlsbD0iIzBCMEYyQSI+PC9wYXRoPgo8L3N2Zz4=);
    }
  }

  & .hsfc-DropdownOptions__List__ListItem {
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    padding: var(--spacing-2x) var(--spacing-6x);

    &:hover {
      color: var(--primary-base);
      background: var(--blue-50);
      filter: none;
    }
  }

  & .hsfc-TextInput--button[aria-expanded="true"] + * + .hsfc-DropdownInput__Caret {
    transform: rotate(-180deg);
  }

  & .hsfc-NavigationRow {
    margin-top: var(--spacing-8x);
  }
}
/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}
.is-anchor {
  scroll-margin-top: var(--scroll-margin-top);
}

/* ========================================================================== */
/*  BACKGROUNDS                                                               */
/* ========================================================================== */
.dnd-section:has(.section-background--gray) {
  background: var(--gray-base);
}

.dnd-section:has(.section-background--primary-50) {
  background: var(--primary-50);
}

.dnd-section:has(.section-background--primary-base) {
  background: var(--primary-base);
}

.section-background-hidden-element {
  display: none;
}

/* ========================================================================== */
/*  Typography                                                                */
/* ========================================================================== */
.text-white,
.text-white :where(*:not(.btn)) {
  color: var(--text-white);
}

.text-highlight {
  color: var(--primary-base);
}

.text-sm {
  font-size: ;
}

:has(> .masked-link) {
  position: relative;
}

.masked-link {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}
[data-accordion] {
  --panel-visibility: hidden;
  --panel-height: 0px;
}

[data-accordion-panel-wrapper] {
  height: var(--panel-height);
  overflow: hidden;
}

[data-accordion-panel] {
  visibility: var(--panel-visibility);
}
.video-player-wrapper {
  --media-button-touch-hover-border-radius: 8px;
  --media-button-touch-hover-bg: transparent;
  position: relative;
  width: 100%;
  height: fit-content;
  overflow: clip;
}

.video-player {
  --media-button-icon-size: 42px;
  --media-button-hover-transform: none;
  --media-button-hover-bg: transparent;
  --right-btn-pos: 24px;
  position: relative;
  height: fit-content;
}

.video-player__thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.video-player media-player[data-media-player] {
  cursor: pointer;
  position: static;
  display: block;
  height: 100% !important;
  width: 100% !important;
}

.video-player iframe .ytp-watermark {
  display: none;
}

.video-player .vds-poster :where(img) {
  object-fit: cover;
}


/* ========================================================================== */
/*  MODAL VARIANT                                                             */
body:has(dialog.video-player-modal-wrapper[open]) {
  overflow: clip;
}

body:has(dialog.video-player-modal-wrapper[open][data-state="closing"]) {
  overflow: auto;
}

dialog.video-player-modal-wrapper {
  cursor: default;
  display: none;
  justify-content: center;
  align-items: center;
  height: 100vh;
  max-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background: transparent;
  padding: 0 var(--container-padding);
  opacity: 0;
  transition: all 200ms ease-in-out;
  z-index: 0;
}

dialog.video-player-modal-wrapper[open] {
  display: flex;
  animation: openVideoModal 300ms forwards;
}

dialog.video-player-modal-wrapper[open][data-state="closing"] {
  animation: closeVideoModal 300ms forwards;
}

dialog.video-player-modal-wrapper::backdrop {
  display: none;
}

@keyframes openVideoModal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes closeVideoModal {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.video-modal__backdrop {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  height: 100%;
  width: 100%;
  background: rgb(from #111 r g b/.2);
  backdrop-filter: blur(15px);
  z-index: -1;
}

.video-player-modal {
  --media-button-icon-size: 24px;
  max-width: 1063px;
  aspect-ratio: 16/9;
  height: auto !important;
  width: 100% !important;
  max-height: calc(100% - (var(--container-padding * 2)));
}

.video-player-modal media-player[data-media-player] {
  height: 100 !important;
  width: 100% !important;
  background: var(--black-base);
} 

.video-player-modal [data-media-player][data-layout=video]:not([data-fullscreen]) {
  border: none;
  border-radius: 0;
}

:where(.video-player-modal .vds-video-layout .vds-controls[data-visible]) {
  border-radius: 0 !important;
  /* background-image: linear-gradient(to top,rgb(0 0 0 / .6),10%,transparent,95%,rgb(0 0 0 / .0)) !important; */
}

.modal-close-btn {
  cursor: pointer;
  position: absolute;
  inset: 43px 51px auto auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 43px;
  width: 43px;
  border-radius: 150px;
  transition: all 550ms cubic-bezier(.215,.61,.355,1);
  background: var(--primary-base);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--primary-600);
}

.modal-close-btn svg {
  display: block;
}

.video-modal-trigger {
  cursor: pointer;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-modal-trigger__icon {
  --bg-color: var(--secondary-base);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 119px;
  aspect-ratio: 1;
  border-radius: 150px;
  z-index: 0;
}

.video-modal-trigger__icon:hover {
  --bg-color: var(--secondary-600);
}

.video-modal-trigger__icon:before {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle,rgb(from var(--bg-color) r g b/0) 0%, rgb(from var(--bg-color) r g b/ .6) 50% ,rgb(from var(--bg-color) r g b/1) 100%);
  border-radius: 150px;
  -webkit-animation: pulse-border 1500ms ease-out infinite;
  animation: pulse-border 1500ms ease-out infinite;
  transform: translateX(-50%) translateY(-50%);
  transition: all 500ms cubic-bezier(.215,.61,.355,1);
  z-index: -2;
}

.video-modal-trigger__icon:hover:before {
  animation: none;
}

.video-modal-trigger__icon:after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  border-radius: 150px;
  transform: translateX(-50%) translateY(-50%);
  transition: all 500ms cubic-bezier(.215,.61,.355,1);
  z-index: -1;
}

.video-slide:hover .video-modal-trigger__icon {
  transform: scale(1.2);
}

.video-modal-trigger__icon .icon-wrapper {
  margin-left: 8px;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .modal-close-btn {
    inset: 20px 20px auto auto;
  }
}

/* Components
  Specific pieces of UI that are stylized. Typically used for global partial styling
*/

body:has(.header[data-state="open"]) {
  overflow: clip;
}

div :has(> header.header) {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header {
  --logo-shape-color: var();
  --logo-text-color: var();
  --nav-item-color: var(--text-base);
  --nav-item-color-hover: var(--primary-base);
  --bg-color: var(--white);
  --btn-text-color: var(--white);
  --btn-bg-color: var(--primary-base);
  width: 100%;
  padding-block: var(--spacing-3x);
  background: var(--bg-color);
  transition: var(--transition);

  @media (max-width: 1050px) {
    padding-block: var(--spacing-5x);
  }

  &[data-state="open"] {
    --logo-shape-color: var(--icon-green-base);
    --logo-text-color: var(--text-white);
    --nav-item-color: var(--text-base);
    --bg-color: var(--white);
  }

  .hubspot-disable-focus-styles & {
    position: relative;
  }
}

/* .header[data-scrolled="true"] {
  --logo-shape-color: var(--icon-green-base);
  --logo-text-color: var(--text-base);
  --nav-item-color: var(--text-base);
  --bg-color: var(--surface-white);
  --btn-text-color: var(--text-white);
  --btn-bg-color: var(--teal-700);
  box-shadow: 0px 3px 3px 0px rgb(from var(--gray-200) r g b / 0.18);
} */

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-14x);
}

.header-logo {
  flex: 0 0 160px;
  display: block;

  @media (max-width: 820px) {
    flex: 0 0 140px;
  }
}

.header-logo :is(svg, img) {
  width: 100%;
  height: auto;
}

.mobile-trigger {
  position: relative;
  display: none;
  height: 17px;
  width: 20px;

  @media (max-width: 1050px) {
    display: block;
  }
}

.mobile-trigger span {
  --translate-start: -50%;
  --translate-end: -50%;
  --rotate-start: 0;
  --rotate-end: 0;
  --inset-start: 50% auto auto 0;
  --inset-end: 50% auto auto 0;
  --opacity-end: 0;
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 2px;
  transform: translateY(var(--translate-start));
  animation: triggerClose 400ms forwards;
  
  .header[data-state="open"] & {
    animation: triggerOpen 400ms forwards;
  }

  & svg {
    width: 100%; 
    height: 100%;
    
    & path {
      fill: var(--nav-item-color);
    }
  }


  &:first-child {
    --translate-start: 0;
    --rotate-end: 45deg;
    --inset-start: 0 auto auto 0;
    --opacity-end: 1;
  }

  &:last-child {
    --translate-start: 0;
    --rotate-end: -45deg;
    --inset-start: auto auto 0 0;
    --opacity-end: 1;
  }
}

@keyframes triggerOpen {
  0% {
    opacity: 1;
    inset: var(--inset-start);
    transform: translateY(var(--translate-start)) rotate(var(--rotate-start));
  }

  50% {
    opacity: var(--opacity-end);
    inset: var(--inset-end);
    transform: translateY(var(--translate-end)) rotate(var(--rotate-start));
  }

  100% {
    opacity: var(--opacity-end);
    inset: var(--inset-end);
    transform: translateY(var(--translate-end)) rotate(var(--rotate-end));
  }
}

@keyframes triggerClose {
  0% {
    opacity: var(--opacity-end);
    inset: var(--inset-end);
    transform: translateY(var(--translate-end)) rotate(var(--rotate-end));
  }

  50% {
    opacity: var(--opacity-end);
    inset: var(--inset-end);
    transform: translateY(var(--translate-end)) rotate(var(--rotate-start));
  }

  100% {
    opacity: 1;
    inset: var(--inset-start);
    transform: translateY(var(--translate-start)) rotate(var(--rotate-start));
  }
}

/* ========================================================================== */
/*  Buttons                                                                   */
.header .btn-group {
  width: fit-content;

  @media (max-width: 1050px) {
    width: 100%;
    padding: 0 var(--container-padding);
  }
}

a.btn--header {
  --text-color: var(--nav-item-color);
  --text-color-hover: var(--nav-item-color-hover);
  --border-color: transparent;
  font-size: 0.8889rem;
  line-height: 1.4;
  /* padding: 0; */
  
  &:last-child {
    --text-color: var(--btn-text-color);
    --text-color-hover: var(--text-white);
    --background: var(--btn-bg-color);
    --background-hover: var(--surface-teal-base);
    line-height: 21px;
    padding: 8px var(--spacing-8x);

    @media (max-width: 1050px) {
      --text-color: var(--teal-700);
      --background: transparent;
      --border-color: var(--teal-700);
    }
  }
  
  @media (max-width: 1050px) {
    width: 100%;
    /* padding: 8px 0; */
  
    &:first-child {
      --text-color: var(--text-base);
      --background: var(--primary-base);
      --border-color: var(--primary-base);
    }
  }
}

/* ========================================================================== */
/*  Navigation                                                                */
.header-nav-wrapper {
  /* flex: 1 1 100%; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-16x);

  @media (max-width: 1050px) {
    flex: none;
    position: absolute;
    inset: 100% auto auto 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    height: 0;
    width: 100vw;
    background: var(--primary-100);
    transition: var(--transition);
    overflow: hidden;

    .header[data-state="open"] & {
      height: calc(100vh - 100%);
      overflow-y: auto;
    }
  }
}

.hn-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-5x);

  @media (max-width: 1050px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
}

ul.list-reset li.hn-item-wrapper {
  margin-bottom: 0;
  position: relative;
  padding-block: 9px;
  
  &:before {
    content: '';
    display: none;
    position: absolute;
    inset: 100% auto auto 0;
    width: 100%;
    height: 20px;
    background: transparent;
  }

  @media (min-width: 1050px) {
    --panel-visibility: hidden !important;
    --panel-height: auto !important;

    &[data-state="open"] {
      --panel-visibility: visible !important;

      &:before {
        display: block;
      }
    }
  }

  @media (max-width: 1050px) {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid var(--border-gray-light);
  }
}

.hn-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-2x);
  font-size: 0.7778rem;
  font-weight: 700;
  color: var(--nav-item-color);
  text-decoration: none;
  transition: var(--transition);
  
  & svg {
    height: 8px;
    width: 10px;
    transition: var(--transition);
    
    & path {
      fill: var(--nav-item-color);
      transition: var(--transition);
    }

    @media (max-width: 1050px) {
      height: 14px;
      width: 16px;
    }
  }
  

  li.hn-item-wrapper[aria-expanded="true"] & {
    --nav-item-color: var(--nav-item-color-hover);
    
    & svg {
      transform: rotate(-180deg);
    }
  }
  

  @media (min-width: 1050px) {
    li.hn-item-wrapper[data-state="open"] & {
      --nav-item-color: var(--nav-item-color-hover);

      & svg {
        transform: rotate(-180deg);
      }
    }

  }

  @media (max-width: 1050px) {
    justify-content: space-between;
    font-size: 1.1111rem;
    line-height: 1.4;
    width: 100%;
    padding-block: var(--spacing-6x) var(--spacing-5x);
  }
}

@media (max-width: 1050px) {
  .header-nav {
    width: 100%;
    background: var(--background-white);
    padding: 0 var(--container-padding) var(--spacing-12x);
  }
}

/* ========================================================================== */
/*  Dropdowns                                                                 */
.hn-dropdown-wrapper {
  background: var(--surface-white);
  transition: all 200ms ease-in-out;

  @media (min-width: 1050px) {
    pointer-events: none;
    position: absolute;
    inset: calc(100% + 20px) auto auto -50%;
    border-radius: var(--radius-md);
    box-shadow: var(--box-shadow-sm);
    opacity: 0;
    transition: all 200ms ease-in-out !important;

    .hn-item-wrapper[data-state="open"] & {
      pointer-events: auto;
      opacity: 1;
    }
  }
}

.hn-dropdown {
  padding: 0 0 var(--spacing-5x);
  width: 100%;

  & li {
    margin-bottom: 0;
  }

  @media (min-width: 1050px) {
    padding: var(--spacing-8x) var(--spacing-8x) var(--spacing-10x);
    width: fit-content;
    transition: visibility .2s linear;
  }
}









/* MEGA MENU */
.hn-dropdown-wrapper--mobile {
  display: none;

  @media (max-width: 1050px) {
    display: block;
  }
}

.hn-mega-dropdown-container {
  display: none;
  position: absolute;
  inset: 100% auto auto 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 0;
  z-index: 0;
  transition: var(--transition);

  @media (min-width: 1050px) {
    display: block;
    
    .header[data-state="open"] & {
      height: calc(100vh - 100%);
    }
  }
}

.hn-mega-dropdown__overlay {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(15px);
  background: rgb(from #111 r g b/.2);
  z-index: -1;
}

.hn-mega-dropdown__sections {
  --dropdown-height: 0;
  position: relative;
  background: var(--white);
  width: 100%;
  height: var(--dropdown-height);
  transition: var(--transition);
  overflow: clip;
}

@keyframes fadeIn {
  0% {
    visibility: visible;
    opacity: 0;
  }
  /* 1% {
    display: block;
    opacity: 0;
  } */
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    visibility: visible;
    opacity: 100%;
  }
  100% {
    visibility: hidden;
    opacity: 0;
  }
}

.hn-mega-dropdown__section {
  visibility: hidden;
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  padding: 64px 0;
  opacity: 0;
  animation: fadeOut 400ms forwards;

  &[data-state="open"] {
    visibility: visible;
    opacity: 1;
    animation: fadeIn 400ms forwards;
  }
}

.hn-mega-dropdown {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  z-index: 0;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-14x);
  padding-block: var(--spacing-16x) var(--spacing-14x);

  @media (max-width: 640px) {
    flex-direction: column;
    gap: var(--spacing-8x);
    padding-block: var(--spacing-8x); 
  }
}

.footer-floating-shape {
  position: absolute;
  inset: auto 0 0 auto;
  opacity: .43;
  z-index: -1;

  @media (max-width: 820px) {
    display: none;
  }
}

/* ========================================================================== */
/*  Company Info                                                              */
.footer-company-info {
  flex: 0 1 301px;

  @media (max-width: 640px) {
    flex: none;
  }
}

.footer-company-info__logo {
  height: 42px;
  width: auto;
  margin-bottom: var(--spacing-5x);
}

.footer-company-info__description {
  font-size: var(--text-sm);
  margin-bottom: var(--spacing-4x);
}

.footer-company-info a.btn {
  font-size: 0.7778rem;
  margin-bottom: var(--spacing-8x);

  @media (max-width: 640px) {
    width: fit-content !important;
    margin-bottom: var(--spacing-5x);
  }
}

.footer-company-info .btn-group {
  gap: var(--spacing-5x);
  margin-bottom: var(--spacing-8x);

  & a.btn {
    margin: 0;
  }

  @media (max-width: 1050px) {
    align-items: flex-start;
  }
}

.footer__b-corp-logo svg {
  height: 77px;
  width: auto;
}

.footer-company-info__email-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-3x);
  font-size: 0.7778rem;
  font-weight: 400;
  text-decoration-color: var(--blue-base);

  & svg {
    height: 24px;
    width: 24px;
  }
}

/* ========================================================================== */
/*  Navigation                                                                */
.footer-nav {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-10x);
}

.footer-nav-menu {
  flex: 1 1 135px;
}

.footer-nav-menu__title {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: var(--spacing-6x);

  @media (max-width: 640px) {
    margin-bottom: var(--spacing-5x);
  }
}

li.footer-nav-menu__item {
  font-size: var(--text-sm);
  line-height: 1.2;
  width: fit-content;
  margin-bottom: var(--spacing-3x);

  & a {
    font-size: var(--text-sm);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-base);

    &:hover {
      color: var(--blue-600);
      text-decoration-color: var(--blue-600);
    }
  }
}

/* ========================================================================== */
/*  Newsletter & Socials                                                      */
.footer-newsletter {
  flex: 0 1 292px;

  @media (max-width: 640px) {
    flex: none;
  }
}

.footer-newsletter__heading {
  margin-bottom: var(--spacing-2x);
}

.footer-newsletter__description {
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-bottom: var(--spacing-4x);
}

.footer-newsletter__form form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--white-base);
  border-radius: var(--radius-md);
  border: 1px solid var(--text-base);
  padding-right: var(--spacing-1x);
  transition: var(--transition);

  &:has(.hs-email input:is(:active, :focus, :focus-visible)) {
    border-color: var(--blue-base);
  }

  &:has(.hs-email :is(input.error, input.invalid)) {
    border-color: var(--form-error);
  }

  & .hs-email {
    flex: 1;
    position: relative;
    margin-bottom: 0;

    & input {
      font-size: 0.7778rem !important;
      border: none;
    }

    & > label {
      display: none;
    }

    & .hs-error-msgs {
      position: absolute;
      inset: 100% auto auto 0;
      margin-top: 0;
    }

    & .hs-error-msg {
      text-wrap: nowrap;
    }
  }

  & .hs-submit input {
    font-size: 15px;
    padding-block: 9px;
    padding-inline: 21px;
  }

  & .hs_error_rollup {
    position: absolute;
    inset: calc(100% + 20px) auto auto 0;
  }
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-2x);
  margin-top: var(--spacing-6x);
}

.footer-social-links__link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  width: 32px;
  border: 1px solid var(--blue-base);
  border-radius: var(--radius-xl);
  transition: var(--transition);

  & svg path {
    fill: var(--blue-base);
    transition: var(--transition);
  }

  &:hover {
    border-color: var(--blue-600);

    & svg path {
      fill: var(--blue-600);
    }
  }
}

/* ========================================================================== */
/*  Subfooter                                                                 */
.subfooter {
  padding-block: var(--spacing-4x);
  background: var(--background-gray);
}

.subfooter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-5x);
}

.subfooter__copyright {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-base);

  @media (max-width: 640px) {
    order: 2;
  }
}

.subfooter-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-3x);

  @media (max-width: 640px) {
    order: 1;
  }
}

a.subfooter-links__link {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-base);
  text-decoration-color: var(--text-base);

  &:hover {
    color: var(--blue-600);
    text-decoration-color: var(--blue-600);
  }
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}