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

/* `[hidden]` must beat any class with display: flex/grid/etc.
   Without !important, `.blog-card { display: flex }` wins by source order. */
[hidden] {
  display: none !important;
}
/*! 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 var(--gutter, 1.5rem);
}

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

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


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

.dnd-section[class*='force-full-width-section'] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Full-bleed modules: zero out DnD column padding so they go edge-to-edge */
.dnd-section .dnd-column:has(.hero-image),
.dnd-section .dnd-column:has(.hero-split),
.dnd-section .dnd-column:has(.hero-text),
.dnd-section:has(.hero-image),
.dnd-section:has(.hero-split),
.dnd-section:has(.hero-text),
.dnd-section .dnd-column:has(.mc--image-flush),
.dnd-section .dnd-column:has(.module--full-bleed) {
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.dnd-section:has(.hero-image) + .dnd-section:has(.widget-type-linked_image) {
  position: relative;
  z-index: 1;
}

.dnd-section:has(.mc--image-flush) {
  padding-left: 0;
  padding-right: 0;
}

.dnd-section > .row-fluid:has(.mc--image-flush),
.dnd-section > .row-fluid:has(.hero-image),
.dnd-section > .row-fluid:has(.hero-text),
.dnd-section > .row-fluid:has(.hero-split) {
  max-width: 100%;
}

.dnd-section:has(.mc--image-overlap) + .dnd-section:has(.mc--image-overlap) {
  padding-top: 0;
}

.dnd-section:not(.row-number-1) > .row-fluid:not(:has(.content-wrapper)) {
  padding-left: var(--gutter, 1.5rem);
  padding-right: var(--gutter, 1.5rem);
}

.dnd-section[class*='background-color']:last-child {
  padding-bottom: var(--section-spacing, 5rem);
  margin-bottom: 0;
  position: relative;

  &::after {
    content: '';
    position: absolute;
    top: 100%;
    height: 60px;
    left: 0;
    right: 0;
    background: inherit;
    z-index: -1;
  }
}

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

body {
	background-color: var(--color-off-white);
}
/* ─────────────────────────────────────────────────────
   Typography
   Base element styles + utility classes for eyebrow,
   breadcrumb, callout, and links.

   All sizing pulls from tokens.css fluid scale
   (240px → 1500px clamp values).
───────────────────────────────────────────────────── */


/* ─── Body ──────────────────────────────────────────── */

body {
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--color-text);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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


/* ─── Headings ──────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: var(--fw-regular);
  color: var(--color-black);
  margin: 0 0 var(--space-4);
  scroll-margin-top: var(--space-10);
}

h1,
.h1 {
  font-size: var(--text-h1);
  line-height: var(--lh-h1);
}

h2,
.h2 {
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
}

h3,
.h3 {
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
}

h4,
.h4 {
  font-size: var(--text-h4);
  line-height: var(--lh-h4);
}

h5,
.h5 {
  font-size: var(--text-h5);
  line-height: var(--lh-h5);
}

h6,
.h6 {
  font-size: var(--text-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-medium);
}


/* ─── Paragraphs ────────────────────────────────────── */

p {
  font-size: inherit;
  margin: 0 0 var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}


/* ─── Links ─────────────────────────────────────────── */

a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
  cursor: pointer;
}

a:hover {
  color: var(--color-brand-dark);
}

/* Remove underline when link wraps a block (cards, images, etc.) */
a.link--block {
  text-decoration: none;
  color: inherit;
}


/* ─── Eyebrow ───────────────────────────────────────── */

.eyebrow {
  display: block;
  font-family: var(--font);
  font-size: var(--text-eyebrow);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: var(--ls-eyebrow);
  color: var(--color-cta);
  margin-bottom: var(--space-3);
}

.eyebrow::before {
  content: '/';
  margin-right: var(--space-2);
}

.eyebrow--white { color: var(--color-white); }
.eyebrow--brand { color: var(--color-brand); }


/* ─── Callout / Lead ────────────────────────────────── */

.callout,
.lead {
  font-size: var(--text-callout);
  line-height: var(--lh-callout);
  font-weight: var(--fw-regular);
}


/* ─── Breadcrumb ────────────────────────────────────── */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  font-size: var(--text-crumb);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-crumb);
  text-transform: uppercase;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--color-gray-mid);
}

.breadcrumb a {
  color: var(--color-gray-mid);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-brand);
}

.breadcrumb .breadcrumb__current {
  color: var(--color-brand);
}


/* ─── Small / Fine Print ────────────────────────────── */

small,
.text-small {
  font-size: var(--text-small);
}


/* ─── Lists ─────────────────────────────────────────── */

ul, ol {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
}

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

li {
  margin-bottom: var(--space-1);
}

li:last-child {
  margin-bottom: 0;
}

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


/* ─── Blockquotes ───────────────────────────────────── */

blockquote {
  border-left: 3px solid var(--color-cta);
  margin: 0 0 var(--space-5);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-callout);
  line-height: var(--lh-callout);
  color: var(--color-slate);
}

blockquote p:last-child {
  margin-bottom: 0;
}


/* ─── Pullquote ─────────────────────────────────────── */
/*
  <blockquote class="pullquote">
    <p>Demonstrated cross-aisle public consensus…</p>
  </blockquote>
*/

.pullquote {
  border-left: none;
  border-top: 1px solid var(--color-cta);
  border-bottom: 1px solid var(--color-cta);
  padding: var(--space-6);
  margin: 0 0 var(--space-5);
  font-size: var(--text-h4);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  color: var(--color-cta);
  text-align: center;
}

.pullquote p:last-child {
  margin-bottom: 0;
}


/* ─── Horizontal Rules ──────────────────────────────── */

hr {
  border: none;
  border-bottom: 1px solid var(--color-gray-light);
  margin: var(--space-7) 0;
}


/* ─── Code ──────────────────────────────────────────── */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
  font-size: 0.9em;
}


/* ─── Image Alt Text ────────────────────────────────── */

img {
  font-size: var(--text-small);
  word-break: normal;
}


/* ─── Section Intro ─────────────────────────────────── */
/*
   Shared wrapper for module intros (eyebrow + heading + body)
   that sit above a grid, carousel, list, etc.

   Usage:
     <header class="section-intro">
       <p class="eyebrow">/ Something</p>
       <h2>Heading</h2>
       <div class="callout">Supporting body copy.</div>
     </header>

   Modifiers:
     .section-intro--center  — centers the block + the text inside
*/

.section-intro {
  max-width: var(--max-width-text);
  margin-bottom: var(--space-5);
}

@media (min-width: 768px) {
  .section-intro {
    margin-bottom: var(--space-6);
  }
}

.section-intro--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/* ─── Gradient Text ─────────────────────────────────── */
/*
   Use anywhere — wrap any text in a span with this class
   to apply the rainbow gradient as the text color.

   Usage:
     <h2>Hero <span class="text-gradient">accent</span></h2>
     <p>Built on <span class="text-gradient">20 years</span> of data.</p>

   Color variants:
     .text-gradient                  — main rainbow (periwinkle → sky → green)
     .text-gradient--green-indigo    — green → indigo
     .text-gradient--indigo-blue     — indigo → blue
     .text-gradient--green-sky       — green → sky

   On dark backgrounds wrap the parent (or use .text--white) to
   fall back to solid white — see the override at the bottom.
*/

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Safari fallback when background-clip:text isn't supported */
  color: transparent;
}

.text-gradient--green-indigo  { background-image: var(--gradient-green-indigo); }
.text-gradient--indigo-blue   { background-image: var(--gradient-indigo-blue); }
.text-gradient--green-sky     { background-image: var(--gradient-green-sky); }
.text-gradient--purple-indigo { background-image: var(--gradient-purple-indigo); }


/* ─── Context Modifiers ─────────────────────────────── */
/* For sections with dark / indigo backgrounds          */

.text--white,
.text--white h1,
.text--white h2,
.text--white h3,
.text--white h4,
.text--white h5,
.text--white h6 {
  color: var(--color-white);
}

.text--white p,
.text--white li,
.text--white blockquote {
  color: rgba(255, 255, 255, 0.85);
}

.text--white a {
  color: var(--color-white);
}

.text--white a:hover {
  color: var(--color-off-white);
}

.text--white hr {
  border-color: rgba(255, 255, 255, 0.2);
}

/* On dark backgrounds, gradient text is unreadable — fall back to white.
   Triggered by either .text--white or .section--dark (used by module wrappers). */
