:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #050c12;
}

.qa-contact-only .v5-site > .v5-skip,
.qa-contact-only .v5-site > .v5-header,
.qa-contact-only .v5-site > main > section:not(.v5-contact),
.qa-contact-only .v5-site > footer {
  display: none !important;
}

.qa-contact-only .v5-contact {
  min-height: 100vh;
}

.qa-static-capture *,
.qa-contact-only * {
  animation: none !important;
  transition: none !important;
}

.qa-static-capture .v5-hero__scene {
  background: #081118 url("/v5/border-data-first.webp") center / cover no-repeat;
}

.qa-mobile-frame {
  width: 320px;
  height: 692px;
  overflow: hidden;
  background: #050c12;
}

.qa-mobile-frame iframe {
  display: block;
  width: 390px;
  height: 844px;
  border: 0;
  transform: scale(0.82);
  transform-origin: top left;
}

.qa-desktop-frame {
  width: 800px;
  height: 528px;
  overflow: hidden;
  background: #050c12;
}

.qa-desktop-frame iframe {
  display: block;
  width: 1363px;
  height: 900px;
  border: 0;
  transform: scale(0.587);
  transform-origin: top left;
}

.tg-rebuilt .v5-nav__access {
  display: none;
}

@media (max-width: 1180px) {
  .tg-rebuilt .v5-header .v5-signin {
    display: inline-flex !important;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
}

@media (max-width: 860px) {
  .tg-rebuilt .v5-header .v5-signin {
    display: none !important;
  }

  .tg-rebuilt .v5-nav__access {
    display: inline-flex;
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    width: fit-content;
    min-height: 28px;
    margin-inline: auto;
    padding-inline: 16px;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
  }

  .tg-rebuilt .v5-nav__access:focus-visible {
    outline: 2px solid #d8bb73;
    outline-offset: 4px;
  }
}

@media (max-width: 420px) {
  .tg-rebuilt .v5-header {
    grid-template-columns: 108px 1fr;
  }

  .tg-rebuilt .v5-brand,
  .tg-rebuilt .v5-brand .brand-logo {
    width: 108px;
  }

  .tg-rebuilt .v5-locale {
    gap: 0;
  }

  .tg-rebuilt .v5-locale a {
    width: 29px;
    height: 34px;
    font-size: 10px;
  }

  .tg-rebuilt .v5-menu {
    width: 36px;
    height: 36px;
  }
}

.tg-contact-form-mount {
  grid-column: 1 / -1;
}

.tg-contact-form {
  border-top: 1px solid rgba(233, 237, 234, 0.2);
  margin-top: 10px;
  padding-top: 28px;
}

.tg-contact-form__head {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 1.3fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.tg-contact-form__head h3 {
  margin: 0;
  color: #f3f0e7;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.06;
  font-weight: 540;
  letter-spacing: -0.035em;
}

.tg-contact-form__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tg-contact-form__mode {
  border: 1px solid rgba(233, 237, 234, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: #b8c3c5;
  min-height: 52px;
  padding: 10px 14px;
  font: 500 11px/1.3 var(--tg-mono, "IBM Plex Mono", monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.tg-contact-form__mode.is-active {
  border-color: #c8a44b;
  background: rgba(200, 164, 75, 0.12);
  color: #f2d993;
}

.tg-contact-form__fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tg-contact-form label {
  display: grid;
  gap: 8px;
  color: #8d9da2;
  font: 500 10px/1.4 var(--tg-mono, "IBM Plex Mono", monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tg-contact-form input[type="text"],
.tg-contact-form input[type="email"] {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  border: 1px solid rgba(233, 237, 234, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
  color: #f3f0e7;
  padding: 0 14px;
  font: 450 15px/1.3 var(--tg-sans, Onest, sans-serif);
  outline: none;
}

.tg-contact-form input:focus {
  border-color: #c8a44b;
  box-shadow: 0 0 0 2px rgba(200, 164, 75, 0.12);
}

.tg-contact-form__consent {
  display: flex !important;
  grid-column: 1 / -1;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 11px !important;
  margin-top: 16px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-family: var(--tg-sans, Onest, sans-serif) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  color: #91a1a5 !important;
}

.tg-contact-form__consent input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: #c8a44b;
  flex: 0 0 auto;
}

.tg-contact-form__consent a {
  color: #d8c27e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tg-contact-form__footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.tg-contact-form__submit {
  min-height: 52px;
  border: 1px solid #c8a44b;
  background: #c8a44b;
  color: #071016;
  padding: 0 22px;
  font: 650 11px/1 var(--tg-mono, "IBM Plex Mono", monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.tg-contact-form__submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.tg-contact-form__status {
  margin: 0;
  color: #aab8bb;
  font-size: 13px;
  line-height: 1.5;
}

.tg-contact-form__status[data-state="success"] {
  color: #83c5a4;
}

.tg-contact-form__status[data-state="error"] {
  color: #e1a3a3;
}

.tg-contact-form__trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 860px) {
  .tg-contact-form__head,
  .tg-contact-form__fields {
    grid-template-columns: 1fr;
  }

  .tg-contact-form__head {
    align-items: stretch;
  }

  .tg-contact-form__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .tg-contact-form__submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .tg-contact-form__modes {
    grid-template-columns: 1fr;
  }
}
