/* Theme base styles */

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

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

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

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

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

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

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

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

body {
  margin: 0;
}

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

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

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

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

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

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

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

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

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

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

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

b,
strong {
  font-weight: bolder;
}

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

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

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

small {
  font-size: 80%;
}

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

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

legend {
  padding: 0;
}

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

progress {
  vertical-align: baseline;
}

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

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

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

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

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

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

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

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

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

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

details {
  display: block;
}

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

summary {
  display: list-item;
}

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



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

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


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

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
/* DnD container resets
   Modules handle their own padding via .section / .section-inner.
   These wrappers should add no extra spacing or width constraints. */

.content-wrapper {
  margin: 0 auto;
  max-width: var(--max-width);
}

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

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

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

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

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

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

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

/* Paragraphs */

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

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

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

/* Lists */

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

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

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

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

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

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid #CCC;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

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

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Fields */

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

/* Labels */

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

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

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

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

form textarea {
  resize: vertical;
}

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

/* Inputs - checkbox/radio */

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

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

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

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

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

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

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

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

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

/* Inputs - file picker */

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

/* Headings and text */

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

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

/* GDPR */

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

/* Validation */

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

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

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

/* Submit button */

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

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


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

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

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

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

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

/* Table */

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

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

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

/* Header — Fixed dark navy navigation bar
   ========================================================================
   Matches the Finarchs reference design: single-row fixed header with
   logo, horizontal menu links, and teal CTA button.

   All values use CSS custom properties from tokens.css.
   ======================================================================== */

/* ── Header Container ───────────────────────────────────────────────── */

.header {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  padding: 0 var(--section-padding-x);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, top 0.35s ease;
}

/* Scrolled up while not at top — solid background slides down */
.header--scrolled {
  top: 0;
  background: rgba(9, 30, 51, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-navy);
}

/* Scrolling down — slide header off-screen (extra 24px covers the initial top offset) */
.header--hidden {
  transform: translateY(calc(-100% - 24px));
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

/* ── Skip to Content ────────────────────────────────────────────────── */

.header__skip {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--color-teal);
  color: var(--color-navy-deep);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  padding: 8px 16px;
  text-decoration: none;
  z-index: calc(var(--z-nav) + 1);
}

.header__skip:focus {
  left: var(--page-padding);
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  overflow: visible;
}

/* ── Logo ───────────────────────────────────────────────────────────── */

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-left: -16px;
}

.header__logo img {
  display: block;
  width: 160px !important;
  height: auto !important;
  width: auto;
}

.header__logo a {
  display: flex;
  align-items: center;
}

/* ── Desktop Menu ───────────────────────────────────────────────────── */

.header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin: 0 var(--space-4);
}

/* Override menu module styles for nav context */

.header__nav .menu--desktop {
  display: block;
}

.header__nav .menu--mobile {
  display: none;
}

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

/* ── Sliding nav indicator ─────────────────────────────────────────── */

.header__nav-indicator {
  position: absolute;
  bottom: 14px;
  left: 0;
  height: 2px;
  background: var(--color-teal);
  transition: left var(--transition-slow), width var(--transition-slow);
  pointer-events: none;
  opacity: 0;
}

.header__nav-indicator--visible {
  opacity: 1;
}

.header__nav .menu__item--depth-1 {
  display: block;
  padding: 0;
  text-transform: none;
}

.header .header__nav .menu__link {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--text-on-navy-dim);
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  transition: color var(--transition-base);
  line-height: var(--nav-height);
  white-space: nowrap;
}

.header .header__nav .menu__link:hover,
.header .header__nav .menu__link:focus {
  color: var(--color-white);
}

.header .header__nav .menu__link--active-link,
.header .header__nav .menu__link--active-branch {
  color: var(--color-white);
  font-weight: var(--weight-medium);
}

/* Hide active-link underline in nav context */
.header__nav .menu__item--depth-1 > .menu__link--active-link:after {
  content: none;
}

