/*
  IPP base stylesheet.
  Keep global rules boring and predictable: colours are the only design tokens.
*/

@font-face {
  font-display: swap;
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 100;
  src: url("../fonts/urbanist-v18-latin-100.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/urbanist-v18-latin-200.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/urbanist-v18-latin-300.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/urbanist-v18-latin-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/urbanist-v18-latin-500.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/urbanist-v18-latin-600.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/urbanist-v18-latin-700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/urbanist-v18-latin-800.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/urbanist-v18-latin-900.woff2") format("woff2");
}

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-midnight-steel: #2e4052;
  --color-electric-blue: #2d86ff;
  --color-signal-red: #fa4c51;
  --color-pebble-grey: #dbe0e5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 88px;
  background: var(--color-white);
  color: var(--color-black);
  font-family: "Urbanist", Arial, sans-serif;
}

button,
input,
textarea,
select {
  font-family: "Urbanist", Arial, sans-serif;
}

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

.clamp {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.centerButtonDiv .centerButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 0 auto;
}

.blueButton,
.steelButton,
.whiteButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-width: 176px;
  min-height: 50px;
  padding: 12px 34px;
  border: 0;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.blueButton {
  background: var(--color-electric-blue);
  color: var(--color-white);
}

.steelButton {
  background: var(--color-midnight-steel);
  color: var(--color-white);
}

.whiteButton {
  background: var(--color-white);
  color: var(--color-electric-blue);
}

.blueButton:hover,
.blueButton:focus-visible,
.steelButton:hover,
.steelButton:focus-visible,
.whiteButton:hover,
.whiteButton:focus-visible {
  background: rgba(219, 224, 229, 0.5);
  color: var(--color-midnight-steel);
}

.BV:hover,
.BV:focus-visible {
  background: var(--color-white) !important;
  color: var(--color-midnight-steel) !important;
}

.ipp-quote-v .blueButton:hover,
.ipp-quote-v .blueButton:focus-visible,
.ipp-quote-v .steelButton:hover,
.ipp-quote-v .steelButton:focus-visible {
  background: var(--color-white) !important;
  color: var(--color-midnight-steel) !important;
}

.ipp-nav-linkedin:hover,
.ipp-nav-linkedin:focus-visible,
.ipp-mobile-linkedin:hover,
.ipp-mobile-linkedin:focus-visible,
.ipp-footer-linkedin:hover,
.ipp-footer-linkedin:focus-visible {
  background: rgba(219, 224, 229, 0.5);
  color: var(--color-midnight-steel) !important;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin-top: 0;
}

h1 {
  font-weight: 400;
  font-size: 80px;
  line-height: 1.1;
}

h2 {
  font-weight: 900;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: 0.05em;
}

h3 {
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h4 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.17;
  letter-spacing: 0.02em;
}

h5,
button {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.33;
  letter-spacing: 0.02em;
}

p,
li,
a,
input,
textarea {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.33;
  letter-spacing: 0.025em;
}

.ippstyle-footer {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.02em;
}

section {
  margin: 0;
  padding: 50px 0;
}

section[id] {
  scroll-margin-top: 110px;
}

.section_pebble-grey {
  background: rgba(219, 224, 229, 0.5);
}

.section_midnight-steel {
  background: var(--color-midnight-steel);
  color: var(--color-white);
}

.section_white {
  background: var(--color-white);
  color: var(--color-midnight-steel);
}

@media screen and (max-width: 1200px) {
  .clamp {
    width: calc(100% - 64px);
  }

  h1 {
    font-size: 64px;
    line-height: 1.1;
  }

  h3 {
    font-size: 28px;
    line-height: 1.2;
  }
}

@media screen and (max-width: 1024px) {
  body {
    padding-top: 82px;
  }

  .clamp {
    width: min(912px, calc(100% - 64px));
  }

  h1 {
    font-size: 50px;
    line-height: 1.12;
  }

  h2 {
    font-size: 14px;
    line-height: 1.22;
  }

  h3 {
    font-size: 23px;
    line-height: 1.17;
  }

  h4 {
    font-size: 20px;
    line-height: 1.2;
  }

  h5,
  button {
    font-size: 16px;
    line-height: 1.38;
  }

  p,
  li,
  a,
  input,
  textarea {
    font-size: 16px;
    line-height: 1.38;
  }

  h1 br,
  h2 br,
  h3 br,
  h4 br,
  h5 br,
  p br {
    display: none;
  }

  .blueButton,
  .steelButton,
  .whiteButton {
    min-width: 160px;
    padding: 12px 28px;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 86px;
  }

  section {
    padding: 50px 0;
  }

  .clamp {
    width: calc(100% - 48px);
  }

  .blueButton,
  .steelButton,
  .whiteButton {
    min-height: 48px;
    padding: 12px 24px;
  }

  .centerButtonDiv .centerButton {
    max-width: 100%;
  }
}

@media screen and (max-width: 600px) {
  section {
    padding: 40px 0;
  }

  .clamp {
    width: calc(100% - 40px);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  p {
    word-break: normal;
    overflow-wrap: break-word;
  }

  .blueButton,
  .steelButton,
  .whiteButton {
    width: 100%;
    max-width: 320px;
    min-width: 0;
  }

  img,
  svg,
  video {
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding-top: 78px;
  }

  .clamp {
    width: calc(100% - 32px);
  }

  section {
    padding: 36px 0;
  }

  h1 {
    font-size: 42px;
    line-height: 1.12;
  }

  h3 {
    font-size: 21px;
    line-height: 1.22;
  }
}
