/* ----- Root ----- */

@font-face {
  font-family: "Ges Rounded";
  src: url("fonts/Ges-Rounded.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "SquaresBold";
  src: url("fonts/SquaresBold.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

:root {
  --primaryColor1: #101010;
  --primaryColor2: 19 19 19;
  --secondaryColor1: #313134;
  --secondaryColor2: #282828;
  --buttonColor: #a1510f;
  --buttonColorHover: #ff8400;
  --textColor: #ffffff;
  --mutedTextColor: #c9c9c9;
  --panelColor: rgb(18 18 20 / 82%);
  --overlayColor: 0 0 0;
  --overlayOpacity: 0.72;
  --header-height: 4rem;
  --header-padding-x: 2rem;
  --section-max-width: 66rem;
  --section-min-width: 13.5rem;
  --section-padding: 1rem;
  --section-gap: 4rem;
  --borderRadiusLarge: 4px;
  --transition-fast: 160ms ease;
  --transition-medium: 320ms ease;
  --z-header: 50;
  --z-menu: 70;
  --z-overlay: 60;

  --fontMain: "Ges Rounded", system-ui, sans-serif;
  --fontDisplay: "SquaresBold", "Ges Rounded", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: var(--section-min-width);
  scroll-behavior: smooth;
  background: var(--primaryColor1);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--primaryColor1);
  color: var(--textColor);
  font-family: var(--fontMain);
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.pageShell {
  min-height: 100vh;
}

body.prep-layout {
  visibility: hidden;
}

/* ----- Header ----- */

.siteHeader {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  display: flex;
  justify-content: center;
  width: 100%;
  height: var(--header-height);
  padding: 0 var(--header-padding-x);
  border-bottom: 1px solid var(--secondaryColor2);
  background: rgb(var(--primaryColor2) / 90%);
  backdrop-filter: blur(10px);
  user-select: none;
}

.headerWrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--section-max-width);
}

.headerLeft {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 0;
}

.siteIcon {
  width: 1.1rem;
  height: 1.1rem;
}

.logoLink {
  position: relative;
  display: block;
  width: 5rem;
  height: 2rem;
}

.logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity var(--transition-fast);
}

.logo.hover {
  opacity: 0;
}

.logoLink:hover .logo.default {
  opacity: 0;
}

.logoLink:hover .logo.hover {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--fontDisplay);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.nav a {
  text-decoration: none;
  color: var(--textColor);
  transition: color var(--transition-fast);
}

.nav a:hover {
  color: var(--buttonColorHover);
}

.navWrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.navWrapper::before,
.navWrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  opacity: 0;
  background: var(--buttonColorHover);
  transform: translateY(-50%);
  transition: opacity var(--transition-fast);
  mask-image: url("assets/Highlight.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("assets/Highlight.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.navWrapper::before {
  left: -1rem;
}

.navWrapper::after {
  right: -1rem;
  transform: translateY(-50%) rotate(180deg);
}

.navWrapper:has(a:hover)::before,
.navWrapper:has(a:hover)::after {
  opacity: 1;
}

.menuButton {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  border: 1px solid var(--secondaryColor1);
  border-radius: var(--borderRadiusLarge);
  background: transparent;
  cursor: pointer;
}

.menuButton span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--textColor);
  transition: background var(--transition-fast);
}

.menuButton:hover span {
  background: var(--buttonColorHover);
}

.sideMenuOverlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgb(var(--overlayColor) / var(--overlayOpacity));
}

.sideMenu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-menu);
  width: min(22rem, 84vw);
  height: 100dvh;
  padding: 5rem 2rem 2rem;
  background: rgb(var(--primaryColor2) / 96%);
  border-left: 1px solid var(--secondaryColor1);
  transform: translateX(100%);
  transition: transform var(--transition-medium);
}

.sideMenu.active {
  transform: translateX(0);
}

.menuCloseButton {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--textColor);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

.menuCloseButton:hover {
  color: var(--buttonColorHover);
}

.nav.column {
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  font-size: 1.7rem;
}

