/* ==========================================
   BASE — reset, tokens, fonts, typography
========================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 0.534vw;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 992px) {
  html {
    font-size: 62.5%;
  }
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--color-white);
  background-color: var(--color-navy);
  line-height: 1.4;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  margin: 0;
}

:root {
  --color-navy: #0b2342;
  --color-blue: #1c59a8;
  --color-yellow: #f7c53c;
  --color-yellow-alt: #f2c94c;
  --color-tech: #4c6ef5;
  --color-send: #246bfd;
  --color-white: #ffffff;
  --color-placeholder: #b7b7b7;
  --font-medium: 500;
  --font-semibold: 600;
  --app-height: 100dvh;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../vendor/fonts/montserrat/montserrat-medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../vendor/fonts/montserrat/montserrat-semibold.woff2') format('woff2');
}

.uppercase {
  text-transform: uppercase;
}

.img-responsive {
  width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: -999.9rem;
  inset-block-start: 1rem;
  z-index: 1000;
  padding: 0.8rem 1.6rem;
  background: var(--color-white);
  color: var(--color-navy);
}

.skip-link:focus {
  inset-inline-start: 1rem;
}

body.capien-home {
  overflow: hidden;
  height: 100vh;
  height: var(--app-height, 100dvh);
}

body.capien-home.admin-bar {
  height: calc(100vh - 3.2rem);
  height: calc(var(--app-height, 100dvh) - 3.2rem);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 500;
}
