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

/* Settings
Font face declarations and design tokens (CSS custom properties) consumed
throughout the theme.
*/


















:root {
  /* on-light palette */
  
  --c-body: #000000;
  --c-body-bg: #ffffff;
  
  --c-primary: #002d6a;
  --c-primary-bg: #ffffff;
  
  --c-secondary: #0B4A5B;
  --c-secondary-bg: #dddddd;
  
  --c-tertiary: #444444;
  --c-tertiary-bg: #eeeeee;
  

  /* on-dark palette (light palette reversed) */
  
  --c-body-dark: var(--c-body-bg);
  --c-body-bg-dark: var(--c-body);
  
  --c-primary-dark: var(--c-primary-bg);
  --c-primary-bg-dark: var(--c-primary);
  
  --c-secondary-dark: var(--c-secondary-bg);
  --c-secondary-bg-dark: var(--c-secondary);
  
  --c-tertiary-dark: var(--c-tertiary-bg);
  --c-tertiary-bg-dark: var(--c-tertiary);
  

  /* links */
  --c-link: #0000a8;
  --c-link-hover: rgba(0, 0, 168, 0.85);
  --c-link-active: rgba(0, 0, 168, 0.7);
  --c-link-dark: #e5e5ff;
  --c-link-hover-dark: rgba(229, 229, 255, 0.85);
  --c-link-active-dark: rgba(229, 229, 255, 0.7);

  /* buttons */
  --c-button-bg: var(--c-primary);
  --c-button-text: var(--c-primary-bg);
  --c-button-bg-hover: color-mix(in srgb, var(--c-primary) 85%, white);
  --c-button-text-hover: color-mix(in srgb, var(--c-primary-bg) 85%, var(--c-primary));

  --c-button-bg-secondary: var(--c-secondary-bg);
  --c-button-text-secondary: var(--c-secondary);
  --c-button-bg-secondary-hover: color-mix(in srgb, var(--c-secondary-bg) 85%, var(--c-secondary));
  --c-button-text-secondary-hover: color-mix(in srgb, var(--c-secondary) 85%, white);
}

/* Buttons on a dark scheme. The :root button tokens resolve against the light
   palette where they're declared, so dark areas must re-declare them. */
.color-mode__dark {
  --c-button-bg: var(--c-primary-dark);
  --c-button-text: var(--c-primary-bg-dark);
  --c-button-bg-hover: color-mix(in srgb, var(--c-primary-dark) 85%, black);
  --c-button-text-hover: var(--c-primary-bg-dark);

  --c-button-bg-secondary: transparent;
  --c-button-text-secondary: var(--c-body-dark);
  --c-button-bg-secondary-hover: color-mix(in srgb, var(--c-body-dark) 15%, transparent);
  --c-button-text-secondary-hover: var(--c-body-dark);
}

/* Module color schemes — one light and one dark (reversed) scheme per color
   pair. These only set --scheme-fg / --scheme-bg; painting happens in
   components/_module-style.css. The choice values in fields/style-group.js
   must match these names. */

.scheme--body {
  --scheme-fg: var(--c-body);
  --scheme-bg: var(--c-body-bg);
}

.scheme--body-dark {
  --scheme-fg: var(--c-body-dark);
  --scheme-bg: var(--c-body-bg-dark);
}

.scheme--primary {
  --scheme-fg: var(--c-primary);
  --scheme-bg: var(--c-primary-bg);
}

.scheme--primary-dark {
  --scheme-fg: var(--c-primary-dark);
  --scheme-bg: var(--c-primary-bg-dark);
}

.scheme--secondary {
  --scheme-fg: var(--c-secondary);
  --scheme-bg: var(--c-secondary-bg);
}

.scheme--secondary-dark {
  --scheme-fg: var(--c-secondary-dark);
  --scheme-bg: var(--c-secondary-bg-dark);
}

.scheme--tertiary {
  --scheme-fg: var(--c-tertiary);
  --scheme-bg: var(--c-tertiary-bg);
}

.scheme--tertiary-dark {
  --scheme-fg: var(--c-tertiary-dark);
  --scheme-bg: var(--c-tertiary-bg-dark);
}