/* ----- Hero ----- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  justify-content: center;
  padding: 5rem var(--section-padding);
  background: linear-gradient(to bottom, #0d0d0d 0%, var(--primaryColor1) 100%);
}

.backgroundLines {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: auto;
  transform: translateX(-50%);
  opacity: 0.55;
  pointer-events: none;
}

.heroInner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.95fr);
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: var(--section-max-width);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--buttonColorHover);
  font-family: var(--fontDisplay);
  font-weight: 900;
  letter-spacing: 0.12em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--fontDisplay);
  font-weight: 900;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.9;
  text-shadow: 6px 6px 6px rgb(0 0 0 / 90%);
}

.heroText {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--mutedTextColor);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.45;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button,
.submitButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.2rem;
  border: 2px solid var(--buttonColor);
  border-radius: var(--borderRadiusLarge);
  color: var(--textColor);
  font-family: var(--fontDisplay);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition:
    color var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.button:hover,
.submitButton:hover {
  transform: translateY(-1px);
}

.button.primary,
.submitButton {
  background: linear-gradient(#c56520, var(--buttonColor));
}

.button.primary:hover,
.submitButton:hover {
  border-color: var(--buttonColorHover);
}

.button.secondary {
  background: rgb(0 0 0 / 18%);
}

.button.secondary:hover {
  color: var(--buttonColorHover);
}

.heroVisual {
  position: relative;
  min-height: 26rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.displayMap {
  width: min(42rem, 100%);
  filter: drop-shadow(8px 8px 8px rgb(0 0 0 / 100%));
}

.heroLogo {
  position: absolute;
  width: min(18rem, 48%);
  filter: drop-shadow(8px 8px 8px rgb(0 0 0 / 100%));
}

/* ----- Content ----- */

.bodyContainer {
  width: 100%;
  max-width: var(--section-max-width);
  min-width: var(--section-min-width);
  margin: 0 auto;
  padding: 4rem var(--section-padding) 5rem;
}

.launchGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: var(--section-gap);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.launchCard,
.miniCard {
  border: 2px solid var(--secondaryColor1);
  border-radius: var(--borderRadiusLarge);
  background: var(--panelColor);
  padding: 1.5rem;
}

.cardHeader {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.cardIcon {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.cardHeader h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1;
}

.seperator {
  width: 100%;
  height: 2px;
  margin: 1rem 0;
  background: var(--secondaryColor2);
}

.launchCard p,
.miniCard p,
.featureList {
  color: var(--textColor);
  line-height: 1.35;
}

.waitlistForm {
  margin-top: 1.5rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formRow {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.formSplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  padding-left: 0.35rem;
  font-size: 0.8rem;
  color: var(--textColor);
}

input,
select {
  width: 100%;
  height: 2.7rem;
  padding: 0 1rem;
  border: 1px solid var(--buttonColor);
  border-radius: 8px;
  background: rgb(16 16 16 / 84%);
  color: var(--textColor);
  outline: none;
}

input::placeholder {
  color: #858585;
}

input:focus,
select:focus {
  border-color: var(--buttonColorHover);
}

.selectWrapper {
  position: relative;
}

.selectWrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.9rem;
  width: 0.75rem;
  height: 0.75rem;
  transform: translateY(-50%);
  background: var(--textColor);
  pointer-events: none;
  mask-image: url("assets/Arrow.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url("assets/Arrow.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.submitButton {
  width: 100%;
  margin-top: 0.25rem;
}

.formNote,
.formMessage {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
}

.formNote {
  color: var(--mutedTextColor);
}

.formMessage {
  min-height: 1.2em;
  color: var(--buttonColorHover);
  font-weight: 800;
}

.featureList {
  margin: 0;
  padding-left: 1.15rem;
}

.featureList li + li {
  margin-top: 1rem;
}

.infoCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: var(--section-gap);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.miniCard .cardHeader h2 {
  font-size: 1.55rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 2rem var(--section-padding);
  border-top: 1px solid var(--secondaryColor2);
  color: var(--mutedTextColor);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--mutedTextColor);
  text-decoration: none;
}

.footer a:hover {
  color: var(--buttonColorHover);
}

/* ----- Responsive ----- */

@media (max-width: 900px) {
  :root {
    --section-gap: 2rem;
  }

  .heroInner,
  .launchGrid,
  .infoCards {
    grid-template-columns: 1fr;
  }

  .heroVisual {
    min-height: 18rem;
    order: -1;
  }

  .displayMap {
    width: min(34rem, 95%);
  }
}

@media (max-width: 800px) {
  :root {
    --header-padding-x: 1rem;
  }

  .nav.standard {
    display: none;
  }

  .menuButton {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-block: 3rem;
  }

  h1 {
    max-width: 11ch;
  }
}

@media (max-width: 560px) {
  .heroActions,
  .formSplit,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .launchCard,
  .miniCard {
    padding: 1rem;
  }

  .heroVisual {
    min-height: 13rem;
  }

  .heroLogo {
    width: 42%;
  }
}