.text--white .text-gradient,
.section--dark .text-gradient {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--color-white);
  background-clip: unset;
  color: var(--color-white);
}
/* from default 

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

/* newly added */
/* ─────────────────────────────────────────────────────
   Buttons
   Variants:  primary | outline | pill | text
   Contexts:  btn--green | btn--indigo | btn--white
   Mix variant + context on .btn

   Arrow SVG usage:
   Remove fill attribute from <path> so it inherits
   currentColor from the button. One SVG, all contexts.

   Arrow SVG (drop inline, remove fill from path):
   <svg width="15" height="11" viewBox="0 0 15 11" fill="none" xmlns="http://www.w3.org/2000/svg">
     <path d="M13.7539 5.96094L9.37891 10.3359C9.02344 10.6641 8.47656 10.6641 8.12109 10.3359C7.79297 9.98047 7.79297 9.43359 8.12109 9.07813L11.0195 6.20703L0.875 6.20703C0.382813 6.20703 1.1338e-07 5.82422 1.19249e-07 5.33203C1.25118e-07 4.83984 0.382813 4.45703 0.875 4.45703L11.0195 4.45703L8.12109 1.58594C7.79297 1.23047 7.79297 0.683594 8.12109 0.328125C8.47656 9.81008e-08 9.02344 1.04622e-07 9.37891 0.328125L13.7539 4.70313C14.082 5.05859 14.082 5.60547 13.7539 5.96094Z"/>
   </svg>
───────────────────────────────────────────────────── */

button,
.button,
.hs-button {
    border-radius: 6px;

    &:disabled {
        background-color: #D0D0D0;
        border-color: #D0D0D0;
        color: #E6E6E6;
    }
}
@property --grad-color-1 {
  syntax: '<color>';
  initial-value: #00BB73;
  inherits: false;
}

@property --grad-color-2 {
  syntax: '<color>';
  initial-value: #00A7E0; /* Same as color 1 for solid look */
  inherits: false;
}
/* ─── Base ──────────────────────────────────────────── */

.btn {
  --grad-color-1: transparent;
  --grad-color-2: transparent;

  --arrow-color-btn: currentcolor;
  --circle-color-btn: transparent;

  --border-color-btn: transparent;
  --background-color-btn: linear-gradient(95deg, var(--grad-color-1), var(--grad-color-2));
  --color-btn: currentcolor;

  --border-color-btn-hover: inherit;
  --background-color-btn-hover: var(--background-color-btn);
  --color-btn-hover: currentcolor;


  display: inline-flex;
  align-items: center;
  background: var(--background-color-btn);
  color: var(--color-btn);
  gap: 10px;
  font-family: var(--font);
  font-weight: var(--fw-bold);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border-color-btn);
  transition:
      all var(--transition), --grad-color-1 var(--transition), --grad-color-2 var(--transition);
  white-space: nowrap;
}

.btn:hover,
.btn:focus,
.btn:focus-within {
  border-color: var(--border-color-btn-hover);
  background: var(--background-color-btn-hover);
  color: var(--color-btn-hover);
}

.btn:hover .btn__arrow,
.btn:focus .btn__arrow,
.btn:focus-within .btn__arrow,
.btn:hover .btn__circle-arrow svg,
.btn:focus .btn__circle-arrow svg,
.btn:focus-within .btn__circle-arrow svg {
    transform: translateX(4px);
}

.btn:active {
    opacity: 0.75;
}

.btn__arrow {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    width: 15px;
    height: 11px;
    transition: transform var(--transition);
}

.btn__arrow svg {
    width: 15px;
    height: 11px;
    fill: currentColor;
}

.btn--primary,
.btn--inverse {
    font-size: var(--text-btn-lg);
    padding: 16px 20px;
    border-radius: 6px;
}


/* ─── Primary — solid fill, 5px radius ──────────────── */
/*
  <a class="btn btn--primary btn--green" href="#">
    Book a Demo
    <span class="btn__arrow"><svg ...></svg></span>
  </a>
*/

.btn--primary,
.btn--primary.btn--green {
  --border-color-btn: var(--color-cta);
  --border-color-btn-hover: var(--color-cta);
  --color-btn: var(--color-white);
  --color-btn-hover: var(--color-white);
  --grad-color-1: var(--color-cta);
  --grad-color-2: var(--color-cta);

  &:hover,
  &:focus,
  &:focus-within,
  &:active {
    --grad-color-1: #00BB73;
    --grad-color-2: #00A7E0;
  }
}

.btn--primary.btn--indigo {
    --border-color-btn: var(--color-brand);
    --border-color-btn-hover: var(--color-white);
    --color-btn: var(--color-white);
    --color-btn-hover: var(--color-white);

    --grad-color-1: var(--color-brand);
    --grad-color-2: var(--color-brand);

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #2B2C9F;
      --grad-color-2: #0071DF;
    }
}

.btn--primary.btn--white {
    --background-color-btn: var(--color-white);
    --background-color-btn-hover: var(--color-brand);
    --border-color-btn: var(--color-white);
    --border-color-btn-hover: var(--color-brand);
    --color-btn: var(--color-brand);
    --color-btn-hover: var(--color-white);

    .header--transparent.header--scrolled & {
      --border-color-btn: var(--color-brand);
    }
}

@media (max-width: 767px) {
    .btn--primary {
        font-size: 18px;
        padding: 14px 18px;
    }
}

/* ─── Inverse Primary — outline fill, 5px radius ──────────────── */
/*
  <a class="btn btn--inverse btn--green" href="#">
    Book a Demo
    <span class="btn__arrow"><svg ...></svg></span>
  </a>
*/

.btn--inverse,
.btn--inverse.btn--green {
    --border-color-btn: var(--color-cta);
    --border-color-btn-hover: var(--color-cta);
    --color-btn: var(--color-cta);
    --color-btn-hover: var(--color-white);
    --grad-color-1: transparent;
    --grad-color-2: transparent;

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #00BB73;
      --grad-color-2: #00A7E0;
    }
}

.btn--inverse.btn--indigo {
    --border-color-btn: var(--color-white);
    --border-color-btn-hover: var(--color-white);
    --color-btn: var(--color-white);
    --grad-color-1: transparent;
    --grad-color-2: transparent;

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #2B2C9F;
      --grad-color-2: #0071DF;
    }
}

.btn--inverse.btn--white {
    --border-color-btn: var(--color-brand);
    --border-color-btn-hover: var(--color-brand);
    --background-color-btn: transparent;
    --background-color-btn-hover: var(--color-brand);
    --color-btn: var(--color-brand);
    --color-btn-hover: var(--color-white);
}

/* ─── Secondary — pill, circle-arrow icon ─────────────── */
/*
  <a class="btn btn--secondary btn--green" href="#">
    Explore Research Studio
    <span class="btn__circle-arrow" aria-hidden="true">
      <svg ...></svg>
    </span>
  </a>
*/

.btn--secondary {
    --circle-color-btn: var(--color-white);
    --arrow-color-btn: var(--color-cta);

    --border-color-btn: var(--color-cta);
    --border-color-btn-hover: var(--color-cta);
    --color-btn: var(--color-white);
    --color-btn-hover: var(--color-white);

    --grad-color-1: var(--color-cta);
    --grad-color-2: var(--color-cta);

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #00BB73;
      --grad-color-2: #00A7E0;
    }

    font-size: var(--text-btn-md);
    padding: 10px 8px 10px 14px;
    border-radius: var(--radius-pill);
    border-width: 1px;
    border-style: solid;
}

.btn--secondary.btn--green {
    --arrow-color-btn: var(--color-cta);
    --border-color-btn: var(--color-cta);
    --border-color-btn-hover: var(--color-cta);
    --color-btn: var(--color-white);
    --color-btn-hover: var(--color-white);
    --grad-color-1: var(--color-cta);
    --grad-color-2: var(--color-cta);

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #00BB73;
      --grad-color-2: #00A7E0;
    }
}

.btn--secondary.btn--indigo {
    --border-color-btn: var(--color-brand);
    --border-color-btn-hover: var(--color-brand);
    --color-btn: var(--color-white);
    --color-btn-hover: var(--color-white);
    --arrow-color-btn: var(--color-brand);

    --grad-color-1: var(--color-brand);
    --grad-color-2: var(--color-brand);

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #2B2C9F;
      --grad-color-2: #0071DF;
    }
}

.btn--secondary.btn--white {
    --border-color-btn: var(--color-white);
    --background-color-btn: var(--color-white);
    --color-btn: var(--color-brand);
    --arrow-color-btn: var(--color-brand);
    --background-color-btn-hover: var(--color-brand);
    --border-color-btn-hover: var(--color-brand);
    --color-btn-hover: var(--color-white);
}

.btn--secondary.btn--small {
    padding: 8px 10px 8px 12px;
    font-weight: var(--fw-bold);
}

.btn__circle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid currentColor;
    background-color: var(--circle-color-btn);
    flex-shrink: 0;

    @media (max-width: 767px) {
        width: 24px;
        height: 24px;
    }
}