:root {
  /* typography */
  --t-body-font-family: Cambria, serif;
  --t-body-font-size-sm: 0.875rem;
  --t-body-font-size: 1rem;
  --t-body-font-size-lg: 1.125rem;
  --t-body-font-size-xl: 1.25rem;
  --t-body-line-height: 1.5;
  --t-body-font-weight: 400;
  --t-heading-font-family: system-ui, sans-serif;
  --t-heading-font-weight: 300;
}

body {
  font-family: var(--t-body-font-family);
  font-size: var(--t-body-font-size);
  line-height: var(--t-body-line-height);
  font-weight: var(--t-body-font-weight);
  color: var(--c-body);
  background-color: var(--c-body-bg);
}

body.color-mode__dark {
  color: var(--c-body-dark);
  background-color: var(--c-body-bg-dark);
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-family: var(--t-heading-font-family);
  margin-block-start: 0;
  font-weight: var(--t-heading-font-weight);
}

h1, .h1 {
  margin-block-end: 2rem;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

h2, .h2 {
  margin-block-end: 2rem;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.015em;
}

h3, .h3 {
  margin-block-end: 2rem;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

h4, .h4 {
  margin-block-end: 1.5rem;
  font-size: 1.375rem;
  line-height: 1.09090909091;
}

h5, .h5 {
  margin-block-end: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

h6, .h6 {
  margin-block-end: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.3333333333;
}

p,
ul,
ol {
  margin: 0 0 1.5rem;
}

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

blockquote {
  border-left: 2px solid var(--c-secondary-bg);
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

.color-mode__dark blockquote {
  border-left-color: var(--c-secondary-bg-dark);
}

hr {
  border: none;
  border-bottom: 1px solid var(--c-secondary-bg);
}

.color-mode__dark hr {
  border-bottom-color: var(--c-secondary-bg-dark);
}

b,
strong {
  font-weight: 600;
}

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

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}
:root {
  --container-width: 1280px;

  --grid-columns: 4;
  --grid-gutter: clamp(16px, calc(16px + (100vw - 390px) * 64 / 1050), 80px);
  --grid-gap: clamp(16px, calc(16px + (100vw - 390px) * 8 / 1050), 24px);

  /* Modules own vertical rhythm (see docs/editing-model.md), so sections add
     only the side gutter. */
  --dnd-section-padding: 0 var(--grid-gutter);

  /* Module "Vertical spacing" field values (padding-block on the module root). */
  --module-space-sm: clamp(24px, calc(24px + (100vw - 390px) * 16 / 1050), 40px);
  --module-space-lg: clamp(48px, calc(48px + (100vw - 390px) * 32 / 1050), 80px);

  @media (min-width: 768px) {
    --grid-columns: 12;
  }
}

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

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
/*! 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;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

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

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

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

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, 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;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

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

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 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;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

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

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * 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, IE 10+, and Firefox.
 */

details {
  display: block;
}

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

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

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



.row-fluid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--grid-gap);
}

/* Mobile: every column is full width and stacks (matches HubSpot's mobile dnd,
   which does not inject the flex row below 768px). */
.row-fluid > [class*="span"] {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Desktop: each span fills N columns plus its (N-1) interior gaps. Widths + the
   flex `gap` sum to exactly 100% per 12-column row, so columns land on the design
   widths (≈84.7px at the 1280 content width) with exact 24px gutters between. */
@media (min-width: 768px) {
  
  .row-fluid > .span1 {
    flex: 0 0 calc(1 * (100% - 11 * var(--grid-gap)) / 12 + 0 * var(--grid-gap));
    max-width: calc(1 * (100% - 11 * var(--grid-gap)) / 12 + 0 * var(--grid-gap));
  }
  
  .row-fluid > .span2 {
    flex: 0 0 calc(2 * (100% - 11 * var(--grid-gap)) / 12 + 1 * var(--grid-gap));
    max-width: calc(2 * (100% - 11 * var(--grid-gap)) / 12 + 1 * var(--grid-gap));
  }
  
  .row-fluid > .span3 {
    flex: 0 0 calc(3 * (100% - 11 * var(--grid-gap)) / 12 + 2 * var(--grid-gap));
    max-width: calc(3 * (100% - 11 * var(--grid-gap)) / 12 + 2 * var(--grid-gap));
  }
  
  .row-fluid > .span4 {
    flex: 0 0 calc(4 * (100% - 11 * var(--grid-gap)) / 12 + 3 * var(--grid-gap));
    max-width: calc(4 * (100% - 11 * var(--grid-gap)) / 12 + 3 * var(--grid-gap));
  }
  
  .row-fluid > .span5 {
    flex: 0 0 calc(5 * (100% - 11 * var(--grid-gap)) / 12 + 4 * var(--grid-gap));
    max-width: calc(5 * (100% - 11 * var(--grid-gap)) / 12 + 4 * var(--grid-gap));
  }
  
  .row-fluid > .span6 {
    flex: 0 0 calc(6 * (100% - 11 * var(--grid-gap)) / 12 + 5 * var(--grid-gap));
    max-width: calc(6 * (100% - 11 * var(--grid-gap)) / 12 + 5 * var(--grid-gap));
  }
  
  .row-fluid > .span7 {
    flex: 0 0 calc(7 * (100% - 11 * var(--grid-gap)) / 12 + 6 * var(--grid-gap));
    max-width: calc(7 * (100% - 11 * var(--grid-gap)) / 12 + 6 * var(--grid-gap));
  }
  
  .row-fluid > .span8 {
    flex: 0 0 calc(8 * (100% - 11 * var(--grid-gap)) / 12 + 7 * var(--grid-gap));
    max-width: calc(8 * (100% - 11 * var(--grid-gap)) / 12 + 7 * var(--grid-gap));
  }
  
  .row-fluid > .span9 {
    flex: 0 0 calc(9 * (100% - 11 * var(--grid-gap)) / 12 + 8 * var(--grid-gap));
    max-width: calc(9 * (100% - 11 * var(--grid-gap)) / 12 + 8 * var(--grid-gap));
  }
  
  .row-fluid > .span10 {
    flex: 0 0 calc(10 * (100% - 11 * var(--grid-gap)) / 12 + 9 * var(--grid-gap));
    max-width: calc(10 * (100% - 11 * var(--grid-gap)) / 12 + 9 * var(--grid-gap));
  }
  
  .row-fluid > .span11 {
    flex: 0 0 calc(11 * (100% - 11 * var(--grid-gap)) / 12 + 10 * var(--grid-gap));
    max-width: calc(11 * (100% - 11 * var(--grid-gap)) / 12 + 10 * var(--grid-gap));
  }
  
  .row-fluid > .span12 {
    flex: 0 0 calc(12 * (100% - 11 * var(--grid-gap)) / 12 + 11 * var(--grid-gap));
    max-width: calc(12 * (100% - 11 * var(--grid-gap)) / 12 + 11 * var(--grid-gap));
  }
  
}

.body-wrapper {
  overflow-x: clip;
}

.content-wrapper {
  max-width: calc(var(--container-width) + 2 * var(--grid-gutter));
  padding: 0 var(--grid-gutter);
  margin: 0 auto;
}

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


.content-wrapper .dnd-section {
  padding-inline: 0;
}

.dnd-section > .row-fluid {
  max-width: var(--container-width);
  margin: 0 auto;
}


.row-fluid > [class*="span"] {
  container-type: inline-size;
}


.u-container {
  container-type: inline-size;
}
/* =========================================================================
   Grid utilities — snap module elements onto the page design grid.

   The page content column is a fixed geometry: a centred 1280px content track,
   12 columns on desktop / 4 on mobile, gaps = --grid-gap. Applying `.u-grid` to
   a module root that fills the content column reproduces those exact tracks, so
   children placed with the span/start utilities land on the SAME lines the
   client designed to in Figma.

   ALIGNMENT REQUIRES the module to sit in a FULL-WIDTH (span 12) dnd section
   with no horizontal padding added to the module. In a partial dnd column the
   tracks subdivide that column instead of the page — still a tidy local grid,
   but not aligned to the global lines. See /docs/grid-utilities.md.

   Breakpoints follow the dnd grid's single step at 768px:
     base    → mobile, 4-column context (classes 1–4 only)
     .u-md-* → ≥768px, 12-column context

   Columns are placed with two longhands so they compose cleanly:
     width    = grid-column-end: span N   (.u-span-*, .u-md-span-*)
     position = grid-column-start: N       (.u-start-*, .u-md-start-*)
   ========================================================================= */

/* minmax(0, 1fr) rather than 1fr: a bare 1fr track can't shrink below its
   content's min-content width, so a long word, table or <pre> would widen its
   column and push every other track off the page lines. */
.u-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: start;
}

/* A grid item that is also a grid, sharing its parent's column tracks and gap.
   Lets nested elements (e.g. a card's image and text) land on page lines.
   Give the element a span on the parent grid; its children's span/start values
   then count from the subgrid's own first line. */
.u-subgrid {
  display: grid;
  grid-template-columns: subgrid;
  align-items: start;
}

/* Intrinsic card grid — NOT aligned to page lines. Fits as many columns as the
   container allows at --auto-grid-min each, capped at --auto-grid-max per row;
   no breakpoints or span classes. Set either property from module CSS, on the
   grid element or any ancestor (defaults live in var() fallbacks, not as
   declarations, so an inherited value isn't overridden).
     min(100%, …)  → one full-width column when the container is narrower than
                     --auto-grid-min, instead of overflowing.
     max(…)        → the cap: a track can't be narrower than 1/max of the row.
   Default auto-fit stretches a short row (2 cards fill the width);
   .u-auto-grid--fill keeps empty tracks so cards stay card-width. */
.u-auto-grid {
  display: grid;
  grid-template-columns: repeat(
    var(--auto-grid-repeat, auto-fit),
    minmax(
      min(100%, max(
        var(--auto-grid-min, 16rem),
        (100% - (var(--auto-grid-max, 12) - 1) * var(--grid-gap)) / var(--auto-grid-max, 12)
      )),
      1fr
    )
  );
  gap: var(--grid-gap);
}

.u-auto-grid--fill {
  --auto-grid-repeat: auto-fill;
}

/* Full-bleed / breakout grid. Put on a module root in a FULL-WIDTH dnd section:
   it escapes the content column to the viewport edges, then rebuilds the page
   columns in the middle with named lines:

     [full-start] outer [content-start col] … [col] … [col content-end] outer [full-end]

   `col N` is the left edge of page column N; `col 13` (desktop) / `col 5`
   (mobile) is content-end. Children default to `content`; use .u-bleed-full or
   lines in module CSS (e.g. grid-column: full-start / col 7) to break out.
   Only reference lines that exist at the current column count — `col 7` on the
   4-column mobile grid adds implicit tracks that shift the content off the page
   lines, so keep desktop placements inside @media (min-width: 768px).

   Column tracks are sized from 100cqi (the enclosing dnd module span, i.e. the
   page content width) rather than 100vw, so a classic Windows scrollbar doesn't
   pull them off the page lines. The outer tracks absorb the rest; .body-wrapper's
   overflow-x: clip hides the scrollbar-width overshoot. Assumes
   --grid-gutter >= --grid-gap so the outer tracks never go negative. */
.u-bleed {
  display: grid;
  grid-template-columns:
    [full-start] minmax(0, 1fr)
    [content-start] repeat(
      var(--grid-columns),
      [col] calc((100cqi - (var(--grid-columns) - 1) * var(--grid-gap)) / var(--grid-columns))
    )
    [col content-end] minmax(0, 1fr) [full-end];
  column-gap: var(--grid-gap);
  align-items: start;
  margin-inline: calc(50% - 50vw);
}

/* :where() keeps this default at zero specificity so module CSS always wins. */
:where(.u-bleed) > * {
  grid-column: content;
}

.u-bleed-full {
  grid-column: full;
}

/* --- Base (mobile, 4-column). Only 1–4 are generated: a larger span does NOT
   clamp — it adds implicit zero-width tracks whose extra gaps shrink the real
   columns off the page lines. Use .u-span-full for "full width on mobile". --- */

.u-span-1 { grid-column-end: span 1; }

.u-span-2 { grid-column-end: span 2; }

.u-span-3 { grid-column-end: span 3; }

.u-span-4 { grid-column-end: span 4; }

.u-span-full { grid-column: 1 / -1; }


.u-start-1 { grid-column-start: 1; }

.u-start-2 { grid-column-start: 2; }

.u-start-3 { grid-column-start: 3; }

.u-start-4 { grid-column-start: 4; }


/* --- Desktop (≥768px, 12-column) --- */
@media (min-width: 768px) {
  
  .u-md-span-1 { grid-column-end: span 1; }
  
  .u-md-span-2 { grid-column-end: span 2; }
  
  .u-md-span-3 { grid-column-end: span 3; }
  
  .u-md-span-4 { grid-column-end: span 4; }
  
  .u-md-span-5 { grid-column-end: span 5; }
  
  .u-md-span-6 { grid-column-end: span 6; }
  
  .u-md-span-7 { grid-column-end: span 7; }
  
  .u-md-span-8 { grid-column-end: span 8; }
  
  .u-md-span-9 { grid-column-end: span 9; }
  
  .u-md-span-10 { grid-column-end: span 10; }
  
  .u-md-span-11 { grid-column-end: span 11; }
  
  .u-md-span-12 { grid-column-end: span 12; }
  
  .u-md-span-full { grid-column: 1 / -1; }

  
  .u-md-start-1 { grid-column-start: 1; }
  
  .u-md-start-2 { grid-column-start: 2; }
  
  .u-md-start-3 { grid-column-start: 3; }
  
  .u-md-start-4 { grid-column-start: 4; }
  
  .u-md-start-5 { grid-column-start: 5; }
  
  .u-md-start-6 { grid-column-start: 6; }
  
  .u-md-start-7 { grid-column-start: 7; }
  
  .u-md-start-8 { grid-column-start: 8; }
  
  .u-md-start-9 { grid-column-start: 9; }
  
  .u-md-start-10 { grid-column-start: 10; }
  
  .u-md-start-11 { grid-column-start: 11; }
  
  .u-md-start-12 { grid-column-start: 12; }
  
}

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

/* base styles */
button:not(:disabled),
.btn {
  cursor: pointer;
}

button:not(.no-button),
.btn {
  padding: 0.4375rem 0.9375rem;
  border: 1px solid;
  border-radius: 0.5rem;
  text-align: center;
  white-space: normal;
  line-height: 1;
  text-decoration: none;
  transition-property: color, background-color, border-color;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
}

/* large size */

button.btn-lg:not(.no-button),
.btn.btn-lg {
  padding: 0.625rem 1.375rem;
  border-width: 2px;
  border-radius: 0.75rem;
  font-size: var(--t-body-font-size-xl);
}

/* primary */

button:not(.no-button),
.btn {
  border-color: var(--c-button-bg);
  color: var(--c-button-text);
  background-color: var(--c-button-bg);
}

button:not(.no-button):hover,
button:not(.no-button):focus-visible,
.btn:hover,
.btn:focus-visible {
  border-color: var(--c-button-bg-hover);
  color: var(--c-button-text-hover);
  background-color: var(--c-button-bg-hover);
}

/* secondary */
button.btn-secondary:not(.no-button),
.btn.btn-secondary {
  border-color: var(--c-button-text-secondary);
  color: var(--c-button-text-secondary);
  background-color: var(--c-button-bg-secondary);
}

button.btn-secondary:not(.no-button):hover,
button.btn-secondary:not(.no-button):focus-visible,
.btn.btn-secondary:hover,
.btn.btn-secondary:focus-visible {
  border-color: var(--c-button-bg-hover);
  color: var(--c-button-text-hover);
  background-color: var(--c-button-bg-hover);
}

.no-button {
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}
a {
  color: var(--c-link);
  text-decoration: underline;
}

a:hover,
a:focus-visible {
  color: var(--c-link-hover);
}

a:active {
  color: var(--c-link-active);
}

.color-mode__dark a {
  color: var(--c-link-dark);
}

.color-mode__dark a:hover,
.color-mode__dark a:focus-visible {
  color: var(--c-link-hover-dark);
}

.color-mode__dark a:active {
  color: var(--c-link-active-dark);
}
/* 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;
}


/* 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__skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}

.header__skip:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 8px 16px;
  background: #fff;
  color: var(--c-primary);
  text-decoration: underline;
}

/* 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%;
}
/* =========================================================================
   Module style — the classes emitted by the style_classes() macro from a
   module's shared "Style" field group (fields/style-group.js).
   See docs/editing-model.md.

     .scheme + .scheme--{pair}[-dark]   color scheme (tokens in settings/_colors.css)
     .spacing--{none|sm|lg}             vertical padding on the module root
   ========================================================================= */

/* --- Color scheme --- */

/* In a partial column (span6 etc.) the scheme is a padded box, so it doesn't
   paint under the neighbouring column. */
.scheme {
  color: var(--scheme-fg);
  background-color: var(--scheme-bg);
  padding-inline: var(--grid-gap);
}

/* Full width (no partial dnd column above it): a band to the viewport edges.
   border-image paints outside the box without changing layout; .body-wrapper's
   overflow-x: clip hides the overshoot. `.widget-span` is HubSpot's class on
   every dnd column and module wrapper, so this also covers modules stacked
   inside a full-width (span12) column, and modules outside any dnd_area.
   Don't put a border on a schemed module root — wrap the content instead. */
.scheme:not(.widget-span:not(.span12) *) {
  padding-inline: 0;
  border-image: conic-gradient(var(--scheme-bg) 0 0) fill 0 / 0 / 0 100vw;
}

/* --- Vertical spacing --- */

.spacing--none {
  padding-block: 0;
}

.spacing--sm {
  padding-block: var(--module-space-sm);
}

.spacing--lg {
  padding-block: var(--module-space-lg);
}
#hs-modal-header {
  position: absolute;
  right: 2.2em;
  z-index: 1;
}

