*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: auto;
  overscroll-behavior: none;
  min-height: 100vh;
  min-height: 100dvh;
}

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

img {
  max-width: 100%;
  display: block;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

::-webkit-scrollbar {
  display: none;
}

/* Page wrapper */
.page-content {
  padding-bottom: calc(var(--nav-height) + var(--safe-bottom));
  min-height: 100vh;
  min-height: 100dvh;
}

.page-section {
  display: none;
}

.page-section.active {
  display: block;
}