.btn__circle-arrow svg {
    width: 13px;
    height: 10px;
    fill: var(--arrow-color-btn);
    transition: transform var(--transition);

    path {
        fill: var(--arrow-color-btn);
    }
}


/* ─── Outline — pill, circle-arrow icon ─────────────── */
/*
  <a class="btn btn--outline btn--green" href="#">
    Explore Research Studio
    <span class="btn__circle-arrow" aria-hidden="true">
      <svg ...></svg>
    </span>
  </a>
*/

.btn--outline {
    font-size: var(--text-btn-md);
    padding: 10px 8px 10px 14px;
    border-radius: var(--radius-pill);
    border-width: 1px;
    border-style: solid;
    --border-color-btn: var(--color-cta);
    --border-color-btn-hover: var(--color-cta);
    --color-btn: var(--color-cta);
    --color-btn-hover: var(--color-white);
    --grad-color-1: transparent;
    --grad-color-2: transparent;

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #00BB73;
      --grad-color-2: #00A7E0;
    }
}

.btn--outline.btn--green {
    --border-color-btn: var(--color-cta);
    --grad-color-1: var(--color-cta);
    --grad-color-2: var(--color-cta);

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #00BB73;
      --grad-color-2: #00A7E0;
    }
}

.btn--outline.btn--indigo {
    --border-color-btn: var(--color-brand);
    --border-color-btn-hover: var(--color-brand);
    --color-btn: var(--color-brand);
    --grad-color-1: transparent;
    --grad-color-2: transparent;

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #2B2C9F;
      --grad-color-2: #0071DF;
    }
}

.btn--outline.btn--white {
    --border-color-btn: var(--color-white);
    --border-color-btn-hover: var(--color-white);
    --background-color-btn: transparent;
    --color-btn: var(--color-white);
    --background-color-btn-hover: var(--color-brand);
    --border-color-btn-hover: var(--color-brand);
    --color-btn-hover: var(--color-white);
}

/* ─── Pill — login / icon + label ───────────────────── */
/*
  <a class="btn btn--pill btn--indigo" href="/login">
    <span class="btn__leading-icon">
      <i class="fa-regular fa-circle-user" aria-hidden="true"></i>
    </span>
    Login
  </a>
*/

.btn--pill {
    font-size: var(--text-btn-md);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border-width: 1px;
    border-style: solid;
    gap: 8px;
    --grad-color-1: var(--color-brand);
    --grad-color-2: var(--color-brand);

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #2B2C9F;
      --grad-color-2: #0071DF;
    }
}

.btn--pill.btn--indigo {
    --border-color-btn: var(--color-brand);
    --border-color-btn-hover: var(--color-brand);
    --color-btn: var(--color-white);
    --color-btn-hover: var(--color-white);

    --grad-color-1: var(--color-brand);
    --grad-color-2: var(--color-brand);

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #2B2C9F;
      --grad-color-2: #0071DF;
    }
}

.btn--pill.btn--outline-indigo {
    --border-color-btn: var(--color-brand);
    --border-color-btn-hover: var(--color-brand);
    --color-btn: var(--color-brand);
    --color-btn-hover: var(--color-brand);

    --grad-color-1: var(--color-brand);
    --grad-color-2: var(--color-brand);

    &:hover,
    &:focus,
    &:focus-within,
    &:active {
      --grad-color-1: #2B2C9F;
      --grad-color-2: #0071DF;
    }
}

.btn--pill.btn--outline-white {
    --border-color-btn: var(--color-white);
    --border-color-btn-hover: var(--color-white);
    --background-color-btn: transparent;
    --background-color-btn-hover: var(--color-brand);
    --color-btn: var(--color-white);
    --color-btn-hover: var(--color-white);
}

.btn__leading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    font-size: 16px;
}


/* ─── Text link — label + trailing arrow ─────────────── */
/*
  <a class="btn btn--text btn--indigo" href="#">
    Explore
    <span class="btn__arrow"><svg ...></svg></span>
  </a>
*/

.btn--text {
    font-size: var(--text-btn-md);
    padding: 0;
    border: none;
    background: transparent;
}

.btn--text.btn--indigo {
    --color-btn: var(--color-brand);
    --color-btn-hover: var(--color-cta);
}

.btn--text.btn--white {
    --color-btn: var(--color-white);
    --color-btn-hover: var(--color-gray);
}

.btn--text.btn--green {
    --color-btn: var(--color-cta);
    --color-btn-hover: var(--color-brand);
}


/* ─── Text alt ─────────────── */
.btn--small {
    gap: var(--space-2);
    font-size: var(--text-btn-sm);
    padding: 10px 16px;
    font-weight: var(--fw-medium);
}
/* 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
*/

/* ─────────────────────────────────────────────────────
   Header
   Variants:
     .header--solid        white bg, blue logo (default)
     .header--transparent  overlays hero, white text/logo
     .header--scrolled     added by JS on scroll (>50px),
                           transitions transparent → solid
───────────────────────────────────────────────────── */


/* ═══════════════════════════════════════════════════════
   1. BASE
═══════════════════════════════════════════════════════ */

.header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-5) 0;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

/* Skip nav */
.header__skip {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.header__skip:focus {
  position: fixed;
  left: var(--space-4);
  top: var(--space-4);
  width: auto;
  height: auto;
  padding: var(--space-3) var(--space-5);
  background: var(--color-white);
  color: var(--color-brand);
  font-weight: var(--fw-bold);
  z-index: 200;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}


/* ═══════════════════════════════════════════════════════
   2. SOLID VARIANT (default)
═══════════════════════════════════════════════════════ */

.header--solid {
  position: sticky;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-light);
}

.header--solid .header__logo-white { display: none; }
.header--solid .header__logo-blue  { display: block; }

.header--solid .menu__link,
.header--solid .menu__child-toggle-icon {
  color: var(--color-text);
}


/* ═══════════════════════════════════════════════════════
   3. TRANSPARENT VARIANT
═══════════════════════════════════════════════════════ */

.header--transparent {
  position: absolute;
  background: rgba(0,0,0,.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header--transparent .header__logo-blue  { display: none; }
.header--transparent .header__logo-white { display: block; }

.header--transparent .menu__link,
.header--transparent .menu__child-toggle-icon {
  color: var(--color-white);
}

.header--transparent .header__btn--login {
  background: var(--color-white);
  color: var(--color-brand);
  border-color: rgba(255, 255, 255, 0.5);
}

.header--transparent .header__hamburger span {
  background: var(--color-white);
}


/* ─── Scrolled state (transparent → solid) ──────────── */

.header--transparent.header--scrolled {
  position: fixed;
  background: var(--color-white);
  border-bottom-color: var(--color-gray-light);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header--transparent.header--scrolled .header__logo-white { display: none; }
.header--transparent.header--scrolled .header__logo-blue  { display: block; }

.header--transparent.header--scrolled .menu__link,
.header--transparent.header--scrolled .menu__child-toggle-icon {
  color: var(--color-text);
}

.header--transparent.header--scrolled .header__btn--login {
  background: var(--color-white);
  color: var(--color-brand);
  border-color: var(--color-periwinkle);
}

.header--transparent.header--scrolled .header__hamburger span {
  background: var(--color-text);
}


/* ═══════════════════════════════════════════════════════
   4. LOGO
═══════════════════════════════════════════════════════ */

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.header__logo img {
  width: 118px;
  height: auto;
}


/* ═══════════════════════════════════════════════════════
   5. DESKTOP NAV (menu module overrides)
═══════════════════════════════════════════════════════ */

.header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.header__nav .menu__wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav .menu__item {
  position: relative;
}

.header__nav .menu__item--depth-1 {
  display: inline-flex;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  padding: 0;
  margin: 0;
}

.header__nav .menu__link {
  font-family: var(--font);
  font-weight: var(--fw-medium);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition);
  padding: var(--space-2) 0;
}

.header__nav .menu__link:hover {
  text-underline-offset: 4px;
  text-decoration: 2px underline;
}

.header__nav .menu__item.menu__item--depth-1:has(.menu__link--active-link) > .menu__link {
  text-decoration: 2px underline var(--color-cta);
  text-underline-offset: 4px;
}

/* Chevron toggle icon */
.header__nav .menu__child-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1) var(--space-1);
  display: inline-flex;
  align-items: center;
}

.header__nav .menu__child-toggle-icon {
  border: none;
  width: 10px;
  height: 6px;
  transition: transform var(--transition);
}

/* Chevron SVG via CSS — overriding the module's CSS triangle */
.header__nav .menu__child-toggle-icon {
  border-top: 5px solid currentColor;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: none;
}

