@charset "UTF-8";

@font-face {
  font-family: "TENET Sans";
  src: url("../fonts/TENETSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TENET Sans";
  src: url("../fonts/TENETSans-SemiExpandedBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #080808;
  --card: #1e1f20;
  --text: #dddddd;
  --muted: #aaaaaa;
  --field: #c7b9ab;
  --accent: #eb9201;
  --accent-hover: #eb7201;
}

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

html {
  background: var(--background);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "TENET Sans", Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1310px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  background: var(--background);
}

.site-header__container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header__logo {
  display: inline-flex;
}

.site-header__logo img {
  display: block;
  width: auto;
  height: 28px;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1920px;
  min-height: 650px;
  margin: 0 auto;
  overflow: hidden;
  color: #ffffff;
  background: var(--background);
}

.hero__video,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .92) 0%, rgba(8, 8, 8, .69) 43%, rgba(8, 8, 8, .24) 72%, rgba(8, 8, 8, .38) 100%),
    linear-gradient(0deg, rgba(8, 8, 8, .34), transparent 42%);
}

.hero__container {
  min-height: 650px;
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
}

.hero__content {
  width: min(100%, 760px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  margin-bottom: 24px;
  font-size: 21px;
  line-height: 1.3;
}

.hero__eyebrow::before {
  content: "";
  width: 2em;
  height: 2px;
  flex: 0 0 2em;
  background: var(--accent);
}

.hero__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 4.4vw, 72px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.035em;
}

.hero__title-accent {
  color: var(--accent);
}

.hero__benefits {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 16.8px;
  font-weight: 700;
}

.hero__benefits span {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(6px);
}

@media (min-width: 768px) {
  .hero {
    min-height: 650px;
    aspect-ratio: 16 / 9;
  }

  .hero__container {
    height: 100%;
    min-height: 650px;
  }
}

.registration {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 70px 0;
  background: var(--background);
}

.registration__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 30px;
}

.card {
  width: 100%;
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  color: var(--text);
  background: var(--card);
  box-shadow: #101115 0 4px 14px;
}

.card__title {
  margin: 0;
  color: var(--text);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
}

.registration-form {
  margin-top: 22px;
}

.field {
  display: block;
  margin-bottom: 13px;
}

.field input,
.field select {
  width: 100%;
  height: 52px;
  padding: 14.5px 28px;
  border: 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  outline: none;
  color: var(--text);
  background: transparent;
  font-size: 17px;
  line-height: 22px;
  transition: border-color .2s, background-color .2s;
}

.field input::placeholder,
.field select {
  color: var(--field);
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 54px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23c7b9ab' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 28px center;
  background-size: 12px 8px;
}

.field select:valid {
  color: var(--text);
}

.field select option {
  color: var(--text);
  background: var(--card);
}

.field input:focus,
.field select:focus {
  border-bottom-color: var(--accent-hover);
  background-color: rgba(255, 255, 255, .025);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-webkit-autofill:active {
  border-bottom-color: var(--accent);
  caret-color: var(--text);
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--card) inset;
  box-shadow: 0 0 0 1000px var(--card) inset;
}

.field input:autofill {
  color: var(--text);
  background-color: var(--card);
}

.registration-form__submit {
  width: 100%;
  min-height: 54px;
  margin-top: 24px;
  padding: 12px 18px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  color: #ffffff;
  background: var(--accent);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, opacity .2s;
}

.registration-form__submit:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.registration-form__submit:disabled {
  cursor: default;
  opacity: .65;
}

.registration-form__status {
  min-height: 20px;
  margin-top: 12px;
  color: #ff8c7f;
  font-size: 13px;
  line-height: 1.4;
}

.participant-card {
  display: flex;
  flex-direction: column;
}

.participant-card .card__title {
  text-align: center;
}

.participant-card__number {
  margin-top: 42px;
  color: var(--accent);
  font-size: clamp(72px, 8vw, 128px);
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.participant-card__message {
  margin-top: 28px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 767px) {
  .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .site-header {
    height: 68px;
  }

  .site-header__logo img {
    width: min(100%, 290px);
    height: auto;
  }

  .hero {
    min-height: 520px;
  }

  .hero__container {
    min-height: 520px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(8, 8, 8, .84), rgba(8, 8, 8, .35));
  }

  .hero__eyebrow {
    max-width: 300px;
    margin-bottom: 18px;
    font-size: 15px;
  }

  .hero__eyebrow::before {
    width: 1.35em;
    flex-basis: 1.35em;
  }

  .hero__title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero__benefits {
    gap: 7px;
    font-size: 14.4px;
  }

  .hero__benefits span {
    padding: 8px 9px;
  }

  .registration {
    padding: 36px 0 40px;
  }

  .registration__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card {
    padding: 22px 18px;
  }

  .card__title {
    font-size: 23px;
  }

  .participant-card {
    min-height: 250px;
  }

  .participant-card__number {
    margin-top: 32px;
    font-size: 84px;
  }

  .participant-card__message {
    margin-top: 24px;
    font-size: 19.5px;
  }
}
