@font-face {
  font-family: "Termina";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/termina-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Termina";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/termina-bold.woff2") format("woff2");
}

:root {
  --apex-bg: #07121c;
  --apex-white: #fff;
  --apex-text: #f8fbff;
  --apex-line: rgba(255, 255, 255, 0.66);
  --apex-muted-line: rgba(255, 255, 255, 0.38);
  --apex-gold: #ffe3a4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.apex-contact-page {
  background: var(--apex-bg);
  color: var(--apex-text);
  font-family: "Termina", Arial, Helvetica, sans-serif;
  margin: 0;
  min-height: 100vh;
}

body.apex-contact-page a {
  color: inherit;
  text-decoration: none;
}

.apex-site-header {
  align-items: center;
  background: rgba(0, 0, 0, 0.78);
  border-radius: 28px;
  display: flex;
  height: 56px;
  justify-content: space-between;
  left: 50%;
  max-width: calc(100vw - 48px);
  padding: 0 43px 0 32px;
  position: fixed;
  top: 13px;
  transform: translateX(-50%);
  width: 872px;
  z-index: 1000;
}

.apex-site-header::before {
  background: linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.25) 16%, rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.2) 68%, transparent 100%);
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  position: absolute;
}

.apex-logo {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  position: relative;
}

.apex-logo img {
  display: block;
  height: 34px;
  width: 153px;
}

.apex-site-header nav {
  align-items: center;
  display: flex;
  gap: 32px;
  position: relative;
}

.apex-site-header nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.apex-site-header nav a:hover,
.apex-site-header nav a.is-active {
  color: var(--apex-gold);
}

.apex-contact-main {
  min-height: calc(100vh - 252px);
}

.apex-contact-section {
  margin: 0 auto;
  max-width: 950px;
  padding: 154px 0 70px;
  width: calc(100% - 96px);
}

.apex-contact-section h1 {
  color: #fff;
  font-size: 97px;
  font-weight: 700;
  line-height: 0.98;
  margin: 0 0 74px;
  text-transform: uppercase;
}

.apex-contact-form {
  display: grid;
  gap: 26px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apex-form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.apex-form-field.is-full {
  grid-column: 1 / -1;
}

.apex-form-field label {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 19px;
}

.apex-form-field input,
.apex-form-field textarea {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--apex-line);
  border-radius: 0;
  color: #fff;
  font: 400 18px/1.45 "Termina", Arial, Helvetica, sans-serif;
  min-height: 25px;
  outline: none;
  padding: 0 0 12px;
  width: 100%;
}

.apex-form-field textarea {
  min-height: 86px;
  resize: vertical;
}

.apex-form-field input:focus,
.apex-form-field textarea:focus {
  border-bottom-color: #fff;
}

.apex-submit {
  align-items: center;
  background: transparent;
  border: 2px solid var(--apex-muted-line);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: 700 18px/1 "Termina", Arial, Helvetica, sans-serif;
  grid-column: 1 / -1;
  height: 44px;
  justify-content: center;
  margin-top: -2px;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
  width: 100%;
}

.apex-submit:hover,
.apex-submit:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #07121c;
}

.apex-form-status {
  color: #fff;
  font-size: 13px;
  grid-column: 1 / -1;
  line-height: 1.5;
  min-height: 20px;
}

.apex-footer {
  background: var(--apex-bg);
  color: #fff;
  padding: 64px 0 34px;
}

.apex-footer-inner {
  display: grid;
  gap: 82px;
  grid-template-columns: 155px 290px 210px;
  margin: 0 auto;
  max-width: 950px;
  position: relative;
  width: calc(100% - 96px);
}

.apex-footer h2 {
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 27px;
}

.apex-footer p,
.apex-footer a {
  font-size: 17px;
  line-height: 1.38;
  margin: 0;
}

.apex-footer .email-link {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.35;
  word-break: break-word;
}

.apex-footer-menu {
  display: flex;
  flex-direction: column;
}

.apex-footer-credit,
.apex-footer-copy {
  align-self: end;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  margin-top: 50px;
}

.apex-footer-credit {
  grid-column: 1 / span 2;
}

.apex-footer-copy {
  font-size: 16px;
  font-weight: 700;
  justify-self: end;
  white-space: nowrap;
}

.apex-accessibility-button {
  align-items: center;
  background: #1232c3;
  border: 0;
  border-radius: 50%;
  bottom: 32px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  color: #fff;
  display: flex;
  height: 64px;
  justify-content: center;
  left: 36px;
  position: fixed;
  width: 64px;
  z-index: 9998;
}

.apex-accessibility-button svg {
  height: 34px;
  width: 34px;
}

@media (max-width: 900px) {
  .apex-site-header {
    max-width: calc(100vw - 32px);
    padding: 0 28px;
    width: 100%;
  }

  .apex-site-header nav {
    gap: 20px;
  }

  .apex-site-header nav a {
    font-size: 12px;
  }

  .apex-contact-section,
  .apex-footer-inner {
    width: calc(100% - 48px);
  }

  .apex-contact-section h1 {
    font-size: 70px;
  }
}

@media (max-width: 750px) {
  .apex-site-header {
    justify-content: center;
    padding: 0 24px;
    top: 12px;
    width: calc(100vw - 32px);
  }

  .apex-site-header nav {
    display: none;
  }

  .apex-logo img {
    height: 30px;
    width: 135px;
  }

  .apex-contact-section {
    padding: 118px 0 56px;
    width: calc(100% - 44px);
  }

  .apex-contact-section h1 {
    font-size: 48px;
    margin-bottom: 52px;
  }

  .apex-contact-form {
    grid-template-columns: 1fr;
  }

  .apex-form-field label,
  .apex-form-field input,
  .apex-form-field textarea,
  .apex-submit {
    font-size: 16px;
  }

  .apex-footer {
    padding: 44px 0 30px;
  }

  .apex-footer-inner {
    gap: 34px;
    grid-template-columns: 1fr;
    width: calc(100% - 44px);
  }

  .apex-footer-credit,
  .apex-footer-copy {
    grid-column: auto;
    justify-self: start;
    margin-top: 10px;
  }

  .apex-accessibility-button {
    bottom: 18px;
    height: 56px;
    left: 18px;
    width: 56px;
  }
}