.header__nav .menu__item--open > .menu__child-toggle .menu__child-toggle-icon {
  transform: rotate(180deg);
}


/* ─── Dropdown panels ───────────────────────────────── */

.header__nav .menu__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  padding: var(--space-4) 0;
  margin-top: var(--space-3);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.08),
    0 1px 4px rgba(0,0,0,0.04);
  list-style: none;
  z-index: 99;
}

/* Transparent hover bridge — fills the visual gap so cursor
   doesn't lose hover state when moving from menu item to submenu */
.header__nav .menu__submenu::after {
  content: '';
  position: absolute;
  top: calc(var(--space-3) * -1);
  left: 0;
  right: 0;
  height: var(--space-3);
}

.header__nav .menu__item--open > .menu__submenu,
.header__nav .menu__item:focus-within > .menu__submenu {
  display: block;
}

.header__nav .menu__submenu .menu__link {
  display: block;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-brand);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition), background-color var(--transition);
}

.header__nav .menu__submenu .menu__link:hover {
  background: var(--color-card-tint);
  color: var(--color-brand-dark);
  opacity: 1;
}

.header__nav .menu__submenu .menu__link--active-link {
  color: var(--color-brand);
  font-weight: var(--fw-bold);
}

/* Dropdown arrow/triangle */
.header__nav .menu__submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border-radius: 2px 0 0 0;
}

.header__nav .menu__submenu:has(.menu__submenu)::before {
  left: 41px;
}


/* ─── Multi-column dropdown ────────────────────────────
   Triggered automatically when a dropdown contains nested
   submenus. In the HubSpot menu editor:
     • Depth-2 item with children → becomes a column
       (its own link text becomes the column header)
     • Depth-3 children → become the column links

   Set the depth-2 item's URL to # if it shouldn't link.
─────────────────────────────────────────────────────── */

/* Detect: a depth-1 dropdown that contains a deeper submenu = multi-col */
.header__nav .menu__item--depth-1 > .menu__submenu:has(.menu__submenu) {
  display: none;
  flex-wrap: wrap;
  gap: var(--space-7);
  min-width: var(--max-width-narrow);
  padding: var(--space-6) var(--space-6) var(--space-5);
}

/* Re-show on open (overrides the base 'display: block') */
.header__nav .menu__item--depth-1.menu__item--open > .menu__submenu:has(.menu__submenu),
.header__nav .menu__item--depth-1:focus-within > .menu__submenu:has(.menu__submenu)  {
  display: flex;
}

/* Each depth-2 child becomes a column */
.header__nav .menu__submenu:has(.menu__submenu) > .menu__item--depth-2 {
  flex: 1 1 calc(50% - var(--space-7));
  min-width: 220px;
}

.header__nav .menu__submenu:has(.menu__submenu) .menu__child-toggle {
  display: none;
}

/* The depth-2 link becomes a column header — body-text styled, gray */
.header__nav .menu__submenu:has(.menu__submenu) > .menu__item--depth-2 > .menu__link {
  padding: 0 0 var(--space-3);
  margin-bottom: var(--space-2);
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  white-space: normal;
  cursor: default;
  border-bottom: 1px solid var(--color-gray-light);
}

/* If the depth-2 has a real URL, allow hover; otherwise stays static */
.header__nav .menu__submenu:has(.menu__submenu) > .menu__item--depth-2 > .menu__link[href="#"]:hover,
.header__nav .menu__submenu:has(.menu__submenu) > .menu__item--depth-2 > .menu__link:not([href]):hover {
  background: transparent;
  color: var(--color-text);
}

/* Reset the nested submenu — render inline as the column body
   (no positioning, shadow, background — those stay on the parent panel) */
.header__nav .menu__submenu .menu__submenu {
  display: block;
  position: static;
  transform: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  min-width: 0;
}

/* Hide the nested submenu's own arrow */
.header__nav .menu__submenu .menu__submenu::before,
.header__nav .menu__submenu .menu__submenu::after {
  display: none;
}

/* Tighter spacing on column links */
.header__nav .menu__submenu:has(.menu__submenu) .menu__submenu .menu__link {
  padding: var(--space-1) 0;
  white-space: normal;
}

.header__nav .menu__submenu:has(.menu__submenu) .menu__submenu .menu__link:hover {
  //background: transparent;
  //color: var(--color-brand-dark);
}

.header__nav .menu__submenu .menu__item.menu__item--depth-3 .menu__link {
  padding-left: 14px;
  margin-left: -14px;
}


/* ═══════════════════════════════════════════════════════
   6. ACTION BUTTONS
═══════════════════════════════════════════════════════ */

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.header__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: var(--fw-medium);
  line-height: 1;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition:
    opacity var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.header__btn:hover {
  opacity: 0.88;
}

/* Login — outlined */
.header__btn--login {
  background: var(--color-white);
  color: var(--color-brand);
  border-color: var(--color-periwinkle);
}

/* Book a Demo — green solid */
.header__btn--cta {
  background: var(--color-cta);
  color: var(--color-white);
  border-color: var(--color-cta);
}


/* ═══════════════════════════════════════════════════════
   7. HAMBURGER TOGGLE
═══════════════════════════════════════════════════════ */

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease;
  transform-origin: center;
}

/* X animation when open */
.header__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ═══════════════════════════════════════════════════════
   8. MOBILE DRAWER
═══════════════════════════════════════════════════════ */

.header__mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 105;
  background: var(--color-white);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 100px var(--gutter) var(--space-7);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  visibility: hidden;
}

.header__mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

/* Mobile nav links */
.header__mobile-drawer .menu__wrapper {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__mobile-drawer .menu__item {
  border-bottom: 1px solid var(--color-gray-light);
}

.header__mobile-drawer .menu__item--depth-1 {
  display: block;
}

.header__mobile-drawer .menu__link {
  display: flex;
  align-items: center;
  font-family: var(--font);
  font-size: 20px;
  font-weight: var(--fw-medium);
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-4) 0;
}

.header__mobile-drawer .menu__link--active-link {
  color: var(--color-brand);
}

/* Child toggle */
.header__mobile-drawer .menu__child-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-4) 0;
  margin-left: auto;
  display: flex;
  align-items: center;
}

.header__mobile-drawer .menu__child-toggle-icon {
  border-top: 5px solid var(--color-text);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: none;
  transition: transform var(--transition);
}

.header__mobile-drawer .menu__item--open > .menu__child-toggle .menu__child-toggle-icon {
  transform: rotate(180deg);
}

/* Mobile submenu */
.header__mobile-drawer .menu__submenu {
  display: none;
  list-style: none;
  padding: 0 0 var(--space-3) var(--space-4);
  margin: 0;
}

.header__mobile-drawer .menu__item--open > .menu__submenu {
  display: block;
}

.header__mobile-drawer .menu__submenu .menu__link {
  font-size: 17px;
  font-weight: var(--fw-regular);
  color: var(--color-slate);
  padding: var(--space-2) 0;
}

.header__mobile-drawer .menu__submenu .menu__link:hover {
  color: var(--color-brand);
}

/* Mobile action buttons */
.header__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.header__mobile-actions .header__btn {
  justify-content: center;
  padding: 14px 20px;
  font-size: 18px;
}


/* ═══════════════════════════════════════════════════════
   9. RESPONSIVE
═══════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .header__nav,
  .header__actions {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }
}

@media (min-width: 992px) {
  .header__mobile-drawer {
    display: none !important;
  }

  .header__hamburger {
    display: none !important;
  }

  /* Hide the mobile-only menu module inside the drawer */
  .header__nav .menu--mobile {
    display: none;
  }
}
/* ─────────────────────────────────────────────────────
   Footer
   Two zones:
   1. CTA — gradient bg, headline + form (hideable)
   2. Links — dark bg, nav columns, contact, legal
───────────────────────────────────────────────────── */


/* ─── Reset boilerplate footer padding ──────────────── */

.footer {
  background: var(--gradient-main);
  border-radius: 60px 60px 0 0;
}

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


/* ═══════════════════════════════════════════════════════
   1. CTA ZONE
═══════════════════════════════════════════════════════ */

.footer__cta {
  border-radius: 60px 60px 0 0;
  padding: var(--space-9) var(--gutter);
  position: relative;
  overflow: hidden;
}

.footer__cta-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-8);
  align-items: start;
}

.footer__cta-inner.content-wrapper {
  max-width: var(--max-width-md);
  padding-left: 0;
  padding-right: 0;
}


/* ─── CTA Left Content ─────────────────────────────── */

.footer__cta-content {
  color: var(--color-white);
}