/* Hide child toggle icons in nav context (flat nav, no dropdowns) */
.header__nav .menu__child-toggle {
  display: none;
}

/* Submenu dropdowns in nav context */
.header__nav .menu__submenu {
  background:
    radial-gradient(circle at 0% 50%, rgba(27, 166, 166, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(27, 166, 166, 0.10) 0%, transparent 50%),
    var(--color-soft-bg);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  top: 100%;
  left: 0;
  transform: none;
  width: auto;
  min-width: 220px;
  white-space: nowrap;
  padding: 16px 0 12px;
}

.header__nav .menu__submenu .menu__item {
  border-bottom: none;
}

.header__nav .menu__submenu .menu__link,
.header__nav .menu__submenu .menu__link:hover,
.header__nav .menu__submenu .menu__link:focus {
  background: transparent;
  color: var(--text-dark);
  font-size: var(--text-md);
  padding: 8px 28px;
  line-height: var(--leading-normal);
  text-decoration: underline 2px transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color var(--transition-base);
}

.header__nav .menu__submenu .menu__link:hover,
.header__nav .menu__submenu .menu__link:focus {
  color: var(--text-dark);
  text-decoration-color: var(--color-teal);
}

.header__nav .menu__submenu .menu__link--active-link {
  text-decoration-color: var(--color-teal);
}

/* Hide triangle decoration in nav context */
.header__nav .menu__submenu--level-2 > .menu__item:first-child:before {
  content: none;
}

/* ── CTA Button ─────────────────────────────────────────────────────── */

.header__cta {
  flex-shrink: 0;
}

/* Override @hubspot/button .hs-button output to match .nav-btn */
.header .header__cta .hs-button {
  font-family: var(--font-body) !important;
  font-size: var(--text-base) !important;
  font-weight: var(--weight-semibold) !important;
  color: var(--color-navy-deep) !important;
  background: var(--color-teal) !important;
  padding: 9px 22px !important;
  border-radius: var(--radius-sm) !important;
  border: none !important;
  text-decoration: none !important;
  transition: background var(--transition-base);
  white-space: nowrap;
  display: inline-block;
  line-height: 1.4;
}

.header .header__cta .hs-button:hover,
.header .header__cta .hs-button:focus {
  background: var(--color-teal-hover) !important;
  color: var(--color-navy-deep) !important;
  text-decoration: none !important;
  border: none !important;
}

/* ── Mobile Hamburger Toggle ────────────────────────────────────────── */

.header__toggle {
  display: none;
  background: none !important;
  border: none !important;
  cursor: pointer;
  padding: 4px;
  color: var(--color-white);
  flex-shrink: 0;
}

.header__toggle:hover,
.header__toggle:focus,
.header__toggle:active {
  background: none !important;
  border: none !important;
  color: var(--color-white);
}

.header__toggle svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* ── Mobile Nav Overlay ─────────────────────────────────────────────── */

/* When mobile nav is open, snap header to top with solid bg.
   Must clear transform and backdrop-filter so the mobile nav's
   position:fixed works relative to the viewport, not the header. */
.header:has(.header__mobile-nav.open) {
  top: 0;
  transform: none;
  background: var(--color-navy-deep);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header__mobile-nav {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  height: calc(100dvh - var(--nav-height));
  background: var(--color-navy-deep);
  padding: var(--space-3) var(--page-padding);
  overflow-y: auto;
  z-index: calc(var(--z-nav) - 1);
}

.header__mobile-nav.open {
  display: block;
}

/* Mobile menu links */

.header__mobile-menu .menu--desktop {
  display: none;
}

.header__mobile-menu .menu--mobile {
  display: block;
}

.header__mobile-menu .menu__wrapper {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__mobile-menu .menu__item--depth-1 {
  display: block;
  position: relative;
  padding: 0;
  text-transform: none;
  border-top: 1px solid var(--border-navy);
}

.header__mobile-menu .menu__item--depth-1:first-child {
  border-top: none;
}

.header .header__mobile-menu .menu__link {
  display: block;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: var(--weight-medium);
  color: var(--text-on-navy);
  text-decoration: none;
  padding: 14px 0;
  transition: color var(--transition-base);
}

.header .header__mobile-menu .menu__link:hover,
.header .header__mobile-menu .menu__link:focus {
  color: var(--color-white);
}

.header__mobile-menu .menu__link--active-link,
.header__mobile-menu .menu__link--active-branch {
  color: var(--color-white);
  font-weight: var(--weight-medium);
}

.header .header__mobile-menu .menu__link--active-link {
  text-decoration: underline 2px var(--color-teal);
  text-underline-offset: 6px;
}

.header__mobile-menu .menu__item--depth-1 > .menu__link--active-link:after {
  content: none;
}

/* Mobile submenu */
.header__mobile-menu .menu__submenu {
  display: none;
  position: static;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding-left: var(--space-2);
}

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

.header__mobile-menu .menu__submenu .menu__item {
  background-color: transparent;
  border-bottom: none;
  border-top: none;
  padding: 0;
}

.header__mobile-menu .menu__submenu .menu__link {
  font-size: 15px;
  color: var(--text-on-navy-dim);
  padding: 10px 0;
}

.header__mobile-menu .menu__submenu .menu__link:hover,
.header__mobile-menu .menu__submenu .menu__link:focus {
  background: transparent;
  color: var(--color-white);
}

.header__mobile-menu .menu__submenu .menu__link--active-link {
  color: var(--color-white);
  text-decoration: underline 2px var(--color-teal);
  text-underline-offset: 6px;
}

/* Mobile submenu toggle ("+"/"-" icon) */
.header__mobile-menu .menu__child-toggle {
  position: absolute;
  right: 0;
  top: 0;
  height: 48px;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__mobile-menu .menu__child-toggle-icon {
  width: 16px;
  height: 16px;
  background-image: none;
  border: none;
  position: relative;
}

.header__mobile-menu .menu__child-toggle-icon::before,
.header__mobile-menu .menu__child-toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--text-on-navy-dim);
  transition: transform 0.3s ease;
}

.header__mobile-menu .menu__child-toggle-icon::before {
  width: 16px;
  height: 2px;
  top: 7px;
  left: 0;
}

.header__mobile-menu .menu__child-toggle-icon::after {
  width: 2px;
  height: 16px;
  top: 0;
  left: 7px;
}

.header__mobile-menu .menu__item--open > .menu__child-toggle .menu__child-toggle-icon::after {
  transform: rotate(90deg);
}

/* Mobile CTA */

.header__mobile-cta {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-navy);
}

.header .header__mobile-cta .hs-button {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--color-navy-deep);
  background: var(--color-teal);
  padding: 14px var(--space-3);
  border-radius: var(--radius-sm);
  border: none;
  text-decoration: none;
  transition: background var(--transition-base);
}

