* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #f7f3ec;
  background: #0f1115;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 7vw;
  background: rgba(12, 14, 18, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
}

.site-header.solid {
  position: sticky;
  background: rgba(12, 14, 18, 0.94);
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-align: center;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 74px;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/home-background.jpg");
  background-size: cover;
  background-position: center top;
  opacity: 0.68;
  filter: grayscale(8%) saturate(88%) contrast(96%);
}

.hero-shade {
  position: absolute;
  top: 74px;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    radial-gradient(circle at 22% 42%, rgba(108, 69, 35, 0.12), transparent 36%),
    linear-gradient(90deg, rgba(7, 9, 13, 0.62) 0%, rgba(7, 9, 13, 0.38) 44%, rgba(7, 9, 13, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.16) 0%, rgba(7, 9, 13, 0.50) 100%);
}

.hero-ribbon-row {
  position: absolute;
  z-index: 2;
  top: 74px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  background: rgba(12, 14, 18, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
}

.hero-ribbon {
  margin: 0;
  padding: 14px 22px;
  color: #d8b579;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.4px;
  line-height: 1.05;
  text-transform: uppercase;
  background: transparent;
  white-space: nowrap;
}

.hero-ribbon-left {
  margin-left: 0;
}

.hero-ribbon-right {
  margin-right: 0;
}


.hero-download-button {
  position: absolute;
  z-index: 2;
  left: 34px;
  bottom: 110px;
  display: inline-block;
  margin: 0;
  padding: 14px 22px;
  color: #d8b579;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.4px;
  line-height: 1.05;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(12, 14, 18, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-download-button:hover {
  color: #e2c894;
}

.simple-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 181, 121, 0.16), transparent 30%),
    #0f1115;
}

.page-content {
  min-height: calc(100vh - 122px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 7vw;
}

.page-card {
  max-width: 760px;
  width: 100%;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.20);
}

.page-card .page-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 74px;
    padding: 18px 6vw;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
  }

  .brand {
    position: static;
    left: auto;
    transform: none;
  }

  .nav {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .hero-background,
  .hero-shade {
    top: 108px;
  }

  .hero-ribbon-row {
    top: 108px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .hero-ribbon {
    font-size: 12px;
    letter-spacing: 1.7px;
    white-space: normal;
    max-width: 100%;
  }

  .hero-ribbon-right {
    text-align: right;
  }

  .hero-download-button {
    left: 20px;
    bottom: 70px;
    font-size: 12px;
    letter-spacing: 1.7px;
  }
}