.footer__cta-content h2 {
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer__cta-content p,
.footer__cta-content li {
  font-size: var(--text-callout);
  color: var(--color-white);
}

.footer__cta-content ul {
  list-style: none;
  padding-left: 0;
}

.footer__cta-content ul li::before {
  content: '+ ';
  font-weight: var(--fw-bold);
}


/* ─── CTA Form ─────────────────────────────────────── */

.footer__cta-form label {
  display: block;
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.footer__cta-form input[type="text"],
.footer__cta-form input[type="email"],
.footer__cta-form input[type="tel"],
.footer__cta-form input[type="url"],
.footer__cta-form select,
.footer__cta-form textarea {
  width: 100%;
  padding: 12px var(--space-4);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: var(--text-body);
  background: var(--color-white);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer__cta-form input::placeholder {
  color: var(--color-gray-mid);
}

.footer__cta-form .hs-form-field {
  margin-bottom: var(--space-3);
}

/* Two-column name fields */
.footer__cta-form .hs-form .hs_firstname,
.footer__cta-form .hs-form .hs_lastname {
  display: inline-block;
  width: calc(50% - var(--space-2));
}

.footer__cta-form .hs-form .hs_firstname {
  margin-right: var(--space-2);
}

.footer__cta-form .hs-form .hs_lastname {
  margin-left: var(--space-2);
}

/* Checkbox styling */
.footer__cta-form .hs-form-booleancheckbox label {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-body);
  cursor: pointer;
}

.footer__cta-form .hs-form-booleancheckbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-brand);
}

.footer__cta-form [data-hsfc-id=Renderer] .hsfc-Step .hsfc-Step__Content {
  padding-bottom: 0 !important;

  @media (max-width: 767px) {
    padding: 0 !important;
  }
}

/* Submit button — indigo solid */
.footer__cta-form .hs-button,
.footer__cta-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: var(--text-btn-md);
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-white);
  background: var(--color-brand);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  cursor: pointer;
  transition: opacity var(--transition);
}

.footer__cta-form .hs-button:hover,
.footer__cta-form input[type="submit"]:hover {
  opacity: 0.88;
}

/* Error messages */
.footer__cta-form .hs-error-msgs {
  color: var(--color-white);
  font-size: var(--text-small);
  list-style: none;
  padding: 0;
  margin-top: calc(-1 * var(--space-3));
  margin-bottom: var(--space-3);
}


/* ═══════════════════════════════════════════════════════
   2. LINKS ZONE
═══════════════════════════════════════════════════════ */

.footer__links {
}

.footer__links-inner {
  margin: 0 auto;
  padding: var(--space-6) var(--gutter);
  max-width: var(--max-width);
}


/* ─── Top Row: Logo + Login ─────────────────────────── */

.footer__top-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: var(--space-8);
  gap: var(--space-7);
}

.footer__logo {
  height: 25px;
  width: auto;
}


/* ─── Nav Columns ───────────────────────────────────── */

.footer__nav {
  display: grid;
  grid-template-columns: .2fr .4fr .1fr .1fr .1fr .1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.footer__nav-col {
  min-width: 0;
}

.footer__nav-col-double {
  grid-template-columns: 1fr 1fr;
  display: grid;
  gap: 0 var(--space-6);
  
  .footer__nav-heading {
    grid-column: span 2;
  }
}

.footer__nav-heading {
  font-family: var(--font);
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.footer__nav-tagline {
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-lavender);
  margin-bottom: var(--space-3);
}

.footer__nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-col li:not(.footer__contact-row) {
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.footer__nav-col a {
  font-size: 16px;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity var(--transition);
}

.footer__nav-col a:hover {
  color: var(--color-white);
  text-decoration: underline;
}


/* ─── Contact Column ────────────────────────────────── */

.footer__contact-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__contact-row:last-child {
  margin-bottom: 0;
}

.footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.footer__contact-text {
  font-size: var(--text-body);
  line-height: 1.4;
  color: var(--color-white);
}

.footer__contact-text a {
  font-size: var(--text-body);
  color: var(--color-white);
  text-decoration: none;
}

.footer__contact-text a:hover {
  opacity: 0.75;
}


/* ─── Divider ───────────────────────────────────────── */

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 0 var(--space-6);
}

.footer__divider-long {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 1);
  margin: 0 auto var(--space-6);
  max-width: var(--max-width);
}


/* ─── Legal ─────────────────────────────────────────── */

.footer__legal {
  text-align: center;
}

.footer__legal p {
  font-size: var(--text-crumb);
  line-height: 1.7;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.footer__legal a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__legal a:hover {
  opacity: 0.75;
  color: var(--color-white);
}

.footer__texas {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


/* ═══════════════════════════════════════════════════════
   3. RESPONSIVE
═══════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .footer__cta {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  .footer__cta-inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer__nav {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

@media (max-width: 767px) {
  .footer__cta {
    padding-top: var(--space-7);
    padding-bottom: var(--space-4);
  }

  .footer__cta-form .hs-form .hs_firstname,
  .footer__cta-form .hs-form .hs_lastname {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }

  .footer__contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
  }

  .footer__nav-col:first-child,
  .footer__nav-col.footer__nav-col-double {
    grid-column: span 2;
  }

  .footer__top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .footer__links {
    padding: 0;
  }
}
/* 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%;
}

.hs_cos_wrapper_type_section_header > .section-header {
  margin-bottom: var(--space-5);
}

.widget-type-linked_image {
  overflow: hidden;
  margin-left: var(--gutter);
  margin-right: var(--gutter);
}

.widget-type-rich_text {
  margin: var(--space-6) auto;
  max-width: var(--max-width-sm);
}

@media (max-width: 767px) {
  .widget-type-rich_text {
    margin: var(--space-4) auto;
  }
}
/* ─────────────────────────────────────────────────────
   Team Bio Page
───────────────────────────────────────────────────── */


/* ═══════════════════════════════════════════════════════
   1. GRADIENT BAND (top, with breadcrumb)
═══════════════════════════════════════════════════════ */

.bio-band {
  background: var(--gradient-main);
  padding-top: var(--space-10);
  padding-bottom: 220px;
  /* The bio-layout below pulls itself up over this padding */
}

.bio-band__crumb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-crumb);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-crumb);
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.bio-band__crumb:hover {
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════
   2. BIO LAYOUT (2-column: photo left, content right)
   Pulled up over the gradient band so the top of the
   photo + the name/role land on the gradient, then the
   content continues below onto the white area.
═══════════════════════════════════════════════════════ */

.bio-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-7);
  /* Pull up so the layout overlaps with the gradient band */
  margin-top: -180px;
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-9);
}

.bio-layout.content-wrapper {
  max-width: var(--max-width-md);
}


/* ─── Left column: photo ───────────────────────────── */

.bio-layout__photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  /* Square aspect — sits across the gradient/white split */
  aspect-ratio: 1 / 1;
  background: var(--color-off-white);
}

.bio-layout__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ─── Right column: name, role, bio body ───────────── */

.bio-layout__content {
  min-width: 0;
  padding-top: var(--space-4);
}

/* Name + role sit on the gradient — white text */
.bio-layout__name {
  color: var(--color-white);
  line-height: 1.1;
  margin: 0 0 var(--space-2);
}

.bio-layout__role {
  color: var(--color-white);
  font-size: var(--text-callout);
  margin: 0 0 var(--space-7);
}

/* Bio body — sits on the white area below the gradient */
.bio-layout__body {
  /* Spacing so the body text starts comfortably below
     the gradient band ends (180px overlap minus name+role height) */
  padding-top: var(--space-5);
}

.bio-layout__body p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-slate);
  margin: 0 0 var(--space-5);
}

.bio-layout__body p:last-child {
  margin-bottom: 0;
}

.bio-layout__body h2,
.bio-layout__body h3,
.bio-layout__body h4 {
  color: var(--color-black);
  margin: var(--space-6) 0 var(--space-3);
}

.bio-layout__body a {
  color: var(--color-brand);
  text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════
   3. DIVIDER
═══════════════════════════════════════════════════════ */

.bio-divider {
  border: none;
  border-top: 1px solid var(--color-gray-light);
  margin: var(--space-8) auto;
}


/* ═══════════════════════════════════════════════════════
   4. RELATED LEADERSHIP — centered cards row
═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   3. CARD
═══════════════════════════════════════════════════════ */

.team-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-4px);
}


/* ═══════════════════════════════════════════════════════
   4. PHOTO
═══════════════════════════════════════════════════════ */

.team-card__photo-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 square */
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.team-card__photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ═══════════════════════════════════════════════════════
   5. INFO
═══════════════════════════════════════════════════════ */

.team-card__name {
  margin: 0 0 var(--space-1);
  line-height: 1.2;
  color: var(--color-black);
}

.team-card__role {
  margin: 0;
  line-height: 1.4;
  color: var(--color-slate);
}

