@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("fonts/RedHatDisplay-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Red Hat Display";
  src: url("fonts/RedHatDisplay-Italic-VariableFont_wght.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Science Gothic";
  src: url("fonts/ScienceGothic-VariableFont_CTRS,slnt,wdth,wght.ttf") format("truetype");
  font-style: oblique -10deg 0deg;
  font-weight: 100 900;
  font-stretch: 50% 200%;
  font-display: swap;
}

:root {
  --background: #1e1e1e;
  --grey: #858585;
  --guide: #343434;
  --white: #ffffff;
  --page-width: 1504px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 1080px;
}

body {
  overflow: hidden;
  background: var(--background);
  color: var(--white);
}

.page {
  position: relative;
  width: 100%;
  min-height: 1080px;
  overflow: hidden;
}

.site-header {
  position: absolute;
  z-index: 2;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white);
  text-decoration: none;
}

.brand__symbol {
  display: block;
  width: 110px;
  height: 44px;
}

.brand__name {
  font-family: "Science Gothic", sans-serif;
  font-size: 18px;
  font-weight: 600;
  font-variation-settings: "CTRS" 0;
  line-height: 0.82;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero {
  position: absolute;
  top: 292px;
  left: 50%;
  width: var(--page-width);
  height: 603px;
  transform: translateX(-50%);
}

.hero__grid {
  display: block;
  width: 1504px;
  height: 603px;
}

.hero__content {
  position: absolute;
  z-index: 1;
  top: 76px;
  left: 50%;
  width: 700px;
  transform: translateX(-50%);
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: "Red Hat Display", sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 0.92;
}

.hero h1 span {
  color: var(--grey);
}

.hero p {
  margin: 35px 0 0;
  color: var(--grey);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}

.copy--mobile {
  display: none;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 151px;
  height: 54px;
  padding: 0 20px;
  border: 1px solid transparent;
  color: var(--background);
  font-family: "Red Hat Display", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.75px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button--primary {
  background: var(--white);
}

.button--secondary {
  min-width: 130px;
  background: var(--grey);
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary:hover {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.button--secondary:hover {
  background: var(--white);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.guide {
  position: absolute;
  z-index: 1;
  background: var(--guide);
  pointer-events: none;
}

.guide--horizontal {
  left: 0;
  width: 100%;
  height: 1px;
}

.guide--vertical {
  top: 158px;
  width: 1px;
  height: calc(100% - 158px);
}

.guide--top {
  top: 168px;
}

.guide--bottom {
  top: 895px;
}

.guide--left {
  left: calc(50% - 752px);
}

.guide--right {
  left: calc(50% + 752px);
}

.registration-mark {
  position: absolute;
  z-index: 3;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.registration-mark::before,
.registration-mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%);
}

.registration-mark::before {
  width: 20px;
  height: 1px;
}

.registration-mark::after {
  width: 1px;
  height: 20px;
}

.registration-mark--top-left,
.registration-mark--bottom-left {
  left: calc(50% - 752px);
}

.registration-mark--top-right,
.registration-mark--bottom-right {
  left: calc(50% + 752px);
}

.registration-mark--bottom-center {
  left: 50%;
}

.registration-mark--top-left,
.registration-mark--top-right {
  top: 168px;
}

.registration-mark--bottom-left,
.registration-mark--bottom-center,
.registration-mark--bottom-right {
  top: 895px;
}

@media (max-width: 767px) {
  html,
  body {
    min-width: 0;
    min-height: 932px;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .page {
    min-height: 932px;
  }

  .site-header {
    top: 50px;
  }

  .guide--top {
    top: 141px;
  }

  .guide--bottom {
    top: 865px;
  }

  .guide--vertical {
    top: 0;
    height: 100%;
  }

  .guide--left {
    left: 24px;
  }

  .guide--right {
    right: 24px;
    left: auto;
  }

  .registration-mark--top-left,
  .registration-mark--bottom-left {
    left: 24px;
  }

  .registration-mark--top-right,
  .registration-mark--bottom-right {
    right: 24px;
    left: auto;
    transform: translate(50%, -50%);
  }

  .registration-mark--top-left,
  .registration-mark--top-right {
    top: 141px;
  }

  .registration-mark--bottom-left,
  .registration-mark--bottom-right {
    top: 865px;
  }

  .registration-mark--bottom-center {
    display: none;
  }

  .hero {
    top: 295px;
    left: 38px;
    width: calc(100% - 76px);
    height: 570px;
    transform: none;
  }

  .hero__grid {
    position: absolute;
    top: 417px;
    left: -14px;
    width: calc(100% + 28px);
    height: auto;
  }

  .hero__content {
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    margin-top: 38px;
    font-size: 14px;
    line-height: 1.35;
  }

  .desktop-break,
  .copy--desktop {
    display: none;
  }

  .copy--mobile {
    display: inline;
  }

  .hero__actions {
    flex-direction: column;
    gap: 11px;
    margin-top: 22px;
  }

  .button,
  .button--secondary {
    width: 100%;
    min-width: 0;
  }
}