.header .header__mobile-cta .hs-button:hover,
.header .header__mobile-cta .hs-button:focus {
  background: var(--color-teal-hover);
  color: var(--color-navy-deep);
  text-decoration: none;
  border: none;
}

/* ── Responsive: Mobile (≤768px) ────────────────────────────────────── */

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

  .header__cta {
    display: none;
  }

  .header__toggle {
    display: block;
  }
}

/* ── Responsive: Tablet (769px–1080px) ──────────────────────────────── */

@media (min-width: 769px) and (max-width: 1080px) {
  .header__nav .menu__wrapper {
    gap: var(--space-3);
  }

  .header__nav .menu__link {
    font-size: 12.5px;
  }
}

/* ── Body offset for fixed header ───────────────────────────────────── */

.body-wrapper {
  padding-top: 0;
}
/* Shared component styles
   ========================================================================
   Reusable patterns used across multiple modules. These match the
   component patterns documented in docs/design-system.md.

   Module CSS should use these classes directly — don't re-declare
   button, card, or eyebrow styles in individual module.css files.
   ======================================================================== */

/* ── Section Layout ──────────────────────────────────────────────────── */

.section {
  padding: var(--section-padding-y) var(--section-padding-x);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-teal);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-teal);
  opacity: 0.6;
}