.bio-related {
  padding-bottom: var(--space-7);
}

.bio-related__heading {
  margin: 0 0 var(--space-6);
}

.bio-related__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8) var(--space-6);
}

.bio-related .team-card {
  flex: 0 1 260px;
}

.bio-related .team-card__name {
  font-size: var(--text-h5);
  font-weight: var(--fw-bold);
}

.bio-related .team-card__role {
  font-size: var(--text-body);
  color: var(--color-slate);
}


/* ═══════════════════════════════════════════════════════
   5. LEGACY CLASSES (kept so the old gradient div + content
   wrapper structure don't visibly break if cached)
═══════════════════════════════════════════════════════ */

.bio-header__gradient { display: none; }


/* ═══════════════════════════════════════════════════════
   6. RESPONSIVE
═══════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .bio-band {
    padding-bottom: 180px;
  }

  .bio-layout {
    grid-template-columns: 280px 1fr;
    gap: var(--space-5);
    margin-top: -150px;
  }

  .bio-layout__name {
    font-size: var(--text-h3);
  }

  .bio-layout__role {
    margin-bottom: var(--space-6);
  }
}

@media (max-width: 767px) {
  .bio-band {
    padding-top: var(--space-6);
    padding-bottom: 80px;
  }

  .bio-layout {
    grid-template-columns: 1fr;
    margin-top: -60px;
    gap: var(--space-5);
  }

  .bio-layout__photo-wrap {
    width: 240px;
    aspect-ratio: 1 / 1;
  }

  /* When stacked, the name + role drop onto white background */
  .bio-layout__name,
  .bio-layout__role {
    color: var(--color-black);
  }

  .bio-layout__role {
    color: var(--color-slate);
    margin-bottom: var(--space-5);
  }

  .bio-layout__body {
    padding-top: 0;
  }

  .bio-related__cards {
    gap: var(--space-5);
  }

  .bio-related .team-card {
    flex: 0 1 calc(50% - var(--space-5));
  }
}

@media (max-width: 479px) {
  .bio-layout__photo-wrap {
    width: 100%;
    max-width: 280px;
  }

  .bio-related .team-card {
    flex: 0 1 100%;
    max-width: 280px;
  }
}
/* ─────────────────────────────────────────────────────
   Blog / Resources
   Styles for listing + post templates.
───────────────────────────────────────────────────── */

/* Hide HubSpot-injected blog listing content */
.blog-card .bop--single--meta--print,
.blog-card .portable-visuallyhidden,
.blog-card .blog-card__link:empty {
  display: none;
}



/* ═══════════════════════════════════════════════════════
   1. LISTING — HEADER (white bg, centered)
═══════════════════════════════════════════════════════ */

.blog-listing-header {
  padding: var(--space-8) 0 var(--space-6);
  text-align: center;
}

.blog-listing-header__title {
  font-size: var(--text-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h2);
  color: var(--color-black);
  margin: 0 0 var(--space-3);
}

.blog-listing-header__subtitle {
  font-size: var(--text-callout);
  line-height: var(--lh-callout);
  color: var(--color-slate);
  margin: 0;
}


/* ═══════════════════════════════════════════════════════
   2. LISTING — TOOLBAR (search + sort)
═══════════════════════════════════════════════════════ */

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
}

.blog-toolbar__search {
  max-width: 400px;
  flex: 1;
}

.blog-toolbar__search-input {
  width: 100%;
  max-width: 400px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: var(--font);
}

.blog-toolbar__search-input:focus-visible {
  outline: 2px solid var(--color-indigo);
  outline-offset: -1px;
}

.blog-toolbar__search-field {
  position: relative;
}

.blog-toolbar__search-field .blog-toolbar__search-input {
  padding-right: calc(var(--space-4) + 18px + var(--space-2));
}

.blog-toolbar__search-icon {
  position: absolute;
  top: 50%;
  right: var(--space-3);
  transform: translateY(-50%);
  color: var(--color-slate);
  pointer-events: none;
}

.blog-toolbar__sort {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 16px;
  color: var(--color-slate);
}

.blog-toolbar__sort-select {
  padding: var(--space-4);
}

.blog-toolbar__sort-label {
  font-weight: var(--fw-medium);
}

.blog-toolbar__sort-value {
  font-weight: var(--fw-bold);
  color: var(--color-brand);
}


/* ═══════════════════════════════════════════════════════
   3. LISTING — LAYOUT (sidebar + grid)
═══════════════════════════════════════════════════════ */

.blog-listing-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-7);
  padding-bottom: var(--space-9);
  align-items: start; /* lets the sidebar stay sticky */
}

@media (max-width: 991px) {
  .blog-listing-layout {
    grid-template-columns: 1fr;
  }
}

/* Sticky on desktop only — mobile keeps natural flow */
.blog-filters {
  @media (min-width: 992px) {
    position: sticky;
    top: var(--space-6);
    max-height: calc(100vh - var(--space-7));
    overflow-y: auto;
  }
}


/* ═══════════════════════════════════════════════════════
   4. LISTING — SIDEBAR FILTERS
═══════════════════════════════════════════════════════ */

.blog-filters__group {
  margin: 0 0 var(--space-6);
  padding: 0;

  @media (min-width: 992px) {
    max-width: 400px;

    + .blog-filters__group {
      border-top: 1px solid var(--color-gray-light);
      padding-top: var(--space-5);
    }
  }
}

.blog-filters__heading {
  font-size: var(--font-body);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  margin: 0 0 var(--space-3);
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  list-style: none;
}

/* Drop the native disclosure marker (Safari uses ::-webkit-details-marker) */
.blog-filters__heading::-webkit-details-marker { display: none; }

/* Custom chevron — rotates when the group is open */
.blog-filters__heading::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--transition);
  margin-right: 4px;
}

.blog-filters__group[open] > .blog-filters__heading::after {
  transform: rotate(45deg);
}

.blog-filters__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-filters__item {
  margin-bottom: var(--space-1);
}

.blog-filters__option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) 0;
  font-size: var(--text-body);
  font-weight: var(--fw-medium);
  color: var(--color-slate);
  cursor: pointer;
}

.blog-filters__checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--color-indigo);
  flex-shrink: 0;
}

.blog-filters__option:has(.blog-filters__checkbox:checked) {
  color: var(--color-brand);
  font-weight: var(--fw-bold);
}

.blog-filters__clear {
  background: none;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-pill);
  padding: var(--space-1) var(--space-3);
  font: inherit;
  font-size: var(--text-small);
  color: var(--color-slate);
  cursor: pointer;
}

.blog-filters__clear:hover {
  color: var(--color-brand);
  border-color: var(--color-brand);
}

.blog-listing__no-results {
  padding: var(--space-7) var(--space-5);
  text-align: center;
  color: var(--color-slate);
  background: var(--color-card-tint);
  border-radius: var(--radius-lg);
}


/* ═══════════════════════════════════════════════════════
   MOBILE FLYOUT — search / sort / filters drawer
═══════════════════════════════════════════════════════ */

/* Trigger button — hidden on desktop, shown on mobile.
   The toolbar's search/sort and the sidebar aside hide on mobile
   because their children are JS-moved into the dialog. */
.blog-toolbar__flyout-trigger {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font: inherit;
  font-weight: var(--fw-bold);
  color: var(--color-brand);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
}

@media (max-width: 991px) {
  .blog-toolbar__flyout-trigger { display: inline-flex; }
  .blog-toolbar__search,
  .blog-toolbar__sort,
  .blog-filters { display: none; }
}

/* Dialog itself — slide-in panel from the right.
   Browser defaults give us focus trap, Escape close, and inert outside. */
.blog-flyout {
  margin: 0 0 0 auto;
  width: min(90vw, 380px);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border: 0;
  padding: 0;
  background: var(--color-white);
  color: inherit;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.blog-flyout::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.blog-flyout__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.blog-flyout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-5);
  border-bottom: 1px solid var(--color-gray-light);
  flex-shrink: 0;
}

.blog-flyout__title {
  font-size: var(--text-h5);
  font-weight: var(--fw-bold);
  margin: 0;
}

.blog-flyout__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--color-slate);
  cursor: pointer;
}

.blog-flyout__close:hover,
.blog-flyout__close:focus-visible {
  background: var(--color-card-tint);
  color: var(--color-brand);
  outline: none;
}

.blog-flyout__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5);
  overflow-y: auto;
  flex: 1;
}

/* When the search/sort/filters live inside the flyout, the desktop
   layout assumptions (sticky sidebar, max-width on filter groups, etc.)
   shouldn't apply — reset them within this scope. */
.blog-flyout__body .blog-toolbar__search,
.blog-flyout__body .blog-toolbar__sort {
  max-width: none;
  flex: none;
}