#hs-modal-content #hs-categories-container .hs-category-row {
  padding: 0 !important;
}

/* LINK BUTTON: Copied from .btn styles in _buttons.css */
#hs-eu-confirmation-button-group > #hs-eu-opt-in-buttons > #hs-eu-confirmation-button,
#hs-eu-confirmation-button-group > #hs-eu-opt-in-buttons > #hs-eu-decline-button,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-accept-all,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-decline-all,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-save-settings {
  display: inline-flex;
  align-items: center;
  /* copy base styles from .btn styles in _buttons.css */
}

/* PRIMARY BUTTON: Copied from .btn styles in _buttons.css */
#hs-eu-confirmation-button-group > #hs-eu-opt-in-buttons > #hs-eu-confirmation-button,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-accept-all,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-decline-all,
#hs-eu-confirmation-button-group > #hs-eu-opt-in-buttons > #hs-eu-decline-button,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-save-settings {
  /* copy primary styles from .btn styles in _buttons.css */
}

#hs-eu-confirmation-button-group > #hs-eu-opt-in-buttons > #hs-eu-confirmation-button:hover,
#hs-eu-confirmation-button-group > #hs-eu-opt-in-buttons > #hs-eu-confirmation-button:focus-visible,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-accept-all:hover,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-accept-all:focus-visible,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-decline-all:hover,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-decline-all:focus-visible,
#hs-eu-confirmation-button-group > #hs-eu-opt-in-buttons > #hs-eu-decline-button:hover,
#hs-eu-confirmation-button-group > #hs-eu-opt-in-buttons > #hs-eu-decline-button:focus-visible,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-save-settings:hover,
#hs-modal-content > #hs-modal-footer > #hs-modal-footer-container > #hs-modal-save-settings:focus-visible {
  /* copy primary hover/focus styles from .btn styles in _buttons.css */
}

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

@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
}

/* Apply to wrapper of rich text fields */
.rich-text-inherit p,
.rich-text-inherit ol,
.rich-text-inherit ul {
  font-size: inherit;
  line-height: inherit;
}
.rich-text-inherit p:last-child,
.rich-text-inherit ol:last-child,
.rich-text-inherit ul:last-child {
  margin-bottom: 0;
}
.rich-text-inherit a {
  word-break: break-word;
}