/* 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.
*/

*, *: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: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .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: 768px) {
  .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));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

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

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
}

/* Lists */

ul,
ol {
  margin: 0 0 1.4rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

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

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  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;
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #D0D0D0;
  border-color: #D0D0D0;
  color: #E6E6E6;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  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;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* 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;
}

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

/* ========================================== 1. Header shell ========================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--nv-header-bg, var(--nv-white, #FFFFFF)) !important;
  border-bottom: none;
}

.header .dnd-section {
  padding: 0;
}

/* Inner flex — 1440px; padding nudges logo slightly left per Figma */
.header__container {
  display: flex;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 64px 24px 48px;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

/* Fluid scaling 1025px–1440px: padding, nav font, dropdown position */
@media (min-width: 1025px) and (max-width: 1439px) {
  .header__container {
    padding: clamp(24px, 3.3vw, 48px) clamp(32px, 4.5vw, 64px) clamp(16px, 1.7vw, 24px);
  }

  .header__navigation .menu--desktop .menu__item--depth-1 > .menu__link {
    padding: 8px clamp(6px, 0.8vw, 12px);
    font-size: clamp(13px, 1.1vw, 16px);
  }

  /* Dropdowns: anchor right edge, grow leftward */
  .header__navigation .menu--desktop .menu__submenu--level-2 {
    left: auto;
    right: 0;
    max-width: calc(100vw - 48px);
  }

  /* Features dropdown: scale width with viewport */
  .header__navigation .menu--desktop .menu__item--depth-1:first-child .menu__submenu--level-2 {
    width: clamp(320px, 34vw, 428px);
  }
}

/* ========================================== 2. Logo ========================================== */
.header__logo {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  height: auto;
  margin-right: auto;
  max-width: 160px;    /* Figma logo width */
  overflow: hidden;
  padding-top: 0;
}

.header__logo--main {
  padding-top: 0;
}

.header__logo-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.header__logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* HubSpot logo module wraps in a span sometimes */
.header__logo .logo-company-name {
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--nv-neural-indigo, #270091);
  margin-top: 0;
}

/* ========================================== 3. Header Column + Row ========================================== */
.header__column {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.header__row-1 {
  display: none;
}

.header__row-2 {
  position: relative;
  align-items: center;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  width: 100%;
}

/* ========================================== 4. Skip link ========================================== */
.header__skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}

.header__skip:hover,
.header__skip:focus,
.header__skip:active {
  height: auto;
  left: 0;
  overflow: visible;
  top: 0;
  width: auto;
  background: var(--nv-narrative-violet, #4C00FF);
  color: var(--nv-white, #FFFFFF);
  padding: 8px 16px;
  z-index: 200;
}

/* ========================================== 5. Desktop nav ========================================== */
/* Target: .menu--desktop and children */
.header__navigation {
  display: flex;
  align-items: center;
}

/* Top-level items — position relative for dropdown anchor */
.header__navigation .menu--desktop .menu__item--depth-1 {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  text-transform: none;
}

/* Nav links — !important overrides module #hs_cos_wrapper_* ID selectors */
.header__navigation .menu--desktop .menu__item--depth-1 > .menu__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 176%;
  color: var(--nv-narrative-violet, #4C00FF) !important;
  text-decoration: none !important;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}

.header__navigation .menu--desktop .menu__item--depth-1 > .menu__link:hover,
.header__navigation .menu--desktop .menu__item--open > .menu__link,
.header__navigation .menu--desktop .menu__item--depth-1 > .menu__link--active-branch {
  background: var(--nv-blueprint-white, #F5F6FA);
}

/* Downward chevron on items with submenus (Figma arrow indicator) */
.header__navigation .menu--desktop .menu__item--has-submenu > .menu__link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 3px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.header__navigation .menu--desktop .menu__item--has-submenu:hover > .menu__link::after {
  transform: rotate(-135deg);
  margin-bottom: 0;
}

/* Hide the module's separate toggle button on desktop — hover handles dropdown */
.header__navigation .menu--desktop .menu__child-toggle {
  display: none;
}

/* Dropdown panel — size/layout set per menu item below */
.header__navigation .menu--desktop .menu__submenu--level-2 {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  padding: 16px;
  border-radius: 0 0 4px 4px;
  background: var(--nv-blueprint-white, #F5F6FA);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16);
  z-index: 200;
  box-sizing: border-box;
  row-gap: 16px;
  column-gap: 16px;
}

/* Invisible bridge so hover state preserved between link and panel */
.header__navigation .menu--desktop .menu__submenu--level-2::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

/* Features dropdown (2 columns) */
.header__navigation .menu--desktop .menu__item--depth-1:first-child .menu__submenu--level-2 {
  width: 428px;
  min-height: 301px;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
}

/* Solutions dropdown (1 column) */
.header__navigation .menu--desktop .menu__item--depth-1:nth-child(2) .menu__submenu--level-2 {
  width: 222px;
  min-height: 158.5px;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
}

/* Any future dropdowns */
.header__navigation .menu--desktop
  .menu__item--depth-1:not(:first-child):not(:nth-child(2))
  .menu__submenu--level-2 {
  width: max-content;
  min-width: 220px;
  max-width: min(640px, calc(100vw - 48px));
  grid-template-columns: repeat(1, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
}

/* Show submenu for any top-level item with children */
.header__navigation .menu--desktop .menu__item--has-submenu:hover > .menu__submenu--level-2,
.header__navigation .menu--desktop .menu__item--has-submenu.menu__item--open > .menu__submenu--level-2 {
  display: grid;
}

/* Suppress module-default borders and triangle inside header dropdowns */
.header__navigation .menu--desktop .menu__submenu .menu__item {
  border: none;
  padding: 0;
  width: auto;
}

.header__navigation .menu--desktop .menu__submenu--level-2 > .menu__item:first-child::before {
  content: none;
}

/* Dropdown links — !important overrides module ID selectors */
.header__navigation .menu--desktop .menu__submenu .menu__link {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.44;
  font-weight: 400;
  color: var(--nv-narrative-violet, #4C00FF) !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.header__navigation .menu--desktop .menu__submenu .menu__link:hover {
  background: var(--nv-white, #FFFFFF);
  color: var(--nv-neural-indigo, #270091) !important;
}

/* ========================================== 6. Header CTA ========================================== */
.header__cta {
  flex-shrink: 0;
  margin-left: 8px;
}

/* Mobile-only CTA — hidden on desktop (shown at bottom of open menu) */
.header__cta-mobile {
  display: none;
}

/* ==========================================
7. Mobile hamburger toggle
CSS-drawn icon (no SVG) so it’s always visible
========================================== */
.header__navigation--toggle {
  display: none;         /* hidden desktop */
  cursor: pointer;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  margin: 0;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--nv-narrative-violet, #4C00FF);
  background: transparent;
  border: none;
  padding: 0;
}

/* Three lines — middle line + box-shadow for top and bottom */
.header__navigation--toggle::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.header__navigation--toggle::after {
  content: none;         /* suppress baseline "Menu" label */
}

.header__close--toggle {
  display: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
  flex-shrink: 0;
}

/* Draw × using CSS — two lines rotated 45° / -45° */
.header__close--toggle::before,
.header__close--toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--nv-black, #000000);
  border-radius: 2px;
}

.header__close--toggle::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.header__close--toggle::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ========================================== 8. Mobile + iPad (≤ 1024px) ========================================== */
@media (max-width: 1024px) {

  .header__container {
    flex-direction: row;
    align-items: center;
    padding: 14px 32px;
    flex-wrap: wrap;
  }

  /* Mobile (≤ 767px): bring header content out from left — at least double the distance */
  @media (max-width: 767px) {
    .header__container {
      padding-left: 48px;
      padding-right: 48px;
    }

    .header__navigation.open {
      padding-left: 48px;
      padding-right: 48px;
    }

    .header__cta-mobile {
      padding-left: 0;
    }
  }

  .header__logo {
    margin: 0;
    max-width: 120px;
  }

  /* Column takes remaining space to push toggle right */
  .header__column {
    flex: 0 0 auto;
  }

  .header__row-2 {
    position: static;
    justify-content: flex-end;
    gap: 8px;
  }

  /* Show hamburger, hide nav + CTA */
  .header__navigation--toggle {
    display: flex;
  }

  .header__navigation,
  .header__cta {
    display: none;
    width: 100%;
  }

  /* Open state — size to content only, not full screen */
  .header__navigation.open {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: var(--nv-blueprint-white, #F5F6FA);
    position: absolute;
    left: 0;
    right: 0;
    top: 62px;
    z-index: 99;
    padding: 16px 32px 24px 32px;
    border-top: 1px solid var(--nv-grey-dark, #E1E1E1);
    box-sizing: border-box;
  }

  /* Submenus expand on tap only — .menu__item--open set by JS */
  .header__navigation.open ~ .header__close--toggle,
  .header__close--toggle.show {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide hamburger when menu open */
  .header__navigation--toggle.hide {
    display: none;
  }

  /* Hide desktop CTA in header on mobile (Sign in moves to bottom of menu) */
  .header__cta {
    display: none !important;
  }

  /* Sign in directly below nav content — full-width row */
  .header__cta-mobile {
    display: block;
    padding-top: 24px;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    width: 100%;
    align-self: stretch;
  }

  .header__cta-mobile .button {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 10px 28px;
    align-self: stretch;
    font-size: 17px;
  }

  /* Mobile nav list container — Figma spacing */
  .header__navigation.open .menu--mobile .menu__wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 32px;
    padding-left: 16px;
    padding-right: 0;
    box-sizing: border-box;
    width: 100%;
  }

  /* Mobile chevron button — reset module defaults (absolute + oversized hitbox) */
  .header__navigation.open .menu__child-toggle {
    position: static;
    width: auto;
    height: 28px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    box-shadow: none;
  }

  .header__navigation.open .menu__child-toggle-icon {
    margin: 0;
    width: 16px;
    height: 16px;
    background-position: center;
    background-size: contain;
  }

  /* No underlines or divider lines on main nav — override module borders and active-link ::after */
  /* flex-wrap keeps link + chevron on one row, submenu wraps to full-width row below */
  .header__navigation.open .menu__item--depth-1 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    gap: 4px;
    border-top: none;
    border-bottom: none;
    padding: 0;
    min-height: 28px;
    text-transform: none;
  }

  .header__navigation.open .menu__item--depth-1 > .menu__link--active-link:after,
  .header__navigation.open .menu__item--depth-1 > .menu__link--active-branch:after {
    display: none;
  }

  /* No extra borders on submenu items in header mobile */
  .header__navigation.open .menu__submenu .menu__item {
    border-top: none;
  }

  .header__navigation.open .menu__item--depth-1 > .menu__link,
  .header__navigation.open .menu__item--depth-1 > .menu__link--toggle {
    display: flex;
    flex: 1;
    width: auto;
    min-height: 28px;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    padding: 4px 0;
    border-radius: 0;
    background: transparent;
    color: var(--nv-narrative-violet, #4C00FF);
    font-feature-settings: 'liga' off;
    font-family: "Host Grotesk", system-ui, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 176%;
    text-align: left;
    justify-content: flex-start;
    text-decoration: none;
    text-transform: none;
  }

  /* Submenu container — Figma: indented list with 8px item gap */
  .header__navigation.open .menu__submenu {
    flex-basis: 100%;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    min-width: 0;
    width: 100%;
    background: transparent;
    display: none; /* collapsed by default; opens on click */
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
  }

  .header__navigation.open .menu__item--open > .menu__submenu {
    display: flex;
  }

  .header__navigation.open .menu__submenu .menu__item {
    border-top: none;
    border-bottom: none;
    width: 100%;
    min-height: 28px;
    display: flex;
    align-items: flex-start;
    background: transparent;
  }

  .header__navigation.open .menu__submenu .menu__link {
    width: 100%;
    min-height: 28px;
    display: flex;
    align-items: center;
    padding: 4px 0;
    text-transform: none;
    background: transparent;
  }
}
/* _footer.css — Neurative rebrand. Desktop: white outer + neural-indigo card. Mobile: solid indigo, no frame. */

/* ========================================== 1. Outer shell ========================================== */
/* White on desktop; mobile becomes indigo (see §11). */
.footer {
  background: var(--nv-white, #FFFFFF);
  color: var(--nv-white, #FFFFFF);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 48px 0;
  box-sizing: border-box;
}

/* All footer anchors — no underlines */
.footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
}

.footer a:hover,
.footer a:focus,
.footer .menu__link:hover,
.footer .menu__link:focus {
  text-decoration: none;
  border-bottom: none;
}

.footer .menu__link--active-link:after,
.footer .menu__link--active-branch:after {
  display: none;
}

/* ========================================== 2. Inner card ========================================== */
/* Neural-indigo, 48px 96px padding, radius 4px */
.footer__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  align-self: stretch;
  padding: 48px 96px;
  border-radius: 4px;
  background: var(--nv-neural-indigo, #270091);
  box-sizing: border-box;
}

/* Fluid horizontal padding below 1440px */
@media (max-width: 1439px) and (min-width: 768px) {
  .footer__container {
    padding-left: clamp(32px, 4.5vw, 96px);
    padding-right: clamp(32px, 4.5vw, 96px);
  }
}

/* ========================================== 3. Top row ========================================== */
/* Logo left, nav columns right. space-between, gap 32px */
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

.footer__brand {
  flex-shrink: 0;
}

.footer__logo-link {
  display: block;
}

/* 120×20.753px */
.footer__logo-img {
  display: block;
  width: 120px;
  height: 20.753px;
  object-fit: contain;
}

.footer__logo-img--mobile {
  display: none;
}

.footer__logo-img--desktop {
  display: block;
}

.footer__nav {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

/* ========================================== 4. Nav menu layout ========================================== */
.footer .menu--mobile {
  display: none;
}

.footer .menu--desktop {
  width: auto;
}

/* Column headings aligned to top */
.footer .menu__wrapper {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: end;
  justify-items: start;
  align-items: start;
  column-gap: 32px;
  row-gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .menu__item--depth-1 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  padding: 0;
  text-transform: none;
}

/* Column heading — 14px/700 white */
.footer .menu__item--depth-1 > .menu__link {
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.44;
  color: var(--nv-white, #FFFFFF) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  white-space: nowrap;
}

.footer .menu__item--depth-1 > .menu__link--toggle {
  pointer-events: none;
  cursor: default;
}

/* ========================================== 5. Kill header module artifacts ========================================== */
.footer .menu__item--depth-1 > .menu__child-toggle,
.footer .menu__item--depth-1 > button.menu__child-toggle,
.footer .menu__item--depth-1 .menu__child-toggle,
.footer .menu__item--depth-1 .menu__child-toggle-icon {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(100%) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer .menu__item--depth-1 > .menu__link--toggle::before,
.footer .menu__item--depth-1 > .menu__link--toggle::after {
  display: none !important;
  content: none !important;
}

.footer .menu__submenu--level-2 > .menu__item:first-child::before,
.footer .menu__submenu .menu__item::before,
.footer .menu__submenu .menu__item::after {
  display: none !important;
  content: none !important;
}

/* ========================================== 6. Sub-menu ========================================== */
/* Always expanded, flex column; first column 2-col grid */
.footer .menu__submenu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: static;
  inset: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  max-width: 100%;
  box-shadow: none;
  border: none;
  background: transparent;
  transform: none !important; /* cancel nv-menu.module dropdown offset */
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  z-index: auto;
}

/* Ensure inherited level transforms/flyout never apply in footer */
.footer .menu__submenu--level-2,
.footer .menu__submenu--level-3 {
  position: static;
  transform: none !important;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: auto;
}

.footer .menu__item--depth-1:first-child .menu__submenu {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 16px 32px;
  align-items: start;
  width: max-content;
}

.footer .menu__item--depth-1:not(:first-child) .menu__submenu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer .menu__submenu .menu__item {
  margin: 0;
  padding: 0;
  border: none !important;
  border-bottom: none !important;
  border-top: none !important;
  box-shadow: none;
  background: transparent;
}

.footer .menu__submenu .menu__item:last-child {
  margin-bottom: 0;
}

/* Sub-links — 14px/400 white */
.footer .menu__submenu .menu__link {
  padding: 0 !important;
  display: inline-block;
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.44;
  color: var(--nv-white, #FFFFFF) !important;
  text-decoration: none;
  border-bottom: none;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  white-space: nowrap;
}

/* ========================================== 8.5 Tablet ========================================== */
@media (max-width: 1200px) and (min-width: 768px) {
  .footer {
    padding: 40px 0;
  }

  .footer__container {
    padding: 40px clamp(24px, 6vw, 72px);
    gap: 40px;
  }

  .footer .menu__wrapper {
    column-gap: clamp(16px, 2vw, 24px);
  }

  .footer .menu__submenu .menu__link {
    white-space: normal;
  }
}

/* ========================================== 7. Bottom row ========================================== */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__bottom-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}

/* ========================================== 8. Compliance badges ========================================== */
.footer__compliance {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.footer__compliance-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80.36px;
  height: 80.36px;
  border-radius: 4px;
  background: var(--nv-neural-indigo, #270091);
  flex-shrink: 0;
}

.footer__compliance-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ========================================== 9. Copyright ========================================== */
.footer__copyright {
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.44;
  color: var(--nv-white, #FFFFFF);
}

/* ========================================== 10. Legal links ========================================== */
.footer__legal-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

/* Use nv-menu output but keep old inline layout */
.footer__legal-links .menu--desktop {
  display: block;
}

.footer__legal-links .menu--mobile {
  display: none !important;
}

.footer__legal-links .menu--desktop .menu__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__legal-links .menu__item {
  margin: 0;
  padding: 0;
}

.footer__legal-links .menu__child-toggle,
.footer__legal-links .menu__child-toggle-icon {
  display: none !important;
}

.footer__legal-links a {
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.76;
  color: var(--nv-lavender-indigo, #8C7CFF) !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.footer__legal-links a:hover,
.footer__legal-links a:focus {
  color: var(--nv-lavender-indigo, #8C7CFF) !important;
  text-decoration: none !important;
}

/* ========================================== 11. Mobile (≤ 767px) ========================================== */
@media (max-width: 767px) {

  /* Solid neural-indigo, no white frame */
  .footer {
    background: var(--nv-neural-indigo, #270091);
    padding: 24px 32px 32px;
    gap: 0;
  }

  /* Inner card: no border-radius, no extra padding on mobile */
  .footer__container {
    border-radius: 0;
    padding: 0;
    gap: 32px;
    background: transparent; /* parent is already neural-indigo */
    align-self: stretch;
  }

  /* Force desktop nav visible */
  .footer .menu--desktop {
    display: block !important;
  }

  .footer .menu--mobile {
    display: none !important;
  }

  /* Top: stack brand above nav */
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
  }

  /* Logo: mini version */
  .footer__logo-img--desktop {
    display: none;
  }

  .footer__logo-img--mobile {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  .footer__brand {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .footer__nav {
    width: 100%;
    justify-content: flex-start;
  }

  /* Column sections: vertical stack, 32px gap */
  .footer .menu__wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
  }

  /* Each column: heading + items gap 24px; remove border-top from menu module */
  .footer .menu__item--depth-1 {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    border-top: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
  }

  /* Strip left padding from heading links (overrides nv-menu mobile default) */
  .footer .menu__item--depth-1 > .menu__link {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Suppress any ::before/::after divider lines from menu module */
  .footer .menu__item--depth-1::before,
  .footer .menu__item--depth-1::after {
    display: none !important;
    content: none !important;
    border: none !important;
  }

  /* Features: 2-col grid on mobile */
  .footer .menu__item--depth-1:first-child .menu__submenu {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    align-items: start;
  }

  /* Other columns: vertical flex */
  .footer .menu__item--depth-1:not(:first-child) .menu__submenu {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
  }

  /* Bottom */
  .footer__bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    gap: 20px;
    width: 100%;
  }

  .footer__bottom-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer__compliance-item {
    width: 64px;
    height: 64px;
  }

  .footer__legal-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}
/* 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%;
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}