.blog-flyout__body .blog-toolbar__search-input {
  max-width: none;
}

.blog-flyout__body .blog-filters__group {
  max-width: none;
  margin: 0;
}


/* ═══════════════════════════════════════════════════════
   5. LISTING — CARD GRID (2-column)
═══════════════════════════════════════════════════════ */

.blog-listing {
  /* No extra padding — lives inside the grid layout */
}

.blog-listing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (max-width: 767px) {
  .blog-listing__grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════
   6. BLOG CARD (shared — listing + related + module)
═══════════════════════════════════════════════════════ */

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-light);
  overflow: visible;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* ─── Card media (image + avatar container) ───────── */

.blog-card__media {
  position: relative;
  margin-bottom: var(--space-1);
}

/* Image link */
.blog-card__image-link {
  display: block;
  text-decoration: none;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background-color: var(--color-off-white);
}

.blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.03);
}

/* Author avatar overlapping bottom-right of image */
.blog-card__author-avatar {
  position: absolute;
  bottom: -12px;
  right: var(--space-4);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 3;

  @media (min-width: 768px) {
    bottom: -24px;
    width: 72px;
    height: 72px;
  }
}

/* ─── Card text ────────────────────────────────────── */

.blog-card__text {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  flex: 1;

  @media (min-width: 768px) {
    padding: var(--space-5);
  }
}

.blog-card__topics {
  font-size: var(--text-medium);
  font-weight: var(--fw-regular);
  color: var(--color-slate);
  margin: 0 0 var(--space-2);
}

.blog-card__title {
  font-size: var(--text-h4);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--color-black);
  margin: 0 0 var(--space-3);
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card:hover .blog-card__title a {
  color: var(--color-brand);
}

.blog-card__excerpt {
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--color-slate);
  margin: 0 0 var(--space-4);
}

/* ─── Card footer (read more + read time) ──────────── */

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: var(--space-3);
  border-top: 1px solid var(--color-gray-light);

  @media (min-width: 768px) {
    padding: var(--space-5);
  }
}

.blog-card__read-more svg {
  flex-shrink: 0;
}

.blog-card__read-time {
  font-size: var(--text-small);
  color: var(--color-gray-mid);
  white-space: nowrap;
}

/* Whole card is one tab stop — title link stretches via ::after.
   Image + READ MORE pill are decorative (aria-hidden / no anchor)
   so they don't compete for clicks or screen-reader attention. */
.blog-card {
  position: relative;
}

.blog-card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* Compact variant (related posts) */
.blog-card--compact .blog-card__title {
  font-size: var(--text-h5);
  margin-bottom: var(--space-2);
}


/* ═══════════════════════════════════════════════════════
   7. PAGINATION
═══════════════════════════════════════════════════════ */

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  padding-top: var(--space-7);
}

.blog-pagination__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 16px;
  font-weight: var(--fw-medium);
  color: var(--color-brand);
  text-decoration: none;
  transition: opacity var(--transition);
}

.blog-pagination__link:hover {
  opacity: 0.7;
}

.blog-pagination__info {
  font-size: 16px;
  color: var(--color-slate);
}


/* ═══════════════════════════════════════════════════════
   8. POST — HEADER
═══════════════════════════════════════════════════════ */

.post-header {
  padding-top: var(--space-7);
  padding-bottom: var(--space-5);
}

/* Topic tags as pill badges */
.post-header__topics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
}

/* Decorative — not links */
.post-header__tag {
  display: inline-block;
  font-size: var(--text-crumb);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-crumb);
  text-transform: uppercase;
  color: var(--color-brand);
  background-color: var(--color-card-tint);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
}

.post-header__title {
  font-size: var(--text-h1);
  font-weight: var(--fw-regular);
  line-height: var(--lh-h1);
  color: var(--color-black);
  margin: 0 0 var(--space-4);
  max-width: 900px;
}

.post-header__meta {
  font-size: var(--text-body-sm);
  font-weight: var(--fw-medium);
  color: var(--color-slate);
  margin: 0 0 var(--space-4);
}

.post-header__separator {
  margin: 0 var(--space-2);
  color: var(--color-gray-mid);
}


/* ═══════════════════════════════════════════════════════
   9. POST — LAYOUT (sidebar + main)
═══════════════════════════════════════════════════════ */

.post-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--space-9);
  padding-bottom: var(--space-8);
}

@media (max-width: 991px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════
   10. POST — SIDEBAR
═══════════════════════════════════════════════════════ */

.post-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

/* Author block: avatar + info side by side */
.post-author {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.post-author__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post-author__info {
  min-width: 0;
}

.post-author__name {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--color-black);
  margin: 0 0 var(--space-1);
  line-height: 1.3;
}

.post-author__bio {
  font-size: var(--text-small);
  color: var(--color-slate);
  margin: 0;
  line-height: 1.4;
}

.post-author__social-links {
  margin-top: var(--space-3);
}

.post-author__social-links a {
  display: inline-block;
  padding: var(--space-2);
  border: 1px solid var(--color-slate);
  border-radius: 100%;
  aspect-ratio: 1;
  transition: all 0.3s ease;

  &:hover,
  &:focus,
  &:focus-within {
    background-color: var(--color-green);

    svg {
      fill: var(--color-white);
    }
  }
}

.post-author__social-links a svg {
  display: block;
  max-height: 15px;
  max-width: 15px;
  fill: var(--color-slate);
}

.post-sidebar__divider {
  border: none;
  border-top: 1px solid var(--color-gray-light);
  margin: var(--space-4) 0;
}

.post-share {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.post-share__label {
  font-size: var(--text-small);
  color: var(--color-slate);
  margin: 0;
}

.post-share__links {
  display: flex;
  gap: var(--space-1);
}

.post-share__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px; 
  border-radius: 50%; 
  border: none;
  cursor: pointer;
  color: var(--color-slate);
  background-color: var(--color-off-white);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition);
}

.post-share__link:hover {
  color: var(--color-white);
  background-color: var(--color-brand);
}

.post-share__link svg {
  width: 16px;
  height: 16px;
}

/* Mobile: sidebar becomes horizontal row */
@media (max-width: 991px) {
  .post-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: var(--space-5);
  }

  .post-author {
    margin-bottom: 0;
  }

  .post-author__avatar {
    width: 48px;
    height: 48px;
  }

  .post-author__bio {
    display: none;
  }

  .post-sidebar__divider {
    display: none;
  }

  .post-share {
    margin-left: auto;
  }

  .post-share__label {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════
   11. POST — MAIN CONTENT
═══════════════════════════════════════════════════════ */

.post-featured-image {
  margin-bottom: var(--space-7);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.post-body {
  font-size: 20px;
  line-height: 1.65;
  color: #54585a;
}

.post-body p {
  margin: 0 0 var(--space-5);
}

.post-body h2,
.post-body h3,
.post-body h4 {
  color: var(--color-black);
  margin: var(--space-7) 0 var(--space-4);
}

.post-body h2 {
  font-size: var(--text-h3);
}

.post-body h3 {
  font-size: var(--text-h4);
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-5) 0;

  @media (max-width: 767px) {
    max-width: 100% !important;
  }
}

.post-body ul,
.post-body ol {
  margin: 0 0 var(--space-5);
  padding-left: var(--space-6);
}

.post-body li {
  margin-bottom: var(--space-2);
}

.post-body blockquote {
  border-left: 3px solid var(--color-cta);
  padding-left: var(--space-5);
  margin: var(--space-6) 0;
  font-style: italic;
  color: var(--color-slate);
}

.post-body a {
  color: var(--color-brand);
  text-decoration: underline;
}

.post-body a:hover {
  color: var(--color-cta);
}

/* "Read More" expand link at bottom of post body */
.post-body .read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: var(--fw-bold);
  text-decoration: none;
  color: var(--color-cta);
}


/* ═══════════════════════════════════════════════════════
   12. POST — DIVIDER + RELATED
═══════════════════════════════════════════════════════ */

.post-divider {
  border: none;
  border-top: 1px solid var(--color-gray-light);
  margin: 0 auto;
}

.blog-related {
  padding: var(--space-8) 0 var(--space-9);
}

.blog-related__heading {
  font-size: var(--text-h3);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  margin: 0 0 var(--space-6);
}

