@media screen and (max-width: 768px) {
  :root {
    font-size: 14px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

a,
.button {
  line-height: 1.2;
}

.button {
  font-weight: 500;
}

body {
  font-family: "Rubik Variable", "Rubik", sans-serif;
  line-height: 1.5;
  color: #030517;
  font-size: 1rem;
  background-color: #fafcff;
}

.home-hero {
  position: relative;
  background-image: linear-gradient(to bottom, rgba(5, 2, 20, 0.15) 0%, rgba(19, 15, 48, 0.15) 100%), url("/imgs/hero-bg-home.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 95% 0;
  padding: 8px 16px;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 64px;
  overflow: hidden;
}

.home-hero-content {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

.home-hero-container {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 2em;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90%;
}

.home-hero-logo {
  margin: -25.78px -13.18px -32.22px -23.54px;
}
.home-hero-logo img {
  width: 540px;
}

.home-hero-heading {
  font-size: 1.75rem;
  font-weight: 500;
  color: #fafcff;
  margin-bottom: 24px;
  margin-top: 3rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 0, 0, 0.1);
}

.home-hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.home-cta {
  display: flex;
  background-image: linear-gradient(to bottom, rgba(5, 2, 20, 0.5) 0%, rgba(19, 15, 48, 0.5) 100%), url("/imgs/cta-bg-home.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 100% 35%;
  height: 30vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 16px;
  text-align: center;
}

.home-cta-heading {
  color: #fafcff;
  margin-bottom: 32px;
}

.home-about {
  padding: 0 64px;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: clip;
  overflow-y: visible;
}

.home-about-row {
  max-width: 1600px;
  display: flex;
  align-items: center;
  position: relative;
  padding-bottom: 64px;
  margin-bottom: 64px;
  width: 100%;
  justify-content: space-between;
  gap: 160px;
}
.home-about-row .home-about-text {
  margin-right: 0;
}
.home-about-row:nth-child(even) {
  flex-direction: row-reverse;
}
.home-about-row::after {
  content: "";
  height: 1px;
  width: 100%;
  background-color: #ceced0;
  position: absolute;
  bottom: 0;
  left: 0;
}
.home-about-row:last-child::after {
  display: none;
}
.home-about-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.home-about-image {
  flex: 0 1 42%;
  min-width: 280px;
  position: relative;
}
.home-about-image img {
  height: auto;
  width: 100%;
  max-width: 560px;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
}

.home-about-image--stacked .home-about-image-overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: auto;
  width: 60%;
  transform: translate(-30%, -20%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid #43414d;
}

.home-about-text {
  max-width: 600px;
  flex: 1 1 560px;
  min-width: 380px;
}
.home-about-text h3 {
  margin-bottom: 16px;
  color: #030517;
  font-size: 2rem;
}
.home-about-text p {
  color: #3b3d4a;
  font-size: 1.25rem;
  margin-bottom: 32px;
}
.home-about-text p span.thick {
  font-weight: 500;
  color: #2378f4;
}
.home-about-text p span.underline {
  border-bottom: 3px dotted #2378f4;
}

@media screen and (max-width: 1025px) {
  .home-hero {
    padding-left: 80px;
    background-position: 90% 0;
  }
  .home-about {
    padding: 0 40px;
  }
  .home-about-image {
    min-width: 240px;
  }
  .home-about-image img {
    max-height: 320px;
  }
  .home-about-row {
    gap: 80px;
  }
  .home-about-text {
    min-width: 340px;
  }
  .home-hero-logo img {
    width: 480px;
  }
}
@media screen and (max-width: 769px) {
  .home-hero {
    padding-left: 16px;
    align-items: center;
    text-align: center;
    background-position: 95% 0;
  }
  .home-about {
    padding: 0 24px;
  }
  .home-about-image {
    flex: 0 0 auto;
    min-width: 0;
    margin-top: 20px;
    margin-bottom: 0;
  }
  .home-about-image img {
    height: auto;
    width: 100%;
    max-height: 50vh;
    object-fit: contain;
  }
  .home-about-text {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .home-about-row {
    flex-direction: column !important;
    gap: 0;
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
  .home-about-row h3 {
    text-align: center;
  }
  .home-about-image--stacked .home-about-image-overlay {
    left: 50%;
    width: min(72vw, 340px);
    top: auto;
    bottom: 0;
    transform: translate(-50%, 16%);
  }
}
@media screen and (max-width: 426px) {
  .home-hero-logo img {
    width: 96%;
  }
  .home-about-image img {
    height: auto;
    max-height: 190px;
    object-fit: contain;
    width: 90vw;
  }
  .home-about-image--stacked .home-about-image-overlay {
    width: min(78vw, 280px);
    transform: translate(-50%, 12%);
  }
}