:root {
  --color-white: #fff;
  --color-grey: #ece9e0;
  --color-grey-light: #F8F7F3;
  --color-alert: #9A28D5;
  --color-blue: #1a1d56;
  --color-blue-10: #E8E8EE;
  --color-blue-light: #67aee0;
  --color-green: #21CAD2;
  --font-serif: "Unna", serif;
  --font-sans-serif: "Rethink Sans", sans-serif;
  --h1: 3.4rem;
  --h2: 2.4rem;
  --h3: 1.2rem;
  --global-font-size: 16px;
  --global-line-height: 1.2em;
  --global-font-size-small: 0.875rem;
  --global-font-size-x-small: 0.75rem;
  --rounded-radius: 5px;
  --content-padding: 4rem;
}
@media (width <= 600px) {
  :root {
    --h1: 2rem;
  }
}

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

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

input,
button,
textarea,
select {
  font: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

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

ul,
ol {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

:root {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@font-face {
  font-display: swap;
  font-family: "Unna";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/unna-v25-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Unna";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/unna-v25-latin-700.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Rethink Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/rethink-sans-v7-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Rethink Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/rethink-sans-v7-latin-700.woff2") format("woff2");
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans-serif);
  font-size: var(--global-font-size);
  color: var(--color-blue);
  background: var(--color-blue-10);
}

h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--h1);
  line-height: var(--global-line-height);
  text-wrap: balance;
  margin-bottom: 0.5em;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: var(--global-line-height);
  font-size: var(--h2);
  margin-bottom: 1em;
}

h3 {
  font-weight: 700;
  line-height: var(--global-line-height);
  font-size: var(--h3);
  margin-bottom: 1em;
}

p + p {
  margin-top: 1rem;
}

a {
  font-weight: 700;
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

strong {
  font-weight: 700;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--color-grey-light);
}

.inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}
.inner--narrow {
  max-width: 760px;
  margin: 0 auto;
}

.ta--c {
  text-align: center;
}

.text--s {
  font-size: 0.75rem;
}

.text--l {
  font-size: 1.25rem;
}

.text--blue {
  color: var(--color-blue-light);
}

.site-header {
  color: var(--color-blue);
  background: url("../img/bg_pattern_header.jpg") top right/50% auto no-repeat;
  padding: 2rem 2rem 6rem;
}
.site-header__nav {
  margin-bottom: 3rem;
}
.site-header p {
  font-size: calc(var(--global-font-size) * 2.4);
  font-weight: 700;
}
@media (width <= 600px) {
  .site-header p {
    font-size: calc(var(--global-font-size) * 1.4);
  }
}

.logo {
  width: 180px;
}
@media (width <= 600px) {
  .logo {
    width: 100px;
  }
}

.main {
  padding: 0 1rem 16rem;
  background: url("../img/bg_pattern_footer.jpg") bottom left/contain no-repeat;
}
.main__content {
  padding-bottom: var(--content-padding);
}
@media (width <= 600px) {
  .main__content {
    max-width: 340px;
    margin: 0 auto;
  }
}
.main__form {
  padding: 2rem;
  background: var(--color-grey);
  border-radius: var(--rounded-radius);
  scroll-margin-top: 2rem;
}
.main h2 {
  text-align: center;
}

.main__people {
  padding-top: var(--content-padding);
  flex-wrap: wrap;
}
@media (width <= 600px) {
  .main__people {
    max-width: 340px;
    margin: 0 auto;
  }
}

.cards {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
@media (width <= 600px) {
  .cards > div {
    flex: 1 0 100%;
  }
}

.card {
  flex: 1;
  text-align: center;
  background: var(--color-grey);
  padding: 1rem;
  border-radius: var(--rounded-radius);
}
.card__img {
  max-width: 100px;
  margin: 0 auto 1rem;
}
.card__header {
  margin-bottom: 1rem;
}
.card__header span {
  color: var(--color-blue-light);
}
.card__body {
  font-size: var(--global-font-size-x-small);
}

.separator {
  border-top: 1px solid var(--color-grey);
  margin: var(--content-padding) 0;
}

.tbl__row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tbl__row:not(:last-child) {
  margin-bottom: 1rem;
}
.tbl__row > div:first-child {
  flex: 0 0 120px;
}
@media (width <= 600px) {
  .tbl__row > div:first-child {
    flex-basis: 100%;
  }
}
.tbl__row > div:last-child {
  flex: 1;
}

.site-footer {
  font-size: var(--global-font-size-small);
  color: var(--color-white);
  background: var(--color-blue);
  padding: 3rem 1rem;
}
.site-footer img {
  width: 160px;
  margin-bottom: 2rem;
}
.site-footer .inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
@media (width <= 600px) {
  .site-footer .inner > div {
    flex: 1 0 100%;
  }
}

.footer-nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
@media (width <= 600px) {
  .footer-nav ul {
    justify-content: flex-start;
  }
}
.footer-nav a {
  color: var(--color-white);
}

label {
  display: block;
}

.form__row {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
@media (width <= 600px) {
  .form__row {
    gap: 1rem;
  }
}
.form__row > div {
  flex: 1;
}
@media (width <= 600px) {
  .form__row > div {
    flex-basis: 100%;
  }
}
.form__row--line {
  border-top: 1px solid var(--color-green);
  margin-top: 2rem;
  padding-top: 2rem;
}

input[type=text],
input[type=email] {
  width: 100%;
  height: 40px;
  padding: 0 1rem;
  border: 1px solid #e3e3e3;
}
input[type=text]:focus-visible,
input[type=email]:focus-visible {
  outline-color: var(--color-green);
}

select {
  line-height: 24px;
  width: 100%;
  height: 40px;
  padding: 0 1rem;
  border: 1px solid #e3e3e3;
}
select:focus-visible {
  outline-color: var(--color-green);
}

input[type=submit] {
  display: block;
  color: var(--color-white);
  background: var(--color-blue);
  width: 100%;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: var(--rounded-radius);
  cursor: pointer;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}
.checkbox [type=checkbox] {
  margin-top: 4px;
}
.checkbox + .checkbox {
  margin-top: 0.5rem;
}

.mc_fieldset {
  border: none;
  margin-bottom: 1rem;
}

.content__gdprBlock {
  font-size: var(--global-font-size-small);
}
.content__gdprBlock p {
  margin-bottom: 1em;
}

.asterisk {
  color: var(--color-alert);
}

.indicates-required {
  font-size: var(--global-font-size-small);
}

.loading .form {
  opacity: 0.5;
}

.submitted .form {
  display: none;
}

.hidden {
  display: none;
}

#mc_embed_signup .form__row input.mce_inline_error {
  border-color: var(--color-alert);
}
#mc_embed_signup .form__row div.mce_inline_error {
  background-color: unset;
  color: var(--color-alert);
  border-bottom: 2px solid var(--color-alert);
}