.blog-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 991px) {
  .blog-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .blog-related__grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════
   13. COMMENTS
═══════════════════════════════════════════════════════ */

.blog-comments {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: var(--space-9);
}

.blog-comments .hs-submit {
  text-align: center;
}

.blog-comments .comment-reply-to {
  border: 0 none;
}

.blog-comments .comment-reply-to:hover,
.blog-comments .comment-reply-to:focus {
  background-color: transparent;
  text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════
   14. RECENT POSTS MODULE (standalone)
═══════════════════════════════════════════════════════ */

.recent-posts__heading {
  font-size: 30px;
  font-weight: var(--fw-regular);
  color: var(--color-brand);
  text-align: center;
  margin: 0 0 var(--space-6);
}

.recent-posts__grid {
  display: grid;
  gap: var(--space-6);
}

.recent-posts--cols-2 .recent-posts__grid {
  grid-template-columns: repeat(2, 1fr);
}

.recent-posts--cols-3 .recent-posts__grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 767px) {
  .recent-posts--cols-2 .recent-posts__grid,
  .recent-posts--cols-3 .recent-posts__grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════
   15. RESPONSIVE
═══════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-toolbar__search {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .blog-listing-header {
    padding: var(--space-7) 0 var(--space-5);
  }

  .post-header {
    padding-top: var(--space-6);
  }

  .post-header__title {
    font-size: var(--text-h2);
  }
}
/* ─────────────────────────────────────────────────────
   Page templates
   Wrapper styles for special page templates.
───────────────────────────────────────────────────── */
.body--splash {
  /* Stack order: image on top (decorative swirl), gradient behind.
     CSS background lists FIRST = top, LAST = bottom. */
  background: var(--gradient-main);

  .footer {
    border-radius: 0;
    background: transparent;
    box-shadow: -2.88092px -95.9568px 80px rgba(0, 0, 0, 0.07), -1.86726px -62.1942px 46.8519px rgba(0, 0, 0, 0.0531481), -1.10969px -36.9611px 25.4815px rgba(0, 0, 0, 0.0425185), -0.576184px -19.1914px 13px rgba(0, 0, 0, 0.035), -0.234742px -7.8187px 6.51852px rgba(0, 0, 0, 0.0274815), -0.0533504px -1.77698px 3.14815px rgba(0, 0, 0, 0.0168519);
  }
}

/* ═══════════════════════════════════════════════════════
   SPLASH PAGE
   Full-page rainbow gradient. Used by page-splash.html
   for demo / thank-you / lightweight landing pages.
   Modules sitting on this background should be white-bg
   so they pop against the gradient.
═══════════════════════════════════════════════════════ */

.page-splash {
  position: relative;
  min-height: 70vh;
  background: url('https://6443846.fs1.hubspotusercontent-na1.net/hubfs/6443846/raw_assets/public/tunnl-theme-prod/images/swirl-bg-1.png') no-repeat center / cover;
  background-attachment: fixed, scroll;

  @media (max-width: 991px) {
      min-height: 33vh;
  }

  /* DnD content sits above the decorative rings */
  & > .body-container {
    position: relative;
    z-index: 1;

    > *:first-child:not(:has(.hero--text, .hero--simple, .hero--split)) {
      padding-top: var(--space-10);

      @media (max-width: 991px) {
        padding-top: var(--space-8);
      }
    }
  }

  /* All text inside the splash defaults to white (cascades to
     headings, paragraphs, links — see .text--white in typography) */
  color: var(--color-white);

  & :is(h1, h2, h3, h4, h5, h6, p, label, label span) {
    color: var(--color-white);
  }
}


/* ═══════════════════════════════════════════════════════
   404 NOT FOUND
═══════════════════════════════════════════════════════ */

.error-404 {
  text-align: center;
  padding: var(--space-10) 0;
  max-width: 640px;

  @media (max-width: 767px) {
    padding-top: var(--space-10) !important;
  }

  @media (min-width: 768px) {
    min-height: 66vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.error-404__eyebrow {
  font-size: var(--text-h0);
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1;
}

.error-404__title {
  margin: 0 0 var(--space-4);
}

.error-404__body {
  margin: 0 0 var(--space-6);
}

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

/* ─────────────────────────────────────────────────────
   Module Settings — Shared Utilities
   Applied via the _module-wrapper.html macro.
   Every module gets these for free.
───────────────────────────────────────────────────── */


/* ═══════════════════════════════════════════════════════
   1. SECTION BASE
═══════════════════════════════════════════════════════ */

.section {
  position: relative;
  //overflow: hidden;
}


/* ═══════════════════════════════════════════════════════
   2. BACKGROUNDS
═══════════════════════════════════════════════════════ */

/* ─── Preset colors ─────────────────────────────────── */

.section--bg-white        { background-color: var(--color-white); }
.section--bg-off-white    { background-color: var(--color-off-white); }
.section--bg-brand-dark   { background-color: var(--color-brand-dark); }
.section--bg-transparent  { background-color: transparent; }

/* ─── Preset gradients ──────────────────────────────── */

.section--bg-gradient-main         { background: var(--gradient-main); }
.section--bg-gradient-green-indigo { background: var(--gradient-green-indigo); }
.section--bg-gradient-indigo-blue  { background: var(--gradient-indigo-blue); }

/* ─── Background image ──────────────────────────────── */

.section__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: cover;        /* default, overridden by inline style */
  background-position: center;   /* default, overridden by inline style */
}

/* ─── Image overlay tint ────────────────────────────── */

.section__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ─── Content sits above bg ─────────────────────────── */

.section__content {
  position: relative;
  z-index: 2;
}


/* ─── Auto text color on dark backgrounds ───────────── */

.section--dark,
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--color-white);
}

.section--dark p,
.section--dark li,
.section--dark blockquote {
  color: rgba(255, 255, 255, 0.85);
}

.section--dark a {
  color: var(--color-white);
}

.section--dark .eyebrow {
  color: var(--color-white);
}


/* ═══════════════════════════════════════════════════════
   3. SPACING
   Sizes: none = 0, sm = half section, md = section default, lg = 1.5× section
   "none-set" (default) = don't apply anything — handled in the macro.
═══════════════════════════════════════════════════════ */

/* ─── Padding ──────────────────────────────────────── */

.section--pt-none { padding-top: 0; }
.section--pt-sm   { padding-top: calc(var(--section-spacing) * 0.5); }
.section--pt-md   { padding-top: var(--section-spacing); }
.section--pt-lg   { padding-top: calc(var(--section-spacing) * 1.5); }

.section--pb-none { padding-bottom: 0; }
.section--pb-sm   { padding-bottom: calc(var(--section-spacing) * 0.5); }
.section--pb-md   { padding-bottom: var(--section-spacing); }
.section--pb-lg   { padding-bottom: calc(var(--section-spacing) * 1.5); }

.section--pl-none { padding-left: 0; }
.section--pl-sm   { padding-left: calc(var(--section-spacing) * 0.5); }
.section--pl-md   { padding-left: var(--section-spacing); }
.section--pl-lg   { padding-left: calc(var(--section-spacing) * 1.5); }

.section--pr-none { padding-right: 0; }
.section--pr-sm   { padding-right: calc(var(--section-spacing) * 0.5); }
.section--pr-md   { padding-right: var(--section-spacing); }
.section--pr-lg   { padding-right: calc(var(--section-spacing) * 1.5); }

/* ─── Margin ───────────────────────────────────────── */

.section--mt-none { margin-top: 0; }
.section--mt-sm   { margin-top: calc(var(--section-spacing) * 0.5); }
.section--mt-md   { margin-top: var(--section-spacing); }
.section--mt-lg   { margin-top: calc(var(--section-spacing) * 1.5); }

.section--mb-none { margin-bottom: 0; }
.section--mb-sm   { margin-bottom: calc(var(--section-spacing) * 0.5); }
.section--mb-md   { margin-bottom: var(--section-spacing); }
.section--mb-lg   { margin-bottom: calc(var(--section-spacing) * 1.5); }

.section--ml-none { margin-left: 0; }
.section--ml-sm   { margin-left: calc(var(--section-spacing) * 0.5); }
.section--ml-md   { margin-left: var(--section-spacing); }
.section--ml-lg   { margin-left: calc(var(--section-spacing) * 1.5); }

.section--mr-none { margin-right: 0; }
.section--mr-sm   { margin-right: calc(var(--section-spacing) * 0.5); }
.section--mr-md   { margin-right: var(--section-spacing); }
.section--mr-lg   { margin-right: calc(var(--section-spacing) * 1.5); }


/* ═══════════════════════════════════════════════════════
   4. DEVICE VISIBILITY
═══════════════════════════════════════════════════════ */

.section--hide-desktop,
.section--hide-tablet,
.section--hide-mobile {
  /* base: visible — overridden at breakpoints */
}

@media (min-width: 992px) {
  .section--hide-desktop { display: none !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .section--hide-tablet { display: none !important; }
}

@media (max-width: 767px) {
  .section--hide-mobile { display: none !important; }
  /* Spacing auto-scales via --section-spacing (0.7× on mobile) */
}
/* 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;
  }
}

.visually-hidden {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: 0;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}