:root {
  --page-bg: #ffffff;
  --nav-bg: #ffffff;
  --nav-link: #1e1e1e;
  --overlay-bg: transparent;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--page-bg);
  color: #1e1e1e;
  min-height: 100dvh;
  overflow: hidden;
}

nav {
  position: relative;
  width: 100%;
  background: var(--nav-bg);
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.9rem;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.nav-center li {
  margin: 0;
}

.nav-center a {
  display: block;
  padding: 0.55rem 0.8rem;
  color: var(--nav-link);
  text-decoration: none;
  font-weight: 500;
}

.nav-center a:hover {
  background: #f2f2f2;
  border-radius: 6px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #1e1e1e;
  font-weight: 600;
}

.brand-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 7px;
}

.nav-right {
  gap: 0.45rem;
}

.brought-by {
  font-size: 0.82rem;
  color: #444;
  white-space: nowrap;
}

.partner-logos {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.partner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.gsl-logo {
  height: 40px;
}

.slides {
  position: relative;
  width: 100%;
  height: calc(100dvh - 56px);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide-inner {
  width: min(1200px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.slide-image {
  width: 100%;
  height: calc(100% - 110px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.slide-inner h1 {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: #1e1e1e;
}

@media (max-width: 768px) {
  .slides {
    height: calc(100dvh - 168px);
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem 0.6rem;
    gap: 0.4rem 0.75rem;
  }

  .nav-center {
    position: static;
    left: auto;
    transform: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .nav-center a {
    text-align: center;
    border-top: 1px solid #f0f0f0;
    border-radius: 0;
  }

  .nav-right {
    justify-content: center;
  }

  .slide {
    padding: 0.8rem;
  }

  .slide-image {
    height: calc(100% - 90px);
  }
}
