/*
  FONTS are loaded in app/fonts via next/font. CSS custom properties are:
  --font-family
  --font-family-mono
  --font-family-serif
*/

:root {
  --font-size: 20px;
  --line-height: 1.2;
  --padding: 24px;
  --container-width: 1224px;
  --color-cobalt-1: #f7f9ff;
  --color-cobalt-5: #EBF0FF;
  --color-cobalt-10: #dee6ff;
  --color-cobalt-20: #c9d6fe;
  --color-cobalt-30: #93aeff;
  --color-cobalt-40: #657EFF;
  --color-cobalt-70: #053CE1;
  --color-cobalt-100: #032CA5;
  --color-grey-30: #BCC7E2;
  --color-grey-50: #8494C3;
  --color-grey-60: #6D7FB2;
  --color-grey-70: #415591;
  --color-grey-100: #242C47;
  --color-midnight: #0b2471;
  --color-newday: #FFFBF3;
  --color-cobalt-medium: #5d93ff;
  --color-cobalt-core: #265cff;
  --color-cobalt-deep: #0033cc;
  --color-spring: #8AB280;
  --color-spring-10: #E0EDDD;
  --color-spring-20: #C8E8BE;
  --color-forest: #1D7368;
  --color-straw: #F6F4D7;
  --color-sunbeam: #FFE8A3;
  --color-poppy: #FF6633;
  --color-straw: #F9F5D6;
  --color-grass: #00BB81;
  --color-marigold: #ECA74E;
  --color-tangerine: #FF9966;
  --color-energy: #ABF1D0;
  --color-early-spring: #BDDCC3;
  --color-sky: #C4E7F4;
  --color-afternoon: #E9C471;
  --color-sun: #E77054;
  --color-warm-light: #F3E1C0;
  --color-storm: #5D8BB8;
  --color-white: #fff;
  --color-background: #fff;
  --border-dashed-cobalt: 1px dashed rgba(13, 89, 242, 0.5);
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  box-sizing: border-box;
  letter-spacing: -0.01em;
  outline-color: var(--color-cobalt-core);
}

