* {
  box-sizing: border-box;
}

:root {
  --blue: #1687ff;
  --blue-dark: #0875e8;
  --white: #ffffff;
  --muted: #a7adb5;
  --border: #343a40;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #000;
}

body {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 28px 26px;
  overflow: hidden;
}

.content {
  width: min(100%, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand {
  width: min(72vw, 390px);
  margin-bottom: 32px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

h1 {
  width: 100%;
  margin: 0 0 38px;
  color: #fff;
  font-size: clamp(30px, 5vw, 43px);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -1.2px;
  text-align: left;
}

.app-button,
.login-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.app-button {
  min-height: 64px;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 19px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 0 34px rgba(22, 135, 255, .26);
}

/* Tombol "Dapatkan aplikasi" hanya relevan buat pengunjung web biasa yang
   belum punya app-nya. Kalau situs ini dibuka DI DALAM APK Zack Debeat
   sendiri (lihat deteksi window.Capacitor di index.html), tombolnya
   disembunyikan karena pengguna sudah pakai app. Perilaku di web biasa
   tidak berubah sama sekali. */
.is-native-app .app-button {
  display: none;
}

.app-button:hover {
  background: var(--blue-dark);
  box-shadow: 0 0 42px rgba(22, 135, 255, .38);
}

.app-button:active,
.login-button:active {
  transform: scale(.985);
}

.login-section {
  width: 100%;
  margin-top: 72px;
  text-align: center;
}

.login-section p {
  margin: 0 0 20px;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.login-button {
  min-height: 60px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 18px;
}

.login-button:hover {
  opacity: .9;
}

footer {
  width: min(100%, 760px);
  margin-top: 58px;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
  line-height: 2.35;
}

footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 8px;
}

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

footer a:hover {
  color: #fff;
}

.copyright {
  margin-top: 2px;
}

@media (max-width: 600px) {
  .landing {
    justify-content: space-between;
    padding: 32px 32px 20px;
  }

  .content {
    margin-top: 7vh;
  }

  .brand {
    width: min(76vw, 360px);
    margin-bottom: 36px;
  }

  h1 {
    font-size: 31px;
    margin-bottom: 34px;
  }

  .app-button {
    min-height: 62px;
    font-size: 18px;
  }

  .login-section {
    margin-top: 68px;
  }

  .login-section p {
    font-size: 19px;
    margin-bottom: 18px;
  }

  .login-button {
    min-height: 58px;
  }

  footer {
    margin-top: 40px;
    font-size: 14px;
    line-height: 2.5;
  }
}

@media (max-height: 700px) and (max-width: 600px) {
  .content {
    margin-top: 0;
  }

  .brand {
    width: min(65vw, 290px);
    margin-bottom: 24px;
  }

  h1 {
    margin-bottom: 25px;
  }

  .login-section {
    margin-top: 40px;
  }

  footer {
    margin-top: 24px;
  }
}