/* ── Section Heading (H2) ────────────────────────────────────────────── */

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--weight-regular);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text-dark);
}

/* ── Section Description ─────────────────────────────────────────────── */

.section-desc {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  color: var(--text-muted);
  max-width: 500px;
}

/* ── Dark surface overrides ──────────────────────────────────────────── */

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

.section--dark .section-desc {
  color: var(--text-on-navy-dim);
}

/* ── Button — Primary ────────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--color-navy-deep);
  background: var(--color-teal);
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-base), transform var(--transition-fast);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-teal-hover);
  transform: translateY(-1px);
  color: var(--color-navy-deep);
  text-decoration: none;
}

.btn-primary svg {
  width: var(--icon-arrow-lg);
  height: var(--icon-arrow-lg);
  transition: transform var(--transition-base);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

/* ── Button — Outline ────────────────────────────────────────────────── */

.btn-outline {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--color-navy);
  background: transparent;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-outline:hover,
.btn-outline:focus {
  border-color: var(--color-navy);
  background: var(--color-soft-bg);
  color: var(--color-navy);
  text-decoration: none;
}

/* ── Button — Text Link (dark surface) ───────────────────────────────── */

.btn-text {
  font-family: var(--font-body);
  font-size: var(--text-btn);
  font-weight: var(--weight-medium);
  color: var(--text-on-navy-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-base);
}

.btn-text:hover,
.btn-text:focus {
  color: var(--color-white);
  text-decoration: none;
}

.btn-text svg {
  width: var(--icon-arrow-md);
  height: var(--icon-arrow-md);
}

/* ── Service Card Link ───────────────────────────────────────────────── */

.svc-link {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-base);
}

.svc-link svg {
  width: var(--icon-arrow-sm);
  height: var(--icon-arrow-sm);
}

/* Note: card:hover .svc-link { gap: 10px; } is handled per-module
   since the parent card class name varies between modules. */

/* ── Nav CTA Button ──────────────────────────────────────────────────── */

.nav-btn {
  font-family: var(--font-body);
  font-size: var(--text-btn-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-navy-deep);
  background: var(--color-teal);
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-base);
}

.nav-btn:hover,
.nav-btn:focus {
  background: var(--color-teal-hover);
  color: var(--color-navy-deep);
  text-decoration: none;
}

/* ── Card — Light Surface ────────────────────────────────────────────── */

.card-light {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.card-light:hover {
  border-color: var(--border-teal-hover);
  box-shadow: var(--shadow-card-hover);
}

/* ── Card — Dark Surface (Navy) ──────────────────────────────────────── */

.card-dark {
  background: var(--overlay-navy-card);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.card-dark:hover {
  background: var(--overlay-navy-card-hover);
  border-color: var(--border-navy-hover);
}

/* ── Grid Texture Overlay (Navy Sections) ────────────────────────────── */

.section-navy {
  position: relative;
}

.section-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* ── Focus States (Accessibility) ────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline-color: var(--color-white);
  outline-offset: 3px;
}

.btn-outline:focus-visible {
  outline-color: var(--color-teal);
}

.btn-text:focus-visible {
  outline-color: var(--color-white);
  outline-offset: 3px;
}

.card-light:focus-visible,
.card-dark:focus-visible {
  outline-offset: 3px;
}
/* Menu and simple menu */

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

/* Horizontal menu */

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

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

/* Vertical menu */

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

/* Flyouts */

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

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

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

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

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

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

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

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

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

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

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

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

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

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