body {
  height: 100%;
  font-family: var(--font-family);
  background: var(--color-background, #fff);
  font-weight: 500;
  font-size: var(--font-size);
  line-height: var(--line-height);
  color: var(--color-midnight);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  padding-bottom: 18px;
  scroll-behavior: auto;
}

main {
  /* fix for blue line margins */
  overflow-x: hidden;
}

video,
img {
  max-width: 100%;
  height: auto;
}

.container {
  padding: 24px 12px;
  margin: 0 auto;
  width: 100%;
  max-width: var(--container-width);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 2s linear infinite;
}

.h1,
h1 {
  margin: 0 0 var(--font-size);
  font-size: 90px;
  line-height: 105%;
  font-weight: 300;
}
h1.f-w-400 {
 /* letter-spacing: -.17rem; specificity is overwriting things [meghan]*/
  line-height: 1.1;
}

@media (max-width: 520px) {
  .h1,
  h1 {
    font-size: 60px;
    line-height: 1;
  }
}

.h1.font-serif {
  letter-spacing: -.18rem;
}

.h2,
h2 {
  margin: 0 0 var(--font-size);
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -.08rem;
  color: var(--color-midnight);

  @media (min-width: 420px) {
    font-size: 42px;
  }

  @media (min-width: 600px) {
    font-size: 60px;
  }
}
.h2 {
  font-weight: 400;
}

.h3,
h3 {
  margin: 0 0 var(--font-size);
  font-weight: 500;
  text-align: left;
  font-size: 38px;
  line-height: 110%;
  letter-spacing: -.4px;
  color: var(--color-midnight);

  @media (min-width: 600px) {
    font-size: 48px;
  }
}
.h3 {
  letter-spacing: -0.4px;
}

.h4,
h4 {
  margin: 0 0 var(--font-size);
  font-size: 30px;
  letter-spacing: -0.004em;
  line-height: 110%;

  @media (min-width: 600px) {
    font-size: 35px;
  }
}
.h4 {
  font-weight: 500;
}

.h5,
h5 {
  margin: 0 0 var(--font-size);
  font-size: 25px;
  line-height: 115%;

  @media (min-width: 600px) {
    font-size: 28px;
  }
}
.h5 {
  font-weight: 500;
  letter-spacing: -0.4px;
}

.h6,
h6 {
  font-size: 20px;
  line-height: 110%;
  letter-spacing: -0.4px;
}

h2[id],
h3[id],
h4[id],
h2[aria-labelledby],
h3[aria-labelledby],
h4[aria-labelledby] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

/* React Wrap Balancer span tags */
:is(h1, h2, h3, h4) > span {
  letter-spacing: inherit;
}

.eyebrow {
  font-size: 16px;
  line-height: 22px;
}

p,
li,
.body {
  font-size: 20px;
  line-height: 28px;
  color: var(--color-midnight);
  margin-bottom: var(--font-size);
  max-width: 720px;
  font-weight: 500;
}

ul {
  list-style-type: disc;
  padding-left: 22px;
}

li {
  margin-top: 8px;
  margin-bottom: 8px;
}

ol li::marker {
  font-size: inherit;
  color: var(--color-midnight);
}

ul li::marker {
  font-size: inherit;
  color: var(--color-midnight);
}

li li {
  margin-top: 4px;
  margin-bottom: 4px;
}

li li:last-of-type {
  margin-bottom: 8px;
}

a {
  color: var(--color-cobalt-core);
}

:where(a) {
  text-decoration: none;
}

:where(a:hover:not(.no-underline)) {
  text-decoration: underline;
}

.on-page-anchor {
  scroll-margin-top: 72px;
}

@media (min-width: 820px) {
  .on-page-anchor {
    scroll-margin-top: 84px;
  }
}

.button {
  border: 0;
  display: inline-block;
  padding: 7px 20px;
  border-radius: 0px;
  line-height: var(--line-height);
  font-family: var(--font-family);
  font-size: 18px;
  text-decoration: none;
  font-weight: 500;
  flex-shrink: 0;
  background-color: var(---color-bg);

  &:not(:disabled) {
    cursor: pointer;
  }
}

.button.primary {
  ---color-bg: var(--color-cobalt-core);
  color: #fff;
}

.button.primary:not(:disabled):hover,
.button.primary:not(:disabled):focus {
  ---color-bg: var(--color-cobalt-deep);
}

.button.primary:focus-visible {
  outline: none;
    box-shadow: 0 0 0 2px var(--color-background),
      0 0 0 4px var(---color-bg);
}

.button.primary.arrow {
  position: relative;
  padding: 11px 39px 11px 20px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' fill='none' stroke='%23fff'%3E%3Cpath d='M5.72 10 10 5.5m0 0L5.72 1M10 5.5H1'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: right 20px center;
  transition: 130ms background-position ease-out;

  &:hover {
    background-position: right 16px center;
  }
}

pre,
code {
  font-family: var(--font-family-mono), ui-monospace, Menlo, Courier, monospace;
}

.hide {
  display: none !important;
}

/*
Generic
*/

.f-w-700 {
  font-weight: 700;
}

.f-w-600 {
  font-weight: 600;
}

.f-w-500 {
  font-weight: 500;
}

.f-w-400 {
  font-weight: 400;
}

.f-w-300 {
  font-weight: 300;
}
.l-h-1-1 {
  line-height: 1.1;
}


/* colors */

.color-grey-50 {
  color: var(--color-grey-50);
}

.color-midnight {
  color: var(--color--midnight);
}

.color-cobalt-40 {
  color: var(--color-cobalt-40);
}

.text-cobalt-core {
  color: var(--color-cobalt-core);
}

.text-cobalt-70 {
  color: var(--color-cobalt-70);
}
.text-cobalt-deep {
  color: var(--color-cobalt-deep);
}

.text-grey-60 {
  color: var(--color-grey-60);
}

.text-grey-70 {
  color: var(--color-grey-70);
}

.text-energy {
  color: var(--color-energy);
}

.text-poppy {
  color: var(--color-poppy);
}

.uppercase {
  text-transform: uppercase;
}

.font-sans {
  font-family: var(--font-family)
}
.font-serif {
  font-family: var(--font-family-serif)
}
.mono {
  font-family: var(--font-family-mono) !important;
  text-transform: uppercase;
}

.hide {
  display: none !important;
}

.opacity-0 {
  opacity: 0;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* flex and grid */
.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.flex-space-between {
  display: flex;
  justify-content: space-between;
}



.disclaimer {
  font-size: 14px;
  font-family: var(--font-family);
  font-style: normal;
  font-size: 14px;
  line-height: 22px;
  /* identical to box height, or 157% */
  letter-spacing: -0.3px;
}

.eyebrow {
  font-size: 16px;
  font-style: normal;
  line-height: 24px;
  letter-spacing: 0px;
}

.bio-rich-text p {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0px;
}

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


/* blog post */


.blog-post blockquote {
  border-left: 3px var(--color-cobalt-core) solid;
  padding-left: 30px;
  margin-bottom: 45px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.25;
  max-width: none;
}

.blog-post {
  max-width: 792px;
  padding: 48px;
  margin: 0 auto;
  width: 100%;
  container-type: inline-size;
  container-name: blog-post;
}

.blog-post h1,
.blog-post h2,
.blog-post h3,
.blog-post h4,
.blog-post h5 {
  text-wrap: pretty;
}

@media screen and (max-width: 820px) {
  .blog-post {
    padding: 24px 16px;
    border: 0;
    max-width: 100%;
  }
}

.blog-post h1 {
  font-size: 45px;
  letter-spacing: -.07rem;
  color: var(--color-midnight);
  font-family: var(--font-family-serif);
}

.blog-post h2 {
  font-size: 35px;
  margin-top: 48px;
  color: var(--color-midnight);
  font-weight: 500;
  margin-bottom: 8px;
}

.blog-post h3 {
  font-size: 28px;
  color: var(--color-midnight);
  margin-top: 24px;
  font-weight: 500;
  margin-bottom: 8px;
}

.blog-post h4 {
  font-size: 24px;
  color: var(--color-midnight);
  margin-bottom: 8px;
  margin-top: 32px;
  font-weight: 500;
}

.blog-post h5 {
  font-size: 45px;
  letter-spacing: -.07rem;
  color: var(--color-midnight);
}

.blog-post :is(h2, h3, h4, h5) strong {
  font-weight: inherit;
}

.blog-post ul,
.blog-post ol {
  margin-bottom: 16px;
}

.blog-post ol ol {
  list-style-type: lower-alpha;
}

.blog-post ol ol ol {
  list-style-type: lower-roman;
}

.blog-post table ul,
.blog-post table ol {
  margin: 0;
  padding-left: 1.5rem;
}

.blog-post table ul li::marker,
.blog-post table ol li::marker {

}

.blog-post > p > .button {
  display: inline-block;
  margin-top: 12px;
}

.blog-post .blog-aside,
.blog-post pre {
  background-color: var(--color-cobalt-1);
  margin: 32px -48px;
  padding: calc(48px - var(--font-size)) 48px;
}

.blog-post pre {
  font-size: 1rem;
  white-space: pre-wrap;
}

.blog-post code {
  font-size: inherit;
  padding: 0 0.375em;
  border-radius: 4px;
  background-color: var(--color-cobalt-1);
}

.blog-post hr {
  border: 0;
  border-bottom: 2px solid var(--color-cobalt-5);
  margin: 32px auto;
}

.blog-post .blog-aside h3:first-child,
.blog-post .blog-aside h4:first-child {
  margin-top: 0;
}

.blog-post .blog-aside h4 {
  font-size: 20px;
  color: var(--color-midnight);
}
.blog-post .blog-aside p {
  font-size: 18px;
  color: var(--color-midnight);
}

.blog-post .blog-aside cite {
  font-style: normal;
  color: var(--color-grey-50);
}

.blog-post .blog-aside cite a {
  color: inherit;
}

.blog-post .blog-aside p:last-child,
.blog-post .blog-aside li:last-child {
  margin-bottom: 0;
}

.blog-aside + table {
  margin-top: -32px;
}

.blog-post .table-wrapper {
  width: calc(100% + 96px);
  margin-bottom: 32px;
  margin-left: -48px;
  margin-right: -48px;
  border: 1px var(--color-cobalt-20) solid;
}

.blog-post table {
  border-collapse: collapse;
}

.blog-post table thead {
border-bottom: 1px var(--color-cobalt-20) solid;
}

.blog-post table th {
  text-align: left;
  color: var(--color-midnight);

}

.blog-post table th,
.blog-post table td {
  color: var(--color-midnight);
  padding: 20px;
  vertical-align: top;
}

.blog-post table td:first-child,
.blog-post table th:first-child {
  padding-left: 48px;
}

.blog-post table td:last-child,
.blog-post table th:last-child {
  padding-right: 48px;
}

.blog-post tr:nth-child(2n) td {

}

.blog-post tr:nth-child(2n + 1) td {
  background-color: var(--color-cobalt-1);
}

.blog-post figcaption {
  color: var(--color-grey-70);
  font-size: 14px;
  margin: 0 auto 32px;
  padding: 2px 12px;
  width: fit-content;
}

.padded-box {
  --padded-box: 48px;
  padding: var(--padded-box);
}

@media screen and (max-width: 820px) {
  .padded-box {
    --padded-box: 24px;
  }

  .table-wrapper {
    overflow-x: auto;
  }

  .blog-post .table-wrapper,
  .blog-post .blog-aside,
  .blog-post .stylized-quote,
  .blog-post pre,
  .blog-post .blog-post-full-bleed-image {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
  }

  .blog-post table td:first-child,
  .blog-post table th:first-child {
    padding-left: 16px;
  }

  .blog-post table td:last-child,
  .blog-post table th:last-child {
    padding-right: 16px;
  }

  .blog-post .blog-aside {
    margin-bottom: 16px;
    padding: 24px 16px;
  }
}

.merkinball {
  background: linear-gradient(to bottom,#f7f9ff, #fffbf3  90%);
}

article .youtube {
  width: 100%;
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

article .youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*global hubspot*/
.hs-input:not([type='checkbox']) {
  appearance: none;
}

.hs-input {
  width: 100%;
  color: var(--color-midnight);
  outline: none;
  font-family: var(--font-family);
  background-color: var(--color-white);
  border: 1px solid var(--color-cobalt-30);
  border-radius: 0;
  font-size: 20px;
  line-height: 1.3;
  padding: 12px 10px;
}

.hs-input:focus {
  border-color: var(--color-cobalt-core);
  outline: none;
}

.hs-input::placeholder {
  color: var(--color-grey-30);
}

.hs-fieldtype-text,
.hs-form-field {
  position: relative;
  color: var(--color-cobalt-100);
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hs-form-field:not(.hs-fieldtype-checkbox) label[id] {
  position: absolute;
  left: 8px;
  transform: translateY(-50%);
  padding-inline: 4px;
}

.hs-form-field label[id] {
  font-size: 12px;
  background-color: var(--color-white);
  color: var(--color-midnight);
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 24px);
}

.hs-error-msgs,
.hs-main-font-element {
  padding: 0;
  list-style-type: none;
  margin-top: 5px;
}

.hs-error-msgs li {
  margin: 0;
  line-height: 1;
}

.hs-error-msg {
  color: var(--color-sun);
  font-size: 14px;
}

.hs-richtext p {
  margin: 0;
  font-size: 14px;
  color: var(--color-grey-70);
  line-height: 1.5;
}

.hs-richtext a {
  color: var(--color-cobalt-core) !important;
}

.cookie-reset-container a {
  margin-left: 5px;
  cursor: pointer;
}

.hs-form.stacked {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hs-form fieldset {
  display: contents;
  padding: 0;
  border: 0;
}
@media (min-width: 520px) {
  .hs-form fieldset.form-columns-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
.hs-form fieldset:has(:not([style*="display: none"]):not(.hidden):not(:empty):not([hidden])) {
  display: contents;
}

.hs-form .input select {
  appearance: none;
  border-radius: 0px;
  width: 100% !important;
  padding-right: 38px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.5 8.5L12.5 15.5L5.5 8.5' stroke='%238494c3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center/22px var(--color-white);
}

.hs-form fieldset.form-columns-1 textarea.hs-input {
  padding: 10px;
}
li.hs-form-booleancheckbox::marker {
  color: transparent;
}
.hs-form-booleancheckbox label {
  display: flex;
  color: var(--color-cobalt-100);
}
.hs-form .inputs-list {
  padding: 0;
}
.hs-form-booleancheckbox input {
  width: 30px;
  margin-right: 16px;
  appearance: revert;
  margin-bottom: 0;
  accent-color: var(--color-cobalt-core);
}

.hs-form-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.hs-form-checkbox .hs-input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.hs-form-checkbox .hs-input[type="checkbox"] + span::before {
  display: inline-block;
  content: '';
  background-color: var(--color-white);
  width: 25px;
  height: 25px;
  border-radius: 4px;
  margin-right: 10px;
  box-shadow: 0 0 2px var(--color-cobalt-40);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.hs-form-checkbox .hs-input[type="checkbox"]:hover + span::before {
  background-color: var(--color-cobalt-1);
}

.hs-form-checkbox .hs-input[type="checkbox"]:focus + span::before {
  box-shadow: 0 0 0 2px var(--color-cobalt-core);
}

.hs-form-checkbox .hs-input[type="checkbox"]:checked + span::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M20.7071 5.29289C21.0976 5.68342 21.0976 6.31658 20.7071 6.70711L9.70711 17.7071C9.31658 18.0976 8.68342 18.0976 8.29289 17.7071L3.29289 12.7071C2.90237 12.3166 2.90237 11.6834 3.29289 11.2929C3.68342 10.9024 4.31658 10.9024 4.70711 11.2929L9 15.5858L19.2929 5.29289C19.6834 4.90237 20.3166 4.90237 20.7071 5.29289Z' fill='%23fff'/%3E%3C/svg%3E%0A");
  background-color: var(--color-cobalt-core);
}

/* List style types */
ul {

  &[data-type] {
    padding-left: 0;
    list-style: none;

    & li {
      display: flex;
      column-gap: 8px;
    }

    & li::before {
      --size: 20px;
      content: '';
      display: block;
      flex-shrink: 0;
      margin-top: 4px;
      width: var(--size);
      height: var(--size);
      background-image: var(--icon);
      background-size: var(--size);
      background-position: center;
      background-repeat: no-repeat;

      @supports (-webkit-mask-image: url(#mask)) or (mask-image: url(#mask)) {
        mask-image: var(--icon);
        mask-size: var(--size);
        mask-position: center;
        mask-repeat: no-repeat;
        background-image: none;
        background-color: var(--color-cobalt-core);
      }
    }
  }

  &[data-type="ArrowRight"] {
    --icon: url('/icons/ArrowRight.svg');
  }

  &[data-type="CircleCheckmark"] {
    --icon: url('/icons/CircleCheckmark.svg');
  }
}

/* Text alignment utility classes */
.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.ml-auto {
  margin-left: auto !important;
}

/* Hide native Didomi UI to use custom implementation */
#didomi-host {
  display: none !important;
}

body.didomi-popup-open {
  overflow: auto !important;
}
