/*
 * Nibble theme - base.css
 * Reset (from blankslate), design tokens (:root), element typography, buttons, forms (HubSpot form classes + Contact Form 7 fixes).
 * Consolidated from the legacy HubSpot CSS; order of files and rules is the cascade order (functions/assets.php).
 */

html,
body {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

div,
span,
object {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

iframe {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

p,
blockquote,
pre,
a,
abbr,
address,
cite,
code,
del,
em {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

img {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font: inherit;
}

ins,
q,
s {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

small {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

strong {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

sub,
sup {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
}

b,
u,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

th,
td {
  margin: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
embed,
figure,
figcaption,
footer,
header,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 62.5%;
}

a {
  text-decoration-skip-ink: auto;
  color: inherit;
  text-decoration: underline;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

button {
  outline: 0;
}

ol {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after {
  content: none;
}

q {
  display: inline;
  font-style: italic;
}

q:before,
q:after {
  content: '"';
  font-style: normal;
}

input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"] {
  appearance: none;
  border-radius: 0;
}

input[type="search"] {
  border-radius: 0;
}

input[type="password"] {
  appearance: none;
  border-radius: 0;
}

input[type="search"] {
  appearance: textfield;
}

th,
td {
  padding: 2px;
}

small,
sup,
sub {
  font-size: 80%;
}

sup {
  vertical-align: super;
}

sub {
  vertical-align: sub;
}

dd {
  margin-left: 20px;
}

ins {
  text-decoration: underline;
}

del,
s {
  text-decoration: line-through;
}

dt {
  font-weight: bold;
}

cite {
  font-style: italic;
}

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  margin: 0;
  outline: 0;
  padding: 0;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal;
}

.screen-reader-text:focus {
  background-color: #f7f7f7;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto !important;
  clip-path: none;
  color: #007acc;
  display: block;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  left: -9999rem;
  top: 2.5rem;
  z-index: 999999999;
  text-decoration: underline;
}

.skip-link:focus {
  display: block;
  left: 6px;
  top: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: normal;
  padding: 15px 23px 14px;
  z-index: 100000;
  right: auto;
}

@media (min-width: 1025px) {
  .btn {
    min-height: 5.6rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

:after,
:before {
  box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
main,
section,
summary {
  display: block;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: none;
  background: #fff;
  min-width: 320px;
  background-color: #fff;
  color: var(--c-base);
  font-family: VisbyCF,sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.44;
}

audio,
iframe,
img,
object,
video {
  max-width: 100%;
}

iframe,
img {
  border: 0;
}

img {
  display: inline-block;
  height: auto;
  vertical-align: middle;
}

[style*=background-image],
img {
  image-rendering: -webkit-optimize-contrast;
}

b,
strong {
  font-weight: 700;
}

address {
  font-style: normal;
}

svg:not(:root) {
  overflow: hidden;
}

a,
button,
input[type=button],
input[type=file],
input[type=image],
input[type=reset],
input[type=submit],
label[for] {
  cursor: pointer;
}

a[href^=tel],
button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
  cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

a[href^=tel],
input[type=color],
input[type=datetime-local],
input[type=datetime],
input[type=month],
input[type=number],
input[type=password],
input[type=time],
input[type=url],
input[type=week] {
  appearance: none;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  appearance: none;
}

textarea {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

button,
select {
  text-transform: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

input::placeholder {
  color: inherit;
  opacity: 1 !important;
}

textarea::placeholder {
  color: inherit;
  opacity: 1;
}

input:-webkit-autofill {
  -webkit-text-fill-color: inherit;
  -webkit-box-shadow: inset 0 0 0 1000px #fff;
}

input[type=button],
input[type=date],
input[type=email],
input[type=search],
input[type=submit],
input[type=tel],
input[type=text],
textarea {
  appearance: none;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

input {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
}

a:hover,
a[href^=tel] {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: .64em;
}

blockquote,
dl,
hr,
ol,
p,
table,
ul {
  margin-bottom: 1.28em;
}

blockquote:last-child,
dl:last-child,
h1:last-child,
h1[class],
h2:last-child,
h2[class],
h3:last-child,
h3[class],
h4:last-child,
h4[class],
h5:last-child,
h5[class],
h6:last-child,
h6[class],
ol:last-child,
p:last-child,
table:last-child,
ul:last-child {
  margin-bottom: 0;
}

[hidden] {
  display: none;
}

[disabled] {
  cursor: default;
}

.btn,
.hs-button {
  align-items: center;
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: space-between;
  max-width: 100%;
  transition: .4s;
  vertical-align: middle;
  --padding: 1.2rem 2.4rem;
  --fweight: 700;
  background-color: var(--bg-color);
  border: var(--border);
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-size: var(--fsize);
  font-weight: var(--fweight) !important;
  letter-spacing: .01em;
  padding: var(--padding);
}

.btn span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.btn figure {
  display: inline-block;
  line-height: 1;
  margin-left: 2rem;
  vertical-align: middle;
}

.btn--block {
  display: block;
  padding-inline: 0;
  text-align: center;
}

.btn--small {
  font-size: 1.6rem;
  --padding: 1.0rem 2.0rem;
  border-radius: 1.3rem;
}

.btn--white {
  background-color: transparent;
  border-color: var(--text-color);
}

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

.btn--outline {
  background-color: transparent;
  color: var(--bg-color);
}

.btn--outline:hover {
  background-color: #cee3ff;
}

@media (max-width: 767px) {
  .btn figure {
    margin-left: 1.5rem;
  }
}

.form label {
  --font: 16px "Manrope", sans-serif;
  --f-weight: 700;
  --color: #003055;
  display: inline-block;
  letter-spacing: .02em;
  margin-bottom: .6rem;
  color: var(--text-color);
  font-family: VisbyCF,sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  text-decoration: none;
  --text-color: #b0d3ff;
}

.form input:not(.hs-button),
.form textarea {
  --bg: #c8cdd9;
}

.form input:not(.hs-button),
.form textarea {
  background-color: var(--bg-color);
  border: var(--border);
  border-radius: var(--border-radius);
  color: var(--text-color);
  height: var(--height);
  padding: .4rem 1.6rem;
  transition: .4s;
  width: 100%;
}

.form input:not(.hs-button):focus,
.form textarea:focus {
  border-color: #146deb;
}

.form input:not(.hs-button)::placeholder,
.form textarea::placeholder {
  color: var(--placeholder-color);
}

.form input:not(.hs-button):focus,
.form textarea:focus {
  box-shadow: 0 0 .1rem .1rem var(--c-copy-2);
}

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

.form textarea {
  min-height: 11.2rem;
}

.form .hs-form-booleancheckbox {
  margin-top: -.9rem;
}

.form .hs-form-booleancheckbox label {
  font-size: 1.4rem !important;
  position: relative;
}

.form .hs-form-booleancheckbox .hs-input {
  display: none !important;
}

.form .hs-fieldtype-booleancheckbox .inputs-list {
  list-style-type: none !important;
}

.form .hs-fieldtype-booleancheckbox .inputs-list label > span {
  display: inline-block;
  font-family: var(--ff-inter);
  font-weight: 600;
  letter-spacing: 0;
  padding-left: 4rem;
  position: relative;
  vertical-align: top;
}

.form .hs-fieldtype-booleancheckbox .inputs-list label > span:before {
  background-color: #fff;
  border-radius: .3rem;
  content: "";
  height: 2rem;
  left: 0;
  position: absolute;
  top: 0;
  width: 2rem;
}

.form .hs-fieldtype-booleancheckbox .inputs-list label > span:after {
  background-image: url(/wp-content/themes/nibble/assets/svgs/vector.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  height: 2rem;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  visibility: hidden;
  width: 2rem;
}

.form .hs-fieldtype-booleancheckbox .inputs-list label input:checked + span:before {
  opacity: 0;
  visibility: hidden;
}

.form .hs-fieldtype-booleancheckbox .inputs-list label input:checked + span:after {
  opacity: 1;
  visibility: visible;
}

.form .actions {
  margin-top: 3.5rem;
  text-align: center;
}

.form .actions .hs-button {
  background-image: url(/wp-content/themes/nibble/assets/svgs/ico-arrow-btn.svg);
  background-position: right 2.2rem center;
  background-repeat: no-repeat;
  background-size: 2.1rem 1.6rem;
  padding-right: 5.4rem;
  position: relative;
}

@media (max-width: 767px) {
  .form .hs-fieldtype-booleancheckbox .inputs-list label {
    display: flex;
  }
  .form .actions {
    margin-top: 4rem;
  }
  .form .actions .hs-button {
    background-position: right 6.7rem center;
    display: block;
    width: 100%;
  }
  .form input:not(.hs-button),
  .form textarea {
    font-size: 1.6rem !important;
  }
}

.inputs-list {
  list-style: none;
}

.inputs-list input[type=checkbox] {
  display: inline-block !important;
  position: relative;
  top: .1rem;
}

:root {
  --c-base: ;
  --headings: #263344;
  --primary: #494a52;
  --secondary: #f8fafc;
  --ff-base: VisbyCF,sans-serif;
  --ff-inter: Inter,serif;
  --fz-html: 62.5%;
  --fz-base: 1.8rem;
  --fw-base: 400;
  --lh-base: 2;
  --black: #000;
  --white: #fff;
}

@media (max-width: 767px) {
  body {
    font-size: 1.6rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: calc(var(--lh-base)*.5em);
}

h1 {
  font-size: 56px;
  line-height: 1.14;
}

h1,
h2 {
  color: #263344;
  font-family: VisbyCF,sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

h2 {
  font-size: 40px;
  line-height: 1.2;
}

h3 {
  font-size: 32px;
  line-height: 1.09;
}

h3,
h4 {
  color: #263344;
  font-family: VisbyCF,sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

h4 {
  font-size: 28px;
  line-height: 1.1;
}

h5 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.33;
}

h5,
h6 {
  color: #263344;
  font-family: VisbyCF,sans-serif;
  font-style: normal;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

h6 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 1023px) {
  h1 {
    font-size: 42px;
  }
  h2,
  h3,
  h4 {
    font-size: 28px;
  }
  h5 {
    font-size: 24px;
  }
  h6 {
    font-size: 18px;
  }
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  h1 {
    font-size: 40px;
  }
  h2,
  h3,
  h4 {
    font-size: 28px;
  }
  h5 {
    font-size: 24px;
  }
  h6 {
    font-size: 18px;
  }
}

.btn,
.hs-button {
  font-family: VisbyCF,sans-serif;
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  --fsize: 20px;
  --text-color: #fff;
  --bg-color: #146deb;
  --border: 2px solid #146deb;
  --border-radius: 17px;
}

@media (hover: hover) {
  :is(.btn,.btn.primary,.hs-button):where(:hover,:focus-visible) {
    --text-color: #fff;
    --bg-color: #2a83ff;
    --border: 2px solid #2a83ff;
  }
}

.form input:not(.hs-button),
.form textarea {
  font-family: Inter,sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
  --text-color: #fff;
  --bg-color: #001533;
  --height: 58px;
  --border-radius: 8px;
  --border: 1px solid #617385;
  --placeholder-color: #617385;
}

.wpcf7 form input {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

.wpcf7 form label {
  display: block;
  width: 100%;
}

.wpcf7 form p {
  margin: auto;
  margin-left: 0px;
}

.wpcf7 form .wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0px;
}

input[type="submit"].hs-button {
  border-radius: 17px;
}

form .actions .wpcf7-spinner {
  display: none;
}

form.submitting .actions .wpcf7-spinner {
  display: inline-block;
}

ul,
li {
  list-style: inherit;
}

.grecaptcha-badge {
  visibility: hidden;
  display: none;
}

.no-padding-bottom section {
  padding-bottom: 0 !important;
}
